]> git.lyx.org Git - features.git/blob - src/ChangeLog
two rowbreaking fixes + a bit of rowBreakPoint simplification
[features.git] / src / ChangeLog
1 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2
3         * undo.C (performUndoOrRedo): fix two crashes by setting a
4         cursor by hand and reordering some calls. Use bv->lockInset instead
5         of inset->edit because the latter loses cursor information
6
7 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
8
9         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested 
10         by Martin
11         (rowBreakPoint): fix width. change point to point + 1. 
12         Add a missing check.
13
14 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * MenuBackend.C:
17         * lyxfunc.C: fix (at least partly) the problems
18         with the Nav menu and headers inside branch insets
19         reported by Kayvan
20
21 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
22
23         * paragraph.C (getChar): add strong asserts
24
25         * lyxrow_funcs.C (lastPos): remove hideous hack
26
27         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
28         (fill): adjust to that (avoid an infinite loop)
29
30 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
31
32         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
33
34 2003-10-23  André Pönitz  <poenitz@gmx.net>
35         
36         * RowList_fwd.h: change list<> to vector<> to gain speed
37         after suggestion from Alfredo
38
39 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
40
41         * lyxtext.h: move the bidi stuff from here...
42         * text.C: and here
43         * text2.C: and here
44         * Bidi.[Ch]: ... to here
45
46 2003-10-23  André Pönitz  <poenitz@gmx.net>
47
48         * lyxtext.h:
49         * text.C (isLastRow, isFirstRow): new functions
50
51         * paragraph.h: new width cache member
52
53         * rowpainter.C: replace RowList::iterator with Row & where possible
54
55         * lyxfunc.C: replace several view()->text with a single call
56
57         * toc.C: fix 'unused' warning
58
59 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
60
61         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
62         when woring with stream::pos_type
63         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
64
65 2003-10-22  André Pönitz  <poenitz@gmx.net>
66
67         * lyxtext.h:
68         * text.C: use Row & instead of RowList::iterator
69
70         * lyxrow.h: rename end() to endpos()
71
72         * rowpainter.C:
73         * text.C:
74         * text2.C: adjust
75
76 2003-10-22  Angus Leeming  <leeming@lyx.org>
77
78         * buffer.[Ch] (fully_loaded): new member function, returning true
79         only when the file has been loaded fully.
80         Used to prevent the premature generation of previews and by the
81         citation inset to prevent computation of the natbib-style label.
82
83         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
84         templates are all set up.
85
86         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
87
88 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
89
90         * text.C: fixed an "oops" in the "is a bit silly"
91         bug fix
92
93 2003-10-21  André Pönitz  <poenitz@gmx.net>
94
95         * FuncStatus.[Ch]: small stuff, whitespace
96
97         * lyxfont.[Ch]: operator<<() for debug reasons
98
99         * lyxfunc.C:
100         * lyxrow_funcs.C:
101         * lyxtext.h: whitespace, spelling
102
103         * paragraph.C: naming of variables
104
105         * text.C:
106         * text2.C: small stuff
107
108
109 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
110
111         * text.C: (1) finish off the inset display() work;
112         (2) fix the "is a bit silly" bug (accessing char
113         past end of par).
114
115 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * text.C: re-introduce display() for insets, fixing the
118         various bugs (stretch of line above, math inset
119         positioning, ...)
120
121 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * text.C (rightMargin): remove spurious semicolon
124
125         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
126         1415)
127
128 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
129
130         * text3.C: fix one crash due to wrong cursor def
131
132 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
133
134         * vc-backend.C (scanMaster): make the regex static
135
136         * LaTeX.C (scanAuxFile): make the regexs static
137
138         * text3.C (doInsertInset, dispatch, dispatch):
139         * text2.C (cursorUp, cursorDown):
140         * text.C (selectNextWordToSpellcheck):
141         * BufferView_pimpl.C (dispatch):
142         * lyxfunc.C (dispatch):  localDispatch -> dispatch
143
144 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * lyxsocket.C: include <cerrno>
147
148 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
149
150         * lyxfunc.C (dispatch): remove textcache stuff
151
152         * bufferlist.C (release): remove textcache stuff
153         (closeAll): ditto
154
155         * TextCache.C: delete file
156         * TextCache.h: delete file
157
158         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
159
160         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
161         delete of the bv_->text.
162         (resizeCurrentBuffer): remove texcache stuff
163         (workAreaResize): ditto
164
165 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
166
167         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
168         action.
169
170 2003-10-16  André Pönitz  <poenitz@gmx.net>
171
172         * lyxrow.[Ch]:
173         * paragraph.h:
174         * rowpainter.C:
175         * text.C:
176         * text2.C:
177         * text3.C: speed up by storing y positions per paragraph plus per-row
178         offset instead of having a 'full' y position in the row.
179
180 2003-10-15  André Pönitz  <poenitz@gmx.net>
181
182         * iterators.[Ch]:
183         * iterators.[Ch]:
184         * undo.[Ch]: make undo aware of inner insets
185
186 2003-10-14  Angus Leeming  <leeming@lyx.org>
187
188         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
189         static member functions LyX::ref() and LyX::cref.
190         (lastfiles): new accessor functions for the new lastfiles_ member var.
191         (addLyXView, views_): add a new LyXView to the list of views_.
192         (updateInset): loop over all LyXViews to call their own updateInset
193         member function, returning a pointer to the Buffer owning the inset.
194
195         * BufferView_pimpl.C (loadLyXFile):
196         * MenuBackend.C (expandLastfiles):
197         * bufferlist.C (MenuWrite, QuitLyX):
198         lastfiles is no longer a global variable.
199         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
200
201         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
202         static function. Access through LyX::cref().emergencyCleanup().
203
204 2003-10-14  André Pönitz  <poenitz@gmx.net>
205
206         * iterators.[Ch]: new direct access to innermost LyXText and Inset
207
208         * undo.[Ch]: restoring part of 'undo in insets'
209
210         * Makefile.am:
211         * undo_funcs.[Ch]: merge with undo.[Ch]
212
213         * tabular.C: small cleansing stuff
214
215 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
216
217         * paragraph_funcs.C (readParToken): report unknown insets as error
218         boxes. Use the outer paragraph as location (also for unknown
219         tokens).
220
221         * factory.C (readInset): do not abort on reading an unknown inset.
222         Eat it and return 0.
223
224 2003-10-13  Angus Leeming  <leeming@lyx.org>
225
226         * lyx_main.C (LyX): remove call to setDisplayTranslator().
227
228         * lyxrc.C: displayTranslator is now a function,
229         declared in GraphicsTypes.h.
230
231 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
232
233         * format.C: new placeholder $$a to pass the socket address.
234
235         * bufferlist.[Ch]: new function getBufferFromTmp.
236
237         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
238           files in the temporary dir.
239
240 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
241
242         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
243
244         * Makefile.am: add lyxsocket.[Ch].
245
246         * lyx_main.C (error_handler): handle SIGPIPE.
247
248 2003-10-13  André Pönitz  <poenitz@gmx.net>
249
250         * BufferView_pimpl.C:
251         * lyxtext.h:
252         * text.C:
253         * text2.C:
254         * text3.C:
255         * undo_funcs.[Ch]: use paroffset_type instead of
256           ParagraphList::iterators to prevent multiple conversion
257           (and get a more robust interface)
258
259 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
260
261         * lyxfunc.C (dispatch): RESULT -> dispatch_result
262         * lyxtext.h: ditto
263         * text3.C (dispatch): ditto
264
265 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
266
267         * LaTeX.C (handleFoundFile): move the static to smaller scope,
268         move the onlyfile, use onlyfile instead of foundfile in a couple
269         of places.
270
271         * DepTable.C (update): flush the error stream a bit more
272
273 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
274
275         * lyxserver.C (callback): adjust
276
277         * lyxfunc.C (getStatus): add a missing brace in commented code
278         (ensureBufferClean): reindent
279         (dispatch): delete version taking a string
280
281 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
282
283         * LaTeX.C (deplog): move found file handlig from here...
284         (handleFoundFile): .. to new function here.
285         (deplog): make sure to discover several files mentioned on the
286         same log line.
287
288 2003-10-10  André Pönitz  <poenitz@gmx.net>
289
290         * lyxfunc.C:
291         * lyxtext.h:
292         * tabular.C:
293         * text.C:
294         * text2.C:
295         * text3.C: fix some of the tabular crashes
296
297 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
298
299         * MenuBackend.C (binding): put debug message into Debug::KBMAP
300
301         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
302
303 2003-10-09  André Pönitz  <poenitz@gmx.net>
304
305         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
306
307         * BufferView.C:
308         * BufferView_pimpl.C:
309         * bufferview_funcs.C:
310         * lyx_cb.C:
311         * lyxcursor.C:
312         * lyxfind.C:
313         * lyxfunc.C:
314         * lyxtext.h:
315         * text.C:
316         * text2.C:
317         * text3.C:
318         * text_funcs.[Ch]:
319         * textcursor.[Ch]:
320         * undo_funcs.C: adjust
321
322 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
323
324         * text2.C (incrementItemDepth): new function, use a backtracking
325         algorithm to discover the correct item depth.
326         (resetEnumCounterIfNeeded): new function, use a backtracking
327         algorithm to discover if counter reset is needed.
328         (setCounter): use them. Simplify a bit. Add different labels for
329         different item depths for itemize.
330
331         * paragraph.C (Paragraph): remove initialization of enumdepth
332         (operator=): ditto
333
334         * paragraph.h: get rid of enumdepth, and use itemdepth both for
335         enumerate and itemize. Change the type of itemdepth to signed char.
336
337 2003-10-08  André Pönitz  <poenitz@gmx.net>
338
339         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
340           thing assignable.
341         * text.C:
342         * text2.C: adjust
343
344         * tabular.[Ch]: fix crash after 'row-insert'
345
346 2003-10-08  Angus Leeming  <leeming@lyx.org>
347
348         Fix doxygen warnings.
349
350         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
351         Remove CutAndPaste:: prefix from header file declaration.
352
353         * LColor.h (fill): remove LColor:: prefix from declaration.
354
355         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
356         use lyx::depth_type rather than Paragraph::depth_type so that
357         header file and .C file match.
358
359         * converter.h (intToFormat): remove Converters:: prefix from declaration.
360
361         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
362         * aspell.C: \file aspell_local.C -> \file aspell.C
363         * gettext.C: \file gettext.C -> \file src/gettext.C
364         * gettext.h: \file gettext.h -> \file src/gettext.h
365         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
366         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
367         * text.C: \file text.C -> \file src/text.C
368
369         * toc.C: move comment so that doxygen is not confused.
370
371 2003-10-07  Angus Leeming  <leeming@lyx.org>
372
373         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
374
375 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376
377         * aspell.C:
378         * aspell_local.h: add forgotten std::string's.
379
380 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
381
382         * LaTeXFeatures.C:
383         * LyXAction.C:
384         * factory.C:
385         * lfuns.h:
386         * lyxfunc.C:
387         * text3.C: The Box patch. Fancybox support, minipage, parbox
388
389 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
390
391         * CutAndPaste.h:
392         * DepTable.h:
393         * FloatList.h:
394         * LaTeXFeatures.h:
395         * ParagraphParameters.h:
396         * TextCache.h:
397         * Thesaurus.h:
398         * bufferlist.h:
399         * exporter.h:
400         * importer.h:
401         * lastfiles.h:
402         * lyxfind.h:
403         * lyxfont.h:
404         * lyxlex.h:
405         * lyxtextclasslist.h:
406         * messages.h:
407         * paragraph.h:
408         * paragraph_pimpl.C:
409         * textcursor.h: add <string> and other small fixes to make Lars'
410         std::string patch compile with STLport.
411
412 2003-10-06  Angus Leeming  <leeming@lyx.org>
413
414         * LColor.h: Add missing #include <string>.
415
416 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
417
418         * All most all file in all subdirs: Make <string> be the prefered
419         way of getting to std::string, add using declarations.
420
421 2003-10-06  André Pönitz  <poenitz@gmx.net>
422
423         * metricsinfo.C: initialize LyXFont before changing attribute.
424         (fixes the 'math in \emph is upright' bug)
425
426 2003-10-06  André Pönitz  <poenitz@gmx.net>
427
428         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
429
430 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
431
432         * graph.C:
433         * paragraph_pimpl.C: Small fixes to build using STLport
434
435 2003-10-02  André Pönitz  <poenitz@gmx.net>
436
437         * lyxfunc.C:
438         * text3.C: move handling of LFUN_DEPTH *; fix #1360
439
440 2003-10-01  André Pönitz  <poenitz@gmx.net>
441
442         * factory.C: assert early
443
444 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
445
446         * lyx_main.C: remove the global debug object
447
448         * debug.h: adjust for new debugstream
449
450         * debug.C: adjust for new debugstream and keep the global debug
451         object here.
452
453 2003-09-22  Angus Leeming  <leeming@lyx.org>
454
455         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
456         of g++ which otherwise complain that the scoped_ptr destructor can't delete
457         an incomplete class LyXFont.
458
459 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
460
461         * factory.C: bug fix in branches
462
463 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
464
465         * lyxfunc.C (processKeySym): adjust
466         (dispatch): adjust
467         (dispatch): change arg name from ev to func, adjust
468         (sendDispatchMessage): ditto
469
470         * lyx_main.C (defaultKeyBindings): adjust keybindings
471         (deadKeyBindings): ditto
472
473         * kbsequence.C (addkey): return a FuncRequest
474
475         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
476
477         * kbmap.C (bind): take a FuncRequest as arg, adjust
478         (read): adjust
479         (lookup): adjust
480         (defkey): change to take a FuncRequest as arg, adjust
481         (findbinding): take a FuncRequest as arg, adjust.
482
483         * funcrequest.h (operator=): added
484
485         * funcrequest.C (FuncRequest): default kb_action changed from
486         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
487
488         * buffer.C (dispatch): simplify
489         (dispatch): adjust to take a FuncRequest as arg, adjust
490
491         * boost.C (assertion_failed): change assertion message slightly
492
493         * ToolbarBackend.C (read): simplify
494
495         * MenuBackend.C (binding): adjust call to findbinding, add a
496         message if no binding is found.
497         (read): simplify
498         (expandToc): correct by adding a empty FuncRequest
499
500         * LyXAction.C: include <boost/assert.hpp>
501         (isPseudoAction): delete function
502         (LookupFunc): change name to...
503         (lookupFunc): this. change return type to FuncRequest.
504         (getActionName): take kb_action as arg, simplify
505         (funcHasFlag): add an assert, simplify.
506
507 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
508
509         * toc.C (action): return a FuncRequest, simplify
510
511         * lyxfunc.C (processKeySym): adjust
512         (getStatus): delete version that takes an int.
513         (getStatus): adjust
514         (dispatch): delete version that takes action as int
515         (dispatch): adjust
516         (sendDispatchMessage): simplify and adjust
517
518         * funcrequest.C (getArg): take unsigned int as arg
519
520         * ToolbarBackend.C (read): adjust
521         (add): delete version that takes func as a string.
522         (getIton): take a FuncRequest as arg
523
524         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
525         action.
526
527         * MenuBackend.C (MenuItem): add a new construct that only takes a
528         Kind, simplify the constructor use for submenus.
529         (add): adjust
530         (expandLastfiles): adjust
531         (expandDocuments): adjust
532         (expandFormats): adjust
533         (expandFloatListInsert): adjust
534         (expandFloatInsert): adjust
535         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
536
537         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
538         Remove class variables lyx_pseudo_map and lyx_arg_map
539
540         * LyXAction.C (searchActionArg): delete function
541         (getPseudoAction): delete function
542         (retrieveActionArg): delete function
543         (LookupFunc): make it return kb_action, simplify.
544         (getActionName): simplify
545
546         * factory.C (createInset): fix new bug
547
548 2003-09-19  Angus Leeming  <leeming@lyx.org>
549
550         * CutAndPaste.C (pasteSelection): remove fudge used to set the
551         masterFilename_ parameter in the include inset.
552
553         * factory.C (createInset): changes due to the changes to InsetInclude.
554
555 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
556
557         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
558
559 2003-09-18  Angus Leeming  <leeming@lyx.org>
560
561         * buffer.C:
562         * BufferView.C: pass the buffer when calling Inset::getLabelList,
563         Inset::fillWithBibKeys.
564         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
565
566 2003-09-18  Angus Leeming  <leeming@lyx.org>
567
568         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
569         variables.
570         (ctor): pass and store a 'Buffer const &'
571         (buffer): new member function.
572
573         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
574         '*this' to the LaTeXFeatures ctor.
575
576 2003-09-18  Angus Leeming  <leeming@lyx.org>
577
578         * LColor.h:
579         * lyxfont.C:
580         * lyxfont.h:
581         * lyxtext.h:
582         * text.C: rename EnumLColor as LColor_color.
583
584 2003-09-18  Angus Leeming  <leeming@lyx.org>
585
586         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
587         remove #include "insets/insetbase.h" from cursor.h.
588
589 2003-09-18  Angus Leeming  <leeming@lyx.org>
590
591         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
592         InsetOld_code to remove #include "inset.h".
593
594         * iterators.C: add #include "insets/inset.h"
595
596 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * BufferView.C: remove more locking stuff that apparently doesn't
599         do anything sensible.
600
601 2003-09-16  André Pönitz  <poenitz@gmx.net>
602
603         * paragraph.[Ch]:
604         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
605           performance boost.
606
607 2003-09-16  Angus Leeming  <leeming@lyx.org>
608
609         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
610
611         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
612         arg/return type.
613
614         * paragraph.h: remove #include "lyxfont.h". Forward declare
615         LyXFont_size.
616
617 2003-09-16  Angus Leeming  <leeming@lyx.org>
618
619         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
620         of support/textutils.h.
621         (isWord): move the contents of support/textutils.h's IsWordChar here.
622
623         * buffer.C:
624         * lyxfind.C:
625         * rowpainter.C:
626         * text.C:
627         * text2.C: add #include "paragraph.h".
628
629         * rowpainter.C:
630         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
631
632 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * main.C:
635         * lyx_main.C:
636         * lyx_cb.C:
637         * buffer.C:
638         * LaTeX.C: use namespace alias for lyx::support::os
639
640 2003-09-16  Angus Leeming  <leeming@lyx.org>
641
642         * bufferparams.C:
643         * bufferview_funcs.C:
644         * factory.C:
645         * lyxfunc.C:
646         * paragraph_pimpl.C:
647         * rowpainter.C:
648         * text.C: add #include "LColor.h".
649
650 2003-09-16  Angus Leeming  <leeming@lyx.org>
651
652         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
653         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
654         return LyXFont &.
655         Store the FontBits::color variable as an int rather than as an
656         LColor::colorso that we can move LColor.h out of the lyxfont.h header
657         file.
658
659         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
660         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
661         string calls together.
662
663         * lyxrc.C: add #include "LColor.h".
664
665 2003-09-15  Angus Leeming  <leeming@lyx.org>
666
667         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
668         a cow_ptr.
669
670 2003-09-15  Angus Leeming  <leeming@lyx.org>
671
672         * LColor.h: add an EnumLColor wrapper for LColor::color.
673
674         * lyxfont.[Ch] (color, setColor, realColor):
675         * lyxtext.h, text.C (backgroundColor):
676         pass EnumLColor args to/from the functions, rather than LColor::color
677         ones.
678
679         * lyxfont.h:
680         * lyxtext.h: forward declare EnumLColor.
681
682         * lyx_main.C: add #include "LColor.h".
683
684 2003-09-15  Angus Leeming  <leeming@lyx.org>
685
686         * .cvsignore: add lyx-gtk.
687
688 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
689
690         * Chktex.C
691         * LaTeX.C
692         * LaTeXFeatures.C
693         * ParagraphParameters.C
694         * Spacing.C
695         * buffer.C
696         * bufferparams.C
697         * bufferview_funcs.C
698         * chset.C
699         * counters.C
700         * funcrequest.C
701         * lyxfont.C
702         * lyxgluelength.C
703         * lyxlength.C
704         * paragraph.C
705         * paragraph_funcs.C
706         * text3.C
707         * vc-backend.C: remove usage of STRCONV
708
709 2003-09-15  Angus Leeming  <leeming@lyx.org>
710
711         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
712         explicitly define the color passed to the painter.
713
714 2003-09-15  Angus Leeming  <leeming@lyx.org>
715
716         * bufferparams.C (BufferParams): reorder member initializers to avoid
717         compiler warning.
718
719 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
720
721         * CutAndPaste.C (pasteSelection): remove an outdated #warning
722         * text.C (updateRowPositions): remove an unusual nop
723
724 2003-09-12  André Pönitz  <poenitz@gmx.net>
725
726         * BufferView_pimpl.C:
727         * Bullet.C:
728         * layout.h:
729         * lyxfunc.C:
730         * lyxlayout.[Ch]:
731         * lyxtextclass.C:
732         * rowpainter.C:
733         * text.C:
734         * text2.C:
735         * Counters.[Ch]: finish the 'automatic counters' job
736
737 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
738
739         * aspell.C: include <boost/assert.cpp> (compile fix)
740
741 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
742
743         * boost.C (assertion_failed): use lyx::support::abort instead of
744         assert.
745
746 2003-09-10  Angus Leeming  <leeming@lyx.org>
747
748         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
749         with their _fwd progeny.
750
751 2003-09-09  Angus Leeming  <leeming@lyx.org>
752
753         134 files throughtout the source tree: replace 'using namespace abc;'
754         directives with the appropriate 'using abc::xyz;' declarations.
755
756 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
757
758         * boost.C (emergencyCleanup): moved here from LAssert.c
759         (assertion_failed): new function, called by BOOST_ASSERT
760
761         * several files: change Assert to BOOST_ASSERT
762
763 2003-09-09  Angus Leeming  <leeming@lyx.org>
764
765         * buffer.[Ch]: Add an Impl class and move Buffer's member
766         variables into it. As a result move several header files out of
767         buffer.h.
768
769         Add header files to lots of .C files all over the tree as a result.
770
771 2003-09-09  Angus Leeming  <leeming@lyx.org>
772
773         * buffer.[Ch]: make Buffer's member variables private. Add
774         accessor functions.
775
776         Lots of changes all over the tree as a result.
777
778 2003-09-08  Angus Leeming  <leeming@lyx.org>
779
780         * graph.C: #include <config.h>.
781
782 2003-09-08  Angus Leeming  <leeming@lyx.org>
783
784         * BranchList.C:
785         * BufferView.C:
786         * BufferView_pimpl.C:
787         * CutAndPaste.C:
788         * DepTable.C:
789         * LaTeX.C:
790         * LaTeXFeatures.C:
791         * LyXAction.C:
792         * MenuBackend.C:
793         * TextCache.C:
794         * aspell.C:
795         * buffer.C:
796         * bufferlist.C:
797         * changes.C:
798         * chset.C:
799         * converter.C:
800         * counters.C:
801         * debug.C:
802         * graph.C:
803         * ispell.C:
804         * lyx_cb.C:
805         * lyxfind.C:
806         * lyxfunc.C:
807         * lyxlex_pimpl.C:
808         * lyxrc.C:
809         * lyxrow.C:
810         * paragraph.C:
811         * rowpainter.C:
812         * texrow.C:
813         * text.C:
814         * text2.C:
815         * toc.C: remove redundant using directives.
816
817 2003-09-07  Angus Leeming  <leeming@lyx.org>
818
819         * LaTeXFeatures.h: remove #include "support/types.h".
820         * ToolbarBackend.h: remove #include <algorithm>.
821         * changes.h: remove #include <ctime>.
822         * debug.h: remove #include <iosfwd>.
823         * graph.h: remove #include "support/std_string.h".
824         * lyx_main.h: remove #include <csignal>.
825         * lyxlex_pimpl.h: remove #include <fstream>.
826         * sgml.h: remove #include <algorithm>, <utility>.
827         * toc.h: remove #include "support/std_ostream.h".
828         Add #include <iosfwd>.
829
830 2003-09-07  Angus Leeming  <leeming@lyx.org>
831
832         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
833
834         * converter.h: forward declare LatexRunParams.
835         * encoding.h: remove #include "lyxrc.h".
836         * lyxtext.h: remove #include "LColor.h".
837         * lyxtextclass.h: remove #include "support/types.h".
838         * trans.h: remove #include "tex-accent.h".
839         * trans_mgr.h: remove #include "tex-accent.h".
840         * insets/inset.h: remove #include "support/types.h", <vector>.
841         * insets/insetcollapsable.h: remove #include "LColor.h".
842         * insets/insetinclude.h: remove #include "dimension.h".
843         * insets/insetlatexaccent.h: remove #include "dimension.h".
844         * insets/insetoptarg.h:: remove #include "insettext.h".
845         * insets/insettext.h: remove #include "dimension.h",
846         <boost/shared_ptr.hpp>
847
848         * insets/renderers.h: add #include "dimension.h".
849         * insets/updatableinset.h: add #include "support/types.h".
850
851         * many .C files: Associated changes.
852
853 2003-09-06  Angus Leeming  <leeming@lyx.org>
854
855         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
856         one, inside testInvariant.
857
858         * PrinterParams.C: new file.
859         * PrinterParams.[Ch]: move the function bodies out of line.
860
861 2003-09-06  Angus Leeming  <leeming@lyx.org>
862
863         * ParagraphParameters.h: forward declare ParameterStruct rather than
864         including its header file.
865         (depth): moved out-of-line.
866
867 2003-09-06  Angus Leeming  <leeming@lyx.org>
868
869         * BufferView_pimpl.h:
870         * kbmap.h:
871         * kbsequence.h:
872         * lyxfunc.h: forward declare LyXKeySym rather than
873         #include "frontends/LyXKeySym.h".
874
875         * BufferView_pimpl.C:
876         * kbmap.C:
877         * kbsequence.C:
878         * lyxfunc.C: associated changes.
879
880 2003-09-06  Angus Leeming  <leeming@lyx.org>
881
882         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
883         As a result, can remove the #include "insets/inset.h" from BufferView.h
884
885 2003-09-06  Angus Leeming  <leeming@lyx.org>
886
887         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
888         As a result, can remove the #include "insets/inset.h" from BufferView.h
889
890 2003-09-06  Angus Leeming  <leeming@lyx.org>
891
892         * buffer_funcs.C:
893         * buffer.h:
894         * bufferlist.C:
895         * BufferView.C:
896         * bufferview_funcs.C:
897         * BufferView_pimpl.C:
898         * CutAndPaste.C:
899         * lyx_cb.C:
900         * lyxfunc.C:
901         * paragraph.h:
902         * ParagraphParameters.C:
903         * tabular.C:
904         * text3.C:
905         * toc.C:
906         * undo_funcs.C:
907         * frontends/controllers/ControlDocument.C:
908         * insets/insetcaption.C: rearrange the #includes into some sort of
909         coherent order.
910
911         * buffer.h: remove #includes ErrorList.h, undo.h
912
913 2003-09-06  Angus Leeming  <leeming@lyx.org>
914
915         * support/types.h: add a 'depth_type' typedef, used to store the
916         nesting depth of a paragraph.
917
918         * paragraph.h:
919         * ParameterStruct.h: use this lyx::depth_type typedef rather than
920         defining explicitly.
921
922         * buffer.h:
923         * paragraph_funcs.h:
924         * ParagraphParameters.h:
925         * sgml.h: use lyx::depth_type rather than Paragraph or
926         ParameterStruct's depth_type.
927
928         * buffer.h
929         * paragraph_funcs.h: no need to #include paragraph.h anymore.
930
931         * BufferView.C:
932         * BufferView_pimpl.C:
933         * CutAndPaste.C:
934         * ParagraphParameters.C:
935         * buffer_funcs.C:
936         * bufferlist.C:
937         * bufferview_funcs.C:
938         * lyx_cb.C:
939         * lyxfunc.C:
940         * tabular.C:
941         * text3.C:
942         * toc.C:
943         * undo_funcs.C:
944         * frontends/LyXView.C:
945         * frontends/controllers/ControlDocument.C:
946         * frontends/controllers/ControlErrorList.C:
947         * insets/insetbibitem.C:
948         * insets/insetbranch.C:
949         * insets/insetcaption.C:
950         * insets/insetcollapsable.C:
951         * insets/insetenv.C:
952         * insets/insetert.C:
953         * insets/insetfloat.C:
954         * insets/insetfoot.C:
955         * insets/insetfootlike.C:
956         * insets/insetnewline.C:
957         * insets/insetquotes.C:
958         * insets/insettabular.C:
959         * insets/insettext.C:
960         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
961
962         * frontends/controllers/ControlChanges.C: #include "changes.h".
963
964 2003-09-06  Angus Leeming  <leeming@lyx.org>
965
966         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
967         than #including paragraph.h.
968
969         * ParagraphList.h:
970         * RowList.h: deleted. Superfluous.
971
972         * CutAndPaste.h:
973         * iterators.h:
974         * lyxcursor.h:
975         * lyxtext.h:
976         * text_funcs.h:
977         * undo.h:
978         * undo_funcs.h:
979         * insets/inset.h:
980         * insets/insettext.h: use ParagraphList_fwd.h rather than
981         ParagraphList.h.
982
983         * paragraph.h: don't forward declare ParagraphList.
984
985         * buffer.h:
986         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
987         rather than ParagraphList.h. paragraph.h is still needed for the
988         Paragraph::depth_type parameters.
989
990         * textcursor.h: enable it to compile stand-alone in light of the
991         above changes.
992
993         * bufferview_funcs.C:
994         * iterators.C:
995         * lyxfunc.C:
996         * lyxrow_funcs.C:
997         * paragraph.C:
998         * rowpainter.C:
999         * text.C:
1000         * text2.C:
1001         * text3.C:
1002         * text_funcs.C:
1003         * textcursor.C:
1004         * undo.C:
1005         * frontends/controllers/ControlParagraph.C:
1006         * frontends/controllers/ControlTabular.C:
1007         * insets/insetmarginal.C:
1008         * insets/insetminipage.C:
1009         * insets/insetnote.C:
1010         * insets/insetoptarg.C: add header files needed to compile again.
1011
1012 2003-09-06  Angus Leeming  <leeming@lyx.org>
1013
1014         * RowList_fwd.h: new file, forward-declaring Row rather than
1015         #including lyxrow.h.
1016
1017         * lyxrow_funcs.h:
1018         * lyxtext.h:
1019         * paragraph.h:
1020         * insets/insettext.h: use it instead of RowList.h
1021
1022         * bufferview_funcs.C:
1023         * lyxfunc.C:
1024         * lyxrow_funcs.C:
1025         * paragraph.C:
1026         * rowpainter.C:
1027         * text.C:
1028         * text2.C:
1029         * text3.C: #include "RowList.h".
1030
1031 2003-09-05  Angus Leeming  <leeming@lyx.org>
1032
1033         * factory.C (createInset):
1034         * vspace.C (c-tor): replace sscanf call with an istringstream.
1035         * ispell.C: re-add missing HP/UX headers.
1036         * lyxserver.C: re-add missing  os2 headers.
1037
1038 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1039
1040         * BranchList.C:
1041         * graph.C:
1042         * ispell.C:
1043         * lastfiles.C:
1044         * lyx_cb.C:
1045         * lyxserver.C:
1046         * texrow.C:
1047         * text3.C: re-add missing system headers, needed for 2.95.2.
1048
1049 2003-09-05  Angus Leeming  <leeming@lyx.org>
1050
1051         Changes most place everywhere due to the removal of using directives
1052         from support/std_sstream.h.
1053
1054 2003-09-05  Angus Leeming  <leeming@lyx.org>
1055
1056         Replace LString.h with support/std_string.h,
1057         Lsstream.h with support/std_sstream.h,
1058         support/LIstream.h with support/std_istream.h,
1059         support/LOstream.h with support/std_ostream.h.
1060
1061         Changes resulting throughout the tree.
1062
1063 2003-09-05  Angus Leeming  <leeming@lyx.org>
1064
1065         * sgml.h: ensure that the header file can be compiled stand-alone.
1066         * *.C: strip out redundant #includes. (320 in total.)
1067
1068 2003-09-04  Angus Leeming  <leeming@lyx.org>
1069
1070         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1071         here (from getPackages).
1072
1073         * debug.[Ch]: add a new EXTERNAL tag.
1074
1075 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1076
1077         * text2.C (cursorEnd): simplify
1078         (setCursor): adjust
1079         (getColumnNearX): adjust
1080
1081         * text.C (computeBidiTables): adjust
1082         (fill): adjust
1083
1084         * rowpainter.C (paintChars): adjust
1085         (paintSelection): adjust
1086         (paintChangeBar): adjust
1087         (paintText): adjust
1088
1089         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1090         lastPos instead.
1091         (numberOfSeparators): adjust
1092
1093 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1094
1095         * LyXAction.C:
1096         * box.[Ch]:
1097         * lfuns.h:
1098         * lyxfunc.C:
1099         * text3.C: Restricts the mouse click functionality
1100         of insets like bibtex, include, toc and floatlist to the visible
1101         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1102         up the dialogs. Cursor has to be in front of the inset (i.e.
1103         start of row) for this to function.
1104
1105 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1106
1107         * bufferview_funcs.C (currentState): output row information
1108
1109 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1110
1111         * bufferview_funcs.C (currentState): output paragraph position
1112
1113 2003-09-04  Angus Leeming  <leeming@lyx.org>
1114
1115         * FloatList.h: move out #include "Floating.h".
1116         * LaTeX.h: move out #include "DepTable.h".
1117         * LyXAction.h: move out #include "funcrequest.h".
1118         * buffer.h: move out #include "author.h", "iterators.h".
1119         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1120         * lyx_main.h: move out #include "errorlist.h".
1121         * lyxfunc.h: move out #include "FuncStatus.h".
1122         * lyxtext: move out #include "lyxcursor.h".
1123         * paragraph_pimpl.h: move out #include "counters.h".
1124
1125 2003-09-03  Angus Leeming  <leeming@lyx.org>
1126
1127         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1128         preamble_snippets list, enabling us to add snippets to the preamble
1129         only if the snippet was not there already.
1130
1131 2003-09-04  Angus Leeming  <leeming@lyx.org>
1132
1133         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1134
1135 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1136
1137         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1138         update
1139
1140 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1141
1142         * BranchList.C: point fix, earlier forgotten
1143
1144 2003-09-02  Angus Leeming  <leeming@lyx.org>
1145
1146         * box.C (contains): renamed from 'contained' after a fantastic
1147         amount of hot air.
1148
1149 2003-09-02  John Levon  <levon@movementarian.org>
1150
1151         * BufferView.C:
1152         * lyxcursor.h:
1153         * lyxcursor.C:
1154         * lyxfunc.C:
1155         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1156
1157 2003-09-02  John Levon  <levon@movementarian.org>
1158
1159         * text2.C: simplification of cursorEnd(), including partial
1160         fix for bug 1376
1161
1162 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1163
1164         * buffer.C (readFile): add a space
1165
1166 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1167
1168         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1169
1170 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * buffer.C (readFile): new function, take a filename and a
1173         ParagraphList::iterator
1174         (readFile): adjust
1175         (readFile): adjust, make it private. don't use setStream, make
1176         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1177         always contain the filename.
1178
1179         * BufferView.C (insertLyXFile): simplify and make it work for
1180         gzipped files.
1181
1182 2003-08-30  John Levon  <levon@movementarian.org>
1183
1184         * Makefile.am: fix dist (from Kayvan)
1185
1186 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1187
1188         * most files: change to use const Buffer refs
1189
1190 2003-08-27  André Pönitz  <poenitz@gmx.net>
1191
1192         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1193         on top of ownerPar().
1194
1195 2003-08-27  John Levon  <levon@movementarian.org>
1196
1197         * funcrequest.C: properly initialise POD members
1198
1199 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1200
1201         * lyxtext.h (top_y): move top_y from here
1202         * text.C:
1203         * text2.C:
1204         * text3.C:
1205         * BufferView.[Ch]:
1206         * BufferView_pimpl.[Ch]: to here
1207         * frontends/screen.C:
1208         * insets/insettabular.C:
1209         * insets/insettext.C: adjust
1210         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1211
1212 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * BufferView.[Ch]:
1215         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1216
1217 2003-08-26  André Pönitz  <poenitz@gmx.net>
1218
1219         * paragraph_func.[Ch] (outerPar): new function
1220
1221         * paragraph.C:
1222         * paragraph_funcs.C:
1223         * paragraph_funcs.h:
1224         * paragraph_pimpl.C:
1225         * text2.C: remove Inset::par_owner
1226
1227 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * lyxrow_funcs.C:
1230         * lyxtext.h:
1231         * text.C:
1232         * text2.C: eliminates the needFullRow/display() stuff
1233         altogether, putting the logic in metrics/draw in the insets.
1234
1235 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1236
1237         * text2.C (redoParagraphInternal, redoParagraphs):
1238         * text.C (redoParagraph): add a call to updateRowPositions at the
1239         end of each 'metrics-like' call. Remove all others.
1240         (getRow): remove the 'y-computing' version.
1241         (getRowNearY): do not compute nor return the real y. Solve the
1242         'y < 0' problem and simplify.
1243
1244 2003-08-22  Angus Leeming  <leeming@lyx.org>
1245
1246         * *.[Ch]: clean-up of licence and author blurbs.
1247         Also move config.h out of a few .h files and into a few .C files.
1248
1249 2003-08-22  André Pönitz  <poenitz@gmx.net>
1250
1251         * lyxrow.[Ch]: add x_ and *fill_ members
1252
1253         * lyxtext.h:
1254         * text.C:
1255         * rowpainter.C:
1256         * text2.C: adjust/remove prepareToPrint() calls
1257
1258 2003-08-22  André Pönitz  <poenitz@gmx.net>
1259
1260         * lyxrow.[Ch]: add  end_ member
1261
1262         * lyxrow_funcs.C: use LyXRow::end_
1263
1264         * lyxtext.h (singleWidth): add LyXFont parameter
1265
1266         * rowpainter.C:
1267         * text2.C: adjust LyXText::singleWidth() calls
1268
1269         * text.C (redoParagraph): simplify row breaking logic
1270
1271
1272 2003-08-19  André Pönitz  <poenitz@gmx.net>
1273
1274         * funcrequest.C: initialize button_ member
1275
1276         * text3.C:
1277         * rowpainter.[Ch]: interface consolidation
1278
1279 2003-08-18  André Pönitz  <poenitz@gmx.net>
1280
1281         * BufferView.C:
1282         * BufferView_pimpl.C:
1283         * lyxfind.C:
1284         * paragraph_funcs.C:
1285         * rowpainter.C:
1286         * text3.C: remove LyXScreen::draw() and fitCursor calls
1287
1288         * BranchList.h: remove spurious semicolons
1289
1290         * MenuBackend.C: fix branchlist related crash
1291
1292 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1293
1294         * BranchList.[Ch]:
1295         * InsetList.[Ch]:
1296         * LColor.[Ch]:
1297         * LyXAction.C:
1298         * Makefile.am:
1299         * MenuBackend.[Ch]:
1300         * bufferparams.[Ch]:
1301         * factory.C:
1302         * lfuns.h:
1303         * lyxfunc.C:
1304         * text3.C: implements the 'branch inset'
1305         idea. This allows the output of various versions of a document
1306         from a single source version, selectively outputing or suppressing
1307         output of parts of the text.
1308         This implementation contains a 'branch list editor' in a separate
1309         tab of the document settings dialog. Branches are user definable
1310         and have a "display colour" to distinguish them on-screen.
1311
1312         ColorHandler was somewhat cleaned up.
1313         (1) make possible a dynamically growing LColor list by allowing
1314         the graphic context cache to grow along (vector);
1315         (2) eliminate an IMHO unnecessary step in colour allocation.
1316
1317 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1318
1319         * BufferView_pimpl.C: compile fix
1320
1321 2003-08-15  André Pönitz  <poenitz@gmx.net>
1322
1323         * rowpainter.C: remove extra metrics calls
1324
1325         * lyxtext.h: merge the two constructors into a single one,
1326           pass reference to owner's par list
1327
1328         * BufferView_pimpl.C:
1329         * text.C:
1330         * text2.C: adjust
1331
1332 2003-08-15  André Pönitz  <poenitz@gmx.net>
1333
1334         * lyxrow_funcs.[Ch]:
1335         * lyxtext.h:
1336         * paragraph.h:
1337         * paragraph_funcs.C:
1338         * rowpainter.C:
1339         * text.C:
1340         * text2.C:
1341         * text3.C:
1342         * text_funcs.C: split LyXText::rowlist_ into individual
1343         Paragraph::rows_ chunks
1344
1345         * BufferView.[Ch]:
1346         * BufferView_pimpl.[Ch]:
1347         * lyxfind.C:
1348         * lyxtext.h:
1349         * text3.C: remove toggleSelection()
1350
1351 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1352
1353         * bufferlist.C: beautify two alerts (shorter text of buttons)
1354         * buffer.C: Remove redundant ' ' from message
1355         * tabular.h:
1356         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1357         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1358         rename VALIGN_CENTER to VALIGN_MIDDLE
1359
1360 2003-08-11  André Pönitz  <poenitz@gmx.net>
1361
1362         * lyxtext.h (getPar):
1363         * text.C: new function
1364
1365 2003-08-11  André Pönitz  <poenitz@gmx.net>
1366
1367         * Makefile.am:
1368         * tracer.[Ch]: remove unneeded files
1369
1370         * InsetList.[Ch]: remove resizeInsetsLyXText()
1371
1372         * lyxtext.h:
1373         * text.C:
1374         * text2.C:
1375         * text3.C: merge insertParagraphs() and appendParagraph()
1376         remove breakAgain(), update()
1377
1378         * BufferView_pimpl.[Ch]:
1379         * bufferview_funcs.[Ch]:
1380         * lyxfunc.C:
1381         * paragraph.[Ch]:
1382         * rowpainter.C:
1383         * tabular.C: adjust after text & InsetList changes.
1384
1385 2003-08-08  André Pönitz  <poenitz@gmx.net>
1386
1387         * text.C (insertChar, backspace): replace rowlist fiddling
1388         with rebreak of full par
1389
1390         * lyxtext.h:
1391         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1392         checkParagraph, updateInset): removed
1393
1394 2003-08-07  André Pönitz  <poenitz@gmx.net>
1395
1396         * paragraph.C:
1397         * text3.C: merge some LFUN handlers, remove dead code
1398
1399 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1402
1403 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1404
1405         * text2.C (DEPM): fix part of bug 1255 and 1256
1406
1407 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * BufferView_pimpl.C (workAreaDispatch): change to use
1410         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1411         that are no mouse related.
1412
1413 2003-08-05  André Pönitz  <poenitz@gmx.net>
1414
1415         * BufferView.[Ch]:
1416         * BufferView_pimpl.[Ch]:
1417         * bufferview_funcs.C:
1418         * text2.C:
1419         * text3.C: rip out "deep update"
1420
1421         * textcursor.[Ch] (last_sel_cursor): remove unused member
1422
1423 2003-08-04  André Pönitz  <poenitz@gmx.net>
1424
1425         * BufferView.[Ch]:
1426         * BufferView_pimpl.[Ch]:
1427         * ParagraphParameters.C:
1428         * bufferview_funcs.C:
1429         * lyx_cb.C:
1430         * lyxfind.C:
1431         * lyxfunc.C:
1432         * text.C:
1433         * text2.C:
1434         * text3.C: replace "complicated" BufferView::update(...) calls with
1435         simpler ones.
1436
1437         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1438
1439 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1440
1441         * Makefile.am (lyx_SOURCES): add paper.h
1442
1443 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1444
1445         * Makefile.am: move things around so that both lyx-qt and
1446         lyx-xforms can be built (according to --with-frontend). Then lyx
1447         is a symbolic link to lyx-[firstfrontend]
1448
1449 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1450
1451         * Always use std::endl with lyxerr
1452
1453 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1454
1455         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1456
1457 2003-08-01  André Pönitz  <poenitz@gmx.net>
1458
1459         * BufferView.[Ch]:
1460         * BufferView_pimpl.[Ch]:
1461         * lyxfunc.C:
1462         * text3.C: merge BufferView::repaint() and BufferView::update()
1463
1464 2003-08-01  José Matos  <jamatos@lyx.org>
1465
1466         * buffer.[Ch]: file_format is no longer a buffer data element.
1467
1468 2003-08-01  André Pönitz  <poenitz@gmx.net>
1469
1470         * BufferView.C:
1471         * lyxtext.h:
1472         * text.C:
1473         * text2.C: make redoParagraph more independent of current cursor
1474
1475         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1476         * text.C:
1477         * text2.C: remove unneeded members
1478
1479 2003-07-30  André Pönitz  <poenitz@gmx.net>
1480
1481         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1482
1483         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1484           create a single function...
1485
1486         * paragraph_funcs.C (moveItem): ... here.
1487
1488         * text.C:
1489           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1490
1491 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1492
1493         * LColor.[Ch]: Add comment and greyedout logical colors.
1494
1495 2003-07-30  André Pönitz  <poenitz@gmx.net>
1496
1497         * tabular.C: don't use Assert too heavily. This crashes where it
1498           shouldn't
1499
1500 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1501
1502         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1503         is disabled (bug 1232)
1504
1505 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1506
1507         * factory.C: limited 'arg' scope
1508
1509 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1510
1511         * factory.C: fixed Note submenu issues
1512
1513 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1514
1515         * factory.C: submenu for Note/Comment/Greyedout
1516
1517 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1518
1519         * lyx_main.C (LyX):
1520         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1521
1522 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1523
1524         * LaTeXFeatures.C:
1525         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1526         greyedout. Patch provided by Jürgen Spitzmüller.
1527
1528 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         * kbmap.C (read): fix error message when reading bind files
1531
1532 2003-07-29  Angus Leeming  <leeming@lyx.org>
1533
1534         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1535         certainly does not do what it purports to do. I am doing it, and
1536         us, a favour by killing it.
1537
1538 2003-07-28  José Matos  <jamatos@lyx.org>
1539
1540         * buffer.C (readBody, do_writeFile):
1541         * paragraph.C(readParagraph): \end_document replaces \the_end.
1542
1543 2003-07-29  André Pönitz  <poenitz@gmx.net>
1544
1545         * BufferView.[Ch]:
1546         * BufferView_pimpl.[Ch]:
1547         * lyxfunc.C:
1548         * text2.C:
1549         * text3.C:
1550         * textcursor.[Ch]: remove toggleToggle & Co
1551
1552 2003-07-28  José Matos  <jamatos@fep.up.pt>
1553
1554         * buffer.C (readParagraph):
1555         * params_func (readParToken, readParagraph):
1556         * paragraph.C (write): \layout -> \begin_layout.
1557
1558 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * lyxlex_pimpl.C (setFile): clean up slightly.
1561
1562         * bufferparams.h: add compressed var
1563
1564         * buffer_funcs.C (readFile): adjust for LyXLex change
1565         (newFile): ditto + simplify
1566
1567         * buffer.C (writeFile): handle writing of compressed files
1568
1569         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1570         Check if the file is compressed and set a bufferparm if so.
1571
1572         * Makefile.am (lyx_LDADD): remove explicit -lz
1573
1574 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1575
1576         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1577         makeDocBookFile): put the real LyX version in the first line of
1578         the file
1579
1580         * version.h:
1581         * version.C.in: remove lyx_docversion
1582
1583         * tabular.C (write_attribute): add a template-based version to
1584         write enums properly
1585
1586 2003-07-28  André Pönitz  <poenitz@gmx.net>
1587
1588         * lyxtext.h:
1589         * text.C:
1590         * text2.C:
1591         * text3.C: use doubles again for x-coordinates. They are needed.
1592
1593 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1594
1595         * messages.C (getLocaleDir): use lyx_localedir()
1596
1597         * lyxlex_pimpl.C (setFile): compress stuff
1598
1599         * buffer.C (writeFile): add some compression stuff
1600         (do_writeFile): new func, dont call expliti close... will this
1601         breake anything?
1602
1603         * Makefile.am (lyx_LDADD): add -lz
1604
1605 2003-07-28  José Matos  <jamatos@fep.up.pt>
1606
1607         * buffer.C: increment file format.
1608         * paragraph_funcs (readParagraph, readParToken):
1609         * paragraph.C (readParagraph): add \end_layout.
1610
1611 2003-07-27  Angus Leeming  <leeming@lyx.org>
1612
1613         * Makefile.am: remove special casing for configure-time setting of
1614         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1615
1616         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1617         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1618
1619 2003-07-26  André Pönitz  <poenitz@gmx.net>
1620
1621         * paragraph_func.[Ch]:
1622         * paragraph.C (realizeFont): inline it whereever it is used
1623
1624         * rowpainter.C:
1625         * text.C:
1626         * text2.C:
1627         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1628
1629
1630 2003-07-26  André Pönitz  <poenitz@gmx.net>
1631
1632         *       lyxtext.h:
1633         * text.C:
1634         * text2.C: get rid of LyXText::need_break_row
1635
1636 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * toc.[Ch]: put namespace toc inside namespace lyx
1639
1640         * MenuBackend.C (expandToc2): adjust for lyx::toc
1641         (expandToc): ditto
1642
1643         * lyxfunc.C (dispatch): adjust for lyx::find
1644
1645         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1646         lyx::find instead. Reorganize a bit.
1647         (LyXReplace): rename to replace
1648         (LyXFind): rename to find
1649
1650         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1651         (dispatch): ditto
1652
1653 2003-07-26  André Pönitz  <poenitz@gmx.net>
1654
1655         * text.C (setHeightOfRow): restrict scope of temporary variable
1656
1657         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1658           code (never has been used?)
1659
1660 2003-07-27  Asger Alstrup  <alstrup@local>
1661
1662         * text.C (fill): Optimise algorithm to exploit that we can reuse
1663         the LyXFont for many characters.
1664         (setHeightOfRow): Same thing.
1665         (rowBreakPoint): Same thing.
1666
1667 2003-07-26  Asger Alstrup  <alstrup@local>
1668
1669         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1670
1671         * text.C (singleWidth): Spurious font copying in hot-spot
1672         singleWidth avoided. Reorder tests for arabic for efficiency.
1673
1674         * text.C (fill): handle empty paragraphs better.
1675
1676 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * ispell.C:
1679         * encoding.h: add includes
1680
1681         * lyxrc.C: remove reading of bind files
1682
1683         * lyx_main.C (init): setup bindings and menus only if we have a
1684         gui.
1685
1686         * kbmap.C (read): new method. Do the actual reading of bind
1687         files.
1688
1689         * converter.C (dvipdfm_options):
1690         * bufferparams.C:
1691         * lyxrc.C (read):
1692         (output): adapt PAPER_* enums.
1693
1694         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1695
1696         * bufferparams.h: remove paper-related enums from there
1697
1698         * paper.h: New file. A trivial header file to hold paper-related
1699         enums. It should later expand to contain many paper-related
1700         horrors access.
1701
1702         * lyxrc.C: declare extern displayTranslator
1703
1704 2003-07-27  José Matos  <jamatos@fep.up.pt>
1705
1706         * tabular.[Ch] (linuxdoc): add support for tables and figures
1707         (linuxdoc).
1708
1709 2003-07-27  José Matos  <jamatos@fep.up.pt>
1710
1711         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1712         consistency in both functions.
1713         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1714
1715 2003-07-26  Asger Alstrup  <alstrup@local>
1716
1717         * rowpainter.C (paintRows): Change algorithm to work directly on
1718         the insets rather than asking every character in the document
1719         whether its an inset.
1720
1721 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1722
1723         * buffer.C (openFileWrite): factorize some code
1724
1725 2003-07-26  Angus Leeming  <leeming@lyx.org>
1726
1727         * lyx_cb.C:
1728         * lyx_main.[Ch]: replace occurances of system_tempdir with
1729         os::getTmpDir().
1730
1731 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1732
1733         * rename Inset to InsetOld
1734
1735 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1736
1737         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1738         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1739         which I think is a bit clearer. EDIT is gone, since it was
1740         premature optimisation, and broken for mathed anyway.
1741         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1742         with cursor positioning in insets as well (math insets still do not
1743         work, but that's a different story anyway.) It mysteriously
1744         crashes sometimes with undo in the first paragraph, but I'm fairly
1745         confident that this is a compiler bug.
1746
1747 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1748
1749         * paragraph.C (Paragraph): adjust for new clone return type
1750         (operator==): ditto
1751         (copyIntoMinibuffer): ditto
1752
1753 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1754
1755         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1756         by not having a special case, and always doing a full rebreak of
1757         the document after undo.
1758
1759 2003-07-23  Angus Leeming  <leeming@lyx.org>
1760
1761         * factory.C (createInset): InsetExternal::setParams now takes a
1762         Buffer const * arg.
1763
1764 2003-07-23  Angus Leeming  <leeming@lyx.org>
1765
1766         * factory.C (createInset): changed interface to the external and
1767         graphics mailers' string2params functions.
1768
1769 2003-07-23  Angus Leeming  <leeming@lyx.org>
1770
1771         * factory.C (createInset): pass a
1772         Buffer const * parameter to InsetExternalMailer's string2params.
1773
1774 2003-07-22  John Levon  <levon@movementarian.org>
1775
1776         * Thesaurus.h: include the right aiksaurus header
1777
1778 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * MenuBackend.C (expand): check menu shortcuts unconditionally
1781
1782 2003-07-21  Angus Leeming  <leeming@lyx.org>
1783
1784         * factory.C (createInset): pass a
1785         buffer_path parameter to InsetGraphicsMailer's string2params.
1786
1787 2003-07-21  Angus Leeming  <leeming@lyx.org>
1788
1789         * BufferView_pimpl.C (buffer):
1790         * buffer.C (d-tor):
1791         * lyx_main.C (LyX):
1792         * lyxfunc.C (dispatch):
1793         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1794         rather than the grfx shortcut.
1795
1796 2003-07-21  André Pönitz  <poenitz@gmx.net>
1797
1798         * rowpainter.C: remove unused variables
1799
1800         * tabular_funcs.C:
1801         * tabular_funcs.h: move to tabular.C
1802         * Makefile.am: adjust
1803
1804         * tabular.[Ch]: basic optical cleaning
1805
1806         * author.h: pass references, not values
1807
1808 2003-07-18  André Pönitz  <poenitz@gmx.net>
1809
1810         * lyxtext.h:
1811         * metricsinfo.C:
1812         * metricsinfo.h:
1813         * rowpainter.C:
1814         * text.C:
1815         * text2.C:
1816         * text3.C: two-phase drawing for InsetText and InsetTabular
1817         some float -> int changes.
1818
1819 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1820
1821         * lyx_main.C: fix the fix
1822
1823 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1824
1825         * lyx_main.C: fix a crash in batch mode if no files specified
1826         * converter.C: ws
1827
1828 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * format.[Ch] (papersize): moved to BufferParams
1831         * converter.[Ch] (dvips_options): moved to BufferParams
1832         (dvipdfm_options): moved to anon namespace
1833         * bufferparams.[Ch]: added above functions.
1834
1835 2003-07-17  André Pönitz  <poenitz@gmx.net>
1836
1837         * lyxtext.h:
1838         * rowpainter.C:
1839         * text2.C: don't call inset->update() anymore
1840
1841         * metricsinfo.[Ch]: add convenience constructor
1842
1843 2003-07-16  André Pönitz  <poenitz@gmx.net>
1844
1845         * lyxcursor.[Ch]:
1846         * lyxfunc.[Ch]:
1847         * text.C:
1848         * text2.C: replace the LyXCursor::irow_ member with
1849          on-demand computation of the value
1850
1851 2003-07-16  John Levon  <levon@movementarian.org>
1852
1853         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1854
1855 2003-07-15  André Pönitz  <poenitz@gmx.net>
1856
1857         * text.C:
1858         * text2.C: remove no more needed refresh_row
1859
1860 2003-07-15  André Pönitz  <poenitz@gmx.net>
1861
1862         * lyxtext.h:
1863         * rowpainter.C:
1864         * text2.C:
1865         * text3.C: refresh_status tristate -> need_update bool
1866
1867 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * lyxtext.h (init): remove reinit argument (act as if always true)
1870         * text2.C: adjust to that
1871
1872 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1873
1874         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1875         * text3.C: use it to delete selections in some cases
1876         (bugs 441, 673, 702, 954).
1877
1878 2003-07-14  André Pönitz  <poenitz@gmx.net>
1879
1880         * rowpainter.[Ch]: reduce interface
1881
1882 2003-07-14  André Pönitz  <poenitz@gmx.net>
1883
1884         * BufferView_pimpl.C:
1885         * text2.C: adjust after removing unused BufferView * argument
1886
1887 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1888
1889         * text2.C (init): fix a crash fired on resize
1890
1891 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1892
1893         * buffer.[Ch]: added new closing signal
1894         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1895         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1896         BufferView::Pimpl via the closing the signal
1897
1898 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * buffer.[Ch]: take out all bv-related from buffer
1901         * BufferView.C:
1902         * BufferView_pimpl.[Ch]: connect to new signals
1903         * CutAndPaste.C: removed useless asserts
1904         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1905         * lyxvc.[Ch]:
1906         * vc-backend.[Ch]:
1907         * lyxfunc.C: moved view-related funciontality from vc here
1908         * paragraph.C: removed outdated comments
1909         * text.C: ws
1910
1911 2003-07-10  André Pönitz  <poenitz@gmx.net>
1912
1913         * BufferView_pimpl.C:
1914         * tabular.h:
1915         * tabular_funcs.C:
1916         * text.C:
1917         * text2.C: remove InsetText::InnerCache, clean up consequences
1918
1919 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1920
1921         * ispell.C: fix two typos in error messages
1922
1923 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1924
1925         * Extend Note inset to other forms of annotation like Comment
1926         and Greyedout. Right button click gives dialog.
1927
1928         Files modified or added (+):
1929
1930         * insetnote.[Ch]
1931         * FormNote.[Ch]      +
1932         * ControlNote.[Ch]   +
1933         * form_note.fd       +
1934         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1935         frontends/controllers
1936         * xforms/Dialogs.C
1937         * factory.C
1938
1939 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1940
1941         * aspell.C: add missing namespace lyx::support
1942
1943 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * BufferView.[Ch] (newFile): Add
1946         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1947         * LaTeX.[Ch] (message): added this signal and use it
1948         * buffer.[Ch] (busy, message): added these signals and use them
1949         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1950         * converter.C:
1951         * exporter.C:
1952         * format.C:
1953         * importer.C: use buffer signals instead of direct bv calling
1954         * lyx_cb.[Ch] (ShowMessage): removed
1955         * lyx_main.C:
1956         * lyxfunc.C:
1957         * paragraph_funcs.C:
1958         * text2.C: use buffer signals
1959
1960 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * introduce namespace lyx::graphics
1963
1964 2003-07-02  André Pönitz  <poenitz@gmx.net>
1965
1966         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1967
1968 2003-07-01  André Pönitz  <poenitz@gmx.net>
1969
1970         * text.C:
1971         * text2.C:
1972         * text3.C:
1973         * text_funcs.[Ch]:
1974         * textcursor.h:
1975         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1976           text*.C to text_func.C
1977
1978 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1979
1980         * introduce namespace lyx::support
1981
1982 2003-06-30  André Pönitz  <poenitz@gmx.net>
1983
1984         * Chktex.C:
1985         * funcrequest.C:
1986         * lyxtext.h:
1987         * text.C: re-enable --with-included-string
1988
1989 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * textcursor.C: add <config.h>
1992
1993         * text.C (getWord): remove const from word_location arg
1994
1995         * lyxvc.C (getLogFile): fix const type order
1996
1997         * lyxtext.h: remove const from word_location arg, add arg name
1998
1999         * lyxlayout.h: currect type on labeltype.
2000
2001         * importer.C: correct \file
2002
2003         * converter.C (intToFormat): use std:: on ret val, ws changes
2004
2005         * bufferlist.h: correct \file
2006
2007         * buffer.C (makeLinuxDocFile): fix const type order
2008         (makeDocBookFile): ditto
2009         (fillWithBibKeys): use std:: on stdlib args.
2010
2011         * CutAndPaste.C: fix authors.
2012         (availableSelections): use std:: on return vector
2013
2014 2003-06-27  André Pönitz  <poenitz@gmx.net>
2015
2016         * BufferView_pimpl.C:
2017         * bufferview_funcs.C:
2018         * lyxcursor.C:
2019         * lyxcursor.h:
2020         * lyxfunc.C:
2021         * lyxtext.h:
2022         * rowpainter.C:
2023         * text.C:
2024         * text2.C:
2025         * text3.C: remove LyXCursor::row_ member
2026
2027         * lyxtext.h:
2028         * text.C: rename fullRebreak() to partialRebreak() and implement
2029           a fullRebreak() that really bereks fully
2030
2031         * textcursor.h: new struct for cursor-related data
2032
2033 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2034
2035         * lyx_main.C (LyX): get full path of document loaded on the
2036         command line
2037
2038 2003-06-26  André Pönitz  <poenitz@gmx.net>
2039
2040         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2041           remove unused/broken operator>,<,>=.
2042
2043         *       text.C: remove only use of broken operator<= in an Assert().
2044
2045 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2046
2047         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2048         moved errorlist_.clear to showErrorList
2049
2050 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * converter.C (scanLog, runLaTeX):
2053         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2054         move the bv->showErrorList call to the callers
2055         * lyxfunc.C: i.e. here...
2056         * text2.C: and here
2057         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2058         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2059         namespace, the second to...
2060         * buffer_funcs (BufferFormat, parseErrors): added
2061         * errorlist.C (ErrorList(TeXErrors const &)): removed
2062
2063 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2066
2067 2003-06-24  "Garst R. Reese" <reese@isn.net>
2068
2069         * debug.C: fix typo
2070
2071 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2072
2073         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2074
2075         * version.C.in: change docversion to 1.4
2076
2077 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * buffer.C: fix a bug just introduced
2080
2081 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2082
2083         * buffer.[Ch]: added the parseError signal and use it, removed
2084         sgmlError
2085         * BufferView.[Ch] (addError): moved to ...
2086         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2087         to the Buffer::parseError signal to catch (guess what) parse errors
2088         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2089
2090 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2091
2092         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2093         ability to create a buffer and to return an existing one from
2094         the list. Moved these functions to...
2095         * buffer_funcs.[Ch]: added
2096         * BufferView.[Ch] (loadLyXFile): added
2097         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2098         job removed from bufferlist::loadLyXFile.
2099         * buffer.C (setReadOnly): make it work without view
2100         (i.e added an if (users))
2101
2102 2003-06-19  Angus Leeming  <leeming@lyx.org>
2103
2104         * lfuns.h:
2105         * LyXAction.C (init):
2106         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2107         with LFUN_DIALOG_SHOW <name> <data>.
2108
2109 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * CutAndPaste.C (availableSelections): small compilation fix for
2112         ancient (gcc 2.9x) compilers
2113
2114 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2115
2116         * text3.C (cursorNext): add tmp var
2117
2118         * text2.C (updateCounters): for function calling out of for clause
2119         (replaceSelectionWithString): ditto
2120         (insertStringAsParagraphs): ditto
2121         (getColumnNearX): add tmp var
2122         (setCursorFromCoordinates): add tmp var
2123         (cursorDownParagraph): add tmp var
2124         (deleteEmptyParagraphMechanism): add tmp var
2125
2126         * text.C (insertChar): add tmp var
2127
2128         * rowpainter.C (paintDepthBar): add tmp var
2129
2130         * CutAndPaste.C (availableSelections): potentially check all
2131         paragraphs in a cut to fill the shown strings.
2132
2133 2003-06-18  André Pönitz  <poenitz@gmx.net>
2134
2135         * kbmap.[Ch]: use vector<> instead of list<>
2136
2137 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2138
2139         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2140         pasteSelection with index
2141
2142         * text2.C (pasteSelection): modify, call pasteSelection with index
2143
2144         * paragraph.C (asString): reimplement version with no interval to
2145         call the one with interval.
2146
2147         * lyxtext.h: add index arg to pasteSelection
2148
2149         * MenuBackend.C (MenuItem): handle PasteRecent
2150         (Menu::read::Menutags): add md_pasterecent
2151         (read): handle it
2152         (expandPasteRecent): new function
2153         (expand): use it
2154
2155         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2156
2157         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2158         the limited stack
2159         (availableSelections): new function
2160
2161 2003-06-17  Angus Leeming  <leeming@lyx.org>
2162
2163         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2164
2165 2003-06-17  Angus Leeming  <leeming@lyx.org>
2166
2167         * lfuns.h:
2168         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2169
2170         * lyxfunc.C (dispatch): invoke it.
2171
2172 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2173
2174         * iterators.C (operator++, ParPosition): reintroduce some
2175         const_cast for the benefit of older compilers.
2176
2177 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2178
2179         * text3.C (dispatch): do not modify clipboard when doing
2180         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2181         LFUN_DELETE_SKIP on a selection selection
2182
2183 2003-06-16  André Pönitz  <poenitz@gmx.net>
2184
2185         * BufferView.C:
2186         * buffer.C:
2187         * buffer.h:
2188         * paragraph.C:
2189         * tabular.[Ch]: IU of clone() and getLabelList();
2190
2191 2003-06-13  André Pönitz  <poenitz@gmx.net>
2192
2193         * tabular.h: compactification
2194
2195 2003-06-12  André Pönitz  <poenitz@gmx.net>
2196
2197         * tabular.C:
2198         * tabular.h:
2199         * tabular_funcs.h: some renaming plus whitespace
2200
2201 2003-06-12  André Pönitz  <poenitz@gmx.net>
2202
2203         * BufferView.C:
2204         * BufferView_pimpl.C:
2205         * CutAndPaste.C:
2206         * buffer.C:
2207         * iterators.[Ch]:
2208         * lyxfunc.C:
2209         * text.C:
2210         * toc.C: Return a Paragraph & for ParIterator::operator*()
2211
2212 2003-06-11  John Levon  <levon@movementarian.org>
2213
2214         * lyx_main.C:
2215         * ToolbarBackend.h:
2216         * ToolbarBackend.C: add "Toolbars" section and
2217         put the flags there
2218
2219 2003-06-10  Angus Leeming  <leeming@lyx.org>
2220
2221         * lfuns.h:
2222         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2223
2224         * lyxfunc.C (dispatch): invoke it.
2225
2226 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * main.C: protect <ios> with HAVE_IOS
2229         (main): protect sync_with_stdio with HAVE_IOS
2230
2231 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2232
2233         * text2.C (cutSelection): adjust
2234         (pasteSelection): adjust
2235
2236         * messages.C: handle get of empty string
2237
2238         * main.C (main): use sync_with_stdio(false)
2239
2240         * lyxfunc.C (dispatch): adjust
2241
2242         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2243         (WriteAs): remove unneeded BufferView arg.
2244
2245         * bufferparams.h: use correct types on papersize, papersize2 and
2246         paperpackage.
2247
2248         * bufferparams.C (readToken): adjust for type
2249         (writeLaTeX): add missing cases to switch.
2250
2251         * bufferlist.C (quitWriteBuffer): adjust
2252         (close): adjust
2253
2254         * buffer.C (asciiParagraph): remove some commented code.
2255
2256         * CutAndPaste.C: remove current_view extern variable.
2257         (cutSelection): add BufferParams arg.
2258         (eraseSelection): add BufferParams arg.
2259         (pasteSelection): add Buffer const & arg
2260
2261 2003-06-07  John Levon  <levon@movementarian.org>
2262
2263         * buffer.C:
2264         * paragraph_funcs.C:
2265         * paragraph_pimpl.C:
2266         * text.C:
2267         * text2.C:
2268         * paragraph.h:
2269         * paragraph.C: allow InsetERT to freely space lines,
2270         and some consolidation of code
2271
2272 2003-06-06  José Matos  <jamatos@fep.up.pt>
2273
2274         * buffer.C (makeDocBookFile): fix bug #821
2275
2276 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2277
2278         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2279
2280 2003-06-04  Angus Leeming  <leeming@lyx.org>
2281
2282         * buffer.C: bump format to 224.
2283
2284 2003-06-05  André Pönitz  <poenitz@gmx.net>
2285
2286         * text2.C (redoParagraphs): remove two const_cast<>
2287
2288 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2289
2290         * ParagraphList.h: remove last remnants of NO_STD_LIST
2291
2292 2003-06-03  Angus Leeming  <leeming@lyx.org>
2293
2294         * factory.C (createInset): small change to the way InsetExternal's params
2295         are set.
2296
2297 2003-06-04  André Pönitz  <poenitz@gmx.net>
2298
2299         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2300
2301         * paragraph_pimpl.h:
2302         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2303
2304         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2305
2306         * undo_funcs.C: make some simple cases of undo work again
2307
2308 2003-06-03  John Levon  <levon@movementarian.org>
2309
2310         * ispell.C: HPUX doesn't have sys/select.h
2311         (from Albert Chin)
2312
2313 2003-06-03  John Levon  <levon@movementarian.org>
2314
2315         * CutAndPaste.C: update tabular and include inset
2316         buffer references
2317
2318         * buffer.h:
2319         * paragraph.h:
2320         * paragraph.C: remove owningBuffer(), don't pass Buffer
2321         to clone()
2322
2323         * factory.C: insetGraphicsParams changed
2324
2325 2003-06-02  John Levon  <levon@movementarian.org>
2326
2327         * LyXAction.C:
2328         * factory.C:
2329         * lfuns.h:
2330         * lyxfunc.C:
2331         * text3.C: remove insetparent
2332
2333 2003-06-02  John Levon  <levon@movementarian.org>
2334
2335         * buffer.h:
2336         * buffer.C: fix inset_iterator.end(), move out of line
2337         (bug 1149)
2338
2339 2003-06-01  John Levon  <levon@movementarian.org>
2340
2341         * text3.C: use a proper cut/paste when doing inset
2342         insert (from Jürgen Spitzmüller)
2343
2344 2003-06-01  John Levon  <levon@movementarian.org>
2345
2346         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2347
2348 2003-05-30  André Pönitz  <poenitz@gmx.net>
2349
2350         * rowpainter.C: unify second drawing phase
2351
2352 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * trans_mgr.C: remove one case of current_view
2355
2356         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2357
2358         * paragraph_funcs.h: remove paragraph.h include
2359
2360         * paragraph.h: delete NO_STD_LIST stuff
2361
2362         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2363
2364         * buffer.h: remove paragraph.h include
2365
2366         * ParagraphList.C: delete file
2367
2368         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2369
2370         * toc.C (getTocList): adjust
2371
2372         * paragraph_pimpl.C (validate): adjust
2373
2374         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2375
2376         * paragraph.C (Paragraph): adjust
2377         (getPositionOfInset): use const_iterator, adjust
2378         (bibitem): use const_iterator, adjust
2379         (setInsetOwner): adjust
2380
2381         * iterators.C (operator++): adjust
2382
2383         * InsetList.[Ch]: Replace selfmade iterator with standard
2384         vector::iterator also introduce const_iterator. Remove getPos,
2385         getInset and setInset from InsetTable. Adjust accordingly.
2386
2387         * BufferView.C (lockInset): adjust
2388         (ChangeInsets): adjust
2389
2390         * tabular.[Ch]: delete commented same_id functions
2391
2392 2003-05-28  John Levon  <levon@movementarian.org>
2393
2394         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2395
2396 2003-05-28  André Pönitz  <poenitz@gmx.net>
2397
2398         * metricsinfo.[Ch]: remove 'fullredraw' member
2399
2400 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2401
2402         * lyxtextclass.C (operator): remove caching.
2403
2404 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * text3.C: adjust
2407
2408         * text2.C (cursorBottom): adjust
2409         (setCounter): use ParagraphList::find, adjust
2410
2411         * text.C (workWidth): use ParagraphList::find, adjust
2412
2413         * lyxcursor.C (LyXCursor): adjust
2414
2415         * buffer.C (inset_iterator): adjust
2416
2417         * ParagraphList.h: make iterator(value_type) private, make
2418         ParagraphList a friend of iterator.
2419
2420         * ParagraphList.C (find): new function
2421
2422         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2423
2424 2003-05-27  André Pönitz  <poenitz@gmx.net>
2425
2426         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2427
2428 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2431
2432 2003-05-26  John Levon  <levon@movementarian.org>
2433
2434         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2435
2436 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * remove same_id from function signatures, adjust.
2439
2440 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2441
2442         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2443
2444         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2445
2446         * paragraph.C (Paragraph): get rid of same_ids parameter
2447
2448         * ParagraphList.C (insert): adjust
2449         (push_back): adjust
2450
2451 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2452
2453         * paragraph_funcs.C (breakParagraph): adjust
2454         (breakParagraphConservative): adjust
2455
2456         * buffer.C (readParagraph): adjust
2457
2458         * ParagraphList.C (insert): take a reference instead of a pointer
2459         (insert): adjust
2460
2461         * paragraph.[Ch] (id): new function
2462
2463         * bufferlist.C (newFile): adjust
2464
2465         * ParagraphList.C (ParagraphList): adjust
2466         (assign): adjust
2467         (push_back): take a reference instead of a pointer.
2468
2469         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2470
2471         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2472         instead.
2473
2474         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2475         set else use old code.
2476
2477         * ParagraphList.C: remove all NO_NEXT code and only compile this
2478         code of NO_STD_LIST is set.
2479
2480 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * BufferView_pimpl.C:
2483         * TextCache.C:
2484         * TextCache.h:
2485         * bufferlist.C:
2486         * errorlist.h:
2487         * format.C:
2488         * format.h:
2489         * graph.C:
2490         * lyxfunc.C:
2491         * lyxrc.C:
2492         * graphics/GraphicsConverter.C:
2493         * graphics/PreviewLoader.C: header adjustment
2494
2495 2003-05-23  Angus Leeming  <leeming@lyx.org>
2496
2497         * LaTeXFeatures.[Ch] (useBabel): new method.
2498         * bufferparams.C (writeLaTeX): use it.
2499
2500 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * ParagraphList.h (set): remove unused function.
2503
2504 2003-05-23  André Pönitz  <poenitz@gmx.net>
2505
2506         * BufferView.C:
2507         * BufferView_pimpl.C:
2508         * buffer.C:
2509         * buffer.h:
2510         * lyxfunc.C:
2511         * undo_funcs.C: setUndo reworked
2512
2513         * iterators.[Ch]: add access to topmost ParagraphList
2514
2515         * lyxtext.[Ch] (workWidth): add a const
2516
2517 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2518
2519         * texrow.[Ch] (increasePos): remove function
2520         * exporter.C (export): removed unused var and outdated comment
2521
2522 2003-05-23  Angus Leeming  <leeming@lyx.org>
2523
2524         * latexrunparams.h: rename fragile as moving_arg.
2525         * paragraph.C (simpleTeXOnePar): ditto.
2526         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2527
2528 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2529
2530         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2531         (createUndo): ditto
2532         (textUndoOrRedo): comment out a currently unused var.
2533
2534         * paragraph.h (NO_NEXT): enable NO_NEXT
2535
2536         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2537
2538         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2539
2540         * exporter.C (Export): adjust for removeAutoInsets removal.
2541
2542         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2543
2544         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2545
2546         * BufferView.[Ch] (removeAutoInsets): delete function
2547
2548 2003-05-22  Angus Leeming  <leeming@lyx.org>
2549
2550         * latexrunparams.h: add a free_spacing variable.
2551
2552         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2553         to pass moving_arg, as the data is stored in runparams.fragile.
2554
2555         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2556         to Inset::latexOptional or to simpleTeXOnePar.
2557
2558         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2559         free_spacing arg to Inset::latexOptional.
2560
2561         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2562         free_spacing arg.
2563
2564 2003-05-22  Angus Leeming  <leeming@lyx.org>
2565
2566         * latexrunparams.h: add fragile and use_babel variables.
2567
2568         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2569         * buffer.C (makeLaTeXFile): store this returned value in
2570         runparams.use_babel, thus passing it to the inset::latex methods.
2571
2572         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2573         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2574
2575         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2576         longer has a fragile arg, as it is stored in runparams.fragile.
2577
2578         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2579         moving_arg parameter as the data is stored in runparams.fragile.
2580
2581         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2582         a fragile parameter as the data is stored in runparams.fragile.
2583
2584 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2587
2588 2003-05-22  Angus Leeming  <leeming@lyx.org>
2589
2590         * latexrunparams.h: add a 'bool nice' which defaults to false.
2591
2592         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2593         now encapsulated within runparams.
2594
2595         * bufferlist.C (updateIncludedTeXfiles):
2596         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2597
2598 2003-05-22  Angus Leeming  <leeming@lyx.org>
2599
2600         * latexrunparams.h: new file containing struct LatexRunParams.
2601         * Makefile.am: add new file.
2602
2603         * LaTeX.[Ch] (c-tor, run):
2604         * buffer.[Ch] (makeLaTeXFile):
2605         * bufferlist.[Ch] (updateIncludedTeXfiles):
2606         * converter.C (convert, scanLog):
2607         * converter.[Ch] (runLaTeX):
2608         * exporter.C (Export):
2609         * paragraph.[Ch] (simpleTeXOnePar):
2610         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2611         * paragraph_funcs.[Ch] (latexParagraphs):
2612         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2613         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2614         pass around a LatexRunParams parameter.
2615
2616 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * paragraph.[Ch]: remove unused constructor
2619
2620         * ParagraphList.C (erase): new function, taking two iterators
2621
2622 2003-05-22  André Pönitz  <poenitz@gmx.net>
2623
2624         * undo_funcs.C: remove duplicated code
2625
2626         * iterator.[Ch]: operator=
2627
2628 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2629
2630         * tabular.C (SetMultiColumn): ws changes
2631
2632         * rowpainter.C (paintFirst): get rid of a ->previous
2633
2634         * lyx_cb.C (getPossibleLabel): parlist simplification
2635
2636         * BufferView.C (ChangeInsets): simplify slightly.
2637
2638 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2639
2640         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2641         * lfuns.h: new LFUN_SPACE
2642         * lyxfunc.C: protected space has a new lfun
2643         * paragraph_funcs.C: read new space insets
2644         * text3.C:
2645         * factory.C: handle new space insets
2646
2647 2003-05-22  André Pönitz  <poenitz@gmx.net>
2648
2649         * BufferView.C:
2650         * BufferView_pimpl.C:
2651         * buffer.[Ch]:
2652         * lyxfunc.C:
2653         * undo_funcs.C: return a ParIterator from getParFromID.
2654
2655         * iterators.[Ch]: add two const's
2656
2657 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2658
2659         * toc.C (getTocList): adjust
2660
2661         * iterators.[Ch]: rework for parlist
2662
2663         * buffer.C (par_iterator_begin): adjust
2664         (par_iterator_end): adjust
2665
2666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2667
2668         * BufferView.C (removeAutoInsets): adjust
2669         (ChangeInsets): adjust
2670
2671 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2672
2673         * text.C (top_y): fix bug 1110
2674
2675 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * errorlist.[Ch]: added
2678         * buffer.C:
2679         * BufferView.[Ch]:
2680         * BufferView_pimpl.C:
2681         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2682         instead
2683
2684 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2685
2686         * Makefile.am: ensure that lyx is relinked upon changes to the
2687         various "convenience" libs.
2688
2689 2003-05-20  Angus Leeming  <leeming@lyx.org>
2690
2691         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2692         files are compiled in alphabetical order again.
2693
2694         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2695
2696 2003-05-19  Angus Leeming  <leeming@lyx.org>
2697
2698         * gettext.[Ch]: remove "char const * _(char const *)".
2699
2700 2003-05-19  André Pönitz  <poenitz@gmx.net>
2701
2702         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2703
2704         * Makefile.am:
2705         * BufferView.C:
2706         * DepTable.h:
2707         * LaTeXFeatures.C:
2708         * buffer.C:
2709         * lyxfont.C:
2710         * lyxlex.h:
2711         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2712
2713 2003-05-19  André Pönitz  <poenitz@gmx.net>
2714
2715         * buffer.C:
2716         * lyxlayout.[Ch]:
2717         * lyxtextclass.[Ch]:
2718         * paragraph.C:
2719         * paragraph_funcs.[Ch]:
2720         * text2.C:
2721         * text3.C: more insetenv work
2722
2723 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2724
2725         * ParagraphParameters.C (params2string): small bug fixed
2726
2727 2003-05-16  André Pönitz  <poenitz@gmx.net>
2728
2729         * debug.C:
2730         * bufferview_funcs.C: patch from Kornel Benko to prevent
2731           crash when _(...) is called twice in a statement
2732
2733 2003-05-16  André Pönitz  <poenitz@gmx.net>
2734
2735         * BufferView.C:
2736         * lyxfunc.C:
2737         * text.C:
2738         * text2.C:
2739         * text3.C:
2740         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2741
2742 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * lyx_main.C (init): remove spurious static_cast
2745
2746 2003-05-14  André Pönitz  <poenitz@gmx.net>
2747
2748         * BufferView.C: fix format string
2749
2750 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * BufferView.[Ch] (insertErrors): removed
2753         * BufferView.[Ch] (showErrorList): added
2754         * buffer.C (runChkTeX):
2755         * converter.C (scanLog): call showErrorList instead of inserterrors
2756
2757 2003-05-13  André Pönitz  <poenitz@gmx.net>
2758
2759         * BufferView_pimpl.C:
2760         * buffer.C:
2761         * bufferview_func.C:
2762         * MenuBackend.C:
2763         * lyxfunc.C:
2764         * lyxrc.C:
2765         * tex-accent.C:
2766         * text3.C:
2767         * toc.C:
2768         * tabular_funcs.h: tostr() from its own header
2769
2770         * ParagraphParameters.C:
2771         * ToolbarBackend.C:
2772         * bufferparams.C:
2773         * format.C:
2774         * lyxlex_pimpl.C:
2775         * text3.C: STRCONV()
2776
2777 2003-05-12  André Pönitz  <poenitz@gmx.net>
2778
2779         * BufferView.C:
2780         * BufferView_pimpl.C:
2781         * CutAndPaste.C:
2782         * LaTeX.C:
2783         * LaTeXFeatures.C:
2784         * ParagraphParameters.C:
2785         * buffer.C:
2786         * bufferlist.C:
2787         * bufferparams.C:
2788         * bufferview_funcs.C:
2789         * converter.C:
2790         * counters.C:
2791         * debug.C:
2792         * exporter.C:
2793         * format.C:
2794         * importer.C:
2795         * lyx_cb.C:
2796         * lyx_main.C:
2797         * lyxfont.C:
2798         * lyxfunc.C:
2799         * lyxvc.C:
2800         * paragraph.C:
2801         * paragraph_funcs.C:
2802         * tabular.C:
2803         * tabular_funcs.C:
2804         * text2.C:
2805         * text3.C:  boost::format -> bformat  all over the place
2806
2807
2808 2003-05-09  André Pönitz  <poenitz@gmx.net>
2809
2810         * LColor.[Ch]: Pimpl the #include <map> away
2811
2812 2003-05-09  John Levon  <levon@movementarian.org>
2813
2814         * bufferlist.C: never remove emergency saves
2815
2816 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * Makefile.am: better lib building
2819
2820 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2821
2822         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2823         instead.
2824         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2825         (simpleTeXSpecialChars): adjust
2826         (simpleTeXSpecialChars): adjust
2827         * paragraph.C (simpleTeXOnePar): adjust
2828         * buffer.C (makeLaTeXFile): adjust
2829
2830         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2831
2832         * text2.C (changeDepth): parlist cleanup
2833         (getColumnNearX): ditto
2834
2835         * rowpainter.C (getLabelFont): parlist cleanup
2836
2837         * bufferlist.C (newFile): parlist cleanup
2838
2839         * CutAndPaste.C (eraseSelection): parlist cleanup
2840
2841         * BufferView_pimpl.C (trackChanges): parlist cleanup
2842         (dispatch): ditto
2843
2844         * BufferView.C (lockInset): parlist cleanup.
2845         (ChangeInsets): ditto
2846
2847 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * CutAndPaste.h: Update file header.
2850
2851         * CutAndPaste.C: Update file header.
2852         Store the parts cut out of the Document in a limited_stack.
2853         (copySelection): adjust
2854         (pasteSelection): new function, takes the index in the limited stack.
2855         (nrOfParagraphs): adjust
2856         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2857         simplify error inset insertion.
2858         (checkPastePossible): adjust
2859
2860 2003-05-06  John Levon  <levon@movementarian.org>
2861
2862         * text2.C: don't cast wrap inset to float
2863
2864 2003-05-05  André Pönitz  <poenitz@gmx.net>
2865
2866         * iterator.C:
2867         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2868
2869         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2870           few naked Paragraph *.
2871
2872 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2873
2874         * bufferparams.C: Output warning if a document with missing
2875         TeX document class is loaded
2876         * exporter.C: Disable TeX exports if the document class is missing
2877         * lyxtextclass.C:
2878         * lyxtextclass.h:
2879         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2880         isTeXClassAvailable()
2881
2882 2003-05-03  John Levon  <levon@movementarian.org>
2883
2884         * BufferView.h:
2885         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2886         explicit cursor show/hide
2887
2888         * BufferView_pimpl.h:
2889         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2890         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2891
2892         * lyxfunc.C: hide cursor before dispatching.
2893
2894         * lyx_cb.C:
2895         * lyxfind.C:
2896         * text.C:
2897         * text3.C: remove explicit cursor hides
2898
2899 2003-05-02  André Pönitz  <poenitz@gmx.net>
2900
2901         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2902
2903         * undo_funcs.C:
2904         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2905           linked lists
2906
2907         * text2.C: tiny whitespace
2908
2909 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * undo_funcs.C: almost only ws changes.
2912
2913         * ParagraphList.C (splice): just return if pl is empty.
2914
2915 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * ParagraphList.C (splice): new function.
2918
2919         * CutAndPaste.C (pasteSelection): use it
2920
2921 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * CutAndPaste.C (pasteSelection): remove the last next and
2924         previous from this file.
2925
2926 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2927
2928         * CutAndPaste.C (pasteSelection): more clean up, user proper
2929         ParagraphList functions for pasteing.
2930
2931         * ParagraphList.C (insert): new function, three arg insert
2932
2933 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2934
2935         * ParagraphList.C (insert): new function, three arg insert
2936
2937         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2938         not on paragraphs.
2939
2940 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2941
2942         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2943
2944 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2947
2948 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2951         (copySelection): clean up a bit.
2952         (pasteSelection): use make_pair
2953
2954         * ParagraphList.C (ParagraphList): implement copy constructor
2955         (operator=): implement, base on copy constructor.
2956         (assign): new func
2957
2958         * paragraph.C (erase): return a bool
2959
2960         * paragraph_pimpl.C (erasePos): remove function, move contents...
2961         (erase): ... here. Return a bool.
2962         (erase): call erase instead of erasePos.
2963
2964 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * ParagraphList.h: define PitPosPair
2967         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2968         ParagraphList, fix a bug on pasting multiple pars
2969         * text2.C: change interface to C&P
2970
2971 2003-04-30  André Pönitz  <poenitz@gmx.net>
2972
2973         * undo_func.C: revert part of yesterday's patch 2
2974
2975 2003-04-30  John Levon  <levon@movementarian.org>
2976
2977         * LColor.C: s/tabular/table/
2978
2979 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2980
2981         * text3.C (dispatch): do not convert iterator -> pointer
2982         * undo_funcs.C (setCursorParUndo): ditto
2983         * text_funcs.C (transposeChars): ditto
2984
2985         * text2.C (setLayout): ws changes only
2986
2987         * text.C (breakParagraph): do not convert iterator -> pointer
2988         (insertChar): ditto
2989         (acceptChange): ditto
2990         (rejectChange): ditto
2991         (changeCase): ditto
2992         (Delete): ditto
2993         (backspace): ditto
2994
2995         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2996         pointer
2997
2998 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2999
3000         * text3.C (gotoInset): YABG (yet another bad getChar)
3001
3002 2003-04-29  André Pönitz  <poenitz@gmx.net>
3003
3004         * paragraph.h: make operator= private unimplemented as long as
3005           it is unusable
3006
3007         * ParagraphList.C: whitespace
3008
3009         * paragraph.[Ch]:
3010         * paragraph_pimpl.[Ch]:
3011         * paragraph_funcs.C:
3012         * CutAndPaste.C:
3013         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3014
3015         * text2.C:
3016           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3017
3018 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3021         * paragraph.[Ch] (erase):
3022         * paragraph_pimpl.[Ch] (erase): change return type and value
3023         * text2.C (cutSelection): some rework
3024
3025 2003-04-28  John Levon  <levon@movementarian.org>
3026
3027         * bufferlist.C: changes for unsaved changes dialog
3028
3029 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * bufferlist.C (newFile): set language (messages_) for new
3032         documents also.
3033
3034         * buffer.C (readFile): ws changes only.
3035
3036 2003-04-28  André Pönitz  <poenitz@gmx.net>
3037
3038         * undo_funcs.C:
3039         * lyxfunc.C:
3040         * buffer.[Ch]:
3041         * BufferView_pimpl.C:
3042         * BufferView.C: getParFromID related ParagraphList::iterator changes
3043
3044 2003-04-28  André Pönitz  <poenitz@gmx.net>
3045
3046         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3047           Changes
3048
3049 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * messages.C: remove one more localedir class variable.
3052
3053 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * messages.C (getLocaleDir): singleton generation function
3056         (Pimpl): use it.
3057         (Messages): add a default constructor.
3058
3059         * main.C (main): do not setup localedir here, do not call
3060         gettext_init.
3061
3062         * gettext.C (_): use it.
3063         (gettext_init): delete funciton
3064
3065 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3066
3067         * gettext.C (getLyXMessages): new singleton generating function.
3068
3069         * buffer.C (updateDocLang): adjust
3070
3071         * Makefile.am (messages.o): add target
3072         (main.o): remove target
3073
3074 2003-04-27  John Levon  <levon@movementarian.org>
3075
3076         * bufferlist.C:
3077         * lyx_cb.C:
3078         * lyxfunc.C:
3079         * lyxvc.C: specify cancel button in Alert::prompt
3080
3081 2003-04-26  John Levon  <levon@movementarian.org>
3082
3083         * text3.C:
3084         * lyxfunc.C:
3085         * lfuns.h:
3086         * LyXAction.C: add LFUN_INSET_SETTINGS
3087
3088         * lyxfunc.C: don't enable tabular-feature when there's
3089         just any locking inset
3090
3091 2003-04-26  John Levon  <levon@movementarian.org>
3092
3093         * bufferlist.C: re-add Cancel to buffer close question
3094
3095         * lyxfunc.C: fix import UI a bit
3096
3097 2003-04-25  John Levon  <levon@movementarian.org>
3098
3099         * gettext.C: remove the broken asserts for now
3100
3101 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * messages.C: make case where setlocale cannot comply work better.
3104
3105         * buffer.C (updateDocLang): new function
3106         (changeLanguage): use it
3107         (readFile): use it
3108
3109         * text2.C (setCounter): use B_ a bit.
3110
3111         * lyxlayout.C (Read): be sure to trim the label strings.
3112
3113         * messages.C (Messages): fix typo in comment
3114
3115         * buffer.C (readFile): set message_ after file is loaded.
3116         (makeDocBookFile): remove double return
3117         (changeLanguage): reset message_ upon language change.
3118         (B_): new func, use this to get translated buffer strings.
3119
3120         * main.C: add myself and Jean Marc as authors.
3121
3122 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * messages.[hC]: pimplify Messages, and three different pimpls to be
3125         used in different circumstances.
3126
3127         * gettext.[Ch]: change for use with new message code.
3128
3129 2003-04-24 André Pönitz <poenitz@gmx.net>
3130
3131         * factory.C: support for eqref
3132
3133 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * messages.[Ch]: add missing char
3136
3137         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3138
3139         * messages.[Ch]: New files
3140
3141 2003-04-18  John Levon  <levon@movementarian.org>
3142
3143         * BufferView.h:
3144         * BufferView.C:
3145         * BufferView_pimpl.C:
3146         * lfuns.h:
3147         * LyXAction.C:
3148         * lyxtext.h:
3149         * text2.C: remove layout-copy/paste (bug 778)
3150
3151 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3152
3153         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3154
3155 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3158         if they succeed. Act accordingly.
3159
3160 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * text2.C (setCharFont): adjust
3163         (setCounter): adjust
3164         (insertStringAsLines): adjust
3165
3166         * text.C (leftMargin): adjust
3167         (setHeightOfRow): adjust
3168
3169         * rowpainter.C (paintFirst): adjust
3170         (paintLast): adjust
3171
3172         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3173         (outerHook): ditto
3174         (isFirstInSequence): ditto
3175         (getEndLabel): ditto
3176         (outerFont): adjust
3177
3178         * paragraph.C (getParLanguage): comment out some hard stuff.
3179
3180         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3181         (sgmlError): ditto
3182         (simpleDocBookOnePar): ditto
3183         (makeDocBookFile): use ParagraphList::iterator
3184
3185         * CutAndPaste.C (pasteSelection): adjust
3186
3187 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3188
3189         * text2.C (getFont): adjust
3190         (getLayoutFont): adjust
3191         (getLabelFont): adjust
3192
3193         * paragraph_funcs.C (TeXOnePar): adjust
3194
3195         * buffer.C (simpleLinuxDocOnePar): adjust
3196         (simpleDocBookOnePar): adjust
3197
3198         * CutAndPaste.C (pasteSelection): adjust
3199
3200         * BufferView.C (getEncoding): adjust
3201
3202         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3203
3204 2003-04-16  John Levon  <levon@movementarian.org>
3205
3206         * lyxfind.C: use parlist stuff for search/changes
3207
3208 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3211
3212         * text2.C (deleteEmptyParagraphMechanism): adjust
3213
3214         * text2.[Ch] (ownerParagraph): delete func (both of them
3215
3216 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3217
3218         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3219
3220 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * ParagraphList.C: prepare for NO_NEXT
3223
3224 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * text2.C (getFont): adjust
3227         (getLayoutFont): adjust
3228         (getLabelFont): adjust
3229
3230         * paragraph.C (getFont): adjust
3231         (getLabelFont): adjust
3232         (getLayoutFont): adjust
3233
3234         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3235
3236 2003-04-15  John Levon  <levon@movementarian.org>
3237
3238         From Angus Leeming
3239
3240         * lyx_main.C: handle Include in .ui files
3241
3242 2003-04-15  John Levon  <levon@movementarian.org>
3243
3244         * MenuBackend.C: make the doc files length shorter
3245
3246         * ToolbarBackend.h:
3247         * ToolbarBackend.C: handle toolbar placement flags,
3248         Minibuffer
3249
3250 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3253         adjust
3254
3255         * paragraph_funcs.C (TeXOnePar): adjust
3256
3257         * paragraph.C (getLabelFont): add outerfont arg, adjust
3258         (getLayoutFont): ditto
3259         (simpleTeXOnePar): adjust
3260
3261         * paragraph_pimpl.C (realizeFont): delete func
3262
3263 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3264
3265         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3266         row argument, constify cur argument.
3267
3268 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * text2.C (getFont): adjust
3271         (getLayoutFont): adjust
3272         (getLabelFont): adjust
3273
3274         * paragraph_funcs.C (TeXOnePar): adjust
3275         (outerFont): new func...
3276         (realizeFont): ...moved out from here, changed this to facilitate
3277         transition
3278
3279         * paragraph.C (getFont): take outerfont as arg, adjust
3280         (simpleTeXOnePar): add outerfont arg, adjust
3281
3282         * buffer.C (simpleLinuxDocOnePar): adjust
3283         (simpleDocBookOnePar): adjust
3284
3285         * CutAndPaste.C (pasteSelection): adjust
3286
3287         * BufferView.C (getEncoding): adjust
3288
3289 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * text2.C (setCharFont): adjust
3292         (setCounter): adjust
3293
3294         * text.C (leftMargin): adjust
3295         (setHeightOfRow): adjust
3296
3297         * rowpainter.C (paintFirst): adjust
3298         (paintLast): adjust
3299
3300         * paragraph_pimpl.C (realizeFont): adjust
3301
3302         * paragraph.C (isFirstInSequence): move from here...
3303         * paragraph_funcs.C (isFirstInSequence): ...to here
3304
3305         * paragraph.C (outerHook): move from here...
3306         * paragraph_funcs.C (outerHook): ...to here
3307
3308         * paragraph.C (depthHook): move from here...
3309         * paragraph_funcs.C (depthHook): ...to here
3310
3311         * paragraph.C (getEndLabel): move from here...
3312         * paragraph_funcs.C (getEndLabel): ...to here
3313
3314         * text2.C (realizeFont): move from here...
3315         * paragraph_funcs.C (realizeFont): ...to here
3316
3317 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3320
3321 2003-04-14  Angus Leeming  <leeming@lyx.org>
3322
3323         * LColor.[Ch]: scrap LColor mathcursor.
3324
3325 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * lyxlex.[Ch] (text): delete function
3328         * trans.C (Load): adjust
3329         * paragraph_funcs.C (readParToken): adjust
3330
3331 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3334         vector<char> instead of a char[].
3335
3336         * lyxlex_pimpl.C (getString): adjust
3337         (next): adjust
3338         (lex): use getString
3339         (eatLine): adjust
3340         (nextToken): adjust
3341
3342         * lyxlex.C (text): use pimpl_->getString()
3343         (getBool): ditto
3344         (findToken): ditto
3345
3346 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3349         (makeFontEntriesLayoutSpecific): temp var for par.size()
3350         (setLayout): temp var for ownerParagraphs().end()
3351         (fullRebreak): temp var for rows().end()
3352         (selectionAsString): temp var for boost::next(startpit), realize
3353         that the while really is a regular for loop.
3354         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3355         setCursor in one place.
3356         (setParagraph): temp vr for ownerParagraphs().end()
3357         (updateCounters): make the while loop a for loop
3358         (cutSelection): temp var for ownerParagraphs().end()
3359         (updateInset): make the do {} while() a regular for loop
3360         (getCursorX): use temp vars
3361         (setCurrentFont): use temp vars
3362         (getColumnNearX): use temp vars
3363
3364 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * text.C (transformChar): use temp var for getChar
3367         (computeBidiTables): use temp var for row->par()
3368         (fill): move temp vars for row->par() and pit->layout() earlier in
3369         the function.
3370         (labelFill): use temp var for row->par()
3371         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3372         asc and desc, realize that pit never changes and that firstpit is
3373         just a duplicate and not needed. Exchange rit->par() with pit in a
3374         lot of places.
3375         (breakAgain): use a temp var for boost::next(rit)
3376         (breakAgainOneRow): ditto
3377         (breakParagraph): use a temp var for rows().begin()
3378         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3379         (cursorRightOneWord): use temp var for cursor.par() and
3380         cursor.pos(), remove usage of tmpcursor.
3381         (cursorLeftOneWord): use temp var for cursor.par() and
3382         cursor.pos() only set cur at end of function.
3383
3384 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * text.C, text2.C: exchange all usage of Paragraph::next with
3387         boost::next(ParagraphList::iterator)
3388
3389         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3390
3391         * text2.C (cursorTop): simplify implementation
3392         (cursorBottom): ditto
3393         (setParagraph): use ParagraphList::iterator
3394         (setCurrentFont): adjust
3395         (getColumnNearX): adjust
3396         (cursorRight): adjust
3397         (cursorLeft): remove usage of Paragraph::previous
3398         (cursorUpParagraph): ditto
3399         (deleteEmptyParagraphMechanism): slight cleanup
3400
3401         * text.C (isBoundary): take a Paragraph const & instead of a
3402         pointer as arg.
3403         (addressBreakPoint): ditto
3404         (leftMargin): remove usage of Paragraph::previous.
3405         (setHeightOfRow): ditto
3406         (cursorLeftOneWord): ditto
3407         (selectNextWordToSpellcheck): ditto
3408         (Delete): ditto
3409         (backspace): ditto
3410         (breakParagraph): remove one usage of Paragraph::next
3411         (redoParagraph): ditto
3412         (acceptChange): ditto
3413         (insertChar): adjust
3414         (rowBreakPoint): adjust
3415
3416         * bufferview_funcs.C (toggleAndShow): adjust
3417
3418 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3421         methods to access it.
3422         * lyxtext.h:
3423         * text.C: Added updateRowPositions to compute all row positions.
3424         Make top_y and getRowNearY() to use the cached y position
3425
3426 2003-04-11  John Levon  <levon@movementarian.org>
3427
3428         * text.C (rowBreakPoint): reintroduce the labelEnd
3429         checks, code copied from the row fill stuff. Deep voodoo.
3430
3431         * text.C (fill): add a comment and debugging for the
3432         next poor soul.
3433
3434 2003-04-11  John Levon  <levon@movementarian.org>
3435
3436         * text.C: make sure fullrow insets get wrapped to the next line,
3437         even when they're in a manual label
3438
3439 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * text2.C (insertParagraph): make it take ParagraphList::iterator
3442         as arg.
3443         (setLayout): make it return ParagraphList::iterator
3444         (redoParagraphs): ditto
3445         (setCounter): ditto
3446         (checkParagraph): ditto
3447
3448         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3449
3450         * text2.C: adjust several funcs.
3451         (realizeFont): take a ParagraphList::iterator as arg.
3452         (getLayoutFont): ditto
3453         (getLabelFont): ditto
3454         (setCharFont): ditto
3455
3456         * text.C: adjust several funcs.
3457
3458 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * text.C (selectNextWordToSpellcheck): don't accidentally
3461         skip insets
3462
3463 2003-04-10  John Levon  <levon@movementarian.org>
3464
3465         * ToolbarBackend.C (getIcon): special handling for
3466         LFUN_MATH_DELIM
3467
3468 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * text2.C (cursorRight): a getChar assert fixed
3471
3472 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * text2.C (getFont): change to take a ParagraphList::iterator
3475         instead of Paragraph*
3476         Adjust several functions.
3477
3478         * text.C (transformChar): change to take a ParagraphList::iterator
3479         instead of Paragraph*
3480         (singleWidth): ditto
3481         Adjust several functions.
3482
3483         * rowpainter.C: adjust several functions
3484         * rowpainter.h:store a ParagraphList::iterator and not a
3485         Paragraph&.
3486
3487
3488 2003-04-09  John Levon  <levon@movementarian.org>
3489
3490         * lyxfunc.C:
3491         * lfuns.h:
3492         * LyXAction.h:
3493         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3494         and the "help" bits as well
3495
3496 2003-04-09  John Levon  <levon@movementarian.org>
3497
3498         * ToolbarBackend.h:
3499         * ToolbarBackend.C: allow multiple toolbars
3500
3501 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * undo_funcs.C (setCursorParUndo): adjust
3504
3505         * text_funcs.C (transposeChars): adjust
3506
3507         * text3.C (gotoNextInset): adjust
3508         (dispatch): adjust
3509
3510         * text2.C (setLayout): adjust
3511         (changeDepth): adjust
3512         (setFont): adjust
3513         (redoParagraphs): adjust
3514         (selectionAsString): adjust
3515         (setParagraph): adjust
3516         (insertInset): adjust
3517         (cutSelection): adjust
3518         (copySelection): adjust
3519         (pasteSelection): adjust
3520         (insertStringAsLines): adjust
3521         (updateInset): adjust
3522         (setCursor): change to take a ParagraphList::iterator parameter
3523         (setCursorIntern): change to take a ParagraphList::iterator parameter
3524         (setCurrentFont): adjust
3525         (cursorLeft): adjust
3526         (cursorRight): adjust
3527         (deleteEmptyParagraphMechanism): adjust
3528
3529         * text.C (breakParagraph): adjust
3530         (insertChar): adjust
3531         (acceptChange): adjust
3532         (rejectChange): adjust
3533         (selectNextWordToSpellcheck): adjust
3534         (changeCase): adjust
3535         (Delete): adjust
3536         (backspace): adjust
3537
3538         * lyxfind.C (SearchForward): adjust
3539         (SearchBackward): adjust
3540         (nextChange): adjust
3541
3542         * lyxcursor.C (par): adjust
3543
3544         * lyxcursor.h: store a ParagraphList::iterator instead of a
3545         Paragraph*
3546
3547         * lyx_cb.C (getPossibleLabel): adjust
3548
3549         * bufferview_funcs.C (toggleAndShow): adjust
3550
3551         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3552         (dispatch): adjust
3553
3554         * BufferView.C (removeAutoInsets): adjust
3555         (lockedInsetStoreUndo): adjust
3556
3557 2003-04-09  John Levon  <levon@movementarian.org>
3558
3559         * ToolbarBackend.C: try icon without argument
3560         if with argument fails
3561
3562 2003-04-08  John Levon  <levon@movementarian.org>
3563
3564         * ToolbarBackend.h:
3565         * ToolbarBackend.C: add getIcon(), handle tooltip,
3566         and change from "Icon" to "Item".
3567
3568 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * BufferView.C (lockInset): another bad getchar crunched
3571
3572 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3575         again)
3576
3577 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3578
3579         * lyxfind.C (searchForward, searchBackwards): bug 782
3580
3581 2003-04-07  John Levon  <levon@movementarian.org>
3582
3583         * paragraph.C: remove dead comment
3584
3585         * text.C: remove troublesome depth-fiddling code
3586         in leftMargin() and rightMargin() (bug 1017)
3587
3588         * text.C: fix breaking of rows in nested lists
3589         (bug 1004)
3590
3591         * text2.C (updateCounters): fix up depth values
3592         (bug 1013)
3593
3594 2003-04-07  John Levon  <levon@movementarian.org>
3595
3596         * BufferView_pimpl.C: clear message when doc finishes resizing,
3597         and after a mouse event
3598
3599         * lyxfunc.C: clear message after exiting inset
3600
3601 2003-04-07  John Levon  <levon@movementarian.org>
3602
3603         * bufferview_funcs.C: show math status not outside
3604         status in the statusbar
3605
3606 2003-04-07  John Levon  <levon@movementarian.org>
3607
3608         * lyxfunc.C: note status changed after a depth change
3609
3610 2003-04-04  Angus Leeming  <leeming@lyx.org>
3611
3612         * LaTeX.h: move AuxInfo operator==, != out of line.
3613         Remove LaTeX virtual destructor; nothing derives from it.
3614         Move operator()() out of public area and rename it startscript().
3615         Change protected for private.
3616
3617 2003-04-04  Angus Leeming  <leeming@lyx.org>
3618
3619         * lyxfunc.C:
3620         * text2.C: remove unneeded #includes.
3621
3622 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3623
3624         * text2.C (dEPM): fix the heigth of the next row
3625
3626 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * text.C: squashed an invalid getChar requester + some ws changes
3629
3630 2003-04-03  John Levon  <levon@movementarian.org>
3631
3632         * bufferview_funcs.h:
3633         * bufferview_funcs.C:
3634         * lyxfunc.C:
3635         * lyxtext.h:
3636         * text2.C: make getStatus work for the env depth lfuns
3637
3638 2003-04-03  John Levon  <levon@movementarian.org>
3639
3640         * bufferview_funcs.h:
3641         * bufferview_funcs.C:
3642         * lyxfunc.C:
3643         * lyxtext.h:
3644         * text2.C: parlistize decDepth(), by merging it with incDepth()
3645
3646 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * lyxrow.h: store a ParagraphList::iterator instead of a
3649         Paragraph* and adjust other class functions to suit.
3650
3651         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3652         above.
3653
3654 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3655
3656         * text2.C (setCursor): do not anchor to cursor row for the time being
3657
3658 2003-04-02  John Levon  <levon@movementarian.org>
3659
3660         * LyXAction.C:
3661         * lfuns.h:
3662         * lyx_main.C:
3663         * lyxtext.h:
3664         * text.C:
3665         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3666
3667 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3668
3669         * paragraph.h: make ParagraphList and ParagraphList::iterator
3670         friends of Paragraph.
3671
3672         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3673
3674         * ParagraphList.C: Use the private next_ and previous_ from
3675         Paragraph.
3676
3677 2003-04-01  John Levon  <levon@movementarian.org>
3678
3679         * ToolbarBackend.h:
3680         * ToolbarBackend.C:
3681         * Makefile.am: rename, remove defaults gunk
3682
3683         * MenuBackend.h:
3684         * MenuBackend.C: remove defaults gunk
3685
3686         * Languages.h:
3687         * Languages.C: remove defaults gunk
3688
3689         * lyx_main.h:
3690         * lyx_main.C: error out if files couldn't be found.
3691
3692 2003-04-02  John Levon  <levon@movementarian.org>
3693
3694         * text2.C: make incDepth() use parlist
3695
3696 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * undo_funcs.C (firstUndoParagraph): adjust
3699
3700         * text3.C (gotoInset): adjust
3701         (dispatch): adjust, and rewrite loop.
3702
3703         * text2.C (init): adjust, and rewrite loop.
3704         (redoParagraphs): adjust
3705         (updateInset): adjust, and rewrite loop.
3706         (deleteEmptyParagraphMechanism): adjust
3707
3708         * tabular.C (LyXTabular): adjust
3709         (SetMultiColumn): adjust
3710         (TeXRow): adjust
3711
3712         * lyxtext.[Ch] (ownerParagraph): delete function
3713         (ownerParagraphs): new function returns a ParagraphList.
3714
3715         * BufferView.C (removeAutoInsets): adjust
3716         (insertErrors): adjust
3717         (setCursorFromRow): adjust
3718
3719 2003-04-01  Angus Leeming  <leeming@lyx.org>
3720
3721         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3722         in the frontends.
3723
3724 2003-04-02  John Levon  <levon@movementarian.org>
3725
3726         * lyxtext.h:
3727         * text.C:
3728         * Makefile.am:
3729         * text_funcs.h:
3730         * text_funcs.C: make transposeChars a free function
3731
3732         * lyxrow_funcs.C: remove wrong comment
3733
3734 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * lyxtext.h: adjust
3737         * rowpainter.C: adjust
3738         * text.C: adjust
3739         * text2.C: adjust
3740         * text3.C: adjust
3741
3742         * lyxrow_funcs. [Ch]: new files
3743
3744         * lyxrow.[Ch]: remove next and previous pointers
3745         (next,previous): remove accessor functions
3746         (isParEnd): move to lyxrow_funcs
3747         (lastPos): move to lyxrow_funcs
3748         (nextRowIsAllInset): move to lyxrow_funcs
3749         (lastPrintablePos): move to lyxrow_funcs
3750         (numberOfSeparators): move to lyxrow_funcs
3751         (numberOfHfills): move to lyxrow_funcs
3752         (numberOfLabelHfills): move to lyxrow_funcs
3753         (hfillExpansion): move to lyxrow_funcs
3754
3755         * lyxfunc.C: adjust
3756
3757         * bufferview_funcs.C (toggleAndShow): adjust
3758
3759         * RowList.h: Remove class RowList from file leave just a
3760         std::list<Row>.
3761
3762         * RowList.C: delete file
3763
3764         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3765         and lyxrow_funcs.h
3766
3767 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * text3.C (cursorPrevious): adjust
3770         (cursorNext): adjust
3771         (dispatch): adjust
3772
3773         * text2.C (redoHeightOfParagraph): adjust
3774         (redoDrawingOfParagraph): adjust
3775         (setCursor): adjust
3776
3777         * text.C (breakParagraph): adjust
3778         (insertChar): adjust
3779         (backspace): adjust
3780
3781         * rowpainter.C (RowPainter): adjust
3782         (leftMargin): simplify and adjust
3783         (most rowpainter functions): adjust.
3784
3785         * rowpainter.h: store the row as RowList::iterator not as Row*
3786
3787         * lyxcursor.C (row): taka RowList::iterator as arg
3788         (irow): ditto
3789
3790         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3791         of Row*.
3792
3793 2003-04-01  Angus Leeming  <leeming@lyx.org>
3794
3795         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3796         stuff like bool Bool.
3797
3798 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3799
3800         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3801         rewrite a loop
3802
3803 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3804
3805         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3806         RowList::iterator.
3807
3808         * lyxtext.h (rows): drop one version and leve a const variant that
3809         returns a RowList::iterator.
3810
3811 2003-03-31  Angus Leeming  <leeming@lyx.org>
3812
3813         * text.C (fill): ensure that the signature is the same as that in the
3814         header file.
3815
3816 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * text2.C (redoParagraphs): adjust
3819         (updateCounters): adjust
3820         (checkParagraph): adjust
3821         (getColumnNearX): adjust and reformat a bit.
3822
3823         * text.C (top_y): adjust
3824         (workWidth): adjust
3825         (leftMargin): adjust
3826         (prepareToPrint): adjust
3827         (getRow): adjust
3828         (getRowNearY): adjust
3829
3830         * lyxtext.h: make rowlist_ mutable.
3831
3832         * RowList.h: add const_iterator
3833         * RowList.C: adjust for RowList::const_iterator.
3834
3835         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3836         adjust.
3837
3838 2003-03-31  John Levon  <levon@movementarian.org>
3839
3840         * lyxrc.h:
3841         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3842
3843         * lyx_main.C: set default fonts from using lyx_gui funcs
3844
3845         * exporter.C: pdf_mode moved from lyxrc
3846
3847         * lyx_cb.C:
3848         * lyxfunc.C: changes from above
3849
3850 2003-03-31  John Levon  <levon@movementarian.org>
3851
3852         * lyx_main.C: fix to the last fix
3853
3854 2003-03-31  John Levon  <levon@movementarian.org>
3855
3856         * bufferlist.C: "Load original" -> "Load Original"
3857
3858         * converter.C:
3859         * exporter.C:
3860         * importer.C:
3861         * lyx_main.C:
3862         * format.C: more Alert cleanups
3863
3864 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * text2.C (removeParagraph): make it take a RowList::iterator as
3867         arg, adjust.
3868         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3869         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3870
3871         * text.C (anchor_row): make it take a RowList::iterator as arg,
3872         adjust.
3873         (computeBidiTables): make it take a const reference to Row instead
3874         of Row pointer, adjust.
3875         (leftMargin): make it take a RowList::iterator as arg, adjust.
3876         (rowBreakPoint): adjust
3877         (breakAgainOneRow): make it take a RowList::iterator as arg,
3878         adjust.
3879         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3880
3881         * bufferview_funcs.C (toggleAndShow): adjust
3882
3883 2003-03-30  John Levon  <levon@movementarian.org>
3884
3885         * Makefile.am:
3886         * BoostFormat.h:
3887         * boost-inst.C: moved to support
3888
3889         * several files: changes as a result
3890
3891 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * text2.C (LyXText): adjust.
3894         (init): adjust
3895         (removeRow): make it take a RowList::iterator as arg, adjust.
3896         (fullRebreak): adjust
3897         (deleteEmptyParagraphMechanism): adjust
3898         (clearPaint): adjust
3899         (postPaint): adjust
3900
3901         * text.C (top_y): adjust
3902         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3903         (breakAgain): make it take a RowList::iterator as arg, adjust.
3904         (breakParagraph): adjust
3905         (insertChar): adjust
3906         (backspace): adjust
3907
3908         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3909         need_break_row, and refresh_row.
3910
3911         * text3.C (dispatch): adjust
3912
3913         * text2.C (checkParagraph): adjust
3914         (setCursor): adjust
3915         (setCursorFromCoordinates): adjust
3916
3917         * text.C (top_y): adjust
3918         (workWidth): adjust
3919         (getRow): make it return a RowList::iterator, adjust
3920         (getRowNearY): make it return a RowList::iterator, adjust
3921
3922         * text2.C (init): adjust
3923         (insertRow): remove function
3924         (insertParagraph): adjust
3925         (redoParagraphs): adjust
3926         (fullRebreak): adjust
3927         (updateCounters): adjust
3928
3929         * text.C (top_y): rewrite to use RowList iterators.
3930         (top_y): adjust
3931         (setHeightOfRow): rewrite to sue RowList iterators.
3932         (appendParagraph): adjust
3933         (breakAgain): adjust
3934         (breakAgainOneRow): adjust
3935         (breakParagraph): adjust
3936         (getRow): adjust
3937         (getRowNearY): adjust, and remove commented code.
3938
3939         * lyxtext.h (firstRow): delete function
3940         (lastRow): delete function
3941         (rows): new function (const and non-const versions.)
3942         (insertRow): delete function
3943
3944         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3945
3946 2003-03-29  John Levon  <levon@movementarian.org>
3947
3948         * BufferView_pimpl.C: always update scrollbar top
3949         because pasting text when we're anchored could mean we
3950         miss an update altogether
3951
3952 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * text2.C (init): use rowlist_.end() and not 0.
3955         (insertRow): change to take a RowList::iterator as arg, adjust
3956         for this.
3957         (insertParagraph): change to take a RowList::iterator as arg,
3958         adjust for this.
3959         (redoParagraphs): remove some debug msgs.
3960
3961         * text.C (appendParagraph): change to take a RowList::iterator
3962         arg, adjust for this.
3963         (breakAgain): add an assert
3964         (breakAgainOneRow): ditto
3965
3966 2003-03-29  John Levon  <levon@movementarian.org>
3967
3968         * text2.C: do not clear selection after inc/decDepth
3969         (bug 550)
3970
3971 2003-03-29  John Levon  <levon@movementarian.org>
3972
3973         * BufferView.C:
3974         * buffer.C: fix broken strerrors according to Lars
3975
3976 2003-03-29  John Levon  <levon@movementarian.org>
3977
3978         * converters.C: more Alert cleanups
3979
3980 2003-03-29  John Levon  <levon@movementarian.org>
3981
3982         * bufferview_funcs.C: remove pointless Alert
3983
3984         * buffer.C: fix confusing error message when
3985         a template is chmoded 000
3986
3987 2003-03-29  John Levon  <levon@movementarian.org>
3988
3989         * BufferView.C:
3990         * BufferView.h:
3991         * BufferView_pimpl.C: Alert fixes
3992
3993         * Makefile.am:
3994         * tabular.C:
3995         * tabular-old.C: remove unused table compat reading
3996
3997 2003-03-29  John Levon  <levon@movementarian.org>
3998
3999         * BufferView.C:
4000         * buffer.C:
4001         * lyx_cb.h:
4002         * lyx_cb.C: more Alert cleanups
4003
4004         * lyxfunc.C: don't allow chktex if not latex document
4005
4006 2003-03-29  John Levon  <levon@movementarian.org>
4007
4008         * lyx_cb.C:
4009         * BufferView.C:
4010         * buffer.C: warnings pushed down from support/,
4011         kill err_alert
4012
4013 2003-03-29  John Levon  <levon@movementarian.org>
4014
4015         * lyxfunc.C: safety check for C-r (revert)
4016
4017 2003-03-29  John Levon  <levon@movementarian.org>
4018
4019         * bufferlist.h:
4020         * bufferlist.C: several UI fixes using Alert::prompt.
4021         Fix the pointless looping quit code. Fix stupid revert
4022         behaviour (bug 938)
4023
4024         * lyxvc.h:
4025         * lyxvc.C:
4026         * lyx_cb.C: use Alert::prompt
4027
4028         * lyx_main.C: remove a silly question
4029
4030         * lyxfunc.C: remove a couple of silly questions,
4031         use Alert::prompt
4032
4033 2003-03-28  John Levon  <levon@movementarian.org>
4034
4035         * text2.C: fix bug 974 (End on empty par)
4036
4037 2003-03-28  John Levon  <levon@movementarian.org>
4038
4039         * BufferView_pimpl.C:
4040         * LyXAction.C:
4041         * lfuns.h: remove do-nothing math greek lfuns
4042
4043 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * lyxgluelength.h (isValidGlueLength): add default arg on
4046         parameter 2. Remove default arg from friend in class.
4047
4048         * lyxlength.h (isValidLength): add default arg on parameter 2.
4049         Remove default arg from friend in class.
4050
4051         * text2.C (LyXText): adjust, initialize refresh_row.
4052         (init): adjust
4053         (removeRow): adjust
4054         (insertRow): adjust
4055         (insertParagraph): adjst
4056         (redoParagraphs): adjust
4057         (fullRebreak): adjust
4058         (updateCounters): adjust
4059         (deleteEmptyParagraphMechanism): first attempt at fixing a
4060         crashing bug.
4061
4062         * text.C (top_y): adjust
4063         (setHeightOfRow): adjust
4064         (getRow): adjust
4065         (getRowNearY): adjust
4066
4067         * lyxtext.h: include RowList.h
4068         (~LyXText): not needed anymore, deleted.
4069         (firstRow): modify for RowList
4070         (lastRow): new function
4071         Delete firstrow and lastrow class variables, add a Rowlist
4072         rowlist_ class variable.
4073
4074         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4075         paragraph is empty.
4076
4077         * RowList.C (insert): fix case where it == begin().
4078
4079 2003-03-26  Angus Leeming  <leeming@lyx.org>
4080
4081         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4082         the thesaurus dialog.
4083
4084 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4087
4088         * RowList.[Ch]: new files
4089
4090         * ParagraphList.C (erase): handle the case where it == begin
4091         correctly.
4092
4093 2003-03-25  John Levon  <levon@movementarian.org>
4094
4095         * Makefile.am:
4096         * aspell_local.h:
4097         * aspell.C: add new aspell support
4098
4099         * lyxrc.h:
4100         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4101         have it accessible.
4102
4103 2003-03-25  Angus Leeming  <leeming@lyx.org>
4104
4105         * lfuns.h:
4106         * LyXAction.C (init): new LFUN_INSET_INSERT.
4107
4108         * BufferView_pimpl.C (dispatch): split out part of the
4109         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4110
4111         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4112         LFUN_INSET_APPLY.
4113
4114 2003-03-25  Angus Leeming  <leeming@lyx.org>
4115
4116         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4117
4118 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * text2.C:
4121         * text3.C: remove useless row->height(0)
4122
4123 2003-03-25  John Levon  <levon@movementarian.org>
4124
4125         * lyxtext.h:
4126         * text2.C:
4127         * text3.C: rename the refreshing stuff to better names
4128
4129 2003-03-24  John Levon  <levon@movementarian.org>
4130
4131         * BufferView_pimpl.h:
4132         * BufferView_pimpl.C: update layout choice on a mouse
4133         press/release
4134
4135 2003-03-23  John Levon  <levon@movementarian.org>
4136
4137         * Makefile.am: fix commandtags.h reference
4138
4139 2003-03-22  John Levon  <levon@movementarian.org>
4140
4141         * BufferView_pimpl.C:
4142         * lyxtext.h:
4143         * rowpainter.C:
4144         * rowpainter.h:
4145         * text.C:
4146         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4147
4148 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4149
4150         * lyxtext.h:
4151         * text.C: take the rtl methods out of line
4152
4153 2003-03-21 André Pönitz <poenitz@gmx.net>
4154
4155         * metricsinfo.[Ch]: new files containing structures to be passed around
4156         during the two-phase-drawing...
4157
4158 2003-03-21 André Pönitz <poenitz@gmx.net>
4159
4160         * lyxtextclass.C: read 'environment' tag.
4161
4162 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4163
4164         * text2.C (removeRow): fix bug 964
4165
4166 2003-03-20  John Levon  <levon@movementarian.org>
4167
4168         * rowpainter.C:
4169         * text.C:
4170         * text2.C: paint cleanups. Inset::update() dropped font
4171         parameter
4172
4173 2003-03-19  John Levon  <levon@movementarian.org>
4174
4175         * lyxfunc.C: only fitcursor/markDirty if available()
4176
4177 2003-03-19  John Levon  <levon@movementarian.org>
4178
4179         * commandtags.h: rename to ...
4180
4181         * lfuns.h: ... this, and renumber / cleanup
4182
4183 2003-03-19  John Levon  <levon@movementarian.org>
4184
4185         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4186         fit the cursor after an lfun
4187
4188         * BufferView.h:
4189         * BufferView.C:
4190         * BufferView_pimpl.h:
4191         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4192
4193         * LyXAction.C: layout-character should have ReadOnly
4194
4195         * ParagraphParameters.C:
4196         * buffer.C:
4197         * bufferview_funcs.C:
4198         * lyx_cb.C:
4199         * lyxfind.C:
4200         * lyxtext.h:
4201         * text.C:
4202         * text2.C:
4203         * text3.C:
4204         * undo_funcs.C: changes from above
4205
4206 2003-03-18  John Levon  <levon@movementarian.org>
4207
4208         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4209         remove it from update()
4210
4211         * lyxfunc.C: update layout choice after an lfun
4212
4213         * text3.C: remove extra updateLayoutChoice()s
4214
4215 2003-03-18  John Levon  <levon@movementarian.org>
4216
4217         * text.C: top_y change means full repaint, fix
4218         a drawing bug with cursor movement
4219
4220 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * lyxtext.h:
4223         * text.C:
4224         * text2.C: anchor row on setCursor
4225
4226 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * lyxtext.h: remove almost all mutable keywords
4229         * text.C:
4230         * text2.C:
4231         * text3.C: remove const keywords accordingly
4232
4233 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4236         anon namespace
4237         (TeXEnvironment): ditto
4238         (TeXOnePar): ditto
4239
4240 2003-03-17  John Levon  <levon@movementarian.org>
4241
4242         * text.C (rowBreakPoint): remove attempt to fix displayed
4243         math insets inside a manual label
4244
4245 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * lyxtext.h: remove BufferView* as first arg from almost all class
4248         functions.
4249         * other files: adjust.
4250
4251 2003-03-17  John Levon  <levon@movementarian.org>
4252
4253         * lyxtext.h:
4254         * undo_funcs.C:
4255         * text2.C: more paint cleanups
4256
4257         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4258
4259         * rowpainter.h:
4260         * rowpainter.C: remove "smart" background painting code
4261
4262 2003-03-16  John Levon  <levon@movementarian.org>
4263
4264         * lyxtext.h:
4265         * text.C:
4266         * text2.C:
4267         * text3.C: add helper functions for setting refresh_row/y
4268
4269 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4270
4271         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4272         newline inset which *can* get inserted in the pass_thru layouts.
4273         This is primarily for literate documents.
4274
4275 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4276
4277         * buffer.C: increment LYX_FORMAT to 223
4278
4279 2003-03-14 André Pönitz <poenitz@gmx.net>
4280
4281         * textclass.h: prepare for environment handling, ws changes
4282         * lyxlayout.C: read latexheader and latexfooter tags
4283
4284 2003-03-14  John Levon  <levon@movementarian.org>
4285
4286         * text2.C: rewrite ::status() a bit
4287
4288 2003-03-13  John Levon  <levon@movementarian.org>
4289
4290         * lyxtext.h: add some docs
4291
4292 2003-03-13  John Levon  <levon@movementarian.org>
4293
4294         * lyxtext.h:
4295         * text.C:
4296         * text2.C:
4297         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4298
4299 2003-03-13  John Levon  <levon@movementarian.org>
4300
4301         * text3.C: fix appendix redrawing
4302
4303 2003-03-13  John Levon  <levon@movementarian.org>
4304
4305         * text.C (setHeightOfRow):
4306         * rowpainter.h:
4307         * rowpainter.C: make appendix mark have the text
4308           "Appendix" so the user knows what it is
4309
4310         * LColor.h:
4311         * LColor.C: s/appendixline/appendix/ from above
4312
4313 2003-03-13  John Levon  <levon@movementarian.org>
4314
4315         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4316
4317         * text.C: fix a getChar(pos) bug properly
4318
4319 2003-03-13  Angus Leeming  <leeming@lyx.org>
4320
4321         * commandtags.h:
4322         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4323         Probably only temporary. Let's see how things pan out.
4324
4325         * BufferView.C (unlockInset):
4326         * BufferView_pimpl.C (fitCursor):
4327         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4328
4329         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4330         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4331
4332         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4333         new functions that convert ParagraphParameters to and from a string.
4334
4335         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4336         BufferView::Pimpl's dispatch.
4337         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4338
4339 2003-03-13 André Pönitz <poenitz@gmx.net>
4340
4341         * lyxfunc.C:
4342         * text3.C:
4343         * factory.C: make it aware of InsetEnv
4344
4345 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4346
4347         * text2.C (setCursor): never ask for one past last
4348         (setCursor): add some debugging messages.
4349
4350         * text.C (singleWidth): never ask for one past last
4351         (singleWidth): ditto
4352         (leftMargin): ditto
4353         (rightMargin): ditto
4354         (rowBreakPoint): ditto
4355         (setHeightOfRow): ditto
4356         (prepareToPrint): ditto
4357
4358         * rowpainter.C (paintBackground): never ask for one past last
4359         (paintText): never ask for one past last
4360
4361         * paragraph_pimpl.C (getChar): make the assert stricter, never
4362         allow the one past last pos to be taken
4363
4364         * paragraph.C (getChar): ws changes only
4365
4366         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4367         (numberOfSeparators): ditto
4368         (numberOfHfills): ditto
4369
4370 2003-03-12  John Levon  <levon@movementarian.org>
4371
4372         * author.h:
4373         * author.C:
4374         * bufferparams.h:
4375         * bufferparams.C:
4376         * paragraph_funcs.C: fix per-buffer authorlists
4377
4378 2003-03-12  John Levon  <levon@movementarian.org>
4379
4380         * text.C: fix newline in right address
4381
4382 2003-03-12  Angus Leeming  <leeming@lyx.org>
4383
4384         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4385         duplicate those in LyXFunc::dispatch.
4386
4387         * commandtags.h:
4388         * LyXAction.C:
4389         * ToolbarDefaults.C:
4390         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4391         Add LFUN_FONTFREE_UPDATE.
4392
4393         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4394         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4395
4396         * bufferview_func.[Ch]: several new functions to facilliate
4397         transfer of data to and from the character dialog.
4398
4399 2003-03-12  John Levon  <levon@movementarian.org>
4400
4401         * buffer.C:
4402         * paragraph.h:
4403         * paragraph.C:
4404         * paragraph_funcs.C:
4405         * paragraph_pimpl.C:
4406         * sgml.C:
4407         * tabular.C:
4408         * text.C:
4409         * text3.C: remove META_NEWLINE in favour of an inset
4410
4411         * rowpainter.h:
4412         * rowpainter.C: remove paintNewline (done by inset)
4413
4414 2003-03-12  John Levon  <levon@movementarian.org>
4415
4416         * paragraph_pimpl.C: complain about bad getChar()s
4417         for a while at least
4418
4419 2003-03-12  John Levon  <levon@movementarian.org>
4420
4421         * buffer.h:
4422         * buffer.C: move paragraph read into a separate function,
4423         a little renaming to reflect that.
4424
4425         * bufferparams.h:
4426         * bufferparams.C: remove the author_ids map, not necessary now
4427
4428         * factory.h:
4429         * factory.C: moved Buffer::readInset to here
4430
4431         * paragraph_funcs.h:
4432         * paragraph_funcs.C: readParagraph free function moved from
4433         buffer.C
4434
4435         * tabular.C: name change
4436
4437 2003-03-12  John Levon  <levon@movementarian.org>
4438
4439         * buffer.C:
4440         * ParagraphParameters.C: move par params input to
4441         a read() method
4442
4443         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4444         behave like a normal read from the stream wrt reading
4445         a line vs. a \\token
4446
4447 2003-03-12  John Levon  <levon@movementarian.org>
4448
4449         * paragraph.C:
4450         * ParagraphParameters.h:
4451         * ParagraphParameters.C: move output code to a
4452         ::write() method
4453
4454 2003-03-12  John Levon  <levon@movementarian.org>
4455
4456         * BufferView.C (insertLyXFile):
4457         * buffer.h:
4458         * buffer.C:
4459         * tabular.C: use a parlist iterator for creating the
4460           document.
4461
4462 2003-03-12  John Levon  <levon@movementarian.org>
4463
4464         * buffer.C: make current_change static local not
4465           static file-scope
4466
4467 2003-03-12  John Levon  <levon@movementarian.org>
4468
4469         * buffer.C: fix insertStringAsLines for change tracking
4470
4471 2003-03-12  John Levon  <levon@movementarian.org>
4472
4473         * BufferView.C:
4474         * tabular.C:
4475         * buffer.h:
4476         * buffer.C:
4477         * bufferparams.h:
4478         * bufferparams.C: move author list into params. Rename some
4479           functions. Move the header reading into a separate token
4480           loop. Move the header token reading into BufferParams.
4481
4482 2003-03-12  John Levon  <levon@movementarian.org>
4483
4484         * changes.C: put debug inside lyxerr.debugging() checks
4485
4486 2003-03-11 André Pönitz <poenitz@gmx.net>
4487
4488         * factory.C: make it aware of InsetHFill
4489
4490 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4491
4492         * buffer.C (latexParagraphs): move function from here...
4493         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4494         args.
4495
4496 2003-03-10  Angus Leeming  <leeming@lyx.org>
4497
4498         * LyXAction.C (init): fix bug in poplating array with multiple entries
4499         with the same LFUN (spotted by JMarc).
4500
4501 2003-03-10  John Levon  <levon@movementarian.org>
4502
4503         * text.C:
4504         * text2.C: move getColumnNearX() near its
4505         only call site
4506
4507 2003-03-10  John Levon  <levon@movementarian.org>
4508
4509         * text.C: fix break before a minipage
4510
4511 2003-03-10  John Levon  <levon@movementarian.org>
4512
4513         * text.C: fix the last commit
4514
4515 2003-03-09  John Levon  <levon@movementarian.org>
4516
4517         * lyxtext.h:
4518         * text.C:
4519         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4520         bug 365 (don't break before insets unless needed). Don't
4521         return a value > last under any circumstances.
4522
4523 2003-03-09  Angus Leeming  <leeming@lyx.org>
4524
4525         * BufferView_pimpl.C (trackChanges, dispatch): call
4526         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4527
4528 2003-03-09  Angus Leeming  <leeming@lyx.org>
4529
4530         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4531         than Dialogs::showAboutlyx().
4532
4533 2003-03-09  Angus Leeming  <leeming@lyx.org>
4534
4535         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4536         than Dialogs::showTabularCreate().
4537
4538 2003-03-09  John Levon  <levon@movementarian.org>
4539
4540         * lyxtext.h:
4541         * text.C:
4542         * text2.C: 3rd arg to nextBreakPoint was always the same.
4543           Use references.
4544
4545 2003-03-08  John Levon  <levon@movementarian.org>
4546
4547         * lyxrow.C:
4548         * paragraph.C:
4549         * paragraph.h:
4550         * rowpainter.C:
4551         * text.C:
4552         * text2.C: Remove the "main" bit from the "main body"
4553           notion.
4554
4555 2003-03-08  John Levon  <levon@movementarian.org>
4556
4557         * text.C (leftMargin): The left margin of an empty
4558         manual label paragraph should not include the label width
4559         string length.
4560
4561         * text.C (prepareToPrint): don't attempt to measure hfills
4562         for empty manual label paragraphs - the answer should be 0
4563
4564 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * CutAndPaste.C: remove commented code and reindent.
4567
4568 2003-03-08  John Levon  <levon@movementarian.org>
4569
4570         * lyxfunc.h:
4571         * lyxfunc.C: move reloadBuffer()
4572
4573         * BufferView.h:
4574         * BufferView.C: to here
4575
4576         * lyxvc.C: add comment
4577
4578         * vc-backend.h:
4579         * vc-backend.C: call bv->reload() to avoid
4580           getStatus() check on MENURELOAD
4581
4582 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4583
4584         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4585         to an old format .dep file.
4586
4587 2003-03-07  Angus Leeming  <leeming@lyx.org>
4588
4589         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4590         when the LFUN_MOUSE_RELEASE should have been handled by
4591         inset->localDispatch.
4592
4593 2003-03-07  Angus Leeming  <leeming@lyx.org>
4594
4595         * BufferView_pimpl.C (dispatch):
4596         * LyXAction.C (init):
4597         * ToolbarDefaults.C (init):
4598         * commandtags.h:
4599         * lyxfunc.C (getStatus):
4600         remove LFUN_INSET_GRAPHICS.
4601
4602         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4603
4604 2003-03-07  Angus Leeming  <leeming@lyx.org>
4605
4606         * commandtags.h:
4607         * LyXAction.C (init):
4608         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4609
4610         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4611
4612         * commandtags.h:
4613         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4614
4615         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4616         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4617
4618 2003-03-07  Angus Leeming  <leeming@lyx.org>
4619
4620         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4621         remove "ert".
4622
4623 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * ParagraphList.C (front): new function
4626         (back): implement
4627
4628 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4631         and top_row_offset_. removed var first_y.
4632         * text.C (top_y):
4633         * text2.C (LyXText, removeRow):
4634         * text3.C:
4635         * BufferView_pimpl.C:
4636         use these methods instead of using first_y
4637
4638 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * text2.C (pasteSelection): adjust for checkPastePossible
4641
4642         * CutAndPaste.C: remove Paragraph * buf and replace with
4643         ParagraphList paragraphs.
4644         (DeleteBuffer): delete
4645         (cutSelection): change the tc type to textclass_type
4646         (copySelection): change the tc type to textclass_type
4647         (copySelection): adjust for ParagraphList
4648         (pasteSelection): change the tc type to textclass_type
4649         (pasteSelection): adjust for Paragraphlist
4650         (nrOfParagraphs): simplify for ParagraphList
4651         (checkPastePossible): simplify for ParagraphList
4652         (checkPastePossible): remove unused arg
4653
4654         * ParagraphList.C (insert): handle the case where there are no
4655         paragraphs yet.
4656
4657         * CutAndPaste.h: make CutAndPaste a namespace.
4658
4659         * text3.C (dispatch): adjust
4660
4661         * text.C (breakParagraph): add a ParagraphList as arg
4662
4663         * paragraph_funcs.C (breakParagraph): change to take a
4664         BufferParams and a ParagraphList as args.
4665         (breakParagraphConservative): ditto
4666         (mergeParagraph): ditto
4667         (TeXDeeper): add a ParagraphList arg
4668         (TeXEnvironment): ditto
4669         (TeXOnePar): ditto
4670
4671         * buffer.C (readLyXformat2): adjust
4672         (insertStringAsLines): adjust
4673         (latexParagraphs): adjust
4674
4675         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4676         (cutSelection): adjust
4677         (pasteSelection): adjust
4678
4679         * BufferView_pimpl.C (insertInset): adjust
4680
4681 2003-03-05  Angus Leeming  <leeming@lyx.org>
4682
4683         * commandtags.h:
4684         * LyXAction.C (init):
4685         * BufferView_pimpl.C (dispatch):
4686         * lyxfunc.C (getStatus):
4687         remove LFUN_CHILD_INSERT.
4688
4689         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4690
4691 2003-03-05  Angus Leeming  <leeming@lyx.org>
4692
4693         * commandtags.h:
4694         * LyXAction.C (init):
4695         * src/factory.C (createInset):
4696         * lyxfunc.C (getStatus):
4697         * text3.C (dispatch):
4698         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4699
4700         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4701
4702 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * ParagraphList.C (insert): handle insert right before end()
4705         (erase): fix cases where it can be first or last paragraph.
4706
4707 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4708
4709         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4710         Paragraph::next and Paragraph::previous
4711         (TeXOnePar): ditto
4712
4713         * text.C (breakParagraph): adjust
4714
4715         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4716         BufferParams& as arg.
4717         (breakParagraph): use ParagraphList::insert
4718         (breakParagraphConservative): take a Buffer* instead of a
4719         BufferParams& as arg.
4720         (breakParagraphConservative): use ParagraphList::insert.
4721
4722         * buffer.C (insertStringAsLines): un-const it
4723         (insertStringAsLines): adjust
4724
4725         * ParagraphList.C (insert): new function
4726
4727         * CutAndPaste.C (pasteSelection): adjust
4728
4729         * text.C (backspace): adjust
4730
4731         * tabular.C (SetMultiColumn): adjust
4732
4733         * CutAndPaste.C (cutSelection): adjust
4734         (pasteSelection): adjust
4735
4736         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4737         Buffer const * as arg
4738
4739         * ParagraphList.C (erase): new function
4740         * paragraph_funcs.C (mergeParagraph): use it
4741         (mergeParagraph): make it take a Buffer* instead of a
4742         BufferParams* as arg
4743
4744         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4745         as arg
4746         (breakParagraphConservative): ditto
4747
4748         * paragraph.h: remove the breakParagraph friend
4749
4750         * paragraph.C (eraseIntern): new function
4751         (setChange): new function
4752
4753         * paragraph_funcs.C (mergeParagraph): make it take a
4754         ParagraphList::iterator instead of a Paragraph *, adjust
4755         accordingly.
4756
4757         * paragraph.h: move an #endif so that the change tracking stuff
4758         also works in the NO_NEXT case.
4759
4760 2003-03-04  Angus Leeming  <leeming@lyx.org>
4761
4762         * commandtags.h:
4763         * LyXAction.C: new LFUN_INSET_MODIFY.
4764
4765         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4766         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4767
4768 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * several files: ws changes only
4771
4772         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4773         (TeXEnvironment): ditto
4774         (TeXDeeper): ditto
4775
4776         * buffer.C (makeLaTeXFile): adjust
4777         (latexParagraphs): make it take ParagraphList::iterator as args
4778
4779 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * buffer.C (latexParagraphs): adjust
4782
4783         * paragraph.C (TeXOnePar): move function...
4784         (optArgInset): move function...
4785         (TeXEnvironment): move function...
4786         * paragraph_pimpl.C (TeXDeeper): move function...
4787         * paragraph_funcs.C: ...here
4788
4789         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4790
4791 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4792
4793         * buffer.C (readInset): remove compability code for old Figure and
4794         InsetInfo insets
4795
4796 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * buffer.C: ws changes
4799         (readInset):
4800
4801         * BufferView_pimpl.C: ditto
4802         * author.C: ditto
4803         * buffer.h: ditto
4804         * bufferlist.h: ditto
4805         * changes.h: ditto
4806         * lyxfunc.C: ditto
4807
4808 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4809
4810         * converter.[Ch]: split into itself +
4811         * graph.[Ch]
4812         * format.[Ch]
4813         * Makefile.am: += graph.[Ch] + format.[Ch]
4814         * MenuBackend.C
4815         * buffer.C
4816         * exporter.C
4817         * importer.C
4818         * lyx_main.C
4819         * lyxfunc.C
4820         * lyxrc.C: added #include "format.h"
4821
4822 2003-02-27  Angus Leeming  <leeming@lyx.org>
4823
4824         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4825           a label.
4826
4827         * factory.C (createInset): add "label" to the factory.
4828
4829         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4830           string and do no more.
4831
4832 2003-02-27  Angus Leeming  <leeming@lyx.org>
4833
4834         * commandtags.h:
4835         * LyXAction.C (init):
4836         * factory.C (createInset):
4837         * BufferView_pimpl.C (dispatch):
4838           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4839
4840         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4841
4842         * lyxfunc.C (dispatch):
4843         * text3.C (dispatch): pass name to params2string.
4844
4845 2003-02-26  Angus Leeming  <leeming@lyx.org>
4846
4847         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4848           blocks together.
4849           Rearrange the ~includes. Strip out the unnecessary ones.
4850
4851         * factory.C (createInset): reformat.
4852           create new insets for the various LFUN_XYZ_APPLY lfuns.
4853
4854 2003-02-26  John Levon  <levon@movementarian.org>
4855
4856         * lyxrow.h:
4857         * lyxrow.C: add isParStart,isParEnd helpers
4858
4859         * paragraph.h: make isInserted/DeletedText take refs
4860
4861         * paragraph_funcs.h:
4862         * paragraph_funcs.C: remove #if 0'd code
4863
4864         * lyxtext.h:
4865         * text3.C:
4866         * text2.C:
4867         * text.C: use lyxrow helpers above.
4868           Move draw and paint routines to RowPainter.
4869           Make several methods use refs not pointers.
4870           Make backgroundColor() const.
4871           Add markChangeInDraw(), isInInset().
4872           Merge changeRegionCase into changeCase.
4873           Make workWidth() shouldn't-happen code into an Assert.
4874
4875         * rowpainter.h:
4876         * rowpainter.C: new class for painting a row.
4877
4878         * vspace.h:
4879         * vspace.C: make inPixels take a ref
4880
4881 2003-02-26  Angus Leeming  <leeming@lyx.org>
4882
4883         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4884         LFUN_REF_APPLY.
4885
4886 2003-02-25  John Levon  <levon@movementarian.org>
4887
4888         * ispell.C: give the forked command a more accurate name
4889
4890 2003-02-22  John Levon  <levon@movementarian.org>
4891
4892         * toc.h:
4893         * toc.C: make TocItem store an id not a Paragraph *
4894           (bug #913)
4895
4896 2003-02-21  Angus Leeming  <leeming@lyx.org>
4897
4898         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4899           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4900           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4901           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4902           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4903           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4904
4905         * BufferView_pimpl.C (dispatch):
4906         * LyXAction.C (init):
4907         * factory.C (createInset):
4908         * lyxfunc.C (getStatus, dispatch):
4909         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4910
4911 2003-02-21  Angus Leeming  <leeming@lyx.org>
4912
4913         * BufferView_pimpl.C (MenuInsertLyXFile):
4914         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4915         * lyxfunc.C (menuNew, open, doImport):
4916           no longer pass a LyXView & to fileDlg.
4917
4918 2003-02-21  Angus Leeming  <leeming@lyx.org>
4919
4920         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4921         * LyXAction.C: change, BIBKEY to BIBITEM.
4922         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4923         Change InsetBibKey to InsetBibitem.
4924         Change BIBKEY_CODE to BIBITEM_CODE.
4925         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4926         * factory.C: replace insetbib.h with insetbibitem.h.
4927         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4928         * paragraph.C: replace insetbib.h with insetbibitem.h.
4929         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4930         Change bibkey() to bibitem().
4931         * text.C: remove insetbib.h.
4932         * text2.C: replace insetbib.h with insetbibitem.h.
4933         change bibkey() to bibitem().
4934         * text3.C: remove insetbib.h.
4935         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4936
4937 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4938
4939         * lyxrc.C (output): enclose user email in quotes (in case there are
4940         several words)
4941
4942 2003-02-18  John Levon  <levon@movementarian.org>
4943
4944         * buffer.h: add std::
4945
4946 2003-02-17  John Levon  <levon@movementarian.org>
4947
4948         * SpellBase.h:
4949         * ispell.h:
4950         * ispell.C:
4951         * pspell.h:
4952         * pspell.C: reworking. Especially in ispell, a large
4953           number of clean ups and bug fixes.
4954
4955         * lyxfunc.C: fix revert to behave sensibly
4956
4957 2003-02-17 André Pönitz <poenitz@gmx.net>
4958
4959         * LyXAction.C:
4960         * commandtags.h: new LFUN_INSERT_BIBKEY
4961
4962         * layout.h:
4963         * lyxlayout.C:
4964         * buffer.C:
4965         * factory.C:
4966         * text.C:
4967         * text2.C:
4968         * text3.C:
4969         * paragraph.[Ch]:
4970         * paragraph_func.C: remove special bibkey handling
4971
4972 2003-02-17  John Levon  <levon@movementarian.org>
4973
4974         * text.C (Delete): fix case where delete at the end of
4975           the very first paragraph would not merge the pars
4976
4977 2003-02-17  John Levon  <levon@movementarian.org>
4978
4979         * lyxrow.C: fix lastPrintablePos()
4980
4981 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4982
4983         * bufferparams.C (writeLaTeX): add a std:here
4984
4985         * buffer.C: and remove a using directive there
4986
4987 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4988
4989         * buffer.C (makeLaTeXFile): move the code that generates the
4990           preamble...
4991
4992         * bufferparams.C (writeLaTeX): ... in this new method
4993
4994         * LaTeXFeatures.C (getEncodingSet): make const
4995           (getLanguages): make const
4996
4997         * MenuBackend.C (binding): returns the binding associated to this
4998           action
4999           (add): sets the status of each item by calling getStatus. Adds
5000           some intelligence.
5001           (read): add support for OptSubMenu
5002           (expand): remove extra separator at the end of expanded menu
5003
5004 2003-02-15  John Levon  <levon@movementarian.org>
5005
5006         * BufferView.C:
5007         * BufferView_pimpl.C:
5008         * bufferlist.h:
5009         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5010           inset code that had no actual effect. Remove unneeded status
5011           code.
5012
5013 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5014
5015         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5016           in preamble
5017
5018 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5019
5020         * text.C (drawLengthMarker): also draw an arrow marker for
5021           symbolic lengths (medskip...)
5022
5023 2003-02-14  John Levon  <levon@movementarian.org>
5024
5025         * tabular.h:
5026         * tabular.C: better method names
5027
5028 2003-02-14  John Levon  <levon@movementarian.org>
5029
5030         * BufferView_pimpl.C:
5031         * bufferlist.C:
5032         * buffer.C:
5033         * converter.C:
5034         * lyx_cb.C:
5035         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5036           it's a more accurate name. Remove some pointless uses.
5037
5038 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5039
5040         * text2.C (LyXText): change order of initilizers to shut off
5041           warnings
5042
5043 2003-02-14  John Levon  <levon@movementarian.org>
5044
5045         * buffer.C: use ParIterator for getParFromID()
5046
5047         * paragraph.h:
5048         * paragraph.C:
5049         * paragraph_pimpl.h:
5050         * paragraph_pimpl.C: remove unused getParFromID()
5051
5052 2003-02-14  John Levon  <levon@movementarian.org>
5053
5054         * buffer.C: remove some very old #if 0'd parse code
5055
5056 2003-02-13  John Levon  <levon@movementarian.org>
5057
5058         * text.h:
5059         * text.C:
5060         * text2.C: move hfillExpansion(), numberOfSeparators(),
5061           rowLast(), rowLastPrintable(), numberofHfills(),
5062           numberOfLabelHfills() ...
5063
5064         * lyxrow.h:
5065         * lyxrow.C: ... to member functions here.
5066
5067         * paragraph.h:
5068         * paragraph.C:
5069         * lyxtext.h:
5070         * text.C: remove LyXText::beginningOfMainBody(), and call
5071           p->beginningOfMainBody() directly. Move the check for
5072           LABEL_MANUAL into the latter.
5073
5074         * text.h:
5075         * text.C:
5076         * text2.C:
5077         * vspace.C:
5078         * BufferView.h:
5079         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5080
5081         * text.h:
5082         * text.C:
5083         * text2.C:
5084         * text3.C:
5085         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5086           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5087
5088 2003-02-13  John Levon  <levon@movementarian.org>
5089
5090         * CutAndPaste.C: remove debug
5091
5092 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5093
5094         * paragraph.C (asString): remove two unused variables
5095
5096         * lyxtextclass.C (readTitleType):
5097           (Read):
5098           (LyXTextClass): handle new members titletype_ and titlename_
5099
5100         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5101
5102 2003-02-09  John Levon  <levon@movementarian.org>
5103
5104         * buffer.h:
5105         * buffer.C: replace hand-coded list with a map for the dep clean
5106
5107 2003-02-08  John Levon  <levon@movementarian.org>
5108
5109         * LaTeX.C: consolidate code into showRunMessage() helper
5110
5111 2003-02-08  John Levon  <levon@movementarian.org>
5112
5113         * lyxfind.C:
5114         * lyxtext.h:
5115         * text2.C:
5116         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5117           and pass the size in explicitly
5118
5119         * BufferView_pimpl.h:
5120         * BufferView_pimpl.C:
5121         * BufferView.h:
5122         * BufferView.C: add getCurrentChange()
5123
5124         * BufferView_pimpl.h:
5125         * BufferView_pimpl.C: handle change lfuns
5126
5127         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5128           for changes. Mark pasted paragraphs as new.
5129
5130         * support/lyxtime.h:
5131         * support/lyxtime.C:
5132         * DepTable.C: abstract time_t as lyx::time_type
5133
5134         * LColor.h:
5135         * LColor.C: add colours for new text, deleted text, changebars
5136
5137         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5138           package use "usenames" option.
5139
5140         * commandtags.h:
5141         * lyxfunc.C:
5142         * LyXAction.C: add change lfuns
5143
5144         * Makefile.am:
5145         * author.h:
5146         * author.C: author handling
5147
5148         * buffer.h:
5149         * buffer.C: add a per-buffer author list, with first entry as
5150           current author. Handle new .lyx tokens for change tracking. Output
5151           author list to .lyx file. Output dvipost stuff to .tex preamble.
5152           Bump lyx format to 222.
5153
5154         * bufferlist.h:
5155         * bufferlist.C: add setCurrentAuthor() to reset current author details
5156           in all buffers.
5157
5158         * bufferparams.h:
5159         * bufferparams.C: add param for tracking
5160
5161         * bufferview_funcs.C: output change info in minibuffer
5162
5163         * Makefile.am:
5164         * changes.h:
5165         * changes.C: add change-tracking structure
5166
5167         * debug.h:
5168         * debug.C: add CHANGES debug flag
5169
5170         * lyxfind.h:
5171         * lyxfind.C: add code for finding the next change piece
5172
5173         * lyxrc.h:
5174         * lyxrc.C: add user_name and user_email
5175
5176         * lyxrow.h:
5177         * lyxrow.C: add a metric for the top of the text line
5178
5179         * lyxtext.h:
5180         * text.C: implement accept/rejectChange()
5181
5182         * lyxtext.h:
5183         * text.C: paint changebars. Paint new/deleted text in the chosen
5184         colours. Strike through deleted text.
5185
5186         * paragraph.h:
5187         * paragraph.C:
5188         * paragraph_pimpl.h:
5189         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5190           in the current change to the insert functions. Rework erase to
5191           mark text as deleted, adding an eraseIntern() and a range-based
5192           erase(). Implement per-paragraph change lookup and
5193           accept/reject.
5194
5195         * paragraph_funcs.C: Fixup paste for change tracking.
5196
5197         * tabular.C: mark added row/columns as new.
5198
5199         * text.C: fix rowLast() to never return -1. Don't allow
5200           spellchecking of deleted text. Track transpose changes. Don't
5201           allow paragraph break or merge where appropriate.
5202
5203         * text2.C: leave cursor at end of selection after a cut.
5204
5205 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5206
5207         * text.C (getLengthMarkerHeight):
5208         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5209         visible on screen too.
5210
5211 2003-02-07  John Levon  <levon@movementarian.org>
5212
5213         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5214
5215 2003-02-05  Angus Leeming  <leeming@lyx.org>
5216
5217         * lyxserver.C (read_ready): revert my patch of 11 September last year
5218         as it sends PC cpu through the roof. Presumably this means that
5219         the lyxserver will no longer run on an Alpha...
5220
5221 2003-01-30  Angus Leeming  <leeming@lyx.org>
5222
5223         * factory.C (createInset): create an InsetCommandParam of type "index"
5224         and use it to 'do the right thing'.
5225
5226         * text2.C (getStringToIndex): ensure that cursor position is always
5227         reset to the reset_cursor position.
5228
5229 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5230
5231         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5232         disabled.
5233
5234 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5235
5236         * bufferview.C:
5237         * lyxcb.C:
5238         * lyxfunc.C: Output messages with identical spelling, punctuation,
5239         and spaces
5240
5241 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5242
5243         * MenuBackend.C (expandFormats): List only viewable export formats
5244         in "View" menu
5245
5246         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5247         message
5248
5249         * lyxfunc.C (getStatus): Make sure that formats other than
5250         "fax" can also be disabled
5251
5252 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5253
5254         * text3.C (dispatch): put the lfuns that insert insets in 3
5255         groups, and call doInsertInset with appropriate arguments.
5256         (doInsertInset): new function, that creates an inset and inserts
5257         it according to some boolean parameters.
5258
5259 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * buffer.C (readFile): remember to pass on 'par' when calling
5262         readFile recursively.
5263
5264 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5265
5266         * MenuBackend.C (expandFormats): add "..." to import formats.
5267
5268 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5269
5270         * paragraph.C (asString): Remove XForms RTL hacks.
5271
5272 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5273         * buffer.C: fix typo
5274
5275 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * Makefile.am (LIBS): delete var
5278         (lyx_LDADD): add @LIBS@ here instead.
5279
5280 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5281
5282         * Clarify the meaning of "wheel mouse jump"
5283
5284 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5285
5286         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5287         tabular in a float
5288
5289 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5290
5291         * importer.C (Loaders): do not preallocate 3 elements in the
5292         vector, since one ends up with 6 elements otherwise
5293
5294 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5295
5296         * DepTable.C (write): write the file name as last element of the
5297         .dep file (because it may contain spaces)
5298         (read): read info in the right order
5299
5300 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5301
5302         * paragraph_pimpl.C (simpleTeXBlanks):
5303         (simpleTeXSpecialChars):
5304         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5305
5306         * tabular.C (latex): add some missing case statements. Reindent.
5307
5308         * MenuBackend.C (expandToc): remove unused variable.
5309
5310 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5311
5312         * LColor.C:
5313         * LaTeX.C:
5314         * LyXAction.C:
5315         * MenuBackend.C:
5316         * buffer.C:
5317         * exporter.C:
5318         * lyxfunc.C:
5319         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5320         and the like.
5321
5322 2003-01-05  John Levon  <levon@movementarian.org>
5323
5324         * BufferView.h:
5325         * BufferView.C: add getEncoding()
5326
5327         * kbsequence.h:
5328         * kbsequence.C: do not store last keypress
5329
5330         * lyxfunc.h:
5331         * lyxfunc.C: store last keypress here instead. Pass encoding
5332           to getISOEncoded()
5333
5334 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5335
5336         * lyx_main.C (init): remove annoying error message when following
5337         symbolic links (bug #780)
5338
5339 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5340
5341         * text.C (insertChar):
5342         * lyxrc.C (getDescription): remove extra spaces
5343
5344 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5345
5346         * lyxrc.C (getDescription): remove extra spaces
5347
5348 2002-12-20  John Levon  <levon@movementarian.org>
5349
5350         * text3.C: hack fix for page up/down across tall rows
5351
5352 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5353
5354         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5355         not been invoked
5356
5357 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5358
5359         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5360         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5361         thesaurus is not compiled in
5362
5363 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5364
5365         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5366
5367 2002-12-16  Angus Leeming  <leeming@lyx.org>
5368
5369         * lyxrc.[Ch]:
5370         * lyx_main.C (init): remove override_x_deadkeys stuff.
5371
5372 2002-12-12  John Levon  <levon@movementarian.org>
5373
5374         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5375           insert. Only remove shift modifier under strict
5376           circumstances.
5377
5378 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * MenuBackend.C (expandToc): fix crash.
5381
5382 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * MenuBackend.C (expandToc): gettext on float names.
5385
5386 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5387
5388         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5389         implement bool empty() [bug 490]
5390
5391 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5394
5395 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * several files: ws changes
5398
5399 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * text2.C (setCounter): clean up a bit, use boost.format.
5402         (updateCounters): initialize par upon declaration.
5403
5404         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5405         if the layout exists. We do not just store the layout any more.
5406         (SwitchLayoutsBetweenClasses): use boost.format
5407
5408 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5409
5410         * converter.C (convert): if from and to files are the same, use a
5411         temporary files as intermediary
5412
5413 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5414
5415         * commandtags.h:
5416         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5417
5418 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5419
5420         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5421
5422 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * tabular.C (asciiPrintCell): use string(size, char) instead of
5425         explicit loop.
5426
5427         * sgml.C (openTag): fix order of arguments to string constructor
5428         (closeTag): ditto
5429
5430         * lyxfunc.C (dispatch): use boost.format
5431
5432         * lots of files: change "c" -> 'c'
5433
5434 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5435
5436         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5437
5438 2002-11-25  Angus Leeming  <leeming@lyx.org>
5439
5440         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5441
5442         * lyx_main.C (init): compile fix.
5443
5444 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * lyx_cb.C (start): boost.formatify
5447         do not include <iostream>
5448
5449         * lengthcommon.C: ws only
5450
5451         * boost-inst.C,BoostFormat.h: add more explict instantations
5452
5453 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * lots of files: handle USE_BOOST_FORMAT
5456
5457 2002-11-21  John Levon  <levon@movementarian.org>
5458
5459         * pspell.C: fix compile
5460
5461 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5462
5463         * lyxfunc.C (dispatch): use boost::format
5464         (open): ditto
5465         (doImport): ditto
5466
5467         * lyxfont.C (stateText): use boost::format
5468
5469         * lyx_main.C (LyX): use boost::format
5470         (init): ditto
5471         (queryUserLyXDir): ditto
5472         (readRcFile): ditto
5473         (parse_dbg): ditto
5474         (typedef boost::function): use the recommened syntax.
5475
5476         * importer.C (Import): use boost::format
5477
5478         * debug.C (showLevel): use boost::format
5479
5480         * converter.C (view): use boost::format
5481         (convert): ditto
5482         (move): ditto
5483         (scanLog): ditto
5484
5485         * bufferview_funcs.C (currentState): use boost::format
5486
5487         * bufferlist.C (emergencyWrite): use boost::format
5488
5489         * buffer.C (readLyXformat2): use boost::format
5490         (parseSingleLyXformat2Token): ditto
5491
5492         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5493
5494         * LaTeX.C (run): use boost::format
5495
5496         * Chktex.C (scanLogFile): use boost::format
5497
5498         * BufferView_pimpl.C (savePosition): use boost::format
5499         (restorePosition): ditto
5500         (MenuInsertLyXFile): ditto
5501
5502         * BoostFormat.h: help file for explicit instation.
5503
5504 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5505
5506         * tabular.C (latex): Support for block alignment in fixed width
5507         columns.
5508
5509 2002-11-17  John Levon  <levon@movementarian.org>
5510
5511         * BufferView_pimpl.C:
5512         * lyx_cb.C:
5513         * lyxfunc.C: split filedialog into open/save
5514
5515 2002-11-08  Juergen Vigna  <jug@sad.it>
5516
5517         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5518         by my last patch (hopefully).
5519
5520 2002-11-08  John Levon  <levon@movementarian.org>
5521
5522         * iterators.h:
5523         * iterators.C:
5524         * buffer.h:
5525         * buffer.C:
5526         * paragraph.h:
5527         * paragraph.C:
5528         * toc.h:
5529         * toc.C: ParConstIterator, and use it (from Lars)
5530
5531 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5532
5533         * lyxtextclass.[Ch]: revise and add doxygen comments
5534
5535 2002-11-07  John Levon  <levon@movementarian.org>
5536
5537         * text.C: fix progress value for spellchecker
5538
5539         * toc.C: fix navigate menu for insetwrap inside minipage
5540
5541         * paragraph_funcs.C: added FIXME for suspect code
5542
5543 2002-11-07  John Levon  <levon@movementarian.org>
5544
5545         * BufferView_pimpl.C: fix redrawing of insets
5546           on buffer switch
5547
5548 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5549
5550         * text2.C (updateCounters): fix bug 668
5551
5552 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5553
5554         * text3.C (dispatch): Do not make the buffer dirty when moving the
5555         cursor.
5556
5557 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * vc-backend.C: STRCONV
5560         (scanMaster): ditto
5561
5562         * text2.C (setCounter): STRCONV
5563
5564         * paragraph.C (asString): STRCONV
5565
5566         * lyxlength.C (asString): STRCONV
5567         (asLatexString): ditto
5568
5569         * lyxgluelength.C (asString): STRCONV
5570         (asLatexString): ditto
5571
5572         * lyxfunc.C (dispatch): STRCONV
5573         (open): ditto
5574
5575         * lyxfont.C (stateText): STRCONV
5576
5577         * importer.C (Import): STRCONV
5578
5579         * counters.C (labelItem): STRCONV
5580         (numberLabel): ditto
5581         (numberLabel): remove unused ostringstream o
5582
5583         * chset.C: STRCONV
5584         (loadFile): ditto
5585
5586         * bufferview_funcs.C (currentState): STRCONV
5587
5588         * buffer.C (readFile): STRCONV
5589         (asciiParagraph): ditto
5590         (makeLaTeXFile): ditto
5591
5592         * Spacing.C (writeEnvirBegin): STRCONV
5593
5594         * LaTeXFeatures.C (getLanguages): STRCONV
5595         (getPackages): ditto
5596         (getMacros): ditto
5597         (getBabelOptions): ditto
5598         (getTClassPreamble): ditto
5599         (getLyXSGMLEntities): ditto
5600         (getIncludedFiles): ditto
5601
5602         * LaTeX.C: STRCONV
5603         (run): ditto
5604         (scanAuxFile): ditto
5605         (deplog): ditto
5606
5607         * LString.h: add the STRCONV macros
5608
5609         * BufferView_pimpl.C (savePosition): STRCONV
5610         (restorePosition): ditto
5611         (MenuInsertLyXFile): ditto
5612
5613         * vc-backend.C (scanMaster): change from submatch[...] to
5614         submatch.str(...)
5615
5616         * funcrequest.C: include config.h
5617
5618         * factory.C: include config.h
5619
5620         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5621
5622         * box.C: include config.h
5623
5624         * LaTeX.C (scanAuxFile): change from submatch[...] to
5625         submatch.str(...)
5626         (deplog): ditto
5627
5628 2002-10-25  Angus Leeming  <leeming@lyx.org>
5629
5630         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5631
5632         * ispell.[Ch] (setError): new method.
5633         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5634         Use setError() insetead of goto END.
5635
5636         * lyx_cb.C (AutoSave): move out child process into new class
5637         AutoSaveBuffer.
5638
5639 2002-10-30  John Levon  <levon@movementarian.org>
5640
5641         * text3.C: make start appendix undoable
5642
5643 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5644
5645         * lyxlength.C (inPixels): Fix returned value.
5646
5647         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5648         environment.
5649
5650 2002-10-24  Angus Leeming  <leeming@lyx.org>
5651
5652         * lyxgluelength.h: no need to forward declare BufferParams
5653         or BufferView, so don't.
5654
5655 2002-10-21  John Levon  <levon@movementarian.org>
5656
5657         * BufferView.C: menuUndo ->undo, redo
5658
5659         * BufferView.h: document, remove dead, make some methods private
5660
5661         * paragraph_funcs.h:
5662         * paragraph_funcs.C:
5663         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5664
5665         * buffer.h:
5666         * buffer.C:
5667         * sgml.h:
5668         * sgml.C: move sgml open/close tag into sgml.C
5669
5670         * bufferview_funcs.h: unused prototype
5671
5672         * lyxfunc.h:
5673         * lyxfunc.C: remove unused
5674
5675         * lyxtext.h:
5676         * text.C: remove unused
5677
5678 2002-10-21  John Levon  <levon@movementarian.org>
5679
5680         * BufferView.h:
5681         * BufferView.C:
5682         * BufferView_pimpl.h:
5683         * BufferView_pimpl.C: fix mouse wheel handling based on
5684           patch from Darren Freeman
5685
5686 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5687
5688         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5689
5690 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5691
5692         * lyxlength.C (inPixels): Fix hanfling of negative length.
5693         Fix LyXLength::MU case.
5694
5695 2002-10-16  John Levon  <levon@movementarian.org>
5696
5697         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5698
5699 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5700
5701         * converter.C (view): add support for $$i (file name) and $$p
5702         (file path) for the viewer command. If $$i is not specified, then
5703         it is appended to the command (for compatibility with old syntax)
5704
5705 2002-10-14  Juergen Vigna  <jug@sad.it>
5706
5707         * undo_funcs.C (textHandleUndo): alter the order in which the
5708         new undopar is added to the LyXText, as we have to set first
5709         the right prev/next and then add it as otherwise the rebuild of
5710         LyXText is not correct. Also reset the cursor to the right paragraph,
5711         with this IMO we could remove the hack in "redoParagraphs()".
5712
5713 2002-10-09  Angus Leeming  <leeming@lyx.org>
5714
5715         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5716         to turn off an optimisation if a new inset is to be inserted.
5717
5718 2002-10-11 André Pönitz <poenitz@gmx.net>
5719
5720         * lyxtext.h: make some functions public to allow access
5721         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5722
5723 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5724
5725         * text3.C (dispatch): when changing layout, avoid an infinite loop
5726         [bug #652]
5727
5728 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5729
5730         * lyxrc.C (read): treat a viewer or converter command of "none" as
5731         if it were empty.
5732
5733         * MenuBackend.C (expandFormats): for an update, also allow the
5734         formats that are not viewable
5735
5736         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5737         script if it is newer than the lyxrc.defaults in user directory
5738
5739 2002-10-07 André Pönitz <poenitz@gmx.net>
5740
5741         * text.C: Vitaly Lipatov's small i18n fix
5742
5743 2002-09-25  Angus Leeming  <leeming@lyx.org>
5744
5745         * ispell.h: doxygen fix.
5746
5747 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5748
5749         * buffer.h (readFile): Add a new argument to the method, to allow
5750         reading of old-format templates.
5751
5752 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5753
5754         * toc.C (getTocList): Get TOC from InsetWrap.
5755
5756 2002-09-16  John Levon  <levon@movementarian.org>
5757
5758         * lyxfunc.C: check tabular for cut/copy too
5759
5760 2002-09-12  John Levon  <levon@movementarian.org>
5761
5762         * LyXAction.C: tidy
5763
5764         * factory.h:
5765         * factory.C: add header
5766
5767         * paragraph_funcs.h:
5768         * paragraph_funcs.C: cleanup
5769
5770 2002-09-11  John Levon  <levon@movementarian.org>
5771
5772         * PrinterParams.h: odd/even default to true
5773
5774 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5775
5776         * PrinterParams.h: update printer parameters for new xforms dialog
5777
5778 2002-09-11  Angus Leeming  <leeming@lyx.org>
5779
5780         * lyxserver.C (read_ready): re-write to make it more transparent
5781         and to make it work in coherent fashion under Tru64 Unix.
5782
5783 2002-09-11  André Pönitz <poenitz@gmx.net>
5784
5785         * commandtags.h:
5786         * LyXAction.C:
5787         * text3.C: implement LFUN_WORDSEL
5788
5789 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5792         make floatlist_ a boost::shared_ptr<FloatList>
5793
5794         * lyxtextclass.C: include FloatList.h
5795         (LyXTextClass): initialize floatlist_
5796         (TextClassTags): add TC_NOFLOAT
5797         (Read): match "nofloat" to TC_NOFLOAT and use it.
5798         (readFloat): modify call to floatlist_
5799         (floats): ditto
5800         (floats): ditto
5801
5802         * FloatList.[Ch] (FloatList): remove commented out float
5803         initialization.
5804         (erase): new function
5805
5806 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5807
5808         * MenuBackend.C (expandToc): fix crash when there is no document
5809         open
5810
5811 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5812
5813         * many files: Add insetwrap.
5814
5815 2002-09-09  John Levon  <levon@movementarian.org>
5816
5817         * text2.C: remove confusing and awkward depth wraparound
5818
5819 2002-09-09  John Levon  <levon@movementarian.org>
5820
5821         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5822
5823         * buffer.h:
5824         * buffer.C: remove getIncludeonlyList()
5825
5826         * paragraph.C:
5827         * lyxfunc.C: remove headers
5828
5829 2002-09-09  Juergen Vigna  <jug@sad.it>
5830
5831         * text.C (getColumnNearX): fix form Michael this is most
5832         probably a cut&paste bug.
5833
5834 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5837
5838         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5839         references, ws changes.
5840
5841         * text2.C (init): update counters after init
5842         (insertParagraph): no need to set counter on idividual paragraphs.
5843         (setCounter): access the counters object in the textclass object
5844         on in the buffer object.
5845         (updateCounters): ditto
5846
5847         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5848         shared_ptr<Counters> to avoid loading counters.h in all
5849         compilation units.
5850         (LyXTextClass): initialize ctrs_
5851         (TextClassTags): add TC_COUNTER, and ...
5852         (Read): use it here.
5853         (CounterTags): new tags
5854         (readCounter): new function
5855         (counters): new funtion
5856         (defaultLayoutName): return a const reference
5857
5858         * counters.C (Counters): remove contructor
5859         (newCounter): remove a couple of unneeded statements.
5860         (newCounter): simplify a bit.
5861         (numberLabel): some small formatting changes.
5862
5863         * buffer.[Ch]: remove all traces of counters, move the Counters
5864         object to the LyXTextClass.
5865
5866 2002-09-06  Alain Castera  <castera@in2p3.fr>
5867
5868         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5869         package to set the horizontal alignment on fixed width columns.
5870
5871         * lyx_sty.C:
5872         * lyx_sty.h: added tabularnewline macro def.
5873
5874         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5875
5876 2002-09-06  John Levon  <levon@movementarian.org>
5877
5878         * LyXAction.C: tooltips for sub/superscript
5879
5880         * MenuBackend.C: a bit more verbose
5881
5882         * lyxfunc.C: tiny clean
5883
5884         * undo_funcs.C: document undo_frozen
5885
5886 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * counters.C (Counters): add missing algorithm counter.
5889
5890         * text2.C (setCounter): lookup the counter with layouts latexname
5891         instead of by section number.
5892         (setCounter): use a hackish way to lookup the correct enum
5893         counter.
5894         a float name->type change
5895         reset enum couners with counter name directly instead of depth value.
5896
5897         * counters.C (Counters): remove the push_backs, change to use the
5898         float type not the float name.
5899         (labelItem): remove unused string, float name->type change
5900
5901         * counters.h: don't include vector, loose the enums and sects vectors
5902
5903 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5906         (Read): add float->TC_FLOAT to textclassTags
5907         (Read): and handle it in the switch
5908         (readFloat): new function
5909
5910         * FloatList.C (FloatList): comment out the hardcoded float
5911         definitions.
5912
5913         * lyxlayout.h: ws change.
5914
5915 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5916
5917         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5918
5919 2002-09-03  Angus Leeming  <leeming@lyx.org>
5920
5921         * BufferView_pimpl.h: qualified name is not allowed in member
5922         declaration: WorkArea & Pimpl::workarea() const;
5923
5924         * factory.C: added using std::endl directive.
5925
5926         * text3.C: added using std::find and std::vector directives.
5927
5928 2002-08-29  André Pönitz <poenitz@gmx.net>
5929
5930         * lyxtext.h:
5931         * text2.C: remove unused member number_of_rows
5932
5933         * Makefile.am:
5934         * BufferView2.C: remove file, move contents to...
5935         * BufferView.C: ... here
5936
5937         * BufferView_pimpl.C:
5938         * factory.C: move more inset creation to factory
5939
5940         * vspace.C: avoid direct usage of LyXText, ws changes
5941
5942         * BufferView.[Ch]:
5943                 don't provide direct access to WorkArea, use two simple
5944                 acessors haveSelction() and workHeight() instead
5945
5946
5947 2002-08-29  John Levon  <levon@movementarian.org>
5948
5949         * BufferView_pimpl.C (dispatch): do not continue when
5950           no buffer
5951
5952 2002-08-28  André Pönitz <poenitz@gmx.net>
5953
5954         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5955
5956         * BufferView.h:
5957         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5958
5959 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5960
5961         * buffer.C: increment LYX_FORMAT to 221
5962
5963         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5964         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5965
5966         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5967
5968         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5969
5970 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5971
5972         * factory.C (createInset): use LyXTextClass::floats
5973
5974         * MenuBackend.C (expandFloatListInsert):
5975         (expandFloatInsert):
5976         (expandToc):
5977
5978         * text2.C (setCounter):
5979
5980         * LaTeXFeatures.C (useFloat):
5981         (getFloatDefinitions):
5982
5983         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5984
5985         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5986         floatlist_, with accessor floats().
5987
5988         * FloatList.h: remove global FloatList
5989
5990 2002-08-26  André Pönitz <poenitz@gmx.net>
5991
5992         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5993
5994         * BufferView.h:
5995         * BufferView2.C:
5996         * BufferView_pimpl.C:
5997         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5998
5999 2002-08-25  John Levon  <levon@movementarian.org>
6000
6001         * LyXAction.C: fix margin note description
6002
6003 2002-08-24  John Levon  <levon@movementarian.org>
6004
6005         * buffer.C:
6006         * bufferlist.C:
6007         * bufferview_funcs.C:
6008         * lyxfont.C:
6009         * undo_funcs.C: cleanups
6010
6011         * lyxfunc.C: disable CUT/COPY when no selection
6012
6013 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6014
6015         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6016         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6017
6018         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6019         Add backward compatibility to "mono", "gray" and "no".
6020
6021 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6022
6023         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6024         (and file_format >= 200).
6025
6026 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6027
6028         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6029
6030 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6031
6032         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6033
6034 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6035
6036         * BufferView_pimpl.C:
6037         * LyXAction.C:
6038         * buffer.C:
6039         * commandtags.h:
6040         * lyxfunc.C:
6041         * paragraph.[Ch]:
6042         * text2.C:
6043         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6044         inset and code to make it  work with the paragraph code. The inset
6045         can be anywhere in the paragraph, but will only do the expected
6046         thing in LaTeX if the layout file contains the parameter line
6047                         OptionalArgs    1
6048         (or more generally, a nonzero value) for that layout.
6049
6050 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * paragraph.h: remove the declaration of undefined counters class
6053         function.
6054
6055 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6056
6057         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6058         Dr. Richard Hawkins.
6059
6060 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6061
6062         * paragraph_funcs.h: remove some unneeded includes
6063
6064         * text.C (backspace): pasteParagraph now in global scipe
6065
6066         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6067         (pasteSelection): ditto
6068
6069         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6070         * paragraph_funcs.C (pasteParagraph): ... here
6071
6072 2002-08-20  André Pönitz <poenitz@gmx.net>
6073
6074         * commandtags.h: new LFUNs for swapping/copying table row/colums
6075
6076         * LyXAction.C:
6077         * lyxfunc.C: support for new lfuns
6078
6079 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * tabular.C:
6082         * buffer.[Ch]: remove NO_COMPABILITY stuff
6083
6084 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * boost.C (throw_exception): new file, with helper function for
6087         boost compiled without exceptions.
6088
6089         * paragraph.h:
6090         * lyxlength.C:
6091         * buffer.C:
6092         * ParameterStruct.h:
6093         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6094
6095         * bufferlist.C (emergencyWriteAll): use boost bind
6096
6097         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6098
6099         * text.C: include paragraph_funcs.h
6100         (breakParagraph): breakParagraph is now in global scope
6101
6102         * paragraph_funcs.[Ch]: new files
6103
6104         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6105         global scope
6106
6107         * buffer.C: include paragraph_funcs.h
6108         (insertStringAsLines): breakParagraph is now in global scope
6109
6110         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6111         paragraph_funcs.C
6112
6113         * CutAndPaste.C: include paragraph_funcs.h
6114         (cutSelection): breakParagraphConservative is now in global scope
6115         (pasteSelection): ditto
6116
6117         * buffer.h: declare oprator== and operator!= for
6118         Buffer::inset_iterator
6119
6120         * bufferlist.C (emergencyWrite): don't use fmt(...)
6121
6122         * text3.C: add using std::endl
6123
6124         * BufferView.C (moveCursorUpdate): remove default arg
6125
6126 2002-08-20  André Pönitz <poenitz@gmx.net>
6127
6128         * buffer.[Ch]: move inline functions to .C
6129
6130         * BufferView2.C:
6131         * BufferView_pimpl.C:
6132         * text.C:
6133         * buffer.[Ch]: use improved inset_iterator
6134
6135         * buffer.C:
6136         * paragraph.[Ch]: write one paragraph at a time
6137
6138 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6139
6140         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6141         style if style is not specified.
6142
6143 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6144
6145         * text2.C (setCounter): when searching for right label for a
6146         caption, make sure to recurse to parent insets (so that a caption
6147         in a minipage in a figure float works) (bug #568)
6148
6149 2002-08-20  André Pönitz <poenitz@gmx.net>
6150
6151         * text3.C: new file for LyXText::dispatch() and helpers
6152
6153         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6154
6155         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6156
6157 2002-08-19  André Pönitz <poenitz@gmx.net>
6158
6159         * lyxtext.h:
6160         * text.C: new LyXText::dispatch()
6161
6162         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6163
6164 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6165
6166         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6167
6168         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6169         Hebrew text.
6170
6171 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6172
6173         * Makefile.am: use $(variables) instead of @substitutions@
6174
6175 2002-08-15  André Pönitz <poenitz@gmx.net>
6176
6177         * lyxfunc.C:
6178         * BufferView_pimpl.C: streamlining mathed <-> outer world
6179         interaction
6180
6181         * commandtags.h:
6182         * LyXAction.C: remove unused LFUN_MATH
6183
6184 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6187
6188 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * paragraph.C (Paragraph): reformat a bit
6191         (cutIntoMinibuffer): use builtin InsetList function instad of
6192         doing it manually.
6193         (getInset): ditto
6194
6195         * buffer.C: include boost/bind.hpp, add using std::for_each
6196         (writeFileAscii): use ParagraphList iterators
6197         (validate): use for_each for validate traversal of paragraphs
6198         (getBibkeyList): use ParagraphList iterators
6199         (resizeInsets): use for_each to resizeInsetsLyXText for all
6200         paragraphs.
6201         (getParFromID): use ParagraphList iterators
6202
6203         * BufferView2.C (lockInset): use paragraph list and iterators
6204
6205 2002-08-14  John Levon  <levon@movementarian.org>
6206
6207         * lyxserver.C: remove spurious xforms include
6208
6209 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6210
6211         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6212
6213 2002-08-13  André Pönitz <poenitz@gmx.net>
6214
6215         * LyXAction.[Ch]:
6216         * lyxfunc.C: further cleaning
6217
6218 2002-08-13  André Pönitz <poenitz@gmx.net>
6219
6220         * funcrequest.h: new constructor
6221
6222         * funcrequest.C: move stuff here from .h
6223
6224         * Makefile.am:
6225         * BufferView_pimpl.C:
6226         * LyXAction.C:
6227         * toc.C:
6228         * lyxfunc.C: subsequent changes
6229
6230         * lyxfunc.h: new view() member function
6231
6232         * lyxfunc.C: subsequent changes
6233
6234 2002-08-13  Angus Leeming  <leeming@lyx.org>
6235
6236         * BufferView2.C:
6237         * BufferView_pimpl.C:
6238         * buffer.C:
6239         * converter.C:
6240         * importer.C:
6241         * lyxfunc.C:
6242         * lyxvc.C:
6243         * toc.C:
6244         * vc-backend.C:
6245         changes due to the changed LyXView interface that now returns references
6246         to member variables not pointers.
6247
6248 2002-08-13  Angus Leeming  <leeming@lyx.org>
6249
6250         * WordLangTuple (word, lang_code): return references to strings,
6251         not strings.
6252
6253         * BufferView.h:
6254         * SpellBase.h:
6255         * lyxtext.h: forward-declare WordLangTuple.
6256
6257         * BufferView2.C:
6258         * ispell.C:
6259         * pspell.C:
6260         * text.C: #include "WordLangTuple.h".
6261
6262         * lyxtext.h:
6263         * text.C: (selectNextWordToSpellcheck): constify return type.
6264
6265 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6266
6267         * buffer.C:
6268         * buffer.h:
6269         * lyxtext.h:
6270         * paragraph.C:
6271         * paragraph_pimpl.h:
6272         * text.C:
6273         * text2.C:
6274         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6275         suggested by Angus.
6276         Made updateCounter always count from start of buffer, and removed
6277         second argument (par).
6278         Reverted floats number display to '#'. Perhaps I'll try again when the
6279         code base is sanitized a bit.
6280
6281 2002-08-12  Angus Leeming  <leeming@lyx.org>
6282
6283         * buffer.[Ch] (getLabelList): constify.
6284
6285 2002-08-07  André Pönitz <poenitz@gmx.net>
6286
6287         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6288
6289         * funcrequest.h: extension to keep mouse (x,y) position
6290
6291 2002-08-12  Juergen Vigna  <jug@sad.it>
6292
6293         * BufferView2.C (insertErrors): forbid undo when inserting error
6294         insets.
6295
6296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6297
6298 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * ParagraphList.[Ch]: new files
6301
6302         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6303
6304         * BufferView2.C (lockInset): ParagraphList changes
6305         * toc.C: ditto
6306         * text2.C: ditto
6307         * bufferlist.C: ditto
6308         * buffer.h: ditto
6309         * buffer.C: ditto
6310
6311 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6312
6313         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6314         unused class variable counter_,
6315
6316         * paragraph.[Ch] (getFirstCounter): delete unused function
6317
6318         * counters.C: include LAssert.h
6319         (reset): add a new function with no arg, change other version to
6320         not have def. arg and to not allow empty arg.
6321
6322         * text2.C (setCounter): remove empty arg from call to Counters::reset
6323
6324 2002-08-11  John Levon  <levon@movementarian.org>
6325
6326         * Makefile.am: add WordLangTuple.h
6327
6328 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6331         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6332
6333         * insets/insettext.C: InsetList changes
6334
6335         * graphics/GraphicsSupport.C (operator()): InsetList changes
6336
6337         * toc.C (getTocList): InsetList changes
6338
6339         * paragraph_pimpl.[Ch]: InsetList changes
6340
6341         * paragraph.[Ch]: InsetList changes
6342
6343         * buffer.C (inset_iterator): InsetList changes
6344         (setParagraph): ditto
6345         * buffer.h (inset_iterator): ditto
6346         * iterators.C (operator++): ditto
6347         * iterators.h: ditto
6348
6349         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6350
6351         * InsetList.[Ch]: new files, most InsetList handling moved out of
6352         paragraph.C.
6353
6354         * BufferView2.C (removeAutoInsets): InsetList changes
6355         (lockInset): ditto
6356         (ChangeInsets): ditto
6357
6358 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * paragraph_pimpl.h (empty): new function
6361
6362         * paragraph.[Ch] (empty): new function
6363
6364         * other files: use the new Paragraph::empty function
6365
6366 2002-08-09  John Levon  <levon@movementarian.org>
6367
6368         * lyxtext.h: remove unused refresh_height
6369
6370 2002-08-09  John Levon  <levon@movementarian.org>
6371
6372         * Makefile.am:
6373         * sgml.h:
6374         * sgml.C:
6375         * buffer.C:
6376         * paragraph.h:
6377         * paragraph.C: move sgml char escaping out of paragraph
6378
6379         * paragraph.h:
6380         * paragraph.C: remove id setter
6381
6382         * buffer.C:
6383         * paragraph.C:
6384         * paragraph_pimpl.C: remove dead tex_code_break_column
6385
6386         * bufferview_funcs.C: small cleanup
6387
6388         * lyxfunc.C: remove dead proto
6389
6390         * lyxtext.h: make some stuff private. Remove some dead stuff.
6391
6392         * lyxgluelength.C: make as[LyX]String() readable
6393
6394 2002-08-08  John Levon  <levon@movementarian.org>
6395
6396         * LyXAction.h:
6397         * LyXAction.C:
6398         * MenuBackend.C:
6399         * ToolbarDefaults.C:
6400         * lyxfunc.C:
6401         * lyxrc.C:
6402         * toc.C: lyxaction cleanup
6403
6404 2002-08-08  John Levon  <levon@movementarian.org>
6405
6406         * BufferView2.C: small cleanup
6407
6408         * lyxfind.h:
6409         * lyxfind.C: move unnecessary header into the .C
6410
6411 2002-08-08  John Levon  <levon@movementarian.org>
6412
6413         * funcrequest.h: just tedious nonsense
6414
6415         * lyx_main.h:
6416         * lyx_main.C: cleanups
6417
6418         * buffer.C:
6419         * vspace.C: remove dead header lyx_main.h
6420
6421 2002-08-07  Angus Leeming  <leeming@lyx.org>
6422
6423         * Paragraph.[Ch]:
6424         * paragraph_pimpl.h:
6425         Forward declare class Counters in paragraph.h by moving the ctrs member
6426         variable into Paragraph::Pimpl.
6427         (counters): new method, returning a reference to pimpl_->ctrs.
6428
6429         * text2.C: ensuing changes.
6430
6431 2002-08-07  John Levon  <levon@movementarian.org>
6432
6433         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6434
6435         * BufferView_pimpl.C: announce X selection on double/triple
6436           click
6437
6438         * lyx_main.C: use correct bool in batch dispatch
6439
6440         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6441
6442 2002-08-07  André Pönitz <poenitz@gmx.net>
6443
6444         * funcrequest.h: new class to wrap a kb_action and its argument
6445
6446         * BufferView.[Ch]:
6447         * BufferView_pimpl[Ch]:
6448         * LaTeX.C:
6449         * LyXAction.[Ch]:
6450         * lyxfunc.[Ch]:
6451         * lyxrc.C: subsequent changes
6452
6453
6454 2002-08-07  John Levon  <levon@movementarian.org>
6455
6456         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6457           document options change.
6458
6459 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6460
6461         * counters.[Ch]
6462         * text2.C
6463         * paragraph.[Ch]
6464         * makefile.am: move counters functionality over from
6465         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6466
6467 2002-08-06  John Levon  <levon@movementarian.org>
6468
6469         * WordLangTuple.h: new file for word + language code tuple
6470
6471         * SpellBase.h:
6472         * pspell.h:
6473         * pspell.C:
6474         * ispell.h:
6475         * ispell.C:
6476         * lyxtext.h:
6477         * text.C:
6478         * text2.C:
6479         * BufferView.h:
6480         * BufferView2.C: use WordLangTuple
6481
6482         * layout.h:
6483         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6484
6485 2002-08-06  John Levon  <levon@movementarian.org>
6486
6487         * lyx_main.C: fix cmdline batch handling
6488
6489 2002-08-06  André Pönitz <poenitz@gmx.net>
6490
6491         * lyxrc.C: set default for show_banner to true
6492
6493 2002-08-06  John Levon  <levon@movementarian.org>
6494
6495         * pspell.C: fix a crash, and allow new aspell to work
6496
6497 2002-08-06  John Levon  <levon@movementarian.org>
6498
6499         * lyxfunc.C:
6500         * kbmap.C: small cleanup
6501
6502         * vspace.h:
6503         * vspace.C: add const
6504
6505 2002-08-05  John Levon  <levon@movementarian.org>
6506
6507         * LyXAction.C: back to tabular-insert
6508
6509 2002-08-04  John Levon  <levon@movementarian.org>
6510
6511         * BufferView.h:
6512         * BufferView.C: cosmetic change
6513
6514         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6515
6516         * bufferlist.C:
6517         * buffer.h:
6518         * buffer.C:
6519         * lyxcb.h:
6520         * lyxcb.C:
6521         * lyxserver.C:
6522         * lyxvc.C:
6523         * vc-backend.C:
6524         * BufferView2.C: purge all "Lyx" not "LyX" strings
6525
6526         * lyxcursor.h:
6527         * lyxcursor.C: attempt to add some documentation
6528
6529         * lyxfunc.C:
6530         * commandtags.h:
6531         * LyXAction.C:
6532         * ToolbarDefaults.C:
6533         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6534           merge with LFUN_TABULAR_INSERT
6535
6536         * Makefile.am:
6537         * SpellBase.h:
6538         * ispell.h:
6539         * ispell.C:
6540         * pspell.h:
6541         * pspell.C: split up i/pspell implementations into separate
6542           files, many cleanups
6543
6544         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6545
6546         * text2.C: some cleanup
6547
6548         * lyxfunc.C: don't check for isp_command == "none" any more, it
6549           didn't make any sense
6550
6551 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6552
6553         * counters.[Ch]
6554         * text2.C
6555         * paragraph.[Ch]
6556         * makefile.am: move counters functionality over
6557         from text2.C/paragraph.[Ch] to counters.[Ch], and
6558         make proper C++.
6559 2002-08-02  John Levon  <levon@movementarian.org>
6560
6561         * buffer.C: s/lyxconvert/lyx2lyx/
6562
6563 2002-08-02  Angus Leeming  <leeming@lyx.org>
6564
6565         * lyxlex.C: revert John's change as it breaks reading of the user
6566         preamble.
6567
6568 2002-08-02  Angus Leeming  <leeming@lyx.org>
6569
6570         * importer.C (Import):
6571         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6572         changes due to LyXView::view() now returning a boost::shared_ptr.
6573
6574 2002-08-02  John Levon  <levon@movementarian.org>
6575
6576         * lyxlex.C: small cleanup
6577
6578 2002-08-02  John Levon  <levon@movementarian.org>
6579
6580         * text2.C (status): small cleanup, no logic change
6581
6582 2002-08-01  John Levon  <levon@movementarian.org>
6583
6584         * buffer.h:
6585         * buffer.C (writeFile): don't output alerts, caller
6586           handles this
6587
6588         * bufferlist.C:
6589         * lyx_cb.C: from above
6590
6591         * lyxfunc.C: allow to open non-existent files
6592
6593 2002-07-31  John Levon  <levon@movementarian.org>
6594
6595         * lyxserver.C: don't let incidental errors get
6596           in the way (errno)
6597
6598 2002-07-30  John Levon  <levon@movementarian.org>
6599
6600         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6601
6602 2002-07-30  John Levon  <levon@movementarian.org>
6603
6604         * lyxserver.h:
6605         * lyxserver.C: remove I/O callback too
6606
6607 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6608
6609         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6610         log.
6611
6612 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * many files: strip,frontStrip -> trim,ltrim,rtrim
6615
6616 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * PrinterParams.h: remove extern containsOnly, and include
6619         support/lstrings.h instead.
6620
6621         * LaTeX.C (scanAuxFile): modify because of strip changes
6622         (deplog): ditto
6623         * buffer.C (makeLaTeXFile): ditto
6624         * bufferparams.C (writeFile): ditt
6625         * lyxfont.C (stateText): ditto
6626         * lyxserver.C (read_ready): ditto
6627         * vc-backend.C (scanMaster): ditto
6628
6629         * BufferView_pimpl.h: ws changes
6630
6631         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6632
6633 2002-07-26  André Pönitz <poenitz@gmx.net>
6634
6635         * kb_sequence.C: remove unnedred usings
6636
6637 2002-07-26  Juergen Vigna  <jug@sad.it>
6638
6639         * lyxfind.C (LyXReplace): we have to check better if the returned
6640         text is not of theLockingInset()->getLockingInset().
6641
6642 2002-07-25  Juergen Vigna  <jug@sad.it>
6643
6644         * lyxfind.C (LyXReplace): don't replace if we don't get the
6645         right LyXText.
6646
6647         * undo_funcs.C (createUndo): remove debugging code.
6648
6649 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6650
6651         * buffer.C (parseSingleLyXformat2Token): Use default placement
6652         when reading old floats.
6653
6654         * FloatList.C (FloatList): Change the default placement of figure
6655         and tables to "tbp".
6656
6657 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6658
6659         * MenuBackend.C: using std::max
6660
6661 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6662
6663         * MenuBackend.C (expandToc):
6664         (expandToc2): code moved from xforms menu frontend. It is now
6665         generic and TOCs are transparent to menu frontends.
6666
6667 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6668
6669         * toc.C (getTocList): protect against buf=0
6670
6671         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6672         Menu as first parameter. Now, this calls itself recursively to
6673         expand a whole tree (this will be useful for TOC handling)
6674         (expandFloatInsert): remove 'wide' version of floats
6675
6676         * MenuBackend.h (submenuname): returns the name of the submenu.
6677         (submenu): returns the submenu itself, provided it has been
6678         created by MenuBackend::expand
6679
6680 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6681
6682         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6683         insets which have noFontChange == true. (bug #172)
6684
6685 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6686
6687         * BufferView_pimpl.C: add connection objects and use them...
6688         (Pimpl): here.
6689
6690 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6691
6692         * MenuBackend.C (expandLastfiles):
6693         (expandDocuments):
6694         (expandFormats):
6695         (expandFloatListInsert):
6696         (expandFloatInsert):
6697         (expand): split expand in parts
6698
6699 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6700
6701         * lyx_gui.C: use lyx_gui::exit()
6702
6703 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6704
6705         * LyXAction.C: show the failing pseudo action
6706
6707 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6708
6709         * buffer.C (readFile): Run the lyxconvert script in order to read
6710         old files.
6711
6712 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6713
6714         * LyXAction.C:
6715         * commandtags.h:
6716         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6717
6718 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6719
6720         * LyXAction.C:
6721         * commandtags.h:
6722         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6723
6724 2002-07-22  Herbert Voss  <voss@lyx.org>
6725
6726         * lengthcommon.C:
6727         * lyxlength.[Ch]: add support for the vertical lengths
6728
6729 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6730
6731         * toc.[Ch]: std:: fixes
6732
6733 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6734
6735         * lyxrc.C: do not include lyx_main.h
6736
6737         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6738         for layouts
6739
6740         * lyxrc.C:
6741         * encoding.C:
6742         * bufferlist.C:
6743         * BufferView2.C: include "lyxlex.h"
6744
6745         * tabular.h:
6746         * bufferparams.h: do not #include "lyxlex.h"
6747
6748         * lyxtextclasslist.C (Add): remove method
6749         (classlist): renamed to classlist_
6750
6751         * paragraph_pimpl.C:
6752         * paragraph.C:
6753         * text2.C:
6754         * CutAndPaste.C:
6755         * bufferview_funcs.C:
6756         * bufferlist.C:
6757         * text.C:
6758         * LaTeXFeatures.C:
6759         * buffer.C:
6760         * toc.C (getTocList): use BufferParams::getLyXTextClass
6761
6762         * toc.C (getTocList): use InsetFloat::addToToc
6763
6764         * toc.[Ch]: new files, containing helper functions to handle table
6765         of contents
6766
6767         * lyxfunc.C (dispatch): no need to remove spaces around command
6768         given as a string
6769         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6770         first command of the sequence; it is not very clever, but I do not
6771         have a better idea, actually
6772
6773         * LyXAction.C (LookupFunc): make sure to remove space at the
6774         beginning and end of the command
6775
6776 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6777
6778         * MenuBackend.C (getMenubar): new method: return the menubar of
6779         this menu set
6780         (read): treat differently reading of menu and menubar (in
6781         particular, the menubar has no name now)
6782         (Menu::menubar): remove
6783
6784         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6785         saving is finished
6786
6787 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6788
6789         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6790         a bibitem inset in a RTL paragraph.
6791
6792 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6793
6794         * paragraph_pimpl.C: constify
6795
6796         * BufferView_pimpl.C:
6797         * LaTeX.C:
6798         * lyxfunc.C: fix dispatch in a nicer way
6799
6800 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6801
6802         * lyxfunc.C (dispatch):
6803         * BufferView_pimpl.C:
6804         * BufferView_pimpl.h:
6805         * BufferView.C:
6806         * BufferView.h: rename Dispatch() to dispatch()
6807
6808         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6809
6810         * lyxlayout.C (Read): honor DependsOn tag
6811
6812         * lyxlayout.[Ch] (depends_on): new method
6813
6814         * version.C.in: update lyx_docversion
6815
6816         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6817
6818         * paragraph.C (validate): remove from here...
6819         * paragraph_pimpl.C (validate): ... and move here
6820         (isTextAt): make it const
6821
6822         * buffer.C (getLists): ws cleanup
6823
6824 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6825
6826         * language.C (read): Use iso8859-1 encoding in latex_lang
6827         (this prevents LyX from crashing when using iso10646-1 encoding).
6828
6829 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6830
6831         * text2.C (toggleInset): if cursor is inside an inset, close the
6832         inset and leave cursor _after_ it
6833
6834 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * lyxfunc.C: move minibuffer completion handling out of here
6837
6838 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6839
6840         * BufferView_pimpl.C:
6841         * LaTeX.C: fix dispatch calls
6842
6843 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6844
6845         * text.C (drawChars): Fix Arabic text rendering.
6846
6847 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * LyXAction.C:
6850         * commandtags.h:
6851         * lyxfunc.C: remove message-push/pop
6852
6853         * lyxserver.C:
6854         * lyxfunc.h:
6855         * lyxfunc.C: rationalise some code by removing verboseDispatch
6856           in favour of a bool argument to dispatch()
6857
6858 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6859
6860         * lyx_main.C (init): make sure to read symlinks as absolute paths
6861
6862 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * lyxfunc.h:
6865         * lyxfunc.C: no need for commandshortcut to be a member
6866
6867 2002-07-15  André Pönitz <poenitz@gmx.net>
6868
6869         * converter.C: add support for $$s (scripts from lib/scripts dir)
6870         * lyx_main.C: white space
6871
6872 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6873
6874         * bufferlist.C:
6875         * lyxrc.h:
6876         * lyxrc.C: remove second exit confirmation
6877
6878 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6879
6880         * BufferView.h:
6881         * BufferView.C:
6882         * BufferView2.C:
6883         * BufferView_pimpl.h:
6884         * BufferView_pimpl.C:
6885         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6886
6887 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6888
6889         * MenuBackend.C (expand): add numeric shortcuts to document menu
6890
6891         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6892
6893 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6894
6895         * lyxfont.C (setLyXFamily):
6896         (setLyXSeries):
6897         (setLyXShape):
6898         (setLyXSize):
6899         (setLyXMisc):
6900         (lyxRead):
6901         * debug.C (value):
6902         * buffer.C (asciiParagraph): use ascii_lowercase
6903
6904 2002-07-15  Mike Fabian  <mfabian@suse.de>
6905
6906         * lyxlex_pimpl.C (search_kw):
6907         * lyxlex.C (getLongString):
6908         * converter.h (operator<):
6909         * converter.C (operator<):
6910         * buffer.C (parseSingleLyXformat2Token):
6911         (asciiParagraph):
6912         * ToolbarDefaults.C (read):
6913         * MenuBackend.C (checkShortcuts):
6914         (read):
6915         * LColor.C (getFromGUIName):
6916         (getFromLyXName): use the compare_ascii_no_case instead of
6917         compare_no_case, because in turkish, 'i' is not the lowercase
6918         version of 'I', and thus turkish locale breaks parsing of tags.
6919
6920 2002-07-16  Angus Leeming  <leeming@lyx.org>
6921
6922         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6923         now takes a Buffer const & argument.
6924
6925 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6926
6927         * BufferView.C (resize): check there's a buffer to resize
6928
6929 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * lyxfunc.C: remove dead code
6932
6933         * lyxserver.h:
6934         * lyxserver.C: use lyx_guii::set_read_callback
6935
6936 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6937
6938         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6939         an inset in a RTL paragraph.
6940
6941 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6942
6943         * lyxfunc.C: repaint after a font size update
6944
6945 2002-07-15  André Pönitz <poenitz@gmx.net>
6946
6947         * lyxlength.C: inBP should be able to return negative values
6948
6949 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * lyxfunc.C: use lyx_gui::update_fonts()
6952
6953 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6954
6955         * lyxfunc.C: use lyx_gui::update_color()
6956
6957 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6958
6959         * bufferlist.C:
6960         * lyxfunc.h:
6961         * lyxfunc.C:
6962         * lyxrc.h:
6963         * lyxrc.C: remove file->new asks for name option, and let
6964           buffer-new take an argument
6965
6966 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6967
6968         * BufferView_pimpl.C: remove unneeded extra repaint()
6969
6970 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6971
6972         * LyXAction.C: allow command-sequence with NoBuffer
6973
6974         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6975
6976 2002-07-10  Angus Leeming  <leeming@lyx.org>
6977
6978         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6979
6980 2002-07-09  Angus Leeming  <leeming@lyx.org>
6981
6982         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6983
6984 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6985
6986         * lengthcommon.h: whitespace
6987
6988         * lyxfunc.C: update scrollbar after goto paragraph
6989
6990         * lyxtext.h: factor out page break drawing, and fix it so
6991           page break/added space paints as selected nicely
6992
6993 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6994
6995         * BufferView_pimpl.C: add FIXMEs, clean up a little
6996
6997 2002-07-09  André Pönitz <poenitz@gmx.net>
6998
6999         * lyxfont.[Ch]: support for wasy symbols
7000
7001 2002-07-08  André Pönitz <poenitz@gmx.net>
7002
7003         * BufferView_pimpl.C: apply John's patch for #93.
7004
7005 2002-07-05  Angus Leeming  <leeming@lyx.org>
7006
7007         * BufferView_pimpl.C (buffer): generate previews if desired.
7008
7009         * LColor.h: add "preview" to the color enum.
7010
7011         * LColor.C (LColor): add a corresponding entry to the items array.
7012
7013         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7014         with this buffer.
7015
7016 2002-07-05  Angus Leeming  <leeming@lyx.org>
7017
7018         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7019         The body of the code is now in the method that is passed an ostream &
7020         rather than a file name.
7021         Pass an additional only_preamble parameter, useful for the forthcoming
7022         preview stuff.
7023
7024 2002-07-03  André Pönitz <poenitz@gmx.net>
7025
7026         * lyxfunc.C: simplify getStatus() a bit for math stuff
7027
7028 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7029
7030         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7031
7032 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7033
7034         * text.C (changeRegionCase): do not change case of all the
7035         document when region ends at paragraph end (bug #461)
7036
7037 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7038
7039         * paragraph.C (startTeXParParams):
7040         (endTeXParParams): add \protect when necessary
7041
7042 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7043
7044         * BufferView_pimpl.C (workAreaExpose): remove warning
7045
7046 2002-06-27  Angus Leeming  <leeming@lyx.org>
7047
7048         * Makefile.am: add lyxlayout_ptr_fwd.h.
7049
7050 2002-06-26  André Pönitz <poenitz@gmx.net>
7051
7052         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7053
7054 2002-06-25  Angus Leeming  <leeming@lyx.org>
7055
7056         * lyxfunc.C (dispatch): Comment out the call to
7057         grfx::GCache::changeDisplay. The method no longer exists now that the
7058         pixmap generation part of the graphics loader has been moved into
7059         InsetGraphics.
7060
7061 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7062
7063         * text2.C: layout as layout
7064
7065         * text.C: layout as layout
7066
7067         * tabular.C (OldFormatRead): layout as layout
7068
7069         * paragraph_pimpl.C (TeXDeeper): layout as layout
7070         (realizeFont): layout as layout
7071
7072         * paragraph.C (writeFile): layout as layout
7073         (validate): layout as layout
7074         (getFont): layout as layout
7075         (getLabelFont): layout as layout
7076         (getLayoutFont): layout as layout
7077         (breakParagraph): layout as layout
7078         (stripLeadingSpaces): layout as layout
7079         (getEndLabel): layout as layout
7080         (getMaxDepthAfter): layout as layout
7081         (applyLayout): layout as layout
7082         (TeXOnePar): layout as layout
7083         (simpleTeXOnePar): layout as layout
7084         (TeXEnvironment): layout as layout
7085         (layout): layout as layout
7086         (layout): layout as layout
7087
7088         * lyxtextclass.C (compare_name): new functor to work with
7089         shared_ptr, layout as layout
7090         (Read): layout as layout
7091         (hasLayout): layout as layout
7092         (operator): layout as layout
7093         (delete_layout): layout as layout
7094         (defaultLayout): layout as layout
7095
7096         * lyxlayout_ptr_fwd.h: new file
7097
7098         * lyxlayout.C (Read): layout as layout
7099
7100         * lyx_cb.C (MenuInsertLabel): layout as layout
7101
7102         * bufferlist.C (newFile): layout as layout
7103
7104         * buffer.C (readLyXformat2): layout as layout
7105         (parseSingleLyXformat2Token): layout as layout
7106         (insertStringAsLines): layout as layout
7107         (asciiParagraph): layout as layout
7108         (latexParagraphs): layout as layout
7109         (makeLinuxDocFile): layout as layout
7110         (simpleLinuxDocOnePar): layout as layout
7111         (makeDocBookFile): layout as layout
7112         (simpleDocBookOnePar): layout as layout
7113         (getLists): layout as layout
7114
7115         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7116
7117         * CutAndPaste.C (cutSelection): layout as layout
7118         (pasteSelection): layout as layout
7119         (SwitchLayoutsBetweenClasses): layout as layout
7120
7121         * BufferView_pimpl.C (Dispatch): layout as layout
7122         (smartQuote): layout as layout
7123
7124         * BufferView2.C (unlockInset): layout as layout
7125
7126 2002-06-24  André Pönitz <poenitz@gmx.net>
7127
7128         * lyxfunc.C: fix #487
7129
7130 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7131
7132         * lyxrc.h:
7133         * lyxrc.C:
7134         * lyxfunc.C: remove display_shortcuts, show_banner
7135
7136 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7137
7138         * Buffer_pimpl.C: oops, update on resize
7139
7140 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7141
7142         * buffer.C:
7143         * converter.C:
7144         * exporter.C:
7145         * lyxfunc.C:
7146         * BufferView.h:
7147         * BufferView.C: use repaint()
7148
7149         * BufferView_pimpl.h:
7150         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7151           as it's a clearer description. Remove superfluous
7152           redraws.
7153
7154 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7155
7156         * text.C: fix bug 488. Not ideal, but getting
7157           getWord() to work properly for the insets that
7158           matter is more difficult ...
7159
7160 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7161
7162         * BufferView_pimpl.C:
7163         * LyXAction.C:
7164         * commandtags.h:
7165         * lyxfunc.C: remove the six million index lyxfuncs to just
7166           one, and DTRT (bug 458)
7167
7168 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7169
7170         * BufferView.h:
7171         * BufferView.C:
7172         * BufferView_pimpl.h:
7173         * BufferView_pimpl.C: clean up resize() stuff,
7174           and unnecessary updateScreen()s
7175
7176 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * BufferView.h:
7179         * BufferView.C:
7180         * BufferView_pimpl.h:
7181         * BufferView_pimpl.C:
7182         * lyxfind.h:
7183         * lyxfind.C:
7184         * minibuffer.C: remove focus management of workarea,
7185           not needed. Use screen's greyOut()
7186
7187 2002-06-17  Herbert Voss  <voss@lyx.org>
7188
7189         * converter.C: (convert) do not post a message, when converting
7190         fails, let the calling function decide what to do in this case
7191
7192 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7193
7194         * lyxfunc.C: tidy up a little
7195
7196 2002-06-16    <alstrup@diku.dk>
7197
7198         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7199         Got rid of FORMS_H_LOCATION include. Now we are
7200         GUII.
7201
7202 2002-06-15  LyX Development team  <lyx@rilke>
7203
7204         * buffer.[Ch] (sgmlOpenTag):
7205         (sgmlCloseTag): Added support for avoiding pernicious mixed
7206         content. Return number of lines written.
7207
7208         (makeLinuxDocFile):
7209         (makeDocBookFile): Fixed calls to sgml*Tag.
7210         Simple white space clean.
7211
7212         (simpleDocBookOnePar): Simple white space clean.
7213
7214         * tabular.[Ch] (docBook): Renamed to docbook and got another
7215         argument to related with the pernicious mixed content.
7216
7217         (docbookRow): Fixed calls for docbook inset method.
7218
7219 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7220
7221         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7222         so it's X11 independent.
7223
7224         * kb*.[Ch]: ditto.
7225
7226         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7227
7228 2002-06-15  Lyx Development team  <lyx@electronia>
7229
7230         * intl.h: Renamed getTrans to getTransManager.
7231
7232 2002-06-14  Angus Leeming  <leeming@lyx.org>
7233
7234         * Makefile.am: nuke forgotten stl_string_fwd.h.
7235
7236 2002-06-12  Angus Leeming  <leeming@lyx.org>
7237
7238         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7239
7240 2002-06-13  Angus Leeming  <leeming@lyx.org>
7241
7242         * LaTeX.C:
7243         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7244
7245 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7246
7247         * kbmap.C (getiso): add support for cyrillic and greek
7248
7249 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7250
7251         * BufferView.h:
7252         * BufferView.C:
7253         * BufferView_pimpl.h:
7254         * BufferView_pimpl.C: move bogus scrolling logic
7255           to xforms
7256
7257 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7258
7259         * lyxfunc.C:
7260         * BufferView_pimpl.C: view->resize() change
7261
7262 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7263
7264         * BufferView_pimpl.C: topCursorVisible
7265           prototype change
7266
7267 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7268
7269         * Makefile.am:
7270         * lyx_gui.h:
7271         * lyx_gui.C: move to frontends/
7272
7273         * main.C:
7274         * lyx_main.h:
7275         * lyx_main.C: changes from above
7276
7277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7278
7279         * intl.C:
7280         * intl.h:
7281         * kbmap.C:
7282         * kbsequence.C:
7283         * lyx_cb.C:
7284         * lyx_main.C: minor tidy
7285
7286 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7287
7288         * BufferView_pimpl.h:
7289         * BufferView_pimpl.C:
7290         * BufferView.h:
7291         * BufferView.C: make painter() const,
7292           remove dead code
7293
7294         * BufferView2.C: use screen() accessor
7295
7296         * lyx_main.h:
7297         * lyx_main.C: some minor cleanup
7298
7299 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7300
7301         * BufferView_pimpl.h:
7302         * BufferView_pimpl.C: remove enter/leaveView,
7303           use workHeight()
7304
7305 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * BufferView.h:
7308         * BufferView.C:
7309         * BufferView2.C:
7310         * BufferView_pimpl.h:
7311         * BufferView_pimpl.C: only construct screen once,
7312           rename
7313
7314         * lyxrc.C: remove pointless comment
7315
7316 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7317
7318         * BufferView.h:
7319         * BufferView.C: remove active() and belowMouse()
7320
7321         * BufferView_pimpl.h:
7322         * BufferView_pimpl.C: use workarea() not workarea_,
7323           and make it use a scoped_ptr instead
7324
7325 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7326
7327         * lyx_gui.C: add debug message on BadWindow
7328
7329 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7330
7331         * sp_spell.C: fdopen is not part of the C++ standard.
7332
7333         * paragraph.C (InsetIterator): use >= instead of ==
7334
7335 2002-06-07  Angus Leeming  <leeming@lyx.org>
7336
7337         Fixes needed to compile with Compaq cxx 6.5.
7338         * BufferView_pimpl.C:
7339         * DepTable.C:
7340         * buffer.C:
7341         * converter.C:
7342         * encoding.C:
7343         * lyx_gui.C:
7344         * lyx_main.C:
7345         * lyxtextclasslist.C:
7346         * minibuffer.C:
7347         * sp_spell.C:
7348         * tabular_funcs.C:
7349         * vc-backend.C:
7350         all c-library variables have been moved into namespace std. Wrap
7351         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7352
7353         * lyxlength.C:
7354         * tabular-old.C:
7355         * tabular.C:
7356         Add a using std::abs declaration.
7357
7358         * kbmap.h (modifier_pair):
7359         * paragraph.h (InsetTable, InsetList):
7360         * lyxfont.h (FontBits):
7361         type definition made public.
7362
7363         * bufferlist.C (emergencyWriteAll): the compiler complains that
7364         there is more than one possible lyx::class_fun template to choose from.
7365         I re-named the void specialisation as lyx::void_class_fun.
7366
7367         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7368
7369         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7370         the compiler is is unable to find tostr in write_attribute.
7371
7372 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7373
7374         * buffer.C (sgmlError): hide #warning
7375
7376 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7377
7378         * xtl/*: get rid of xtl, which is not in use anyway
7379
7380         * LyXAction.C (init):
7381         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7382         were unimplemented xtl experimentation
7383
7384 2002-06-04  André Pönitz <poenitz@gmx.net>
7385
7386         * lyxfunc.C: disable array operation on simple formulae
7387
7388 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7389
7390         * converter.C: constify a bit
7391
7392 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * lyx_gui.C: check xforms version correctly
7395
7396 2002-04-30  Herbert Voss  <voss@lyx.org>
7397
7398         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7399         "keep" option
7400
7401 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7402
7403         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7404           attempt to register it with a VCS)
7405
7406 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7407
7408         * lyx_main.C (init): honor variables LYX_DIR_13x and
7409         LYX_USERDIR_13x
7410
7411 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7412
7413         * buffer.h:
7414         * buffer.C:
7415         * lyx_main.C: fix a crash on bad command line,
7416           and give a useful exit status on error
7417
7418         * lyxfunc.C (doImport): allow -i lyx to work
7419
7420 2002-03-30  André Pönitz <poenitz@gmx.net>
7421
7422         * lyxfunc.C: mathed font changes
7423
7424 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7425
7426         * LaTeX.C:
7427         * importer.h:
7428         * importer.C:
7429         * lyx_sty.h:
7430         * lyx_sty.C:
7431         * lyxlex.C:
7432         * lyxrow.h:
7433         * lyxtext.h:
7434         * paragraph.h:
7435         * paragraph.C:
7436         * texrow.h:
7437         * texrow.C:
7438         * text.C:
7439         * trans_mgr.h: srcdocs, and some minor cleanups
7440
7441 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7442
7443         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7444         call getFont all the time)
7445
7446 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7447
7448         * switch from SigC signals to boost::signals
7449
7450 2002-05-29  André Pönitz <poenitz@gmx.net>
7451
7452         * paragraph_pimpl.C (getChar): don't call size() too often...
7453
7454 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7455
7456         * paragraph_pimpl.C (insertChar): do not try to update tables when
7457         appending (pos == size())
7458
7459         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7460         in order to reduce drastically the number of comparisons needed to
7461         parse a large document
7462
7463 2002-05-29  André Pönitz <poenitz@gmx.net>
7464
7465         * text.C:
7466         * text2.C:
7467         * lyxtextclass.C:
7468         * sp_pspell.h:
7469         * textclasslist.[Ch]:
7470         * sp_ispell.h: whitespace change
7471
7472 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7473
7474         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7475         lyxaction directly now.
7476
7477 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * trans.C:
7480         * lyxfont.C:
7481         * lyxvc.C: remove unused headers
7482
7483 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7484
7485         * Makefile.am:
7486         * buffer.h:
7487         * undostack.h:
7488         * undostack.C:
7489         * undo_funcs.h:
7490         * undo_funcs.C: some cleanups. Use shared_ptr
7491           and a template for the undo stacks.
7492
7493 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * BufferView_pimpl.h:
7496         * BufferView_pimpl.C:
7497         * kbmap.h:
7498         * kbmap.C:
7499         * kbsequence.h:
7500         * kbsequence.C:
7501         * lyxfunc.h:
7502         * lyxfunc.C:
7503         * text2.C: use key_state/mouse_state
7504
7505 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7506
7507         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7508         and LSubstring
7509
7510         * chset.C: change include order
7511         (loadFile): use boost regex and get rid of LRegex and LSubstring
7512
7513         * Makefile.am (BOOST_LIBS): new variable
7514         (lyx_LDADD): use it
7515
7516         * LaTeX.C: change include order.
7517         (scanAuxFile): use boost regex and get rid of LRegex and
7518         LSubstring
7519         (deplog): ditto
7520
7521 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7522
7523         * ColorHandler.h:
7524         * ColorHandler.C:
7525         * FontInfo.h:
7526         * FontInfo.C: moved to frontends/xforms/
7527
7528         * FontLoader.h:
7529         * FontLoader.C: moved into frontends for GUIIzation
7530
7531         * Makefile.am:
7532         * lyx_gui.C:
7533         * lyxfont.C:
7534         * lyxfunc.C: changes from above
7535
7536 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * LColor.C: remove spurious X include
7539
7540         * BufferView_pimpl.C:
7541         * Makefile.am:
7542         * font.h:
7543         * font.C:
7544         * text.C:
7545         * text2.C: move font metrics to frontends/
7546
7547 2002-05-24  Juergen Vigna  <jug@sad.it>
7548
7549         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7550         setting the undo_cursor.
7551
7552         * ParagraphParameters.h: include local includes first.
7553
7554 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7555
7556         * BufferView_pimpl.C:
7557         * BufferView_pimpl.h:
7558         * Makefile.am:
7559         * WorkArea.h:
7560         * WorkArea.C:
7561         * screen.C: move WorkArea into frontends/
7562
7563         * lyxscreen.h:
7564         * screen.C:
7565         * text.C:
7566         * BufferView.C:
7567         * BufferView2.C: move LyXScreen into frontends/
7568
7569         * lyxlookup.h:
7570         * lyxlookup.C:
7571         * lyx_gui.C: move lyxlookup into frontends/xforms/
7572
7573 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7574
7575         * BufferView2.C:
7576         * BufferView_pimpl.C:
7577         * FontLoader.C:
7578         * LyXView.h:
7579         * LyXView.C:
7580         * Makefile.am:
7581         * WorkArea.C:
7582         * XFormsView.h:
7583         * XFormsView.C:
7584         * buffer.C:
7585         * bufferlist.C:
7586         * bufferview_funcs.C:
7587         * converter.C:
7588         * importer.C:
7589         * lyx_cb.C:
7590         * lyx_gui.C:
7591         * lyx_main.C:
7592         * lyx_find.C:
7593         * lyxfunc.C:
7594         * lyxvc.C:
7595         * minibuffer.C:
7596         * text.C:
7597         * text2.C:
7598         * trans.C:
7599         * vc-backend.C: move LyX/XFormsView into frontends/
7600
7601 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7602
7603         * Makefile.am:
7604         * PainterBase.C:
7605         * PainterBase.h:
7606         * Painter.C:
7607         * Painter.h:
7608         * WorkArea.C:
7609         * WorkArea.h:
7610         * screen.C:
7611         * tabular.C:
7612         * text.C:
7613         * text2.C: move Painter to frontends/
7614
7615 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7616
7617         * buffer.C: comment out some some code that depend upon lyx_format
7618         < 220
7619
7620         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7621         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7622
7623         * buffer.h (NO_COMPABILITY): turn off compability
7624
7625         * ColorHandler.C: include scoped_array.hpp
7626
7627         * font.C: Use more specific smart_ptr header.
7628         * Painter.C: ditto
7629         * gettext.C: ditto
7630         * ShareContainer.h: ditto
7631         * lyx_main.h: ditto
7632         * kbmap.h: ditto
7633         * FontInfo.h: ditto
7634         * BufferView_pimpl.h: ditto
7635         * ColorHandler.h: ditto
7636
7637         * kbmap.C (defkey): change call to shared_ptr::reset
7638
7639 2002-05-21  Juergen Vigna  <jug@sad.it>
7640
7641         * buffer.C (insertErtContents): fix to insert ert asis if it is
7642         non empty. Skip it completely if it contains only whitespaces.
7643
7644 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * BufferView_pimpl.C:
7647         * BufferView2.C: clear selection on paste (bug 393)
7648
7649 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7650
7651         * DepTable.C: include ctime
7652
7653 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7654
7655         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7656
7657 2002-05-14  Juergen Vigna  <jug@sad.it>
7658
7659         * text.C (breakParagraph): fixed function to honor the keepempty
7660         layout in the right maner and also to permit the right breaking
7661         algorithm on empty or non empyt keepempty paragraphs.
7662
7663         * paragraph.C (breakParagraph): we have to check also if the par
7664         is really empty (!size()) for isempty otherwise we do the wrong
7665         paragraph break.
7666
7667 2002-05-10  Juergen Vigna  <jug@sad.it>
7668
7669         * buffer.[Ch] : The following are only changes to the ert
7670         compatibility read reading old LaTeX layout and font stuff and
7671         convert it to ERTInsets.
7672
7673         * buffer.h: added isErtInset().
7674
7675         * buffer.C (struct ErtComp): add a fromlayout bool to check
7676         if we're inside a LaTeX layout.
7677         (isErtInset): new helper function.
7678         (insertErtContents): look for other ert insets before this one
7679         and insert the contents there, so that we don't have subsequent
7680         ERT insets with nothing between them. This way we create only one
7681         inset with multiple paragraphs. Also check if we don't insert only
7682         spaces ' ' as they are ignored anyway afterwards in the .tex file
7683         so if we have only spaces we will ignore this latex part in the
7684         new file.
7685         (parseSingleLyXformat2Token \\layout): better compatibility when
7686         reading layout-latex stuff.
7687         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7688         language tag.
7689         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7690         stuff after reading the inset only get the information back from
7691         the stack.
7692
7693 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7694
7695         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7696
7697         * LaTeXFeatures.C (getBabelOptions): New method.
7698
7699 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7700
7701         * BufferView_pimpl.C (Dispatch): work around missing argument for
7702         'layout'
7703
7704 2002-05-08  Juergen Vigna  <jug@sad.it>
7705
7706         * text.C (leftMargin): handle paragraph leftindent.
7707
7708         * paragraph.C (writeFile): write the new \\leftindent tag.
7709         (validate): handle leftindent code.
7710         (TeXEnvironment): handle paragraphleftindent code again.
7711
7712         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7713
7714         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7715         for paragrap_extra indent code and new token \\leftindent.
7716         (latexParagraphs): handle the leftindent as environment.
7717
7718         * ParameterStruct.h: added leftindent support.
7719
7720         * ParagraphParameters.C (leftIndent): added support functions for
7721         the paragraph left indent.
7722
7723         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7724         more appropriate.
7725
7726 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7727
7728         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7729         inside insetERT.
7730
7731         * text.C (computeBidiTables): No bidi in insetERT.
7732
7733         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7734         in RTL documents.
7735
7736 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7737
7738         * version.C.in: pre 5
7739
7740 2002-05-02  José Matos  <jamatos@fep.up.pt>
7741         * buffer.C (makeDocBookFile): white space changes, add newline to
7742         command styles.
7743         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7744
7745         * tabular.C (docBook): fix typo.
7746
7747 2002-05-03  Juergen Vigna  <jug@sad.it>
7748
7749         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7750         change in LyXText as we can not be sure it was not freed.
7751         (drawOneRow): remove unused code.
7752
7753         * text.C (drawInset): redo the calculation of the need_break_row as
7754         it could have a row which was already freed.
7755         (draw): look at the return value of drawInset and return false if
7756         it also returned false.
7757         (paintRowText): look at the return value of draw and return false if
7758         it also returned false.
7759
7760         * lyxtext.h: added bool return type to drawInset() and draw() so that
7761         if we have a change in the row so that the rowbreak has to be redone
7762         we abort drawing as it will be called again.
7763
7764 2002-05-02  Juergen Vigna  <jug@sad.it>
7765
7766         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7767         a change in the maintext also if we're inside an inset.
7768         (Dispatch): set the cursor again after a break line and after the
7769         screen has been updated as it could be we're in a different row.
7770
7771         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7772         to set the cursor behind the pargraph with > size().
7773         (setCursor): check also for the same paragraph when checking where
7774         to put the cursor if we have a NFR inset.
7775
7776         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7777         parts of layout read further up as it still was in the wrong
7778         position.
7779
7780 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7781
7782         * screen.C (drawFromTo): change sine fullRebreak always return
7783         true.
7784
7785         * buffer.C (parseSingleLyXformat2Token): reindent some
7786
7787         * BufferView_pimpl.C (update): change since fullRebreak always
7788         return true.
7789         (Dispatch): git rid of the last hardcoded "Standard"s.
7790
7791 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7792
7793         * text2.[Ch] (fullRebreak): make it return void now that we always
7794         returned true.
7795
7796 2002-04-30  Juergen Vigna  <jug@sad.it>
7797
7798         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7799         ert compatibility check for "latex" layout.
7800
7801 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7802
7803         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7804         minipages: use col% instead of p%, and also use the current font.
7805         (makeLaTeXFile): Fix use babel condition.
7806         (parseSingleLyXformat2Token): Correct font when reading old floats.
7807
7808 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7809
7810         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7811         inserting list of floats.
7812
7813 2002-04-25  Herbert Voss  <voss@lyx.org>
7814
7815         * MenuBackend.C (expand): don't add the graphics extensions to the
7816         export menu
7817
7818 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7821         non-existing layout, do not complain if it was the default layout
7822         of the original class (bug #342)
7823
7824 2002-04-24  Juergen Vigna  <jug@sad.it>
7825
7826         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7827         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7828
7829 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7830
7831         * buffer.C (getBibkeyList): If using \bibliography, return the
7832         option field with the reference itself. Enables us to provide natbib
7833         support when using \bibliography.
7834
7835 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7836
7837         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7838
7839         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7840         natbib is provided by the LaTeX class.
7841
7842 2002-04-23  Juergen Vigna  <jug@sad.it>
7843
7844         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7845         Wakeup functions.
7846
7847         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7848
7849 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7850
7851         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7852
7853         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7854         ensuremath around textordmasculine, textordfeminine and
7855         textdegree.
7856
7857 2002-04-19  Juergen Vigna  <jug@sad.it>
7858
7859         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7860         reinitializing the buffer otherwise row-dimensions may be wrong.
7861         (update): reset also the selection cursors if they do exits otherwise
7862         their x/y positions may be wrong.
7863
7864         * text2.C (cursorDown): don't enter the inset if we came from a row
7865         above and are one row over the inset.
7866
7867         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7868         really leaving an inset.
7869
7870 2002-04-18  Juergen Vigna  <jug@sad.it>
7871
7872         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7873         of the selected paragraph does not have the selected layout also if
7874         the last one had!
7875
7876         * text2.C (setLayout): fixed bug which did not change last selected
7877         paragraph.
7878
7879         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7880         changed the read and substituted \\end_float with \\end_inset!
7881
7882         * BufferView_pimpl.C (cursorPrevious):
7883         (cursorNext): fixed to make it work with rows heigher than the work
7884         area without moving the cursor only the draw of the row.
7885         (workAreaMotionNotify): fix jumping over high rows.
7886
7887 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7888
7889         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7890         Ressler.
7891
7892 2002-04-16  Juergen Vigna  <jug@sad.it>
7893
7894         * text2.C (setCursor): set also the irow().
7895         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7896         (cursorUp):
7897         (cursorDown): support for locking an inset if the x_fix value goes
7898         inside it. That way I can transverse insets too with cursor up/down.
7899
7900         * lyxrow.h: added irow helper function same as other (i) functions.
7901
7902         * BufferView_pimpl.C (cursorPrevious):
7903         (cursorNext): fixed for insets!
7904
7905 2002-04-15  Juergen Vigna  <jug@sad.it>
7906
7907         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7908         position otherwise it is wrong in some cases.
7909
7910         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7911         inside the inset before the call.
7912
7913 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7914
7915         * buffer.[Ch] (getBibkeyList): make it const.
7916
7917 2002-04-12  Juergen Vigna  <jug@sad.it>
7918
7919         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7920
7921         * text2.C (getCursorX): new helper function
7922         (setCursor): compute also ix_
7923         (setCursorFromCoordinates): set also ix.
7924
7925         * lyxcursor.h: added ix_ and helper functions.
7926
7927         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7928
7929         * buffer.C (insertStringAsLines): dont break paragraph if the this
7930         paragraph is inside an inset which does not permit it!
7931
7932         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7933         also with no chars on this paragraph.
7934         (paintRowText): only paint stuff if it's inside the workarea!
7935
7936         * paragraph.C (breakParagraph): honor keepempty flag and break the
7937         paragraph always below not above.
7938
7939         * BufferView2.C (unlockInset): update the paragraph layout on inset
7940         unlock as we changed paragraph in such a case.
7941
7942         * lyxfind.C (LyXFind): clear the former selection if not found!
7943
7944         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7945         again called in insertChar().
7946
7947         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7948         an inset which uses the whole row!
7949         (rightMargin): ditto.
7950         (insertChar): force a rebreak if we inserted an inset!
7951
7952 2002-03-28  Herbert Voss  <voss@lyx.org>
7953
7954         * lyxlength.[Ch]: add inBP() to get the right PS-point
7955         units (BigPoint). With inPixels we have rounding errors
7956
7957 2002-04-11  Juergen Vigna  <jug@sad.it>
7958
7959         * text2.C (setCursorFromCoordinates): set iy to the right value.
7960         (setCursor): add check if row->previous exists!
7961
7962         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7963         an old float_type as this was the case in the old code!
7964
7965         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7966
7967         * BufferView2.C (showLockedInsetCursor): use iy
7968         (fitLockedInsetCursor): ditto
7969
7970         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7971         locked insets as there we have the right value now.
7972
7973         * lyxcursor.C: added iy_ variable and iy functions to set to the
7974         baseline of cursor-y of the locked inset.
7975
7976         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7977         (setCursor): fixed for insets which need a full row.
7978
7979         * text.C (rowLastPrintable): don't ignore the last space when before
7980         an inset which needs a full row.
7981         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7982         as last character of a row when before a inset which needs a full row.
7983
7984 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7985
7986         * version.C.in: update date
7987
7988         * text2.C (fullRebreak): try to always return true and see what
7989         happens...
7990
7991 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7992
7993         * MenuBackend.C (expand): use Floating::listName
7994
7995         * FloatList.C (FloatList): add listName argument to the built-in
7996         floats
7997
7998         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7999         text associated with the float.
8000
8001 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8002
8003         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8004
8005 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8006
8007         * ShareContainer.h: add a couple of missing typenames.
8008
8009 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8010
8011         * lyxrc.C (getDescription): use _() correctly rather than N_().
8012
8013 2002-03-28  Herbert Voss  <voss@lyx.org>
8014
8015         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8016         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8017
8018 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8019
8020         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8021         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8022
8023 2002-03-29  Juergen Vigna  <jug@sad.it>
8024
8025         * lyxfunc.C (dispatch): add a missing fitCursor call.
8026
8027         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8028         it was scrolled by a cursor move, so return the bool status.
8029
8030         * BufferView.C (fitCursor): return the bool flag also to the outside
8031         world as this is needed.
8032
8033         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8034
8035         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8036         call the edit() as it is not needed (and wrong) IMO.
8037         (workAreaButtonPress): set the screen_first variable before evt.
8038         unlock the inset as this may change screen_first and then we have
8039         a wrong y position for the click!
8040
8041 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8042
8043         * MenuBackend.C (expand): another translation that I missed
8044
8045 2002-03-28  Juergen Vigna  <jug@sad.it>
8046
8047         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8048
8049         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8050
8051 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8052
8053         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8054
8055         * MenuBackend.C (expand): fix export/view/update when there is no
8056         document open.
8057
8058 2002-03-27  Herbert Voss  <voss@lyx.org>
8059
8060         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8061         and text%
8062
8063 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8064
8065         * bufferview_funcs.C (currentState): only show paragraph number
8066         for is DEVEL_VERSION is set.
8067
8068         * lyxfunc.C (dispatch): put warning in INFO channel
8069
8070         * MenuBackend.C (expand): translate the name of floats
8071
8072         * FloatList.C (FloatList): mark the float names for translation
8073
8074         * converter.C (convert): use LibScriptSearch
8075
8076 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8077
8078         * MenuBackend.C (defaults): fix default menu (we might as well get
8079         rid of it...)
8080
8081 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8082
8083         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8084         directory.
8085
8086 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8087
8088         * lyxvc.C: reorder includes.
8089
8090 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8093           properly
8094
8095 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8096
8097         * CutAndPaste.C: change layouts earlier on paste
8098           to avoid crashing when calling getFont()
8099
8100 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8101
8102         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8103         irritating #error.
8104
8105 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8106
8107         * WorkArea.C: remove 'Pending' debug message.
8108
8109         * most files: ws cleanup
8110
8111         * buffer.[Ch]: ws changes
8112
8113         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8114
8115 2002-03-21  Juergen Vigna  <jug@sad.it>
8116
8117         * tabular.C (SetMultiColumn): collapse also the contents of the
8118         cells and set the last border right. Added a Buffer const * param.
8119
8120 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8121
8122         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8123         linking or not.
8124
8125 2002-03-19  Juergen Vigna  <jug@sad.it>
8126
8127         * text2.C (clearSelection): reset also xsel_cache.
8128
8129         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8130         where it needs to be called (John tells us to do so too :)
8131         (selectionLost): reset sel_cache.
8132
8133         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8134
8135 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8136
8137         * text2.C (setCursorIntern): put debuging code in INSETS channel
8138
8139 2002-03-19  André Pönitz <poenitz@gmx.net>
8140
8141         * lyxfunc.C: tiny whitespace change
8142
8143 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8144
8145         * ToolbarDefaults.C (init):
8146         * LyXAction.C (init):
8147         * commandtags.h:
8148         * BufferView_pimpl.C (Dispatch):
8149         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8150
8151 2002-03-19  Allan Rae  <rae@lyx.org>
8152
8153         * exporter.C (Export): removeAutoInsets before doing anything else.
8154         While I've just introduced a dependency on BufferView this really is
8155         the best place to clean the buffer otherwise you need to cleanup in
8156         a dozen places before calling export or cleanup in a dozen functions
8157         that export calls.
8158
8159         * converter.C (runLaTeX):
8160         (scanLog): Better handling of removeAutoInsets and screen updates.
8161
8162         * lyxfunc.C (dispatch): small whitespace changes
8163
8164 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8165
8166         * WorkArea.C (C_WorkAreaEvent): return a value.
8167         (event_cb): return 1 if we handled the event, 0 otherwise.
8168
8169         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8170
8171 2002-03-18  Juergen Vigna  <jug@sad.it>
8172
8173         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8174         (GetAdditionalWidth): ditto.
8175         (RightLine): ditto.
8176         (LeftLine): ditto.
8177
8178         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8179         inset if we're there actually (probably not used right now but this
8180         is the direction to go for unifying code).
8181         (paste): disable code to clear the selection.
8182
8183         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8184         inside an InsetText and move the check further up as it is in the
8185         wrong place.
8186
8187         * text2.C (pasteSelection): set a selection over the pasted text.
8188
8189 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8190
8191         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8192         and libgraphics to build on Cygwin.
8193
8194 2002-03-15  Juergen Vigna  <jug@sad.it>
8195
8196         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8197         inserting an Inset into the paragraph. I know this is not the best
8198         fix but we already use current_view in CutAndPaste so we will remove
8199         all of it's using at the same time.
8200
8201         * buffer.C (sgmlError): deactivated function till it is rewritten in
8202         the right mode, now it can create problems.
8203
8204         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8205         before accessing it.
8206
8207 2002-03-14  Juergen Vigna  <jug@sad.it>
8208
8209         * undo_funcs.C (textHandleUndo): do the right thing when updating
8210         the inset after the undo/redo.
8211
8212         * text2.C (setCursor): just some testcode for #44 not ready yet.
8213
8214         * undo_funcs.C (textHandleUndo): set the next() and previous()
8215         pointers of the paragraph to 0 before deleting otherwise we have
8216         problems with the Paragraph::[destructor].
8217
8218         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8219         on a paragraph insertion.
8220
8221 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8222
8223         * buffer.C (asciiParagraph): use += operator for char append to
8224         string.
8225
8226         * paragraph.C (getFontSettings): compare >= not just >
8227         (highestFontInRange): ditto
8228         (setFont): ditto
8229
8230 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8231
8232         * paragraph.C: change several algorithm to be more appripriate for
8233         the problem domain. This is lookip in FontList and in the InsetList.
8234
8235 2002-03-13  André Pönitz <poenitz@gmx.net>
8236
8237         * commandtags.h:
8238         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8239
8240 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8241
8242         * commandtags.h:
8243         * LyXAction.C:
8244         * lyxfunc.C:
8245         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8246
8247 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8248
8249         * Painter.C (display): anon helper function, adjust code for this
8250         change.
8251         (pixmap): remove function.
8252
8253         * Painter.h: remove private display variable.
8254
8255         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8256
8257 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8258
8259         * WorkArea.[Ch]: remove figinset_canvas cruft.
8260
8261 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8262
8263         * lyxtextclass.C (operator): add one item cache optimization.
8264
8265         * bufferlist.h: doxy changes
8266
8267         * bufferlist.C: ws changes
8268
8269         * DepTable.[Ch] (ext_exist): place const in the right spot.
8270
8271         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8272         call resizeInsets.
8273         (workAreaExpose): call resizeInsets when the with BufferView changes.
8274         (Dispatch): adjust for protectedBlank removal
8275         (specialChar): call updateInset if the insert went ok.
8276
8277         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8278         specialChar instead.
8279
8280         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8281
8282         * BufferView.h: doxy change
8283
8284         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8285
8286         * lyxtextclass.C (operator[]): remove non-const version
8287         (defaultLayout): remove non-const version
8288
8289 2002-03-12  Juergen Vigna  <jug@sad.it>
8290
8291         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8292         did resize the LyXText too.
8293
8294         * buffer.C (readLyXformat2): set layout information on newly allocated
8295         paragraphs.
8296
8297         * tabular.C (OldFormatRead): set layout information on the paragraph.
8298
8299 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8300
8301         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8302
8303 2002-03-11  Juergen Vigna  <jug@sad.it>
8304
8305         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8306         plainly wrong.
8307         (resizeCurrentBuffer): force also the insets to resize themselfes.
8308         (moveCursorUpdate): fixed up for InsetText.
8309
8310 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8311
8312         * commandtags.h:
8313         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8314         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8315         value of Dialogs::tooltipsEnabled().
8316         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8317
8318 2002-03-08  Juergen Vigna  <jug@sad.it>
8319
8320         * BufferView_pimpl.C (updateInset): update inset inside inset also
8321         if it isn't inside theLockingInset().
8322
8323 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8324
8325         * buffer.C (asciiParagraph): redo some of the word and line length
8326         handling.
8327         (getLists): look for Caption instead of caption.
8328
8329 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * buffer.C (Buffer): initialize niceFile to true
8332         (makeLaTeXFile):
8333         (makeLinuxDocFile):
8334         (makeDocBookFile): make sure niceFile is true on exit
8335
8336 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8337
8338         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8339
8340 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8341
8342         * LyXSendto.C: remove.
8343         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8344         * lyx_gui.C: remove now-redundant comment.
8345         * ColorHandler.h: remove forward declaration of class WorkArea.
8346         * lyxfunc.C: remove #include "WorkArea.h".
8347
8348 2002-03-07  Juergen Vigna  <jug@sad.it>
8349
8350         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8351         got moved away with the DEPM and also set the inset_owner always
8352         right which before could have been omitted.
8353
8354 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8355
8356         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8357         wanted layout is not found.
8358
8359 2002-03-07  Juergen Vigna  <jug@sad.it>
8360
8361         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8362
8363 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8364
8365         * paragraph.C (breakParagraph): use default layout not layout of
8366         prev paragraph.
8367         (Paragraph): clear ParagraphParameters.
8368
8369 2002-03-06  Juergen Vigna  <jug@sad.it>
8370
8371         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8372         otherwise it would not be a valid lenght. Fixed a special case in
8373         the minipage compatibility read where we end the document with a
8374         minipage.
8375
8376         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8377         was set as it could be 0 for InsetTexts first entry.
8378
8379 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8380
8381         * paragraph.C (writeFile): if layout is empty write out
8382         defaultLayoutName().
8383
8384         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8385         file without named layout we set layout to defaultLayoutName().
8386
8387 2002-03-06  Juergen Vigna  <jug@sad.it>
8388
8389         * CutAndPaste.C (copySelection): set layout for new paragraph.
8390
8391         * text.C (prepareToPrint): leave ERT inset left aligned
8392         (leftMargin): don't indent paragraphs inside ERT insets
8393
8394 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8395
8396         * paragraph.C (breakParagraph): dont call clear do the work manually
8397
8398         * paragraph.[Ch] (clear): remove function
8399
8400 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8401
8402         * paragraph.C (Paragraph): dont call clear, the work has already
8403         been done.
8404
8405         * lyxtextclass.C (operator): assert if n is empty
8406
8407         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8408         work manually instead.
8409
8410 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * BufferView_pimpl.C: protect selectionLost against text == 0
8413
8414 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8415
8416         * text.C (breakParagraph): fix a setting layout to '0' problem.
8417
8418 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8419
8420         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8421         final location of file, for the included files, and graphics.
8422
8423 2002-03-05  Juergen Vigna  <jug@sad.it>
8424
8425         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8426
8427 2002-03-04  Juergen Vigna  <jug@sad.it>
8428
8429         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8430
8431         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8432         last column of multicolumn cells.
8433         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8434
8435 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8436
8437         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8438         file if it doesn't go to a temporary file.
8439
8440         * buffer.C (sgmlOpenTag):
8441         (sgmlCloseTag):  remove extra newline insertion.
8442
8443 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8444
8445         * text.C (getRowNearY): comment out debug msg
8446
8447 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8448
8449         * text2.C: first -> first_y
8450
8451         * text.C (getRowNearY): add some attemts at a possible
8452         optimization, not working.
8453
8454         * tabular.[Ch]: add BufferParams to several function so that newly
8455         created paragraph can be initialized to he default layotu for the
8456         buffers textclass.
8457
8458         * tabular-old.C (ReadOld): add buf->params to call of Init
8459
8460         * screen.C: rename text->first to text->first_y
8461
8462         * paragraph.C (breakParagraph): always set layout in the broken
8463         paragraph
8464
8465         * lyxtextclass.C (Read): remove lowercase
8466         (hasLayout): ditto
8467         (operator): ditto
8468         (delete_layout): ditto
8469
8470         * lyxtext.h: rename first -> first_y
8471
8472         * lyxlayout.C (Read): remove lowercase
8473         (name): ditto
8474         (setName): ditto
8475         (obsoleted_by): ditto
8476
8477         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8478
8479         * buffer.C (insertErtContents): add params are to InsetERT
8480         (parseSingleLyXformat2Token): add code to check if a paragraphs
8481         layout really exist.
8482         (parseSingleLyXformat2Token): add params to several inset
8483         constructors
8484         (asciiParagraph): remove lowercase, do the layout comparisons with
8485         no_case
8486
8487         * BufferView_pimpl.C (cursorNext): first -> first_y
8488         (resizeCurrentBuffer): first -> first_y
8489         (updateScrollbar): first -> first_y
8490         (scrollCB): first -> first_y
8491         (workAreaMotionNotify): first -> first_y
8492         (workAreaButtonPress): first -> first_y
8493         (checkInsetHit): first -> first_y
8494         (cursorPrevious): first -> first_y
8495         (cursorNext): first -> first_y
8496         (Dispatch): add buffer_->params to severl inset contructors
8497
8498 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8499
8500         * lyxlayout.C (Read): remove some debug info that I forgot.
8501
8502         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8503         clean up the code slightly.
8504         (makeLinuxDocFile): ditto
8505         (makeDocBookFile): ditto
8506
8507         * text2.C: layout as string
8508
8509         * text.C: layout as string
8510
8511         * paragraph_pimpl.C: layout as string
8512
8513         * paragraph.[Ch]: layout as string
8514
8515         * lyxtextclasslist.[Ch]: layout as string
8516
8517         * lyxtextclass.[Ch]: layout as string
8518
8519         * lyxtext.h: layout as string
8520
8521         * lyxlayout.[Ch]: layout as string
8522
8523         * lyx_cb.C: layout as string
8524
8525         * bufferview_funcs.C: layout as string
8526
8527         * bufferparams.C: layout as string
8528
8529         * buffer.C: layout as string
8530
8531         * LyXView.[Ch]: layout as string
8532
8533         * LaTeXFeatures.[Ch]: layout as string
8534
8535         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8536
8537         * BufferView_pimpl.C: change current_layout to string, remove
8538         lyx::layout_type.
8539         (Dispatch):
8540         (smartQuote):
8541         (insertInset):
8542         (workAreaButtonRelease): layout as string
8543
8544         * BufferView2.C (unlockInset): adjust
8545
8546         * vspace.C (asLatexCommand): use an explict temp variable.
8547
8548 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8549
8550         * Makefile.am: use FRONTEND_*
8551
8552 2002-03-01  Juergen Vigna  <jug@sad.it>
8553
8554         * tabular.C (SetWidthOfMulticolCell): changed to something better
8555         I hope but still work in progress.
8556         (recalculateMulticolumnsOfColumn): renamed function from
8557         recalculateMulticolCells as it is more appropriate now.
8558         (SetWidthOfCell): calculate multicols better.
8559
8560 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8561
8562         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8563
8564         * lyxfunc.C (processKeySym): print sequence also if it is
8565         `deleted' (complete)
8566
8567         * kbsequence.C (print): print sequence even if it is deleted
8568         (complete would be a better word, actually).
8569
8570         * lyxfunc.C (dispatch): print complete options after a prefix key
8571
8572         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8573
8574 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8575
8576         * text2.C (setCharFont): eliminate setCharFont code duplication.
8577
8578 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8579
8580         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8581         LFUN_TABULAR_FEATURE (bug #177)
8582
8583 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8584
8585         * Makefile.am: remove figure.h
8586
8587 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8588
8589         * Bufferview_pimpl.C:
8590         * CutAndPasteC:
8591         * LaTeX.C:
8592         * LyXSendto.C:
8593         * buffer.C:
8594         * bufferlist.C:
8595         * converter.C:
8596         * language.C:
8597         * lyxfunc.C:
8598         * lyxvc.C:
8599         * paragraph.C:
8600         * text.C:
8601         * text2.C: remove #include "lyx_gui_misc.h".
8602
8603         * LaTeX.C: added #include <cstdio>
8604
8605 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8606
8607         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8608         that the paragraph following this one can have.
8609
8610         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8611
8612         * vspace.C (asLatexCommand): fix bogus gcc warning
8613
8614         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8615
8616 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8617
8618         * text2.C (setLayout): get rid of redundant code
8619
8620 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8621
8622         * text2.C (incDepth): make sure depth cannot be increased beyond
8623         reasonable values.
8624
8625 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8626
8627         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8628         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8629
8630         * PainterBase.h (image):
8631         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8632         a LyXImage const *.
8633
8634 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * BufferView.C:
8637         * BufferView.h:
8638         * BufferView_pimpl.C:
8639         * BufferView_pimpl.h:
8640         * LaTeXFeatures.C:
8641         * LyXAction.C:
8642         * LyXView.C:
8643         * Makefile.am:
8644         * UpdateList.h:
8645         * UpdateList.C:
8646         * buffer.C:
8647         * figure.h:
8648         * figureForm.C:
8649         * figureForm.h:
8650         * figure_form.C:
8651         * figure_form.h:
8652         * lyx_cb.C:
8653         * lyx_gui.C:
8654         * lyx_gui_misc.C:
8655         * lyxfunc.C:
8656         * sp_base.h:
8657         * sp_ispell.h:
8658         * sp_pspell.h:
8659         * sp_spell.C: remove fig inset, and the crap house of
8660           cards that follows it
8661
8662 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * Makefile.am:
8665         * lyxserver.C:
8666         * os2_defines.h:
8667         * os2_errortable.h:
8668         * nt_defines.h: move .h into support/
8669
8670         * vms_defines.h: remove
8671
8672         * WorkArea.C: add space in debug output
8673
8674         * text2.C:
8675         * paragraph.C:
8676         * buffer.C: add WITH_WARNINGS
8677
8678         * vc-backend.h:
8679         * vc-backend.C:
8680         * bufferlist.C: s/retrive/retrieve/, add docs
8681
8682         * vspace.h:
8683         * vspace.C:
8684         * kbmap.h:
8685         * lyxlength.h:
8686         * lyxgluelength.h:
8687         * length_common.h:
8688         * chset.h:
8689         * chset.C: add docs
8690
8691         * lyxgui.C: add ID to X error handler
8692
8693         * lyxtestclass.c: fix typo
8694
8695 2002-02-26  Juergen Vigna  <jug@sad.it>
8696
8697         * tabular_funcs.C (write_attribute): changed so that some default
8698         attributes are not written at all.
8699         (getTokenValue): set default values before trying to read the
8700         value so we have the return value always set as default if we don't
8701         find the token we search for.
8702
8703         * tabular.C (Write): write bools as bools not as strings!
8704
8705 2002-02-22  Juergen Vigna  <jug@sad.it>
8706
8707         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8708         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8709
8710         * text.C (leftMargin): don't add an indent for paragraphs inside
8711         tabular cells (fix #208).
8712
8713 2002-02-21  José Matos  <jamatos@fep.up.pt>
8714
8715         * tabular.C (docBook): fixed support for long tables.
8716
8717 2002-02-20  Juergen Vigna  <jug@sad.it>
8718
8719         * text2.C (getFont): get the drawing font of the Inset if this
8720         paragraph is inside an inset (only important for InsetERT for now).
8721
8722         * buffer.C (insertErtContents): use new lanugage params in ERT
8723         constructor.
8724
8725         * CutAndPaste.C: commenting out seemingly uneeded code.
8726
8727 2002-02-19  Allan Rae  <rae@lyx.org>
8728
8729         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8730         Iterators might be simple to use but they also get invalidated.
8731         (removeAutoInsets): renamed saved cursor tracking variables and added
8732         some comments to clarify what everything does.
8733
8734 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8735
8736         * Chktex.C:
8737         * LaTeX.C:
8738         * LyXSendto.C:
8739         * converter.C:
8740         * lyx_cb.C:
8741         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8742         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8743
8744         * lyxfunc.C:
8745         * vc-backend.h: remove #include "support/syscall.h"
8746
8747         * LaTeX.C:
8748         * LyXSendto.C:
8749         * converter.C: rearrange #includes in Lars' approved fashion.
8750
8751         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8752         forward declare class Timeout in the header file.
8753
8754         * XFormsView.C: changes due to the above.
8755
8756         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8757         similar to LyXView.
8758
8759         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8760         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8761
8762 2002-02-18  José Matos  <jamatos@fep.up.pt>
8763
8764         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8765         insets contents.
8766
8767 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8768
8769         * a lot of small ws changes
8770         * add a lot of using std::XXX
8771         * use std construcs some places where approp.
8772         * use some exisint stuff from lyxfunctional where approp.
8773         * Make file changes to use partial linking (lets test this now...)
8774
8775 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8776
8777         * Chktex.C:
8778         * buffer.C:
8779         remove #include "support/syscontr.h" as it's redundant. Always has been.
8780
8781         * Chktex.C:
8782         * LaTeX.C:
8783         * LyXSendto.C:
8784         * converter.C:
8785         * lyx_cb.C:
8786         * vc-backend.C:
8787         change Systemcalls::System to Systemcalls::Wait and
8788         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8789         No change of functionality, just reflects the stripped down Systemcalls
8790         class.
8791
8792 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8793
8794         * debug.[Ch]: add a GRAPHICS type to the enum.
8795
8796 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8799
8800         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8801         there is an inset.
8802
8803 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8806         match the changes below.
8807
8808         * text2.C (toggleInset): if there is not editable inset at cursor
8809         position, try to see if cursor is _inside_ a collapsable inset
8810         and close it.
8811
8812 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8815         document menu has a nice checkbox
8816
8817 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8818
8819         * lyxlength.C (asLatexString): change PW to output as percent of
8820         \textwidth.
8821
8822         * lengthcommon.C: change '%' to 't%'
8823
8824         * lyxfunc.C (dispatch): a few comments from Martin
8825
8826 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * WorkArea.h:
8829         * WorkArea.C:
8830         * BufferView_pimpl.h:
8831         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8832           the X selection.
8833
8834 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8835
8836         * vspace.C (inPixels): fix compiler warning
8837
8838 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8839
8840         * lyxfunc.C (getStatus): fix status message for disabled commands.
8841
8842 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8843
8844         * BufferView_pimpl.C: fix crash on close buffer
8845         during selection (#227)
8846
8847 2002-01-27  Herbert Voss  <voss@lyx.org>
8848
8849         * buffer.C: link old Figure to new graphic inset
8850
8851 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8852
8853         * FontLoader.C (getFontinfo): Change the latex font names in order
8854         to match the names of type1inst.
8855
8856 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8857
8858         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8859
8860         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8861         (extchanged): ditto
8862         (ext_exist): ditto
8863         (remove_files_with_extension): ditto
8864         (remove_file): ditto
8865         (write): ditto
8866
8867         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8868         document is smaller than the work area height. Do not initialize
8869         static variables to 0.
8870
8871 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8872
8873         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8874
8875         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8876         LFUN_LAYOUT_PARAGRAPHS.
8877
8878         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8879         tabular. It is possible to provide a possible cell, which will
8880         typically be the actcell from the corresponding insettabular
8881
8882         * lyxfunc.C (getStatus): small cleanup; disable
8883         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8884         true
8885
8886 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8889
8890         * paragraph.C (startTeXParParams):
8891         (endTeXParParams): new methods. The LaTeX code to
8892         start/end paragraph formatting
8893         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8894         empty (fixes bug #200)
8895
8896         * vspace.C (inPixels): adapt to the change below
8897         (inPixels): [later] more cleanups (remove unused variables)
8898
8899         * lyxlength.C (inPixels): change to use a width and a height as
8900         parameter.
8901
8902 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8903
8904         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8905         Replaced with \paperwidth
8906
8907         * DepTable.C (insert): add std:: qualifier
8908
8909 2002-01-18  Allan Rae  <rae@lyx.org>
8910
8911         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8912         updated also?
8913
8914         * text.C (drawInset): Turned out I didn't know enough about how
8915         rebreaking worked.  This fixes most of the redraw problems.  I see
8916         an occasional cursor trail when a line is broken now and the cursor
8917         placement can seem out by a few pixels also after a rebreak.
8918
8919 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * buffer.C (parseSingleLyXformat2Token): update because minipage
8922         width is now a LyXLength
8923
8924         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8925
8926         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8927         math insets
8928
8929 2002-01-17  Juergen Vigna  <jug@sad.it>
8930
8931         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8932
8933         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8934         is set correctly and the inset is updated correctly.
8935
8936 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8937
8938         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8939         the beginning of the loop.
8940
8941 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * lyxrc.C: improve help for use_scalable_fonts
8944
8945 2002-01-17  Allan Rae  <rae@lyx.org>
8946
8947         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8948
8949 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8952         make sure to set their inset_owner to the right value (bug #171)
8953
8954 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8955
8956         * DepTable.h
8957         * DepTable.C: Implement mtime checking to reduce time spent doing
8958         CRCs.
8959
8960 2002-01-16  Juergen Vigna  <jug@sad.it>
8961
8962         * tabular.C (GetAdditionalHeight): one of error fixed.
8963
8964         * lyxrc.C (output): small fix in writing use_pspell.
8965
8966 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8967
8968         * sp_base.h: #include LString.h
8969
8970 2002-01-16  Allan Rae  <rae@lyx.org>
8971
8972         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8973         Can someone check this please?
8974
8975         * text.C (drawInset): It was possible that p.row would be removed by
8976         breakAgainOneRow upsetting a few other settings.  There may be another
8977         small tweak possible by setting need_break_row = 0 when p.row has been
8978         removed but I don't know enough about the logic here.
8979
8980 2002-01-15  Allan Rae  <rae@lyx.org>
8981
8982         * text.C (insertChar): removed conditional truism.
8983
8984         * BufferView2.C (removeAutoInsets): More tweaks.
8985         cur_par_prev could be a stray pointer.  Check for trailing empty line
8986         in case last line was cur_par and only had an error inset on it.
8987
8988 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8991         absolute
8992
8993         * vc-backend.C (most methods):
8994         * exporter.C (Export):
8995         * converter.C (convert):
8996         (runLaTeX):
8997         * LyXSendto.C (SendtoApplyCB):
8998         * lyxfunc.C (dispatch):
8999         (menuNew):
9000         (open):
9001         (doImport):
9002         * lyx_cb.C (AutoSave):
9003         (InsertAsciiFile):
9004         * BufferView_pimpl.C (MenuInsertLyXFile):
9005         * buffer.C (runChktex): use Buffer::filePath().
9006
9007         * buffer.h: rename filename to filename_; rename filepath to
9008         filepath_ and make it private
9009         (filePath): new method
9010
9011         * buffer.C (writeFile): use fileName()
9012         (getLatexName):
9013
9014         * lyx_main.C (init): fix starting  of LyX when the binary is a
9015         link from so,ewhere else.
9016
9017         * minibuffer.C: include <cctype> for isprint
9018
9019 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9020
9021         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9022         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9023         name clash with InsetCollapsable's width function.
9024
9025 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9026
9027         * lastfiles.C: include <iterator>
9028
9029 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9030
9031         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9032         std::count.
9033
9034         * buffer.C (makeLaTeXFile): ditto.
9035         Also make loop operation more transparent.
9036
9037 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9038
9039         * ToolbarDefaults.C: remove trailing comma closing namespace.
9040
9041         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9042
9043         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9044         as in WorkArea.
9045
9046         * trans.C (Load): comment out unused variable, allowed.
9047
9048 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9049
9050         * minibuffer.[Ch] (append_char): new method to recieve input from the
9051         drop-down completion browser. If a key was pressed, then recieve this
9052         char and append it to the existing string.
9053         (peek_event): modify the positioning data passed to the completion
9054         browser so that it can be placed above the minibuffer rather than below.
9055 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * LyXAction.C (init): alloe error-next for readonly documents.
9058
9059         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9060         count.
9061
9062 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * bufferlist.C (readFile): create the buffer _after_ checking that
9065         the file exists.
9066
9067         * lyxfunc.C (verboseDispatch): fix handling of arguments
9068
9069         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9070
9071         * lyxrc.C: use string::erase() instead of initializing to "".
9072
9073
9074 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9075
9076         * BufferView_pimpl.h:
9077         * BufferView_pimpl.C:
9078         * WorkArea.h:
9079         * WorkArea.C:
9080         * text2.C: tell X when we have made a selection for copying
9081
9082 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9083
9084         * BufferView_pimpl.C (MenuInsertLyXFile):
9085         * lyxfunc.C (menuNew):
9086         (open):
9087         (doImport): add shortcuts to directory buttons
9088
9089         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9090         open a float)
9091
9092         * lyxfunc.C (setStatusMessage):
9093         (getStatusMessage): new methods
9094         (getStatus):use setStatusMessage instead of setErrorMessage
9095         (dispatch): when function is disabled, set error message here
9096         [instead of in getStatus previously]
9097
9098         * BufferView_pimpl.C (workAreaButtonRelease): update
9099         toolbar/menubar here too.
9100
9101 2002-01-13  Allan Rae  <rae@lyx.org>
9102
9103         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9104         Now seems indestructible.  Remaining task is to audit all other
9105         code affected by deleteEmptyParagraphMechanism.  One small quirk
9106         left is that an empty document with an error in the preamble can
9107         be made to report an error but no error box appears.  I don't know
9108         where it goes.
9109         (removeAutoInsets): Improved comments.
9110
9111 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * Thesaurus.h:
9114         * Thesaurus.C: update for Aiksaurus 0.14
9115
9116 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9117
9118         * text2.C (firstParagraph): removed member function, all uses
9119         replaces with ownerParagraph
9120         (redoParagraphs): here
9121         (updateInset): here
9122         (toggleAppendix): here
9123         * BufferView2.C (insertErrors): here
9124         (setCursorFromRow): here
9125
9126 2002-01-13  Allan Rae  <rae@lyx.org>
9127
9128         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9129         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9130         There is still a way to segfault this although you may have to do this
9131         multiple times: Have an InsetERT with an unknown command in it.
9132         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9133         <down-arrow>, <Enter> again, View->DVI, BANG!
9134
9135         * text2.C (setCursor):
9136         (deleteEmptyParagraphMechanism):
9137         * lyxtext.h (setCursor):
9138         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9139         Making use of the return value may help fix other bugs.
9140
9141 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9144
9145         * LyXView.C (updateMenubar): call MenuBar::update here
9146         (updateToolbar): but not here
9147         (showState): do not update toolbar/menubar
9148
9149         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9150         should need to care about that.
9151
9152         * lyxfunc.C (verboseDispatch): simplify a bit
9153         (getStatus): have a version which takes a pseudoaction, and
9154         another which requires a (kb_action,string).
9155
9156         * LyXAction.C (retrieveActionArg): make it work also when action
9157         is not a pseudo-action.
9158         (getActionName): simplify a bit
9159         (helpText):
9160
9161 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9162
9163         * lyxfunc.C (verboseDispatch): new families of methods with
9164         several ways to specify a command and a bool to indicate whether
9165         the command name and shortcut should be displayed in minibuffer
9166         (eventually, we could extend that to a finer bitmask like
9167         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9168         (dispatch): the pristine dispatch command which just, well,
9169         dispatchs! Note it still sets its result to minibuffer; I'm not
9170         sure we want that.
9171
9172         * lyxfunc.h: remove setHintMessage
9173
9174         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9175
9176 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9177
9178         * BufferView_pimpl.C (specialChar): delete new inset if we have
9179         not been able to insert it.
9180
9181         * kbmap.C: revert to using int instead of kb_action, since all we
9182         are dealing with is pseudo-actions.
9183
9184         * LyXAction.C (searchActionArg): change to return int instead of
9185         kb_action, since the result is a pseudoaction.
9186
9187 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9188
9189         * buffer.C (insertErtContents): Fix (partially) the font bug.
9190
9191 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9192
9193         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9194         as the other one is broken on my machine!
9195
9196 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9197
9198         * commandtags.h:
9199         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9200
9201 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9202
9203         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9204         reflect their actual use. Provide compatibility code for older lyxrc
9205         files.
9206
9207         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9208         FL_NORMAL_STYLE.
9209         change names of popup font variables in line with the changes to lyxrc.C
9210
9211 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9212
9213         * buffer.C (asciiParagraph): avoid outputing a word twice after
9214         an inset.
9215
9216         * lyxrc.C (getDescription): document that document_path and
9217         template_path can be empty.
9218
9219 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * LaTeXFeatures.C (getMacros):
9222         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9223
9224         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9225
9226         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9227         getPackages.
9228         (getPackages): rename feature "floats" to "float". Use an array to
9229         iterate over 'simple' features (i.e. just a \usepackage). Add
9230         handling of "amsmath" (renamed from "amsstyle").
9231
9232 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9233
9234         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9235         features list.
9236
9237 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9238
9239         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9240         FuncStaus::FuncStatus & FuncStaus::some_method().
9241
9242 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9243
9244         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9245         of the func_satus stuff. Edited and massaged in various ways by
9246         JMarc.
9247
9248         * lyxfunc.C (getStatus): use FuncStatus
9249
9250 2002-01-08  Juergen Vigna  <jug@sad.it>
9251
9252         * text.C (nextBreakPoint): use function Inset::isChar().
9253
9254         * paragraph.C (TeXOnePar): use function
9255         Inset::forceDefaultParagraphs.
9256
9257         * buffer.C (latexParagraphs): use function
9258         Inset::forceDefaultParagraphs.
9259
9260 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9261
9262         * lyx_gui.C (init): set the style of the menu popups to
9263         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9264
9265 2002-01-07  Juergen Vigna  <jug@sad.it>
9266
9267         * text.C (setHeightOfRow): small fix
9268         (prepareToPrint): don't look at alignment if we don't have the place
9269         for doing it.
9270
9271 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9272
9273         * box.C: New file. Move the Box methods and functions out of box.h,
9274         following Lars' suggestion.
9275
9276 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9277
9278         * box.h: #include "support/LOstream.h", needed for inlined function.
9279
9280         * lyxtextclass.C:
9281         * lyxtextclasslist.C: added some using std declarations.
9282
9283 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * box.h: make signed dimensions to allow insets wider than
9286           the screen (bug #162)
9287
9288         * BufferView_pimpl.C: add some insetHit debug
9289
9290 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9291
9292         * vc-backend.C: add FIXME
9293
9294 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * lyxfunc.C (getStatus): enable code for showing math font status
9297         in toolbar/menu.
9298
9299 2002-01-07  Juergen Vigna  <jug@sad.it>
9300
9301         * text.C (nextBreakPoint): removed debug output not needed anymore.
9302
9303 2002-01-06  Juergen Vigna  <jug@sad.it>
9304
9305         * text.C (nextBreakPoint): fixed up this function we had this bug
9306         since ever but now hopefully we break row better.
9307         (insertChar): we have to check if an inset is the next char as it
9308         could now happen that a large inset is causing a break.
9309
9310 2002-01-05  Juergen Vigna  <jug@sad.it>
9311
9312         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9313         if it doesn't like to be drawed.
9314
9315 2002-01-04  Juergen Vigna  <jug@sad.it>
9316
9317         * BufferView2.C (lockInset): forgot to set a cursor.
9318
9319         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9320
9321 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9322
9323         * FormMathsPanel.C:
9324         * FormMathsPanel.h
9325         * MathsSymbols.C:
9326         * form_maths_panel.C:
9327         * form_maths_panel.h:
9328         * form_maths_panel.fd: implemented sub- and super- buttons in math
9329         panel.
9330
9331         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9332         (or ^ space) to be used as in TeX (req'd by André).
9333
9334         * lyxfunc.C: Allow ^ and _ again to be used both as
9335         super/subscript (mathed) and as themselves (in text).
9336
9337 2002-01-03  Allan Rae  <rae@lyx.org>
9338
9339         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9340         "LyX" or the filename of the current buffer if it has one.  This is a
9341         modified form of John Levon's patch.
9342
9343         * XFormsView.C (setWindowTitle): also set icon title.
9344
9345         * LyXView.h (setWindowTitle): signature changed.
9346         * XFormsView.h (setWindowTitle): ditto.
9347
9348 2002-01-02  Juergen Vigna  <jug@sad.it>
9349
9350         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9351
9352 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * screen.C (topCursorVisible): introduce a temp var for
9355         text->cursor.row(), handle the case where this row is null. (kindo
9356         hachish)
9357
9358         * text2.C (setCursor): add a couple of asserts.
9359
9360         * paragraph.h (inset_iterator): add -> operator
9361
9362         * paragraph.[Ch] (autoDeleteInsets): remove member function
9363
9364         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9365         cursor pos correctly and handle inset deletion by itself.
9366         (insertErrors): move iterator declaration out of for expression
9367
9368         * lyxtextclass.C: add <algorithm>
9369
9370         * Makefile.am: added the new files to sources, removed layout.C
9371
9372         * layout.C: removed file
9373
9374         * layout.h: remove LYX_DUMMY_LAYOUT
9375
9376         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9377         layout.
9378
9379         * lyxlayout.[Ch]:
9380         * lyxtextclass.[Ch]:
9381         * lyxtextclasslist.[Ch]: new files
9382
9383         * include order changes to a lot of files, also changes because of
9384         the six new files.
9385
9386 2001-12-27  Juergen Vigna  <jug@sad.it>
9387
9388         * buffer.C (asciiParagraph): more fixes.
9389
9390         * tabular.C (ascii): make ascii export support export of only the
9391         data separated by a column-delimiter.
9392         (ascii): better support for ascii export.
9393
9394         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9395
9396 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9397
9398         * tabular_funcs.C: use a "using std::getline" instead of the
9399         previous fix from Angus (necessary for cxx + lyxstring)
9400
9401 2001-12-24  Juergen Vigna  <jug@sad.it>
9402
9403         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9404
9405         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9406         problems. First check a minipage also if we have some ert-contents
9407         (not only on par->size(), second set the right depth of the paragraph
9408         on the relink to the root-paragraph-list!
9409
9410         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9411         which then did not anymore update the main paragraphs on undo/redo!
9412
9413 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9414
9415         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9416         code. Support all font-changing funcs (even those which are not in
9417         menu currently). Support for reporting font settings in
9418         mathed (disabled until Andre provides a function on mathed's side).
9419
9420         * func_status.h (toggle): small helper function to set toggle
9421         state on a flag.
9422
9423 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9424
9425         * tabular_funcs.C: getline -> std::getline
9426
9427 2001-12-21  Juergen Vigna  <jug@sad.it>
9428
9429         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9430         accessed and could be 0 (I couldn't generate this but it seems
9431         Michael could!).
9432
9433 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9434
9435         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9436         * tabular_funcs.h: here and include iosfwd
9437
9438 2001-12-20  Juergen Vigna  <jug@sad.it>
9439
9440         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9441         inside inset but undo_par was.
9442
9443 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * Thesaurus.C: always include <config.h> in sources.
9446
9447         * Painter.h:
9448         * lyxlookup.h:
9449         * box.h: do not include <config.h> in header files
9450
9451         * text.C (paintLastRow): remove unused variable
9452
9453         * text.C (transformChar):
9454         (insertChar):
9455         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9456
9457         * Painter.C (text):
9458         * font.C (width): rewrite to use uppercase() instead of
9459         islower/toupper.
9460
9461         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9462
9463 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * lyxfind.C: clean up of find failure position change
9466
9467 2001-12-20  Juergen Vigna  <jug@sad.it>
9468
9469         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9470
9471         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9472         (TeXRow): added to LaTeX a single tabular row.
9473         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9474         (Latex): simplified and finally good LT-h/f support.
9475         (various_functions): just small adaptions for LT-h/f support.
9476
9477         * tabular_funcs.[hC]: added and moved here all not classfunctions
9478         of LyXTabular.
9479
9480 2001-12-19  Juergen Vigna  <jug@sad.it>
9481
9482         * tabular.[Ch]: better support for longtabular options (not finished
9483         yet!)
9484
9485 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * text.C (paintLastRow): use the label font instead of the font of
9488         the last character to compute the size of *_BOX. This makes more
9489         sense and avoids a crash with empty paragraphs.
9490         Use Painter::rectangle to draw EMPTY_BOX.
9491
9492 2001-12-19  Juergen Vigna  <jug@sad.it>
9493
9494         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9495         the paragraphs if the replaced paragraph is not the first one!
9496         Tried to delete not used paragraphs but does not work yet so for
9497         now it's inside #ifdef's and by default off!
9498
9499 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * MenuBackend.C: include "lyx_main.h" instead of declaring
9502         lastfiles (actually was declared as LastFiles* instead of a
9503         scoped_ptr).
9504
9505 2001-12-17  Juergen Vigna  <jug@sad.it>
9506
9507         * tabular.C (AppendColumn): applied John's fix
9508
9509 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * BufferView.h:
9512         * BufferView.C:
9513         * BufferView_pimpl.h:
9514         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9515
9516         * Makefile.am:
9517         * box.h: new start of class for above
9518
9519         * lyxfunc.C: ignore space-only minibuffer dispatches.
9520           Show the command name when it doesn't exist
9521
9522         * minibuffer.C: don't add empty lines to the history
9523
9524         * minibuffer.C: add a space on dropdown completion
9525
9526 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * text.C: fix line above/below drawing in insets
9529
9530 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * lyxlength.C (LyXLength): Initialize private variables.
9533
9534 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9535
9536         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9537         when inserting error insets.
9538
9539 2001-12-13  Juergen Vigna  <jug@sad.it>
9540
9541         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9542         actually sometimes the before-paragraph.
9543         (setUndo): don't clear the redostack if we're not actually undoing!
9544
9545 2001-12-06  Juergen Vigna  <jug@sad.it>
9546
9547         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9548         and fixed redoing of main paragraph, so we can use it now ;)
9549
9550         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9551
9552 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9553
9554         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9555         Juergen's request
9556
9557 2001-12-13  André Pönitz <poenitz@gmx.net>
9558
9559         * undostack.[Ch]:
9560         * undo_func.C: minor cleanup
9561
9562 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9565         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9566         font in urw-fonts package which is marked as -urw-fontspecific and
9567         does not work (incidentally, changing the encoding in the
9568         fonts.dir of this package to -adobe-fontspecific fixes the
9569         problem).
9570
9571         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9572         is a crash when undoing first paragraph (Juergen, please take a
9573         look). THis does not mean the undo fix is wrong, just that it
9574         uncovers problems.
9575
9576         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9577         the (Paragraph*) version when needed instead of duplicating the
9578         code.
9579
9580         * text.C (workWidth): use Inset::parOwner to find out where the
9581         inset has been inserted. This is a huge performance gain for large
9582         documents with lots of insets. If Inset::parOwner is not set, fall
9583         back on the brute force method
9584
9585         * paragraph_pimpl.C (insertInset):
9586         * paragraph.C (Paragraph):
9587         (cutIntoMinibuffer): set parOwner of insets when
9588         inserting/removing them
9589
9590         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9591
9592 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9593
9594         * commandtags.h:
9595         * LyXAction.C:
9596         * lyx_main.C:
9597         * lyxfunc.C:
9598         * mathed/formulabase.C:
9599         * mathed/math_cursor.[Ch]:
9600         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9601
9602
9603 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9604
9605         * lyxlength.[Ch] (operator!=): new function
9606
9607 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9608
9609         * text.C (workWidth): use Inset::parOwner to find out where the
9610         inset has been inserted. This is a huge performance gain for large
9611         documents with lots of insets. If Inset::parOwner is not set, fall
9612         back on the brute force method
9613
9614         * paragraph_pimpl.C (insertInset):
9615         * paragraph.C (Paragraph):
9616         (cutIntoMinibuffer): set parOwner of insets when
9617         inserting/removing them
9618
9619         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9620
9621 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * tabular-old.C (getTokenValue):
9624         * tabular.C (getTokenValue):
9625         (write_attribute): new versions for LyXLength
9626         (everywhere): adjust the use of widths
9627
9628         * tabular.h: change the type of widths from string to LyXLength
9629
9630 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9631
9632         * paragraph.C: fixed missing line number count when exporting
9633         Environments to LaTeX file
9634
9635         * buffer.C: added informational message for checking line numbers.
9636
9637 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9638
9639         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9640         paragraph, do the 'double space' part, but not the 'empty
9641         paragraph' one.
9642
9643         * text.C (workWidth): small optimization
9644         (getLengthMarkerHeight): use minimal size for negative lengths.
9645
9646 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9649
9650         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9651
9652 2001-12-11  André Pönitz <poenitz@gmx.net>
9653
9654         * FontLoader.C:
9655         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9656
9657 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9658
9659         * text2.C: keep selection on a setFont()
9660
9661 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9662
9663         * lyx_cb.C: another bv->text misuse, from insert label
9664
9665 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9666
9667         * kbsequence.h:
9668         * kbsequence.C: re-instate nmodifier mask
9669
9670 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9671
9672         * lyx_main.h: make lyxGUI private.
9673
9674 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * lyxfind.C: place the cursor correctly on failed search
9677
9678 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9679
9680         * text.C (getLengthMarkerHeight): for small heights, the arrows
9681         are not always on top/bottom of the text
9682         (drawLengthMarker): smaller arrows; take the left margin in
9683         account; draw also vfills.
9684         (paintFirstRow):
9685         (paintLastRow): remove special code for vfill and standard spaces,
9686         since everything is handled in drawLengthMarker now.
9687
9688 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9689
9690         * buffer.C (insertErtContents): try to handle font and language
9691         interaction a bit better.g
9692
9693         * ColorHandler.C (updateColor): change the hash to cover the whole
9694         LColor enum, ws cleanup
9695         (getGCLinepars): ditto
9696         (getGCLinepars): only lookup in the linecache once.
9697
9698 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9699
9700         * iterators.C (operator++): Make the iterator more robust
9701
9702         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9703         (John's patch)
9704         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9705
9706 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * lyxtext.h:
9709         * text.C: better added space drawing
9710
9711 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * LyXView.C:
9714         * BufferView2.C: fix layout combo update on inset unlock
9715
9716 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * Makefile.am: don't compile unused files
9719
9720 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * lyxfunc.C:
9723         * commandtags.h:
9724         * LyXAction.C: remove old LFUN_LAYOUTNO
9725
9726 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * paragraph_pimpl.h:
9729         * paragraph_pimpl.C: isTextAt() doesn't need font param
9730
9731 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * lyxlex.h:
9734         * lyxlex.C: little cleanup
9735
9736 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * BufferView_pimpl.C: fix insertAscii for insets
9739
9740 2001-12-05  Juergen Vigna  <jug@sad.it>
9741
9742         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9743         set the right font on the "multi" paragraph paste!
9744
9745 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9746
9747         * trans_decl.h:
9748         * trans_mgr.[Ch]:
9749         * trans.[Ch]:
9750         * lyxgluelength.C:
9751         * lyxlength.C: remove out-commented code.
9752
9753         * BufferView_pimpl:
9754         * CutAndPaste.C:
9755         * DepTable.C:
9756         * buffer.C:
9757         * chset.C:
9758         * lastfiles.C:
9759         * lyxlex.C:
9760         * lyxlex_pimpl.C:
9761         * lyxserver.C:
9762         * screen.C:
9763         * tabular-old.C:
9764         * tabular.C:
9765         * text.C:
9766         * trans_mgr.C:
9767         * vc-backend.C: change "while(" to "while ("
9768
9769         * lyxlength.[Ch]: add zero function to check if length is zero or
9770         not
9771         * lyxgluelength.C: use it
9772
9773 2001-12-05  Allan Rae  <rae@lyx.org>
9774
9775         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9776         Works for 2.95.3, from what I understand of Garst's reports this should
9777         work for other g++ versions.  We're screwed if the abs(int) definition
9778         changed between bugfix releases of gcc.
9779
9780 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * text.C: fix chapter label offset !
9783
9784 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9785
9786         * lyxtext.h:
9787         * text.C: fix hfill at end of line, clean up
9788
9789 2001-12-04  Juergen Vigna  <jug@sad.it>
9790
9791         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9792         that we force an update of the inset and it's owners if neccessary.
9793
9794 2001-12-03  Juergen Vigna  <jug@sad.it>
9795
9796         * text.C (rowLast): simplified code
9797
9798 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9799
9800         * lyxfunc.C: fix show options on timeout
9801
9802 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9803
9804         * screen.C (topCursorVisible): scroll half a page when the cursor
9805         reached top of bottom of screen
9806
9807 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * minibuffer.C: deactivate on loss of focus
9810
9811 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9812
9813         * vspace.[Ch] (operator!=): add operator.
9814
9815 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * BufferView_pimpl.C: refuse to open an inset when
9818         there's a selection.
9819
9820 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * BufferView_pimpl.C: allow to click on RHS of full row insets
9823
9824 2001-11-30  Juergen Vigna  <jug@sad.it>
9825
9826         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9827         insets for undo reasons.
9828
9829 2001-11-28  André Pönitz <poenitz@gmx.net>
9830
9831         * vspace.[Ch]: cosmetical changes
9832
9833 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * LyXAction.h:
9836         * LyXAction.C:
9837         * lyxfunc.h:
9838         * lyxfunc.C:
9839         * kbmap.h:
9840         * kbmap.C:
9841         * lyxrc.C:
9842         * kbsequence.h:
9843         * kbsequence.C: part re-write of old kb code
9844
9845         * Painter.C:
9846         * WorkArea.C: remove Lgb_bug_find_hack
9847
9848 2001-11-30  José Matos <jamatos@fep.up.pt>
9849
9850         * buffer.C (makeDocBookFile): add a comment to point a hack.
9851         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9852         Fixed a double write of labels.
9853
9854 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9855
9856         * LaTeX.C:
9857         * LaTeX.h Fixed bug in LaTeX class where it would not
9858         re-run latex if no depfiles were changed, but the .dvi was removed.
9859
9860 2001-11-28  André Pönitz <poenitz@gmx.net>
9861
9862         * all the files from the change on 2001/11/26:
9863         use lyx::layout_type instead of LyXTextClass::size_type
9864         use lyx::textclass_type instead of LyXTextClassList::size_type
9865
9866 2001-11-29  Juergen Vigna  <jug@sad.it>
9867
9868         * text.C: added support for paragraph::isFreeSpacing()
9869
9870         * buffer.C: same as above
9871
9872         * paragraph.h: inserted isFreeSpacing() function to enable
9873         FreeSpacing inside InsetERT.
9874
9875         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9876         of the paragraph's in the cut/copy buffer to 0!
9877
9878         * text2.C (removeRow): remove the assert as it can!
9879
9880         * lyxtext.h: added helper function firstRow returning firstrow and
9881         made firstrow private again.
9882
9883         * BufferView2.C (lockInset): don't relock if we're already locked!
9884
9885         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9886         the only paragraph.
9887         (removeRow): added Assert::(firstrow)
9888
9889         * debug.C: forgot to add INSETTEXT here.
9890
9891 2001-11-28  Juergen Vigna  <jug@sad.it>
9892
9893         * sp_spell.C (initialize): changed error text to more general
9894         spellchecker command use (not only ispell!)
9895
9896         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9897
9898         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9899
9900 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * vspace.C: initialise lyxgluelength on failure
9903
9904 2001-11-28  Allan Rae  <rae@lyx.org>
9905
9906         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9907         declaration & definition that looks like a function declaration.
9908
9909 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9910
9911         * BufferView2.C (copy):
9912         (copyEnvironment): do not clear the selection when doing a copy.
9913
9914         * text.C (paintFirstRow): compilation fix
9915
9916 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9917
9918         * tabular.C (Latex): correct line count when writing latex.
9919
9920 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * paragraph_pimpl.h:
9923         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9924           bug a bit
9925
9926 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * text.C:
9929         * LColor.h:
9930         * LColor.C: change vfillline->added_space
9931
9932         * text.C: add markers and text for added space
9933
9934         * vspace.C: fix comment
9935
9936 2001-11-28  André Pönitz <poenitz@gmx.net>
9937
9938         * paragraph.C: whitespace changes
9939         * all the other files from the change on 2001/11/26:
9940         change *::pos_type into lyx::pos_type
9941
9942 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9943
9944         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9945         language of the document when inserting error insets.
9946
9947 2001-11-26  André Pönitz <poenitz@gmx.net>
9948
9949         * BufferView_pimpl.[Ch]:
9950         *       CutAndPaste.C:
9951         * buffer.[Ch]:
9952         * lyxcursor.[Ch]:
9953         * lyxfind.C:
9954         * lyxfunc.C:
9955         * lyxrow.[Ch]:
9956         * paragraph.[Ch]:
9957         * paragraph_pimpl.[Ch]:
9958         * sp_spell.C:
9959         * text.C:
9960         * text2.C: reduce header dependencies, introduce type for positions
9961
9962 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * <various>: change to use Alert.h
9965
9966 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9967
9968         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9969         when encountering an unknown token.
9970         (readLyXformat2): Show an error message if there were unknown tokens.
9971
9972 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * BufferView2.C:
9975         * BufferView_pimpl.C:
9976         * buffer.C:
9977         * paragraph.h:
9978         * text.C:
9979         * text2.C: use par->isInset()
9980
9981 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * paragraph_pimpl.h:
9984         * paragraph_pimpl.C: cleanup
9985
9986 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9987
9988         * text2.C (removeRow):
9989         * text.C (setHeightOfRow): remove useless (and costly) call to
9990         getRow.
9991
9992 2001-11-20  Allan Rae  <rae@lyx.org>
9993
9994         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9995         Now need Inset*::checkInsertChar() to return true for appropriate
9996         cases so that the characters in the minibuffer will actually be
9997         inserted.
9998
9999 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10000
10001         * text.C: change the order of the includes.
10002         (workWidth): initialize it at once.
10003         (workWidth): make maxw unsigned
10004         (setHeightOfRow): remove unused variable (inset)
10005         (selectSelectedWord): remove unused variable (inset)
10006         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10007
10008 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10009
10010         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10011         server is not running.
10012         (openConnection):
10013         (closeConnection): add debug info when server is disabled.
10014
10015         * ColorHandler.C (getGCForeground): send debug message to GUI
10016         channel.
10017
10018         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10019
10020         * kbmap.C (bind): modify because return conventions of
10021         kb_sequence::parse have changed.
10022
10023         * kbsequence.C (parse): only ignore spaces and not any stupid
10024         control character. This avoids tests like s[i] <= ' ', which are
10025         guaranteed to fail with 8bit characters and signed chars.
10026         Change return code to string::npos when there have been no error
10027         (0 was a bad idea when error is at first character)
10028
10029 2001-11-14  José Matos  <jamatos@fep.up.pt>
10030
10031         * buffer.h:
10032         * buffer.C (simpleDocBookOnePar): removed unused argument.
10033
10034 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10035
10036         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10037         insets which are part of a word. Paragraph::isLetter takes care of
10038         that now. Use Paragraph::isInset to identify insets.
10039         (selectSelectedWord): do not test for hyphenation break.
10040
10041         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10042         that protected spaces are considered as spaces.
10043
10044         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10045         Inset::isLetter.
10046
10047 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * lyxserver.h:
10050         * lyxserver.C: fix it. and small cleanup.
10051
10052 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10053
10054         * BufferView_pimpl.C: use inline helpers
10055
10056         * LaTeXFeatures.h:
10057         * LaTeXFeatures.C: fix typos
10058
10059         * Spacing.h:
10060         * Spacing.C: move spacing_string into class
10061
10062         * ToolbarDefaults.C: move stuff into namespace anon
10063
10064         * layout.h: update enum
10065
10066         * lyxfunc.C: use better debug
10067
10068         * minibuffer.h: fix typo
10069
10070         * debug.h:
10071         * debug.C:
10072         * WorkArea.C: add and use Debug::WORKAREA
10073
10074         * lyxtext.h:
10075         * text.C:
10076         * text2.C: code re-organisation, inline helpers
10077
10078 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10079
10080         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10081         std::vector.empty().
10082
10083 2001-11-09  Allan Rae  <rae@lyx.org>
10084
10085         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10086         '\n's after tables.  Tabular and ERT inset work now makes this no
10087         longer necessary.
10088
10089 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * minibuffer.h:
10092         * minibuffer.C: fix crash, improve drop-down completion
10093
10094 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * lyxserver.h:
10097         * lyxserver.C: invalidate fd's when doing endPipe()
10098
10099 2001-11-08  José Matos  <jamatos@fep.up.pt>
10100
10101         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10102         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10103
10104         * paragraph.h:
10105         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10106
10107 2001-11-07  José Matos  <jamatos@fep.up.pt>
10108
10109         * buffer.h:
10110         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10111         const qualifier.
10112
10113         * buffer.C (sgmlOpenTag):
10114         * buffer.C (sgmlCloseTag): removed debug info.
10115
10116         * buffer.h (sgmlOpenTag):
10117         * buffer.h (sgmlCloseTag): made public.
10118
10119 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10120
10121         * buffer.C (saveParamsAsDefaults):
10122         * lyx_cb.C (MenuLayoutSave): remove
10123
10124         * LyXAction.C (init):
10125         * commandtags.h:
10126         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10127
10128 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10129
10130         * buffer.C (setPaperStuff): removed from here...
10131
10132         * bufferparams.C (setPaperStuff): ... and moved there.
10133
10134 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * minibuffer.h:
10137         * minibuffer.C:
10138         * XFormsView.C: add support for drop-down completion
10139
10140 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10141
10142         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10143         commands.
10144
10145 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10146
10147         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10148         disabled.
10149
10150 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * lyx_main.C: change ref to known bugs
10153
10154 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10155
10156         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10157         to work around older babel problems.
10158
10159 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10160
10161         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10162
10163 2001-10-24  Juergen Vigna  <jug@sad.it>
10164
10165         * tabular-old.C (ReadOld): below variable changes reflected.
10166
10167         * tabular.[Ch]: added ltType struct for longtable header/footer
10168         defines and changed all instances where they are used. Added
10169         future support for double top/bottom rows.
10170
10171 2001-10-24  José Matos  <jamatos@fep.up.pt>
10172
10173         * buffer.h (docbookHandleCaption):
10174         * buffer.C (docbookHandleCaption): removed unused function.
10175         (makeDocBookFile): moved docbook supported version to v4.1.
10176
10177 2001-10-24  José Matos  <jamatos@fep.up.pt>
10178
10179         * tabular.h:
10180         * tabular.C (docbookRow): new function to export docbook code of a row.
10181         (DocBook): now honors the longtable flags.
10182
10183 2001-10-23  José Matos  <jamatos@fep.up.pt>
10184
10185         * LaTeXFeatures.h:
10186         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10187         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10188
10189         * buffer.C (makeLinuxDocFile):
10190         (makeDocBookFile): reworked the preamble, more clean, and with
10191         support for lyx defined entities. Changed the document declaration
10192         to be more XML friendly.
10193
10194         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10195         if we need to output XML that should be done with a filter.
10196
10197 2001-10-22  Juergen Vigna  <jug@sad.it>
10198
10199         * sp_pspell.h (class PSpell): add alive function needed in the
10200         controller to see if the spellchecker could be started.
10201
10202 2001-10-22  Juergen Vigna  <jug@sad.it>
10203
10204         * buffer.C (insertStringAsLines): modify the font for inserting
10205         chars in certain conditions by calling checkInsertChar(font).
10206
10207 2001-10-19  Juergen Vigna  <jug@sad.it>
10208
10209         * text.C (workWidth): use getRow instead of wrong algorithm.
10210         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10211
10212 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * lyxserver.h:
10215         * lyxserver.C:
10216         * lyx_main.h:
10217         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10218
10219 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10220
10221         * text.C (workWidth): do not search for the exact row when
10222         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10223         optimization for big documents.
10224
10225 2001-10-18  Juergen Vigna  <jug@sad.it>
10226
10227         * text.C (workWidth): new function with added Inset * parameter.
10228
10229 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10230
10231         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10232
10233         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10234         change return type of getColumnNearX.
10235
10236
10237         * text.C (changeRegionCase): use uppercase/lowercase instead of
10238         toupper/tolower.
10239         (leftMargin):
10240         (rightMargin): simplify code by factoring out the uses of
10241         textclasslist.
10242         (labelFill):
10243         (numberOfHfills):
10244         (setHeightOfRow):
10245         (appendParagraph): use Paragraph::size_type
10246
10247 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10248
10249         * vspace.C (asLatexString): add a missing break
10250
10251 2001-10-15  Herbert Voss  <voss@perce.de>
10252
10253         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10254
10255 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10256
10257         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10258         is not available.
10259
10260 2001-10-10  André Pönitz <poenitz@gmx.net>
10261
10262         * lyxfunc.C: removed greek_kb_flag.
10263
10264 2001-10-10  Herbert Voss  <voss@perce.de>
10265
10266         * lyx_main.C: delete global string help_lyxdir.
10267
10268 2001-10-09  Herbert Voss  <voss@perce.de>
10269
10270         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10271
10272         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10273
10274         * lyx_main.C: added global string help_lyxdir.
10275
10276         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10277
10278 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10279
10280         * lyxrc.C (set_font_norm_type): support iso8859-4
10281
10282 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10283
10284         * LaTeX.C (deplog): add another regex for MikTeX
10285
10286 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10287
10288         * lyxrc.C (set_font_norm_type): support iso8859-3
10289
10290 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10293
10294         * LaTeXFeatures.C: remove special case of french and index
10295
10296         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10297         before \begin{document}). This solves several incompatibilities.
10298
10299 2001-10-03  Garst Reese  <reese@isn.net>
10300
10301         * lyx_cb.C: change CheckTex error msg.
10302
10303 2001-10-03  José Matos  <jamatos@fep.up.pt>
10304
10305         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10306
10307 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10308
10309         * .cvsignore: update
10310
10311         * lyx_main.C (commandLineVersionInfo): use new style version info.
10312
10313         * buffer.C (writeFile):
10314         (makeLaTeXFile):
10315         (makeLinuxDocFile):
10316         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10317
10318         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10319
10320         * version.h: update to use stuff in version.C
10321
10322         * version.C.in: new file. Contains version information determined
10323         at compile time. This is a merging of version.h and
10324         version_info.h.in.
10325
10326 2001-10-03  Juergen Vigna  <jug@sad.it>
10327
10328         * BufferView_pimpl.C (update): don't change "dirty" status in
10329         updateInset call.
10330
10331 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10332
10333         * WorkArea.C (c-tor): re-position version string slightly.
10334
10335 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10336
10337         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10338         revert to previous code.
10339
10340         WorkArea.[Ch]: (show, destroySplash): methods removed.
10341
10342         WorkArea.C: rework code so that it's an amalgam of the codes before and
10343         after the splash screen was moved to WorkArea.
10344
10345 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10346
10347         * lyxrc.C (read):
10348         * vspace.C (inPixels):
10349         (lyx_advance):
10350         * kbmap.C (bind):
10351         * buffer.C (insertStringAsLines):
10352         (asciiParagraph): fix types to be large enough
10353
10354         * lyxlex_pimpl.h: change member status from short to int
10355
10356         * layout.h: fix type of endlabeltype
10357
10358         * kbmap.C (bind):
10359         * kbsequence.C (parse): change return type to string::size_type
10360
10361         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10362         variable
10363
10364         * Bullet.C (bulletSize):
10365         (bulletEntry): do not use short ints as parameters
10366
10367         * BufferView2.C (insertLyXFile): change a char to an int.
10368
10369         * WorkArea.C (WorkArea): remove unneeded floats in computation
10370
10371 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10372
10373         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10374
10375         * paragraph.C (asString): Do not ignore newline/hfill chars when
10376         copying to the clipboard.
10377
10378 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10379
10380         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10381         after a multi-line inset.
10382
10383 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10384
10385         * paragraph.C (validate): Set NeedLyXFootnoteCode
10386
10387 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10390         and decrease-error to decrease.
10391
10392 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10393
10394         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10395         it more readable (should be equivalent)
10396
10397 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10398
10399         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10400
10401 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10402
10403         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10404         of a cursor (row, etc.) after a character has been deleted
10405         (deleteEmptyParagraphMechanism): call the method above on _all_
10406         cursors held by the LyXText when a double space has been
10407         detected/deleted.
10408
10409 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10410
10411         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10412         pixmap.
10413         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10414
10415         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10416         background. Use greyOut() and the new show() methods to toggle between
10417         the foreground and background. Add code to remove the splash after
10418         its initial showing.
10419
10420         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10421         (create_forms): no longer call Dialogs::showSplash.
10422
10423 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10424
10425         * .cvsignore: add version_info.h
10426
10427 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10428
10429         * version_info.h.in: new file
10430
10431         * Makefile.am: add version_info.h.in
10432
10433         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10434         version_info.h instead of VERSION_INFO
10435
10436 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10437
10438         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10439         The ERT inset now returns string().
10440
10441 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10442
10443         * lyxtext.h, text.C (selectNextWord): renamed as
10444         selectNextWordToSpellcheck.
10445
10446         * text.C (selectNextWordToSpellcheck): Modified to not select
10447         words inside an ERT inset.
10448
10449 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10450
10451         * lyx_cb.C (MenuLayoutSave): change a bit the question
10452
10453         * sp_base.h: include <sys/types.h>
10454
10455 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10456
10457         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10458
10459 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10460
10461         * several files: fix typos in user-visible strings
10462
10463 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10464
10465         * text2.C (pasteSelection): do not set the selection, since it
10466         will be cleared later. Actually, the intent was to fix the way the
10467         selection was set, but I figured rmoving the code was just as good.
10468
10469 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10470
10471         * FontLoader.C (available): Check if font is available without
10472         loading the font.
10473
10474 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10475
10476         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10477
10478 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10479
10480         * lyxrc.[Ch]: added display_graphics variable and associated code.
10481
10482 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10483
10484         * bufferparams.C (hasClassDefaults): new method. Returns true if
10485         the buffer parameters correspond to known class defaults
10486
10487 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10488
10489         * XFormsView.C (show): set minimum size to the main window.
10490
10491 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10492
10493         * text2.C (copySelection):
10494         (cutSelection):
10495         * lyxfind.C (LyXReplace):
10496         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10497         LyXText::selectionAsString.
10498
10499         * paragraph.C (asString): add "label" argument to the second form
10500
10501         * text2.C (selectionAsString): add "label" argument and pass it to
10502         Paragraph::asString.
10503
10504 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10505
10506         * lyx_main.C (commandLineHelp): remove version information
10507
10508 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10509
10510         * lyx_main.C: add -version commandline option
10511
10512 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * paragraph.h: make the optional constructor arg required instead.
10515         some modifications to other files because of this.
10516
10517         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10518
10519         * lyxserver.C (C_LyXComm_callback): make it static
10520
10521         * lyx_main.C (error_handler): make it static
10522
10523         * lyx_gui.C (LyX_XErrHandler): make it static
10524
10525         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10526
10527         * WorkArea.C: make the extern "C" methods static.
10528
10529         * Makefile.am (lyx_LDADD): simplify
10530
10531 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10532
10533         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10534         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10535
10536         * LyXAction.C (init):
10537         * lyxfunc.C (dispatch): associated code removal.
10538
10539 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10540
10541         * lyxfont.h (isSymbolFont): shut off warning
10542
10543         * text.C (setHeightOfRow):
10544         (getVisibleRow): fix crash with empty paragraphs which have a
10545         bottom line
10546
10547 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10548
10549         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10550         code.
10551
10552 2001-09-04  José Matos  <jamatos@fep.up.pt>
10553         * buffer.C
10554         * buffer.h
10555         * tabular.C (docbook): rename docBook method to docbook.
10556
10557 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10558
10559         * Makefile.am: add dependencies to main.o.
10560
10561 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10562
10563         * FontLoader.C (available): Return false if !lyxrc.use_gui
10564
10565 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10566
10567         * FontInfo.C (query):
10568         * converter.C (view):
10569         * importer.C (Import):
10570         * exporter.C (Export): Can not -> cannot.
10571
10572 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * BufferView_pimpl.C: allow to create index inset even if
10575           string is empty
10576
10577 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10578
10579         * buffer.C (getLists): replace boost::tie code with an explicit pair
10580         as boost::tie can break some compilers.
10581
10582         * iterators.h: Added a std:: declaration to the return type of
10583         ParIterator::size.
10584
10585 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10588           case.
10589
10590 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * iterators.[Ch]: New files. Provide paragraph iterators.
10593
10594         * buffer.C (changeLanguage): Use paragraph iterators.
10595         (isMultiLingual): ditto
10596
10597         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10598
10599 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10600
10601         * FontLoader.C: Support for cmr font.
10602
10603 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10606         (available): New method.
10607
10608         * FontInfo.C (getFontname): Use scalable fonts even when
10609         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10610         found.
10611
10612 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10613
10614         * converter.C (Formats::view): reverted! Incorrect fix.
10615
10616 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10617
10618         * converter.C (Formats::view): only output the -paper option
10619         if the dvi viewer is xdvi, thereby fixing bug #233429.
10620
10621 2001-08-23  Herbert Voss  <voss@perce>
10622
10623         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10624
10625 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * Spacing.h (Spacing): Set space to Default on in the default
10628         constructor.
10629
10630 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * vc-backend.h (RCS::versionString): add RCS to version
10633         (CVS::versionString): add CVS to version
10634
10635         * vc-backend.C (scanMaster): do not add CVS to version.
10636         (scanMaster): do not add RCS to version
10637
10638         * lyxvc.C (versionString): new method
10639
10640         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10641
10642 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10643
10644         * Spacing.C (set): initialize fval
10645
10646 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10649         " or \.
10650
10651 2001-08-16  Juergen Vigna  <jug@sad.it>
10652
10653         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10654
10655 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * BufferView_pimpl.C:
10658         * figureForm.C:
10659         * lyxtext.h:
10660         * text2.C: setParagraph takes linespacing now
10661
10662 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * LyxAction.C: add internal LFUN_CITATION_INSERT
10665
10666         * LyXView.C: actually apply fix
10667
10668         * bufferlist.C: fix open non-existent file
10669
10670         * lyxfind.C: fix indentation
10671
10672         * lyxfunc.C: remove unneeded assert, fix typo
10673
10674 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * MenuBackend.C: use "Floatname List"
10677
10678 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10681         when converting LaTeX layout to insetERT.
10682         Generate a non-collapsed float when reading old float
10683
10684 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10687         ERT insets.
10688
10689 2001-08-13  Juergen Vigna  <jug@sad.it>
10690
10691         * text.C (fill): return 0 instead of 20 as this seems to be the more
10692         correct value.
10693
10694 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10695
10696         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10697         lyxrc.font_norm.
10698
10699 2001-08-13  Juergen Vigna  <jug@sad.it>
10700
10701         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10702         casesensitive off.
10703         (SearchBackward): comment out the unlocking of the inset_owner this
10704         should not be needed!
10705
10706 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10707
10708         * Many files: Remove inherit_language, and add latex_language
10709
10710         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10711         collapsible insets.
10712
10713 2001-08-10  Juergen Vigna  <jug@sad.it>
10714
10715         * text.C (prepareToPrint): fixed hfill-width in draw!
10716
10717         * BufferView2.C (selectLastWord): save the selection cursor as this
10718         now is cleared in the function LyXText::clearSelection!
10719
10720 2001-08-08  Juergen Vigna  <jug@sad.it>
10721
10722         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10723         BACKSPACE type functions.
10724
10725         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10726         is only cutted from the document but not put in the cut-buffer, where
10727         still the old stuff should be.
10728
10729         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10730
10731         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10732
10733         * tabular.C (SetWidthOfCell): fixed special case where the width
10734         was not updated!
10735         (LeftLine): handle '|' in align_special.
10736         (RightLine): ditto
10737         (LeftAlreadyDrawed): ditto
10738         (SetWidthOfCell): ditto
10739
10740 2001-08-07  Juergen Vigna  <jug@sad.it>
10741
10742         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10743
10744 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10745
10746         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10747         * lyxlex.[hC]: ditto
10748
10749 2001-08-06  Juergen Vigna  <jug@sad.it>
10750
10751         * text.C (getVisibleRow): fix up row clearing a bit.
10752
10753 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * minibuffer.C: make sure the X server sees the changes in the input.
10756
10757 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * paragraph.C (getFont): split into...
10760         (getLabelFont): this
10761         (getLayoutFont): and this
10762         * paragraph_pimpl.C (realizeFont): calling this
10763
10764         * text2.C (getFont): split into...
10765         (getLayoutFont): this
10766         (getLabelFont): and this
10767         (realizeFont): all three calling this
10768
10769         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10770         files where used.
10771
10772 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10773
10774         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10775
10776 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10777
10778         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10779         layouts from the Quote inset insertion.
10780
10781 2001-08-03  Juergen Vigna  <jug@sad.it>
10782
10783         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10784
10785         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10786         only if status not is already CHANGED_IN_DRAW (second level).
10787
10788         * text.C (draw): don't set the need_break_row when inside an
10789         InsetText LyXText.
10790
10791 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * buffer.C (parseSingleLyXformat2Token): handle more latex
10794         conversion cases.
10795
10796         * bufferview_funcs.[hC]: change function names to
10797         begin with small char, adjust other files.
10798
10799 2001-08-02  André Pönitz <poenitz@gmx.net>
10800
10801         * lyxfunc.C:
10802         BufferView_pimpl.C: remove broken special code for math-greek
10803
10804 2001-08-02  Juergen Vigna  <jug@sad.it>
10805
10806         * BufferView_pimpl.C (update): redone this function so that we
10807         update the text again if there was a CHANGE_IN_DRAW.
10808
10809         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10810         (drawFromTo): added a new internal bool which is used by draw() and
10811         redraw() function.
10812         (general): some cursor drawing problems fixed.
10813
10814 2001-08-01  Juergen Vigna  <jug@sad.it>
10815
10816         * lyxfind.C (LyXFind): fixed
10817         (SearchForward): ditto
10818         (SearchBackward): ditto
10819
10820         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10821         spurius drawing of the cursor in the main area.
10822
10823         * text2.C (status): small fix which could lead to a segfault!
10824         (clearSelection): remove unneeded BufferView param.
10825
10826 2001-08-01  André Pönitz <poenitz@gmx.net>
10827
10828         * lyxfunc.C: small change due to changed mathed interface
10829
10830 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10831
10832         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10833
10834 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * lyxfunc.c: fail gracefully if file doesn't exist
10837
10838         * LyXSendto.C:
10839         * buffer.C:
10840         * lyxfunc.C:
10841         * BufferView_pimpl.C: IsDirWriteable() proto changed
10842
10843         * LyXView.C: fix updateWindowTitle() to store the last title
10844
10845 2001-07-31  Juergen Vigna  <jug@sad.it>
10846
10847         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10848         the font (wrong since using of Paragraph::highestFontInRange).
10849
10850         * paragraph.C (highestFontInRange): added a default_size parameter.
10851
10852         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10853         (setHeightOfRow): reformat
10854
10855 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * converter.[hC] + affected files: move to (inital-char)lowercase
10858         function names.
10859
10860         * ParagraphParameters.C (ParagraphParameters): remove commented code
10861
10862         * PainterBase.[Ch]: remove commented code
10863
10864         * LaTeXFeatures.h: add "bool floats" for float.sty
10865
10866         * LaTeXFeatures.C (LaTeXFeatures): init floats
10867         (require): handle float
10868         (getPackages): do it with floats
10869
10870 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10871
10872         * BufferView_pimpl.C (Dispatch): improve handling of
10873         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10874
10875         * commandtags.h: #include lyxfont.h here temporarily to avoid
10876         keybinding bug.
10877
10878         * bufferlist.h: include LString.h here.
10879
10880 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10881
10882         * text2.C (getStringToIndex): new method.
10883
10884 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10885
10886         * *: Reduced header file dependencies all over.
10887
10888 2001-07-30  Baruch Even  <baruch@lyx.org>
10889
10890         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10891
10892 2001-07-29  Baruch Even  <baruch@lyx.org>
10893
10894         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10895
10896 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * ParameterStruct.h (endif): add a default constructor to make
10899         sure that all variables is initialized.
10900
10901         * ParagraphParameters.C (ParagraphParameters): adjust
10902
10903 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10904
10905         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10906         index; also, check that there is something to index, and that it
10907         does not span over several paragraphs.
10908         (doubleClick): use WHOLE_WORD_STRICT for double click.
10909
10910         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10911
10912         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10913         scheme.
10914
10915 2001-07-26  Baruch Even  <baruch@lyx.org>
10916
10917         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10918         an InsetFig figure, backwards compatible reading of old figure code.
10919
10920 2001-07-27  Juergen Vigna  <jug@sad.it>
10921
10922         * text2.C: font.realize function adaption.
10923
10924         * text.C (draw): add a warnings lyxerr text if needed.
10925
10926         * layout.C: font.realize function adaption.
10927
10928         * language.C: add inherit_language and implement it's handlings
10929
10930         * bufferview_funcs.C (StyleReset): remove language parameter from
10931         font creation (should be language_inherit now).
10932
10933         * bufferparams.C (writeFile): handle ignore_language.
10934
10935         * paragraph.C (getFontSettings): the language has to be resolved
10936         otherwise we have problems in LyXFont!
10937
10938         * lyxfont.C (lyxWriteChanges): added document_language parameter
10939         (update): removed unneeded language parameter
10940
10941         * paragraph.C (validate): fixed wrong output of color-package when
10942         using interface colors for certain fonts in certain environments,
10943         which should not seen as that on the final output.
10944
10945 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * BufferView_pimpl.C:
10948         * Thesaurus.h:
10949         * Thesaurus.C:
10950         * Makefile.am:
10951         * commandtags.h:
10952         * LyXAction.C: add thesaurus support
10953
10954         * lyxfind.h:
10955         * lyxfind.C: add "once" parameter, for thesaurus, to not
10956           move to the next match
10957
10958 2001-07-26  Juergen Vigna  <jug@sad.it>
10959
10960         * lyxfont.C (realize): honor ignore_language too!
10961         (resolved): ditto.
10962
10963         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10964
10965         * text.C (draw): one place more for ignore_language to not draw
10966         itself!
10967
10968 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10969
10970         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10971
10972 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10975         the minipage conversion problem.
10976
10977 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10978
10979         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10980         insert an inset.
10981
10982 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * BufferView.h: don't forward declare WorkArea
10985
10986         * BufferView.C: don't include WorkArea.h
10987
10988 2001-07-25  André Pönitz <poenitz@gmx.net>
10989
10990         * commandtags.h:
10991         * LyXAction.C:
10992         * lyxfunc.C:  new LFUN 'math-space'
10993
10994         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10995
10996 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * text2.C (toggleInset): call open/close
10999
11000 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11001
11002         * lyxfunc.C (dispatch): add debug for the disabled case
11003
11004         * font.C (buttonText): make similar to rectText
11005
11006         * buffer.C (readInset): comment out parsing of insetlist and
11007         insttheorem
11008
11009         * PainterBase.C (rectText): small correction
11010
11011         * BufferView_pimpl.C: comment out insettheorem and insetlist
11012         * LyXAction.C: ditto
11013         * commandtags.h: ditto
11014
11015 2001-07-24  Juergen Vigna  <jug@sad.it>
11016
11017         * text.C (draw): honor the ignore_language.
11018
11019         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11020
11021 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11022
11023         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11024         char inset.
11025
11026 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11027
11028         * lyxtext.h: remove unused (and unimplemented) methods
11029
11030 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11031
11032         * text.C (getVisibleRow): honor background color
11033
11034         * PainterBase.h:
11035         * Painter.h: remove default color argument for fillRectangle
11036
11037         * text.C (backgroundColor): new method
11038
11039 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11040
11041         * text.C (getVisibleRow): adjust
11042
11043         * font.[Ch] (rectText): new method, metrics
11044         (buttonText): new method, metrics
11045
11046         * PainterBase.[hC]: make rectText and buttonText always draw and take
11047         fewer paramteres.
11048
11049 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11050
11051         * ToolbarDefaults.C (read):
11052         * MenuBackend.C (read): allow escaping in all strings
11053
11054         * BufferView_pimpl.C (insertAndEditInset): new method.
11055         (Dispatch): use insertAndEditInset whenever appropriate.
11056
11057         * BufferView_pimpl.C (insertNote): removed
11058
11059         * BufferView_pimpl.C (smartQuote): new method, moved from
11060         BufferView; if an insetquote cannot be inserted, insert a '"'
11061         character instead.
11062
11063         * BufferView2.C: remove insertCorrectQuote();
11064
11065         * lyxfunc.C (getStatus): Add support for all remaingin
11066         inset-insert lfuns.
11067
11068         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11069
11070         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11071         command (necessary to pass " as parameter of self-insert.
11072
11073         * text.C (selectWordWhenUnderCursor):
11074         (selectWord): add word_location parameter
11075         (selectWordWhenUnderCursor): same + remove special code for word
11076         boundary.
11077         (selectNextWord): use kind() to guess type of insetspecialchar,
11078         not latex().
11079
11080         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11081         (insertErtContents): create ert insets as collapsed.
11082         (readInset): better compatibility code for Info inset.
11083
11084 2001-07-20  Juergen Vigna  <jug@sad.it>
11085
11086         * lyxfunc.C (dispatch): use always LyXFind now!
11087
11088         * text2.C (init): add a reinit flag so that the LyXText can be
11089         reinited instead of deleted and reallocated (used in InsetText).
11090
11091         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11092
11093         * text.C: ditto
11094
11095         * text2.C: ditto
11096
11097 2001-07-18  Juergen Vigna  <jug@sad.it>
11098
11099         * text.C (selectNextWord): handle insets inside inset by calling
11100         always the bv->text functions so that we can go up the_locking_inset!
11101
11102         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11103         in strange locations when inside an inset!
11104
11105         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11106         handling to include insets.
11107
11108         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11109
11110 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11111
11112         * LyXAction.C (init):
11113         * commandtags.h:
11114         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11115         LIGATURE_BREAK, since the name is so stupid.
11116
11117 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11118
11119         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11120         InsetInfos.
11121
11122         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11123
11124         * sp_form.[Ch]: remove.
11125
11126         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11127
11128         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11129         InsetInfo.
11130
11131         * src/buffer.C (readInset): ditto.
11132
11133 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11134
11135         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11136         menuSeparator(), endOfSentenceDot(), ldots() and
11137         hyphenationPoint(), which are therefore removed.
11138         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11139
11140         * LyXAction.C (init):
11141         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11142
11143         * paragraph.C (getWord): removed.
11144
11145         * BufferView_pimpl.C (Dispatch): use last word or selection for
11146         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11147
11148         * lyx_main.C (queryUserLyXDir): do not ask before creating
11149         user_dir, except if it has been named explicitely.
11150
11151 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11152
11153         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11154         a document of zero size.
11155
11156 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11157
11158         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11159         approriately in the c-tor and in require().
11160         (getPackages): output the appropriate LaTeX for natbib support.
11161
11162         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11163         variables "use_natbib" and "use_numerical_citations" when reading the
11164         LyX file.
11165         (readInset): read the various natbib cite commands.
11166         (validate): white-space change.
11167
11168         * bufferparams.[Ch]: new variables "bool use_natbib" and
11169         "bool use_numerical_citations".
11170         (writeFile): output them in the LyX file.
11171
11172 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11173
11174         * lyxfunc.C (getStatus): add support for all the inset insertion
11175         commands.
11176
11177         * text2.C (insertInset):
11178         * paragraph.C (insetAllowed):
11179         * BufferView_pimpl.C (insertInset): update to take in account the
11180         renaming of insertInsetAllowed
11181
11182         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11183
11184         * text2.C (getInset): new method. returns inset at cursor position.
11185
11186         * BufferView_pimpl.C (Dispatch): changes because of this.
11187
11188         * LyXAction.C (init): rename open-stuff to inset-toggle.
11189
11190         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11191
11192         * text2.C (toggleInset): renamed from openStuff; use
11193         Inset::open().
11194
11195 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11196
11197         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11198
11199         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11200
11201 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11202
11203         * buffer.C (readLyXformat2): Add filename to the error dialog
11204
11205 2001-07-18  Juergen Vigna  <jug@sad.it>
11206
11207         * tabular.C (GetCellNumber): put an assert here instead of the check!
11208
11209 2001-07-17  Juergen Vigna  <jug@sad.it>
11210
11211         * BufferView_pimpl.C (toggleSelection): adapted too.
11212
11213         * text.C (selectNextWord): adapted for use with insets.
11214         (selectSelectedWord): ditto
11215
11216 2001-07-17  Juergen Vigna  <jug@sad.it>
11217
11218         * sp_spell.C (PSpell): fix initialitation order.
11219
11220 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11221
11222         * paragraph.C: spacing
11223
11224 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11225
11226         * sp_spell.C: repair language selection for pspell
11227
11228 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11229
11230         * lyxfunc.h: change more methods to begin with lower char.
11231
11232 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11233
11234         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11235         for unknown layouts.
11236
11237 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11238
11239         * buffer.C (readLyXformat2): Generate an error dialog if there are
11240         unknown layouts.
11241
11242 2001-07-16  Juergen Vigna  <jug@sad.it>
11243
11244         * sp_spell.C: always compile ISpell part.
11245
11246         * lyxrc.C: added use_pspell entry and it's handling.
11247
11248 2001-07-13  Juergen Vigna  <jug@sad.it>
11249
11250         * sp_spell.C: removed double includes.
11251
11252 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11253
11254         Consistent use of Lsstream.h:
11255         * Lsstream.h: added using std::stringstream for consistencies sake.
11256
11257         * buffer.C: removed using std::stringstream
11258
11259         * lyxfont.C (stateText):
11260         * paragraph.C (asString):
11261         * text.C (selectNextWord, selectSelectedWord):
11262         * text2.C (setCounter):
11263         * vspace.C (asString, asLatexString):
11264         std::ostringstream -> ostringstream.
11265
11266 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11267
11268         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11269         * commandtags.h: add LFUN_HELP_ABOUTLYX
11270         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11271
11272 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11273
11274         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11275         cursorToggle()
11276         * lyx_gui_misc.C: remove spellchecker
11277         * lyxfunc.C: showSpellchecker
11278         * sp_base.h: added
11279         * sp_ispell.h: added
11280         * sp_pspell.h: added
11281         * sp_spell.C: added
11282         * sp_form.[Ch]: removed
11283         * spellchecker.[Ch]: removed
11284
11285 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11286
11287         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11288         is set.
11289         (simpleTeXSpecialChars): Simply print the input character without
11290         any special translation if pass_thru is set.
11291
11292         * layout.h: Added bool pass_thru to layout class for being able to
11293         implement pass through of a paragraph for Literate Programming.
11294
11295         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11296         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11297         * layout.C (Read): add "passthru" to list of layout tags and add
11298         code to set the pass_thru boolean when it is read.
11299
11300 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * trans_decl.h: remove allowed from KmodInfo
11303
11304         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11305         remove allowed code
11306         (Load): adjust
11307
11308         * paragraph_pimpl.C (erase): use boost::prior
11309
11310         * Painter.C (text): use data() instead of c_str() when length is
11311         also provided.
11312         * WorkArea.C (putClipboard): ditto
11313         * font.h (width): ditto
11314
11315         * BufferView2.C: use it-> instead of (*it). for iterators
11316         * texrow.C: ditto
11317         * paragraph_pimpl.C: ditto
11318         * paragraph.C: ditto
11319         * minibuffer.C: ditto
11320         * language.C: ditto
11321         * kbmap.C: ditto
11322         * encoding.C: ditto
11323         * counters.C: ditto
11324         * converter.C: ditto
11325         * chset.C: ditto
11326         * Variables.C: ditto
11327         * TextCache.C: ditto
11328         * MenuBackend.C: ditto
11329         * LyXAction.C: ditto
11330         * LColor.C: ditto
11331         * FloatList.C: ditto
11332         * DepTable.C: ditto
11333         * ColorHandler.C (LyXColorHandler): ditto
11334
11335 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11336
11337         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11338
11339         * text2.C (openStuff): reintroduce this method (which had been
11340         nuked in NEW_INSETS frenzy).
11341
11342         * lyxfunc.C (Dispatch): when an action has not been handled, use
11343         its name in the error message, not its number.
11344
11345         * paragraph.C (inInset): change method name to begin with lowercase.
11346
11347         * undo_funcs.C:
11348         * text2.C: updates because of this.
11349
11350 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * ToolbarDefaults.C (add): add spaces in error message
11353
11354 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11357         (readLyXformat2): rename return_par to first_par, use lyxlex's
11358         pushToken and remove the manual push handling.
11359         (parseSingleLyXformat2Token): add another ert comp. variable:
11360         in_tabular, rename return_par to first_par. handle newlines better
11361
11362 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11363
11364         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11365
11366 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * text2.C (getParFromID): removed
11369
11370         * buffer.C (getParFromID): new method moved form lyxtext.
11371         * BufferView2.C (insertErrors): adjust
11372         (setCursorFromRow): adjust
11373         * BufferView_pimpl.C (restorePosition): adjust
11374         * lyxfunc.C (Dispatch): adjust
11375         * undo_funcs.C (textUndo): adjust
11376         (textRedo): adjust
11377         (textHandleUndo): adjust
11378         (textHandleUndo): adjust
11379
11380 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * buffer.C: up' the LYX_FORMAT
11383
11384         * lyxfont.h: turn NO_LATEX on as default
11385
11386         * buffer.C (insertErtContents): new methods of tex style compability.
11387         (parseSingleLyXformat2Token): use it several places.
11388         * tabular.C (OldFormatRead): and here
11389
11390 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * text2.C: remove some commented code.
11393         reindent file.
11394
11395         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11396         * trans.C: changes because of the above.
11397
11398 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11399
11400         * text2.C (setCounter): Fix counters bug with bibliography layout.
11401
11402 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11403
11404         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11405         own member functions
11406         (simpleTeXSpecialChars): ditto
11407
11408 2001-07-06  Juergen Vigna  <jug@sad.it>
11409
11410         * a lot of files: changed the access to LyXText::status and the
11411         call of undo-functions.
11412
11413         * undo.[Ch]: added a inset_id to the undo informations.
11414
11415         * undo_funcs.[Ch]: added and moved here all undo functions.
11416
11417         * lyxtext.h: give the status enum a weight, made status_ a private
11418         variable and made accessor functions for it, removed the whole bunch
11419         of undo-functions as they are now in their own file, make some
11420         functions publically available. Added function ownerParagraph with
11421         int parameter.
11422
11423         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11424         made InInset() a const function, added getParFromID() function.
11425
11426         * buffer.[Ch]: added const version for inset_iterator functions,
11427         added getInsetFromID() function.
11428
11429         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11430         changed undo functions for new version.
11431
11432 2001-07-05  Juergen Vigna  <jug@sad.it>
11433
11434         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11435         unknow mechanism does not call the proper constructor but only this
11436         one also if I request the other!?
11437
11438 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11441
11442         * text2.C (LyXText): use initialization lists.
11443
11444         * lyxtext.h (Selection): initialize set_ and mark_
11445         (init): remove method
11446
11447 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11448
11449         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11450
11451 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * screen.[Ch]: change method names to begin with lowercase
11454
11455         * BufferView_pimpl.C (updateScrollbar): simplify further and
11456         hopefully make it a bit faster.
11457
11458 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11459
11460         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11461         calling directly xforms functions.
11462
11463         * Painter.C (Painter):
11464         * lyx_cb.C (MenuWrite):
11465         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11466         fl_display.
11467
11468         * lyx_gui.C: remove bogus guiruntime extern declaration.
11469
11470 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11473         in NEW_INSETS
11474         (redoDrawingOfParagraph): ditto
11475         (redoParagraphs): ditto
11476         (cutSelection): don't create a object for CutAndPaste use the
11477         static method directly
11478         (pasteSelection): ditto
11479
11480         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11481         LyXview (+ rename)
11482
11483 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * modifications to some other files because of this.
11486
11487         * Makefile.am (lyx_SOURCES): add XFormsView
11488
11489         * XFormsView.[Ch]: new files
11490
11491         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11492         the main window. Move the gui dependent stuff to XFormsView
11493
11494 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * tabular.C (GetCellInset): update cur_cell also in the row/col
11497         version of this function.
11498
11499         * lyxfunc.C: no need to include figure_form.h here.
11500
11501         * FontLoader.h:
11502         * lyxfunc.h:
11503         * lyxscreen.h:
11504         * text2.C:
11505         * lyxvc.C: no need to include forms.h here.
11506
11507 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11508
11509         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11510
11511         * lyxfunc.C (Dispatch):
11512         * Spacing.C (set):
11513         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11514         constructor argument.
11515
11516 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11517
11518         * paragraph.C (Paragraph): dont't clear, and just set layout.
11519         (makeSameLayout): use params's copy contructor.
11520
11521         * ParagraphParameters.[Ch] (makeSame): delete method
11522
11523 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * Variables.[Ch]: fix indentation, rename set to isSet
11526
11527 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * lyxfunc.C (Dispatch): fix typo
11530
11531 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11532
11533         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11534         upper_bound.
11535
11536         * bufferlist.C: include assert.h for emergencyWrite().
11537
11538 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11541           give up at last (bug #425202) !
11542
11543 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lyx_gui_misc.C:
11546         * sp_form.h:
11547         * sp_form.C:
11548         * spellchecker.h:
11549         * spellchecker.C: strip spellchecker options and bring up
11550           preferences tab instead
11551
11552 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11553
11554         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11555         the istringstream constructor
11556
11557 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11558
11559         * paragraph.C (getLayout): fix return value
11560
11561         * paragraph.h: do not declare getLayout as inline.
11562
11563         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11564
11565 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * lyxcursor.h (operator<): new func
11568         (operator>): new func
11569         (operator>=): new func
11570         (operator<=): new func
11571
11572         * text.C (changeCase): use selection.start and selection.end
11573         (changeRegionCase): require from to be <= to. Require par to be a
11574         valid paragraph.
11575
11576         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11577
11578 2001-06-27  Juergen Vigna  <jug@sad.it>
11579
11580         * text.C (cursorLeftOneWord): changed to return the cursor and added
11581         overlay with BufferView * parameter which calls this one.
11582         (getWord): added
11583         (selectWord): use new getWord function.
11584         (changeCase): renamed from changeWordCase as and extended to work
11585         also on selections.
11586
11587         * lyxtext.h: added enum word_location
11588
11589         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11590         changeCase as this operates now also on selections.
11591
11592 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11593
11594         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11595
11596         * many files: send debug output to Debug::INFO instead of
11597         Debug::ANY.
11598
11599         * converter.C (View):
11600         (Convert):
11601         (Move): send debug output to Debug::FILES instead of console.
11602
11603 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11604
11605         * lyxfunc.C (getStatus): use func_status
11606
11607         * func_status.h: new header, describing the results of
11608         LyXFunc::getStatus;
11609
11610         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11611         LFUN_MATH_HALIGN.
11612
11613 2001-06-25  The LyX Project  <jug@sad.it>
11614
11615         * buffer.C (sgmlOpenTag):
11616         (sgmlCloseTag):
11617         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11618
11619 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * text2.C: remove some dead code
11622
11623         * tabular.C (GetCellInset): store the last cell checked (gotten)
11624
11625         * tabular.h: add the helper for the speedup
11626
11627         * lyxtext.h: remove some dead code
11628
11629 2001-06-26  The LyX Project  <Asger>
11630
11631         * paragraph.C: Change export to LaTeX of alignment to
11632         \begin{center} and family for better roundtrip work with reLyX.
11633
11634         * Tune the math drawing a bit.
11635
11636 2001-06-25  The LyX Project  <Asger>
11637
11638         * LColor.C (LColor): New color for math background. New color
11639         for buttons.
11640
11641 2001-06-25  The LyX Project  <jug@sad.it>
11642
11643         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11644
11645         * lyxfunc.C (Open):
11646         * bufferlist.C (newFile): do not restrict to files ending with
11647         .lyx
11648
11649         * BufferView_pimpl.C (MenuInsertLyXFile):
11650
11651 2001-06-24  The LyX Project  <jug@sad.it>
11652
11653         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11654         of compare_no_case
11655
11656 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * lyxtext.h: rename most methods to begin with a small char.
11659         Lots of changes because of this.
11660
11661         * paragraph.C (Paragraph): do not call fitToSize
11662         (erase): call Pimpl::erase
11663         (insertChar): call Pimpl::insertChar
11664         (insertInset): call Pipl::insertInset
11665         (breakParagraph): do not call fitToSize
11666         (breakParagraphConservative): do not call fitToSize
11667         (fitToSize): remove method
11668
11669         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11670
11671 2001-06-24  The LyX Project  <Asger>
11672
11673         * Fix Qt compilation^2
11674
11675 2001-06-24  The LyX Project  <jug@sad.it>
11676
11677         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11678         depthHook(getDepth()-1).
11679
11680         * paragraph.h:
11681         * ParagraphParameters.h:
11682         * ParameterStruct.h: change type of depth to unsigned int ==
11683         depth_type. Many adaptations to other files before of that.
11684
11685 2001-06-24  The LyX Project  <Asger>
11686
11687         * Fix Qt compilation.
11688
11689 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * paragraph.h: renamed several methods to begin with small letter.
11692         several changes to many parts of the code because of this.
11693
11694 2001-06-23  The LyX Project  <jug@sad.it>
11695
11696         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11697         rewritten to discard all double spaces when KeepEmpty is off
11698         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11699         to only handle newlines but not fiddle with spaces and friends.
11700
11701         * lyxfunc.C (MenuNew): when doing 'new from template', use
11702         template_path as default directory
11703
11704 2001-06-23  The LyX Project  <Asger>
11705
11706         * Clean-up of header file includes all over
11707         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11708
11709 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * paragraph.h: renamed from lyxparagraph.h
11712
11713 2001-06-23  Asger  <lyx@violet.home.sad.it>
11714
11715         * Buffer.h: Removed Buffer::resize
11716         * BufferList.h: Removed BufferList::resize
11717         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11718         the document lazily when we change the width, or the font settings.
11719
11720 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11723
11724 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * buffer.h: remove out of date comment
11727
11728 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * lyxscreen.h:
11731         * screen.C: fix "theoretical" GC leak
11732
11733 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11734
11735         * LaTeX.C (scanAuxFile):
11736         (deplog): remove trailing \r when reading stream (useful under
11737         win32)
11738
11739 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11740
11741         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11742         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11743         and BufferView::theLockingInset(Inset*), so should use them and not
11744         access bv_->text->the_locking_inset directly.
11745
11746         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11747
11748 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11749
11750         * Makefile.am:
11751         * tex-defs.h: remove old unused file
11752
11753 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11754
11755         * BufferView_pimpl.C: fix typo, remove minibuffer message
11756           when buffer has loaded
11757
11758 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * lyxfunc.C (Dispatch): use stringstream
11761         (MenuNew): use stringstream
11762         (Open): use stringstream
11763
11764         * importer.C (Import): use stringstream
11765
11766         * bufferview_funcs.C (CurrentState): use stringstream
11767
11768         * LaTeX.C (run): use stringstream
11769
11770         * BufferView_pimpl.C (savePosition): use stringstream
11771         (restorePosition): use stringstream
11772         (MenuInsertLyXFile): use stringstream
11773
11774 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11775
11776         * BufferView.C:
11777         * Bullet.C:
11778         * ColorHandler.C:
11779         * FontInfo.C:
11780         * FontLoader.C:
11781         * LColor.C:
11782         * LaTeXFeatures.C:
11783         * Painter.C:
11784         * gettext.C:
11785         * lyx_gui_misc.C:
11786         * lyxserver.C:
11787         * vspace.C: removed // -*- C++ -*- as first line.
11788
11789         * lyxfind.h:
11790         * version.h: added // -*- C++ -*- as first line.
11791
11792 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11793
11794         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11795
11796         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11797         of string
11798
11799 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11802         of floats.
11803
11804 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11805
11806         * gettext.C: include LString.h even when --disable-nls is on.
11807
11808 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11809
11810         * converter.h (Get): changed argument type from int to
11811         FormatList::size_type to avoid unnecessary conversion.
11812
11813         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11814         before using it.
11815
11816 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * gettext.h: include LString.h even when --disable-nls is on.
11819
11820 2001-06-07  Juergen Vigna  <jug@sad.it>
11821
11822         * text.C (BreakAgain): subst spaces with tabs.
11823
11824         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11825         (resizeInsetsLyXText): set force on resizeLyXText.
11826
11827 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * gettext.h (gettext_init):
11830         (locale_init): use a real definition instead of a macro
11831
11832 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * Bufferview_pimpl.C:
11835         * LColor.h:
11836         * LColor.C: further lcolor tidies
11837
11838 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * BufferView_pimpl.C (updateScrollbar): simplify.
11841
11842         * BufferView2.C: don't include insets/insetinfo.h, change
11843         prototype for insertInset and call the Pimpl version. let
11844         updateInset call Pimpl version.
11845
11846         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11847         gotoInset to BufferView::Pimpl
11848
11849 2001-06-01  Juergen Vigna  <jug@sad.it>
11850
11851         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11852         inside a LockingInset (is the update needed at all?).
11853
11854 2001-05-31  Juergen Vigna  <jug@sad.it>
11855
11856         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11857         here not the old one otherwise how should we compare it afterwards
11858         if it's the same!
11859
11860 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11861
11862         * lyxfont.C:
11863         * tabular.C:
11864         * tabular-old.C:
11865         * FontInfo.C: bring C functions into global namespace when
11866         necessary
11867
11868 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * LString.h: make sure config.h has been loaded before LString.h.
11871
11872         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11873         (one for each char read by EatLine!).
11874
11875         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11876         variables.
11877
11878 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11881         to the same as the par we break from
11882
11883 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11886
11887         * MenuBackend.C (expand): also create menu entries for wide
11888         versions of the floats.
11889
11890         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11891
11892         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11893
11894         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11895         frontends/Makefile.am
11896
11897         * text2.C: adjust
11898         * text.C: adjust
11899
11900
11901         * tabular.C (getTokenValue): add std::
11902
11903         * tabular-old.C (getTokenValue): add std::
11904         (getTokenValue): ditto
11905         (getTokenValue): ditto
11906
11907         * screen.C (ToggleSelection): adjust
11908
11909         * lyxtext.h: put selection cursors inside a Selection struct.
11910
11911         * lyxfunc.C (moveCursorUpdate): adjust
11912
11913         * lyxfont.C (latexWriteStartChanges): add std::
11914
11915         * lyxfind.C: adjust
11916
11917         * font.h: delete with(char const *, LyXFont const &)
11918
11919         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11920
11921         * FontInfo.C (getFontname): add std::
11922
11923         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11924         (workAreaButtonPress): adjust
11925         (tripleClick): adjust
11926         (update): adjust
11927         (moveCursorUpdate): adjust
11928         (Dispatch): adjust
11929
11930         * BufferView2.C (gotoInset): adjust
11931
11932 2001-05-30  Juergen Vigna  <jug@sad.it>
11933
11934         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11935         to check pspell I add this as default as I now have new pspell
11936         libraries and they seem to use this.
11937
11938 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * text2.C (CutSelection): make the cursor valid before the call to
11941         ClearSelection.
11942
11943 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11944
11945         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11946         relied on 0 terminated strings and other horrors. Bug found due to
11947         the new assert in lyxstring!
11948
11949         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11950         KP_ keys.
11951
11952 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11955         to latinkeys.bind.
11956
11957         * lyxfunc.C (processKeySym): change method of getting to the
11958         self-insert char.
11959
11960         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11961         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11962         * BufferView_pimpl.[Ch]: here as private methods.
11963
11964 2001-05-28  Juergen Vigna  <jug@sad.it>
11965
11966         * text.C (SetHeightOfRow): added the update() call again as it is
11967         needed to initialize inset dimensions!
11968
11969 2001-05-16  Juergen Vigna  <jug@sad.it>
11970
11971         * text2.C (SetCharFont): Add new function with BufferView * and
11972         bool toggleall parameters for setting insets internal fonts.
11973         (SetFont): Freeze the undo as we may change fonts in Insets and
11974         all this change should be inside only one Undo!
11975
11976         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11977         setting font's in insets as for them we have the SetFont function!
11978
11979 2001-05-15  Juergen Vigna  <jug@sad.it>
11980
11981         * text2.C (ClearSelection): to be sure we REALLY don't have any
11982         selection anymore!
11983
11984         * tabular.C (TeXCellPreamble): fixed the left border problem for
11985         multicolumn cells.
11986
11987 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11988
11989         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11990         dependancy file
11991
11992 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11993
11994         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11995         LFUN_BREAKPARAGRAPH.
11996
11997         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11998         help test to "internal only", similar for LFUN_INSERT_URL
11999
12000         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12001         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12002         auto_region_delete and deadkeys.
12003
12004 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * LColor.h:
12007         * LColor.C: remove some dead entries, tidy a little
12008
12009 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12010
12011         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12012         commented code.
12013         (Dispatch): implement LFUN_ESCAPE
12014
12015         * commandtags.h: add LFUN_ESCAPE
12016
12017         * LyXAction.C (init): add entry for LFUN_ESCAPE
12018
12019         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12020         Remove commented code.
12021         (insertNote): moved here
12022         (open_new_inset): moved here
12023
12024         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12025         BufferView_pimpl
12026
12027 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * kbmap.C (findbinding): clean it up and make it work correctly.
12030
12031         * lyx_main.C (init): do not pass argc and argv as parameters
12032
12033 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12034
12035         * buffer.C: fix path for OS/2 & Win32
12036
12037         * lyx_gui.C:
12038         * lyx_main:
12039         * lyx_main.C: Added os:: class.
12040
12041         * os2_defines.h: update
12042
12043 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12046         better by trying again with reduced state.
12047
12048 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12049
12050         * lyxrc.C (read): print error about invalid key sequence only when
12051         debugging (because not all latinX keysyms are known to some X
12052         servers)
12053
12054         * kbsequence.C (getiso): add a few std:: qualifiers
12055         (getiso): comment out extra return statement.
12056
12057 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12060         handling.
12061         (Dispatch): enhance the accent inset a bit. (not perfect)
12062
12063 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12066
12067 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * bufferlist.C (emergencyWrite): fix assert() call
12070
12071 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12072
12073         * text.C (InsertChar): Added trivial patch to only send the "you
12074         can not do multiple spaces this way" message once during a
12075         session.
12076
12077 2001-05-08  Baruch Even  <baruch@lyx.org>
12078
12079         * Makefile.am: Changed order of libraries to get LyX to link properly
12080         with the gnome frontend.
12081
12082 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12083
12084         * LaTeXFeatures.h: add a std:: qualifier
12085
12086 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * paragraph.C (String): use stringstream
12089
12090 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12091
12092         * paragraph.C (writeFile): remove footflag arg
12093
12094         * buffer.C (makeLaTeXFile): use stringstream
12095         (latexParagraphs): remove footnot gurba
12096
12097         * LaTeXFeatures.C (getPackages): use stringstream
12098         (getMacros): likewise
12099         (getTClassPreamble): likewise
12100         (getFloatDefinitions): new method
12101
12102         * paragraph.C (writeFile): reindent
12103         (Erase): reindent
12104
12105         * WorkArea.h: revert the xpos + etc changes.
12106
12107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12108
12109         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12110
12111         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12112         (pasteSelection): likewise
12113         * text2.C (CreateUndo): likewise
12114
12115 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * minibuffer.C (peek_event): temporarily reduce the functionality
12118         of the minibuffer (to allow args on lfuns)
12119
12120         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12121         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12122
12123         * buffer.C (readInset): add compability reading of old float
12124         lists, add reading of new style float list.
12125         (readInset): avoid reevaluation of inscmd.getCmdName()
12126         (getLists): reindent
12127
12128         * MenuBackend.C (MenuItem): implement parsing of
12129         md_floatlistinsert and md_floatinsert.
12130         (expand::LastFiles): move initalizaton of iterators out of loop,
12131         avoid reevaluation.
12132         (expand::Documents): introduce typdedef vector<string> Strings,
12133         and use it.
12134         (expand::ExportFormats): introduce typedef vector<Format const *>
12135         Formats, and use it.
12136         (expand): implement FloatListInsert and FloatInsert.
12137
12138         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12139         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12140         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12141
12142         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12143         handling.
12144         (Dispatch::LFUN_FLOAT_LIST): implement
12145
12146 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12147
12148         * LaTeX.C (run): Fix problem with --export code.
12149
12150 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12151
12152         * BufferView.[Ch] (workarea): removed.
12153         (getClipboard) new method; wrapper for workarea()->getClipboard()
12154
12155         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12156         bug.
12157
12158         * WorkArea.h (width, height, xpos, ypos): These methods all
12159         returned the dimensions of the work_area sub-area of WorkArea,
12160         resulting in a position error if the WorkArea were resized. Now
12161         return the dimensions of the entire WorkArea.
12162
12163         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12164
12165 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12166
12167         * LaTeX.C (deplog): correct the syntax of regex reg1
12168
12169 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * undo.C: remove !NEW_INSETS cruft
12172
12173 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * text2.C: remove !NEW_INSETS cruft
12176
12177         * text.C: remove !NEW_INSETS cruft
12178
12179         * tabular.C: remove !NEW_INSETS cruft
12180
12181         * spellchecker.C: remove !NEW_INSETS cruft
12182
12183         * lyxtext.h: remove !NEW_INSETS cruft
12184
12185         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12186
12187         * lyxfunc.C: remove !NEW_INSETS cruft
12188
12189         * lyxfind.C: remove !NEW_INSETS cruft
12190
12191         * lyx_cb.C: remove !NEW_INSETS cruft
12192
12193         * figureForm.C: remove  !NEW_INSETS cruft
12194
12195         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12196
12197         * buffer.[Ch]: remove !NEW_INSETS cruft
12198
12199         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12200
12201         * CutAndPaste.C: remove !NEW_INSETS cruft
12202
12203         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12204
12205         * BufferView2.C: remove !NEW_INSETS cruft
12206
12207         * BufferView.h: remove !NEW_INSETS cruft
12208
12209 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12210
12211         * Lsstream.h: include LString.h before the sstream headers to
12212         fix problem with gcc 2.95.3 and lyxstring
12213
12214 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12215
12216         * lyx_main.C: add using directives when needed for C functions
12217         declared in std:: namespace.
12218
12219 2001-04-27  Juergen Vigna  <jug@sad.it>
12220
12221         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12222         (SetHeightOfRow): comment out the update call should not be needed!
12223
12224 2001-04-13  Juergen Vigna  <jug@sad.it>
12225
12226         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12227         (LyXTabular): tried to minimize operator= operations (and realized
12228         hopfully Lars wish).
12229
12230 2001-04-27  Juergen Vigna  <jug@sad.it>
12231
12232         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12233
12234 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12237
12238         * buffer.C (readInset): hack to make listof algorithm work
12239
12240         * BufferView_pimpl.C: hack to make listof algorithm work
12241
12242 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * LyXAction.C: removed all !NEW_INSETS cruft
12245         (init): moved lfun_item in method
12246
12247         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12248
12249 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * BufferView2.C (theLockingInset): white space.
12252
12253 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * minibuffer.C: include <iostream>
12256
12257         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12258
12259         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12260
12261         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12262
12263         * text.[Ch] (TransposeChars): new method
12264
12265 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * call message directly through LyXView instead of through LyXFunc
12268         * BufferView2.C: adjust
12269         * BufferView_pimpl.C: adjust
12270         * FontLoader.C: adjust
12271         * buffer.C: adjust
12272         * bufferview_funcs.C: adjust
12273         * converter.C: adjust
12274         * figureForm.C: adjust
12275         * importer.C: adjust
12276         * lyx_cb.C: adjust
12277         * lyx_gui_misc.C: adjust
12278         * lyxfunc.C: adjust
12279         * lyxvc.C: adjust
12280         * text2.C: adjust
12281         + more files in subdirs
12282
12283         * lyxparagraph.h (size): move up int file
12284         (GetLayout): ditto
12285
12286         * adjust all uses of Assert to lyx::Assert.
12287
12288         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12289         lyxfunctional in namespace lyx
12290         * layout.C (hasLayout): ditto
12291         (GetLayout): ditto
12292         (GetLayout): ditto
12293         (delete_layout): ditto
12294         (NumberOfClass): ditto
12295         * converter.C (GetFormat): ditto
12296         (GetNumber): ditto
12297         (Add): ditto
12298         (Delete): ditto
12299         (SetViewer): ditto
12300         * bufferlist.C (getFileNames): ditto
12301         (emergencyWriteAll): ditto
12302         (exists): ditto
12303         (getBuffer): ditto
12304         * MenuBackend.C (hasSubmenu): ditto
12305         (hasMenu): ditto
12306         (getMenu): ditto
12307         * BufferView_pimpl.C (getInsetByCode): ditto
12308
12309 2001-04-18  Juergen Vigna  <jug@sad.it>
12310
12311         * vspace.C (asLatexString): fixed the 100% problem.
12312
12313 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12314
12315         * lyxfunc.C (Dispatch):
12316         * minibuffer.C:
12317         * minibuffer.h: add a few std:: qualifiers
12318
12319 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * minibuffer.[Ch]: reimplement so that commands is initiated and
12322         run from lyxfunc, simplified som handling, and made the completion
12323         and history code for complete. wip.
12324
12325         * lyxfunc.C (processKeySym): call message
12326         (miniDispatch): new temporary method
12327         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12328         (LFUN_MESSAGE): implement
12329         (LFUN_MESSAGE_PUSH): implement
12330         (LFUN_MESSAGE_POP): implement
12331         (initMiniBuffer): the initial/defualt minibuffer message.
12332
12333         * lyxfont.[Ch]: inline some more getters
12334
12335         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12336
12337         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12338
12339         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12340         (AutoSave): use LFUN_MESSAGE
12341         (Reconfigure): ditto
12342
12343         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12344
12345         * figureForm.C: use LFUN_MESSAGE
12346
12347         * converter.C (runLaTeX): use LFUN_MESSAGE
12348
12349         * bufferview_funcs.C: use LFUN_MESSAGE
12350         (Melt): ditto
12351         (changeDepth): ditto
12352
12353         * bufferparams.h: use boost::
12354
12355         * bufferlist.h: inherit privately from noncopyable
12356
12357         * bufferlist.C (loadLyXFile): remove some commented code.
12358
12359         * buffer.C (runChktex): use LFUN_MESSAGE
12360
12361         * ShareContainer.h: inherit privately from noncopyable
12362
12363         * ParagraphParameters.[hC] (depth): inline it.
12364
12365         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12366         methods.
12367         (message): new method
12368         (messagePush): ditto
12369         (messagePop): ditto
12370         (show): init minibuffer
12371         (showState): direct call
12372
12373         * LaTeX.[Ch]: inherit privately from noncopyable
12374         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12375         instead of WriteStatus.
12376
12377         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12378
12379         * BufferView_pimpl.C (buffer): don't init minibuffer
12380         (workAreaButtonPress): use LFUN_MESSAGE
12381         (workAreaButtonRelease): ditto
12382         (savePosition): ditto
12383         (restorePosition): ditto
12384         (MenuInsertLyXFile): ditto
12385         (workAreaExpose): don't init minibuffer
12386         (update): remove commented code, simplify
12387
12388         * BufferView2.C (openStuff): use LFUN_MESSAGE
12389         (toggleFloat): ditto
12390         (menuUndo): ditto
12391         (menuRedo): ditto
12392         (copyEnvironment): ditto
12393         (pasteEnvironment): ditto
12394         (copy): ditto
12395         (cut): ditto
12396         (paste): ditto
12397         (gotoInset): ditto
12398         (updateInset): remove some commented code
12399
12400         * lastfiles.h: inherit privately from noncopyable
12401         * layout.h: ditto
12402         * lyx_gui.h: ditto
12403         * lyx_main.h: ditto
12404         * lyxlex.h: ditto
12405         * lyxlex_pimpl.h: ditto
12406
12407         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12408         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12409         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12410
12411         * LyXAction.h: inherit privately from noncopyable, add methods
12412         func_begin, func_end, returning iterators to the func map.
12413
12414         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12415         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12416         (func_begin): new method
12417         (func_end): new method
12418
12419         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12420         and not)
12421         (copySelection): ditto
12422         (pasteSelection): ditto
12423
12424         * BufferView.C: whitespace change
12425         * BufferView.h: inherit privately from noncopyable
12426
12427 2001-04-16  Allan Rae  <rae@lyx.org>
12428
12429         * tabular-old.C (l_getline):
12430         * spellchecker.C (sc_check_word):
12431         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12432         an unrecognised preprocessor directive.  So ensure they're wrapped.
12433
12434 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12435
12436         * src/exporter.C (Export): Give an error message when path to file
12437         contains spaces.
12438
12439 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12440
12441         * LaTeX.C (deplog): Always check that foundfile exists.
12442
12443 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12444
12445         * lyx_main.h:
12446         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12447
12448 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * tabular.[Ch] (getLabelList): implement new method
12451
12452         * minibuffer.h: comment ouf setTiimer
12453
12454         * minibuffer.C (ExecutingCB): constify res
12455         (peek_event): constify s
12456         (Set): constify ntext
12457         (Init): constify nicename
12458
12459         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12460
12461         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12462         (savePosition): use two params to Minibuffer::Set
12463         (restorePosition): ditto
12464
12465 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * lyx_main.C: include language.h
12468
12469         * Makefile.am (lyx_main.o): add language.h
12470
12471 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12472
12473         * exporter.C:
12474         * paragraph.C:
12475         * screen.C:
12476         * tabular.C:
12477         * CutAndPaste.C: include gettext.h
12478
12479         * lyxfont.h: remove old hack with ON and OFF.
12480
12481         * lyxparagraph.h:
12482         * lyxfont.h: do not include language.h...
12483
12484         * BufferView2.C:
12485         * LaTeXFeatures.C:
12486         * Painter.C:
12487         * bufferview_funcs.C:
12488         * font.C:
12489         * lyxfont.C:
12490         * text.C:
12491         * text2.C:
12492         * trans_mgr.C:
12493         * paragraph.C: ... but do it here instead
12494
12495 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12498
12499         * tabular.C: small reformat
12500
12501         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12502         NEW_INSETS version
12503         (GetChar): ditto
12504         (BreakParagraph): ditto
12505         (SetOnlyLayout): ditto
12506         (SetLayout): ditto
12507
12508         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12509         with one arg less.
12510
12511         * lastfiles.C: removed most using decl, add std:: where needed
12512
12513         * buffer.C: ws changes
12514
12515         * MenuBackend.C (class compare_format): put into anon namespace
12516         (expand): constify label, names, action, action2
12517         (expand):
12518
12519         * text.C (SingleWidth): constify font
12520         (IsBoundary): constify rtl2
12521         (GetVisibleRow): constify ww
12522
12523         * LaTeX.C (deplog): constify logfile
12524
12525         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12526         start_x, end_x
12527         (workAreaExpose): constify widthChange, heightChange
12528
12529         * lyxrow.C (par): moved
12530         (height): moved
12531         (next): moved
12532         * lyxrow.h: as inlines here
12533
12534         * lyxfont.h (shape): moved from lyxfont.C
12535         (emph): moved from lyxfont.C
12536
12537         * lyxfont.C (LyXFont): use initialization list for all
12538         constructors
12539         (shape): move to lyxfont.h as inline
12540         (emph): move to lyxfont.h as inline
12541
12542
12543 2001-04-04  Juergen Vigna  <jug@sad.it>
12544
12545         * vspace.C: had to include stdio.h for use of sscanf
12546
12547 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12548
12549         * BufferView.h:
12550         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12551         independent of xforms.
12552
12553 2001-04-02  Juergen Vigna  <jug@sad.it>
12554
12555         * spellchecker.C: fixed namespace placing!
12556
12557 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12560         the LyXParagraph * is 0.
12561
12562 2001-03-29  Juergen Vigna  <jug@sad.it>
12563
12564         * vspace.C: added support for %, c%, p%, l%.
12565         (stringFromUnit): added helper function.
12566         (asLatexString): changed to give right results for the %-values.
12567
12568         * buffer.C: convert the widthp in a width%.
12569
12570 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12571
12572         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12573         figureForm.[Ch].
12574
12575         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12576         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12577
12578         * lyx_cb.[Ch]: see above.
12579
12580         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12581         form1.[Ch].
12582
12583         * form1.[Ch]:
12584         * lyx.[Ch]: replaced by figure_form.[Ch].
12585
12586         * lyx_gui.C:
12587         * lyx_gui_misc.C:
12588         * lyxfunc.C: changed headers associated with above changes.
12589
12590 2001-03-27  Juergen Vigna  <jug@sad.it>
12591
12592         * BufferView_pimpl.C: set the temporary cursor right!
12593
12594 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12595
12596         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12597
12598 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * LString.h: removed "using std::getline"!
12601
12602         * BufferView_pimpl.C (Dispatch): changes due to changes in
12603         InsetInclude::Params.
12604
12605         * buffer.C (tag_name): removed redundant break statements as they were
12606         producing lots of warnings with my compiler.
12607
12608 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12609
12610         * LString.h: add "using std::getline" when using the real <string>.
12611
12612 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12613
12614         * buffer.C: removed bitset usage.
12615         PAR_TAG moved to an anonymous name space.
12616         (tag_name): new funtion, also in the anonymous namespace.
12617         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12618         (makeDocBookFile): clean code. Completed transition from string arrays
12619         to string vectors.
12620         (SimpleDocBookOnePar): code clean.
12621
12622 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12623
12624         * tabular.C: add some comments.
12625
12626 2001-03-22  Juergen Vigna  <jug@sad.it>
12627
12628         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12629         compatibility read a bit and fixed bug with minipage in different
12630         depth.
12631
12632 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12633
12634         * buffer.C (pop_tag): removed.
12635         (push_tag): removed.
12636         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12637         array replaced with vector. Added support for CDATA sections.
12638         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12639         at any nest level.
12640         (makeDocBookFile): XML conformant declaration of CDATA section,
12641         fixed bug related to <emphasis> in the first paragraph char.
12642         (sgmlOpenTag): exclude empty tags.
12643         (sgmlCloseTag): ditto.
12644
12645         * buffer.h (pop_tag): removed.
12646         (push_tag): removed.
12647
12648 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12649
12650         * language.h (Languages): added size_type and size().
12651
12652 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12653
12654         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12655         response on compability reading of minipages. One probliem is that
12656         the old usage of minipages was «flertydig»
12657
12658         * several files here and in subdirs: don't use static at file
12659         scope use anon namespaces instead.
12660
12661 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12662
12663         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12664         LaTeX output. This is necessary for Literate document
12665         processing.
12666
12667 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12668
12669         * buffer.C: insert hfill when needed.
12670
12671         * tabular.C (l_getline): use string::erase, small whitespace change.
12672
12673         * BufferView_pimpl.C: try the anon namespace.
12674         * WorkArea.C: ditto
12675
12676 2001-03-16  Juergen Vigna  <jug@sad.it>
12677
12678         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12679         otherwise it won't open options-dialogs.
12680
12681         * buffer.C: honor pextraWidth(p) on converting minipages.
12682
12683         * tabular.C (l_getline): changed the functions to strip trailing \r.
12684
12685 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12686
12687         * BufferView_pimpl.C:
12688         * minibuffer..C: added "using SigC::slot" declaration.
12689
12690 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12691
12692         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12693
12694         * text2.C: ditto
12695
12696         * text.C: ditto
12697
12698         * paragraph.C: ditto
12699
12700         * lyxtext.h: NO_PEXTRA
12701
12702         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12703
12704         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12705         * ParameterStruct.h: ditto
12706         * ParagraphParameters.h: ditto
12707         * lyxparagraph.h: ditto
12708
12709 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12710
12711         * buffer.C: add compability for minipage alignment.
12712         (latexParagraphs): remove unwanted pextra check.
12713
12714         * several files: remove CXX_WORKING_NAMESPACES
12715
12716         * buffer.C (pop_tag): tie is in namespace boost
12717
12718         * BufferView.h: noncopyable is in namespace boost
12719         * lyxlex.h: ditto
12720         * lyx_main.h: ditto
12721         * lyx_gui.h: ditto
12722         * layout.h: ditto
12723         * lastfiles.h: ditto
12724         * bufferlist.h: ditto
12725         * ShareContainer.h: ditto
12726         * LyXView.h: ditto
12727         * LyXAction.h: ditto
12728         * LaTeX.h: ditto
12729
12730 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * Merging changes from BRANCH_MVC back into HEAD.
12733
12734         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12735
12736 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * BufferView_pimpl.C: change from intl.C
12739
12740         * combox.h:
12741         * combox.C:
12742         * Makefile.am: move combox.*
12743
12744         * form1.h:
12745         * form1.C:
12746         * lyx_gui.C:
12747         * intl.h:
12748         * intl.C: remove dialog (covered by prefs)
12749
12750 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12751
12752         * lyxfunc.C (Dispatch): removed redundant break statement.
12753
12754 2001-03-14  Juergen Vigna  <jug@sad.it>
12755
12756         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12757
12758 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12759
12760         * buffer.C: add hack to fix compability reading of minipages.
12761
12762 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12763
12764         * buffer.C (getLists): Cleanup.
12765
12766 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * lyxfont.C (update): don't honor toggleall on font size.
12769
12770 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * bmtable.c:
12773         * bmtable.h:
12774         * Makefile.am: moved to frontends/xforms/
12775
12776         * lyx_gui_misc.C:
12777         * lyxfunc.C:
12778         * BufferView_pimpl.C: changes for moved mathpanel
12779
12780 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * gettext.h: fix gettext_init() in --disable-nls
12783
12784 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12785
12786         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12787
12788 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * lyx.C:
12791         * lyx.h: strip external form
12792
12793 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * BufferView_pimpl.C: add comment, destroySplash()
12796
12797 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * BufferView_pimpl.C:
12800         * LyXAction.C:
12801         * buffer.C:
12802         * commandtags.h:
12803         * lyxfunc.C: use re-worked insetinclude
12804
12805 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12806
12807         * buffer.C: add using std::stringstream.
12808
12809         * lyx_cb.C: readd using std::ios.
12810
12811         * buffer.C: add using std::map.
12812
12813         * BufferView_pimpl.C: add using std::vector.
12814
12815         * ShareContainer.h: add std:: to swap.
12816
12817         * buffer.h: add some typedefs
12818         * buffer.C (getLists): use them
12819         (getLists): renamed from getTocList.
12820         add a counter for the different float types and use it in the
12821         generated string.
12822         (getLists): use the same counter for the NEW_INSETS and the "non"
12823         NEW_INSETS
12824
12825         * lyx_cb.h: remove unused items, includes, using etc.
12826
12827         * ShareContainer.h: remove some commented code, add more comments
12828         and "documentation".
12829
12830 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12831
12832         * buffer.C (getTocList): make the list also when NEW_INSETS is
12833         defined.
12834
12835         * buffer.h: remove TocType
12836
12837         * buffer.C (getTocList): change to return a map<string,
12838         vector<TocItem> >, implement for dynamic number of list.
12839
12840         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12841         * text2.C (PasteSelection): adjust
12842         * CutAndPaste.C (pasteSelection): adjust
12843
12844         * FloatList.C (FloatList): update from the new_insets branch.
12845         * Floating.[Ch]: ditto
12846         * LaTeXFeatures.C: ditto
12847         * buffer.C: ditto
12848         * lyxlex_pimpl.C: ditto
12849
12850         * paragraph.C (Last): remove when NEW_INSETS is defined.
12851
12852         * other file: changes because of the above.
12853
12854 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12855
12856         * lyxparagraph.h: rename next to next_, previous to previous_,
12857         make them private for NEW_INSETS. Rename Next() to next(),
12858         Previous() to previous().
12859
12860         * other files: changes because of the above.
12861
12862 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12863
12864         * BufferView.h:
12865         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12866         problem.
12867
12868 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * main.C (main): pass lyx_localedir to gettext_init().
12871
12872         * gettext.h: remove locale_init and gettext_init macros
12873
12874         * gettext.C (locale_init): new function
12875         (gettext_init): new function
12876
12877         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12878         setlocale().
12879
12880 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12881
12882         * Moved credits to frontends:
12883         * credits.[Ch]: removed
12884         * credits_form.[Ch]: removed
12885         * lyx_gui_misc.C: remove credits stuff
12886         * Makefile.am:
12887
12888 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12889
12890         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12891
12892         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12893         unneeded destructor.
12894
12895         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12896         a standalone pointer again.
12897
12898         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12899
12900 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * Makefile.am:
12903         * filedlg.h:
12904         * filedlg.C:
12905         * LyXAction.C:
12906         * ToolbarDefaults.C:
12907         * bufferlist.C:
12908         * commandtags.h:
12909         * form1.C:
12910         * form1.h:
12911         * lyx_cb.C:
12912         * lyx_cb.h:
12913         * lyxfunc.h:
12914         * lyxfunc.C:
12915         * BufferView_pimpl.C: use new file dialog in GUII
12916
12917         * lyx_cb.h:
12918         * lyx_cb.C: remove LayoutsCB to Toolbar
12919
12920 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12921
12922         * ShareContainer.h (get): add std:: qualifier
12923
12924 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12925
12926         * ShareContainer.h: define a proper ShareContainer::value_type
12927         type (and use typename to please compaq cxx)
12928
12929 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12930
12931         * lyxparagraph.h: move serveral local vars to
12932         ParameterStruct/ParagraphParameters., use ShareContainer in
12933         FontTable., make vars in FontTable private and add getter and
12934         setter.
12935
12936         * paragraph.C: changes because of the above.
12937
12938         * lyxfont.h: remove copy constructor and copy assignment. (the
12939         default ones is ok), move number inside FontBits. move inlines to
12940         lyxfont.C
12941
12942         * lyxfont.C: add number to initializaton of statics, move several
12943         inlines here. constify several local vars. some whitespace
12944         cleanup. Dont hide outerscope variables.
12945
12946         * Spacing.h: add two new constructors to match the set methods.
12947
12948         * ShareContainer.h: new file, will perhaps be moved to support
12949
12950         * ParameterStruct.h: new file
12951
12952         * ParagraphParameters.h: new file
12953
12954         * ParagraphParameters.C: new file
12955
12956         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12957         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12958
12959         * BufferView_pimpl.C: ParagraphParameter changes.
12960         * buffer.C: Likewise.
12961         * bufferview_funcs.C: Likewise.
12962         * text.C: Likewise.
12963         * text2.C: Likewise.
12964
12965 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * lyxfind.C (LyXReplace): do not redefine default argument in
12968         implementation.
12969         (IsStringInText): ditto
12970         (SearchForward): ditto
12971         (SearchBackward): ditto
12972
12973 2001-03-06  Juergen Vigna  <jug@sad.it>
12974
12975         * lyxfind.C (IsStringInText): put parentes around expressions.
12976
12977 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12978
12979         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12980
12981 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12982
12983         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12984
12985         * stl_string_fwd.h: add comment
12986
12987         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12988
12989         * tabular.h:
12990         * tabular.C: remove unused DocBook methods
12991
12992         * intl.C:
12993         * language.C:
12994         * paragraph.C:
12995         * buffer.C:
12996         killed DO_USE_DEFAULT_LANGUAGE
12997
12998 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12999
13000         * lyx_gui.C: do not include language.h.
13001
13002         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13003         arguments in function implementation.
13004
13005 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13006
13007         * BufferView_pimpl.C: add <ctime>
13008
13009 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13010
13011         * BufferView_pimpl.C: add using std::find_if
13012
13013 2001-02-27  José Matos  <jamatos@fep.up.pt>
13014
13015         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13016         by OnlyPath.
13017
13018 2001-02-11  José Matos  <jamatos@fep.up.pt>
13019
13020         * buffer.C (makeDocBookFile): command styles now have a parameter as
13021         "title" by default.
13022
13023 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13024
13025         * layout_forms.[Ch]: removed
13026         * lyx_cb.[Ch]: out character
13027         * lyx_gui.C: out character
13028         * lyx_gui_misc.C: out character
13029         * bufferview_funcs.C: : out character,
13030         added toggleall as parameter in ToggleAndShow
13031
13032 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13035
13036         * text2.C (SetCurrentFont): Disable number property at boundary.
13037
13038 2001-02-26  Juergen Vigna  <jug@sad.it>
13039
13040         * lyxfunc.C (getStatus): added a string argument override function so
13041         that this is correctly called from LyXFunc::Dispatch if it contains a
13042         do_not_use_argument which is used!
13043         (Dispatch): added check for "custom" export and call appropriate func.
13044
13045 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * lyxrc.C: Add language_command_local, language_use_babel and
13048         language_global_options.
13049
13050         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13051
13052         * buffer.C (makeLaTeXFile): Use language_use_babel and
13053         language_global_options.
13054
13055 2001-02-23  Juergen Vigna  <jug@sad.it>
13056
13057         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13058         which works with LyXText and putted it inside BufferView. Here now we
13059         only call for that part the BufferView::Dispatch() function.
13060
13061         * BufferView.C (Dispatch): added.
13062
13063         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13064         functions which needs to use a LyXText over from LyXFunc.
13065         (MenuInsertLyXFile): added
13066         (getInsetByCode): added
13067         (moveCursorUpdate): added
13068         (static TEXT): added
13069
13070 2001-02-22  Juergen Vigna  <jug@sad.it>
13071
13072         * BufferView_pimpl.C (update): call a status update to see if LyXText
13073         needs it.
13074
13075 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13076
13077         * vc-backend.C (revert): implement for CVS
13078         (getLog): implement for CVS
13079
13080 2001-02-20  Juergen Vigna  <jug@sad.it>
13081
13082         * text2.C (ClearSelection): added BufferView param for inset_owner call
13083
13084         * lyxfunc.C (TEXT): added this function and use it instead of
13085         directly owner->view()-text of getLyXText().
13086
13087 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13088
13089         * src/layout_forms.C: out preamble
13090         * src/layout_forms.h: out preamble
13091         * src/lyx_cb.C: out preamble
13092         * src/lyx_cb.h: out preamble
13093         * src/lyx_gui.C: out preamble
13094         * src/lyx_gui_misc.C: out preamble
13095         * src/lyxfunc.C: connect with guii preamble
13096
13097 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13100
13101 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13102
13103         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13104         whether to run bibtex.
13105
13106 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13107
13108         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13109
13110 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13111
13112         * Makefile.am (lyx_SOURCES): removed bibforms.h
13113
13114         * vspace.h: doxygen
13115
13116         * text.C (GetVisibleRow): make several local vars const
13117
13118         * tabular.C: small cleanup.
13119
13120         * lyxserver.C (callback): use compare instead of strncmp
13121
13122         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13123         inlines to after class or to paragraph.C
13124
13125         * lyxfont.h: remove friend operator!=
13126
13127         * converter.h: move friend bool operator< to non friend and after
13128         class def.
13129
13130         * combox.h: small cleanup
13131
13132         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13133         to inlines after class def.
13134
13135         * buffer.C (pop_tag): use string operations instead of strcmp
13136
13137         * bmtable.c: doxygen, small cleanup
13138
13139         * LaTeX.h: remove friend operator==
13140
13141 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13142
13143         * screen.C:
13144         * lyxrc.[Ch]:
13145         * lyxfunc.C:
13146         * lyxfont.[Ch]:
13147         * lyx_cb.C:
13148         * intl.[Ch]:
13149         * commandtags.h:
13150         * buffer.C:
13151         * WorkArea.[Ch]:
13152         * LyXAction.C:
13153         * BufferView_pimpl.C:
13154         * BufferView.[Ch]: remove cruft
13155
13156 2001-02-14  Juergen Vigna  <jug@sad.it>
13157
13158         * lyxfunc.C: removed #if 0 unused code
13159
13160         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13161
13162         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13163
13164         * text2.C (SetSelection): added a BufferView * parameter
13165
13166 2001-02-13  Juergen Vigna  <jug@sad.it>
13167
13168         * lyxfunc.C (Dispatch): fixed protected blank problem.
13169         * BufferView2.C (protectedBlank): added LyxText * parameter.
13170
13171         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13172         (AppendColumn): same as above for column_info.
13173
13174         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13175         (moveCursorUpdate): use a LyXText param for support of InsetText.
13176
13177         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13178         (tripleClick): ditto
13179
13180         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13181
13182         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13183
13184         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13185
13186         * text2.C (SetSelection): set correct update status if inset_owner
13187         (ToggleFree): ditto
13188
13189 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13190
13191         * tabular.C: remove some commented code.
13192
13193 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13194
13195         * BufferView_pimpl.C: call hideSplash()
13196
13197         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13198
13199         * include_form.h:
13200         * bibforms.h: remove
13201
13202         * lyxfunc.C:
13203         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13204           add LFUN_CHILD_CREATE
13205
13206         * counters.h: fix tiny typo
13207
13208         * lyx_cb.C:
13209         * lyx.h:
13210         * lyx_gui.C:
13211         * lyx.C: move splash to frontends/xforms/
13212
13213         * lyx_gui_misc.C: move Include and Bibform to frontends
13214
13215         * lyxvc.h: clarify comment
13216
13217         * vspace.C: tiny housekeeping
13218
13219 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13220
13221         * text.C (PrepareToPrint): RTL Fix.
13222
13223         * paragraph.C (GetUChar): New method.
13224         (String):  Use GetUChar.
13225
13226         * buffer.C (asciiParagraph): Use GetUChar.
13227
13228 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13229
13230         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13231
13232 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * buffer.h:
13235         * buffer.C: rename to getLogName(), handle
13236           build log / latex log nicely
13237
13238 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * MenuBackend.C:
13241         * MenuBackend.h: remove support for reference menuitem type.
13242
13243 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * BufferView_pimpl.C: housekeeping
13246         * BufferView_pimpl.h:
13247         * LyXView.h:
13248         * Makefile.am:
13249         * Timeout.C:
13250         * Timeout.h:
13251         * minibuffer.h: move Timeout GUI-I
13252
13253 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13254
13255         * lyxrc.C (read): Update converters data-structures.
13256
13257 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13258
13259         * LaTeX.h (operator!=): add operator != for Aux_Info
13260
13261 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13262
13263         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13264
13265         * LaTeXLog.C: deleted, useful code moved to Buffer
13266
13267         * buffer.h:
13268         * buffer.C: new function getLatexLogName()
13269
13270         * lyx_gui_misc.C:
13271         * lyx_gui.C:
13272         * lyxvc.C:
13273         * lyxvc.h:
13274         * lyxfunc.C: use frontends for LaTeX and VC logs
13275
13276 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * LaTeX.h: yet another std:: that Allan forgot.
13279
13280         * Variables.C (set): renamed from isset(), because this clashes
13281         with some HP-UX macros (grr).
13282
13283 2001-02-06  Allan Rae  <rae@lyx.org>
13284
13285         * LaTeX.h: Another bug fix.  Missing std:: this time.
13286
13287 2001-02-04  Allan Rae  <rae@lyx.org>
13288
13289         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13290         floats problem. I've left it commented out because it's not quite
13291         correct.  It should also test that the current object is a table or
13292         figure inset.  But I haven't gotten around to figuring out how to do
13293         that.  I *think* it'll be something like: "table" == inset.type()
13294
13295         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13296         bool.
13297
13298 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13299
13300         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13301         all the citation/databases/styles in the auxilary file.
13302         (run): Rerun latex if there was a babel language error.
13303
13304 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * text.C (Backspace): Preserve the font when changing newline char
13307         with a space.
13308         (BreakParagraph): If the cursor is before a space, delete the space.
13309
13310         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13311
13312 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13313
13314         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13315         new argument (code).
13316         (ChangeCitationsIfUnique): New method.
13317
13318         * paragraph.C (GetPositionOfInset): Handle bibkey.
13319
13320 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13321
13322         * BufferView_pimpl.h: change type of Position::par_pos to
13323         LyXParagraph::size_type.
13324
13325 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13326
13327         * BufferView_pimpl.C (savePosition, restorePosition): Write
13328         messages to minibuffer.
13329
13330 2001-01-28  José Matos  <jamatos@fep.up.pt>
13331
13332         * buffer.C (makeDocBookFile): adds support for document language.
13333         A silly restriction on the name of LatexCommand types where removed.
13334         Added support for CDATA sections, allows to chars unescaped, used
13335         among others in code, to avoid escape < and >.
13336
13337 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13338
13339         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13340         saved positions instrad of a stack. Furthermore, a position is
13341         stored using paragraph id/paragraph position.
13342
13343         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13344         Remove LFUN_REF_BACK.
13345
13346 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13347
13348         * converter.C (dvipdfm_options): New method.
13349
13350 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13351
13352         * vspace.C (isValidLength): Fix for empty input string.
13353
13354 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * LyXAction.C (init): change description of LFUN_FIGURE to
13357         "Insert Graphics"
13358
13359 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13360
13361         * LaTeX.C: add using directive
13362
13363 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13364
13365         * MenuBackend.C (expand): Fix the sorting of the formats.
13366
13367 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13368
13369         * lyx_main.C: tiny error message fix
13370
13371 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13374         calling fl_initialize(). This fixes the problem with ',' as
13375         decimal separator in text files.
13376
13377 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13378
13379         * trans.C (process): Fix the keymap bug.
13380
13381 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13382
13383         * LaTeX.C (scanAuxFiles): New method. Provides support for
13384         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13385         (scanLogFile) Scan for "run BibTeX" messages.
13386
13387         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13388         OT1 font encoding. Also, load the aecompl package if the ae
13389         package is loaded.
13390
13391         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13392
13393 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13394
13395         * texrow.C (increasePos): turn two error messages into debug
13396         messages.
13397
13398 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * LaTeX.C (scanAux): Handle the \@input macro.
13401         (runBibTeX): Use scanAux().
13402
13403         * language.C (latex_options_): New field.
13404
13405         * LaTeXFeatures.C (getMacros): Add language macros.
13406
13407         * buffer.C (makeLaTeXFile): Small fix.
13408
13409 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13412
13413         * text2.C: add a using directive.
13414
13415 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13416
13417         * BufferView2.C:
13418         * lyx_gui_misc.h:
13419         * lyxfr1.C:
13420         * lyxfunc.C: kill LyXBell.
13421
13422 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13423
13424         * text.C (IsBoundary): Remove the error message
13425
13426         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13427
13428         * lyxrc.C (setDefaults): Correct initialization value for
13429         font_norm_type.
13430
13431 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13434         gotoError().
13435
13436         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13437         and GotoNextNote().
13438
13439         * src/LyXAction.C: Added reference-next.
13440
13441         * text.C (InsertChar): Use contains instead of strchr.
13442
13443         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13444
13445 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13446
13447         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13448         alignment commands (when needed).
13449
13450         * text.C (InsertChar): Add ':' to number separator chars.