]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
474449bb9221a32eee1717118d8c1502b0e6b13a
[lyx.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  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * MenuBackend.C:
10         * lyxfunc.C: fix (at least partly) the problems
11         with the Nav menu and headers inside branch insets
12         reported by Kayvan
13
14 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
15
16         * paragraph.C (getChar): add strong asserts
17
18         * lyxrow_funcs.C (lastPos): remove hideous hack
19
20         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
21         (fill): adjust to that (avoid an infinite loop)
22
23 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
24
25         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
26
27 2003-10-23  André Pönitz  <poenitz@gmx.net>
28         
29         * RowList_fwd.h: change list<> to vector<> to gain speed
30         after suggestion from Alfredo
31
32 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
33
34         * lyxtext.h: move the bidi stuff from here...
35         * text.C: and here
36         * text2.C: and here
37         * Bidi.[Ch]: ... to here
38
39 2003-10-23  André Pönitz  <poenitz@gmx.net>
40
41         * lyxtext.h:
42         * text.C (isLastRow, isFirstRow): new functions
43
44         * paragraph.h: new width cache member
45
46         * rowpainter.C: replace RowList::iterator with Row & where possible
47
48         * lyxfunc.C: replace several view()->text with a single call
49
50         * toc.C: fix 'unused' warning
51
52 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
53
54         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
55         when woring with stream::pos_type
56         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
57
58 2003-10-22  André Pönitz  <poenitz@gmx.net>
59
60         * lyxtext.h:
61         * text.C: use Row & instead of RowList::iterator
62
63         * lyxrow.h: rename end() to endpos()
64
65         * rowpainter.C:
66         * text.C:
67         * text2.C: adjust
68
69 2003-10-22  Angus Leeming  <leeming@lyx.org>
70
71         * buffer.[Ch] (fully_loaded): new member function, returning true
72         only when the file has been loaded fully.
73         Used to prevent the premature generation of previews and by the
74         citation inset to prevent computation of the natbib-style label.
75
76         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
77         templates are all set up.
78
79         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
80
81 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * text.C: fixed an "oops" in the "is a bit silly"
84         bug fix
85
86 2003-10-21  André Pönitz  <poenitz@gmx.net>
87
88         * FuncStatus.[Ch]: small stuff, whitespace
89
90         * lyxfont.[Ch]: operator<<() for debug reasons
91
92         * lyxfunc.C:
93         * lyxrow_funcs.C:
94         * lyxtext.h: whitespace, spelling
95
96         * paragraph.C: naming of variables
97
98         * text.C:
99         * text2.C: small stuff
100
101
102 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * text.C: (1) finish off the inset display() work;
105         (2) fix the "is a bit silly" bug (accessing char
106         past end of par).
107
108 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * text.C: re-introduce display() for insets, fixing the
111         various bugs (stretch of line above, math inset
112         positioning, ...)
113
114 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * text.C (rightMargin): remove spurious semicolon
117
118         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
119         1415)
120
121 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * text3.C: fix one crash due to wrong cursor def
124
125 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
126
127         * vc-backend.C (scanMaster): make the regex static
128
129         * LaTeX.C (scanAuxFile): make the regexs static
130
131         * text3.C (doInsertInset, dispatch, dispatch):
132         * text2.C (cursorUp, cursorDown):
133         * text.C (selectNextWordToSpellcheck):
134         * BufferView_pimpl.C (dispatch):
135         * lyxfunc.C (dispatch):  localDispatch -> dispatch
136
137 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * lyxsocket.C: include <cerrno>
140
141 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
142
143         * lyxfunc.C (dispatch): remove textcache stuff
144
145         * bufferlist.C (release): remove textcache stuff
146         (closeAll): ditto
147
148         * TextCache.C: delete file
149         * TextCache.h: delete file
150
151         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
152
153         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
154         delete of the bv_->text.
155         (resizeCurrentBuffer): remove texcache stuff
156         (workAreaResize): ditto
157
158 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
159
160         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
161         action.
162
163 2003-10-16  André Pönitz  <poenitz@gmx.net>
164
165         * lyxrow.[Ch]:
166         * paragraph.h:
167         * rowpainter.C:
168         * text.C:
169         * text2.C:
170         * text3.C: speed up by storing y positions per paragraph plus per-row
171         offset instead of having a 'full' y position in the row.
172
173 2003-10-15  André Pönitz  <poenitz@gmx.net>
174
175         * iterators.[Ch]:
176         * iterators.[Ch]:
177         * undo.[Ch]: make undo aware of inner insets
178
179 2003-10-14  Angus Leeming  <leeming@lyx.org>
180
181         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
182         static member functions LyX::ref() and LyX::cref.
183         (lastfiles): new accessor functions for the new lastfiles_ member var.
184         (addLyXView, views_): add a new LyXView to the list of views_.
185         (updateInset): loop over all LyXViews to call their own updateInset
186         member function, returning a pointer to the Buffer owning the inset.
187
188         * BufferView_pimpl.C (loadLyXFile):
189         * MenuBackend.C (expandLastfiles):
190         * bufferlist.C (MenuWrite, QuitLyX):
191         lastfiles is no longer a global variable.
192         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
193
194         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
195         static function. Access through LyX::cref().emergencyCleanup().
196
197 2003-10-14  André Pönitz  <poenitz@gmx.net>
198
199         * iterators.[Ch]: new direct access to innermost LyXText and Inset
200
201         * undo.[Ch]: restoring part of 'undo in insets'
202
203         * Makefile.am:
204         * undo_funcs.[Ch]: merge with undo.[Ch]
205
206         * tabular.C: small cleansing stuff
207
208 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
209
210         * paragraph_funcs.C (readParToken): report unknown insets as error
211         boxes. Use the outer paragraph as location (also for unknown
212         tokens).
213
214         * factory.C (readInset): do not abort on reading an unknown inset.
215         Eat it and return 0.
216
217 2003-10-13  Angus Leeming  <leeming@lyx.org>
218
219         * lyx_main.C (LyX): remove call to setDisplayTranslator().
220
221         * lyxrc.C: displayTranslator is now a function,
222         declared in GraphicsTypes.h.
223
224 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
225
226         * format.C: new placeholder $$a to pass the socket address.
227
228         * bufferlist.[Ch]: new function getBufferFromTmp.
229
230         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
231           files in the temporary dir.
232
233 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
234
235         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
236
237         * Makefile.am: add lyxsocket.[Ch].
238
239         * lyx_main.C (error_handler): handle SIGPIPE.
240
241 2003-10-13  André Pönitz  <poenitz@gmx.net>
242
243         * BufferView_pimpl.C:
244         * lyxtext.h:
245         * text.C:
246         * text2.C:
247         * text3.C:
248         * undo_funcs.[Ch]: use paroffset_type instead of
249           ParagraphList::iterators to prevent multiple conversion
250           (and get a more robust interface)
251
252 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
253
254         * lyxfunc.C (dispatch): RESULT -> dispatch_result
255         * lyxtext.h: ditto
256         * text3.C (dispatch): ditto
257
258 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
259
260         * LaTeX.C (handleFoundFile): move the static to smaller scope,
261         move the onlyfile, use onlyfile instead of foundfile in a couple
262         of places.
263
264         * DepTable.C (update): flush the error stream a bit more
265
266 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
267
268         * lyxserver.C (callback): adjust
269
270         * lyxfunc.C (getStatus): add a missing brace in commented code
271         (ensureBufferClean): reindent
272         (dispatch): delete version taking a string
273
274 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
275
276         * LaTeX.C (deplog): move found file handlig from here...
277         (handleFoundFile): .. to new function here.
278         (deplog): make sure to discover several files mentioned on the
279         same log line.
280
281 2003-10-10  André Pönitz  <poenitz@gmx.net>
282
283         * lyxfunc.C:
284         * lyxtext.h:
285         * tabular.C:
286         * text.C:
287         * text2.C:
288         * text3.C: fix some of the tabular crashes
289
290 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
291
292         * MenuBackend.C (binding): put debug message into Debug::KBMAP
293
294         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
295
296 2003-10-09  André Pönitz  <poenitz@gmx.net>
297
298         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
299
300         * BufferView.C:
301         * BufferView_pimpl.C:
302         * bufferview_funcs.C:
303         * lyx_cb.C:
304         * lyxcursor.C:
305         * lyxfind.C:
306         * lyxfunc.C:
307         * lyxtext.h:
308         * text.C:
309         * text2.C:
310         * text3.C:
311         * text_funcs.[Ch]:
312         * textcursor.[Ch]:
313         * undo_funcs.C: adjust
314
315 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
316
317         * text2.C (incrementItemDepth): new function, use a backtracking
318         algorithm to discover the correct item depth.
319         (resetEnumCounterIfNeeded): new function, use a backtracking
320         algorithm to discover if counter reset is needed.
321         (setCounter): use them. Simplify a bit. Add different labels for
322         different item depths for itemize.
323
324         * paragraph.C (Paragraph): remove initialization of enumdepth
325         (operator=): ditto
326
327         * paragraph.h: get rid of enumdepth, and use itemdepth both for
328         enumerate and itemize. Change the type of itemdepth to signed char.
329
330 2003-10-08  André Pönitz  <poenitz@gmx.net>
331
332         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
333           thing assignable.
334         * text.C:
335         * text2.C: adjust
336
337         * tabular.[Ch]: fix crash after 'row-insert'
338
339 2003-10-08  Angus Leeming  <leeming@lyx.org>
340
341         Fix doxygen warnings.
342
343         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
344         Remove CutAndPaste:: prefix from header file declaration.
345
346         * LColor.h (fill): remove LColor:: prefix from declaration.
347
348         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
349         use lyx::depth_type rather than Paragraph::depth_type so that
350         header file and .C file match.
351
352         * converter.h (intToFormat): remove Converters:: prefix from declaration.
353
354         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
355         * aspell.C: \file aspell_local.C -> \file aspell.C
356         * gettext.C: \file gettext.C -> \file src/gettext.C
357         * gettext.h: \file gettext.h -> \file src/gettext.h
358         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
359         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
360         * text.C: \file text.C -> \file src/text.C
361
362         * toc.C: move comment so that doxygen is not confused.
363
364 2003-10-07  Angus Leeming  <leeming@lyx.org>
365
366         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
367
368 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
369
370         * aspell.C:
371         * aspell_local.h: add forgotten std::string's.
372
373 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
374
375         * LaTeXFeatures.C:
376         * LyXAction.C:
377         * factory.C:
378         * lfuns.h:
379         * lyxfunc.C:
380         * text3.C: The Box patch. Fancybox support, minipage, parbox
381
382 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
383
384         * CutAndPaste.h:
385         * DepTable.h:
386         * FloatList.h:
387         * LaTeXFeatures.h:
388         * ParagraphParameters.h:
389         * TextCache.h:
390         * Thesaurus.h:
391         * bufferlist.h:
392         * exporter.h:
393         * importer.h:
394         * lastfiles.h:
395         * lyxfind.h:
396         * lyxfont.h:
397         * lyxlex.h:
398         * lyxtextclasslist.h:
399         * messages.h:
400         * paragraph.h:
401         * paragraph_pimpl.C:
402         * textcursor.h: add <string> and other small fixes to make Lars'
403         std::string patch compile with STLport.
404
405 2003-10-06  Angus Leeming  <leeming@lyx.org>
406
407         * LColor.h: Add missing #include <string>.
408
409 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
410
411         * All most all file in all subdirs: Make <string> be the prefered
412         way of getting to std::string, add using declarations.
413
414 2003-10-06  André Pönitz  <poenitz@gmx.net>
415
416         * metricsinfo.C: initialize LyXFont before changing attribute.
417         (fixes the 'math in \emph is upright' bug)
418
419 2003-10-06  André Pönitz  <poenitz@gmx.net>
420
421         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
422
423 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * graph.C:
426         * paragraph_pimpl.C: Small fixes to build using STLport
427
428 2003-10-02  André Pönitz  <poenitz@gmx.net>
429
430         * lyxfunc.C:
431         * text3.C: move handling of LFUN_DEPTH *; fix #1360
432
433 2003-10-01  André Pönitz  <poenitz@gmx.net>
434
435         * factory.C: assert early
436
437 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
438
439         * lyx_main.C: remove the global debug object
440
441         * debug.h: adjust for new debugstream
442
443         * debug.C: adjust for new debugstream and keep the global debug
444         object here.
445
446 2003-09-22  Angus Leeming  <leeming@lyx.org>
447
448         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
449         of g++ which otherwise complain that the scoped_ptr destructor can't delete
450         an incomplete class LyXFont.
451
452 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * factory.C: bug fix in branches
455
456 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
457
458         * lyxfunc.C (processKeySym): adjust
459         (dispatch): adjust
460         (dispatch): change arg name from ev to func, adjust
461         (sendDispatchMessage): ditto
462
463         * lyx_main.C (defaultKeyBindings): adjust keybindings
464         (deadKeyBindings): ditto
465
466         * kbsequence.C (addkey): return a FuncRequest
467
468         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
469
470         * kbmap.C (bind): take a FuncRequest as arg, adjust
471         (read): adjust
472         (lookup): adjust
473         (defkey): change to take a FuncRequest as arg, adjust
474         (findbinding): take a FuncRequest as arg, adjust.
475
476         * funcrequest.h (operator=): added
477
478         * funcrequest.C (FuncRequest): default kb_action changed from
479         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
480
481         * buffer.C (dispatch): simplify
482         (dispatch): adjust to take a FuncRequest as arg, adjust
483
484         * boost.C (assertion_failed): change assertion message slightly
485
486         * ToolbarBackend.C (read): simplify
487
488         * MenuBackend.C (binding): adjust call to findbinding, add a
489         message if no binding is found.
490         (read): simplify
491         (expandToc): correct by adding a empty FuncRequest
492
493         * LyXAction.C: include <boost/assert.hpp>
494         (isPseudoAction): delete function
495         (LookupFunc): change name to...
496         (lookupFunc): this. change return type to FuncRequest.
497         (getActionName): take kb_action as arg, simplify
498         (funcHasFlag): add an assert, simplify.
499
500 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
501
502         * toc.C (action): return a FuncRequest, simplify
503
504         * lyxfunc.C (processKeySym): adjust
505         (getStatus): delete version that takes an int.
506         (getStatus): adjust
507         (dispatch): delete version that takes action as int
508         (dispatch): adjust
509         (sendDispatchMessage): simplify and adjust
510
511         * funcrequest.C (getArg): take unsigned int as arg
512
513         * ToolbarBackend.C (read): adjust
514         (add): delete version that takes func as a string.
515         (getIton): take a FuncRequest as arg
516
517         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
518         action.
519
520         * MenuBackend.C (MenuItem): add a new construct that only takes a
521         Kind, simplify the constructor use for submenus.
522         (add): adjust
523         (expandLastfiles): adjust
524         (expandDocuments): adjust
525         (expandFormats): adjust
526         (expandFloatListInsert): adjust
527         (expandFloatInsert): adjust
528         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
529
530         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
531         Remove class variables lyx_pseudo_map and lyx_arg_map
532
533         * LyXAction.C (searchActionArg): delete function
534         (getPseudoAction): delete function
535         (retrieveActionArg): delete function
536         (LookupFunc): make it return kb_action, simplify.
537         (getActionName): simplify
538
539         * factory.C (createInset): fix new bug
540
541 2003-09-19  Angus Leeming  <leeming@lyx.org>
542
543         * CutAndPaste.C (pasteSelection): remove fudge used to set the
544         masterFilename_ parameter in the include inset.
545
546         * factory.C (createInset): changes due to the changes to InsetInclude.
547
548 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
549
550         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
551
552 2003-09-18  Angus Leeming  <leeming@lyx.org>
553
554         * buffer.C:
555         * BufferView.C: pass the buffer when calling Inset::getLabelList,
556         Inset::fillWithBibKeys.
557         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
558
559 2003-09-18  Angus Leeming  <leeming@lyx.org>
560
561         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
562         variables.
563         (ctor): pass and store a 'Buffer const &'
564         (buffer): new member function.
565
566         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
567         '*this' to the LaTeXFeatures ctor.
568
569 2003-09-18  Angus Leeming  <leeming@lyx.org>
570
571         * LColor.h:
572         * lyxfont.C:
573         * lyxfont.h:
574         * lyxtext.h:
575         * text.C: rename EnumLColor as LColor_color.
576
577 2003-09-18  Angus Leeming  <leeming@lyx.org>
578
579         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
580         remove #include "insets/insetbase.h" from cursor.h.
581
582 2003-09-18  Angus Leeming  <leeming@lyx.org>
583
584         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
585         InsetOld_code to remove #include "inset.h".
586
587         * iterators.C: add #include "insets/inset.h"
588
589 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * BufferView.C: remove more locking stuff that apparently doesn't
592         do anything sensible.
593
594 2003-09-16  André Pönitz  <poenitz@gmx.net>
595
596         * paragraph.[Ch]:
597         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
598           performance boost.
599
600 2003-09-16  Angus Leeming  <leeming@lyx.org>
601
602         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
603
604         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
605         arg/return type.
606
607         * paragraph.h: remove #include "lyxfont.h". Forward declare
608         LyXFont_size.
609
610 2003-09-16  Angus Leeming  <leeming@lyx.org>
611
612         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
613         of support/textutils.h.
614         (isWord): move the contents of support/textutils.h's IsWordChar here.
615
616         * buffer.C:
617         * lyxfind.C:
618         * rowpainter.C:
619         * text.C:
620         * text2.C: add #include "paragraph.h".
621
622         * rowpainter.C:
623         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
624
625 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
626
627         * main.C:
628         * lyx_main.C:
629         * lyx_cb.C:
630         * buffer.C:
631         * LaTeX.C: use namespace alias for lyx::support::os
632
633 2003-09-16  Angus Leeming  <leeming@lyx.org>
634
635         * bufferparams.C:
636         * bufferview_funcs.C:
637         * factory.C:
638         * lyxfunc.C:
639         * paragraph_pimpl.C:
640         * rowpainter.C:
641         * text.C: add #include "LColor.h".
642
643 2003-09-16  Angus Leeming  <leeming@lyx.org>
644
645         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
646         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
647         return LyXFont &.
648         Store the FontBits::color variable as an int rather than as an
649         LColor::colorso that we can move LColor.h out of the lyxfont.h header
650         file.
651
652         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
653         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
654         string calls together.
655
656         * lyxrc.C: add #include "LColor.h".
657
658 2003-09-15  Angus Leeming  <leeming@lyx.org>
659
660         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
661         a cow_ptr.
662
663 2003-09-15  Angus Leeming  <leeming@lyx.org>
664
665         * LColor.h: add an EnumLColor wrapper for LColor::color.
666
667         * lyxfont.[Ch] (color, setColor, realColor):
668         * lyxtext.h, text.C (backgroundColor):
669         pass EnumLColor args to/from the functions, rather than LColor::color
670         ones.
671
672         * lyxfont.h:
673         * lyxtext.h: forward declare EnumLColor.
674
675         * lyx_main.C: add #include "LColor.h".
676
677 2003-09-15  Angus Leeming  <leeming@lyx.org>
678
679         * .cvsignore: add lyx-gtk.
680
681 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
682
683         * Chktex.C
684         * LaTeX.C
685         * LaTeXFeatures.C
686         * ParagraphParameters.C
687         * Spacing.C
688         * buffer.C
689         * bufferparams.C
690         * bufferview_funcs.C
691         * chset.C
692         * counters.C
693         * funcrequest.C
694         * lyxfont.C
695         * lyxgluelength.C
696         * lyxlength.C
697         * paragraph.C
698         * paragraph_funcs.C
699         * text3.C
700         * vc-backend.C: remove usage of STRCONV
701
702 2003-09-15  Angus Leeming  <leeming@lyx.org>
703
704         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
705         explicitly define the color passed to the painter.
706
707 2003-09-15  Angus Leeming  <leeming@lyx.org>
708
709         * bufferparams.C (BufferParams): reorder member initializers to avoid
710         compiler warning.
711
712 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
713
714         * CutAndPaste.C (pasteSelection): remove an outdated #warning
715         * text.C (updateRowPositions): remove an unusual nop
716
717 2003-09-12  André Pönitz  <poenitz@gmx.net>
718
719         * BufferView_pimpl.C:
720         * Bullet.C:
721         * layout.h:
722         * lyxfunc.C:
723         * lyxlayout.[Ch]:
724         * lyxtextclass.C:
725         * rowpainter.C:
726         * text.C:
727         * text2.C:
728         * Counters.[Ch]: finish the 'automatic counters' job
729
730 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
731
732         * aspell.C: include <boost/assert.cpp> (compile fix)
733
734 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
735
736         * boost.C (assertion_failed): use lyx::support::abort instead of
737         assert.
738
739 2003-09-10  Angus Leeming  <leeming@lyx.org>
740
741         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
742         with their _fwd progeny.
743
744 2003-09-09  Angus Leeming  <leeming@lyx.org>
745
746         134 files throughtout the source tree: replace 'using namespace abc;'
747         directives with the appropriate 'using abc::xyz;' declarations.
748
749 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
750
751         * boost.C (emergencyCleanup): moved here from LAssert.c
752         (assertion_failed): new function, called by BOOST_ASSERT
753
754         * several files: change Assert to BOOST_ASSERT
755
756 2003-09-09  Angus Leeming  <leeming@lyx.org>
757
758         * buffer.[Ch]: Add an Impl class and move Buffer's member
759         variables into it. As a result move several header files out of
760         buffer.h.
761
762         Add header files to lots of .C files all over the tree as a result.
763
764 2003-09-09  Angus Leeming  <leeming@lyx.org>
765
766         * buffer.[Ch]: make Buffer's member variables private. Add
767         accessor functions.
768
769         Lots of changes all over the tree as a result.
770
771 2003-09-08  Angus Leeming  <leeming@lyx.org>
772
773         * graph.C: #include <config.h>.
774
775 2003-09-08  Angus Leeming  <leeming@lyx.org>
776
777         * BranchList.C:
778         * BufferView.C:
779         * BufferView_pimpl.C:
780         * CutAndPaste.C:
781         * DepTable.C:
782         * LaTeX.C:
783         * LaTeXFeatures.C:
784         * LyXAction.C:
785         * MenuBackend.C:
786         * TextCache.C:
787         * aspell.C:
788         * buffer.C:
789         * bufferlist.C:
790         * changes.C:
791         * chset.C:
792         * converter.C:
793         * counters.C:
794         * debug.C:
795         * graph.C:
796         * ispell.C:
797         * lyx_cb.C:
798         * lyxfind.C:
799         * lyxfunc.C:
800         * lyxlex_pimpl.C:
801         * lyxrc.C:
802         * lyxrow.C:
803         * paragraph.C:
804         * rowpainter.C:
805         * texrow.C:
806         * text.C:
807         * text2.C:
808         * toc.C: remove redundant using directives.
809
810 2003-09-07  Angus Leeming  <leeming@lyx.org>
811
812         * LaTeXFeatures.h: remove #include "support/types.h".
813         * ToolbarBackend.h: remove #include <algorithm>.
814         * changes.h: remove #include <ctime>.
815         * debug.h: remove #include <iosfwd>.
816         * graph.h: remove #include "support/std_string.h".
817         * lyx_main.h: remove #include <csignal>.
818         * lyxlex_pimpl.h: remove #include <fstream>.
819         * sgml.h: remove #include <algorithm>, <utility>.
820         * toc.h: remove #include "support/std_ostream.h".
821         Add #include <iosfwd>.
822
823 2003-09-07  Angus Leeming  <leeming@lyx.org>
824
825         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
826
827         * converter.h: forward declare LatexRunParams.
828         * encoding.h: remove #include "lyxrc.h".
829         * lyxtext.h: remove #include "LColor.h".
830         * lyxtextclass.h: remove #include "support/types.h".
831         * trans.h: remove #include "tex-accent.h".
832         * trans_mgr.h: remove #include "tex-accent.h".
833         * insets/inset.h: remove #include "support/types.h", <vector>.
834         * insets/insetcollapsable.h: remove #include "LColor.h".
835         * insets/insetinclude.h: remove #include "dimension.h".
836         * insets/insetlatexaccent.h: remove #include "dimension.h".
837         * insets/insetoptarg.h:: remove #include "insettext.h".
838         * insets/insettext.h: remove #include "dimension.h",
839         <boost/shared_ptr.hpp>
840
841         * insets/renderers.h: add #include "dimension.h".
842         * insets/updatableinset.h: add #include "support/types.h".
843
844         * many .C files: Associated changes.
845
846 2003-09-06  Angus Leeming  <leeming@lyx.org>
847
848         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
849         one, inside testInvariant.
850
851         * PrinterParams.C: new file.
852         * PrinterParams.[Ch]: move the function bodies out of line.
853
854 2003-09-06  Angus Leeming  <leeming@lyx.org>
855
856         * ParagraphParameters.h: forward declare ParameterStruct rather than
857         including its header file.
858         (depth): moved out-of-line.
859
860 2003-09-06  Angus Leeming  <leeming@lyx.org>
861
862         * BufferView_pimpl.h:
863         * kbmap.h:
864         * kbsequence.h:
865         * lyxfunc.h: forward declare LyXKeySym rather than
866         #include "frontends/LyXKeySym.h".
867
868         * BufferView_pimpl.C:
869         * kbmap.C:
870         * kbsequence.C:
871         * lyxfunc.C: associated changes.
872
873 2003-09-06  Angus Leeming  <leeming@lyx.org>
874
875         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
876         As a result, can remove the #include "insets/inset.h" from BufferView.h
877
878 2003-09-06  Angus Leeming  <leeming@lyx.org>
879
880         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
881         As a result, can remove the #include "insets/inset.h" from BufferView.h
882
883 2003-09-06  Angus Leeming  <leeming@lyx.org>
884
885         * buffer_funcs.C:
886         * buffer.h:
887         * bufferlist.C:
888         * BufferView.C:
889         * bufferview_funcs.C:
890         * BufferView_pimpl.C:
891         * CutAndPaste.C:
892         * lyx_cb.C:
893         * lyxfunc.C:
894         * paragraph.h:
895         * ParagraphParameters.C:
896         * tabular.C:
897         * text3.C:
898         * toc.C:
899         * undo_funcs.C:
900         * frontends/controllers/ControlDocument.C:
901         * insets/insetcaption.C: rearrange the #includes into some sort of
902         coherent order.
903
904         * buffer.h: remove #includes ErrorList.h, undo.h
905
906 2003-09-06  Angus Leeming  <leeming@lyx.org>
907
908         * support/types.h: add a 'depth_type' typedef, used to store the
909         nesting depth of a paragraph.
910
911         * paragraph.h:
912         * ParameterStruct.h: use this lyx::depth_type typedef rather than
913         defining explicitly.
914
915         * buffer.h:
916         * paragraph_funcs.h:
917         * ParagraphParameters.h:
918         * sgml.h: use lyx::depth_type rather than Paragraph or
919         ParameterStruct's depth_type.
920
921         * buffer.h
922         * paragraph_funcs.h: no need to #include paragraph.h anymore.
923
924         * BufferView.C:
925         * BufferView_pimpl.C:
926         * CutAndPaste.C:
927         * ParagraphParameters.C:
928         * buffer_funcs.C:
929         * bufferlist.C:
930         * bufferview_funcs.C:
931         * lyx_cb.C:
932         * lyxfunc.C:
933         * tabular.C:
934         * text3.C:
935         * toc.C:
936         * undo_funcs.C:
937         * frontends/LyXView.C:
938         * frontends/controllers/ControlDocument.C:
939         * frontends/controllers/ControlErrorList.C:
940         * insets/insetbibitem.C:
941         * insets/insetbranch.C:
942         * insets/insetcaption.C:
943         * insets/insetcollapsable.C:
944         * insets/insetenv.C:
945         * insets/insetert.C:
946         * insets/insetfloat.C:
947         * insets/insetfoot.C:
948         * insets/insetfootlike.C:
949         * insets/insetnewline.C:
950         * insets/insetquotes.C:
951         * insets/insettabular.C:
952         * insets/insettext.C:
953         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
954
955         * frontends/controllers/ControlChanges.C: #include "changes.h".
956
957 2003-09-06  Angus Leeming  <leeming@lyx.org>
958
959         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
960         than #including paragraph.h.
961
962         * ParagraphList.h:
963         * RowList.h: deleted. Superfluous.
964
965         * CutAndPaste.h:
966         * iterators.h:
967         * lyxcursor.h:
968         * lyxtext.h:
969         * text_funcs.h:
970         * undo.h:
971         * undo_funcs.h:
972         * insets/inset.h:
973         * insets/insettext.h: use ParagraphList_fwd.h rather than
974         ParagraphList.h.
975
976         * paragraph.h: don't forward declare ParagraphList.
977
978         * buffer.h:
979         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
980         rather than ParagraphList.h. paragraph.h is still needed for the
981         Paragraph::depth_type parameters.
982
983         * textcursor.h: enable it to compile stand-alone in light of the
984         above changes.
985
986         * bufferview_funcs.C:
987         * iterators.C:
988         * lyxfunc.C:
989         * lyxrow_funcs.C:
990         * paragraph.C:
991         * rowpainter.C:
992         * text.C:
993         * text2.C:
994         * text3.C:
995         * text_funcs.C:
996         * textcursor.C:
997         * undo.C:
998         * frontends/controllers/ControlParagraph.C:
999         * frontends/controllers/ControlTabular.C:
1000         * insets/insetmarginal.C:
1001         * insets/insetminipage.C:
1002         * insets/insetnote.C:
1003         * insets/insetoptarg.C: add header files needed to compile again.
1004
1005 2003-09-06  Angus Leeming  <leeming@lyx.org>
1006
1007         * RowList_fwd.h: new file, forward-declaring Row rather than
1008         #including lyxrow.h.
1009
1010         * lyxrow_funcs.h:
1011         * lyxtext.h:
1012         * paragraph.h:
1013         * insets/insettext.h: use it instead of RowList.h
1014
1015         * bufferview_funcs.C:
1016         * lyxfunc.C:
1017         * lyxrow_funcs.C:
1018         * paragraph.C:
1019         * rowpainter.C:
1020         * text.C:
1021         * text2.C:
1022         * text3.C: #include "RowList.h".
1023
1024 2003-09-05  Angus Leeming  <leeming@lyx.org>
1025
1026         * factory.C (createInset):
1027         * vspace.C (c-tor): replace sscanf call with an istringstream.
1028         * ispell.C: re-add missing HP/UX headers.
1029         * lyxserver.C: re-add missing  os2 headers.
1030
1031 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1032
1033         * BranchList.C:
1034         * graph.C:
1035         * ispell.C:
1036         * lastfiles.C:
1037         * lyx_cb.C:
1038         * lyxserver.C:
1039         * texrow.C:
1040         * text3.C: re-add missing system headers, needed for 2.95.2.
1041
1042 2003-09-05  Angus Leeming  <leeming@lyx.org>
1043
1044         Changes most place everywhere due to the removal of using directives
1045         from support/std_sstream.h.
1046
1047 2003-09-05  Angus Leeming  <leeming@lyx.org>
1048
1049         Replace LString.h with support/std_string.h,
1050         Lsstream.h with support/std_sstream.h,
1051         support/LIstream.h with support/std_istream.h,
1052         support/LOstream.h with support/std_ostream.h.
1053
1054         Changes resulting throughout the tree.
1055
1056 2003-09-05  Angus Leeming  <leeming@lyx.org>
1057
1058         * sgml.h: ensure that the header file can be compiled stand-alone.
1059         * *.C: strip out redundant #includes. (320 in total.)
1060
1061 2003-09-04  Angus Leeming  <leeming@lyx.org>
1062
1063         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1064         here (from getPackages).
1065
1066         * debug.[Ch]: add a new EXTERNAL tag.
1067
1068 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1069
1070         * text2.C (cursorEnd): simplify
1071         (setCursor): adjust
1072         (getColumnNearX): adjust
1073
1074         * text.C (computeBidiTables): adjust
1075         (fill): adjust
1076
1077         * rowpainter.C (paintChars): adjust
1078         (paintSelection): adjust
1079         (paintChangeBar): adjust
1080         (paintText): adjust
1081
1082         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1083         lastPos instead.
1084         (numberOfSeparators): adjust
1085
1086 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * LyXAction.C:
1089         * box.[Ch]:
1090         * lfuns.h:
1091         * lyxfunc.C:
1092         * text3.C: Restricts the mouse click functionality
1093         of insets like bibtex, include, toc and floatlist to the visible
1094         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1095         up the dialogs. Cursor has to be in front of the inset (i.e.
1096         start of row) for this to function.
1097
1098 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1099
1100         * bufferview_funcs.C (currentState): output row information
1101
1102 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1103
1104         * bufferview_funcs.C (currentState): output paragraph position
1105
1106 2003-09-04  Angus Leeming  <leeming@lyx.org>
1107
1108         * FloatList.h: move out #include "Floating.h".
1109         * LaTeX.h: move out #include "DepTable.h".
1110         * LyXAction.h: move out #include "funcrequest.h".
1111         * buffer.h: move out #include "author.h", "iterators.h".
1112         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1113         * lyx_main.h: move out #include "errorlist.h".
1114         * lyxfunc.h: move out #include "FuncStatus.h".
1115         * lyxtext: move out #include "lyxcursor.h".
1116         * paragraph_pimpl.h: move out #include "counters.h".
1117
1118 2003-09-03  Angus Leeming  <leeming@lyx.org>
1119
1120         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1121         preamble_snippets list, enabling us to add snippets to the preamble
1122         only if the snippet was not there already.
1123
1124 2003-09-04  Angus Leeming  <leeming@lyx.org>
1125
1126         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1127
1128 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1129
1130         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1131         update
1132
1133 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * BranchList.C: point fix, earlier forgotten
1136
1137 2003-09-02  Angus Leeming  <leeming@lyx.org>
1138
1139         * box.C (contains): renamed from 'contained' after a fantastic
1140         amount of hot air.
1141
1142 2003-09-02  John Levon  <levon@movementarian.org>
1143
1144         * BufferView.C:
1145         * lyxcursor.h:
1146         * lyxcursor.C:
1147         * lyxfunc.C:
1148         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1149
1150 2003-09-02  John Levon  <levon@movementarian.org>
1151
1152         * text2.C: simplification of cursorEnd(), including partial
1153         fix for bug 1376
1154
1155 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1156
1157         * buffer.C (readFile): add a space
1158
1159 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1160
1161         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1162
1163 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1164
1165         * buffer.C (readFile): new function, take a filename and a
1166         ParagraphList::iterator
1167         (readFile): adjust
1168         (readFile): adjust, make it private. don't use setStream, make
1169         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1170         always contain the filename.
1171
1172         * BufferView.C (insertLyXFile): simplify and make it work for
1173         gzipped files.
1174
1175 2003-08-30  John Levon  <levon@movementarian.org>
1176
1177         * Makefile.am: fix dist (from Kayvan)
1178
1179 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1180
1181         * most files: change to use const Buffer refs
1182
1183 2003-08-27  André Pönitz  <poenitz@gmx.net>
1184
1185         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1186         on top of ownerPar().
1187
1188 2003-08-27  John Levon  <levon@movementarian.org>
1189
1190         * funcrequest.C: properly initialise POD members
1191
1192 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1193
1194         * lyxtext.h (top_y): move top_y from here
1195         * text.C:
1196         * text2.C:
1197         * text3.C:
1198         * BufferView.[Ch]:
1199         * BufferView_pimpl.[Ch]: to here
1200         * frontends/screen.C:
1201         * insets/insettabular.C:
1202         * insets/insettext.C: adjust
1203         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1204
1205 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1206
1207         * BufferView.[Ch]:
1208         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1209
1210 2003-08-26  André Pönitz  <poenitz@gmx.net>
1211
1212         * paragraph_func.[Ch] (outerPar): new function
1213
1214         * paragraph.C:
1215         * paragraph_funcs.C:
1216         * paragraph_funcs.h:
1217         * paragraph_pimpl.C:
1218         * text2.C: remove Inset::par_owner
1219
1220 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1221
1222         * lyxrow_funcs.C:
1223         * lyxtext.h:
1224         * text.C:
1225         * text2.C: eliminates the needFullRow/display() stuff
1226         altogether, putting the logic in metrics/draw in the insets.
1227
1228 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1229
1230         * text2.C (redoParagraphInternal, redoParagraphs):
1231         * text.C (redoParagraph): add a call to updateRowPositions at the
1232         end of each 'metrics-like' call. Remove all others.
1233         (getRow): remove the 'y-computing' version.
1234         (getRowNearY): do not compute nor return the real y. Solve the
1235         'y < 0' problem and simplify.
1236
1237 2003-08-22  Angus Leeming  <leeming@lyx.org>
1238
1239         * *.[Ch]: clean-up of licence and author blurbs.
1240         Also move config.h out of a few .h files and into a few .C files.
1241
1242 2003-08-22  André Pönitz  <poenitz@gmx.net>
1243
1244         * lyxrow.[Ch]: add x_ and *fill_ members
1245
1246         * lyxtext.h:
1247         * text.C:
1248         * rowpainter.C:
1249         * text2.C: adjust/remove prepareToPrint() calls
1250
1251 2003-08-22  André Pönitz  <poenitz@gmx.net>
1252
1253         * lyxrow.[Ch]: add  end_ member
1254
1255         * lyxrow_funcs.C: use LyXRow::end_
1256
1257         * lyxtext.h (singleWidth): add LyXFont parameter
1258
1259         * rowpainter.C:
1260         * text2.C: adjust LyXText::singleWidth() calls
1261
1262         * text.C (redoParagraph): simplify row breaking logic
1263
1264
1265 2003-08-19  André Pönitz  <poenitz@gmx.net>
1266
1267         * funcrequest.C: initialize button_ member
1268
1269         * text3.C:
1270         * rowpainter.[Ch]: interface consolidation
1271
1272 2003-08-18  André Pönitz  <poenitz@gmx.net>
1273
1274         * BufferView.C:
1275         * BufferView_pimpl.C:
1276         * lyxfind.C:
1277         * paragraph_funcs.C:
1278         * rowpainter.C:
1279         * text3.C: remove LyXScreen::draw() and fitCursor calls
1280
1281         * BranchList.h: remove spurious semicolons
1282
1283         * MenuBackend.C: fix branchlist related crash
1284
1285 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * BranchList.[Ch]:
1288         * InsetList.[Ch]:
1289         * LColor.[Ch]:
1290         * LyXAction.C:
1291         * Makefile.am:
1292         * MenuBackend.[Ch]:
1293         * bufferparams.[Ch]:
1294         * factory.C:
1295         * lfuns.h:
1296         * lyxfunc.C:
1297         * text3.C: implements the 'branch inset'
1298         idea. This allows the output of various versions of a document
1299         from a single source version, selectively outputing or suppressing
1300         output of parts of the text.
1301         This implementation contains a 'branch list editor' in a separate
1302         tab of the document settings dialog. Branches are user definable
1303         and have a "display colour" to distinguish them on-screen.
1304
1305         ColorHandler was somewhat cleaned up.
1306         (1) make possible a dynamically growing LColor list by allowing
1307         the graphic context cache to grow along (vector);
1308         (2) eliminate an IMHO unnecessary step in colour allocation.
1309
1310 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1311
1312         * BufferView_pimpl.C: compile fix
1313
1314 2003-08-15  André Pönitz  <poenitz@gmx.net>
1315
1316         * rowpainter.C: remove extra metrics calls
1317
1318         * lyxtext.h: merge the two constructors into a single one,
1319           pass reference to owner's par list
1320
1321         * BufferView_pimpl.C:
1322         * text.C:
1323         * text2.C: adjust
1324
1325 2003-08-15  André Pönitz  <poenitz@gmx.net>
1326
1327         * lyxrow_funcs.[Ch]:
1328         * lyxtext.h:
1329         * paragraph.h:
1330         * paragraph_funcs.C:
1331         * rowpainter.C:
1332         * text.C:
1333         * text2.C:
1334         * text3.C:
1335         * text_funcs.C: split LyXText::rowlist_ into individual
1336         Paragraph::rows_ chunks
1337
1338         * BufferView.[Ch]:
1339         * BufferView_pimpl.[Ch]:
1340         * lyxfind.C:
1341         * lyxtext.h:
1342         * text3.C: remove toggleSelection()
1343
1344 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1345
1346         * bufferlist.C: beautify two alerts (shorter text of buttons)
1347         * buffer.C: Remove redundant ' ' from message
1348         * tabular.h:
1349         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1350         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1351         rename VALIGN_CENTER to VALIGN_MIDDLE
1352
1353 2003-08-11  André Pönitz  <poenitz@gmx.net>
1354
1355         * lyxtext.h (getPar):
1356         * text.C: new function
1357
1358 2003-08-11  André Pönitz  <poenitz@gmx.net>
1359
1360         * Makefile.am:
1361         * tracer.[Ch]: remove unneeded files
1362
1363         * InsetList.[Ch]: remove resizeInsetsLyXText()
1364
1365         * lyxtext.h:
1366         * text.C:
1367         * text2.C:
1368         * text3.C: merge insertParagraphs() and appendParagraph()
1369         remove breakAgain(), update()
1370
1371         * BufferView_pimpl.[Ch]:
1372         * bufferview_funcs.[Ch]:
1373         * lyxfunc.C:
1374         * paragraph.[Ch]:
1375         * rowpainter.C:
1376         * tabular.C: adjust after text & InsetList changes.
1377
1378 2003-08-08  André Pönitz  <poenitz@gmx.net>
1379
1380         * text.C (insertChar, backspace): replace rowlist fiddling
1381         with rebreak of full par
1382
1383         * lyxtext.h:
1384         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1385         checkParagraph, updateInset): removed
1386
1387 2003-08-07  André Pönitz  <poenitz@gmx.net>
1388
1389         * paragraph.C:
1390         * text3.C: merge some LFUN handlers, remove dead code
1391
1392 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1395
1396 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1397
1398         * text2.C (DEPM): fix part of bug 1255 and 1256
1399
1400 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1401
1402         * BufferView_pimpl.C (workAreaDispatch): change to use
1403         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1404         that are no mouse related.
1405
1406 2003-08-05  André Pönitz  <poenitz@gmx.net>
1407
1408         * BufferView.[Ch]:
1409         * BufferView_pimpl.[Ch]:
1410         * bufferview_funcs.C:
1411         * text2.C:
1412         * text3.C: rip out "deep update"
1413
1414         * textcursor.[Ch] (last_sel_cursor): remove unused member
1415
1416 2003-08-04  André Pönitz  <poenitz@gmx.net>
1417
1418         * BufferView.[Ch]:
1419         * BufferView_pimpl.[Ch]:
1420         * ParagraphParameters.C:
1421         * bufferview_funcs.C:
1422         * lyx_cb.C:
1423         * lyxfind.C:
1424         * lyxfunc.C:
1425         * text.C:
1426         * text2.C:
1427         * text3.C: replace "complicated" BufferView::update(...) calls with
1428         simpler ones.
1429
1430         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1431
1432 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1433
1434         * Makefile.am (lyx_SOURCES): add paper.h
1435
1436 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1437
1438         * Makefile.am: move things around so that both lyx-qt and
1439         lyx-xforms can be built (according to --with-frontend). Then lyx
1440         is a symbolic link to lyx-[firstfrontend]
1441
1442 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1443
1444         * Always use std::endl with lyxerr
1445
1446 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1447
1448         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1449
1450 2003-08-01  André Pönitz  <poenitz@gmx.net>
1451
1452         * BufferView.[Ch]:
1453         * BufferView_pimpl.[Ch]:
1454         * lyxfunc.C:
1455         * text3.C: merge BufferView::repaint() and BufferView::update()
1456
1457 2003-08-01  José Matos  <jamatos@lyx.org>
1458
1459         * buffer.[Ch]: file_format is no longer a buffer data element.
1460
1461 2003-08-01  André Pönitz  <poenitz@gmx.net>
1462
1463         * BufferView.C:
1464         * lyxtext.h:
1465         * text.C:
1466         * text2.C: make redoParagraph more independent of current cursor
1467
1468         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1469         * text.C:
1470         * text2.C: remove unneeded members
1471
1472 2003-07-30  André Pönitz  <poenitz@gmx.net>
1473
1474         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1475
1476         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1477           create a single function...
1478
1479         * paragraph_funcs.C (moveItem): ... here.
1480
1481         * text.C:
1482           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1483
1484 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1485
1486         * LColor.[Ch]: Add comment and greyedout logical colors.
1487
1488 2003-07-30  André Pönitz  <poenitz@gmx.net>
1489
1490         * tabular.C: don't use Assert too heavily. This crashes where it
1491           shouldn't
1492
1493 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1494
1495         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1496         is disabled (bug 1232)
1497
1498 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1499
1500         * factory.C: limited 'arg' scope
1501
1502 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1503
1504         * factory.C: fixed Note submenu issues
1505
1506 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1507
1508         * factory.C: submenu for Note/Comment/Greyedout
1509
1510 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1511
1512         * lyx_main.C (LyX):
1513         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1514
1515 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1516
1517         * LaTeXFeatures.C:
1518         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1519         greyedout. Patch provided by Jürgen Spitzmüller.
1520
1521 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1522
1523         * kbmap.C (read): fix error message when reading bind files
1524
1525 2003-07-29  Angus Leeming  <leeming@lyx.org>
1526
1527         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1528         certainly does not do what it purports to do. I am doing it, and
1529         us, a favour by killing it.
1530
1531 2003-07-28  José Matos  <jamatos@lyx.org>
1532
1533         * buffer.C (readBody, do_writeFile):
1534         * paragraph.C(readParagraph): \end_document replaces \the_end.
1535
1536 2003-07-29  André Pönitz  <poenitz@gmx.net>
1537
1538         * BufferView.[Ch]:
1539         * BufferView_pimpl.[Ch]:
1540         * lyxfunc.C:
1541         * text2.C:
1542         * text3.C:
1543         * textcursor.[Ch]: remove toggleToggle & Co
1544
1545 2003-07-28  José Matos  <jamatos@fep.up.pt>
1546
1547         * buffer.C (readParagraph):
1548         * params_func (readParToken, readParagraph):
1549         * paragraph.C (write): \layout -> \begin_layout.
1550
1551 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1552
1553         * lyxlex_pimpl.C (setFile): clean up slightly.
1554
1555         * bufferparams.h: add compressed var
1556
1557         * buffer_funcs.C (readFile): adjust for LyXLex change
1558         (newFile): ditto + simplify
1559
1560         * buffer.C (writeFile): handle writing of compressed files
1561
1562         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1563         Check if the file is compressed and set a bufferparm if so.
1564
1565         * Makefile.am (lyx_LDADD): remove explicit -lz
1566
1567 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1568
1569         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1570         makeDocBookFile): put the real LyX version in the first line of
1571         the file
1572
1573         * version.h:
1574         * version.C.in: remove lyx_docversion
1575
1576         * tabular.C (write_attribute): add a template-based version to
1577         write enums properly
1578
1579 2003-07-28  André Pönitz  <poenitz@gmx.net>
1580
1581         * lyxtext.h:
1582         * text.C:
1583         * text2.C:
1584         * text3.C: use doubles again for x-coordinates. They are needed.
1585
1586 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1587
1588         * messages.C (getLocaleDir): use lyx_localedir()
1589
1590         * lyxlex_pimpl.C (setFile): compress stuff
1591
1592         * buffer.C (writeFile): add some compression stuff
1593         (do_writeFile): new func, dont call expliti close... will this
1594         breake anything?
1595
1596         * Makefile.am (lyx_LDADD): add -lz
1597
1598 2003-07-28  José Matos  <jamatos@fep.up.pt>
1599
1600         * buffer.C: increment file format.
1601         * paragraph_funcs (readParagraph, readParToken):
1602         * paragraph.C (readParagraph): add \end_layout.
1603
1604 2003-07-27  Angus Leeming  <leeming@lyx.org>
1605
1606         * Makefile.am: remove special casing for configure-time setting of
1607         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1608
1609         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1610         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1611
1612 2003-07-26  André Pönitz  <poenitz@gmx.net>
1613
1614         * paragraph_func.[Ch]:
1615         * paragraph.C (realizeFont): inline it whereever it is used
1616
1617         * rowpainter.C:
1618         * text.C:
1619         * text2.C:
1620         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1621
1622
1623 2003-07-26  André Pönitz  <poenitz@gmx.net>
1624
1625         *       lyxtext.h:
1626         * text.C:
1627         * text2.C: get rid of LyXText::need_break_row
1628
1629 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1630
1631         * toc.[Ch]: put namespace toc inside namespace lyx
1632
1633         * MenuBackend.C (expandToc2): adjust for lyx::toc
1634         (expandToc): ditto
1635
1636         * lyxfunc.C (dispatch): adjust for lyx::find
1637
1638         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1639         lyx::find instead. Reorganize a bit.
1640         (LyXReplace): rename to replace
1641         (LyXFind): rename to find
1642
1643         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1644         (dispatch): ditto
1645
1646 2003-07-26  André Pönitz  <poenitz@gmx.net>
1647
1648         * text.C (setHeightOfRow): restrict scope of temporary variable
1649
1650         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1651           code (never has been used?)
1652
1653 2003-07-27  Asger Alstrup  <alstrup@local>
1654
1655         * text.C (fill): Optimise algorithm to exploit that we can reuse
1656         the LyXFont for many characters.
1657         (setHeightOfRow): Same thing.
1658         (rowBreakPoint): Same thing.
1659
1660 2003-07-26  Asger Alstrup  <alstrup@local>
1661
1662         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1663
1664         * text.C (singleWidth): Spurious font copying in hot-spot
1665         singleWidth avoided. Reorder tests for arabic for efficiency.
1666
1667         * text.C (fill): handle empty paragraphs better.
1668
1669 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1670
1671         * ispell.C:
1672         * encoding.h: add includes
1673
1674         * lyxrc.C: remove reading of bind files
1675
1676         * lyx_main.C (init): setup bindings and menus only if we have a
1677         gui.
1678
1679         * kbmap.C (read): new method. Do the actual reading of bind
1680         files.
1681
1682         * converter.C (dvipdfm_options):
1683         * bufferparams.C:
1684         * lyxrc.C (read):
1685         (output): adapt PAPER_* enums.
1686
1687         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1688
1689         * bufferparams.h: remove paper-related enums from there
1690
1691         * paper.h: New file. A trivial header file to hold paper-related
1692         enums. It should later expand to contain many paper-related
1693         horrors access.
1694
1695         * lyxrc.C: declare extern displayTranslator
1696
1697 2003-07-27  José Matos  <jamatos@fep.up.pt>
1698
1699         * tabular.[Ch] (linuxdoc): add support for tables and figures
1700         (linuxdoc).
1701
1702 2003-07-27  José Matos  <jamatos@fep.up.pt>
1703
1704         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1705         consistency in both functions.
1706         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1707
1708 2003-07-26  Asger Alstrup  <alstrup@local>
1709
1710         * rowpainter.C (paintRows): Change algorithm to work directly on
1711         the insets rather than asking every character in the document
1712         whether its an inset.
1713
1714 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1715
1716         * buffer.C (openFileWrite): factorize some code
1717
1718 2003-07-26  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyx_cb.C:
1721         * lyx_main.[Ch]: replace occurances of system_tempdir with
1722         os::getTmpDir().
1723
1724 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1725
1726         * rename Inset to InsetOld
1727
1728 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1729
1730         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1731         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1732         which I think is a bit clearer. EDIT is gone, since it was
1733         premature optimisation, and broken for mathed anyway.
1734         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1735         with cursor positioning in insets as well (math insets still do not
1736         work, but that's a different story anyway.) It mysteriously
1737         crashes sometimes with undo in the first paragraph, but I'm fairly
1738         confident that this is a compiler bug.
1739
1740 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1741
1742         * paragraph.C (Paragraph): adjust for new clone return type
1743         (operator==): ditto
1744         (copyIntoMinibuffer): ditto
1745
1746 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1747
1748         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1749         by not having a special case, and always doing a full rebreak of
1750         the document after undo.
1751
1752 2003-07-23  Angus Leeming  <leeming@lyx.org>
1753
1754         * factory.C (createInset): InsetExternal::setParams now takes a
1755         Buffer const * arg.
1756
1757 2003-07-23  Angus Leeming  <leeming@lyx.org>
1758
1759         * factory.C (createInset): changed interface to the external and
1760         graphics mailers' string2params functions.
1761
1762 2003-07-23  Angus Leeming  <leeming@lyx.org>
1763
1764         * factory.C (createInset): pass a
1765         Buffer const * parameter to InsetExternalMailer's string2params.
1766
1767 2003-07-22  John Levon  <levon@movementarian.org>
1768
1769         * Thesaurus.h: include the right aiksaurus header
1770
1771 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * MenuBackend.C (expand): check menu shortcuts unconditionally
1774
1775 2003-07-21  Angus Leeming  <leeming@lyx.org>
1776
1777         * factory.C (createInset): pass a
1778         buffer_path parameter to InsetGraphicsMailer's string2params.
1779
1780 2003-07-21  Angus Leeming  <leeming@lyx.org>
1781
1782         * BufferView_pimpl.C (buffer):
1783         * buffer.C (d-tor):
1784         * lyx_main.C (LyX):
1785         * lyxfunc.C (dispatch):
1786         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1787         rather than the grfx shortcut.
1788
1789 2003-07-21  André Pönitz  <poenitz@gmx.net>
1790
1791         * rowpainter.C: remove unused variables
1792
1793         * tabular_funcs.C:
1794         * tabular_funcs.h: move to tabular.C
1795         * Makefile.am: adjust
1796
1797         * tabular.[Ch]: basic optical cleaning
1798
1799         * author.h: pass references, not values
1800
1801 2003-07-18  André Pönitz  <poenitz@gmx.net>
1802
1803         * lyxtext.h:
1804         * metricsinfo.C:
1805         * metricsinfo.h:
1806         * rowpainter.C:
1807         * text.C:
1808         * text2.C:
1809         * text3.C: two-phase drawing for InsetText and InsetTabular
1810         some float -> int changes.
1811
1812 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * lyx_main.C: fix the fix
1815
1816 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1817
1818         * lyx_main.C: fix a crash in batch mode if no files specified
1819         * converter.C: ws
1820
1821 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1822
1823         * format.[Ch] (papersize): moved to BufferParams
1824         * converter.[Ch] (dvips_options): moved to BufferParams
1825         (dvipdfm_options): moved to anon namespace
1826         * bufferparams.[Ch]: added above functions.
1827
1828 2003-07-17  André Pönitz  <poenitz@gmx.net>
1829
1830         * lyxtext.h:
1831         * rowpainter.C:
1832         * text2.C: don't call inset->update() anymore
1833
1834         * metricsinfo.[Ch]: add convenience constructor
1835
1836 2003-07-16  André Pönitz  <poenitz@gmx.net>
1837
1838         * lyxcursor.[Ch]:
1839         * lyxfunc.[Ch]:
1840         * text.C:
1841         * text2.C: replace the LyXCursor::irow_ member with
1842          on-demand computation of the value
1843
1844 2003-07-16  John Levon  <levon@movementarian.org>
1845
1846         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1847
1848 2003-07-15  André Pönitz  <poenitz@gmx.net>
1849
1850         * text.C:
1851         * text2.C: remove no more needed refresh_row
1852
1853 2003-07-15  André Pönitz  <poenitz@gmx.net>
1854
1855         * lyxtext.h:
1856         * rowpainter.C:
1857         * text2.C:
1858         * text3.C: refresh_status tristate -> need_update bool
1859
1860 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1861
1862         * lyxtext.h (init): remove reinit argument (act as if always true)
1863         * text2.C: adjust to that
1864
1865 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1866
1867         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1868         * text3.C: use it to delete selections in some cases
1869         (bugs 441, 673, 702, 954).
1870
1871 2003-07-14  André Pönitz  <poenitz@gmx.net>
1872
1873         * rowpainter.[Ch]: reduce interface
1874
1875 2003-07-14  André Pönitz  <poenitz@gmx.net>
1876
1877         * BufferView_pimpl.C:
1878         * text2.C: adjust after removing unused BufferView * argument
1879
1880 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * text2.C (init): fix a crash fired on resize
1883
1884 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1885
1886         * buffer.[Ch]: added new closing signal
1887         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1888         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1889         BufferView::Pimpl via the closing the signal
1890
1891 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1892
1893         * buffer.[Ch]: take out all bv-related from buffer
1894         * BufferView.C:
1895         * BufferView_pimpl.[Ch]: connect to new signals
1896         * CutAndPaste.C: removed useless asserts
1897         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1898         * lyxvc.[Ch]:
1899         * vc-backend.[Ch]:
1900         * lyxfunc.C: moved view-related funciontality from vc here
1901         * paragraph.C: removed outdated comments
1902         * text.C: ws
1903
1904 2003-07-10  André Pönitz  <poenitz@gmx.net>
1905
1906         * BufferView_pimpl.C:
1907         * tabular.h:
1908         * tabular_funcs.C:
1909         * text.C:
1910         * text2.C: remove InsetText::InnerCache, clean up consequences
1911
1912 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1913
1914         * ispell.C: fix two typos in error messages
1915
1916 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1917
1918         * Extend Note inset to other forms of annotation like Comment
1919         and Greyedout. Right button click gives dialog.
1920
1921         Files modified or added (+):
1922
1923         * insetnote.[Ch]
1924         * FormNote.[Ch]      +
1925         * ControlNote.[Ch]   +
1926         * form_note.fd       +
1927         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1928         frontends/controllers
1929         * xforms/Dialogs.C
1930         * factory.C
1931
1932 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1933
1934         * aspell.C: add missing namespace lyx::support
1935
1936 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1937
1938         * BufferView.[Ch] (newFile): Add
1939         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1940         * LaTeX.[Ch] (message): added this signal and use it
1941         * buffer.[Ch] (busy, message): added these signals and use them
1942         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1943         * converter.C:
1944         * exporter.C:
1945         * format.C:
1946         * importer.C: use buffer signals instead of direct bv calling
1947         * lyx_cb.[Ch] (ShowMessage): removed
1948         * lyx_main.C:
1949         * lyxfunc.C:
1950         * paragraph_funcs.C:
1951         * text2.C: use buffer signals
1952
1953 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1954
1955         * introduce namespace lyx::graphics
1956
1957 2003-07-02  André Pönitz  <poenitz@gmx.net>
1958
1959         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1960
1961 2003-07-01  André Pönitz  <poenitz@gmx.net>
1962
1963         * text.C:
1964         * text2.C:
1965         * text3.C:
1966         * text_funcs.[Ch]:
1967         * textcursor.h:
1968         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1969           text*.C to text_func.C
1970
1971 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * introduce namespace lyx::support
1974
1975 2003-06-30  André Pönitz  <poenitz@gmx.net>
1976
1977         * Chktex.C:
1978         * funcrequest.C:
1979         * lyxtext.h:
1980         * text.C: re-enable --with-included-string
1981
1982 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * textcursor.C: add <config.h>
1985
1986         * text.C (getWord): remove const from word_location arg
1987
1988         * lyxvc.C (getLogFile): fix const type order
1989
1990         * lyxtext.h: remove const from word_location arg, add arg name
1991
1992         * lyxlayout.h: currect type on labeltype.
1993
1994         * importer.C: correct \file
1995
1996         * converter.C (intToFormat): use std:: on ret val, ws changes
1997
1998         * bufferlist.h: correct \file
1999
2000         * buffer.C (makeLinuxDocFile): fix const type order
2001         (makeDocBookFile): ditto
2002         (fillWithBibKeys): use std:: on stdlib args.
2003
2004         * CutAndPaste.C: fix authors.
2005         (availableSelections): use std:: on return vector
2006
2007 2003-06-27  André Pönitz  <poenitz@gmx.net>
2008
2009         * BufferView_pimpl.C:
2010         * bufferview_funcs.C:
2011         * lyxcursor.C:
2012         * lyxcursor.h:
2013         * lyxfunc.C:
2014         * lyxtext.h:
2015         * rowpainter.C:
2016         * text.C:
2017         * text2.C:
2018         * text3.C: remove LyXCursor::row_ member
2019
2020         * lyxtext.h:
2021         * text.C: rename fullRebreak() to partialRebreak() and implement
2022           a fullRebreak() that really bereks fully
2023
2024         * textcursor.h: new struct for cursor-related data
2025
2026 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2027
2028         * lyx_main.C (LyX): get full path of document loaded on the
2029         command line
2030
2031 2003-06-26  André Pönitz  <poenitz@gmx.net>
2032
2033         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2034           remove unused/broken operator>,<,>=.
2035
2036         *       text.C: remove only use of broken operator<= in an Assert().
2037
2038 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2041         moved errorlist_.clear to showErrorList
2042
2043 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * converter.C (scanLog, runLaTeX):
2046         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2047         move the bv->showErrorList call to the callers
2048         * lyxfunc.C: i.e. here...
2049         * text2.C: and here
2050         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2051         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2052         namespace, the second to...
2053         * buffer_funcs (BufferFormat, parseErrors): added
2054         * errorlist.C (ErrorList(TeXErrors const &)): removed
2055
2056 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2059
2060 2003-06-24  "Garst R. Reese" <reese@isn.net>
2061
2062         * debug.C: fix typo
2063
2064 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2067
2068         * version.C.in: change docversion to 1.4
2069
2070 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2071
2072         * buffer.C: fix a bug just introduced
2073
2074 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2075
2076         * buffer.[Ch]: added the parseError signal and use it, removed
2077         sgmlError
2078         * BufferView.[Ch] (addError): moved to ...
2079         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2080         to the Buffer::parseError signal to catch (guess what) parse errors
2081         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2082
2083 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2084
2085         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2086         ability to create a buffer and to return an existing one from
2087         the list. Moved these functions to...
2088         * buffer_funcs.[Ch]: added
2089         * BufferView.[Ch] (loadLyXFile): added
2090         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2091         job removed from bufferlist::loadLyXFile.
2092         * buffer.C (setReadOnly): make it work without view
2093         (i.e added an if (users))
2094
2095 2003-06-19  Angus Leeming  <leeming@lyx.org>
2096
2097         * lfuns.h:
2098         * LyXAction.C (init):
2099         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2100         with LFUN_DIALOG_SHOW <name> <data>.
2101
2102 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2103
2104         * CutAndPaste.C (availableSelections): small compilation fix for
2105         ancient (gcc 2.9x) compilers
2106
2107 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2108
2109         * text3.C (cursorNext): add tmp var
2110
2111         * text2.C (updateCounters): for function calling out of for clause
2112         (replaceSelectionWithString): ditto
2113         (insertStringAsParagraphs): ditto
2114         (getColumnNearX): add tmp var
2115         (setCursorFromCoordinates): add tmp var
2116         (cursorDownParagraph): add tmp var
2117         (deleteEmptyParagraphMechanism): add tmp var
2118
2119         * text.C (insertChar): add tmp var
2120
2121         * rowpainter.C (paintDepthBar): add tmp var
2122
2123         * CutAndPaste.C (availableSelections): potentially check all
2124         paragraphs in a cut to fill the shown strings.
2125
2126 2003-06-18  André Pönitz  <poenitz@gmx.net>
2127
2128         * kbmap.[Ch]: use vector<> instead of list<>
2129
2130 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2131
2132         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2133         pasteSelection with index
2134
2135         * text2.C (pasteSelection): modify, call pasteSelection with index
2136
2137         * paragraph.C (asString): reimplement version with no interval to
2138         call the one with interval.
2139
2140         * lyxtext.h: add index arg to pasteSelection
2141
2142         * MenuBackend.C (MenuItem): handle PasteRecent
2143         (Menu::read::Menutags): add md_pasterecent
2144         (read): handle it
2145         (expandPasteRecent): new function
2146         (expand): use it
2147
2148         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2149
2150         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2151         the limited stack
2152         (availableSelections): new function
2153
2154 2003-06-17  Angus Leeming  <leeming@lyx.org>
2155
2156         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2157
2158 2003-06-17  Angus Leeming  <leeming@lyx.org>
2159
2160         * lfuns.h:
2161         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2162
2163         * lyxfunc.C (dispatch): invoke it.
2164
2165 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * iterators.C (operator++, ParPosition): reintroduce some
2168         const_cast for the benefit of older compilers.
2169
2170 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * text3.C (dispatch): do not modify clipboard when doing
2173         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2174         LFUN_DELETE_SKIP on a selection selection
2175
2176 2003-06-16  André Pönitz  <poenitz@gmx.net>
2177
2178         * BufferView.C:
2179         * buffer.C:
2180         * buffer.h:
2181         * paragraph.C:
2182         * tabular.[Ch]: IU of clone() and getLabelList();
2183
2184 2003-06-13  André Pönitz  <poenitz@gmx.net>
2185
2186         * tabular.h: compactification
2187
2188 2003-06-12  André Pönitz  <poenitz@gmx.net>
2189
2190         * tabular.C:
2191         * tabular.h:
2192         * tabular_funcs.h: some renaming plus whitespace
2193
2194 2003-06-12  André Pönitz  <poenitz@gmx.net>
2195
2196         * BufferView.C:
2197         * BufferView_pimpl.C:
2198         * CutAndPaste.C:
2199         * buffer.C:
2200         * iterators.[Ch]:
2201         * lyxfunc.C:
2202         * text.C:
2203         * toc.C: Return a Paragraph & for ParIterator::operator*()
2204
2205 2003-06-11  John Levon  <levon@movementarian.org>
2206
2207         * lyx_main.C:
2208         * ToolbarBackend.h:
2209         * ToolbarBackend.C: add "Toolbars" section and
2210         put the flags there
2211
2212 2003-06-10  Angus Leeming  <leeming@lyx.org>
2213
2214         * lfuns.h:
2215         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2216
2217         * lyxfunc.C (dispatch): invoke it.
2218
2219 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2220
2221         * main.C: protect <ios> with HAVE_IOS
2222         (main): protect sync_with_stdio with HAVE_IOS
2223
2224 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2225
2226         * text2.C (cutSelection): adjust
2227         (pasteSelection): adjust
2228
2229         * messages.C: handle get of empty string
2230
2231         * main.C (main): use sync_with_stdio(false)
2232
2233         * lyxfunc.C (dispatch): adjust
2234
2235         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2236         (WriteAs): remove unneeded BufferView arg.
2237
2238         * bufferparams.h: use correct types on papersize, papersize2 and
2239         paperpackage.
2240
2241         * bufferparams.C (readToken): adjust for type
2242         (writeLaTeX): add missing cases to switch.
2243
2244         * bufferlist.C (quitWriteBuffer): adjust
2245         (close): adjust
2246
2247         * buffer.C (asciiParagraph): remove some commented code.
2248
2249         * CutAndPaste.C: remove current_view extern variable.
2250         (cutSelection): add BufferParams arg.
2251         (eraseSelection): add BufferParams arg.
2252         (pasteSelection): add Buffer const & arg
2253
2254 2003-06-07  John Levon  <levon@movementarian.org>
2255
2256         * buffer.C:
2257         * paragraph_funcs.C:
2258         * paragraph_pimpl.C:
2259         * text.C:
2260         * text2.C:
2261         * paragraph.h:
2262         * paragraph.C: allow InsetERT to freely space lines,
2263         and some consolidation of code
2264
2265 2003-06-06  José Matos  <jamatos@fep.up.pt>
2266
2267         * buffer.C (makeDocBookFile): fix bug #821
2268
2269 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2270
2271         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2272
2273 2003-06-04  Angus Leeming  <leeming@lyx.org>
2274
2275         * buffer.C: bump format to 224.
2276
2277 2003-06-05  André Pönitz  <poenitz@gmx.net>
2278
2279         * text2.C (redoParagraphs): remove two const_cast<>
2280
2281 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2282
2283         * ParagraphList.h: remove last remnants of NO_STD_LIST
2284
2285 2003-06-03  Angus Leeming  <leeming@lyx.org>
2286
2287         * factory.C (createInset): small change to the way InsetExternal's params
2288         are set.
2289
2290 2003-06-04  André Pönitz  <poenitz@gmx.net>
2291
2292         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2293
2294         * paragraph_pimpl.h:
2295         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2296
2297         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2298
2299         * undo_funcs.C: make some simple cases of undo work again
2300
2301 2003-06-03  John Levon  <levon@movementarian.org>
2302
2303         * ispell.C: HPUX doesn't have sys/select.h
2304         (from Albert Chin)
2305
2306 2003-06-03  John Levon  <levon@movementarian.org>
2307
2308         * CutAndPaste.C: update tabular and include inset
2309         buffer references
2310
2311         * buffer.h:
2312         * paragraph.h:
2313         * paragraph.C: remove owningBuffer(), don't pass Buffer
2314         to clone()
2315
2316         * factory.C: insetGraphicsParams changed
2317
2318 2003-06-02  John Levon  <levon@movementarian.org>
2319
2320         * LyXAction.C:
2321         * factory.C:
2322         * lfuns.h:
2323         * lyxfunc.C:
2324         * text3.C: remove insetparent
2325
2326 2003-06-02  John Levon  <levon@movementarian.org>
2327
2328         * buffer.h:
2329         * buffer.C: fix inset_iterator.end(), move out of line
2330         (bug 1149)
2331
2332 2003-06-01  John Levon  <levon@movementarian.org>
2333
2334         * text3.C: use a proper cut/paste when doing inset
2335         insert (from Jürgen Spitzmüller)
2336
2337 2003-06-01  John Levon  <levon@movementarian.org>
2338
2339         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2340
2341 2003-05-30  André Pönitz  <poenitz@gmx.net>
2342
2343         * rowpainter.C: unify second drawing phase
2344
2345 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * trans_mgr.C: remove one case of current_view
2348
2349         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2350
2351         * paragraph_funcs.h: remove paragraph.h include
2352
2353         * paragraph.h: delete NO_STD_LIST stuff
2354
2355         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2356
2357         * buffer.h: remove paragraph.h include
2358
2359         * ParagraphList.C: delete file
2360
2361         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2362
2363         * toc.C (getTocList): adjust
2364
2365         * paragraph_pimpl.C (validate): adjust
2366
2367         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2368
2369         * paragraph.C (Paragraph): adjust
2370         (getPositionOfInset): use const_iterator, adjust
2371         (bibitem): use const_iterator, adjust
2372         (setInsetOwner): adjust
2373
2374         * iterators.C (operator++): adjust
2375
2376         * InsetList.[Ch]: Replace selfmade iterator with standard
2377         vector::iterator also introduce const_iterator. Remove getPos,
2378         getInset and setInset from InsetTable. Adjust accordingly.
2379
2380         * BufferView.C (lockInset): adjust
2381         (ChangeInsets): adjust
2382
2383         * tabular.[Ch]: delete commented same_id functions
2384
2385 2003-05-28  John Levon  <levon@movementarian.org>
2386
2387         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2388
2389 2003-05-28  André Pönitz  <poenitz@gmx.net>
2390
2391         * metricsinfo.[Ch]: remove 'fullredraw' member
2392
2393 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2394
2395         * lyxtextclass.C (operator): remove caching.
2396
2397 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * text3.C: adjust
2400
2401         * text2.C (cursorBottom): adjust
2402         (setCounter): use ParagraphList::find, adjust
2403
2404         * text.C (workWidth): use ParagraphList::find, adjust
2405
2406         * lyxcursor.C (LyXCursor): adjust
2407
2408         * buffer.C (inset_iterator): adjust
2409
2410         * ParagraphList.h: make iterator(value_type) private, make
2411         ParagraphList a friend of iterator.
2412
2413         * ParagraphList.C (find): new function
2414
2415         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2416
2417 2003-05-27  André Pönitz  <poenitz@gmx.net>
2418
2419         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2420
2421 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2422
2423         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2424
2425 2003-05-26  John Levon  <levon@movementarian.org>
2426
2427         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2428
2429 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2430
2431         * remove same_id from function signatures, adjust.
2432
2433 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2434
2435         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2436
2437         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2438
2439         * paragraph.C (Paragraph): get rid of same_ids parameter
2440
2441         * ParagraphList.C (insert): adjust
2442         (push_back): adjust
2443
2444 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * paragraph_funcs.C (breakParagraph): adjust
2447         (breakParagraphConservative): adjust
2448
2449         * buffer.C (readParagraph): adjust
2450
2451         * ParagraphList.C (insert): take a reference instead of a pointer
2452         (insert): adjust
2453
2454         * paragraph.[Ch] (id): new function
2455
2456         * bufferlist.C (newFile): adjust
2457
2458         * ParagraphList.C (ParagraphList): adjust
2459         (assign): adjust
2460         (push_back): take a reference instead of a pointer.
2461
2462         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2463
2464         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2465         instead.
2466
2467         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2468         set else use old code.
2469
2470         * ParagraphList.C: remove all NO_NEXT code and only compile this
2471         code of NO_STD_LIST is set.
2472
2473 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2474
2475         * BufferView_pimpl.C:
2476         * TextCache.C:
2477         * TextCache.h:
2478         * bufferlist.C:
2479         * errorlist.h:
2480         * format.C:
2481         * format.h:
2482         * graph.C:
2483         * lyxfunc.C:
2484         * lyxrc.C:
2485         * graphics/GraphicsConverter.C:
2486         * graphics/PreviewLoader.C: header adjustment
2487
2488 2003-05-23  Angus Leeming  <leeming@lyx.org>
2489
2490         * LaTeXFeatures.[Ch] (useBabel): new method.
2491         * bufferparams.C (writeLaTeX): use it.
2492
2493 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2494
2495         * ParagraphList.h (set): remove unused function.
2496
2497 2003-05-23  André Pönitz  <poenitz@gmx.net>
2498
2499         * BufferView.C:
2500         * BufferView_pimpl.C:
2501         * buffer.C:
2502         * buffer.h:
2503         * lyxfunc.C:
2504         * undo_funcs.C: setUndo reworked
2505
2506         * iterators.[Ch]: add access to topmost ParagraphList
2507
2508         * lyxtext.[Ch] (workWidth): add a const
2509
2510 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2511
2512         * texrow.[Ch] (increasePos): remove function
2513         * exporter.C (export): removed unused var and outdated comment
2514
2515 2003-05-23  Angus Leeming  <leeming@lyx.org>
2516
2517         * latexrunparams.h: rename fragile as moving_arg.
2518         * paragraph.C (simpleTeXOnePar): ditto.
2519         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2520
2521 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2522
2523         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2524         (createUndo): ditto
2525         (textUndoOrRedo): comment out a currently unused var.
2526
2527         * paragraph.h (NO_NEXT): enable NO_NEXT
2528
2529         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2530
2531         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2532
2533         * exporter.C (Export): adjust for removeAutoInsets removal.
2534
2535         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2536
2537         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2538
2539         * BufferView.[Ch] (removeAutoInsets): delete function
2540
2541 2003-05-22  Angus Leeming  <leeming@lyx.org>
2542
2543         * latexrunparams.h: add a free_spacing variable.
2544
2545         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2546         to pass moving_arg, as the data is stored in runparams.fragile.
2547
2548         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2549         to Inset::latexOptional or to simpleTeXOnePar.
2550
2551         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2552         free_spacing arg to Inset::latexOptional.
2553
2554         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2555         free_spacing arg.
2556
2557 2003-05-22  Angus Leeming  <leeming@lyx.org>
2558
2559         * latexrunparams.h: add fragile and use_babel variables.
2560
2561         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2562         * buffer.C (makeLaTeXFile): store this returned value in
2563         runparams.use_babel, thus passing it to the inset::latex methods.
2564
2565         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2566         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2567
2568         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2569         longer has a fragile arg, as it is stored in runparams.fragile.
2570
2571         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2572         moving_arg parameter as the data is stored in runparams.fragile.
2573
2574         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2575         a fragile parameter as the data is stored in runparams.fragile.
2576
2577 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2580
2581 2003-05-22  Angus Leeming  <leeming@lyx.org>
2582
2583         * latexrunparams.h: add a 'bool nice' which defaults to false.
2584
2585         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2586         now encapsulated within runparams.
2587
2588         * bufferlist.C (updateIncludedTeXfiles):
2589         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2590
2591 2003-05-22  Angus Leeming  <leeming@lyx.org>
2592
2593         * latexrunparams.h: new file containing struct LatexRunParams.
2594         * Makefile.am: add new file.
2595
2596         * LaTeX.[Ch] (c-tor, run):
2597         * buffer.[Ch] (makeLaTeXFile):
2598         * bufferlist.[Ch] (updateIncludedTeXfiles):
2599         * converter.C (convert, scanLog):
2600         * converter.[Ch] (runLaTeX):
2601         * exporter.C (Export):
2602         * paragraph.[Ch] (simpleTeXOnePar):
2603         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2604         * paragraph_funcs.[Ch] (latexParagraphs):
2605         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2606         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2607         pass around a LatexRunParams parameter.
2608
2609 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * paragraph.[Ch]: remove unused constructor
2612
2613         * ParagraphList.C (erase): new function, taking two iterators
2614
2615 2003-05-22  André Pönitz  <poenitz@gmx.net>
2616
2617         * undo_funcs.C: remove duplicated code
2618
2619         * iterator.[Ch]: operator=
2620
2621 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * tabular.C (SetMultiColumn): ws changes
2624
2625         * rowpainter.C (paintFirst): get rid of a ->previous
2626
2627         * lyx_cb.C (getPossibleLabel): parlist simplification
2628
2629         * BufferView.C (ChangeInsets): simplify slightly.
2630
2631 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2632
2633         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2634         * lfuns.h: new LFUN_SPACE
2635         * lyxfunc.C: protected space has a new lfun
2636         * paragraph_funcs.C: read new space insets
2637         * text3.C:
2638         * factory.C: handle new space insets
2639
2640 2003-05-22  André Pönitz  <poenitz@gmx.net>
2641
2642         * BufferView.C:
2643         * BufferView_pimpl.C:
2644         * buffer.[Ch]:
2645         * lyxfunc.C:
2646         * undo_funcs.C: return a ParIterator from getParFromID.
2647
2648         * iterators.[Ch]: add two const's
2649
2650 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * toc.C (getTocList): adjust
2653
2654         * iterators.[Ch]: rework for parlist
2655
2656         * buffer.C (par_iterator_begin): adjust
2657         (par_iterator_end): adjust
2658
2659         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2660
2661         * BufferView.C (removeAutoInsets): adjust
2662         (ChangeInsets): adjust
2663
2664 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * text.C (top_y): fix bug 1110
2667
2668 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2669
2670         * errorlist.[Ch]: added
2671         * buffer.C:
2672         * BufferView.[Ch]:
2673         * BufferView_pimpl.C:
2674         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2675         instead
2676
2677 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * Makefile.am: ensure that lyx is relinked upon changes to the
2680         various "convenience" libs.
2681
2682 2003-05-20  Angus Leeming  <leeming@lyx.org>
2683
2684         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2685         files are compiled in alphabetical order again.
2686
2687         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2688
2689 2003-05-19  Angus Leeming  <leeming@lyx.org>
2690
2691         * gettext.[Ch]: remove "char const * _(char const *)".
2692
2693 2003-05-19  André Pönitz  <poenitz@gmx.net>
2694
2695         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2696
2697         * Makefile.am:
2698         * BufferView.C:
2699         * DepTable.h:
2700         * LaTeXFeatures.C:
2701         * buffer.C:
2702         * lyxfont.C:
2703         * lyxlex.h:
2704         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2705
2706 2003-05-19  André Pönitz  <poenitz@gmx.net>
2707
2708         * buffer.C:
2709         * lyxlayout.[Ch]:
2710         * lyxtextclass.[Ch]:
2711         * paragraph.C:
2712         * paragraph_funcs.[Ch]:
2713         * text2.C:
2714         * text3.C: more insetenv work
2715
2716 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2717
2718         * ParagraphParameters.C (params2string): small bug fixed
2719
2720 2003-05-16  André Pönitz  <poenitz@gmx.net>
2721
2722         * debug.C:
2723         * bufferview_funcs.C: patch from Kornel Benko to prevent
2724           crash when _(...) is called twice in a statement
2725
2726 2003-05-16  André Pönitz  <poenitz@gmx.net>
2727
2728         * BufferView.C:
2729         * lyxfunc.C:
2730         * text.C:
2731         * text2.C:
2732         * text3.C:
2733         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2734
2735 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2736
2737         * lyx_main.C (init): remove spurious static_cast
2738
2739 2003-05-14  André Pönitz  <poenitz@gmx.net>
2740
2741         * BufferView.C: fix format string
2742
2743 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * BufferView.[Ch] (insertErrors): removed
2746         * BufferView.[Ch] (showErrorList): added
2747         * buffer.C (runChkTeX):
2748         * converter.C (scanLog): call showErrorList instead of inserterrors
2749
2750 2003-05-13  André Pönitz  <poenitz@gmx.net>
2751
2752         * BufferView_pimpl.C:
2753         * buffer.C:
2754         * bufferview_func.C:
2755         * MenuBackend.C:
2756         * lyxfunc.C:
2757         * lyxrc.C:
2758         * tex-accent.C:
2759         * text3.C:
2760         * toc.C:
2761         * tabular_funcs.h: tostr() from its own header
2762
2763         * ParagraphParameters.C:
2764         * ToolbarBackend.C:
2765         * bufferparams.C:
2766         * format.C:
2767         * lyxlex_pimpl.C:
2768         * text3.C: STRCONV()
2769
2770 2003-05-12  André Pönitz  <poenitz@gmx.net>
2771
2772         * BufferView.C:
2773         * BufferView_pimpl.C:
2774         * CutAndPaste.C:
2775         * LaTeX.C:
2776         * LaTeXFeatures.C:
2777         * ParagraphParameters.C:
2778         * buffer.C:
2779         * bufferlist.C:
2780         * bufferparams.C:
2781         * bufferview_funcs.C:
2782         * converter.C:
2783         * counters.C:
2784         * debug.C:
2785         * exporter.C:
2786         * format.C:
2787         * importer.C:
2788         * lyx_cb.C:
2789         * lyx_main.C:
2790         * lyxfont.C:
2791         * lyxfunc.C:
2792         * lyxvc.C:
2793         * paragraph.C:
2794         * paragraph_funcs.C:
2795         * tabular.C:
2796         * tabular_funcs.C:
2797         * text2.C:
2798         * text3.C:  boost::format -> bformat  all over the place
2799
2800
2801 2003-05-09  André Pönitz  <poenitz@gmx.net>
2802
2803         * LColor.[Ch]: Pimpl the #include <map> away
2804
2805 2003-05-09  John Levon  <levon@movementarian.org>
2806
2807         * bufferlist.C: never remove emergency saves
2808
2809 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * Makefile.am: better lib building
2812
2813 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2816         instead.
2817         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2818         (simpleTeXSpecialChars): adjust
2819         (simpleTeXSpecialChars): adjust
2820         * paragraph.C (simpleTeXOnePar): adjust
2821         * buffer.C (makeLaTeXFile): adjust
2822
2823         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2824
2825         * text2.C (changeDepth): parlist cleanup
2826         (getColumnNearX): ditto
2827
2828         * rowpainter.C (getLabelFont): parlist cleanup
2829
2830         * bufferlist.C (newFile): parlist cleanup
2831
2832         * CutAndPaste.C (eraseSelection): parlist cleanup
2833
2834         * BufferView_pimpl.C (trackChanges): parlist cleanup
2835         (dispatch): ditto
2836
2837         * BufferView.C (lockInset): parlist cleanup.
2838         (ChangeInsets): ditto
2839
2840 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * CutAndPaste.h: Update file header.
2843
2844         * CutAndPaste.C: Update file header.
2845         Store the parts cut out of the Document in a limited_stack.
2846         (copySelection): adjust
2847         (pasteSelection): new function, takes the index in the limited stack.
2848         (nrOfParagraphs): adjust
2849         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2850         simplify error inset insertion.
2851         (checkPastePossible): adjust
2852
2853 2003-05-06  John Levon  <levon@movementarian.org>
2854
2855         * text2.C: don't cast wrap inset to float
2856
2857 2003-05-05  André Pönitz  <poenitz@gmx.net>
2858
2859         * iterator.C:
2860         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2861
2862         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2863           few naked Paragraph *.
2864
2865 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2866
2867         * bufferparams.C: Output warning if a document with missing
2868         TeX document class is loaded
2869         * exporter.C: Disable TeX exports if the document class is missing
2870         * lyxtextclass.C:
2871         * lyxtextclass.h:
2872         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2873         isTeXClassAvailable()
2874
2875 2003-05-03  John Levon  <levon@movementarian.org>
2876
2877         * BufferView.h:
2878         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2879         explicit cursor show/hide
2880
2881         * BufferView_pimpl.h:
2882         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2883         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2884
2885         * lyxfunc.C: hide cursor before dispatching.
2886
2887         * lyx_cb.C:
2888         * lyxfind.C:
2889         * text.C:
2890         * text3.C: remove explicit cursor hides
2891
2892 2003-05-02  André Pönitz  <poenitz@gmx.net>
2893
2894         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2895
2896         * undo_funcs.C:
2897         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2898           linked lists
2899
2900         * text2.C: tiny whitespace
2901
2902 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * undo_funcs.C: almost only ws changes.
2905
2906         * ParagraphList.C (splice): just return if pl is empty.
2907
2908 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * ParagraphList.C (splice): new function.
2911
2912         * CutAndPaste.C (pasteSelection): use it
2913
2914 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2915
2916         * CutAndPaste.C (pasteSelection): remove the last next and
2917         previous from this file.
2918
2919 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2920
2921         * CutAndPaste.C (pasteSelection): more clean up, user proper
2922         ParagraphList functions for pasteing.
2923
2924         * ParagraphList.C (insert): new function, three arg insert
2925
2926 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2927
2928         * ParagraphList.C (insert): new function, three arg insert
2929
2930         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2931         not on paragraphs.
2932
2933 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2934
2935         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2936
2937 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2940
2941 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2944         (copySelection): clean up a bit.
2945         (pasteSelection): use make_pair
2946
2947         * ParagraphList.C (ParagraphList): implement copy constructor
2948         (operator=): implement, base on copy constructor.
2949         (assign): new func
2950
2951         * paragraph.C (erase): return a bool
2952
2953         * paragraph_pimpl.C (erasePos): remove function, move contents...
2954         (erase): ... here. Return a bool.
2955         (erase): call erase instead of erasePos.
2956
2957 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2958
2959         * ParagraphList.h: define PitPosPair
2960         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2961         ParagraphList, fix a bug on pasting multiple pars
2962         * text2.C: change interface to C&P
2963
2964 2003-04-30  André Pönitz  <poenitz@gmx.net>
2965
2966         * undo_func.C: revert part of yesterday's patch 2
2967
2968 2003-04-30  John Levon  <levon@movementarian.org>
2969
2970         * LColor.C: s/tabular/table/
2971
2972 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * text3.C (dispatch): do not convert iterator -> pointer
2975         * undo_funcs.C (setCursorParUndo): ditto
2976         * text_funcs.C (transposeChars): ditto
2977
2978         * text2.C (setLayout): ws changes only
2979
2980         * text.C (breakParagraph): do not convert iterator -> pointer
2981         (insertChar): ditto
2982         (acceptChange): ditto
2983         (rejectChange): ditto
2984         (changeCase): ditto
2985         (Delete): ditto
2986         (backspace): ditto
2987
2988         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2989         pointer
2990
2991 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * text3.C (gotoInset): YABG (yet another bad getChar)
2994
2995 2003-04-29  André Pönitz  <poenitz@gmx.net>
2996
2997         * paragraph.h: make operator= private unimplemented as long as
2998           it is unusable
2999
3000         * ParagraphList.C: whitespace
3001
3002         * paragraph.[Ch]:
3003         * paragraph_pimpl.[Ch]:
3004         * paragraph_funcs.C:
3005         * CutAndPaste.C:
3006         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3007
3008         * text2.C:
3009           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3010
3011 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3012
3013         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3014         * paragraph.[Ch] (erase):
3015         * paragraph_pimpl.[Ch] (erase): change return type and value
3016         * text2.C (cutSelection): some rework
3017
3018 2003-04-28  John Levon  <levon@movementarian.org>
3019
3020         * bufferlist.C: changes for unsaved changes dialog
3021
3022 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * bufferlist.C (newFile): set language (messages_) for new
3025         documents also.
3026
3027         * buffer.C (readFile): ws changes only.
3028
3029 2003-04-28  André Pönitz  <poenitz@gmx.net>
3030
3031         * undo_funcs.C:
3032         * lyxfunc.C:
3033         * buffer.[Ch]:
3034         * BufferView_pimpl.C:
3035         * BufferView.C: getParFromID related ParagraphList::iterator changes
3036
3037 2003-04-28  André Pönitz  <poenitz@gmx.net>
3038
3039         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3040           Changes
3041
3042 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * messages.C: remove one more localedir class variable.
3045
3046 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * messages.C (getLocaleDir): singleton generation function
3049         (Pimpl): use it.
3050         (Messages): add a default constructor.
3051
3052         * main.C (main): do not setup localedir here, do not call
3053         gettext_init.
3054
3055         * gettext.C (_): use it.
3056         (gettext_init): delete funciton
3057
3058 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * gettext.C (getLyXMessages): new singleton generating function.
3061
3062         * buffer.C (updateDocLang): adjust
3063
3064         * Makefile.am (messages.o): add target
3065         (main.o): remove target
3066
3067 2003-04-27  John Levon  <levon@movementarian.org>
3068
3069         * bufferlist.C:
3070         * lyx_cb.C:
3071         * lyxfunc.C:
3072         * lyxvc.C: specify cancel button in Alert::prompt
3073
3074 2003-04-26  John Levon  <levon@movementarian.org>
3075
3076         * text3.C:
3077         * lyxfunc.C:
3078         * lfuns.h:
3079         * LyXAction.C: add LFUN_INSET_SETTINGS
3080
3081         * lyxfunc.C: don't enable tabular-feature when there's
3082         just any locking inset
3083
3084 2003-04-26  John Levon  <levon@movementarian.org>
3085
3086         * bufferlist.C: re-add Cancel to buffer close question
3087
3088         * lyxfunc.C: fix import UI a bit
3089
3090 2003-04-25  John Levon  <levon@movementarian.org>
3091
3092         * gettext.C: remove the broken asserts for now
3093
3094 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * messages.C: make case where setlocale cannot comply work better.
3097
3098         * buffer.C (updateDocLang): new function
3099         (changeLanguage): use it
3100         (readFile): use it
3101
3102         * text2.C (setCounter): use B_ a bit.
3103
3104         * lyxlayout.C (Read): be sure to trim the label strings.
3105
3106         * messages.C (Messages): fix typo in comment
3107
3108         * buffer.C (readFile): set message_ after file is loaded.
3109         (makeDocBookFile): remove double return
3110         (changeLanguage): reset message_ upon language change.
3111         (B_): new func, use this to get translated buffer strings.
3112
3113         * main.C: add myself and Jean Marc as authors.
3114
3115 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * messages.[hC]: pimplify Messages, and three different pimpls to be
3118         used in different circumstances.
3119
3120         * gettext.[Ch]: change for use with new message code.
3121
3122 2003-04-24 André Pönitz <poenitz@gmx.net>
3123
3124         * factory.C: support for eqref
3125
3126 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * messages.[Ch]: add missing char
3129
3130         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3131
3132         * messages.[Ch]: New files
3133
3134 2003-04-18  John Levon  <levon@movementarian.org>
3135
3136         * BufferView.h:
3137         * BufferView.C:
3138         * BufferView_pimpl.C:
3139         * lfuns.h:
3140         * LyXAction.C:
3141         * lyxtext.h:
3142         * text2.C: remove layout-copy/paste (bug 778)
3143
3144 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3145
3146         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3147
3148 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3149
3150         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3151         if they succeed. Act accordingly.
3152
3153 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * text2.C (setCharFont): adjust
3156         (setCounter): adjust
3157         (insertStringAsLines): adjust
3158
3159         * text.C (leftMargin): adjust
3160         (setHeightOfRow): adjust
3161
3162         * rowpainter.C (paintFirst): adjust
3163         (paintLast): adjust
3164
3165         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3166         (outerHook): ditto
3167         (isFirstInSequence): ditto
3168         (getEndLabel): ditto
3169         (outerFont): adjust
3170
3171         * paragraph.C (getParLanguage): comment out some hard stuff.
3172
3173         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3174         (sgmlError): ditto
3175         (simpleDocBookOnePar): ditto
3176         (makeDocBookFile): use ParagraphList::iterator
3177
3178         * CutAndPaste.C (pasteSelection): adjust
3179
3180 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * text2.C (getFont): adjust
3183         (getLayoutFont): adjust
3184         (getLabelFont): adjust
3185
3186         * paragraph_funcs.C (TeXOnePar): adjust
3187
3188         * buffer.C (simpleLinuxDocOnePar): adjust
3189         (simpleDocBookOnePar): adjust
3190
3191         * CutAndPaste.C (pasteSelection): adjust
3192
3193         * BufferView.C (getEncoding): adjust
3194
3195         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3196
3197 2003-04-16  John Levon  <levon@movementarian.org>
3198
3199         * lyxfind.C: use parlist stuff for search/changes
3200
3201 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3202
3203         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3204
3205         * text2.C (deleteEmptyParagraphMechanism): adjust
3206
3207         * text2.[Ch] (ownerParagraph): delete func (both of them
3208
3209 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3212
3213 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3214
3215         * ParagraphList.C: prepare for NO_NEXT
3216
3217 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * text2.C (getFont): adjust
3220         (getLayoutFont): adjust
3221         (getLabelFont): adjust
3222
3223         * paragraph.C (getFont): adjust
3224         (getLabelFont): adjust
3225         (getLayoutFont): adjust
3226
3227         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3228
3229 2003-04-15  John Levon  <levon@movementarian.org>
3230
3231         From Angus Leeming
3232
3233         * lyx_main.C: handle Include in .ui files
3234
3235 2003-04-15  John Levon  <levon@movementarian.org>
3236
3237         * MenuBackend.C: make the doc files length shorter
3238
3239         * ToolbarBackend.h:
3240         * ToolbarBackend.C: handle toolbar placement flags,
3241         Minibuffer
3242
3243 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3246         adjust
3247
3248         * paragraph_funcs.C (TeXOnePar): adjust
3249
3250         * paragraph.C (getLabelFont): add outerfont arg, adjust
3251         (getLayoutFont): ditto
3252         (simpleTeXOnePar): adjust
3253
3254         * paragraph_pimpl.C (realizeFont): delete func
3255
3256 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3257
3258         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3259         row argument, constify cur argument.
3260
3261 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * text2.C (getFont): adjust
3264         (getLayoutFont): adjust
3265         (getLabelFont): adjust
3266
3267         * paragraph_funcs.C (TeXOnePar): adjust
3268         (outerFont): new func...
3269         (realizeFont): ...moved out from here, changed this to facilitate
3270         transition
3271
3272         * paragraph.C (getFont): take outerfont as arg, adjust
3273         (simpleTeXOnePar): add outerfont arg, adjust
3274
3275         * buffer.C (simpleLinuxDocOnePar): adjust
3276         (simpleDocBookOnePar): adjust
3277
3278         * CutAndPaste.C (pasteSelection): adjust
3279
3280         * BufferView.C (getEncoding): adjust
3281
3282 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * text2.C (setCharFont): adjust
3285         (setCounter): adjust
3286
3287         * text.C (leftMargin): adjust
3288         (setHeightOfRow): adjust
3289
3290         * rowpainter.C (paintFirst): adjust
3291         (paintLast): adjust
3292
3293         * paragraph_pimpl.C (realizeFont): adjust
3294
3295         * paragraph.C (isFirstInSequence): move from here...
3296         * paragraph_funcs.C (isFirstInSequence): ...to here
3297
3298         * paragraph.C (outerHook): move from here...
3299         * paragraph_funcs.C (outerHook): ...to here
3300
3301         * paragraph.C (depthHook): move from here...
3302         * paragraph_funcs.C (depthHook): ...to here
3303
3304         * paragraph.C (getEndLabel): move from here...
3305         * paragraph_funcs.C (getEndLabel): ...to here
3306
3307         * text2.C (realizeFont): move from here...
3308         * paragraph_funcs.C (realizeFont): ...to here
3309
3310 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3311
3312         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3313
3314 2003-04-14  Angus Leeming  <leeming@lyx.org>
3315
3316         * LColor.[Ch]: scrap LColor mathcursor.
3317
3318 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * lyxlex.[Ch] (text): delete function
3321         * trans.C (Load): adjust
3322         * paragraph_funcs.C (readParToken): adjust
3323
3324 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3327         vector<char> instead of a char[].
3328
3329         * lyxlex_pimpl.C (getString): adjust
3330         (next): adjust
3331         (lex): use getString
3332         (eatLine): adjust
3333         (nextToken): adjust
3334
3335         * lyxlex.C (text): use pimpl_->getString()
3336         (getBool): ditto
3337         (findToken): ditto
3338
3339 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3340
3341         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3342         (makeFontEntriesLayoutSpecific): temp var for par.size()
3343         (setLayout): temp var for ownerParagraphs().end()
3344         (fullRebreak): temp var for rows().end()
3345         (selectionAsString): temp var for boost::next(startpit), realize
3346         that the while really is a regular for loop.
3347         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3348         setCursor in one place.
3349         (setParagraph): temp vr for ownerParagraphs().end()
3350         (updateCounters): make the while loop a for loop
3351         (cutSelection): temp var for ownerParagraphs().end()
3352         (updateInset): make the do {} while() a regular for loop
3353         (getCursorX): use temp vars
3354         (setCurrentFont): use temp vars
3355         (getColumnNearX): use temp vars
3356
3357 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * text.C (transformChar): use temp var for getChar
3360         (computeBidiTables): use temp var for row->par()
3361         (fill): move temp vars for row->par() and pit->layout() earlier in
3362         the function.
3363         (labelFill): use temp var for row->par()
3364         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3365         asc and desc, realize that pit never changes and that firstpit is
3366         just a duplicate and not needed. Exchange rit->par() with pit in a
3367         lot of places.
3368         (breakAgain): use a temp var for boost::next(rit)
3369         (breakAgainOneRow): ditto
3370         (breakParagraph): use a temp var for rows().begin()
3371         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3372         (cursorRightOneWord): use temp var for cursor.par() and
3373         cursor.pos(), remove usage of tmpcursor.
3374         (cursorLeftOneWord): use temp var for cursor.par() and
3375         cursor.pos() only set cur at end of function.
3376
3377 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * text.C, text2.C: exchange all usage of Paragraph::next with
3380         boost::next(ParagraphList::iterator)
3381
3382         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3383
3384         * text2.C (cursorTop): simplify implementation
3385         (cursorBottom): ditto
3386         (setParagraph): use ParagraphList::iterator
3387         (setCurrentFont): adjust
3388         (getColumnNearX): adjust
3389         (cursorRight): adjust
3390         (cursorLeft): remove usage of Paragraph::previous
3391         (cursorUpParagraph): ditto
3392         (deleteEmptyParagraphMechanism): slight cleanup
3393
3394         * text.C (isBoundary): take a Paragraph const & instead of a
3395         pointer as arg.
3396         (addressBreakPoint): ditto
3397         (leftMargin): remove usage of Paragraph::previous.
3398         (setHeightOfRow): ditto
3399         (cursorLeftOneWord): ditto
3400         (selectNextWordToSpellcheck): ditto
3401         (Delete): ditto
3402         (backspace): ditto
3403         (breakParagraph): remove one usage of Paragraph::next
3404         (redoParagraph): ditto
3405         (acceptChange): ditto
3406         (insertChar): adjust
3407         (rowBreakPoint): adjust
3408
3409         * bufferview_funcs.C (toggleAndShow): adjust
3410
3411 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3412
3413         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3414         methods to access it.
3415         * lyxtext.h:
3416         * text.C: Added updateRowPositions to compute all row positions.
3417         Make top_y and getRowNearY() to use the cached y position
3418
3419 2003-04-11  John Levon  <levon@movementarian.org>
3420
3421         * text.C (rowBreakPoint): reintroduce the labelEnd
3422         checks, code copied from the row fill stuff. Deep voodoo.
3423
3424         * text.C (fill): add a comment and debugging for the
3425         next poor soul.
3426
3427 2003-04-11  John Levon  <levon@movementarian.org>
3428
3429         * text.C: make sure fullrow insets get wrapped to the next line,
3430         even when they're in a manual label
3431
3432 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * text2.C (insertParagraph): make it take ParagraphList::iterator
3435         as arg.
3436         (setLayout): make it return ParagraphList::iterator
3437         (redoParagraphs): ditto
3438         (setCounter): ditto
3439         (checkParagraph): ditto
3440
3441         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3442
3443         * text2.C: adjust several funcs.
3444         (realizeFont): take a ParagraphList::iterator as arg.
3445         (getLayoutFont): ditto
3446         (getLabelFont): ditto
3447         (setCharFont): ditto
3448
3449         * text.C: adjust several funcs.
3450
3451 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * text.C (selectNextWordToSpellcheck): don't accidentally
3454         skip insets
3455
3456 2003-04-10  John Levon  <levon@movementarian.org>
3457
3458         * ToolbarBackend.C (getIcon): special handling for
3459         LFUN_MATH_DELIM
3460
3461 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3462
3463         * text2.C (cursorRight): a getChar assert fixed
3464
3465 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3466
3467         * text2.C (getFont): change to take a ParagraphList::iterator
3468         instead of Paragraph*
3469         Adjust several functions.
3470
3471         * text.C (transformChar): change to take a ParagraphList::iterator
3472         instead of Paragraph*
3473         (singleWidth): ditto
3474         Adjust several functions.
3475
3476         * rowpainter.C: adjust several functions
3477         * rowpainter.h:store a ParagraphList::iterator and not a
3478         Paragraph&.
3479
3480
3481 2003-04-09  John Levon  <levon@movementarian.org>
3482
3483         * lyxfunc.C:
3484         * lfuns.h:
3485         * LyXAction.h:
3486         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3487         and the "help" bits as well
3488
3489 2003-04-09  John Levon  <levon@movementarian.org>
3490
3491         * ToolbarBackend.h:
3492         * ToolbarBackend.C: allow multiple toolbars
3493
3494 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3495
3496         * undo_funcs.C (setCursorParUndo): adjust
3497
3498         * text_funcs.C (transposeChars): adjust
3499
3500         * text3.C (gotoNextInset): adjust
3501         (dispatch): adjust
3502
3503         * text2.C (setLayout): adjust
3504         (changeDepth): adjust
3505         (setFont): adjust
3506         (redoParagraphs): adjust
3507         (selectionAsString): adjust
3508         (setParagraph): adjust
3509         (insertInset): adjust
3510         (cutSelection): adjust
3511         (copySelection): adjust
3512         (pasteSelection): adjust
3513         (insertStringAsLines): adjust
3514         (updateInset): adjust
3515         (setCursor): change to take a ParagraphList::iterator parameter
3516         (setCursorIntern): change to take a ParagraphList::iterator parameter
3517         (setCurrentFont): adjust
3518         (cursorLeft): adjust
3519         (cursorRight): adjust
3520         (deleteEmptyParagraphMechanism): adjust
3521
3522         * text.C (breakParagraph): adjust
3523         (insertChar): adjust
3524         (acceptChange): adjust
3525         (rejectChange): adjust
3526         (selectNextWordToSpellcheck): adjust
3527         (changeCase): adjust
3528         (Delete): adjust
3529         (backspace): adjust
3530
3531         * lyxfind.C (SearchForward): adjust
3532         (SearchBackward): adjust
3533         (nextChange): adjust
3534
3535         * lyxcursor.C (par): adjust
3536
3537         * lyxcursor.h: store a ParagraphList::iterator instead of a
3538         Paragraph*
3539
3540         * lyx_cb.C (getPossibleLabel): adjust
3541
3542         * bufferview_funcs.C (toggleAndShow): adjust
3543
3544         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3545         (dispatch): adjust
3546
3547         * BufferView.C (removeAutoInsets): adjust
3548         (lockedInsetStoreUndo): adjust
3549
3550 2003-04-09  John Levon  <levon@movementarian.org>
3551
3552         * ToolbarBackend.C: try icon without argument
3553         if with argument fails
3554
3555 2003-04-08  John Levon  <levon@movementarian.org>
3556
3557         * ToolbarBackend.h:
3558         * ToolbarBackend.C: add getIcon(), handle tooltip,
3559         and change from "Icon" to "Item".
3560
3561 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3562
3563         * BufferView.C (lockInset): another bad getchar crunched
3564
3565 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3568         again)
3569
3570 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * lyxfind.C (searchForward, searchBackwards): bug 782
3573
3574 2003-04-07  John Levon  <levon@movementarian.org>
3575
3576         * paragraph.C: remove dead comment
3577
3578         * text.C: remove troublesome depth-fiddling code
3579         in leftMargin() and rightMargin() (bug 1017)
3580
3581         * text.C: fix breaking of rows in nested lists
3582         (bug 1004)
3583
3584         * text2.C (updateCounters): fix up depth values
3585         (bug 1013)
3586
3587 2003-04-07  John Levon  <levon@movementarian.org>
3588
3589         * BufferView_pimpl.C: clear message when doc finishes resizing,
3590         and after a mouse event
3591
3592         * lyxfunc.C: clear message after exiting inset
3593
3594 2003-04-07  John Levon  <levon@movementarian.org>
3595
3596         * bufferview_funcs.C: show math status not outside
3597         status in the statusbar
3598
3599 2003-04-07  John Levon  <levon@movementarian.org>
3600
3601         * lyxfunc.C: note status changed after a depth change
3602
3603 2003-04-04  Angus Leeming  <leeming@lyx.org>
3604
3605         * LaTeX.h: move AuxInfo operator==, != out of line.
3606         Remove LaTeX virtual destructor; nothing derives from it.
3607         Move operator()() out of public area and rename it startscript().
3608         Change protected for private.
3609
3610 2003-04-04  Angus Leeming  <leeming@lyx.org>
3611
3612         * lyxfunc.C:
3613         * text2.C: remove unneeded #includes.
3614
3615 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3616
3617         * text2.C (dEPM): fix the heigth of the next row
3618
3619 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * text.C: squashed an invalid getChar requester + some ws changes
3622
3623 2003-04-03  John Levon  <levon@movementarian.org>
3624
3625         * bufferview_funcs.h:
3626         * bufferview_funcs.C:
3627         * lyxfunc.C:
3628         * lyxtext.h:
3629         * text2.C: make getStatus work for the env depth lfuns
3630
3631 2003-04-03  John Levon  <levon@movementarian.org>
3632
3633         * bufferview_funcs.h:
3634         * bufferview_funcs.C:
3635         * lyxfunc.C:
3636         * lyxtext.h:
3637         * text2.C: parlistize decDepth(), by merging it with incDepth()
3638
3639 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * lyxrow.h: store a ParagraphList::iterator instead of a
3642         Paragraph* and adjust other class functions to suit.
3643
3644         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3645         above.
3646
3647 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3648
3649         * text2.C (setCursor): do not anchor to cursor row for the time being
3650
3651 2003-04-02  John Levon  <levon@movementarian.org>
3652
3653         * LyXAction.C:
3654         * lfuns.h:
3655         * lyx_main.C:
3656         * lyxtext.h:
3657         * text.C:
3658         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3659
3660 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * paragraph.h: make ParagraphList and ParagraphList::iterator
3663         friends of Paragraph.
3664
3665         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3666
3667         * ParagraphList.C: Use the private next_ and previous_ from
3668         Paragraph.
3669
3670 2003-04-01  John Levon  <levon@movementarian.org>
3671
3672         * ToolbarBackend.h:
3673         * ToolbarBackend.C:
3674         * Makefile.am: rename, remove defaults gunk
3675
3676         * MenuBackend.h:
3677         * MenuBackend.C: remove defaults gunk
3678
3679         * Languages.h:
3680         * Languages.C: remove defaults gunk
3681
3682         * lyx_main.h:
3683         * lyx_main.C: error out if files couldn't be found.
3684
3685 2003-04-02  John Levon  <levon@movementarian.org>
3686
3687         * text2.C: make incDepth() use parlist
3688
3689 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * undo_funcs.C (firstUndoParagraph): adjust
3692
3693         * text3.C (gotoInset): adjust
3694         (dispatch): adjust, and rewrite loop.
3695
3696         * text2.C (init): adjust, and rewrite loop.
3697         (redoParagraphs): adjust
3698         (updateInset): adjust, and rewrite loop.
3699         (deleteEmptyParagraphMechanism): adjust
3700
3701         * tabular.C (LyXTabular): adjust
3702         (SetMultiColumn): adjust
3703         (TeXRow): adjust
3704
3705         * lyxtext.[Ch] (ownerParagraph): delete function
3706         (ownerParagraphs): new function returns a ParagraphList.
3707
3708         * BufferView.C (removeAutoInsets): adjust
3709         (insertErrors): adjust
3710         (setCursorFromRow): adjust
3711
3712 2003-04-01  Angus Leeming  <leeming@lyx.org>
3713
3714         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3715         in the frontends.
3716
3717 2003-04-02  John Levon  <levon@movementarian.org>
3718
3719         * lyxtext.h:
3720         * text.C:
3721         * Makefile.am:
3722         * text_funcs.h:
3723         * text_funcs.C: make transposeChars a free function
3724
3725         * lyxrow_funcs.C: remove wrong comment
3726
3727 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * lyxtext.h: adjust
3730         * rowpainter.C: adjust
3731         * text.C: adjust
3732         * text2.C: adjust
3733         * text3.C: adjust
3734
3735         * lyxrow_funcs. [Ch]: new files
3736
3737         * lyxrow.[Ch]: remove next and previous pointers
3738         (next,previous): remove accessor functions
3739         (isParEnd): move to lyxrow_funcs
3740         (lastPos): move to lyxrow_funcs
3741         (nextRowIsAllInset): move to lyxrow_funcs
3742         (lastPrintablePos): move to lyxrow_funcs
3743         (numberOfSeparators): move to lyxrow_funcs
3744         (numberOfHfills): move to lyxrow_funcs
3745         (numberOfLabelHfills): move to lyxrow_funcs
3746         (hfillExpansion): move to lyxrow_funcs
3747
3748         * lyxfunc.C: adjust
3749
3750         * bufferview_funcs.C (toggleAndShow): adjust
3751
3752         * RowList.h: Remove class RowList from file leave just a
3753         std::list<Row>.
3754
3755         * RowList.C: delete file
3756
3757         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3758         and lyxrow_funcs.h
3759
3760 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * text3.C (cursorPrevious): adjust
3763         (cursorNext): adjust
3764         (dispatch): adjust
3765
3766         * text2.C (redoHeightOfParagraph): adjust
3767         (redoDrawingOfParagraph): adjust
3768         (setCursor): adjust
3769
3770         * text.C (breakParagraph): adjust
3771         (insertChar): adjust
3772         (backspace): adjust
3773
3774         * rowpainter.C (RowPainter): adjust
3775         (leftMargin): simplify and adjust
3776         (most rowpainter functions): adjust.
3777
3778         * rowpainter.h: store the row as RowList::iterator not as Row*
3779
3780         * lyxcursor.C (row): taka RowList::iterator as arg
3781         (irow): ditto
3782
3783         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3784         of Row*.
3785
3786 2003-04-01  Angus Leeming  <leeming@lyx.org>
3787
3788         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3789         stuff like bool Bool.
3790
3791 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3794         rewrite a loop
3795
3796 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3799         RowList::iterator.
3800
3801         * lyxtext.h (rows): drop one version and leve a const variant that
3802         returns a RowList::iterator.
3803
3804 2003-03-31  Angus Leeming  <leeming@lyx.org>
3805
3806         * text.C (fill): ensure that the signature is the same as that in the
3807         header file.
3808
3809 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * text2.C (redoParagraphs): adjust
3812         (updateCounters): adjust
3813         (checkParagraph): adjust
3814         (getColumnNearX): adjust and reformat a bit.
3815
3816         * text.C (top_y): adjust
3817         (workWidth): adjust
3818         (leftMargin): adjust
3819         (prepareToPrint): adjust
3820         (getRow): adjust
3821         (getRowNearY): adjust
3822
3823         * lyxtext.h: make rowlist_ mutable.
3824
3825         * RowList.h: add const_iterator
3826         * RowList.C: adjust for RowList::const_iterator.
3827
3828         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3829         adjust.
3830
3831 2003-03-31  John Levon  <levon@movementarian.org>
3832
3833         * lyxrc.h:
3834         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3835
3836         * lyx_main.C: set default fonts from using lyx_gui funcs
3837
3838         * exporter.C: pdf_mode moved from lyxrc
3839
3840         * lyx_cb.C:
3841         * lyxfunc.C: changes from above
3842
3843 2003-03-31  John Levon  <levon@movementarian.org>
3844
3845         * lyx_main.C: fix to the last fix
3846
3847 2003-03-31  John Levon  <levon@movementarian.org>
3848
3849         * bufferlist.C: "Load original" -> "Load Original"
3850
3851         * converter.C:
3852         * exporter.C:
3853         * importer.C:
3854         * lyx_main.C:
3855         * format.C: more Alert cleanups
3856
3857 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * text2.C (removeParagraph): make it take a RowList::iterator as
3860         arg, adjust.
3861         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3862         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3863
3864         * text.C (anchor_row): make it take a RowList::iterator as arg,
3865         adjust.
3866         (computeBidiTables): make it take a const reference to Row instead
3867         of Row pointer, adjust.
3868         (leftMargin): make it take a RowList::iterator as arg, adjust.
3869         (rowBreakPoint): adjust
3870         (breakAgainOneRow): make it take a RowList::iterator as arg,
3871         adjust.
3872         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3873
3874         * bufferview_funcs.C (toggleAndShow): adjust
3875
3876 2003-03-30  John Levon  <levon@movementarian.org>
3877
3878         * Makefile.am:
3879         * BoostFormat.h:
3880         * boost-inst.C: moved to support
3881
3882         * several files: changes as a result
3883
3884 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * text2.C (LyXText): adjust.
3887         (init): adjust
3888         (removeRow): make it take a RowList::iterator as arg, adjust.
3889         (fullRebreak): adjust
3890         (deleteEmptyParagraphMechanism): adjust
3891         (clearPaint): adjust
3892         (postPaint): adjust
3893
3894         * text.C (top_y): adjust
3895         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3896         (breakAgain): make it take a RowList::iterator as arg, adjust.
3897         (breakParagraph): adjust
3898         (insertChar): adjust
3899         (backspace): adjust
3900
3901         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3902         need_break_row, and refresh_row.
3903
3904         * text3.C (dispatch): adjust
3905
3906         * text2.C (checkParagraph): adjust
3907         (setCursor): adjust
3908         (setCursorFromCoordinates): adjust
3909
3910         * text.C (top_y): adjust
3911         (workWidth): adjust
3912         (getRow): make it return a RowList::iterator, adjust
3913         (getRowNearY): make it return a RowList::iterator, adjust
3914
3915         * text2.C (init): adjust
3916         (insertRow): remove function
3917         (insertParagraph): adjust
3918         (redoParagraphs): adjust
3919         (fullRebreak): adjust
3920         (updateCounters): adjust
3921
3922         * text.C (top_y): rewrite to use RowList iterators.
3923         (top_y): adjust
3924         (setHeightOfRow): rewrite to sue RowList iterators.
3925         (appendParagraph): adjust
3926         (breakAgain): adjust
3927         (breakAgainOneRow): adjust
3928         (breakParagraph): adjust
3929         (getRow): adjust
3930         (getRowNearY): adjust, and remove commented code.
3931
3932         * lyxtext.h (firstRow): delete function
3933         (lastRow): delete function
3934         (rows): new function (const and non-const versions.)
3935         (insertRow): delete function
3936
3937         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3938
3939 2003-03-29  John Levon  <levon@movementarian.org>
3940
3941         * BufferView_pimpl.C: always update scrollbar top
3942         because pasting text when we're anchored could mean we
3943         miss an update altogether
3944
3945 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * text2.C (init): use rowlist_.end() and not 0.
3948         (insertRow): change to take a RowList::iterator as arg, adjust
3949         for this.
3950         (insertParagraph): change to take a RowList::iterator as arg,
3951         adjust for this.
3952         (redoParagraphs): remove some debug msgs.
3953
3954         * text.C (appendParagraph): change to take a RowList::iterator
3955         arg, adjust for this.
3956         (breakAgain): add an assert
3957         (breakAgainOneRow): ditto
3958
3959 2003-03-29  John Levon  <levon@movementarian.org>
3960
3961         * text2.C: do not clear selection after inc/decDepth
3962         (bug 550)
3963
3964 2003-03-29  John Levon  <levon@movementarian.org>
3965
3966         * BufferView.C:
3967         * buffer.C: fix broken strerrors according to Lars
3968
3969 2003-03-29  John Levon  <levon@movementarian.org>
3970
3971         * converters.C: more Alert cleanups
3972
3973 2003-03-29  John Levon  <levon@movementarian.org>
3974
3975         * bufferview_funcs.C: remove pointless Alert
3976
3977         * buffer.C: fix confusing error message when
3978         a template is chmoded 000
3979
3980 2003-03-29  John Levon  <levon@movementarian.org>
3981
3982         * BufferView.C:
3983         * BufferView.h:
3984         * BufferView_pimpl.C: Alert fixes
3985
3986         * Makefile.am:
3987         * tabular.C:
3988         * tabular-old.C: remove unused table compat reading
3989
3990 2003-03-29  John Levon  <levon@movementarian.org>
3991
3992         * BufferView.C:
3993         * buffer.C:
3994         * lyx_cb.h:
3995         * lyx_cb.C: more Alert cleanups
3996
3997         * lyxfunc.C: don't allow chktex if not latex document
3998
3999 2003-03-29  John Levon  <levon@movementarian.org>
4000
4001         * lyx_cb.C:
4002         * BufferView.C:
4003         * buffer.C: warnings pushed down from support/,
4004         kill err_alert
4005
4006 2003-03-29  John Levon  <levon@movementarian.org>
4007
4008         * lyxfunc.C: safety check for C-r (revert)
4009
4010 2003-03-29  John Levon  <levon@movementarian.org>
4011
4012         * bufferlist.h:
4013         * bufferlist.C: several UI fixes using Alert::prompt.
4014         Fix the pointless looping quit code. Fix stupid revert
4015         behaviour (bug 938)
4016
4017         * lyxvc.h:
4018         * lyxvc.C:
4019         * lyx_cb.C: use Alert::prompt
4020
4021         * lyx_main.C: remove a silly question
4022
4023         * lyxfunc.C: remove a couple of silly questions,
4024         use Alert::prompt
4025
4026 2003-03-28  John Levon  <levon@movementarian.org>
4027
4028         * text2.C: fix bug 974 (End on empty par)
4029
4030 2003-03-28  John Levon  <levon@movementarian.org>
4031
4032         * BufferView_pimpl.C:
4033         * LyXAction.C:
4034         * lfuns.h: remove do-nothing math greek lfuns
4035
4036 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * lyxgluelength.h (isValidGlueLength): add default arg on
4039         parameter 2. Remove default arg from friend in class.
4040
4041         * lyxlength.h (isValidLength): add default arg on parameter 2.
4042         Remove default arg from friend in class.
4043
4044         * text2.C (LyXText): adjust, initialize refresh_row.
4045         (init): adjust
4046         (removeRow): adjust
4047         (insertRow): adjust
4048         (insertParagraph): adjst
4049         (redoParagraphs): adjust
4050         (fullRebreak): adjust
4051         (updateCounters): adjust
4052         (deleteEmptyParagraphMechanism): first attempt at fixing a
4053         crashing bug.
4054
4055         * text.C (top_y): adjust
4056         (setHeightOfRow): adjust
4057         (getRow): adjust
4058         (getRowNearY): adjust
4059
4060         * lyxtext.h: include RowList.h
4061         (~LyXText): not needed anymore, deleted.
4062         (firstRow): modify for RowList
4063         (lastRow): new function
4064         Delete firstrow and lastrow class variables, add a Rowlist
4065         rowlist_ class variable.
4066
4067         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4068         paragraph is empty.
4069
4070         * RowList.C (insert): fix case where it == begin().
4071
4072 2003-03-26  Angus Leeming  <leeming@lyx.org>
4073
4074         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4075         the thesaurus dialog.
4076
4077 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4080
4081         * RowList.[Ch]: new files
4082
4083         * ParagraphList.C (erase): handle the case where it == begin
4084         correctly.
4085
4086 2003-03-25  John Levon  <levon@movementarian.org>
4087
4088         * Makefile.am:
4089         * aspell_local.h:
4090         * aspell.C: add new aspell support
4091
4092         * lyxrc.h:
4093         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4094         have it accessible.
4095
4096 2003-03-25  Angus Leeming  <leeming@lyx.org>
4097
4098         * lfuns.h:
4099         * LyXAction.C (init): new LFUN_INSET_INSERT.
4100
4101         * BufferView_pimpl.C (dispatch): split out part of the
4102         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4103
4104         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4105         LFUN_INSET_APPLY.
4106
4107 2003-03-25  Angus Leeming  <leeming@lyx.org>
4108
4109         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4110
4111 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4112
4113         * text2.C:
4114         * text3.C: remove useless row->height(0)
4115
4116 2003-03-25  John Levon  <levon@movementarian.org>
4117
4118         * lyxtext.h:
4119         * text2.C:
4120         * text3.C: rename the refreshing stuff to better names
4121
4122 2003-03-24  John Levon  <levon@movementarian.org>
4123
4124         * BufferView_pimpl.h:
4125         * BufferView_pimpl.C: update layout choice on a mouse
4126         press/release
4127
4128 2003-03-23  John Levon  <levon@movementarian.org>
4129
4130         * Makefile.am: fix commandtags.h reference
4131
4132 2003-03-22  John Levon  <levon@movementarian.org>
4133
4134         * BufferView_pimpl.C:
4135         * lyxtext.h:
4136         * rowpainter.C:
4137         * rowpainter.h:
4138         * text.C:
4139         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4140
4141 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * lyxtext.h:
4144         * text.C: take the rtl methods out of line
4145
4146 2003-03-21 André Pönitz <poenitz@gmx.net>
4147
4148         * metricsinfo.[Ch]: new files containing structures to be passed around
4149         during the two-phase-drawing...
4150
4151 2003-03-21 André Pönitz <poenitz@gmx.net>
4152
4153         * lyxtextclass.C: read 'environment' tag.
4154
4155 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * text2.C (removeRow): fix bug 964
4158
4159 2003-03-20  John Levon  <levon@movementarian.org>
4160
4161         * rowpainter.C:
4162         * text.C:
4163         * text2.C: paint cleanups. Inset::update() dropped font
4164         parameter
4165
4166 2003-03-19  John Levon  <levon@movementarian.org>
4167
4168         * lyxfunc.C: only fitcursor/markDirty if available()
4169
4170 2003-03-19  John Levon  <levon@movementarian.org>
4171
4172         * commandtags.h: rename to ...
4173
4174         * lfuns.h: ... this, and renumber / cleanup
4175
4176 2003-03-19  John Levon  <levon@movementarian.org>
4177
4178         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4179         fit the cursor after an lfun
4180
4181         * BufferView.h:
4182         * BufferView.C:
4183         * BufferView_pimpl.h:
4184         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4185
4186         * LyXAction.C: layout-character should have ReadOnly
4187
4188         * ParagraphParameters.C:
4189         * buffer.C:
4190         * bufferview_funcs.C:
4191         * lyx_cb.C:
4192         * lyxfind.C:
4193         * lyxtext.h:
4194         * text.C:
4195         * text2.C:
4196         * text3.C:
4197         * undo_funcs.C: changes from above
4198
4199 2003-03-18  John Levon  <levon@movementarian.org>
4200
4201         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4202         remove it from update()
4203
4204         * lyxfunc.C: update layout choice after an lfun
4205
4206         * text3.C: remove extra updateLayoutChoice()s
4207
4208 2003-03-18  John Levon  <levon@movementarian.org>
4209
4210         * text.C: top_y change means full repaint, fix
4211         a drawing bug with cursor movement
4212
4213 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * lyxtext.h:
4216         * text.C:
4217         * text2.C: anchor row on setCursor
4218
4219 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * lyxtext.h: remove almost all mutable keywords
4222         * text.C:
4223         * text2.C:
4224         * text3.C: remove const keywords accordingly
4225
4226 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4229         anon namespace
4230         (TeXEnvironment): ditto
4231         (TeXOnePar): ditto
4232
4233 2003-03-17  John Levon  <levon@movementarian.org>
4234
4235         * text.C (rowBreakPoint): remove attempt to fix displayed
4236         math insets inside a manual label
4237
4238 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * lyxtext.h: remove BufferView* as first arg from almost all class
4241         functions.
4242         * other files: adjust.
4243
4244 2003-03-17  John Levon  <levon@movementarian.org>
4245
4246         * lyxtext.h:
4247         * undo_funcs.C:
4248         * text2.C: more paint cleanups
4249
4250         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4251
4252         * rowpainter.h:
4253         * rowpainter.C: remove "smart" background painting code
4254
4255 2003-03-16  John Levon  <levon@movementarian.org>
4256
4257         * lyxtext.h:
4258         * text.C:
4259         * text2.C:
4260         * text3.C: add helper functions for setting refresh_row/y
4261
4262 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4263
4264         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4265         newline inset which *can* get inserted in the pass_thru layouts.
4266         This is primarily for literate documents.
4267
4268 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4269
4270         * buffer.C: increment LYX_FORMAT to 223
4271
4272 2003-03-14 André Pönitz <poenitz@gmx.net>
4273
4274         * textclass.h: prepare for environment handling, ws changes
4275         * lyxlayout.C: read latexheader and latexfooter tags
4276
4277 2003-03-14  John Levon  <levon@movementarian.org>
4278
4279         * text2.C: rewrite ::status() a bit
4280
4281 2003-03-13  John Levon  <levon@movementarian.org>
4282
4283         * lyxtext.h: add some docs
4284
4285 2003-03-13  John Levon  <levon@movementarian.org>
4286
4287         * lyxtext.h:
4288         * text.C:
4289         * text2.C:
4290         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4291
4292 2003-03-13  John Levon  <levon@movementarian.org>
4293
4294         * text3.C: fix appendix redrawing
4295
4296 2003-03-13  John Levon  <levon@movementarian.org>
4297
4298         * text.C (setHeightOfRow):
4299         * rowpainter.h:
4300         * rowpainter.C: make appendix mark have the text
4301           "Appendix" so the user knows what it is
4302
4303         * LColor.h:
4304         * LColor.C: s/appendixline/appendix/ from above
4305
4306 2003-03-13  John Levon  <levon@movementarian.org>
4307
4308         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4309
4310         * text.C: fix a getChar(pos) bug properly
4311
4312 2003-03-13  Angus Leeming  <leeming@lyx.org>
4313
4314         * commandtags.h:
4315         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4316         Probably only temporary. Let's see how things pan out.
4317
4318         * BufferView.C (unlockInset):
4319         * BufferView_pimpl.C (fitCursor):
4320         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4321
4322         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4323         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4324
4325         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4326         new functions that convert ParagraphParameters to and from a string.
4327
4328         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4329         BufferView::Pimpl's dispatch.
4330         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4331
4332 2003-03-13 André Pönitz <poenitz@gmx.net>
4333
4334         * lyxfunc.C:
4335         * text3.C:
4336         * factory.C: make it aware of InsetEnv
4337
4338 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * text2.C (setCursor): never ask for one past last
4341         (setCursor): add some debugging messages.
4342
4343         * text.C (singleWidth): never ask for one past last
4344         (singleWidth): ditto
4345         (leftMargin): ditto
4346         (rightMargin): ditto
4347         (rowBreakPoint): ditto
4348         (setHeightOfRow): ditto
4349         (prepareToPrint): ditto
4350
4351         * rowpainter.C (paintBackground): never ask for one past last
4352         (paintText): never ask for one past last
4353
4354         * paragraph_pimpl.C (getChar): make the assert stricter, never
4355         allow the one past last pos to be taken
4356
4357         * paragraph.C (getChar): ws changes only
4358
4359         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4360         (numberOfSeparators): ditto
4361         (numberOfHfills): ditto
4362
4363 2003-03-12  John Levon  <levon@movementarian.org>
4364
4365         * author.h:
4366         * author.C:
4367         * bufferparams.h:
4368         * bufferparams.C:
4369         * paragraph_funcs.C: fix per-buffer authorlists
4370
4371 2003-03-12  John Levon  <levon@movementarian.org>
4372
4373         * text.C: fix newline in right address
4374
4375 2003-03-12  Angus Leeming  <leeming@lyx.org>
4376
4377         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4378         duplicate those in LyXFunc::dispatch.
4379
4380         * commandtags.h:
4381         * LyXAction.C:
4382         * ToolbarDefaults.C:
4383         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4384         Add LFUN_FONTFREE_UPDATE.
4385
4386         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4387         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4388
4389         * bufferview_func.[Ch]: several new functions to facilliate
4390         transfer of data to and from the character dialog.
4391
4392 2003-03-12  John Levon  <levon@movementarian.org>
4393
4394         * buffer.C:
4395         * paragraph.h:
4396         * paragraph.C:
4397         * paragraph_funcs.C:
4398         * paragraph_pimpl.C:
4399         * sgml.C:
4400         * tabular.C:
4401         * text.C:
4402         * text3.C: remove META_NEWLINE in favour of an inset
4403
4404         * rowpainter.h:
4405         * rowpainter.C: remove paintNewline (done by inset)
4406
4407 2003-03-12  John Levon  <levon@movementarian.org>
4408
4409         * paragraph_pimpl.C: complain about bad getChar()s
4410         for a while at least
4411
4412 2003-03-12  John Levon  <levon@movementarian.org>
4413
4414         * buffer.h:
4415         * buffer.C: move paragraph read into a separate function,
4416         a little renaming to reflect that.
4417
4418         * bufferparams.h:
4419         * bufferparams.C: remove the author_ids map, not necessary now
4420
4421         * factory.h:
4422         * factory.C: moved Buffer::readInset to here
4423
4424         * paragraph_funcs.h:
4425         * paragraph_funcs.C: readParagraph free function moved from
4426         buffer.C
4427
4428         * tabular.C: name change
4429
4430 2003-03-12  John Levon  <levon@movementarian.org>
4431
4432         * buffer.C:
4433         * ParagraphParameters.C: move par params input to
4434         a read() method
4435
4436         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4437         behave like a normal read from the stream wrt reading
4438         a line vs. a \\token
4439
4440 2003-03-12  John Levon  <levon@movementarian.org>
4441
4442         * paragraph.C:
4443         * ParagraphParameters.h:
4444         * ParagraphParameters.C: move output code to a
4445         ::write() method
4446
4447 2003-03-12  John Levon  <levon@movementarian.org>
4448
4449         * BufferView.C (insertLyXFile):
4450         * buffer.h:
4451         * buffer.C:
4452         * tabular.C: use a parlist iterator for creating the
4453           document.
4454
4455 2003-03-12  John Levon  <levon@movementarian.org>
4456
4457         * buffer.C: make current_change static local not
4458           static file-scope
4459
4460 2003-03-12  John Levon  <levon@movementarian.org>
4461
4462         * buffer.C: fix insertStringAsLines for change tracking
4463
4464 2003-03-12  John Levon  <levon@movementarian.org>
4465
4466         * BufferView.C:
4467         * tabular.C:
4468         * buffer.h:
4469         * buffer.C:
4470         * bufferparams.h:
4471         * bufferparams.C: move author list into params. Rename some
4472           functions. Move the header reading into a separate token
4473           loop. Move the header token reading into BufferParams.
4474
4475 2003-03-12  John Levon  <levon@movementarian.org>
4476
4477         * changes.C: put debug inside lyxerr.debugging() checks
4478
4479 2003-03-11 André Pönitz <poenitz@gmx.net>
4480
4481         * factory.C: make it aware of InsetHFill
4482
4483 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4484
4485         * buffer.C (latexParagraphs): move function from here...
4486         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4487         args.
4488
4489 2003-03-10  Angus Leeming  <leeming@lyx.org>
4490
4491         * LyXAction.C (init): fix bug in poplating array with multiple entries
4492         with the same LFUN (spotted by JMarc).
4493
4494 2003-03-10  John Levon  <levon@movementarian.org>
4495
4496         * text.C:
4497         * text2.C: move getColumnNearX() near its
4498         only call site
4499
4500 2003-03-10  John Levon  <levon@movementarian.org>
4501
4502         * text.C: fix break before a minipage
4503
4504 2003-03-10  John Levon  <levon@movementarian.org>
4505
4506         * text.C: fix the last commit
4507
4508 2003-03-09  John Levon  <levon@movementarian.org>
4509
4510         * lyxtext.h:
4511         * text.C:
4512         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4513         bug 365 (don't break before insets unless needed). Don't
4514         return a value > last under any circumstances.
4515
4516 2003-03-09  Angus Leeming  <leeming@lyx.org>
4517
4518         * BufferView_pimpl.C (trackChanges, dispatch): call
4519         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4520
4521 2003-03-09  Angus Leeming  <leeming@lyx.org>
4522
4523         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4524         than Dialogs::showAboutlyx().
4525
4526 2003-03-09  Angus Leeming  <leeming@lyx.org>
4527
4528         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4529         than Dialogs::showTabularCreate().
4530
4531 2003-03-09  John Levon  <levon@movementarian.org>
4532
4533         * lyxtext.h:
4534         * text.C:
4535         * text2.C: 3rd arg to nextBreakPoint was always the same.
4536           Use references.
4537
4538 2003-03-08  John Levon  <levon@movementarian.org>
4539
4540         * lyxrow.C:
4541         * paragraph.C:
4542         * paragraph.h:
4543         * rowpainter.C:
4544         * text.C:
4545         * text2.C: Remove the "main" bit from the "main body"
4546           notion.
4547
4548 2003-03-08  John Levon  <levon@movementarian.org>
4549
4550         * text.C (leftMargin): The left margin of an empty
4551         manual label paragraph should not include the label width
4552         string length.
4553
4554         * text.C (prepareToPrint): don't attempt to measure hfills
4555         for empty manual label paragraphs - the answer should be 0
4556
4557 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * CutAndPaste.C: remove commented code and reindent.
4560
4561 2003-03-08  John Levon  <levon@movementarian.org>
4562
4563         * lyxfunc.h:
4564         * lyxfunc.C: move reloadBuffer()
4565
4566         * BufferView.h:
4567         * BufferView.C: to here
4568
4569         * lyxvc.C: add comment
4570
4571         * vc-backend.h:
4572         * vc-backend.C: call bv->reload() to avoid
4573           getStatus() check on MENURELOAD
4574
4575 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4576
4577         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4578         to an old format .dep file.
4579
4580 2003-03-07  Angus Leeming  <leeming@lyx.org>
4581
4582         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4583         when the LFUN_MOUSE_RELEASE should have been handled by
4584         inset->localDispatch.
4585
4586 2003-03-07  Angus Leeming  <leeming@lyx.org>
4587
4588         * BufferView_pimpl.C (dispatch):
4589         * LyXAction.C (init):
4590         * ToolbarDefaults.C (init):
4591         * commandtags.h:
4592         * lyxfunc.C (getStatus):
4593         remove LFUN_INSET_GRAPHICS.
4594
4595         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4596
4597 2003-03-07  Angus Leeming  <leeming@lyx.org>
4598
4599         * commandtags.h:
4600         * LyXAction.C (init):
4601         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4602
4603         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4604
4605         * commandtags.h:
4606         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4607
4608         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4609         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4610
4611 2003-03-07  Angus Leeming  <leeming@lyx.org>
4612
4613         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4614         remove "ert".
4615
4616 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * ParagraphList.C (front): new function
4619         (back): implement
4620
4621 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4622
4623         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4624         and top_row_offset_. removed var first_y.
4625         * text.C (top_y):
4626         * text2.C (LyXText, removeRow):
4627         * text3.C:
4628         * BufferView_pimpl.C:
4629         use these methods instead of using first_y
4630
4631 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * text2.C (pasteSelection): adjust for checkPastePossible
4634
4635         * CutAndPaste.C: remove Paragraph * buf and replace with
4636         ParagraphList paragraphs.
4637         (DeleteBuffer): delete
4638         (cutSelection): change the tc type to textclass_type
4639         (copySelection): change the tc type to textclass_type
4640         (copySelection): adjust for ParagraphList
4641         (pasteSelection): change the tc type to textclass_type
4642         (pasteSelection): adjust for Paragraphlist
4643         (nrOfParagraphs): simplify for ParagraphList
4644         (checkPastePossible): simplify for ParagraphList
4645         (checkPastePossible): remove unused arg
4646
4647         * ParagraphList.C (insert): handle the case where there are no
4648         paragraphs yet.
4649
4650         * CutAndPaste.h: make CutAndPaste a namespace.
4651
4652         * text3.C (dispatch): adjust
4653
4654         * text.C (breakParagraph): add a ParagraphList as arg
4655
4656         * paragraph_funcs.C (breakParagraph): change to take a
4657         BufferParams and a ParagraphList as args.
4658         (breakParagraphConservative): ditto
4659         (mergeParagraph): ditto
4660         (TeXDeeper): add a ParagraphList arg
4661         (TeXEnvironment): ditto
4662         (TeXOnePar): ditto
4663
4664         * buffer.C (readLyXformat2): adjust
4665         (insertStringAsLines): adjust
4666         (latexParagraphs): adjust
4667
4668         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4669         (cutSelection): adjust
4670         (pasteSelection): adjust
4671
4672         * BufferView_pimpl.C (insertInset): adjust
4673
4674 2003-03-05  Angus Leeming  <leeming@lyx.org>
4675
4676         * commandtags.h:
4677         * LyXAction.C (init):
4678         * BufferView_pimpl.C (dispatch):
4679         * lyxfunc.C (getStatus):
4680         remove LFUN_CHILD_INSERT.
4681
4682         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4683
4684 2003-03-05  Angus Leeming  <leeming@lyx.org>
4685
4686         * commandtags.h:
4687         * LyXAction.C (init):
4688         * src/factory.C (createInset):
4689         * lyxfunc.C (getStatus):
4690         * text3.C (dispatch):
4691         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4692
4693         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4694
4695 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * ParagraphList.C (insert): handle insert right before end()
4698         (erase): fix cases where it can be first or last paragraph.
4699
4700 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4703         Paragraph::next and Paragraph::previous
4704         (TeXOnePar): ditto
4705
4706         * text.C (breakParagraph): adjust
4707
4708         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4709         BufferParams& as arg.
4710         (breakParagraph): use ParagraphList::insert
4711         (breakParagraphConservative): take a Buffer* instead of a
4712         BufferParams& as arg.
4713         (breakParagraphConservative): use ParagraphList::insert.
4714
4715         * buffer.C (insertStringAsLines): un-const it
4716         (insertStringAsLines): adjust
4717
4718         * ParagraphList.C (insert): new function
4719
4720         * CutAndPaste.C (pasteSelection): adjust
4721
4722         * text.C (backspace): adjust
4723
4724         * tabular.C (SetMultiColumn): adjust
4725
4726         * CutAndPaste.C (cutSelection): adjust
4727         (pasteSelection): adjust
4728
4729         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4730         Buffer const * as arg
4731
4732         * ParagraphList.C (erase): new function
4733         * paragraph_funcs.C (mergeParagraph): use it
4734         (mergeParagraph): make it take a Buffer* instead of a
4735         BufferParams* as arg
4736
4737         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4738         as arg
4739         (breakParagraphConservative): ditto
4740
4741         * paragraph.h: remove the breakParagraph friend
4742
4743         * paragraph.C (eraseIntern): new function
4744         (setChange): new function
4745
4746         * paragraph_funcs.C (mergeParagraph): make it take a
4747         ParagraphList::iterator instead of a Paragraph *, adjust
4748         accordingly.
4749
4750         * paragraph.h: move an #endif so that the change tracking stuff
4751         also works in the NO_NEXT case.
4752
4753 2003-03-04  Angus Leeming  <leeming@lyx.org>
4754
4755         * commandtags.h:
4756         * LyXAction.C: new LFUN_INSET_MODIFY.
4757
4758         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4759         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4760
4761 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * several files: ws changes only
4764
4765         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4766         (TeXEnvironment): ditto
4767         (TeXDeeper): ditto
4768
4769         * buffer.C (makeLaTeXFile): adjust
4770         (latexParagraphs): make it take ParagraphList::iterator as args
4771
4772 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * buffer.C (latexParagraphs): adjust
4775
4776         * paragraph.C (TeXOnePar): move function...
4777         (optArgInset): move function...
4778         (TeXEnvironment): move function...
4779         * paragraph_pimpl.C (TeXDeeper): move function...
4780         * paragraph_funcs.C: ...here
4781
4782         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4783
4784 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * buffer.C (readInset): remove compability code for old Figure and
4787         InsetInfo insets
4788
4789 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * buffer.C: ws changes
4792         (readInset):
4793
4794         * BufferView_pimpl.C: ditto
4795         * author.C: ditto
4796         * buffer.h: ditto
4797         * bufferlist.h: ditto
4798         * changes.h: ditto
4799         * lyxfunc.C: ditto
4800
4801 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4802
4803         * converter.[Ch]: split into itself +
4804         * graph.[Ch]
4805         * format.[Ch]
4806         * Makefile.am: += graph.[Ch] + format.[Ch]
4807         * MenuBackend.C
4808         * buffer.C
4809         * exporter.C
4810         * importer.C
4811         * lyx_main.C
4812         * lyxfunc.C
4813         * lyxrc.C: added #include "format.h"
4814
4815 2003-02-27  Angus Leeming  <leeming@lyx.org>
4816
4817         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4818           a label.
4819
4820         * factory.C (createInset): add "label" to the factory.
4821
4822         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4823           string and do no more.
4824
4825 2003-02-27  Angus Leeming  <leeming@lyx.org>
4826
4827         * commandtags.h:
4828         * LyXAction.C (init):
4829         * factory.C (createInset):
4830         * BufferView_pimpl.C (dispatch):
4831           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4832
4833         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4834
4835         * lyxfunc.C (dispatch):
4836         * text3.C (dispatch): pass name to params2string.
4837
4838 2003-02-26  Angus Leeming  <leeming@lyx.org>
4839
4840         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4841           blocks together.
4842           Rearrange the ~includes. Strip out the unnecessary ones.
4843
4844         * factory.C (createInset): reformat.
4845           create new insets for the various LFUN_XYZ_APPLY lfuns.
4846
4847 2003-02-26  John Levon  <levon@movementarian.org>
4848
4849         * lyxrow.h:
4850         * lyxrow.C: add isParStart,isParEnd helpers
4851
4852         * paragraph.h: make isInserted/DeletedText take refs
4853
4854         * paragraph_funcs.h:
4855         * paragraph_funcs.C: remove #if 0'd code
4856
4857         * lyxtext.h:
4858         * text3.C:
4859         * text2.C:
4860         * text.C: use lyxrow helpers above.
4861           Move draw and paint routines to RowPainter.
4862           Make several methods use refs not pointers.
4863           Make backgroundColor() const.
4864           Add markChangeInDraw(), isInInset().
4865           Merge changeRegionCase into changeCase.
4866           Make workWidth() shouldn't-happen code into an Assert.
4867
4868         * rowpainter.h:
4869         * rowpainter.C: new class for painting a row.
4870
4871         * vspace.h:
4872         * vspace.C: make inPixels take a ref
4873
4874 2003-02-26  Angus Leeming  <leeming@lyx.org>
4875
4876         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4877         LFUN_REF_APPLY.
4878
4879 2003-02-25  John Levon  <levon@movementarian.org>
4880
4881         * ispell.C: give the forked command a more accurate name
4882
4883 2003-02-22  John Levon  <levon@movementarian.org>
4884
4885         * toc.h:
4886         * toc.C: make TocItem store an id not a Paragraph *
4887           (bug #913)
4888
4889 2003-02-21  Angus Leeming  <leeming@lyx.org>
4890
4891         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4892           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4893           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4894           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4895           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4896           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4897
4898         * BufferView_pimpl.C (dispatch):
4899         * LyXAction.C (init):
4900         * factory.C (createInset):
4901         * lyxfunc.C (getStatus, dispatch):
4902         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4903
4904 2003-02-21  Angus Leeming  <leeming@lyx.org>
4905
4906         * BufferView_pimpl.C (MenuInsertLyXFile):
4907         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4908         * lyxfunc.C (menuNew, open, doImport):
4909           no longer pass a LyXView & to fileDlg.
4910
4911 2003-02-21  Angus Leeming  <leeming@lyx.org>
4912
4913         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4914         * LyXAction.C: change, BIBKEY to BIBITEM.
4915         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4916         Change InsetBibKey to InsetBibitem.
4917         Change BIBKEY_CODE to BIBITEM_CODE.
4918         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4919         * factory.C: replace insetbib.h with insetbibitem.h.
4920         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4921         * paragraph.C: replace insetbib.h with insetbibitem.h.
4922         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4923         Change bibkey() to bibitem().
4924         * text.C: remove insetbib.h.
4925         * text2.C: replace insetbib.h with insetbibitem.h.
4926         change bibkey() to bibitem().
4927         * text3.C: remove insetbib.h.
4928         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4929
4930 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4931
4932         * lyxrc.C (output): enclose user email in quotes (in case there are
4933         several words)
4934
4935 2003-02-18  John Levon  <levon@movementarian.org>
4936
4937         * buffer.h: add std::
4938
4939 2003-02-17  John Levon  <levon@movementarian.org>
4940
4941         * SpellBase.h:
4942         * ispell.h:
4943         * ispell.C:
4944         * pspell.h:
4945         * pspell.C: reworking. Especially in ispell, a large
4946           number of clean ups and bug fixes.
4947
4948         * lyxfunc.C: fix revert to behave sensibly
4949
4950 2003-02-17 André Pönitz <poenitz@gmx.net>
4951
4952         * LyXAction.C:
4953         * commandtags.h: new LFUN_INSERT_BIBKEY
4954
4955         * layout.h:
4956         * lyxlayout.C:
4957         * buffer.C:
4958         * factory.C:
4959         * text.C:
4960         * text2.C:
4961         * text3.C:
4962         * paragraph.[Ch]:
4963         * paragraph_func.C: remove special bibkey handling
4964
4965 2003-02-17  John Levon  <levon@movementarian.org>
4966
4967         * text.C (Delete): fix case where delete at the end of
4968           the very first paragraph would not merge the pars
4969
4970 2003-02-17  John Levon  <levon@movementarian.org>
4971
4972         * lyxrow.C: fix lastPrintablePos()
4973
4974 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4975
4976         * bufferparams.C (writeLaTeX): add a std:here
4977
4978         * buffer.C: and remove a using directive there
4979
4980 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4981
4982         * buffer.C (makeLaTeXFile): move the code that generates the
4983           preamble...
4984
4985         * bufferparams.C (writeLaTeX): ... in this new method
4986
4987         * LaTeXFeatures.C (getEncodingSet): make const
4988           (getLanguages): make const
4989
4990         * MenuBackend.C (binding): returns the binding associated to this
4991           action
4992           (add): sets the status of each item by calling getStatus. Adds
4993           some intelligence.
4994           (read): add support for OptSubMenu
4995           (expand): remove extra separator at the end of expanded menu
4996
4997 2003-02-15  John Levon  <levon@movementarian.org>
4998
4999         * BufferView.C:
5000         * BufferView_pimpl.C:
5001         * bufferlist.h:
5002         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5003           inset code that had no actual effect. Remove unneeded status
5004           code.
5005
5006 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5007
5008         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5009           in preamble
5010
5011 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5012
5013         * text.C (drawLengthMarker): also draw an arrow marker for
5014           symbolic lengths (medskip...)
5015
5016 2003-02-14  John Levon  <levon@movementarian.org>
5017
5018         * tabular.h:
5019         * tabular.C: better method names
5020
5021 2003-02-14  John Levon  <levon@movementarian.org>
5022
5023         * BufferView_pimpl.C:
5024         * bufferlist.C:
5025         * buffer.C:
5026         * converter.C:
5027         * lyx_cb.C:
5028         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5029           it's a more accurate name. Remove some pointless uses.
5030
5031 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5032
5033         * text2.C (LyXText): change order of initilizers to shut off
5034           warnings
5035
5036 2003-02-14  John Levon  <levon@movementarian.org>
5037
5038         * buffer.C: use ParIterator for getParFromID()
5039
5040         * paragraph.h:
5041         * paragraph.C:
5042         * paragraph_pimpl.h:
5043         * paragraph_pimpl.C: remove unused getParFromID()
5044
5045 2003-02-14  John Levon  <levon@movementarian.org>
5046
5047         * buffer.C: remove some very old #if 0'd parse code
5048
5049 2003-02-13  John Levon  <levon@movementarian.org>
5050
5051         * text.h:
5052         * text.C:
5053         * text2.C: move hfillExpansion(), numberOfSeparators(),
5054           rowLast(), rowLastPrintable(), numberofHfills(),
5055           numberOfLabelHfills() ...
5056
5057         * lyxrow.h:
5058         * lyxrow.C: ... to member functions here.
5059
5060         * paragraph.h:
5061         * paragraph.C:
5062         * lyxtext.h:
5063         * text.C: remove LyXText::beginningOfMainBody(), and call
5064           p->beginningOfMainBody() directly. Move the check for
5065           LABEL_MANUAL into the latter.
5066
5067         * text.h:
5068         * text.C:
5069         * text2.C:
5070         * vspace.C:
5071         * BufferView.h:
5072         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5073
5074         * text.h:
5075         * text.C:
5076         * text2.C:
5077         * text3.C:
5078         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5079           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5080
5081 2003-02-13  John Levon  <levon@movementarian.org>
5082
5083         * CutAndPaste.C: remove debug
5084
5085 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5086
5087         * paragraph.C (asString): remove two unused variables
5088
5089         * lyxtextclass.C (readTitleType):
5090           (Read):
5091           (LyXTextClass): handle new members titletype_ and titlename_
5092
5093         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5094
5095 2003-02-09  John Levon  <levon@movementarian.org>
5096
5097         * buffer.h:
5098         * buffer.C: replace hand-coded list with a map for the dep clean
5099
5100 2003-02-08  John Levon  <levon@movementarian.org>
5101
5102         * LaTeX.C: consolidate code into showRunMessage() helper
5103
5104 2003-02-08  John Levon  <levon@movementarian.org>
5105
5106         * lyxfind.C:
5107         * lyxtext.h:
5108         * text2.C:
5109         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5110           and pass the size in explicitly
5111
5112         * BufferView_pimpl.h:
5113         * BufferView_pimpl.C:
5114         * BufferView.h:
5115         * BufferView.C: add getCurrentChange()
5116
5117         * BufferView_pimpl.h:
5118         * BufferView_pimpl.C: handle change lfuns
5119
5120         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5121           for changes. Mark pasted paragraphs as new.
5122
5123         * support/lyxtime.h:
5124         * support/lyxtime.C:
5125         * DepTable.C: abstract time_t as lyx::time_type
5126
5127         * LColor.h:
5128         * LColor.C: add colours for new text, deleted text, changebars
5129
5130         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5131           package use "usenames" option.
5132
5133         * commandtags.h:
5134         * lyxfunc.C:
5135         * LyXAction.C: add change lfuns
5136
5137         * Makefile.am:
5138         * author.h:
5139         * author.C: author handling
5140
5141         * buffer.h:
5142         * buffer.C: add a per-buffer author list, with first entry as
5143           current author. Handle new .lyx tokens for change tracking. Output
5144           author list to .lyx file. Output dvipost stuff to .tex preamble.
5145           Bump lyx format to 222.
5146
5147         * bufferlist.h:
5148         * bufferlist.C: add setCurrentAuthor() to reset current author details
5149           in all buffers.
5150
5151         * bufferparams.h:
5152         * bufferparams.C: add param for tracking
5153
5154         * bufferview_funcs.C: output change info in minibuffer
5155
5156         * Makefile.am:
5157         * changes.h:
5158         * changes.C: add change-tracking structure
5159
5160         * debug.h:
5161         * debug.C: add CHANGES debug flag
5162
5163         * lyxfind.h:
5164         * lyxfind.C: add code for finding the next change piece
5165
5166         * lyxrc.h:
5167         * lyxrc.C: add user_name and user_email
5168
5169         * lyxrow.h:
5170         * lyxrow.C: add a metric for the top of the text line
5171
5172         * lyxtext.h:
5173         * text.C: implement accept/rejectChange()
5174
5175         * lyxtext.h:
5176         * text.C: paint changebars. Paint new/deleted text in the chosen
5177         colours. Strike through deleted text.
5178
5179         * paragraph.h:
5180         * paragraph.C:
5181         * paragraph_pimpl.h:
5182         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5183           in the current change to the insert functions. Rework erase to
5184           mark text as deleted, adding an eraseIntern() and a range-based
5185           erase(). Implement per-paragraph change lookup and
5186           accept/reject.
5187
5188         * paragraph_funcs.C: Fixup paste for change tracking.
5189
5190         * tabular.C: mark added row/columns as new.
5191
5192         * text.C: fix rowLast() to never return -1. Don't allow
5193           spellchecking of deleted text. Track transpose changes. Don't
5194           allow paragraph break or merge where appropriate.
5195
5196         * text2.C: leave cursor at end of selection after a cut.
5197
5198 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5199
5200         * text.C (getLengthMarkerHeight):
5201         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5202         visible on screen too.
5203
5204 2003-02-07  John Levon  <levon@movementarian.org>
5205
5206         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5207
5208 2003-02-05  Angus Leeming  <leeming@lyx.org>
5209
5210         * lyxserver.C (read_ready): revert my patch of 11 September last year
5211         as it sends PC cpu through the roof. Presumably this means that
5212         the lyxserver will no longer run on an Alpha...
5213
5214 2003-01-30  Angus Leeming  <leeming@lyx.org>
5215
5216         * factory.C (createInset): create an InsetCommandParam of type "index"
5217         and use it to 'do the right thing'.
5218
5219         * text2.C (getStringToIndex): ensure that cursor position is always
5220         reset to the reset_cursor position.
5221
5222 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5223
5224         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5225         disabled.
5226
5227 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5228
5229         * bufferview.C:
5230         * lyxcb.C:
5231         * lyxfunc.C: Output messages with identical spelling, punctuation,
5232         and spaces
5233
5234 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5235
5236         * MenuBackend.C (expandFormats): List only viewable export formats
5237         in "View" menu
5238
5239         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5240         message
5241
5242         * lyxfunc.C (getStatus): Make sure that formats other than
5243         "fax" can also be disabled
5244
5245 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5246
5247         * text3.C (dispatch): put the lfuns that insert insets in 3
5248         groups, and call doInsertInset with appropriate arguments.
5249         (doInsertInset): new function, that creates an inset and inserts
5250         it according to some boolean parameters.
5251
5252 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * buffer.C (readFile): remember to pass on 'par' when calling
5255         readFile recursively.
5256
5257 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5258
5259         * MenuBackend.C (expandFormats): add "..." to import formats.
5260
5261 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5262
5263         * paragraph.C (asString): Remove XForms RTL hacks.
5264
5265 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5266         * buffer.C: fix typo
5267
5268 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * Makefile.am (LIBS): delete var
5271         (lyx_LDADD): add @LIBS@ here instead.
5272
5273 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5274
5275         * Clarify the meaning of "wheel mouse jump"
5276
5277 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5278
5279         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5280         tabular in a float
5281
5282 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5283
5284         * importer.C (Loaders): do not preallocate 3 elements in the
5285         vector, since one ends up with 6 elements otherwise
5286
5287 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5288
5289         * DepTable.C (write): write the file name as last element of the
5290         .dep file (because it may contain spaces)
5291         (read): read info in the right order
5292
5293 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5294
5295         * paragraph_pimpl.C (simpleTeXBlanks):
5296         (simpleTeXSpecialChars):
5297         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5298
5299         * tabular.C (latex): add some missing case statements. Reindent.
5300
5301         * MenuBackend.C (expandToc): remove unused variable.
5302
5303 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5304
5305         * LColor.C:
5306         * LaTeX.C:
5307         * LyXAction.C:
5308         * MenuBackend.C:
5309         * buffer.C:
5310         * exporter.C:
5311         * lyxfunc.C:
5312         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5313         and the like.
5314
5315 2003-01-05  John Levon  <levon@movementarian.org>
5316
5317         * BufferView.h:
5318         * BufferView.C: add getEncoding()
5319
5320         * kbsequence.h:
5321         * kbsequence.C: do not store last keypress
5322
5323         * lyxfunc.h:
5324         * lyxfunc.C: store last keypress here instead. Pass encoding
5325           to getISOEncoded()
5326
5327 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5328
5329         * lyx_main.C (init): remove annoying error message when following
5330         symbolic links (bug #780)
5331
5332 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5333
5334         * text.C (insertChar):
5335         * lyxrc.C (getDescription): remove extra spaces
5336
5337 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5338
5339         * lyxrc.C (getDescription): remove extra spaces
5340
5341 2002-12-20  John Levon  <levon@movementarian.org>
5342
5343         * text3.C: hack fix for page up/down across tall rows
5344
5345 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5346
5347         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5348         not been invoked
5349
5350 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5351
5352         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5353         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5354         thesaurus is not compiled in
5355
5356 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5357
5358         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5359
5360 2002-12-16  Angus Leeming  <leeming@lyx.org>
5361
5362         * lyxrc.[Ch]:
5363         * lyx_main.C (init): remove override_x_deadkeys stuff.
5364
5365 2002-12-12  John Levon  <levon@movementarian.org>
5366
5367         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5368           insert. Only remove shift modifier under strict
5369           circumstances.
5370
5371 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5372
5373         * MenuBackend.C (expandToc): fix crash.
5374
5375 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * MenuBackend.C (expandToc): gettext on float names.
5378
5379 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5380
5381         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5382         implement bool empty() [bug 490]
5383
5384 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5387
5388 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * several files: ws changes
5391
5392 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * text2.C (setCounter): clean up a bit, use boost.format.
5395         (updateCounters): initialize par upon declaration.
5396
5397         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5398         if the layout exists. We do not just store the layout any more.
5399         (SwitchLayoutsBetweenClasses): use boost.format
5400
5401 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5402
5403         * converter.C (convert): if from and to files are the same, use a
5404         temporary files as intermediary
5405
5406 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5407
5408         * commandtags.h:
5409         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5410
5411 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5412
5413         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5414
5415 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * tabular.C (asciiPrintCell): use string(size, char) instead of
5418         explicit loop.
5419
5420         * sgml.C (openTag): fix order of arguments to string constructor
5421         (closeTag): ditto
5422
5423         * lyxfunc.C (dispatch): use boost.format
5424
5425         * lots of files: change "c" -> 'c'
5426
5427 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5428
5429         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5430
5431 2002-11-25  Angus Leeming  <leeming@lyx.org>
5432
5433         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5434
5435         * lyx_main.C (init): compile fix.
5436
5437 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * lyx_cb.C (start): boost.formatify
5440         do not include <iostream>
5441
5442         * lengthcommon.C: ws only
5443
5444         * boost-inst.C,BoostFormat.h: add more explict instantations
5445
5446 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * lots of files: handle USE_BOOST_FORMAT
5449
5450 2002-11-21  John Levon  <levon@movementarian.org>
5451
5452         * pspell.C: fix compile
5453
5454 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5455
5456         * lyxfunc.C (dispatch): use boost::format
5457         (open): ditto
5458         (doImport): ditto
5459
5460         * lyxfont.C (stateText): use boost::format
5461
5462         * lyx_main.C (LyX): use boost::format
5463         (init): ditto
5464         (queryUserLyXDir): ditto
5465         (readRcFile): ditto
5466         (parse_dbg): ditto
5467         (typedef boost::function): use the recommened syntax.
5468
5469         * importer.C (Import): use boost::format
5470
5471         * debug.C (showLevel): use boost::format
5472
5473         * converter.C (view): use boost::format
5474         (convert): ditto
5475         (move): ditto
5476         (scanLog): ditto
5477
5478         * bufferview_funcs.C (currentState): use boost::format
5479
5480         * bufferlist.C (emergencyWrite): use boost::format
5481
5482         * buffer.C (readLyXformat2): use boost::format
5483         (parseSingleLyXformat2Token): ditto
5484
5485         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5486
5487         * LaTeX.C (run): use boost::format
5488
5489         * Chktex.C (scanLogFile): use boost::format
5490
5491         * BufferView_pimpl.C (savePosition): use boost::format
5492         (restorePosition): ditto
5493         (MenuInsertLyXFile): ditto
5494
5495         * BoostFormat.h: help file for explicit instation.
5496
5497 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5498
5499         * tabular.C (latex): Support for block alignment in fixed width
5500         columns.
5501
5502 2002-11-17  John Levon  <levon@movementarian.org>
5503
5504         * BufferView_pimpl.C:
5505         * lyx_cb.C:
5506         * lyxfunc.C: split filedialog into open/save
5507
5508 2002-11-08  Juergen Vigna  <jug@sad.it>
5509
5510         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5511         by my last patch (hopefully).
5512
5513 2002-11-08  John Levon  <levon@movementarian.org>
5514
5515         * iterators.h:
5516         * iterators.C:
5517         * buffer.h:
5518         * buffer.C:
5519         * paragraph.h:
5520         * paragraph.C:
5521         * toc.h:
5522         * toc.C: ParConstIterator, and use it (from Lars)
5523
5524 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5525
5526         * lyxtextclass.[Ch]: revise and add doxygen comments
5527
5528 2002-11-07  John Levon  <levon@movementarian.org>
5529
5530         * text.C: fix progress value for spellchecker
5531
5532         * toc.C: fix navigate menu for insetwrap inside minipage
5533
5534         * paragraph_funcs.C: added FIXME for suspect code
5535
5536 2002-11-07  John Levon  <levon@movementarian.org>
5537
5538         * BufferView_pimpl.C: fix redrawing of insets
5539           on buffer switch
5540
5541 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5542
5543         * text2.C (updateCounters): fix bug 668
5544
5545 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5546
5547         * text3.C (dispatch): Do not make the buffer dirty when moving the
5548         cursor.
5549
5550 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * vc-backend.C: STRCONV
5553         (scanMaster): ditto
5554
5555         * text2.C (setCounter): STRCONV
5556
5557         * paragraph.C (asString): STRCONV
5558
5559         * lyxlength.C (asString): STRCONV
5560         (asLatexString): ditto
5561
5562         * lyxgluelength.C (asString): STRCONV
5563         (asLatexString): ditto
5564
5565         * lyxfunc.C (dispatch): STRCONV
5566         (open): ditto
5567
5568         * lyxfont.C (stateText): STRCONV
5569
5570         * importer.C (Import): STRCONV
5571
5572         * counters.C (labelItem): STRCONV
5573         (numberLabel): ditto
5574         (numberLabel): remove unused ostringstream o
5575
5576         * chset.C: STRCONV
5577         (loadFile): ditto
5578
5579         * bufferview_funcs.C (currentState): STRCONV
5580
5581         * buffer.C (readFile): STRCONV
5582         (asciiParagraph): ditto
5583         (makeLaTeXFile): ditto
5584
5585         * Spacing.C (writeEnvirBegin): STRCONV
5586
5587         * LaTeXFeatures.C (getLanguages): STRCONV
5588         (getPackages): ditto
5589         (getMacros): ditto
5590         (getBabelOptions): ditto
5591         (getTClassPreamble): ditto
5592         (getLyXSGMLEntities): ditto
5593         (getIncludedFiles): ditto
5594
5595         * LaTeX.C: STRCONV
5596         (run): ditto
5597         (scanAuxFile): ditto
5598         (deplog): ditto
5599
5600         * LString.h: add the STRCONV macros
5601
5602         * BufferView_pimpl.C (savePosition): STRCONV
5603         (restorePosition): ditto
5604         (MenuInsertLyXFile): ditto
5605
5606         * vc-backend.C (scanMaster): change from submatch[...] to
5607         submatch.str(...)
5608
5609         * funcrequest.C: include config.h
5610
5611         * factory.C: include config.h
5612
5613         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5614
5615         * box.C: include config.h
5616
5617         * LaTeX.C (scanAuxFile): change from submatch[...] to
5618         submatch.str(...)
5619         (deplog): ditto
5620
5621 2002-10-25  Angus Leeming  <leeming@lyx.org>
5622
5623         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5624
5625         * ispell.[Ch] (setError): new method.
5626         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5627         Use setError() insetead of goto END.
5628
5629         * lyx_cb.C (AutoSave): move out child process into new class
5630         AutoSaveBuffer.
5631
5632 2002-10-30  John Levon  <levon@movementarian.org>
5633
5634         * text3.C: make start appendix undoable
5635
5636 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5637
5638         * lyxlength.C (inPixels): Fix returned value.
5639
5640         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5641         environment.
5642
5643 2002-10-24  Angus Leeming  <leeming@lyx.org>
5644
5645         * lyxgluelength.h: no need to forward declare BufferParams
5646         or BufferView, so don't.
5647
5648 2002-10-21  John Levon  <levon@movementarian.org>
5649
5650         * BufferView.C: menuUndo ->undo, redo
5651
5652         * BufferView.h: document, remove dead, make some methods private
5653
5654         * paragraph_funcs.h:
5655         * paragraph_funcs.C:
5656         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5657
5658         * buffer.h:
5659         * buffer.C:
5660         * sgml.h:
5661         * sgml.C: move sgml open/close tag into sgml.C
5662
5663         * bufferview_funcs.h: unused prototype
5664
5665         * lyxfunc.h:
5666         * lyxfunc.C: remove unused
5667
5668         * lyxtext.h:
5669         * text.C: remove unused
5670
5671 2002-10-21  John Levon  <levon@movementarian.org>
5672
5673         * BufferView.h:
5674         * BufferView.C:
5675         * BufferView_pimpl.h:
5676         * BufferView_pimpl.C: fix mouse wheel handling based on
5677           patch from Darren Freeman
5678
5679 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5680
5681         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5682
5683 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5684
5685         * lyxlength.C (inPixels): Fix hanfling of negative length.
5686         Fix LyXLength::MU case.
5687
5688 2002-10-16  John Levon  <levon@movementarian.org>
5689
5690         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5691
5692 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5693
5694         * converter.C (view): add support for $$i (file name) and $$p
5695         (file path) for the viewer command. If $$i is not specified, then
5696         it is appended to the command (for compatibility with old syntax)
5697
5698 2002-10-14  Juergen Vigna  <jug@sad.it>
5699
5700         * undo_funcs.C (textHandleUndo): alter the order in which the
5701         new undopar is added to the LyXText, as we have to set first
5702         the right prev/next and then add it as otherwise the rebuild of
5703         LyXText is not correct. Also reset the cursor to the right paragraph,
5704         with this IMO we could remove the hack in "redoParagraphs()".
5705
5706 2002-10-09  Angus Leeming  <leeming@lyx.org>
5707
5708         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5709         to turn off an optimisation if a new inset is to be inserted.
5710
5711 2002-10-11 André Pönitz <poenitz@gmx.net>
5712
5713         * lyxtext.h: make some functions public to allow access
5714         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5715
5716 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5717
5718         * text3.C (dispatch): when changing layout, avoid an infinite loop
5719         [bug #652]
5720
5721 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5722
5723         * lyxrc.C (read): treat a viewer or converter command of "none" as
5724         if it were empty.
5725
5726         * MenuBackend.C (expandFormats): for an update, also allow the
5727         formats that are not viewable
5728
5729         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5730         script if it is newer than the lyxrc.defaults in user directory
5731
5732 2002-10-07 André Pönitz <poenitz@gmx.net>
5733
5734         * text.C: Vitaly Lipatov's small i18n fix
5735
5736 2002-09-25  Angus Leeming  <leeming@lyx.org>
5737
5738         * ispell.h: doxygen fix.
5739
5740 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5741
5742         * buffer.h (readFile): Add a new argument to the method, to allow
5743         reading of old-format templates.
5744
5745 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5746
5747         * toc.C (getTocList): Get TOC from InsetWrap.
5748
5749 2002-09-16  John Levon  <levon@movementarian.org>
5750
5751         * lyxfunc.C: check tabular for cut/copy too
5752
5753 2002-09-12  John Levon  <levon@movementarian.org>
5754
5755         * LyXAction.C: tidy
5756
5757         * factory.h:
5758         * factory.C: add header
5759
5760         * paragraph_funcs.h:
5761         * paragraph_funcs.C: cleanup
5762
5763 2002-09-11  John Levon  <levon@movementarian.org>
5764
5765         * PrinterParams.h: odd/even default to true
5766
5767 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5768
5769         * PrinterParams.h: update printer parameters for new xforms dialog
5770
5771 2002-09-11  Angus Leeming  <leeming@lyx.org>
5772
5773         * lyxserver.C (read_ready): re-write to make it more transparent
5774         and to make it work in coherent fashion under Tru64 Unix.
5775
5776 2002-09-11  André Pönitz <poenitz@gmx.net>
5777
5778         * commandtags.h:
5779         * LyXAction.C:
5780         * text3.C: implement LFUN_WORDSEL
5781
5782 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5785         make floatlist_ a boost::shared_ptr<FloatList>
5786
5787         * lyxtextclass.C: include FloatList.h
5788         (LyXTextClass): initialize floatlist_
5789         (TextClassTags): add TC_NOFLOAT
5790         (Read): match "nofloat" to TC_NOFLOAT and use it.
5791         (readFloat): modify call to floatlist_
5792         (floats): ditto
5793         (floats): ditto
5794
5795         * FloatList.[Ch] (FloatList): remove commented out float
5796         initialization.
5797         (erase): new function
5798
5799 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5800
5801         * MenuBackend.C (expandToc): fix crash when there is no document
5802         open
5803
5804 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5805
5806         * many files: Add insetwrap.
5807
5808 2002-09-09  John Levon  <levon@movementarian.org>
5809
5810         * text2.C: remove confusing and awkward depth wraparound
5811
5812 2002-09-09  John Levon  <levon@movementarian.org>
5813
5814         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5815
5816         * buffer.h:
5817         * buffer.C: remove getIncludeonlyList()
5818
5819         * paragraph.C:
5820         * lyxfunc.C: remove headers
5821
5822 2002-09-09  Juergen Vigna  <jug@sad.it>
5823
5824         * text.C (getColumnNearX): fix form Michael this is most
5825         probably a cut&paste bug.
5826
5827 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5828
5829         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5830
5831         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5832         references, ws changes.
5833
5834         * text2.C (init): update counters after init
5835         (insertParagraph): no need to set counter on idividual paragraphs.
5836         (setCounter): access the counters object in the textclass object
5837         on in the buffer object.
5838         (updateCounters): ditto
5839
5840         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5841         shared_ptr<Counters> to avoid loading counters.h in all
5842         compilation units.
5843         (LyXTextClass): initialize ctrs_
5844         (TextClassTags): add TC_COUNTER, and ...
5845         (Read): use it here.
5846         (CounterTags): new tags
5847         (readCounter): new function
5848         (counters): new funtion
5849         (defaultLayoutName): return a const reference
5850
5851         * counters.C (Counters): remove contructor
5852         (newCounter): remove a couple of unneeded statements.
5853         (newCounter): simplify a bit.
5854         (numberLabel): some small formatting changes.
5855
5856         * buffer.[Ch]: remove all traces of counters, move the Counters
5857         object to the LyXTextClass.
5858
5859 2002-09-06  Alain Castera  <castera@in2p3.fr>
5860
5861         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5862         package to set the horizontal alignment on fixed width columns.
5863
5864         * lyx_sty.C:
5865         * lyx_sty.h: added tabularnewline macro def.
5866
5867         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5868
5869 2002-09-06  John Levon  <levon@movementarian.org>
5870
5871         * LyXAction.C: tooltips for sub/superscript
5872
5873         * MenuBackend.C: a bit more verbose
5874
5875         * lyxfunc.C: tiny clean
5876
5877         * undo_funcs.C: document undo_frozen
5878
5879 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880
5881         * counters.C (Counters): add missing algorithm counter.
5882
5883         * text2.C (setCounter): lookup the counter with layouts latexname
5884         instead of by section number.
5885         (setCounter): use a hackish way to lookup the correct enum
5886         counter.
5887         a float name->type change
5888         reset enum couners with counter name directly instead of depth value.
5889
5890         * counters.C (Counters): remove the push_backs, change to use the
5891         float type not the float name.
5892         (labelItem): remove unused string, float name->type change
5893
5894         * counters.h: don't include vector, loose the enums and sects vectors
5895
5896 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5899         (Read): add float->TC_FLOAT to textclassTags
5900         (Read): and handle it in the switch
5901         (readFloat): new function
5902
5903         * FloatList.C (FloatList): comment out the hardcoded float
5904         definitions.
5905
5906         * lyxlayout.h: ws change.
5907
5908 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5909
5910         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5911
5912 2002-09-03  Angus Leeming  <leeming@lyx.org>
5913
5914         * BufferView_pimpl.h: qualified name is not allowed in member
5915         declaration: WorkArea & Pimpl::workarea() const;
5916
5917         * factory.C: added using std::endl directive.
5918
5919         * text3.C: added using std::find and std::vector directives.
5920
5921 2002-08-29  André Pönitz <poenitz@gmx.net>
5922
5923         * lyxtext.h:
5924         * text2.C: remove unused member number_of_rows
5925
5926         * Makefile.am:
5927         * BufferView2.C: remove file, move contents to...
5928         * BufferView.C: ... here
5929
5930         * BufferView_pimpl.C:
5931         * factory.C: move more inset creation to factory
5932
5933         * vspace.C: avoid direct usage of LyXText, ws changes
5934
5935         * BufferView.[Ch]:
5936                 don't provide direct access to WorkArea, use two simple
5937                 acessors haveSelction() and workHeight() instead
5938
5939
5940 2002-08-29  John Levon  <levon@movementarian.org>
5941
5942         * BufferView_pimpl.C (dispatch): do not continue when
5943           no buffer
5944
5945 2002-08-28  André Pönitz <poenitz@gmx.net>
5946
5947         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5948
5949         * BufferView.h:
5950         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5951
5952 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5953
5954         * buffer.C: increment LYX_FORMAT to 221
5955
5956         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5957         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5958
5959         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5960
5961         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5962
5963 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5964
5965         * factory.C (createInset): use LyXTextClass::floats
5966
5967         * MenuBackend.C (expandFloatListInsert):
5968         (expandFloatInsert):
5969         (expandToc):
5970
5971         * text2.C (setCounter):
5972
5973         * LaTeXFeatures.C (useFloat):
5974         (getFloatDefinitions):
5975
5976         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5977
5978         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5979         floatlist_, with accessor floats().
5980
5981         * FloatList.h: remove global FloatList
5982
5983 2002-08-26  André Pönitz <poenitz@gmx.net>
5984
5985         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5986
5987         * BufferView.h:
5988         * BufferView2.C:
5989         * BufferView_pimpl.C:
5990         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5991
5992 2002-08-25  John Levon  <levon@movementarian.org>
5993
5994         * LyXAction.C: fix margin note description
5995
5996 2002-08-24  John Levon  <levon@movementarian.org>
5997
5998         * buffer.C:
5999         * bufferlist.C:
6000         * bufferview_funcs.C:
6001         * lyxfont.C:
6002         * undo_funcs.C: cleanups
6003
6004         * lyxfunc.C: disable CUT/COPY when no selection
6005
6006 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6007
6008         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6009         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6010
6011         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6012         Add backward compatibility to "mono", "gray" and "no".
6013
6014 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6015
6016         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6017         (and file_format >= 200).
6018
6019 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6020
6021         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6022
6023 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6024
6025         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6026
6027 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6028
6029         * BufferView_pimpl.C:
6030         * LyXAction.C:
6031         * buffer.C:
6032         * commandtags.h:
6033         * lyxfunc.C:
6034         * paragraph.[Ch]:
6035         * text2.C:
6036         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6037         inset and code to make it  work with the paragraph code. The inset
6038         can be anywhere in the paragraph, but will only do the expected
6039         thing in LaTeX if the layout file contains the parameter line
6040                         OptionalArgs    1
6041         (or more generally, a nonzero value) for that layout.
6042
6043 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * paragraph.h: remove the declaration of undefined counters class
6046         function.
6047
6048 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6049
6050         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6051         Dr. Richard Hawkins.
6052
6053 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6054
6055         * paragraph_funcs.h: remove some unneeded includes
6056
6057         * text.C (backspace): pasteParagraph now in global scipe
6058
6059         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6060         (pasteSelection): ditto
6061
6062         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6063         * paragraph_funcs.C (pasteParagraph): ... here
6064
6065 2002-08-20  André Pönitz <poenitz@gmx.net>
6066
6067         * commandtags.h: new LFUNs for swapping/copying table row/colums
6068
6069         * LyXAction.C:
6070         * lyxfunc.C: support for new lfuns
6071
6072 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * tabular.C:
6075         * buffer.[Ch]: remove NO_COMPABILITY stuff
6076
6077 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6078
6079         * boost.C (throw_exception): new file, with helper function for
6080         boost compiled without exceptions.
6081
6082         * paragraph.h:
6083         * lyxlength.C:
6084         * buffer.C:
6085         * ParameterStruct.h:
6086         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6087
6088         * bufferlist.C (emergencyWriteAll): use boost bind
6089
6090         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6091
6092         * text.C: include paragraph_funcs.h
6093         (breakParagraph): breakParagraph is now in global scope
6094
6095         * paragraph_funcs.[Ch]: new files
6096
6097         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6098         global scope
6099
6100         * buffer.C: include paragraph_funcs.h
6101         (insertStringAsLines): breakParagraph is now in global scope
6102
6103         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6104         paragraph_funcs.C
6105
6106         * CutAndPaste.C: include paragraph_funcs.h
6107         (cutSelection): breakParagraphConservative is now in global scope
6108         (pasteSelection): ditto
6109
6110         * buffer.h: declare oprator== and operator!= for
6111         Buffer::inset_iterator
6112
6113         * bufferlist.C (emergencyWrite): don't use fmt(...)
6114
6115         * text3.C: add using std::endl
6116
6117         * BufferView.C (moveCursorUpdate): remove default arg
6118
6119 2002-08-20  André Pönitz <poenitz@gmx.net>
6120
6121         * buffer.[Ch]: move inline functions to .C
6122
6123         * BufferView2.C:
6124         * BufferView_pimpl.C:
6125         * text.C:
6126         * buffer.[Ch]: use improved inset_iterator
6127
6128         * buffer.C:
6129         * paragraph.[Ch]: write one paragraph at a time
6130
6131 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6132
6133         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6134         style if style is not specified.
6135
6136 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6137
6138         * text2.C (setCounter): when searching for right label for a
6139         caption, make sure to recurse to parent insets (so that a caption
6140         in a minipage in a figure float works) (bug #568)
6141
6142 2002-08-20  André Pönitz <poenitz@gmx.net>
6143
6144         * text3.C: new file for LyXText::dispatch() and helpers
6145
6146         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6147
6148         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6149
6150 2002-08-19  André Pönitz <poenitz@gmx.net>
6151
6152         * lyxtext.h:
6153         * text.C: new LyXText::dispatch()
6154
6155         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6156
6157 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6158
6159         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6160
6161         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6162         Hebrew text.
6163
6164 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6165
6166         * Makefile.am: use $(variables) instead of @substitutions@
6167
6168 2002-08-15  André Pönitz <poenitz@gmx.net>
6169
6170         * lyxfunc.C:
6171         * BufferView_pimpl.C: streamlining mathed <-> outer world
6172         interaction
6173
6174         * commandtags.h:
6175         * LyXAction.C: remove unused LFUN_MATH
6176
6177 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6180
6181 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * paragraph.C (Paragraph): reformat a bit
6184         (cutIntoMinibuffer): use builtin InsetList function instad of
6185         doing it manually.
6186         (getInset): ditto
6187
6188         * buffer.C: include boost/bind.hpp, add using std::for_each
6189         (writeFileAscii): use ParagraphList iterators
6190         (validate): use for_each for validate traversal of paragraphs
6191         (getBibkeyList): use ParagraphList iterators
6192         (resizeInsets): use for_each to resizeInsetsLyXText for all
6193         paragraphs.
6194         (getParFromID): use ParagraphList iterators
6195
6196         * BufferView2.C (lockInset): use paragraph list and iterators
6197
6198 2002-08-14  John Levon  <levon@movementarian.org>
6199
6200         * lyxserver.C: remove spurious xforms include
6201
6202 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6203
6204         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6205
6206 2002-08-13  André Pönitz <poenitz@gmx.net>
6207
6208         * LyXAction.[Ch]:
6209         * lyxfunc.C: further cleaning
6210
6211 2002-08-13  André Pönitz <poenitz@gmx.net>
6212
6213         * funcrequest.h: new constructor
6214
6215         * funcrequest.C: move stuff here from .h
6216
6217         * Makefile.am:
6218         * BufferView_pimpl.C:
6219         * LyXAction.C:
6220         * toc.C:
6221         * lyxfunc.C: subsequent changes
6222
6223         * lyxfunc.h: new view() member function
6224
6225         * lyxfunc.C: subsequent changes
6226
6227 2002-08-13  Angus Leeming  <leeming@lyx.org>
6228
6229         * BufferView2.C:
6230         * BufferView_pimpl.C:
6231         * buffer.C:
6232         * converter.C:
6233         * importer.C:
6234         * lyxfunc.C:
6235         * lyxvc.C:
6236         * toc.C:
6237         * vc-backend.C:
6238         changes due to the changed LyXView interface that now returns references
6239         to member variables not pointers.
6240
6241 2002-08-13  Angus Leeming  <leeming@lyx.org>
6242
6243         * WordLangTuple (word, lang_code): return references to strings,
6244         not strings.
6245
6246         * BufferView.h:
6247         * SpellBase.h:
6248         * lyxtext.h: forward-declare WordLangTuple.
6249
6250         * BufferView2.C:
6251         * ispell.C:
6252         * pspell.C:
6253         * text.C: #include "WordLangTuple.h".
6254
6255         * lyxtext.h:
6256         * text.C: (selectNextWordToSpellcheck): constify return type.
6257
6258 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6259
6260         * buffer.C:
6261         * buffer.h:
6262         * lyxtext.h:
6263         * paragraph.C:
6264         * paragraph_pimpl.h:
6265         * text.C:
6266         * text2.C:
6267         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6268         suggested by Angus.
6269         Made updateCounter always count from start of buffer, and removed
6270         second argument (par).
6271         Reverted floats number display to '#'. Perhaps I'll try again when the
6272         code base is sanitized a bit.
6273
6274 2002-08-12  Angus Leeming  <leeming@lyx.org>
6275
6276         * buffer.[Ch] (getLabelList): constify.
6277
6278 2002-08-07  André Pönitz <poenitz@gmx.net>
6279
6280         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6281
6282         * funcrequest.h: extension to keep mouse (x,y) position
6283
6284 2002-08-12  Juergen Vigna  <jug@sad.it>
6285
6286         * BufferView2.C (insertErrors): forbid undo when inserting error
6287         insets.
6288
6289         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6290
6291 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * ParagraphList.[Ch]: new files
6294
6295         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6296
6297         * BufferView2.C (lockInset): ParagraphList changes
6298         * toc.C: ditto
6299         * text2.C: ditto
6300         * bufferlist.C: ditto
6301         * buffer.h: ditto
6302         * buffer.C: ditto
6303
6304 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6307         unused class variable counter_,
6308
6309         * paragraph.[Ch] (getFirstCounter): delete unused function
6310
6311         * counters.C: include LAssert.h
6312         (reset): add a new function with no arg, change other version to
6313         not have def. arg and to not allow empty arg.
6314
6315         * text2.C (setCounter): remove empty arg from call to Counters::reset
6316
6317 2002-08-11  John Levon  <levon@movementarian.org>
6318
6319         * Makefile.am: add WordLangTuple.h
6320
6321 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6324         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6325
6326         * insets/insettext.C: InsetList changes
6327
6328         * graphics/GraphicsSupport.C (operator()): InsetList changes
6329
6330         * toc.C (getTocList): InsetList changes
6331
6332         * paragraph_pimpl.[Ch]: InsetList changes
6333
6334         * paragraph.[Ch]: InsetList changes
6335
6336         * buffer.C (inset_iterator): InsetList changes
6337         (setParagraph): ditto
6338         * buffer.h (inset_iterator): ditto
6339         * iterators.C (operator++): ditto
6340         * iterators.h: ditto
6341
6342         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6343
6344         * InsetList.[Ch]: new files, most InsetList handling moved out of
6345         paragraph.C.
6346
6347         * BufferView2.C (removeAutoInsets): InsetList changes
6348         (lockInset): ditto
6349         (ChangeInsets): ditto
6350
6351 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * paragraph_pimpl.h (empty): new function
6354
6355         * paragraph.[Ch] (empty): new function
6356
6357         * other files: use the new Paragraph::empty function
6358
6359 2002-08-09  John Levon  <levon@movementarian.org>
6360
6361         * lyxtext.h: remove unused refresh_height
6362
6363 2002-08-09  John Levon  <levon@movementarian.org>
6364
6365         * Makefile.am:
6366         * sgml.h:
6367         * sgml.C:
6368         * buffer.C:
6369         * paragraph.h:
6370         * paragraph.C: move sgml char escaping out of paragraph
6371
6372         * paragraph.h:
6373         * paragraph.C: remove id setter
6374
6375         * buffer.C:
6376         * paragraph.C:
6377         * paragraph_pimpl.C: remove dead tex_code_break_column
6378
6379         * bufferview_funcs.C: small cleanup
6380
6381         * lyxfunc.C: remove dead proto
6382
6383         * lyxtext.h: make some stuff private. Remove some dead stuff.
6384
6385         * lyxgluelength.C: make as[LyX]String() readable
6386
6387 2002-08-08  John Levon  <levon@movementarian.org>
6388
6389         * LyXAction.h:
6390         * LyXAction.C:
6391         * MenuBackend.C:
6392         * ToolbarDefaults.C:
6393         * lyxfunc.C:
6394         * lyxrc.C:
6395         * toc.C: lyxaction cleanup
6396
6397 2002-08-08  John Levon  <levon@movementarian.org>
6398
6399         * BufferView2.C: small cleanup
6400
6401         * lyxfind.h:
6402         * lyxfind.C: move unnecessary header into the .C
6403
6404 2002-08-08  John Levon  <levon@movementarian.org>
6405
6406         * funcrequest.h: just tedious nonsense
6407
6408         * lyx_main.h:
6409         * lyx_main.C: cleanups
6410
6411         * buffer.C:
6412         * vspace.C: remove dead header lyx_main.h
6413
6414 2002-08-07  Angus Leeming  <leeming@lyx.org>
6415
6416         * Paragraph.[Ch]:
6417         * paragraph_pimpl.h:
6418         Forward declare class Counters in paragraph.h by moving the ctrs member
6419         variable into Paragraph::Pimpl.
6420         (counters): new method, returning a reference to pimpl_->ctrs.
6421
6422         * text2.C: ensuing changes.
6423
6424 2002-08-07  John Levon  <levon@movementarian.org>
6425
6426         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6427
6428         * BufferView_pimpl.C: announce X selection on double/triple
6429           click
6430
6431         * lyx_main.C: use correct bool in batch dispatch
6432
6433         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6434
6435 2002-08-07  André Pönitz <poenitz@gmx.net>
6436
6437         * funcrequest.h: new class to wrap a kb_action and its argument
6438
6439         * BufferView.[Ch]:
6440         * BufferView_pimpl[Ch]:
6441         * LaTeX.C:
6442         * LyXAction.[Ch]:
6443         * lyxfunc.[Ch]:
6444         * lyxrc.C: subsequent changes
6445
6446
6447 2002-08-07  John Levon  <levon@movementarian.org>
6448
6449         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6450           document options change.
6451
6452 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6453
6454         * counters.[Ch]
6455         * text2.C
6456         * paragraph.[Ch]
6457         * makefile.am: move counters functionality over from
6458         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6459
6460 2002-08-06  John Levon  <levon@movementarian.org>
6461
6462         * WordLangTuple.h: new file for word + language code tuple
6463
6464         * SpellBase.h:
6465         * pspell.h:
6466         * pspell.C:
6467         * ispell.h:
6468         * ispell.C:
6469         * lyxtext.h:
6470         * text.C:
6471         * text2.C:
6472         * BufferView.h:
6473         * BufferView2.C: use WordLangTuple
6474
6475         * layout.h:
6476         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6477
6478 2002-08-06  John Levon  <levon@movementarian.org>
6479
6480         * lyx_main.C: fix cmdline batch handling
6481
6482 2002-08-06  André Pönitz <poenitz@gmx.net>
6483
6484         * lyxrc.C: set default for show_banner to true
6485
6486 2002-08-06  John Levon  <levon@movementarian.org>
6487
6488         * pspell.C: fix a crash, and allow new aspell to work
6489
6490 2002-08-06  John Levon  <levon@movementarian.org>
6491
6492         * lyxfunc.C:
6493         * kbmap.C: small cleanup
6494
6495         * vspace.h:
6496         * vspace.C: add const
6497
6498 2002-08-05  John Levon  <levon@movementarian.org>
6499
6500         * LyXAction.C: back to tabular-insert
6501
6502 2002-08-04  John Levon  <levon@movementarian.org>
6503
6504         * BufferView.h:
6505         * BufferView.C: cosmetic change
6506
6507         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6508
6509         * bufferlist.C:
6510         * buffer.h:
6511         * buffer.C:
6512         * lyxcb.h:
6513         * lyxcb.C:
6514         * lyxserver.C:
6515         * lyxvc.C:
6516         * vc-backend.C:
6517         * BufferView2.C: purge all "Lyx" not "LyX" strings
6518
6519         * lyxcursor.h:
6520         * lyxcursor.C: attempt to add some documentation
6521
6522         * lyxfunc.C:
6523         * commandtags.h:
6524         * LyXAction.C:
6525         * ToolbarDefaults.C:
6526         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6527           merge with LFUN_TABULAR_INSERT
6528
6529         * Makefile.am:
6530         * SpellBase.h:
6531         * ispell.h:
6532         * ispell.C:
6533         * pspell.h:
6534         * pspell.C: split up i/pspell implementations into separate
6535           files, many cleanups
6536
6537         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6538
6539         * text2.C: some cleanup
6540
6541         * lyxfunc.C: don't check for isp_command == "none" any more, it
6542           didn't make any sense
6543
6544 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6545
6546         * counters.[Ch]
6547         * text2.C
6548         * paragraph.[Ch]
6549         * makefile.am: move counters functionality over
6550         from text2.C/paragraph.[Ch] to counters.[Ch], and
6551         make proper C++.
6552 2002-08-02  John Levon  <levon@movementarian.org>
6553
6554         * buffer.C: s/lyxconvert/lyx2lyx/
6555
6556 2002-08-02  Angus Leeming  <leeming@lyx.org>
6557
6558         * lyxlex.C: revert John's change as it breaks reading of the user
6559         preamble.
6560
6561 2002-08-02  Angus Leeming  <leeming@lyx.org>
6562
6563         * importer.C (Import):
6564         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6565         changes due to LyXView::view() now returning a boost::shared_ptr.
6566
6567 2002-08-02  John Levon  <levon@movementarian.org>
6568
6569         * lyxlex.C: small cleanup
6570
6571 2002-08-02  John Levon  <levon@movementarian.org>
6572
6573         * text2.C (status): small cleanup, no logic change
6574
6575 2002-08-01  John Levon  <levon@movementarian.org>
6576
6577         * buffer.h:
6578         * buffer.C (writeFile): don't output alerts, caller
6579           handles this
6580
6581         * bufferlist.C:
6582         * lyx_cb.C: from above
6583
6584         * lyxfunc.C: allow to open non-existent files
6585
6586 2002-07-31  John Levon  <levon@movementarian.org>
6587
6588         * lyxserver.C: don't let incidental errors get
6589           in the way (errno)
6590
6591 2002-07-30  John Levon  <levon@movementarian.org>
6592
6593         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6594
6595 2002-07-30  John Levon  <levon@movementarian.org>
6596
6597         * lyxserver.h:
6598         * lyxserver.C: remove I/O callback too
6599
6600 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6601
6602         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6603         log.
6604
6605 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * many files: strip,frontStrip -> trim,ltrim,rtrim
6608
6609 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6610
6611         * PrinterParams.h: remove extern containsOnly, and include
6612         support/lstrings.h instead.
6613
6614         * LaTeX.C (scanAuxFile): modify because of strip changes
6615         (deplog): ditto
6616         * buffer.C (makeLaTeXFile): ditto
6617         * bufferparams.C (writeFile): ditt
6618         * lyxfont.C (stateText): ditto
6619         * lyxserver.C (read_ready): ditto
6620         * vc-backend.C (scanMaster): ditto
6621
6622         * BufferView_pimpl.h: ws changes
6623
6624         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6625
6626 2002-07-26  André Pönitz <poenitz@gmx.net>
6627
6628         * kb_sequence.C: remove unnedred usings
6629
6630 2002-07-26  Juergen Vigna  <jug@sad.it>
6631
6632         * lyxfind.C (LyXReplace): we have to check better if the returned
6633         text is not of theLockingInset()->getLockingInset().
6634
6635 2002-07-25  Juergen Vigna  <jug@sad.it>
6636
6637         * lyxfind.C (LyXReplace): don't replace if we don't get the
6638         right LyXText.
6639
6640         * undo_funcs.C (createUndo): remove debugging code.
6641
6642 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6643
6644         * buffer.C (parseSingleLyXformat2Token): Use default placement
6645         when reading old floats.
6646
6647         * FloatList.C (FloatList): Change the default placement of figure
6648         and tables to "tbp".
6649
6650 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6651
6652         * MenuBackend.C: using std::max
6653
6654 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6655
6656         * MenuBackend.C (expandToc):
6657         (expandToc2): code moved from xforms menu frontend. It is now
6658         generic and TOCs are transparent to menu frontends.
6659
6660 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6661
6662         * toc.C (getTocList): protect against buf=0
6663
6664         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6665         Menu as first parameter. Now, this calls itself recursively to
6666         expand a whole tree (this will be useful for TOC handling)
6667         (expandFloatInsert): remove 'wide' version of floats
6668
6669         * MenuBackend.h (submenuname): returns the name of the submenu.
6670         (submenu): returns the submenu itself, provided it has been
6671         created by MenuBackend::expand
6672
6673 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6674
6675         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6676         insets which have noFontChange == true. (bug #172)
6677
6678 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6679
6680         * BufferView_pimpl.C: add connection objects and use them...
6681         (Pimpl): here.
6682
6683 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6684
6685         * MenuBackend.C (expandLastfiles):
6686         (expandDocuments):
6687         (expandFormats):
6688         (expandFloatListInsert):
6689         (expandFloatInsert):
6690         (expand): split expand in parts
6691
6692 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6693
6694         * lyx_gui.C: use lyx_gui::exit()
6695
6696 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6697
6698         * LyXAction.C: show the failing pseudo action
6699
6700 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6701
6702         * buffer.C (readFile): Run the lyxconvert script in order to read
6703         old files.
6704
6705 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6706
6707         * LyXAction.C:
6708         * commandtags.h:
6709         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6710
6711 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6712
6713         * LyXAction.C:
6714         * commandtags.h:
6715         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6716
6717 2002-07-22  Herbert Voss  <voss@lyx.org>
6718
6719         * lengthcommon.C:
6720         * lyxlength.[Ch]: add support for the vertical lengths
6721
6722 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6723
6724         * toc.[Ch]: std:: fixes
6725
6726 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6727
6728         * lyxrc.C: do not include lyx_main.h
6729
6730         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6731         for layouts
6732
6733         * lyxrc.C:
6734         * encoding.C:
6735         * bufferlist.C:
6736         * BufferView2.C: include "lyxlex.h"
6737
6738         * tabular.h:
6739         * bufferparams.h: do not #include "lyxlex.h"
6740
6741         * lyxtextclasslist.C (Add): remove method
6742         (classlist): renamed to classlist_
6743
6744         * paragraph_pimpl.C:
6745         * paragraph.C:
6746         * text2.C:
6747         * CutAndPaste.C:
6748         * bufferview_funcs.C:
6749         * bufferlist.C:
6750         * text.C:
6751         * LaTeXFeatures.C:
6752         * buffer.C:
6753         * toc.C (getTocList): use BufferParams::getLyXTextClass
6754
6755         * toc.C (getTocList): use InsetFloat::addToToc
6756
6757         * toc.[Ch]: new files, containing helper functions to handle table
6758         of contents
6759
6760         * lyxfunc.C (dispatch): no need to remove spaces around command
6761         given as a string
6762         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6763         first command of the sequence; it is not very clever, but I do not
6764         have a better idea, actually
6765
6766         * LyXAction.C (LookupFunc): make sure to remove space at the
6767         beginning and end of the command
6768
6769 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6770
6771         * MenuBackend.C (getMenubar): new method: return the menubar of
6772         this menu set
6773         (read): treat differently reading of menu and menubar (in
6774         particular, the menubar has no name now)
6775         (Menu::menubar): remove
6776
6777         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6778         saving is finished
6779
6780 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6781
6782         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6783         a bibitem inset in a RTL paragraph.
6784
6785 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6786
6787         * paragraph_pimpl.C: constify
6788
6789         * BufferView_pimpl.C:
6790         * LaTeX.C:
6791         * lyxfunc.C: fix dispatch in a nicer way
6792
6793 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6794
6795         * lyxfunc.C (dispatch):
6796         * BufferView_pimpl.C:
6797         * BufferView_pimpl.h:
6798         * BufferView.C:
6799         * BufferView.h: rename Dispatch() to dispatch()
6800
6801         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6802
6803         * lyxlayout.C (Read): honor DependsOn tag
6804
6805         * lyxlayout.[Ch] (depends_on): new method
6806
6807         * version.C.in: update lyx_docversion
6808
6809         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6810
6811         * paragraph.C (validate): remove from here...
6812         * paragraph_pimpl.C (validate): ... and move here
6813         (isTextAt): make it const
6814
6815         * buffer.C (getLists): ws cleanup
6816
6817 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6818
6819         * language.C (read): Use iso8859-1 encoding in latex_lang
6820         (this prevents LyX from crashing when using iso10646-1 encoding).
6821
6822 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6823
6824         * text2.C (toggleInset): if cursor is inside an inset, close the
6825         inset and leave cursor _after_ it
6826
6827 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6828
6829         * lyxfunc.C: move minibuffer completion handling out of here
6830
6831 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6832
6833         * BufferView_pimpl.C:
6834         * LaTeX.C: fix dispatch calls
6835
6836 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6837
6838         * text.C (drawChars): Fix Arabic text rendering.
6839
6840 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6841
6842         * LyXAction.C:
6843         * commandtags.h:
6844         * lyxfunc.C: remove message-push/pop
6845
6846         * lyxserver.C:
6847         * lyxfunc.h:
6848         * lyxfunc.C: rationalise some code by removing verboseDispatch
6849           in favour of a bool argument to dispatch()
6850
6851 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6852
6853         * lyx_main.C (init): make sure to read symlinks as absolute paths
6854
6855 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6856
6857         * lyxfunc.h:
6858         * lyxfunc.C: no need for commandshortcut to be a member
6859
6860 2002-07-15  André Pönitz <poenitz@gmx.net>
6861
6862         * converter.C: add support for $$s (scripts from lib/scripts dir)
6863         * lyx_main.C: white space
6864
6865 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6866
6867         * bufferlist.C:
6868         * lyxrc.h:
6869         * lyxrc.C: remove second exit confirmation
6870
6871 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6872
6873         * BufferView.h:
6874         * BufferView.C:
6875         * BufferView2.C:
6876         * BufferView_pimpl.h:
6877         * BufferView_pimpl.C:
6878         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6879
6880 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6881
6882         * MenuBackend.C (expand): add numeric shortcuts to document menu
6883
6884         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6885
6886 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6887
6888         * lyxfont.C (setLyXFamily):
6889         (setLyXSeries):
6890         (setLyXShape):
6891         (setLyXSize):
6892         (setLyXMisc):
6893         (lyxRead):
6894         * debug.C (value):
6895         * buffer.C (asciiParagraph): use ascii_lowercase
6896
6897 2002-07-15  Mike Fabian  <mfabian@suse.de>
6898
6899         * lyxlex_pimpl.C (search_kw):
6900         * lyxlex.C (getLongString):
6901         * converter.h (operator<):
6902         * converter.C (operator<):
6903         * buffer.C (parseSingleLyXformat2Token):
6904         (asciiParagraph):
6905         * ToolbarDefaults.C (read):
6906         * MenuBackend.C (checkShortcuts):
6907         (read):
6908         * LColor.C (getFromGUIName):
6909         (getFromLyXName): use the compare_ascii_no_case instead of
6910         compare_no_case, because in turkish, 'i' is not the lowercase
6911         version of 'I', and thus turkish locale breaks parsing of tags.
6912
6913 2002-07-16  Angus Leeming  <leeming@lyx.org>
6914
6915         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6916         now takes a Buffer const & argument.
6917
6918 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6919
6920         * BufferView.C (resize): check there's a buffer to resize
6921
6922 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6923
6924         * lyxfunc.C: remove dead code
6925
6926         * lyxserver.h:
6927         * lyxserver.C: use lyx_guii::set_read_callback
6928
6929 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6930
6931         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6932         an inset in a RTL paragraph.
6933
6934 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6935
6936         * lyxfunc.C: repaint after a font size update
6937
6938 2002-07-15  André Pönitz <poenitz@gmx.net>
6939
6940         * lyxlength.C: inBP should be able to return negative values
6941
6942 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6943
6944         * lyxfunc.C: use lyx_gui::update_fonts()
6945
6946 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6947
6948         * lyxfunc.C: use lyx_gui::update_color()
6949
6950 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6951
6952         * bufferlist.C:
6953         * lyxfunc.h:
6954         * lyxfunc.C:
6955         * lyxrc.h:
6956         * lyxrc.C: remove file->new asks for name option, and let
6957           buffer-new take an argument
6958
6959 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6960
6961         * BufferView_pimpl.C: remove unneeded extra repaint()
6962
6963 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6964
6965         * LyXAction.C: allow command-sequence with NoBuffer
6966
6967         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6968
6969 2002-07-10  Angus Leeming  <leeming@lyx.org>
6970
6971         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6972
6973 2002-07-09  Angus Leeming  <leeming@lyx.org>
6974
6975         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6976
6977 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * lengthcommon.h: whitespace
6980
6981         * lyxfunc.C: update scrollbar after goto paragraph
6982
6983         * lyxtext.h: factor out page break drawing, and fix it so
6984           page break/added space paints as selected nicely
6985
6986 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6987
6988         * BufferView_pimpl.C: add FIXMEs, clean up a little
6989
6990 2002-07-09  André Pönitz <poenitz@gmx.net>
6991
6992         * lyxfont.[Ch]: support for wasy symbols
6993
6994 2002-07-08  André Pönitz <poenitz@gmx.net>
6995
6996         * BufferView_pimpl.C: apply John's patch for #93.
6997
6998 2002-07-05  Angus Leeming  <leeming@lyx.org>
6999
7000         * BufferView_pimpl.C (buffer): generate previews if desired.
7001
7002         * LColor.h: add "preview" to the color enum.
7003
7004         * LColor.C (LColor): add a corresponding entry to the items array.
7005
7006         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7007         with this buffer.
7008
7009 2002-07-05  Angus Leeming  <leeming@lyx.org>
7010
7011         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7012         The body of the code is now in the method that is passed an ostream &
7013         rather than a file name.
7014         Pass an additional only_preamble parameter, useful for the forthcoming
7015         preview stuff.
7016
7017 2002-07-03  André Pönitz <poenitz@gmx.net>
7018
7019         * lyxfunc.C: simplify getStatus() a bit for math stuff
7020
7021 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7022
7023         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7024
7025 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7026
7027         * text.C (changeRegionCase): do not change case of all the
7028         document when region ends at paragraph end (bug #461)
7029
7030 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7031
7032         * paragraph.C (startTeXParParams):
7033         (endTeXParParams): add \protect when necessary
7034
7035 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7036
7037         * BufferView_pimpl.C (workAreaExpose): remove warning
7038
7039 2002-06-27  Angus Leeming  <leeming@lyx.org>
7040
7041         * Makefile.am: add lyxlayout_ptr_fwd.h.
7042
7043 2002-06-26  André Pönitz <poenitz@gmx.net>
7044
7045         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7046
7047 2002-06-25  Angus Leeming  <leeming@lyx.org>
7048
7049         * lyxfunc.C (dispatch): Comment out the call to
7050         grfx::GCache::changeDisplay. The method no longer exists now that the
7051         pixmap generation part of the graphics loader has been moved into
7052         InsetGraphics.
7053
7054 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7055
7056         * text2.C: layout as layout
7057
7058         * text.C: layout as layout
7059
7060         * tabular.C (OldFormatRead): layout as layout
7061
7062         * paragraph_pimpl.C (TeXDeeper): layout as layout
7063         (realizeFont): layout as layout
7064
7065         * paragraph.C (writeFile): layout as layout
7066         (validate): layout as layout
7067         (getFont): layout as layout
7068         (getLabelFont): layout as layout
7069         (getLayoutFont): layout as layout
7070         (breakParagraph): layout as layout
7071         (stripLeadingSpaces): layout as layout
7072         (getEndLabel): layout as layout
7073         (getMaxDepthAfter): layout as layout
7074         (applyLayout): layout as layout
7075         (TeXOnePar): layout as layout
7076         (simpleTeXOnePar): layout as layout
7077         (TeXEnvironment): layout as layout
7078         (layout): layout as layout
7079         (layout): layout as layout
7080
7081         * lyxtextclass.C (compare_name): new functor to work with
7082         shared_ptr, layout as layout
7083         (Read): layout as layout
7084         (hasLayout): layout as layout
7085         (operator): layout as layout
7086         (delete_layout): layout as layout
7087         (defaultLayout): layout as layout
7088
7089         * lyxlayout_ptr_fwd.h: new file
7090
7091         * lyxlayout.C (Read): layout as layout
7092
7093         * lyx_cb.C (MenuInsertLabel): layout as layout
7094
7095         * bufferlist.C (newFile): layout as layout
7096
7097         * buffer.C (readLyXformat2): layout as layout
7098         (parseSingleLyXformat2Token): layout as layout
7099         (insertStringAsLines): layout as layout
7100         (asciiParagraph): layout as layout
7101         (latexParagraphs): layout as layout
7102         (makeLinuxDocFile): layout as layout
7103         (simpleLinuxDocOnePar): layout as layout
7104         (makeDocBookFile): layout as layout
7105         (simpleDocBookOnePar): layout as layout
7106         (getLists): layout as layout
7107
7108         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7109
7110         * CutAndPaste.C (cutSelection): layout as layout
7111         (pasteSelection): layout as layout
7112         (SwitchLayoutsBetweenClasses): layout as layout
7113
7114         * BufferView_pimpl.C (Dispatch): layout as layout
7115         (smartQuote): layout as layout
7116
7117         * BufferView2.C (unlockInset): layout as layout
7118
7119 2002-06-24  André Pönitz <poenitz@gmx.net>
7120
7121         * lyxfunc.C: fix #487
7122
7123 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7124
7125         * lyxrc.h:
7126         * lyxrc.C:
7127         * lyxfunc.C: remove display_shortcuts, show_banner
7128
7129 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7130
7131         * Buffer_pimpl.C: oops, update on resize
7132
7133 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7134
7135         * buffer.C:
7136         * converter.C:
7137         * exporter.C:
7138         * lyxfunc.C:
7139         * BufferView.h:
7140         * BufferView.C: use repaint()
7141
7142         * BufferView_pimpl.h:
7143         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7144           as it's a clearer description. Remove superfluous
7145           redraws.
7146
7147 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7148
7149         * text.C: fix bug 488. Not ideal, but getting
7150           getWord() to work properly for the insets that
7151           matter is more difficult ...
7152
7153 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7154
7155         * BufferView_pimpl.C:
7156         * LyXAction.C:
7157         * commandtags.h:
7158         * lyxfunc.C: remove the six million index lyxfuncs to just
7159           one, and DTRT (bug 458)
7160
7161 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7162
7163         * BufferView.h:
7164         * BufferView.C:
7165         * BufferView_pimpl.h:
7166         * BufferView_pimpl.C: clean up resize() stuff,
7167           and unnecessary updateScreen()s
7168
7169 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7170
7171         * BufferView.h:
7172         * BufferView.C:
7173         * BufferView_pimpl.h:
7174         * BufferView_pimpl.C:
7175         * lyxfind.h:
7176         * lyxfind.C:
7177         * minibuffer.C: remove focus management of workarea,
7178           not needed. Use screen's greyOut()
7179
7180 2002-06-17  Herbert Voss  <voss@lyx.org>
7181
7182         * converter.C: (convert) do not post a message, when converting
7183         fails, let the calling function decide what to do in this case
7184
7185 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7186
7187         * lyxfunc.C: tidy up a little
7188
7189 2002-06-16    <alstrup@diku.dk>
7190
7191         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7192         Got rid of FORMS_H_LOCATION include. Now we are
7193         GUII.
7194
7195 2002-06-15  LyX Development team  <lyx@rilke>
7196
7197         * buffer.[Ch] (sgmlOpenTag):
7198         (sgmlCloseTag): Added support for avoiding pernicious mixed
7199         content. Return number of lines written.
7200
7201         (makeLinuxDocFile):
7202         (makeDocBookFile): Fixed calls to sgml*Tag.
7203         Simple white space clean.
7204
7205         (simpleDocBookOnePar): Simple white space clean.
7206
7207         * tabular.[Ch] (docBook): Renamed to docbook and got another
7208         argument to related with the pernicious mixed content.
7209
7210         (docbookRow): Fixed calls for docbook inset method.
7211
7212 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7213
7214         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7215         so it's X11 independent.
7216
7217         * kb*.[Ch]: ditto.
7218
7219         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7220
7221 2002-06-15  Lyx Development team  <lyx@electronia>
7222
7223         * intl.h: Renamed getTrans to getTransManager.
7224
7225 2002-06-14  Angus Leeming  <leeming@lyx.org>
7226
7227         * Makefile.am: nuke forgotten stl_string_fwd.h.
7228
7229 2002-06-12  Angus Leeming  <leeming@lyx.org>
7230
7231         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7232
7233 2002-06-13  Angus Leeming  <leeming@lyx.org>
7234
7235         * LaTeX.C:
7236         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7237
7238 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7239
7240         * kbmap.C (getiso): add support for cyrillic and greek
7241
7242 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7243
7244         * BufferView.h:
7245         * BufferView.C:
7246         * BufferView_pimpl.h:
7247         * BufferView_pimpl.C: move bogus scrolling logic
7248           to xforms
7249
7250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7251
7252         * lyxfunc.C:
7253         * BufferView_pimpl.C: view->resize() change
7254
7255 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * BufferView_pimpl.C: topCursorVisible
7258           prototype change
7259
7260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7261
7262         * Makefile.am:
7263         * lyx_gui.h:
7264         * lyx_gui.C: move to frontends/
7265
7266         * main.C:
7267         * lyx_main.h:
7268         * lyx_main.C: changes from above
7269
7270 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7271
7272         * intl.C:
7273         * intl.h:
7274         * kbmap.C:
7275         * kbsequence.C:
7276         * lyx_cb.C:
7277         * lyx_main.C: minor tidy
7278
7279 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7280
7281         * BufferView_pimpl.h:
7282         * BufferView_pimpl.C:
7283         * BufferView.h:
7284         * BufferView.C: make painter() const,
7285           remove dead code
7286
7287         * BufferView2.C: use screen() accessor
7288
7289         * lyx_main.h:
7290         * lyx_main.C: some minor cleanup
7291
7292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * BufferView_pimpl.h:
7295         * BufferView_pimpl.C: remove enter/leaveView,
7296           use workHeight()
7297
7298 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7299
7300         * BufferView.h:
7301         * BufferView.C:
7302         * BufferView2.C:
7303         * BufferView_pimpl.h:
7304         * BufferView_pimpl.C: only construct screen once,
7305           rename
7306
7307         * lyxrc.C: remove pointless comment
7308
7309 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7310
7311         * BufferView.h:
7312         * BufferView.C: remove active() and belowMouse()
7313
7314         * BufferView_pimpl.h:
7315         * BufferView_pimpl.C: use workarea() not workarea_,
7316           and make it use a scoped_ptr instead
7317
7318 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7319
7320         * lyx_gui.C: add debug message on BadWindow
7321
7322 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7323
7324         * sp_spell.C: fdopen is not part of the C++ standard.
7325
7326         * paragraph.C (InsetIterator): use >= instead of ==
7327
7328 2002-06-07  Angus Leeming  <leeming@lyx.org>
7329
7330         Fixes needed to compile with Compaq cxx 6.5.
7331         * BufferView_pimpl.C:
7332         * DepTable.C:
7333         * buffer.C:
7334         * converter.C:
7335         * encoding.C:
7336         * lyx_gui.C:
7337         * lyx_main.C:
7338         * lyxtextclasslist.C:
7339         * minibuffer.C:
7340         * sp_spell.C:
7341         * tabular_funcs.C:
7342         * vc-backend.C:
7343         all c-library variables have been moved into namespace std. Wrap
7344         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7345
7346         * lyxlength.C:
7347         * tabular-old.C:
7348         * tabular.C:
7349         Add a using std::abs declaration.
7350
7351         * kbmap.h (modifier_pair):
7352         * paragraph.h (InsetTable, InsetList):
7353         * lyxfont.h (FontBits):
7354         type definition made public.
7355
7356         * bufferlist.C (emergencyWriteAll): the compiler complains that
7357         there is more than one possible lyx::class_fun template to choose from.
7358         I re-named the void specialisation as lyx::void_class_fun.
7359
7360         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7361
7362         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7363         the compiler is is unable to find tostr in write_attribute.
7364
7365 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7366
7367         * buffer.C (sgmlError): hide #warning
7368
7369 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7370
7371         * xtl/*: get rid of xtl, which is not in use anyway
7372
7373         * LyXAction.C (init):
7374         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7375         were unimplemented xtl experimentation
7376
7377 2002-06-04  André Pönitz <poenitz@gmx.net>
7378
7379         * lyxfunc.C: disable array operation on simple formulae
7380
7381 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7382
7383         * converter.C: constify a bit
7384
7385 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7386
7387         * lyx_gui.C: check xforms version correctly
7388
7389 2002-04-30  Herbert Voss  <voss@lyx.org>
7390
7391         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7392         "keep" option
7393
7394 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7395
7396         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7397           attempt to register it with a VCS)
7398
7399 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7400
7401         * lyx_main.C (init): honor variables LYX_DIR_13x and
7402         LYX_USERDIR_13x
7403
7404 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * buffer.h:
7407         * buffer.C:
7408         * lyx_main.C: fix a crash on bad command line,
7409           and give a useful exit status on error
7410
7411         * lyxfunc.C (doImport): allow -i lyx to work
7412
7413 2002-03-30  André Pönitz <poenitz@gmx.net>
7414
7415         * lyxfunc.C: mathed font changes
7416
7417 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7418
7419         * LaTeX.C:
7420         * importer.h:
7421         * importer.C:
7422         * lyx_sty.h:
7423         * lyx_sty.C:
7424         * lyxlex.C:
7425         * lyxrow.h:
7426         * lyxtext.h:
7427         * paragraph.h:
7428         * paragraph.C:
7429         * texrow.h:
7430         * texrow.C:
7431         * text.C:
7432         * trans_mgr.h: srcdocs, and some minor cleanups
7433
7434 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7437         call getFont all the time)
7438
7439 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7440
7441         * switch from SigC signals to boost::signals
7442
7443 2002-05-29  André Pönitz <poenitz@gmx.net>
7444
7445         * paragraph_pimpl.C (getChar): don't call size() too often...
7446
7447 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7448
7449         * paragraph_pimpl.C (insertChar): do not try to update tables when
7450         appending (pos == size())
7451
7452         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7453         in order to reduce drastically the number of comparisons needed to
7454         parse a large document
7455
7456 2002-05-29  André Pönitz <poenitz@gmx.net>
7457
7458         * text.C:
7459         * text2.C:
7460         * lyxtextclass.C:
7461         * sp_pspell.h:
7462         * textclasslist.[Ch]:
7463         * sp_ispell.h: whitespace change
7464
7465 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7466
7467         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7468         lyxaction directly now.
7469
7470 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7471
7472         * trans.C:
7473         * lyxfont.C:
7474         * lyxvc.C: remove unused headers
7475
7476 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7477
7478         * Makefile.am:
7479         * buffer.h:
7480         * undostack.h:
7481         * undostack.C:
7482         * undo_funcs.h:
7483         * undo_funcs.C: some cleanups. Use shared_ptr
7484           and a template for the undo stacks.
7485
7486 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * BufferView_pimpl.h:
7489         * BufferView_pimpl.C:
7490         * kbmap.h:
7491         * kbmap.C:
7492         * kbsequence.h:
7493         * kbsequence.C:
7494         * lyxfunc.h:
7495         * lyxfunc.C:
7496         * text2.C: use key_state/mouse_state
7497
7498 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7499
7500         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7501         and LSubstring
7502
7503         * chset.C: change include order
7504         (loadFile): use boost regex and get rid of LRegex and LSubstring
7505
7506         * Makefile.am (BOOST_LIBS): new variable
7507         (lyx_LDADD): use it
7508
7509         * LaTeX.C: change include order.
7510         (scanAuxFile): use boost regex and get rid of LRegex and
7511         LSubstring
7512         (deplog): ditto
7513
7514 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7515
7516         * ColorHandler.h:
7517         * ColorHandler.C:
7518         * FontInfo.h:
7519         * FontInfo.C: moved to frontends/xforms/
7520
7521         * FontLoader.h:
7522         * FontLoader.C: moved into frontends for GUIIzation
7523
7524         * Makefile.am:
7525         * lyx_gui.C:
7526         * lyxfont.C:
7527         * lyxfunc.C: changes from above
7528
7529 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * LColor.C: remove spurious X include
7532
7533         * BufferView_pimpl.C:
7534         * Makefile.am:
7535         * font.h:
7536         * font.C:
7537         * text.C:
7538         * text2.C: move font metrics to frontends/
7539
7540 2002-05-24  Juergen Vigna  <jug@sad.it>
7541
7542         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7543         setting the undo_cursor.
7544
7545         * ParagraphParameters.h: include local includes first.
7546
7547 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7548
7549         * BufferView_pimpl.C:
7550         * BufferView_pimpl.h:
7551         * Makefile.am:
7552         * WorkArea.h:
7553         * WorkArea.C:
7554         * screen.C: move WorkArea into frontends/
7555
7556         * lyxscreen.h:
7557         * screen.C:
7558         * text.C:
7559         * BufferView.C:
7560         * BufferView2.C: move LyXScreen into frontends/
7561
7562         * lyxlookup.h:
7563         * lyxlookup.C:
7564         * lyx_gui.C: move lyxlookup into frontends/xforms/
7565
7566 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7567
7568         * BufferView2.C:
7569         * BufferView_pimpl.C:
7570         * FontLoader.C:
7571         * LyXView.h:
7572         * LyXView.C:
7573         * Makefile.am:
7574         * WorkArea.C:
7575         * XFormsView.h:
7576         * XFormsView.C:
7577         * buffer.C:
7578         * bufferlist.C:
7579         * bufferview_funcs.C:
7580         * converter.C:
7581         * importer.C:
7582         * lyx_cb.C:
7583         * lyx_gui.C:
7584         * lyx_main.C:
7585         * lyx_find.C:
7586         * lyxfunc.C:
7587         * lyxvc.C:
7588         * minibuffer.C:
7589         * text.C:
7590         * text2.C:
7591         * trans.C:
7592         * vc-backend.C: move LyX/XFormsView into frontends/
7593
7594 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * Makefile.am:
7597         * PainterBase.C:
7598         * PainterBase.h:
7599         * Painter.C:
7600         * Painter.h:
7601         * WorkArea.C:
7602         * WorkArea.h:
7603         * screen.C:
7604         * tabular.C:
7605         * text.C:
7606         * text2.C: move Painter to frontends/
7607
7608 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7609
7610         * buffer.C: comment out some some code that depend upon lyx_format
7611         < 220
7612
7613         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7614         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7615
7616         * buffer.h (NO_COMPABILITY): turn off compability
7617
7618         * ColorHandler.C: include scoped_array.hpp
7619
7620         * font.C: Use more specific smart_ptr header.
7621         * Painter.C: ditto
7622         * gettext.C: ditto
7623         * ShareContainer.h: ditto
7624         * lyx_main.h: ditto
7625         * kbmap.h: ditto
7626         * FontInfo.h: ditto
7627         * BufferView_pimpl.h: ditto
7628         * ColorHandler.h: ditto
7629
7630         * kbmap.C (defkey): change call to shared_ptr::reset
7631
7632 2002-05-21  Juergen Vigna  <jug@sad.it>
7633
7634         * buffer.C (insertErtContents): fix to insert ert asis if it is
7635         non empty. Skip it completely if it contains only whitespaces.
7636
7637 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7638
7639         * BufferView_pimpl.C:
7640         * BufferView2.C: clear selection on paste (bug 393)
7641
7642 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7643
7644         * DepTable.C: include ctime
7645
7646 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7647
7648         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7649
7650 2002-05-14  Juergen Vigna  <jug@sad.it>
7651
7652         * text.C (breakParagraph): fixed function to honor the keepempty
7653         layout in the right maner and also to permit the right breaking
7654         algorithm on empty or non empyt keepempty paragraphs.
7655
7656         * paragraph.C (breakParagraph): we have to check also if the par
7657         is really empty (!size()) for isempty otherwise we do the wrong
7658         paragraph break.
7659
7660 2002-05-10  Juergen Vigna  <jug@sad.it>
7661
7662         * buffer.[Ch] : The following are only changes to the ert
7663         compatibility read reading old LaTeX layout and font stuff and
7664         convert it to ERTInsets.
7665
7666         * buffer.h: added isErtInset().
7667
7668         * buffer.C (struct ErtComp): add a fromlayout bool to check
7669         if we're inside a LaTeX layout.
7670         (isErtInset): new helper function.
7671         (insertErtContents): look for other ert insets before this one
7672         and insert the contents there, so that we don't have subsequent
7673         ERT insets with nothing between them. This way we create only one
7674         inset with multiple paragraphs. Also check if we don't insert only
7675         spaces ' ' as they are ignored anyway afterwards in the .tex file
7676         so if we have only spaces we will ignore this latex part in the
7677         new file.
7678         (parseSingleLyXformat2Token \\layout): better compatibility when
7679         reading layout-latex stuff.
7680         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7681         language tag.
7682         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7683         stuff after reading the inset only get the information back from
7684         the stack.
7685
7686 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7687
7688         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7689
7690         * LaTeXFeatures.C (getBabelOptions): New method.
7691
7692 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7693
7694         * BufferView_pimpl.C (Dispatch): work around missing argument for
7695         'layout'
7696
7697 2002-05-08  Juergen Vigna  <jug@sad.it>
7698
7699         * text.C (leftMargin): handle paragraph leftindent.
7700
7701         * paragraph.C (writeFile): write the new \\leftindent tag.
7702         (validate): handle leftindent code.
7703         (TeXEnvironment): handle paragraphleftindent code again.
7704
7705         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7706
7707         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7708         for paragrap_extra indent code and new token \\leftindent.
7709         (latexParagraphs): handle the leftindent as environment.
7710
7711         * ParameterStruct.h: added leftindent support.
7712
7713         * ParagraphParameters.C (leftIndent): added support functions for
7714         the paragraph left indent.
7715
7716         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7717         more appropriate.
7718
7719 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7720
7721         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7722         inside insetERT.
7723
7724         * text.C (computeBidiTables): No bidi in insetERT.
7725
7726         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7727         in RTL documents.
7728
7729 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7730
7731         * version.C.in: pre 5
7732
7733 2002-05-02  José Matos  <jamatos@fep.up.pt>
7734         * buffer.C (makeDocBookFile): white space changes, add newline to
7735         command styles.
7736         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7737
7738         * tabular.C (docBook): fix typo.
7739
7740 2002-05-03  Juergen Vigna  <jug@sad.it>
7741
7742         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7743         change in LyXText as we can not be sure it was not freed.
7744         (drawOneRow): remove unused code.
7745
7746         * text.C (drawInset): redo the calculation of the need_break_row as
7747         it could have a row which was already freed.
7748         (draw): look at the return value of drawInset and return false if
7749         it also returned false.
7750         (paintRowText): look at the return value of draw and return false if
7751         it also returned false.
7752
7753         * lyxtext.h: added bool return type to drawInset() and draw() so that
7754         if we have a change in the row so that the rowbreak has to be redone
7755         we abort drawing as it will be called again.
7756
7757 2002-05-02  Juergen Vigna  <jug@sad.it>
7758
7759         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7760         a change in the maintext also if we're inside an inset.
7761         (Dispatch): set the cursor again after a break line and after the
7762         screen has been updated as it could be we're in a different row.
7763
7764         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7765         to set the cursor behind the pargraph with > size().
7766         (setCursor): check also for the same paragraph when checking where
7767         to put the cursor if we have a NFR inset.
7768
7769         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7770         parts of layout read further up as it still was in the wrong
7771         position.
7772
7773 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7774
7775         * screen.C (drawFromTo): change sine fullRebreak always return
7776         true.
7777
7778         * buffer.C (parseSingleLyXformat2Token): reindent some
7779
7780         * BufferView_pimpl.C (update): change since fullRebreak always
7781         return true.
7782         (Dispatch): git rid of the last hardcoded "Standard"s.
7783
7784 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7785
7786         * text2.[Ch] (fullRebreak): make it return void now that we always
7787         returned true.
7788
7789 2002-04-30  Juergen Vigna  <jug@sad.it>
7790
7791         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7792         ert compatibility check for "latex" layout.
7793
7794 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7795
7796         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7797         minipages: use col% instead of p%, and also use the current font.
7798         (makeLaTeXFile): Fix use babel condition.
7799         (parseSingleLyXformat2Token): Correct font when reading old floats.
7800
7801 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7802
7803         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7804         inserting list of floats.
7805
7806 2002-04-25  Herbert Voss  <voss@lyx.org>
7807
7808         * MenuBackend.C (expand): don't add the graphics extensions to the
7809         export menu
7810
7811 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7812
7813         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7814         non-existing layout, do not complain if it was the default layout
7815         of the original class (bug #342)
7816
7817 2002-04-24  Juergen Vigna  <jug@sad.it>
7818
7819         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7820         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7821
7822 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7823
7824         * buffer.C (getBibkeyList): If using \bibliography, return the
7825         option field with the reference itself. Enables us to provide natbib
7826         support when using \bibliography.
7827
7828 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7829
7830         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7831
7832         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7833         natbib is provided by the LaTeX class.
7834
7835 2002-04-23  Juergen Vigna  <jug@sad.it>
7836
7837         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7838         Wakeup functions.
7839
7840         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7841
7842 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7845
7846         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7847         ensuremath around textordmasculine, textordfeminine and
7848         textdegree.
7849
7850 2002-04-19  Juergen Vigna  <jug@sad.it>
7851
7852         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7853         reinitializing the buffer otherwise row-dimensions may be wrong.
7854         (update): reset also the selection cursors if they do exits otherwise
7855         their x/y positions may be wrong.
7856
7857         * text2.C (cursorDown): don't enter the inset if we came from a row
7858         above and are one row over the inset.
7859
7860         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7861         really leaving an inset.
7862
7863 2002-04-18  Juergen Vigna  <jug@sad.it>
7864
7865         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7866         of the selected paragraph does not have the selected layout also if
7867         the last one had!
7868
7869         * text2.C (setLayout): fixed bug which did not change last selected
7870         paragraph.
7871
7872         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7873         changed the read and substituted \\end_float with \\end_inset!
7874
7875         * BufferView_pimpl.C (cursorPrevious):
7876         (cursorNext): fixed to make it work with rows heigher than the work
7877         area without moving the cursor only the draw of the row.
7878         (workAreaMotionNotify): fix jumping over high rows.
7879
7880 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7881
7882         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7883         Ressler.
7884
7885 2002-04-16  Juergen Vigna  <jug@sad.it>
7886
7887         * text2.C (setCursor): set also the irow().
7888         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7889         (cursorUp):
7890         (cursorDown): support for locking an inset if the x_fix value goes
7891         inside it. That way I can transverse insets too with cursor up/down.
7892
7893         * lyxrow.h: added irow helper function same as other (i) functions.
7894
7895         * BufferView_pimpl.C (cursorPrevious):
7896         (cursorNext): fixed for insets!
7897
7898 2002-04-15  Juergen Vigna  <jug@sad.it>
7899
7900         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7901         position otherwise it is wrong in some cases.
7902
7903         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7904         inside the inset before the call.
7905
7906 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7907
7908         * buffer.[Ch] (getBibkeyList): make it const.
7909
7910 2002-04-12  Juergen Vigna  <jug@sad.it>
7911
7912         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7913
7914         * text2.C (getCursorX): new helper function
7915         (setCursor): compute also ix_
7916         (setCursorFromCoordinates): set also ix.
7917
7918         * lyxcursor.h: added ix_ and helper functions.
7919
7920         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7921
7922         * buffer.C (insertStringAsLines): dont break paragraph if the this
7923         paragraph is inside an inset which does not permit it!
7924
7925         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7926         also with no chars on this paragraph.
7927         (paintRowText): only paint stuff if it's inside the workarea!
7928
7929         * paragraph.C (breakParagraph): honor keepempty flag and break the
7930         paragraph always below not above.
7931
7932         * BufferView2.C (unlockInset): update the paragraph layout on inset
7933         unlock as we changed paragraph in such a case.
7934
7935         * lyxfind.C (LyXFind): clear the former selection if not found!
7936
7937         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7938         again called in insertChar().
7939
7940         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7941         an inset which uses the whole row!
7942         (rightMargin): ditto.
7943         (insertChar): force a rebreak if we inserted an inset!
7944
7945 2002-03-28  Herbert Voss  <voss@lyx.org>
7946
7947         * lyxlength.[Ch]: add inBP() to get the right PS-point
7948         units (BigPoint). With inPixels we have rounding errors
7949
7950 2002-04-11  Juergen Vigna  <jug@sad.it>
7951
7952         * text2.C (setCursorFromCoordinates): set iy to the right value.
7953         (setCursor): add check if row->previous exists!
7954
7955         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7956         an old float_type as this was the case in the old code!
7957
7958         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7959
7960         * BufferView2.C (showLockedInsetCursor): use iy
7961         (fitLockedInsetCursor): ditto
7962
7963         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7964         locked insets as there we have the right value now.
7965
7966         * lyxcursor.C: added iy_ variable and iy functions to set to the
7967         baseline of cursor-y of the locked inset.
7968
7969         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7970         (setCursor): fixed for insets which need a full row.
7971
7972         * text.C (rowLastPrintable): don't ignore the last space when before
7973         an inset which needs a full row.
7974         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7975         as last character of a row when before a inset which needs a full row.
7976
7977 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7978
7979         * version.C.in: update date
7980
7981         * text2.C (fullRebreak): try to always return true and see what
7982         happens...
7983
7984 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7985
7986         * MenuBackend.C (expand): use Floating::listName
7987
7988         * FloatList.C (FloatList): add listName argument to the built-in
7989         floats
7990
7991         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7992         text associated with the float.
7993
7994 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7995
7996         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7997
7998 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7999
8000         * ShareContainer.h: add a couple of missing typenames.
8001
8002 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8003
8004         * lyxrc.C (getDescription): use _() correctly rather than N_().
8005
8006 2002-03-28  Herbert Voss  <voss@lyx.org>
8007
8008         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8009         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8010
8011 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8012
8013         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8014         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8015
8016 2002-03-29  Juergen Vigna  <jug@sad.it>
8017
8018         * lyxfunc.C (dispatch): add a missing fitCursor call.
8019
8020         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8021         it was scrolled by a cursor move, so return the bool status.
8022
8023         * BufferView.C (fitCursor): return the bool flag also to the outside
8024         world as this is needed.
8025
8026         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8027
8028         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8029         call the edit() as it is not needed (and wrong) IMO.
8030         (workAreaButtonPress): set the screen_first variable before evt.
8031         unlock the inset as this may change screen_first and then we have
8032         a wrong y position for the click!
8033
8034 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8035
8036         * MenuBackend.C (expand): another translation that I missed
8037
8038 2002-03-28  Juergen Vigna  <jug@sad.it>
8039
8040         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8041
8042         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8043
8044 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8045
8046         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8047
8048         * MenuBackend.C (expand): fix export/view/update when there is no
8049         document open.
8050
8051 2002-03-27  Herbert Voss  <voss@lyx.org>
8052
8053         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8054         and text%
8055
8056 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8057
8058         * bufferview_funcs.C (currentState): only show paragraph number
8059         for is DEVEL_VERSION is set.
8060
8061         * lyxfunc.C (dispatch): put warning in INFO channel
8062
8063         * MenuBackend.C (expand): translate the name of floats
8064
8065         * FloatList.C (FloatList): mark the float names for translation
8066
8067         * converter.C (convert): use LibScriptSearch
8068
8069 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8070
8071         * MenuBackend.C (defaults): fix default menu (we might as well get
8072         rid of it...)
8073
8074 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8075
8076         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8077         directory.
8078
8079 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8080
8081         * lyxvc.C: reorder includes.
8082
8083 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8084
8085         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8086           properly
8087
8088 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8089
8090         * CutAndPaste.C: change layouts earlier on paste
8091           to avoid crashing when calling getFont()
8092
8093 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8094
8095         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8096         irritating #error.
8097
8098 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8099
8100         * WorkArea.C: remove 'Pending' debug message.
8101
8102         * most files: ws cleanup
8103
8104         * buffer.[Ch]: ws changes
8105
8106         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8107
8108 2002-03-21  Juergen Vigna  <jug@sad.it>
8109
8110         * tabular.C (SetMultiColumn): collapse also the contents of the
8111         cells and set the last border right. Added a Buffer const * param.
8112
8113 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8116         linking or not.
8117
8118 2002-03-19  Juergen Vigna  <jug@sad.it>
8119
8120         * text2.C (clearSelection): reset also xsel_cache.
8121
8122         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8123         where it needs to be called (John tells us to do so too :)
8124         (selectionLost): reset sel_cache.
8125
8126         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8127
8128 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8129
8130         * text2.C (setCursorIntern): put debuging code in INSETS channel
8131
8132 2002-03-19  André Pönitz <poenitz@gmx.net>
8133
8134         * lyxfunc.C: tiny whitespace change
8135
8136 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8137
8138         * ToolbarDefaults.C (init):
8139         * LyXAction.C (init):
8140         * commandtags.h:
8141         * BufferView_pimpl.C (Dispatch):
8142         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8143
8144 2002-03-19  Allan Rae  <rae@lyx.org>
8145
8146         * exporter.C (Export): removeAutoInsets before doing anything else.
8147         While I've just introduced a dependency on BufferView this really is
8148         the best place to clean the buffer otherwise you need to cleanup in
8149         a dozen places before calling export or cleanup in a dozen functions
8150         that export calls.
8151
8152         * converter.C (runLaTeX):
8153         (scanLog): Better handling of removeAutoInsets and screen updates.
8154
8155         * lyxfunc.C (dispatch): small whitespace changes
8156
8157 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8158
8159         * WorkArea.C (C_WorkAreaEvent): return a value.
8160         (event_cb): return 1 if we handled the event, 0 otherwise.
8161
8162         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8163
8164 2002-03-18  Juergen Vigna  <jug@sad.it>
8165
8166         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8167         (GetAdditionalWidth): ditto.
8168         (RightLine): ditto.
8169         (LeftLine): ditto.
8170
8171         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8172         inset if we're there actually (probably not used right now but this
8173         is the direction to go for unifying code).
8174         (paste): disable code to clear the selection.
8175
8176         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8177         inside an InsetText and move the check further up as it is in the
8178         wrong place.
8179
8180         * text2.C (pasteSelection): set a selection over the pasted text.
8181
8182 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8183
8184         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8185         and libgraphics to build on Cygwin.
8186
8187 2002-03-15  Juergen Vigna  <jug@sad.it>
8188
8189         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8190         inserting an Inset into the paragraph. I know this is not the best
8191         fix but we already use current_view in CutAndPaste so we will remove
8192         all of it's using at the same time.
8193
8194         * buffer.C (sgmlError): deactivated function till it is rewritten in
8195         the right mode, now it can create problems.
8196
8197         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8198         before accessing it.
8199
8200 2002-03-14  Juergen Vigna  <jug@sad.it>
8201
8202         * undo_funcs.C (textHandleUndo): do the right thing when updating
8203         the inset after the undo/redo.
8204
8205         * text2.C (setCursor): just some testcode for #44 not ready yet.
8206
8207         * undo_funcs.C (textHandleUndo): set the next() and previous()
8208         pointers of the paragraph to 0 before deleting otherwise we have
8209         problems with the Paragraph::[destructor].
8210
8211         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8212         on a paragraph insertion.
8213
8214 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8215
8216         * buffer.C (asciiParagraph): use += operator for char append to
8217         string.
8218
8219         * paragraph.C (getFontSettings): compare >= not just >
8220         (highestFontInRange): ditto
8221         (setFont): ditto
8222
8223 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * paragraph.C: change several algorithm to be more appripriate for
8226         the problem domain. This is lookip in FontList and in the InsetList.
8227
8228 2002-03-13  André Pönitz <poenitz@gmx.net>
8229
8230         * commandtags.h:
8231         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8232
8233 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8234
8235         * commandtags.h:
8236         * LyXAction.C:
8237         * lyxfunc.C:
8238         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8239
8240 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * Painter.C (display): anon helper function, adjust code for this
8243         change.
8244         (pixmap): remove function.
8245
8246         * Painter.h: remove private display variable.
8247
8248         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8249
8250 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8251
8252         * WorkArea.[Ch]: remove figinset_canvas cruft.
8253
8254 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8255
8256         * lyxtextclass.C (operator): add one item cache optimization.
8257
8258         * bufferlist.h: doxy changes
8259
8260         * bufferlist.C: ws changes
8261
8262         * DepTable.[Ch] (ext_exist): place const in the right spot.
8263
8264         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8265         call resizeInsets.
8266         (workAreaExpose): call resizeInsets when the with BufferView changes.
8267         (Dispatch): adjust for protectedBlank removal
8268         (specialChar): call updateInset if the insert went ok.
8269
8270         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8271         specialChar instead.
8272
8273         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8274
8275         * BufferView.h: doxy change
8276
8277         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8278
8279         * lyxtextclass.C (operator[]): remove non-const version
8280         (defaultLayout): remove non-const version
8281
8282 2002-03-12  Juergen Vigna  <jug@sad.it>
8283
8284         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8285         did resize the LyXText too.
8286
8287         * buffer.C (readLyXformat2): set layout information on newly allocated
8288         paragraphs.
8289
8290         * tabular.C (OldFormatRead): set layout information on the paragraph.
8291
8292 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8293
8294         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8295
8296 2002-03-11  Juergen Vigna  <jug@sad.it>
8297
8298         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8299         plainly wrong.
8300         (resizeCurrentBuffer): force also the insets to resize themselfes.
8301         (moveCursorUpdate): fixed up for InsetText.
8302
8303 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8304
8305         * commandtags.h:
8306         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8307         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8308         value of Dialogs::tooltipsEnabled().
8309         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8310
8311 2002-03-08  Juergen Vigna  <jug@sad.it>
8312
8313         * BufferView_pimpl.C (updateInset): update inset inside inset also
8314         if it isn't inside theLockingInset().
8315
8316 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * buffer.C (asciiParagraph): redo some of the word and line length
8319         handling.
8320         (getLists): look for Caption instead of caption.
8321
8322 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8323
8324         * buffer.C (Buffer): initialize niceFile to true
8325         (makeLaTeXFile):
8326         (makeLinuxDocFile):
8327         (makeDocBookFile): make sure niceFile is true on exit
8328
8329 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8332
8333 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8334
8335         * LyXSendto.C: remove.
8336         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8337         * lyx_gui.C: remove now-redundant comment.
8338         * ColorHandler.h: remove forward declaration of class WorkArea.
8339         * lyxfunc.C: remove #include "WorkArea.h".
8340
8341 2002-03-07  Juergen Vigna  <jug@sad.it>
8342
8343         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8344         got moved away with the DEPM and also set the inset_owner always
8345         right which before could have been omitted.
8346
8347 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8348
8349         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8350         wanted layout is not found.
8351
8352 2002-03-07  Juergen Vigna  <jug@sad.it>
8353
8354         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8355
8356 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * paragraph.C (breakParagraph): use default layout not layout of
8359         prev paragraph.
8360         (Paragraph): clear ParagraphParameters.
8361
8362 2002-03-06  Juergen Vigna  <jug@sad.it>
8363
8364         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8365         otherwise it would not be a valid lenght. Fixed a special case in
8366         the minipage compatibility read where we end the document with a
8367         minipage.
8368
8369         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8370         was set as it could be 0 for InsetTexts first entry.
8371
8372 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8373
8374         * paragraph.C (writeFile): if layout is empty write out
8375         defaultLayoutName().
8376
8377         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8378         file without named layout we set layout to defaultLayoutName().
8379
8380 2002-03-06  Juergen Vigna  <jug@sad.it>
8381
8382         * CutAndPaste.C (copySelection): set layout for new paragraph.
8383
8384         * text.C (prepareToPrint): leave ERT inset left aligned
8385         (leftMargin): don't indent paragraphs inside ERT insets
8386
8387 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8388
8389         * paragraph.C (breakParagraph): dont call clear do the work manually
8390
8391         * paragraph.[Ch] (clear): remove function
8392
8393 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8394
8395         * paragraph.C (Paragraph): dont call clear, the work has already
8396         been done.
8397
8398         * lyxtextclass.C (operator): assert if n is empty
8399
8400         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8401         work manually instead.
8402
8403 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8404
8405         * BufferView_pimpl.C: protect selectionLost against text == 0
8406
8407 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8408
8409         * text.C (breakParagraph): fix a setting layout to '0' problem.
8410
8411 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8412
8413         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8414         final location of file, for the included files, and graphics.
8415
8416 2002-03-05  Juergen Vigna  <jug@sad.it>
8417
8418         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8419
8420 2002-03-04  Juergen Vigna  <jug@sad.it>
8421
8422         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8423
8424         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8425         last column of multicolumn cells.
8426         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8427
8428 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8429
8430         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8431         file if it doesn't go to a temporary file.
8432
8433         * buffer.C (sgmlOpenTag):
8434         (sgmlCloseTag):  remove extra newline insertion.
8435
8436 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8437
8438         * text.C (getRowNearY): comment out debug msg
8439
8440 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8441
8442         * text2.C: first -> first_y
8443
8444         * text.C (getRowNearY): add some attemts at a possible
8445         optimization, not working.
8446
8447         * tabular.[Ch]: add BufferParams to several function so that newly
8448         created paragraph can be initialized to he default layotu for the
8449         buffers textclass.
8450
8451         * tabular-old.C (ReadOld): add buf->params to call of Init
8452
8453         * screen.C: rename text->first to text->first_y
8454
8455         * paragraph.C (breakParagraph): always set layout in the broken
8456         paragraph
8457
8458         * lyxtextclass.C (Read): remove lowercase
8459         (hasLayout): ditto
8460         (operator): ditto
8461         (delete_layout): ditto
8462
8463         * lyxtext.h: rename first -> first_y
8464
8465         * lyxlayout.C (Read): remove lowercase
8466         (name): ditto
8467         (setName): ditto
8468         (obsoleted_by): ditto
8469
8470         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8471
8472         * buffer.C (insertErtContents): add params are to InsetERT
8473         (parseSingleLyXformat2Token): add code to check if a paragraphs
8474         layout really exist.
8475         (parseSingleLyXformat2Token): add params to several inset
8476         constructors
8477         (asciiParagraph): remove lowercase, do the layout comparisons with
8478         no_case
8479
8480         * BufferView_pimpl.C (cursorNext): first -> first_y
8481         (resizeCurrentBuffer): first -> first_y
8482         (updateScrollbar): first -> first_y
8483         (scrollCB): first -> first_y
8484         (workAreaMotionNotify): first -> first_y
8485         (workAreaButtonPress): first -> first_y
8486         (checkInsetHit): first -> first_y
8487         (cursorPrevious): first -> first_y
8488         (cursorNext): first -> first_y
8489         (Dispatch): add buffer_->params to severl inset contructors
8490
8491 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8492
8493         * lyxlayout.C (Read): remove some debug info that I forgot.
8494
8495         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8496         clean up the code slightly.
8497         (makeLinuxDocFile): ditto
8498         (makeDocBookFile): ditto
8499
8500         * text2.C: layout as string
8501
8502         * text.C: layout as string
8503
8504         * paragraph_pimpl.C: layout as string
8505
8506         * paragraph.[Ch]: layout as string
8507
8508         * lyxtextclasslist.[Ch]: layout as string
8509
8510         * lyxtextclass.[Ch]: layout as string
8511
8512         * lyxtext.h: layout as string
8513
8514         * lyxlayout.[Ch]: layout as string
8515
8516         * lyx_cb.C: layout as string
8517
8518         * bufferview_funcs.C: layout as string
8519
8520         * bufferparams.C: layout as string
8521
8522         * buffer.C: layout as string
8523
8524         * LyXView.[Ch]: layout as string
8525
8526         * LaTeXFeatures.[Ch]: layout as string
8527
8528         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8529
8530         * BufferView_pimpl.C: change current_layout to string, remove
8531         lyx::layout_type.
8532         (Dispatch):
8533         (smartQuote):
8534         (insertInset):
8535         (workAreaButtonRelease): layout as string
8536
8537         * BufferView2.C (unlockInset): adjust
8538
8539         * vspace.C (asLatexCommand): use an explict temp variable.
8540
8541 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * Makefile.am: use FRONTEND_*
8544
8545 2002-03-01  Juergen Vigna  <jug@sad.it>
8546
8547         * tabular.C (SetWidthOfMulticolCell): changed to something better
8548         I hope but still work in progress.
8549         (recalculateMulticolumnsOfColumn): renamed function from
8550         recalculateMulticolCells as it is more appropriate now.
8551         (SetWidthOfCell): calculate multicols better.
8552
8553 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8556
8557         * lyxfunc.C (processKeySym): print sequence also if it is
8558         `deleted' (complete)
8559
8560         * kbsequence.C (print): print sequence even if it is deleted
8561         (complete would be a better word, actually).
8562
8563         * lyxfunc.C (dispatch): print complete options after a prefix key
8564
8565         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8566
8567 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8568
8569         * text2.C (setCharFont): eliminate setCharFont code duplication.
8570
8571 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8572
8573         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8574         LFUN_TABULAR_FEATURE (bug #177)
8575
8576 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8577
8578         * Makefile.am: remove figure.h
8579
8580 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8581
8582         * Bufferview_pimpl.C:
8583         * CutAndPasteC:
8584         * LaTeX.C:
8585         * LyXSendto.C:
8586         * buffer.C:
8587         * bufferlist.C:
8588         * converter.C:
8589         * language.C:
8590         * lyxfunc.C:
8591         * lyxvc.C:
8592         * paragraph.C:
8593         * text.C:
8594         * text2.C: remove #include "lyx_gui_misc.h".
8595
8596         * LaTeX.C: added #include <cstdio>
8597
8598 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8601         that the paragraph following this one can have.
8602
8603         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8604
8605         * vspace.C (asLatexCommand): fix bogus gcc warning
8606
8607         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8608
8609 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8610
8611         * text2.C (setLayout): get rid of redundant code
8612
8613 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8614
8615         * text2.C (incDepth): make sure depth cannot be increased beyond
8616         reasonable values.
8617
8618 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8619
8620         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8621         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8622
8623         * PainterBase.h (image):
8624         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8625         a LyXImage const *.
8626
8627 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8628
8629         * BufferView.C:
8630         * BufferView.h:
8631         * BufferView_pimpl.C:
8632         * BufferView_pimpl.h:
8633         * LaTeXFeatures.C:
8634         * LyXAction.C:
8635         * LyXView.C:
8636         * Makefile.am:
8637         * UpdateList.h:
8638         * UpdateList.C:
8639         * buffer.C:
8640         * figure.h:
8641         * figureForm.C:
8642         * figureForm.h:
8643         * figure_form.C:
8644         * figure_form.h:
8645         * lyx_cb.C:
8646         * lyx_gui.C:
8647         * lyx_gui_misc.C:
8648         * lyxfunc.C:
8649         * sp_base.h:
8650         * sp_ispell.h:
8651         * sp_pspell.h:
8652         * sp_spell.C: remove fig inset, and the crap house of
8653           cards that follows it
8654
8655 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8656
8657         * Makefile.am:
8658         * lyxserver.C:
8659         * os2_defines.h:
8660         * os2_errortable.h:
8661         * nt_defines.h: move .h into support/
8662
8663         * vms_defines.h: remove
8664
8665         * WorkArea.C: add space in debug output
8666
8667         * text2.C:
8668         * paragraph.C:
8669         * buffer.C: add WITH_WARNINGS
8670
8671         * vc-backend.h:
8672         * vc-backend.C:
8673         * bufferlist.C: s/retrive/retrieve/, add docs
8674
8675         * vspace.h:
8676         * vspace.C:
8677         * kbmap.h:
8678         * lyxlength.h:
8679         * lyxgluelength.h:
8680         * length_common.h:
8681         * chset.h:
8682         * chset.C: add docs
8683
8684         * lyxgui.C: add ID to X error handler
8685
8686         * lyxtestclass.c: fix typo
8687
8688 2002-02-26  Juergen Vigna  <jug@sad.it>
8689
8690         * tabular_funcs.C (write_attribute): changed so that some default
8691         attributes are not written at all.
8692         (getTokenValue): set default values before trying to read the
8693         value so we have the return value always set as default if we don't
8694         find the token we search for.
8695
8696         * tabular.C (Write): write bools as bools not as strings!
8697
8698 2002-02-22  Juergen Vigna  <jug@sad.it>
8699
8700         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8701         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8702
8703         * text.C (leftMargin): don't add an indent for paragraphs inside
8704         tabular cells (fix #208).
8705
8706 2002-02-21  José Matos  <jamatos@fep.up.pt>
8707
8708         * tabular.C (docBook): fixed support for long tables.
8709
8710 2002-02-20  Juergen Vigna  <jug@sad.it>
8711
8712         * text2.C (getFont): get the drawing font of the Inset if this
8713         paragraph is inside an inset (only important for InsetERT for now).
8714
8715         * buffer.C (insertErtContents): use new lanugage params in ERT
8716         constructor.
8717
8718         * CutAndPaste.C: commenting out seemingly uneeded code.
8719
8720 2002-02-19  Allan Rae  <rae@lyx.org>
8721
8722         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8723         Iterators might be simple to use but they also get invalidated.
8724         (removeAutoInsets): renamed saved cursor tracking variables and added
8725         some comments to clarify what everything does.
8726
8727 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8728
8729         * Chktex.C:
8730         * LaTeX.C:
8731         * LyXSendto.C:
8732         * converter.C:
8733         * lyx_cb.C:
8734         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8735         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8736
8737         * lyxfunc.C:
8738         * vc-backend.h: remove #include "support/syscall.h"
8739
8740         * LaTeX.C:
8741         * LyXSendto.C:
8742         * converter.C: rearrange #includes in Lars' approved fashion.
8743
8744         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8745         forward declare class Timeout in the header file.
8746
8747         * XFormsView.C: changes due to the above.
8748
8749         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8750         similar to LyXView.
8751
8752         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8753         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8754
8755 2002-02-18  José Matos  <jamatos@fep.up.pt>
8756
8757         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8758         insets contents.
8759
8760 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8761
8762         * a lot of small ws changes
8763         * add a lot of using std::XXX
8764         * use std construcs some places where approp.
8765         * use some exisint stuff from lyxfunctional where approp.
8766         * Make file changes to use partial linking (lets test this now...)
8767
8768 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8769
8770         * Chktex.C:
8771         * buffer.C:
8772         remove #include "support/syscontr.h" as it's redundant. Always has been.
8773
8774         * Chktex.C:
8775         * LaTeX.C:
8776         * LyXSendto.C:
8777         * converter.C:
8778         * lyx_cb.C:
8779         * vc-backend.C:
8780         change Systemcalls::System to Systemcalls::Wait and
8781         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8782         No change of functionality, just reflects the stripped down Systemcalls
8783         class.
8784
8785 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8786
8787         * debug.[Ch]: add a GRAPHICS type to the enum.
8788
8789 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8792
8793         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8794         there is an inset.
8795
8796 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8799         match the changes below.
8800
8801         * text2.C (toggleInset): if there is not editable inset at cursor
8802         position, try to see if cursor is _inside_ a collapsable inset
8803         and close it.
8804
8805 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8808         document menu has a nice checkbox
8809
8810 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * lyxlength.C (asLatexString): change PW to output as percent of
8813         \textwidth.
8814
8815         * lengthcommon.C: change '%' to 't%'
8816
8817         * lyxfunc.C (dispatch): a few comments from Martin
8818
8819 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * WorkArea.h:
8822         * WorkArea.C:
8823         * BufferView_pimpl.h:
8824         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8825           the X selection.
8826
8827 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * vspace.C (inPixels): fix compiler warning
8830
8831 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8832
8833         * lyxfunc.C (getStatus): fix status message for disabled commands.
8834
8835 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8836
8837         * BufferView_pimpl.C: fix crash on close buffer
8838         during selection (#227)
8839
8840 2002-01-27  Herbert Voss  <voss@lyx.org>
8841
8842         * buffer.C: link old Figure to new graphic inset
8843
8844 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8845
8846         * FontLoader.C (getFontinfo): Change the latex font names in order
8847         to match the names of type1inst.
8848
8849 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8850
8851         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8852
8853         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8854         (extchanged): ditto
8855         (ext_exist): ditto
8856         (remove_files_with_extension): ditto
8857         (remove_file): ditto
8858         (write): ditto
8859
8860         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8861         document is smaller than the work area height. Do not initialize
8862         static variables to 0.
8863
8864 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8867
8868         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8869         LFUN_LAYOUT_PARAGRAPHS.
8870
8871         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8872         tabular. It is possible to provide a possible cell, which will
8873         typically be the actcell from the corresponding insettabular
8874
8875         * lyxfunc.C (getStatus): small cleanup; disable
8876         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8877         true
8878
8879 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8882
8883         * paragraph.C (startTeXParParams):
8884         (endTeXParParams): new methods. The LaTeX code to
8885         start/end paragraph formatting
8886         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8887         empty (fixes bug #200)
8888
8889         * vspace.C (inPixels): adapt to the change below
8890         (inPixels): [later] more cleanups (remove unused variables)
8891
8892         * lyxlength.C (inPixels): change to use a width and a height as
8893         parameter.
8894
8895 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8896
8897         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8898         Replaced with \paperwidth
8899
8900         * DepTable.C (insert): add std:: qualifier
8901
8902 2002-01-18  Allan Rae  <rae@lyx.org>
8903
8904         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8905         updated also?
8906
8907         * text.C (drawInset): Turned out I didn't know enough about how
8908         rebreaking worked.  This fixes most of the redraw problems.  I see
8909         an occasional cursor trail when a line is broken now and the cursor
8910         placement can seem out by a few pixels also after a rebreak.
8911
8912 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8913
8914         * buffer.C (parseSingleLyXformat2Token): update because minipage
8915         width is now a LyXLength
8916
8917         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8918
8919         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8920         math insets
8921
8922 2002-01-17  Juergen Vigna  <jug@sad.it>
8923
8924         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8925
8926         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8927         is set correctly and the inset is updated correctly.
8928
8929 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8932         the beginning of the loop.
8933
8934 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8935
8936         * lyxrc.C: improve help for use_scalable_fonts
8937
8938 2002-01-17  Allan Rae  <rae@lyx.org>
8939
8940         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8941
8942 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8945         make sure to set their inset_owner to the right value (bug #171)
8946
8947 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8948
8949         * DepTable.h
8950         * DepTable.C: Implement mtime checking to reduce time spent doing
8951         CRCs.
8952
8953 2002-01-16  Juergen Vigna  <jug@sad.it>
8954
8955         * tabular.C (GetAdditionalHeight): one of error fixed.
8956
8957         * lyxrc.C (output): small fix in writing use_pspell.
8958
8959 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8960
8961         * sp_base.h: #include LString.h
8962
8963 2002-01-16  Allan Rae  <rae@lyx.org>
8964
8965         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8966         Can someone check this please?
8967
8968         * text.C (drawInset): It was possible that p.row would be removed by
8969         breakAgainOneRow upsetting a few other settings.  There may be another
8970         small tweak possible by setting need_break_row = 0 when p.row has been
8971         removed but I don't know enough about the logic here.
8972
8973 2002-01-15  Allan Rae  <rae@lyx.org>
8974
8975         * text.C (insertChar): removed conditional truism.
8976
8977         * BufferView2.C (removeAutoInsets): More tweaks.
8978         cur_par_prev could be a stray pointer.  Check for trailing empty line
8979         in case last line was cur_par and only had an error inset on it.
8980
8981 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8982
8983         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8984         absolute
8985
8986         * vc-backend.C (most methods):
8987         * exporter.C (Export):
8988         * converter.C (convert):
8989         (runLaTeX):
8990         * LyXSendto.C (SendtoApplyCB):
8991         * lyxfunc.C (dispatch):
8992         (menuNew):
8993         (open):
8994         (doImport):
8995         * lyx_cb.C (AutoSave):
8996         (InsertAsciiFile):
8997         * BufferView_pimpl.C (MenuInsertLyXFile):
8998         * buffer.C (runChktex): use Buffer::filePath().
8999
9000         * buffer.h: rename filename to filename_; rename filepath to
9001         filepath_ and make it private
9002         (filePath): new method
9003
9004         * buffer.C (writeFile): use fileName()
9005         (getLatexName):
9006
9007         * lyx_main.C (init): fix starting  of LyX when the binary is a
9008         link from so,ewhere else.
9009
9010         * minibuffer.C: include <cctype> for isprint
9011
9012 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9013
9014         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9015         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9016         name clash with InsetCollapsable's width function.
9017
9018 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9019
9020         * lastfiles.C: include <iterator>
9021
9022 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9023
9024         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9025         std::count.
9026
9027         * buffer.C (makeLaTeXFile): ditto.
9028         Also make loop operation more transparent.
9029
9030 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9031
9032         * ToolbarDefaults.C: remove trailing comma closing namespace.
9033
9034         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9035
9036         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9037         as in WorkArea.
9038
9039         * trans.C (Load): comment out unused variable, allowed.
9040
9041 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9042
9043         * minibuffer.[Ch] (append_char): new method to recieve input from the
9044         drop-down completion browser. If a key was pressed, then recieve this
9045         char and append it to the existing string.
9046         (peek_event): modify the positioning data passed to the completion
9047         browser so that it can be placed above the minibuffer rather than below.
9048 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9049
9050         * LyXAction.C (init): alloe error-next for readonly documents.
9051
9052         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9053         count.
9054
9055 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9056
9057         * bufferlist.C (readFile): create the buffer _after_ checking that
9058         the file exists.
9059
9060         * lyxfunc.C (verboseDispatch): fix handling of arguments
9061
9062         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9063
9064         * lyxrc.C: use string::erase() instead of initializing to "".
9065
9066
9067 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * BufferView_pimpl.h:
9070         * BufferView_pimpl.C:
9071         * WorkArea.h:
9072         * WorkArea.C:
9073         * text2.C: tell X when we have made a selection for copying
9074
9075 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9076
9077         * BufferView_pimpl.C (MenuInsertLyXFile):
9078         * lyxfunc.C (menuNew):
9079         (open):
9080         (doImport): add shortcuts to directory buttons
9081
9082         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9083         open a float)
9084
9085         * lyxfunc.C (setStatusMessage):
9086         (getStatusMessage): new methods
9087         (getStatus):use setStatusMessage instead of setErrorMessage
9088         (dispatch): when function is disabled, set error message here
9089         [instead of in getStatus previously]
9090
9091         * BufferView_pimpl.C (workAreaButtonRelease): update
9092         toolbar/menubar here too.
9093
9094 2002-01-13  Allan Rae  <rae@lyx.org>
9095
9096         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9097         Now seems indestructible.  Remaining task is to audit all other
9098         code affected by deleteEmptyParagraphMechanism.  One small quirk
9099         left is that an empty document with an error in the preamble can
9100         be made to report an error but no error box appears.  I don't know
9101         where it goes.
9102         (removeAutoInsets): Improved comments.
9103
9104 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * Thesaurus.h:
9107         * Thesaurus.C: update for Aiksaurus 0.14
9108
9109 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * text2.C (firstParagraph): removed member function, all uses
9112         replaces with ownerParagraph
9113         (redoParagraphs): here
9114         (updateInset): here
9115         (toggleAppendix): here
9116         * BufferView2.C (insertErrors): here
9117         (setCursorFromRow): here
9118
9119 2002-01-13  Allan Rae  <rae@lyx.org>
9120
9121         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9122         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9123         There is still a way to segfault this although you may have to do this
9124         multiple times: Have an InsetERT with an unknown command in it.
9125         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9126         <down-arrow>, <Enter> again, View->DVI, BANG!
9127
9128         * text2.C (setCursor):
9129         (deleteEmptyParagraphMechanism):
9130         * lyxtext.h (setCursor):
9131         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9132         Making use of the return value may help fix other bugs.
9133
9134 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9137
9138         * LyXView.C (updateMenubar): call MenuBar::update here
9139         (updateToolbar): but not here
9140         (showState): do not update toolbar/menubar
9141
9142         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9143         should need to care about that.
9144
9145         * lyxfunc.C (verboseDispatch): simplify a bit
9146         (getStatus): have a version which takes a pseudoaction, and
9147         another which requires a (kb_action,string).
9148
9149         * LyXAction.C (retrieveActionArg): make it work also when action
9150         is not a pseudo-action.
9151         (getActionName): simplify a bit
9152         (helpText):
9153
9154 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9155
9156         * lyxfunc.C (verboseDispatch): new families of methods with
9157         several ways to specify a command and a bool to indicate whether
9158         the command name and shortcut should be displayed in minibuffer
9159         (eventually, we could extend that to a finer bitmask like
9160         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9161         (dispatch): the pristine dispatch command which just, well,
9162         dispatchs! Note it still sets its result to minibuffer; I'm not
9163         sure we want that.
9164
9165         * lyxfunc.h: remove setHintMessage
9166
9167         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9168
9169 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * BufferView_pimpl.C (specialChar): delete new inset if we have
9172         not been able to insert it.
9173
9174         * kbmap.C: revert to using int instead of kb_action, since all we
9175         are dealing with is pseudo-actions.
9176
9177         * LyXAction.C (searchActionArg): change to return int instead of
9178         kb_action, since the result is a pseudoaction.
9179
9180 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9181
9182         * buffer.C (insertErtContents): Fix (partially) the font bug.
9183
9184 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9185
9186         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9187         as the other one is broken on my machine!
9188
9189 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9190
9191         * commandtags.h:
9192         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9193
9194 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9195
9196         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9197         reflect their actual use. Provide compatibility code for older lyxrc
9198         files.
9199
9200         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9201         FL_NORMAL_STYLE.
9202         change names of popup font variables in line with the changes to lyxrc.C
9203
9204 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * buffer.C (asciiParagraph): avoid outputing a word twice after
9207         an inset.
9208
9209         * lyxrc.C (getDescription): document that document_path and
9210         template_path can be empty.
9211
9212 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9213
9214         * LaTeXFeatures.C (getMacros):
9215         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9216
9217         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9218
9219         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9220         getPackages.
9221         (getPackages): rename feature "floats" to "float". Use an array to
9222         iterate over 'simple' features (i.e. just a \usepackage). Add
9223         handling of "amsmath" (renamed from "amsstyle").
9224
9225 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9226
9227         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9228         features list.
9229
9230 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9231
9232         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9233         FuncStaus::FuncStatus & FuncStaus::some_method().
9234
9235 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9236
9237         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9238         of the func_satus stuff. Edited and massaged in various ways by
9239         JMarc.
9240
9241         * lyxfunc.C (getStatus): use FuncStatus
9242
9243 2002-01-08  Juergen Vigna  <jug@sad.it>
9244
9245         * text.C (nextBreakPoint): use function Inset::isChar().
9246
9247         * paragraph.C (TeXOnePar): use function
9248         Inset::forceDefaultParagraphs.
9249
9250         * buffer.C (latexParagraphs): use function
9251         Inset::forceDefaultParagraphs.
9252
9253 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9254
9255         * lyx_gui.C (init): set the style of the menu popups to
9256         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9257
9258 2002-01-07  Juergen Vigna  <jug@sad.it>
9259
9260         * text.C (setHeightOfRow): small fix
9261         (prepareToPrint): don't look at alignment if we don't have the place
9262         for doing it.
9263
9264 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9265
9266         * box.C: New file. Move the Box methods and functions out of box.h,
9267         following Lars' suggestion.
9268
9269 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9270
9271         * box.h: #include "support/LOstream.h", needed for inlined function.
9272
9273         * lyxtextclass.C:
9274         * lyxtextclasslist.C: added some using std declarations.
9275
9276 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9277
9278         * box.h: make signed dimensions to allow insets wider than
9279           the screen (bug #162)
9280
9281         * BufferView_pimpl.C: add some insetHit debug
9282
9283 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * vc-backend.C: add FIXME
9286
9287 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * lyxfunc.C (getStatus): enable code for showing math font status
9290         in toolbar/menu.
9291
9292 2002-01-07  Juergen Vigna  <jug@sad.it>
9293
9294         * text.C (nextBreakPoint): removed debug output not needed anymore.
9295
9296 2002-01-06  Juergen Vigna  <jug@sad.it>
9297
9298         * text.C (nextBreakPoint): fixed up this function we had this bug
9299         since ever but now hopefully we break row better.
9300         (insertChar): we have to check if an inset is the next char as it
9301         could now happen that a large inset is causing a break.
9302
9303 2002-01-05  Juergen Vigna  <jug@sad.it>
9304
9305         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9306         if it doesn't like to be drawed.
9307
9308 2002-01-04  Juergen Vigna  <jug@sad.it>
9309
9310         * BufferView2.C (lockInset): forgot to set a cursor.
9311
9312         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9313
9314 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9315
9316         * FormMathsPanel.C:
9317         * FormMathsPanel.h
9318         * MathsSymbols.C:
9319         * form_maths_panel.C:
9320         * form_maths_panel.h:
9321         * form_maths_panel.fd: implemented sub- and super- buttons in math
9322         panel.
9323
9324         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9325         (or ^ space) to be used as in TeX (req'd by André).
9326
9327         * lyxfunc.C: Allow ^ and _ again to be used both as
9328         super/subscript (mathed) and as themselves (in text).
9329
9330 2002-01-03  Allan Rae  <rae@lyx.org>
9331
9332         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9333         "LyX" or the filename of the current buffer if it has one.  This is a
9334         modified form of John Levon's patch.
9335
9336         * XFormsView.C (setWindowTitle): also set icon title.
9337
9338         * LyXView.h (setWindowTitle): signature changed.
9339         * XFormsView.h (setWindowTitle): ditto.
9340
9341 2002-01-02  Juergen Vigna  <jug@sad.it>
9342
9343         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9344
9345 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9346
9347         * screen.C (topCursorVisible): introduce a temp var for
9348         text->cursor.row(), handle the case where this row is null. (kindo
9349         hachish)
9350
9351         * text2.C (setCursor): add a couple of asserts.
9352
9353         * paragraph.h (inset_iterator): add -> operator
9354
9355         * paragraph.[Ch] (autoDeleteInsets): remove member function
9356
9357         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9358         cursor pos correctly and handle inset deletion by itself.
9359         (insertErrors): move iterator declaration out of for expression
9360
9361         * lyxtextclass.C: add <algorithm>
9362
9363         * Makefile.am: added the new files to sources, removed layout.C
9364
9365         * layout.C: removed file
9366
9367         * layout.h: remove LYX_DUMMY_LAYOUT
9368
9369         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9370         layout.
9371
9372         * lyxlayout.[Ch]:
9373         * lyxtextclass.[Ch]:
9374         * lyxtextclasslist.[Ch]: new files
9375
9376         * include order changes to a lot of files, also changes because of
9377         the six new files.
9378
9379 2001-12-27  Juergen Vigna  <jug@sad.it>
9380
9381         * buffer.C (asciiParagraph): more fixes.
9382
9383         * tabular.C (ascii): make ascii export support export of only the
9384         data separated by a column-delimiter.
9385         (ascii): better support for ascii export.
9386
9387         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9388
9389 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9390
9391         * tabular_funcs.C: use a "using std::getline" instead of the
9392         previous fix from Angus (necessary for cxx + lyxstring)
9393
9394 2001-12-24  Juergen Vigna  <jug@sad.it>
9395
9396         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9397
9398         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9399         problems. First check a minipage also if we have some ert-contents
9400         (not only on par->size(), second set the right depth of the paragraph
9401         on the relink to the root-paragraph-list!
9402
9403         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9404         which then did not anymore update the main paragraphs on undo/redo!
9405
9406 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9407
9408         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9409         code. Support all font-changing funcs (even those which are not in
9410         menu currently). Support for reporting font settings in
9411         mathed (disabled until Andre provides a function on mathed's side).
9412
9413         * func_status.h (toggle): small helper function to set toggle
9414         state on a flag.
9415
9416 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9417
9418         * tabular_funcs.C: getline -> std::getline
9419
9420 2001-12-21  Juergen Vigna  <jug@sad.it>
9421
9422         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9423         accessed and could be 0 (I couldn't generate this but it seems
9424         Michael could!).
9425
9426 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9427
9428         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9429         * tabular_funcs.h: here and include iosfwd
9430
9431 2001-12-20  Juergen Vigna  <jug@sad.it>
9432
9433         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9434         inside inset but undo_par was.
9435
9436 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9437
9438         * Thesaurus.C: always include <config.h> in sources.
9439
9440         * Painter.h:
9441         * lyxlookup.h:
9442         * box.h: do not include <config.h> in header files
9443
9444         * text.C (paintLastRow): remove unused variable
9445
9446         * text.C (transformChar):
9447         (insertChar):
9448         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9449
9450         * Painter.C (text):
9451         * font.C (width): rewrite to use uppercase() instead of
9452         islower/toupper.
9453
9454         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9455
9456 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * lyxfind.C: clean up of find failure position change
9459
9460 2001-12-20  Juergen Vigna  <jug@sad.it>
9461
9462         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9463
9464         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9465         (TeXRow): added to LaTeX a single tabular row.
9466         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9467         (Latex): simplified and finally good LT-h/f support.
9468         (various_functions): just small adaptions for LT-h/f support.
9469
9470         * tabular_funcs.[hC]: added and moved here all not classfunctions
9471         of LyXTabular.
9472
9473 2001-12-19  Juergen Vigna  <jug@sad.it>
9474
9475         * tabular.[Ch]: better support for longtabular options (not finished
9476         yet!)
9477
9478 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9479
9480         * text.C (paintLastRow): use the label font instead of the font of
9481         the last character to compute the size of *_BOX. This makes more
9482         sense and avoids a crash with empty paragraphs.
9483         Use Painter::rectangle to draw EMPTY_BOX.
9484
9485 2001-12-19  Juergen Vigna  <jug@sad.it>
9486
9487         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9488         the paragraphs if the replaced paragraph is not the first one!
9489         Tried to delete not used paragraphs but does not work yet so for
9490         now it's inside #ifdef's and by default off!
9491
9492 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * MenuBackend.C: include "lyx_main.h" instead of declaring
9495         lastfiles (actually was declared as LastFiles* instead of a
9496         scoped_ptr).
9497
9498 2001-12-17  Juergen Vigna  <jug@sad.it>
9499
9500         * tabular.C (AppendColumn): applied John's fix
9501
9502 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * BufferView.h:
9505         * BufferView.C:
9506         * BufferView_pimpl.h:
9507         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9508
9509         * Makefile.am:
9510         * box.h: new start of class for above
9511
9512         * lyxfunc.C: ignore space-only minibuffer dispatches.
9513           Show the command name when it doesn't exist
9514
9515         * minibuffer.C: don't add empty lines to the history
9516
9517         * minibuffer.C: add a space on dropdown completion
9518
9519 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * text.C: fix line above/below drawing in insets
9522
9523 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9524
9525         * lyxlength.C (LyXLength): Initialize private variables.
9526
9527 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9528
9529         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9530         when inserting error insets.
9531
9532 2001-12-13  Juergen Vigna  <jug@sad.it>
9533
9534         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9535         actually sometimes the before-paragraph.
9536         (setUndo): don't clear the redostack if we're not actually undoing!
9537
9538 2001-12-06  Juergen Vigna  <jug@sad.it>
9539
9540         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9541         and fixed redoing of main paragraph, so we can use it now ;)
9542
9543         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9544
9545 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9546
9547         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9548         Juergen's request
9549
9550 2001-12-13  André Pönitz <poenitz@gmx.net>
9551
9552         * undostack.[Ch]:
9553         * undo_func.C: minor cleanup
9554
9555 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9556
9557         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9558         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9559         font in urw-fonts package which is marked as -urw-fontspecific and
9560         does not work (incidentally, changing the encoding in the
9561         fonts.dir of this package to -adobe-fontspecific fixes the
9562         problem).
9563
9564         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9565         is a crash when undoing first paragraph (Juergen, please take a
9566         look). THis does not mean the undo fix is wrong, just that it
9567         uncovers problems.
9568
9569         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9570         the (Paragraph*) version when needed instead of duplicating the
9571         code.
9572
9573         * text.C (workWidth): use Inset::parOwner to find out where the
9574         inset has been inserted. This is a huge performance gain for large
9575         documents with lots of insets. If Inset::parOwner is not set, fall
9576         back on the brute force method
9577
9578         * paragraph_pimpl.C (insertInset):
9579         * paragraph.C (Paragraph):
9580         (cutIntoMinibuffer): set parOwner of insets when
9581         inserting/removing them
9582
9583         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9584
9585 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9586
9587         * commandtags.h:
9588         * LyXAction.C:
9589         * lyx_main.C:
9590         * lyxfunc.C:
9591         * mathed/formulabase.C:
9592         * mathed/math_cursor.[Ch]:
9593         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9594
9595
9596 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9597
9598         * lyxlength.[Ch] (operator!=): new function
9599
9600 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * text.C (workWidth): use Inset::parOwner to find out where the
9603         inset has been inserted. This is a huge performance gain for large
9604         documents with lots of insets. If Inset::parOwner is not set, fall
9605         back on the brute force method
9606
9607         * paragraph_pimpl.C (insertInset):
9608         * paragraph.C (Paragraph):
9609         (cutIntoMinibuffer): set parOwner of insets when
9610         inserting/removing them
9611
9612         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9613
9614 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * tabular-old.C (getTokenValue):
9617         * tabular.C (getTokenValue):
9618         (write_attribute): new versions for LyXLength
9619         (everywhere): adjust the use of widths
9620
9621         * tabular.h: change the type of widths from string to LyXLength
9622
9623 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9624
9625         * paragraph.C: fixed missing line number count when exporting
9626         Environments to LaTeX file
9627
9628         * buffer.C: added informational message for checking line numbers.
9629
9630 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9631
9632         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9633         paragraph, do the 'double space' part, but not the 'empty
9634         paragraph' one.
9635
9636         * text.C (workWidth): small optimization
9637         (getLengthMarkerHeight): use minimal size for negative lengths.
9638
9639 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9640
9641         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9642
9643         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9644
9645 2001-12-11  André Pönitz <poenitz@gmx.net>
9646
9647         * FontLoader.C:
9648         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9649
9650 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * text2.C: keep selection on a setFont()
9653
9654 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9655
9656         * lyx_cb.C: another bv->text misuse, from insert label
9657
9658 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * kbsequence.h:
9661         * kbsequence.C: re-instate nmodifier mask
9662
9663 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9664
9665         * lyx_main.h: make lyxGUI private.
9666
9667 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * lyxfind.C: place the cursor correctly on failed search
9670
9671 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * text.C (getLengthMarkerHeight): for small heights, the arrows
9674         are not always on top/bottom of the text
9675         (drawLengthMarker): smaller arrows; take the left margin in
9676         account; draw also vfills.
9677         (paintFirstRow):
9678         (paintLastRow): remove special code for vfill and standard spaces,
9679         since everything is handled in drawLengthMarker now.
9680
9681 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9682
9683         * buffer.C (insertErtContents): try to handle font and language
9684         interaction a bit better.g
9685
9686         * ColorHandler.C (updateColor): change the hash to cover the whole
9687         LColor enum, ws cleanup
9688         (getGCLinepars): ditto
9689         (getGCLinepars): only lookup in the linecache once.
9690
9691 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9692
9693         * iterators.C (operator++): Make the iterator more robust
9694
9695         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9696         (John's patch)
9697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9698
9699 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9700
9701         * lyxtext.h:
9702         * text.C: better added space drawing
9703
9704 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * LyXView.C:
9707         * BufferView2.C: fix layout combo update on inset unlock
9708
9709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * Makefile.am: don't compile unused files
9712
9713 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * lyxfunc.C:
9716         * commandtags.h:
9717         * LyXAction.C: remove old LFUN_LAYOUTNO
9718
9719 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * paragraph_pimpl.h:
9722         * paragraph_pimpl.C: isTextAt() doesn't need font param
9723
9724 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * lyxlex.h:
9727         * lyxlex.C: little cleanup
9728
9729 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * BufferView_pimpl.C: fix insertAscii for insets
9732
9733 2001-12-05  Juergen Vigna  <jug@sad.it>
9734
9735         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9736         set the right font on the "multi" paragraph paste!
9737
9738 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9739
9740         * trans_decl.h:
9741         * trans_mgr.[Ch]:
9742         * trans.[Ch]:
9743         * lyxgluelength.C:
9744         * lyxlength.C: remove out-commented code.
9745
9746         * BufferView_pimpl:
9747         * CutAndPaste.C:
9748         * DepTable.C:
9749         * buffer.C:
9750         * chset.C:
9751         * lastfiles.C:
9752         * lyxlex.C:
9753         * lyxlex_pimpl.C:
9754         * lyxserver.C:
9755         * screen.C:
9756         * tabular-old.C:
9757         * tabular.C:
9758         * text.C:
9759         * trans_mgr.C:
9760         * vc-backend.C: change "while(" to "while ("
9761
9762         * lyxlength.[Ch]: add zero function to check if length is zero or
9763         not
9764         * lyxgluelength.C: use it
9765
9766 2001-12-05  Allan Rae  <rae@lyx.org>
9767
9768         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9769         Works for 2.95.3, from what I understand of Garst's reports this should
9770         work for other g++ versions.  We're screwed if the abs(int) definition
9771         changed between bugfix releases of gcc.
9772
9773 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * text.C: fix chapter label offset !
9776
9777 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9778
9779         * lyxtext.h:
9780         * text.C: fix hfill at end of line, clean up
9781
9782 2001-12-04  Juergen Vigna  <jug@sad.it>
9783
9784         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9785         that we force an update of the inset and it's owners if neccessary.
9786
9787 2001-12-03  Juergen Vigna  <jug@sad.it>
9788
9789         * text.C (rowLast): simplified code
9790
9791 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * lyxfunc.C: fix show options on timeout
9794
9795 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * screen.C (topCursorVisible): scroll half a page when the cursor
9798         reached top of bottom of screen
9799
9800 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * minibuffer.C: deactivate on loss of focus
9803
9804 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9805
9806         * vspace.[Ch] (operator!=): add operator.
9807
9808 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * BufferView_pimpl.C: refuse to open an inset when
9811         there's a selection.
9812
9813 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * BufferView_pimpl.C: allow to click on RHS of full row insets
9816
9817 2001-11-30  Juergen Vigna  <jug@sad.it>
9818
9819         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9820         insets for undo reasons.
9821
9822 2001-11-28  André Pönitz <poenitz@gmx.net>
9823
9824         * vspace.[Ch]: cosmetical changes
9825
9826 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * LyXAction.h:
9829         * LyXAction.C:
9830         * lyxfunc.h:
9831         * lyxfunc.C:
9832         * kbmap.h:
9833         * kbmap.C:
9834         * lyxrc.C:
9835         * kbsequence.h:
9836         * kbsequence.C: part re-write of old kb code
9837
9838         * Painter.C:
9839         * WorkArea.C: remove Lgb_bug_find_hack
9840
9841 2001-11-30  José Matos <jamatos@fep.up.pt>
9842
9843         * buffer.C (makeDocBookFile): add a comment to point a hack.
9844         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9845         Fixed a double write of labels.
9846
9847 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9848
9849         * LaTeX.C:
9850         * LaTeX.h Fixed bug in LaTeX class where it would not
9851         re-run latex if no depfiles were changed, but the .dvi was removed.
9852
9853 2001-11-28  André Pönitz <poenitz@gmx.net>
9854
9855         * all the files from the change on 2001/11/26:
9856         use lyx::layout_type instead of LyXTextClass::size_type
9857         use lyx::textclass_type instead of LyXTextClassList::size_type
9858
9859 2001-11-29  Juergen Vigna  <jug@sad.it>
9860
9861         * text.C: added support for paragraph::isFreeSpacing()
9862
9863         * buffer.C: same as above
9864
9865         * paragraph.h: inserted isFreeSpacing() function to enable
9866         FreeSpacing inside InsetERT.
9867
9868         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9869         of the paragraph's in the cut/copy buffer to 0!
9870
9871         * text2.C (removeRow): remove the assert as it can!
9872
9873         * lyxtext.h: added helper function firstRow returning firstrow and
9874         made firstrow private again.
9875
9876         * BufferView2.C (lockInset): don't relock if we're already locked!
9877
9878         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9879         the only paragraph.
9880         (removeRow): added Assert::(firstrow)
9881
9882         * debug.C: forgot to add INSETTEXT here.
9883
9884 2001-11-28  Juergen Vigna  <jug@sad.it>
9885
9886         * sp_spell.C (initialize): changed error text to more general
9887         spellchecker command use (not only ispell!)
9888
9889         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9890
9891         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9892
9893 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * vspace.C: initialise lyxgluelength on failure
9896
9897 2001-11-28  Allan Rae  <rae@lyx.org>
9898
9899         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9900         declaration & definition that looks like a function declaration.
9901
9902 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9903
9904         * BufferView2.C (copy):
9905         (copyEnvironment): do not clear the selection when doing a copy.
9906
9907         * text.C (paintFirstRow): compilation fix
9908
9909 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9910
9911         * tabular.C (Latex): correct line count when writing latex.
9912
9913 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * paragraph_pimpl.h:
9916         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9917           bug a bit
9918
9919 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * text.C:
9922         * LColor.h:
9923         * LColor.C: change vfillline->added_space
9924
9925         * text.C: add markers and text for added space
9926
9927         * vspace.C: fix comment
9928
9929 2001-11-28  André Pönitz <poenitz@gmx.net>
9930
9931         * paragraph.C: whitespace changes
9932         * all the other files from the change on 2001/11/26:
9933         change *::pos_type into lyx::pos_type
9934
9935 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9938         language of the document when inserting error insets.
9939
9940 2001-11-26  André Pönitz <poenitz@gmx.net>
9941
9942         * BufferView_pimpl.[Ch]:
9943         *       CutAndPaste.C:
9944         * buffer.[Ch]:
9945         * lyxcursor.[Ch]:
9946         * lyxfind.C:
9947         * lyxfunc.C:
9948         * lyxrow.[Ch]:
9949         * paragraph.[Ch]:
9950         * paragraph_pimpl.[Ch]:
9951         * sp_spell.C:
9952         * text.C:
9953         * text2.C: reduce header dependencies, introduce type for positions
9954
9955 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * <various>: change to use Alert.h
9958
9959 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9960
9961         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9962         when encountering an unknown token.
9963         (readLyXformat2): Show an error message if there were unknown tokens.
9964
9965 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * BufferView2.C:
9968         * BufferView_pimpl.C:
9969         * buffer.C:
9970         * paragraph.h:
9971         * text.C:
9972         * text2.C: use par->isInset()
9973
9974 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * paragraph_pimpl.h:
9977         * paragraph_pimpl.C: cleanup
9978
9979 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9980
9981         * text2.C (removeRow):
9982         * text.C (setHeightOfRow): remove useless (and costly) call to
9983         getRow.
9984
9985 2001-11-20  Allan Rae  <rae@lyx.org>
9986
9987         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9988         Now need Inset*::checkInsertChar() to return true for appropriate
9989         cases so that the characters in the minibuffer will actually be
9990         inserted.
9991
9992 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9993
9994         * text.C: change the order of the includes.
9995         (workWidth): initialize it at once.
9996         (workWidth): make maxw unsigned
9997         (setHeightOfRow): remove unused variable (inset)
9998         (selectSelectedWord): remove unused variable (inset)
9999         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10000
10001 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10002
10003         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10004         server is not running.
10005         (openConnection):
10006         (closeConnection): add debug info when server is disabled.
10007
10008         * ColorHandler.C (getGCForeground): send debug message to GUI
10009         channel.
10010
10011         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10012
10013         * kbmap.C (bind): modify because return conventions of
10014         kb_sequence::parse have changed.
10015
10016         * kbsequence.C (parse): only ignore spaces and not any stupid
10017         control character. This avoids tests like s[i] <= ' ', which are
10018         guaranteed to fail with 8bit characters and signed chars.
10019         Change return code to string::npos when there have been no error
10020         (0 was a bad idea when error is at first character)
10021
10022 2001-11-14  José Matos  <jamatos@fep.up.pt>
10023
10024         * buffer.h:
10025         * buffer.C (simpleDocBookOnePar): removed unused argument.
10026
10027 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10028
10029         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10030         insets which are part of a word. Paragraph::isLetter takes care of
10031         that now. Use Paragraph::isInset to identify insets.
10032         (selectSelectedWord): do not test for hyphenation break.
10033
10034         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10035         that protected spaces are considered as spaces.
10036
10037         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10038         Inset::isLetter.
10039
10040 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * lyxserver.h:
10043         * lyxserver.C: fix it. and small cleanup.
10044
10045 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * BufferView_pimpl.C: use inline helpers
10048
10049         * LaTeXFeatures.h:
10050         * LaTeXFeatures.C: fix typos
10051
10052         * Spacing.h:
10053         * Spacing.C: move spacing_string into class
10054
10055         * ToolbarDefaults.C: move stuff into namespace anon
10056
10057         * layout.h: update enum
10058
10059         * lyxfunc.C: use better debug
10060
10061         * minibuffer.h: fix typo
10062
10063         * debug.h:
10064         * debug.C:
10065         * WorkArea.C: add and use Debug::WORKAREA
10066
10067         * lyxtext.h:
10068         * text.C:
10069         * text2.C: code re-organisation, inline helpers
10070
10071 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10072
10073         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10074         std::vector.empty().
10075
10076 2001-11-09  Allan Rae  <rae@lyx.org>
10077
10078         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10079         '\n's after tables.  Tabular and ERT inset work now makes this no
10080         longer necessary.
10081
10082 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * minibuffer.h:
10085         * minibuffer.C: fix crash, improve drop-down completion
10086
10087 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * lyxserver.h:
10090         * lyxserver.C: invalidate fd's when doing endPipe()
10091
10092 2001-11-08  José Matos  <jamatos@fep.up.pt>
10093
10094         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10095         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10096
10097         * paragraph.h:
10098         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10099
10100 2001-11-07  José Matos  <jamatos@fep.up.pt>
10101
10102         * buffer.h:
10103         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10104         const qualifier.
10105
10106         * buffer.C (sgmlOpenTag):
10107         * buffer.C (sgmlCloseTag): removed debug info.
10108
10109         * buffer.h (sgmlOpenTag):
10110         * buffer.h (sgmlCloseTag): made public.
10111
10112 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10113
10114         * buffer.C (saveParamsAsDefaults):
10115         * lyx_cb.C (MenuLayoutSave): remove
10116
10117         * LyXAction.C (init):
10118         * commandtags.h:
10119         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10120
10121 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * buffer.C (setPaperStuff): removed from here...
10124
10125         * bufferparams.C (setPaperStuff): ... and moved there.
10126
10127 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * minibuffer.h:
10130         * minibuffer.C:
10131         * XFormsView.C: add support for drop-down completion
10132
10133 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10134
10135         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10136         commands.
10137
10138 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10141         disabled.
10142
10143 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * lyx_main.C: change ref to known bugs
10146
10147 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10148
10149         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10150         to work around older babel problems.
10151
10152 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10153
10154         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10155
10156 2001-10-24  Juergen Vigna  <jug@sad.it>
10157
10158         * tabular-old.C (ReadOld): below variable changes reflected.
10159
10160         * tabular.[Ch]: added ltType struct for longtable header/footer
10161         defines and changed all instances where they are used. Added
10162         future support for double top/bottom rows.
10163
10164 2001-10-24  José Matos  <jamatos@fep.up.pt>
10165
10166         * buffer.h (docbookHandleCaption):
10167         * buffer.C (docbookHandleCaption): removed unused function.
10168         (makeDocBookFile): moved docbook supported version to v4.1.
10169
10170 2001-10-24  José Matos  <jamatos@fep.up.pt>
10171
10172         * tabular.h:
10173         * tabular.C (docbookRow): new function to export docbook code of a row.
10174         (DocBook): now honors the longtable flags.
10175
10176 2001-10-23  José Matos  <jamatos@fep.up.pt>
10177
10178         * LaTeXFeatures.h:
10179         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10180         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10181
10182         * buffer.C (makeLinuxDocFile):
10183         (makeDocBookFile): reworked the preamble, more clean, and with
10184         support for lyx defined entities. Changed the document declaration
10185         to be more XML friendly.
10186
10187         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10188         if we need to output XML that should be done with a filter.
10189
10190 2001-10-22  Juergen Vigna  <jug@sad.it>
10191
10192         * sp_pspell.h (class PSpell): add alive function needed in the
10193         controller to see if the spellchecker could be started.
10194
10195 2001-10-22  Juergen Vigna  <jug@sad.it>
10196
10197         * buffer.C (insertStringAsLines): modify the font for inserting
10198         chars in certain conditions by calling checkInsertChar(font).
10199
10200 2001-10-19  Juergen Vigna  <jug@sad.it>
10201
10202         * text.C (workWidth): use getRow instead of wrong algorithm.
10203         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10204
10205 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * lyxserver.h:
10208         * lyxserver.C:
10209         * lyx_main.h:
10210         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10211
10212 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10213
10214         * text.C (workWidth): do not search for the exact row when
10215         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10216         optimization for big documents.
10217
10218 2001-10-18  Juergen Vigna  <jug@sad.it>
10219
10220         * text.C (workWidth): new function with added Inset * parameter.
10221
10222 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10225
10226         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10227         change return type of getColumnNearX.
10228
10229
10230         * text.C (changeRegionCase): use uppercase/lowercase instead of
10231         toupper/tolower.
10232         (leftMargin):
10233         (rightMargin): simplify code by factoring out the uses of
10234         textclasslist.
10235         (labelFill):
10236         (numberOfHfills):
10237         (setHeightOfRow):
10238         (appendParagraph): use Paragraph::size_type
10239
10240 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10241
10242         * vspace.C (asLatexString): add a missing break
10243
10244 2001-10-15  Herbert Voss  <voss@perce.de>
10245
10246         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10247
10248 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10249
10250         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10251         is not available.
10252
10253 2001-10-10  André Pönitz <poenitz@gmx.net>
10254
10255         * lyxfunc.C: removed greek_kb_flag.
10256
10257 2001-10-10  Herbert Voss  <voss@perce.de>
10258
10259         * lyx_main.C: delete global string help_lyxdir.
10260
10261 2001-10-09  Herbert Voss  <voss@perce.de>
10262
10263         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10264
10265         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10266
10267         * lyx_main.C: added global string help_lyxdir.
10268
10269         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10270
10271 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10272
10273         * lyxrc.C (set_font_norm_type): support iso8859-4
10274
10275 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10276
10277         * LaTeX.C (deplog): add another regex for MikTeX
10278
10279 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10280
10281         * lyxrc.C (set_font_norm_type): support iso8859-3
10282
10283 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10284
10285         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10286
10287         * LaTeXFeatures.C: remove special case of french and index
10288
10289         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10290         before \begin{document}). This solves several incompatibilities.
10291
10292 2001-10-03  Garst Reese  <reese@isn.net>
10293
10294         * lyx_cb.C: change CheckTex error msg.
10295
10296 2001-10-03  José Matos  <jamatos@fep.up.pt>
10297
10298         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10299
10300 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10301
10302         * .cvsignore: update
10303
10304         * lyx_main.C (commandLineVersionInfo): use new style version info.
10305
10306         * buffer.C (writeFile):
10307         (makeLaTeXFile):
10308         (makeLinuxDocFile):
10309         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10310
10311         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10312
10313         * version.h: update to use stuff in version.C
10314
10315         * version.C.in: new file. Contains version information determined
10316         at compile time. This is a merging of version.h and
10317         version_info.h.in.
10318
10319 2001-10-03  Juergen Vigna  <jug@sad.it>
10320
10321         * BufferView_pimpl.C (update): don't change "dirty" status in
10322         updateInset call.
10323
10324 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10325
10326         * WorkArea.C (c-tor): re-position version string slightly.
10327
10328 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10329
10330         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10331         revert to previous code.
10332
10333         WorkArea.[Ch]: (show, destroySplash): methods removed.
10334
10335         WorkArea.C: rework code so that it's an amalgam of the codes before and
10336         after the splash screen was moved to WorkArea.
10337
10338 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10339
10340         * lyxrc.C (read):
10341         * vspace.C (inPixels):
10342         (lyx_advance):
10343         * kbmap.C (bind):
10344         * buffer.C (insertStringAsLines):
10345         (asciiParagraph): fix types to be large enough
10346
10347         * lyxlex_pimpl.h: change member status from short to int
10348
10349         * layout.h: fix type of endlabeltype
10350
10351         * kbmap.C (bind):
10352         * kbsequence.C (parse): change return type to string::size_type
10353
10354         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10355         variable
10356
10357         * Bullet.C (bulletSize):
10358         (bulletEntry): do not use short ints as parameters
10359
10360         * BufferView2.C (insertLyXFile): change a char to an int.
10361
10362         * WorkArea.C (WorkArea): remove unneeded floats in computation
10363
10364 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10365
10366         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10367
10368         * paragraph.C (asString): Do not ignore newline/hfill chars when
10369         copying to the clipboard.
10370
10371 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10372
10373         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10374         after a multi-line inset.
10375
10376 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * paragraph.C (validate): Set NeedLyXFootnoteCode
10379
10380 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10381
10382         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10383         and decrease-error to decrease.
10384
10385 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10388         it more readable (should be equivalent)
10389
10390 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10391
10392         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10393
10394 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10397         of a cursor (row, etc.) after a character has been deleted
10398         (deleteEmptyParagraphMechanism): call the method above on _all_
10399         cursors held by the LyXText when a double space has been
10400         detected/deleted.
10401
10402 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10403
10404         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10405         pixmap.
10406         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10407
10408         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10409         background. Use greyOut() and the new show() methods to toggle between
10410         the foreground and background. Add code to remove the splash after
10411         its initial showing.
10412
10413         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10414         (create_forms): no longer call Dialogs::showSplash.
10415
10416 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * .cvsignore: add version_info.h
10419
10420 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10421
10422         * version_info.h.in: new file
10423
10424         * Makefile.am: add version_info.h.in
10425
10426         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10427         version_info.h instead of VERSION_INFO
10428
10429 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10430
10431         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10432         The ERT inset now returns string().
10433
10434 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10435
10436         * lyxtext.h, text.C (selectNextWord): renamed as
10437         selectNextWordToSpellcheck.
10438
10439         * text.C (selectNextWordToSpellcheck): Modified to not select
10440         words inside an ERT inset.
10441
10442 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * lyx_cb.C (MenuLayoutSave): change a bit the question
10445
10446         * sp_base.h: include <sys/types.h>
10447
10448 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10449
10450         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10451
10452 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10453
10454         * several files: fix typos in user-visible strings
10455
10456 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10457
10458         * text2.C (pasteSelection): do not set the selection, since it
10459         will be cleared later. Actually, the intent was to fix the way the
10460         selection was set, but I figured rmoving the code was just as good.
10461
10462 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10463
10464         * FontLoader.C (available): Check if font is available without
10465         loading the font.
10466
10467 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10468
10469         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10470
10471 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * lyxrc.[Ch]: added display_graphics variable and associated code.
10474
10475 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10476
10477         * bufferparams.C (hasClassDefaults): new method. Returns true if
10478         the buffer parameters correspond to known class defaults
10479
10480 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10481
10482         * XFormsView.C (show): set minimum size to the main window.
10483
10484 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * text2.C (copySelection):
10487         (cutSelection):
10488         * lyxfind.C (LyXReplace):
10489         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10490         LyXText::selectionAsString.
10491
10492         * paragraph.C (asString): add "label" argument to the second form
10493
10494         * text2.C (selectionAsString): add "label" argument and pass it to
10495         Paragraph::asString.
10496
10497 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10498
10499         * lyx_main.C (commandLineHelp): remove version information
10500
10501 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10502
10503         * lyx_main.C: add -version commandline option
10504
10505 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10506
10507         * paragraph.h: make the optional constructor arg required instead.
10508         some modifications to other files because of this.
10509
10510         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10511
10512         * lyxserver.C (C_LyXComm_callback): make it static
10513
10514         * lyx_main.C (error_handler): make it static
10515
10516         * lyx_gui.C (LyX_XErrHandler): make it static
10517
10518         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10519
10520         * WorkArea.C: make the extern "C" methods static.
10521
10522         * Makefile.am (lyx_LDADD): simplify
10523
10524 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10525
10526         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10527         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10528
10529         * LyXAction.C (init):
10530         * lyxfunc.C (dispatch): associated code removal.
10531
10532 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10533
10534         * lyxfont.h (isSymbolFont): shut off warning
10535
10536         * text.C (setHeightOfRow):
10537         (getVisibleRow): fix crash with empty paragraphs which have a
10538         bottom line
10539
10540 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10541
10542         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10543         code.
10544
10545 2001-09-04  José Matos  <jamatos@fep.up.pt>
10546         * buffer.C
10547         * buffer.h
10548         * tabular.C (docbook): rename docBook method to docbook.
10549
10550 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10551
10552         * Makefile.am: add dependencies to main.o.
10553
10554 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10555
10556         * FontLoader.C (available): Return false if !lyxrc.use_gui
10557
10558 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10559
10560         * FontInfo.C (query):
10561         * converter.C (view):
10562         * importer.C (Import):
10563         * exporter.C (Export): Can not -> cannot.
10564
10565 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * BufferView_pimpl.C: allow to create index inset even if
10568           string is empty
10569
10570 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10571
10572         * buffer.C (getLists): replace boost::tie code with an explicit pair
10573         as boost::tie can break some compilers.
10574
10575         * iterators.h: Added a std:: declaration to the return type of
10576         ParIterator::size.
10577
10578 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10581           case.
10582
10583 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10584
10585         * iterators.[Ch]: New files. Provide paragraph iterators.
10586
10587         * buffer.C (changeLanguage): Use paragraph iterators.
10588         (isMultiLingual): ditto
10589
10590         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10591
10592 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * FontLoader.C: Support for cmr font.
10595
10596 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10599         (available): New method.
10600
10601         * FontInfo.C (getFontname): Use scalable fonts even when
10602         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10603         found.
10604
10605 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10606
10607         * converter.C (Formats::view): reverted! Incorrect fix.
10608
10609 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10610
10611         * converter.C (Formats::view): only output the -paper option
10612         if the dvi viewer is xdvi, thereby fixing bug #233429.
10613
10614 2001-08-23  Herbert Voss  <voss@perce>
10615
10616         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10617
10618 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * Spacing.h (Spacing): Set space to Default on in the default
10621         constructor.
10622
10623 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10624
10625         * vc-backend.h (RCS::versionString): add RCS to version
10626         (CVS::versionString): add CVS to version
10627
10628         * vc-backend.C (scanMaster): do not add CVS to version.
10629         (scanMaster): do not add RCS to version
10630
10631         * lyxvc.C (versionString): new method
10632
10633         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10634
10635 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10636
10637         * Spacing.C (set): initialize fval
10638
10639 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10640
10641         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10642         " or \.
10643
10644 2001-08-16  Juergen Vigna  <jug@sad.it>
10645
10646         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10647
10648 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * BufferView_pimpl.C:
10651         * figureForm.C:
10652         * lyxtext.h:
10653         * text2.C: setParagraph takes linespacing now
10654
10655 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * LyxAction.C: add internal LFUN_CITATION_INSERT
10658
10659         * LyXView.C: actually apply fix
10660
10661         * bufferlist.C: fix open non-existent file
10662
10663         * lyxfind.C: fix indentation
10664
10665         * lyxfunc.C: remove unneeded assert, fix typo
10666
10667 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * MenuBackend.C: use "Floatname List"
10670
10671 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10674         when converting LaTeX layout to insetERT.
10675         Generate a non-collapsed float when reading old float
10676
10677 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10678
10679         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10680         ERT insets.
10681
10682 2001-08-13  Juergen Vigna  <jug@sad.it>
10683
10684         * text.C (fill): return 0 instead of 20 as this seems to be the more
10685         correct value.
10686
10687 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10690         lyxrc.font_norm.
10691
10692 2001-08-13  Juergen Vigna  <jug@sad.it>
10693
10694         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10695         casesensitive off.
10696         (SearchBackward): comment out the unlocking of the inset_owner this
10697         should not be needed!
10698
10699 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10700
10701         * Many files: Remove inherit_language, and add latex_language
10702
10703         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10704         collapsible insets.
10705
10706 2001-08-10  Juergen Vigna  <jug@sad.it>
10707
10708         * text.C (prepareToPrint): fixed hfill-width in draw!
10709
10710         * BufferView2.C (selectLastWord): save the selection cursor as this
10711         now is cleared in the function LyXText::clearSelection!
10712
10713 2001-08-08  Juergen Vigna  <jug@sad.it>
10714
10715         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10716         BACKSPACE type functions.
10717
10718         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10719         is only cutted from the document but not put in the cut-buffer, where
10720         still the old stuff should be.
10721
10722         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10723
10724         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10725
10726         * tabular.C (SetWidthOfCell): fixed special case where the width
10727         was not updated!
10728         (LeftLine): handle '|' in align_special.
10729         (RightLine): ditto
10730         (LeftAlreadyDrawed): ditto
10731         (SetWidthOfCell): ditto
10732
10733 2001-08-07  Juergen Vigna  <jug@sad.it>
10734
10735         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10736
10737 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10740         * lyxlex.[hC]: ditto
10741
10742 2001-08-06  Juergen Vigna  <jug@sad.it>
10743
10744         * text.C (getVisibleRow): fix up row clearing a bit.
10745
10746 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * minibuffer.C: make sure the X server sees the changes in the input.
10749
10750 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10751
10752         * paragraph.C (getFont): split into...
10753         (getLabelFont): this
10754         (getLayoutFont): and this
10755         * paragraph_pimpl.C (realizeFont): calling this
10756
10757         * text2.C (getFont): split into...
10758         (getLayoutFont): this
10759         (getLabelFont): and this
10760         (realizeFont): all three calling this
10761
10762         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10763         files where used.
10764
10765 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10766
10767         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10768
10769 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10770
10771         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10772         layouts from the Quote inset insertion.
10773
10774 2001-08-03  Juergen Vigna  <jug@sad.it>
10775
10776         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10777
10778         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10779         only if status not is already CHANGED_IN_DRAW (second level).
10780
10781         * text.C (draw): don't set the need_break_row when inside an
10782         InsetText LyXText.
10783
10784 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10785
10786         * buffer.C (parseSingleLyXformat2Token): handle more latex
10787         conversion cases.
10788
10789         * bufferview_funcs.[hC]: change function names to
10790         begin with small char, adjust other files.
10791
10792 2001-08-02  André Pönitz <poenitz@gmx.net>
10793
10794         * lyxfunc.C:
10795         BufferView_pimpl.C: remove broken special code for math-greek
10796
10797 2001-08-02  Juergen Vigna  <jug@sad.it>
10798
10799         * BufferView_pimpl.C (update): redone this function so that we
10800         update the text again if there was a CHANGE_IN_DRAW.
10801
10802         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10803         (drawFromTo): added a new internal bool which is used by draw() and
10804         redraw() function.
10805         (general): some cursor drawing problems fixed.
10806
10807 2001-08-01  Juergen Vigna  <jug@sad.it>
10808
10809         * lyxfind.C (LyXFind): fixed
10810         (SearchForward): ditto
10811         (SearchBackward): ditto
10812
10813         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10814         spurius drawing of the cursor in the main area.
10815
10816         * text2.C (status): small fix which could lead to a segfault!
10817         (clearSelection): remove unneeded BufferView param.
10818
10819 2001-08-01  André Pönitz <poenitz@gmx.net>
10820
10821         * lyxfunc.C: small change due to changed mathed interface
10822
10823 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10824
10825         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10826
10827 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * lyxfunc.c: fail gracefully if file doesn't exist
10830
10831         * LyXSendto.C:
10832         * buffer.C:
10833         * lyxfunc.C:
10834         * BufferView_pimpl.C: IsDirWriteable() proto changed
10835
10836         * LyXView.C: fix updateWindowTitle() to store the last title
10837
10838 2001-07-31  Juergen Vigna  <jug@sad.it>
10839
10840         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10841         the font (wrong since using of Paragraph::highestFontInRange).
10842
10843         * paragraph.C (highestFontInRange): added a default_size parameter.
10844
10845         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10846         (setHeightOfRow): reformat
10847
10848 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10849
10850         * converter.[hC] + affected files: move to (inital-char)lowercase
10851         function names.
10852
10853         * ParagraphParameters.C (ParagraphParameters): remove commented code
10854
10855         * PainterBase.[Ch]: remove commented code
10856
10857         * LaTeXFeatures.h: add "bool floats" for float.sty
10858
10859         * LaTeXFeatures.C (LaTeXFeatures): init floats
10860         (require): handle float
10861         (getPackages): do it with floats
10862
10863 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10864
10865         * BufferView_pimpl.C (Dispatch): improve handling of
10866         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10867
10868         * commandtags.h: #include lyxfont.h here temporarily to avoid
10869         keybinding bug.
10870
10871         * bufferlist.h: include LString.h here.
10872
10873 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10874
10875         * text2.C (getStringToIndex): new method.
10876
10877 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10878
10879         * *: Reduced header file dependencies all over.
10880
10881 2001-07-30  Baruch Even  <baruch@lyx.org>
10882
10883         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10884
10885 2001-07-29  Baruch Even  <baruch@lyx.org>
10886
10887         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10888
10889 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10890
10891         * ParameterStruct.h (endif): add a default constructor to make
10892         sure that all variables is initialized.
10893
10894         * ParagraphParameters.C (ParagraphParameters): adjust
10895
10896 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10899         index; also, check that there is something to index, and that it
10900         does not span over several paragraphs.
10901         (doubleClick): use WHOLE_WORD_STRICT for double click.
10902
10903         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10904
10905         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10906         scheme.
10907
10908 2001-07-26  Baruch Even  <baruch@lyx.org>
10909
10910         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10911         an InsetFig figure, backwards compatible reading of old figure code.
10912
10913 2001-07-27  Juergen Vigna  <jug@sad.it>
10914
10915         * text2.C: font.realize function adaption.
10916
10917         * text.C (draw): add a warnings lyxerr text if needed.
10918
10919         * layout.C: font.realize function adaption.
10920
10921         * language.C: add inherit_language and implement it's handlings
10922
10923         * bufferview_funcs.C (StyleReset): remove language parameter from
10924         font creation (should be language_inherit now).
10925
10926         * bufferparams.C (writeFile): handle ignore_language.
10927
10928         * paragraph.C (getFontSettings): the language has to be resolved
10929         otherwise we have problems in LyXFont!
10930
10931         * lyxfont.C (lyxWriteChanges): added document_language parameter
10932         (update): removed unneeded language parameter
10933
10934         * paragraph.C (validate): fixed wrong output of color-package when
10935         using interface colors for certain fonts in certain environments,
10936         which should not seen as that on the final output.
10937
10938 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * BufferView_pimpl.C:
10941         * Thesaurus.h:
10942         * Thesaurus.C:
10943         * Makefile.am:
10944         * commandtags.h:
10945         * LyXAction.C: add thesaurus support
10946
10947         * lyxfind.h:
10948         * lyxfind.C: add "once" parameter, for thesaurus, to not
10949           move to the next match
10950
10951 2001-07-26  Juergen Vigna  <jug@sad.it>
10952
10953         * lyxfont.C (realize): honor ignore_language too!
10954         (resolved): ditto.
10955
10956         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10957
10958         * text.C (draw): one place more for ignore_language to not draw
10959         itself!
10960
10961 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10962
10963         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10964
10965 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10966
10967         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10968         the minipage conversion problem.
10969
10970 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10973         insert an inset.
10974
10975 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * BufferView.h: don't forward declare WorkArea
10978
10979         * BufferView.C: don't include WorkArea.h
10980
10981 2001-07-25  André Pönitz <poenitz@gmx.net>
10982
10983         * commandtags.h:
10984         * LyXAction.C:
10985         * lyxfunc.C:  new LFUN 'math-space'
10986
10987         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10988
10989 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * text2.C (toggleInset): call open/close
10992
10993 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * lyxfunc.C (dispatch): add debug for the disabled case
10996
10997         * font.C (buttonText): make similar to rectText
10998
10999         * buffer.C (readInset): comment out parsing of insetlist and
11000         insttheorem
11001
11002         * PainterBase.C (rectText): small correction
11003
11004         * BufferView_pimpl.C: comment out insettheorem and insetlist
11005         * LyXAction.C: ditto
11006         * commandtags.h: ditto
11007
11008 2001-07-24  Juergen Vigna  <jug@sad.it>
11009
11010         * text.C (draw): honor the ignore_language.
11011
11012         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11013
11014 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11015
11016         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11017         char inset.
11018
11019 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11020
11021         * lyxtext.h: remove unused (and unimplemented) methods
11022
11023 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11024
11025         * text.C (getVisibleRow): honor background color
11026
11027         * PainterBase.h:
11028         * Painter.h: remove default color argument for fillRectangle
11029
11030         * text.C (backgroundColor): new method
11031
11032 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * text.C (getVisibleRow): adjust
11035
11036         * font.[Ch] (rectText): new method, metrics
11037         (buttonText): new method, metrics
11038
11039         * PainterBase.[hC]: make rectText and buttonText always draw and take
11040         fewer paramteres.
11041
11042 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11043
11044         * ToolbarDefaults.C (read):
11045         * MenuBackend.C (read): allow escaping in all strings
11046
11047         * BufferView_pimpl.C (insertAndEditInset): new method.
11048         (Dispatch): use insertAndEditInset whenever appropriate.
11049
11050         * BufferView_pimpl.C (insertNote): removed
11051
11052         * BufferView_pimpl.C (smartQuote): new method, moved from
11053         BufferView; if an insetquote cannot be inserted, insert a '"'
11054         character instead.
11055
11056         * BufferView2.C: remove insertCorrectQuote();
11057
11058         * lyxfunc.C (getStatus): Add support for all remaingin
11059         inset-insert lfuns.
11060
11061         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11062
11063         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11064         command (necessary to pass " as parameter of self-insert.
11065
11066         * text.C (selectWordWhenUnderCursor):
11067         (selectWord): add word_location parameter
11068         (selectWordWhenUnderCursor): same + remove special code for word
11069         boundary.
11070         (selectNextWord): use kind() to guess type of insetspecialchar,
11071         not latex().
11072
11073         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11074         (insertErtContents): create ert insets as collapsed.
11075         (readInset): better compatibility code for Info inset.
11076
11077 2001-07-20  Juergen Vigna  <jug@sad.it>
11078
11079         * lyxfunc.C (dispatch): use always LyXFind now!
11080
11081         * text2.C (init): add a reinit flag so that the LyXText can be
11082         reinited instead of deleted and reallocated (used in InsetText).
11083
11084         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11085
11086         * text.C: ditto
11087
11088         * text2.C: ditto
11089
11090 2001-07-18  Juergen Vigna  <jug@sad.it>
11091
11092         * text.C (selectNextWord): handle insets inside inset by calling
11093         always the bv->text functions so that we can go up the_locking_inset!
11094
11095         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11096         in strange locations when inside an inset!
11097
11098         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11099         handling to include insets.
11100
11101         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11102
11103 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11104
11105         * LyXAction.C (init):
11106         * commandtags.h:
11107         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11108         LIGATURE_BREAK, since the name is so stupid.
11109
11110 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11113         InsetInfos.
11114
11115         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11116
11117         * sp_form.[Ch]: remove.
11118
11119         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11120
11121         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11122         InsetInfo.
11123
11124         * src/buffer.C (readInset): ditto.
11125
11126 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11127
11128         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11129         menuSeparator(), endOfSentenceDot(), ldots() and
11130         hyphenationPoint(), which are therefore removed.
11131         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11132
11133         * LyXAction.C (init):
11134         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11135
11136         * paragraph.C (getWord): removed.
11137
11138         * BufferView_pimpl.C (Dispatch): use last word or selection for
11139         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11140
11141         * lyx_main.C (queryUserLyXDir): do not ask before creating
11142         user_dir, except if it has been named explicitely.
11143
11144 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11147         a document of zero size.
11148
11149 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11150
11151         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11152         approriately in the c-tor and in require().
11153         (getPackages): output the appropriate LaTeX for natbib support.
11154
11155         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11156         variables "use_natbib" and "use_numerical_citations" when reading the
11157         LyX file.
11158         (readInset): read the various natbib cite commands.
11159         (validate): white-space change.
11160
11161         * bufferparams.[Ch]: new variables "bool use_natbib" and
11162         "bool use_numerical_citations".
11163         (writeFile): output them in the LyX file.
11164
11165 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11166
11167         * lyxfunc.C (getStatus): add support for all the inset insertion
11168         commands.
11169
11170         * text2.C (insertInset):
11171         * paragraph.C (insetAllowed):
11172         * BufferView_pimpl.C (insertInset): update to take in account the
11173         renaming of insertInsetAllowed
11174
11175         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11176
11177         * text2.C (getInset): new method. returns inset at cursor position.
11178
11179         * BufferView_pimpl.C (Dispatch): changes because of this.
11180
11181         * LyXAction.C (init): rename open-stuff to inset-toggle.
11182
11183         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11184
11185         * text2.C (toggleInset): renamed from openStuff; use
11186         Inset::open().
11187
11188 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11189
11190         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11191
11192         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11193
11194 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11195
11196         * buffer.C (readLyXformat2): Add filename to the error dialog
11197
11198 2001-07-18  Juergen Vigna  <jug@sad.it>
11199
11200         * tabular.C (GetCellNumber): put an assert here instead of the check!
11201
11202 2001-07-17  Juergen Vigna  <jug@sad.it>
11203
11204         * BufferView_pimpl.C (toggleSelection): adapted too.
11205
11206         * text.C (selectNextWord): adapted for use with insets.
11207         (selectSelectedWord): ditto
11208
11209 2001-07-17  Juergen Vigna  <jug@sad.it>
11210
11211         * sp_spell.C (PSpell): fix initialitation order.
11212
11213 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * paragraph.C: spacing
11216
11217 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11218
11219         * sp_spell.C: repair language selection for pspell
11220
11221 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * lyxfunc.h: change more methods to begin with lower char.
11224
11225 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11226
11227         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11228         for unknown layouts.
11229
11230 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11231
11232         * buffer.C (readLyXformat2): Generate an error dialog if there are
11233         unknown layouts.
11234
11235 2001-07-16  Juergen Vigna  <jug@sad.it>
11236
11237         * sp_spell.C: always compile ISpell part.
11238
11239         * lyxrc.C: added use_pspell entry and it's handling.
11240
11241 2001-07-13  Juergen Vigna  <jug@sad.it>
11242
11243         * sp_spell.C: removed double includes.
11244
11245 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11246
11247         Consistent use of Lsstream.h:
11248         * Lsstream.h: added using std::stringstream for consistencies sake.
11249
11250         * buffer.C: removed using std::stringstream
11251
11252         * lyxfont.C (stateText):
11253         * paragraph.C (asString):
11254         * text.C (selectNextWord, selectSelectedWord):
11255         * text2.C (setCounter):
11256         * vspace.C (asString, asLatexString):
11257         std::ostringstream -> ostringstream.
11258
11259 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11260
11261         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11262         * commandtags.h: add LFUN_HELP_ABOUTLYX
11263         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11264
11265 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11266
11267         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11268         cursorToggle()
11269         * lyx_gui_misc.C: remove spellchecker
11270         * lyxfunc.C: showSpellchecker
11271         * sp_base.h: added
11272         * sp_ispell.h: added
11273         * sp_pspell.h: added
11274         * sp_spell.C: added
11275         * sp_form.[Ch]: removed
11276         * spellchecker.[Ch]: removed
11277
11278 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11279
11280         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11281         is set.
11282         (simpleTeXSpecialChars): Simply print the input character without
11283         any special translation if pass_thru is set.
11284
11285         * layout.h: Added bool pass_thru to layout class for being able to
11286         implement pass through of a paragraph for Literate Programming.
11287
11288         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11289         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11290         * layout.C (Read): add "passthru" to list of layout tags and add
11291         code to set the pass_thru boolean when it is read.
11292
11293 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * trans_decl.h: remove allowed from KmodInfo
11296
11297         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11298         remove allowed code
11299         (Load): adjust
11300
11301         * paragraph_pimpl.C (erase): use boost::prior
11302
11303         * Painter.C (text): use data() instead of c_str() when length is
11304         also provided.
11305         * WorkArea.C (putClipboard): ditto
11306         * font.h (width): ditto
11307
11308         * BufferView2.C: use it-> instead of (*it). for iterators
11309         * texrow.C: ditto
11310         * paragraph_pimpl.C: ditto
11311         * paragraph.C: ditto
11312         * minibuffer.C: ditto
11313         * language.C: ditto
11314         * kbmap.C: ditto
11315         * encoding.C: ditto
11316         * counters.C: ditto
11317         * converter.C: ditto
11318         * chset.C: ditto
11319         * Variables.C: ditto
11320         * TextCache.C: ditto
11321         * MenuBackend.C: ditto
11322         * LyXAction.C: ditto
11323         * LColor.C: ditto
11324         * FloatList.C: ditto
11325         * DepTable.C: ditto
11326         * ColorHandler.C (LyXColorHandler): ditto
11327
11328 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11331
11332         * text2.C (openStuff): reintroduce this method (which had been
11333         nuked in NEW_INSETS frenzy).
11334
11335         * lyxfunc.C (Dispatch): when an action has not been handled, use
11336         its name in the error message, not its number.
11337
11338         * paragraph.C (inInset): change method name to begin with lowercase.
11339
11340         * undo_funcs.C:
11341         * text2.C: updates because of this.
11342
11343 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * ToolbarDefaults.C (add): add spaces in error message
11346
11347 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11350         (readLyXformat2): rename return_par to first_par, use lyxlex's
11351         pushToken and remove the manual push handling.
11352         (parseSingleLyXformat2Token): add another ert comp. variable:
11353         in_tabular, rename return_par to first_par. handle newlines better
11354
11355 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11356
11357         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11358
11359 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * text2.C (getParFromID): removed
11362
11363         * buffer.C (getParFromID): new method moved form lyxtext.
11364         * BufferView2.C (insertErrors): adjust
11365         (setCursorFromRow): adjust
11366         * BufferView_pimpl.C (restorePosition): adjust
11367         * lyxfunc.C (Dispatch): adjust
11368         * undo_funcs.C (textUndo): adjust
11369         (textRedo): adjust
11370         (textHandleUndo): adjust
11371         (textHandleUndo): adjust
11372
11373 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * buffer.C: up' the LYX_FORMAT
11376
11377         * lyxfont.h: turn NO_LATEX on as default
11378
11379         * buffer.C (insertErtContents): new methods of tex style compability.
11380         (parseSingleLyXformat2Token): use it several places.
11381         * tabular.C (OldFormatRead): and here
11382
11383 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * text2.C: remove some commented code.
11386         reindent file.
11387
11388         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11389         * trans.C: changes because of the above.
11390
11391 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11392
11393         * text2.C (setCounter): Fix counters bug with bibliography layout.
11394
11395 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11398         own member functions
11399         (simpleTeXSpecialChars): ditto
11400
11401 2001-07-06  Juergen Vigna  <jug@sad.it>
11402
11403         * a lot of files: changed the access to LyXText::status and the
11404         call of undo-functions.
11405
11406         * undo.[Ch]: added a inset_id to the undo informations.
11407
11408         * undo_funcs.[Ch]: added and moved here all undo functions.
11409
11410         * lyxtext.h: give the status enum a weight, made status_ a private
11411         variable and made accessor functions for it, removed the whole bunch
11412         of undo-functions as they are now in their own file, make some
11413         functions publically available. Added function ownerParagraph with
11414         int parameter.
11415
11416         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11417         made InInset() a const function, added getParFromID() function.
11418
11419         * buffer.[Ch]: added const version for inset_iterator functions,
11420         added getInsetFromID() function.
11421
11422         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11423         changed undo functions for new version.
11424
11425 2001-07-05  Juergen Vigna  <jug@sad.it>
11426
11427         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11428         unknow mechanism does not call the proper constructor but only this
11429         one also if I request the other!?
11430
11431 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11434
11435         * text2.C (LyXText): use initialization lists.
11436
11437         * lyxtext.h (Selection): initialize set_ and mark_
11438         (init): remove method
11439
11440 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11441
11442         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11443
11444 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11445
11446         * screen.[Ch]: change method names to begin with lowercase
11447
11448         * BufferView_pimpl.C (updateScrollbar): simplify further and
11449         hopefully make it a bit faster.
11450
11451 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11452
11453         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11454         calling directly xforms functions.
11455
11456         * Painter.C (Painter):
11457         * lyx_cb.C (MenuWrite):
11458         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11459         fl_display.
11460
11461         * lyx_gui.C: remove bogus guiruntime extern declaration.
11462
11463 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11466         in NEW_INSETS
11467         (redoDrawingOfParagraph): ditto
11468         (redoParagraphs): ditto
11469         (cutSelection): don't create a object for CutAndPaste use the
11470         static method directly
11471         (pasteSelection): ditto
11472
11473         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11474         LyXview (+ rename)
11475
11476 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * modifications to some other files because of this.
11479
11480         * Makefile.am (lyx_SOURCES): add XFormsView
11481
11482         * XFormsView.[Ch]: new files
11483
11484         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11485         the main window. Move the gui dependent stuff to XFormsView
11486
11487 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * tabular.C (GetCellInset): update cur_cell also in the row/col
11490         version of this function.
11491
11492         * lyxfunc.C: no need to include figure_form.h here.
11493
11494         * FontLoader.h:
11495         * lyxfunc.h:
11496         * lyxscreen.h:
11497         * text2.C:
11498         * lyxvc.C: no need to include forms.h here.
11499
11500 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11501
11502         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11503
11504         * lyxfunc.C (Dispatch):
11505         * Spacing.C (set):
11506         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11507         constructor argument.
11508
11509 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * paragraph.C (Paragraph): dont't clear, and just set layout.
11512         (makeSameLayout): use params's copy contructor.
11513
11514         * ParagraphParameters.[Ch] (makeSame): delete method
11515
11516 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * Variables.[Ch]: fix indentation, rename set to isSet
11519
11520 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11521
11522         * lyxfunc.C (Dispatch): fix typo
11523
11524 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11525
11526         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11527         upper_bound.
11528
11529         * bufferlist.C: include assert.h for emergencyWrite().
11530
11531 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11534           give up at last (bug #425202) !
11535
11536 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * lyx_gui_misc.C:
11539         * sp_form.h:
11540         * sp_form.C:
11541         * spellchecker.h:
11542         * spellchecker.C: strip spellchecker options and bring up
11543           preferences tab instead
11544
11545 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11546
11547         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11548         the istringstream constructor
11549
11550 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11551
11552         * paragraph.C (getLayout): fix return value
11553
11554         * paragraph.h: do not declare getLayout as inline.
11555
11556         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11557
11558 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * lyxcursor.h (operator<): new func
11561         (operator>): new func
11562         (operator>=): new func
11563         (operator<=): new func
11564
11565         * text.C (changeCase): use selection.start and selection.end
11566         (changeRegionCase): require from to be <= to. Require par to be a
11567         valid paragraph.
11568
11569         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11570
11571 2001-06-27  Juergen Vigna  <jug@sad.it>
11572
11573         * text.C (cursorLeftOneWord): changed to return the cursor and added
11574         overlay with BufferView * parameter which calls this one.
11575         (getWord): added
11576         (selectWord): use new getWord function.
11577         (changeCase): renamed from changeWordCase as and extended to work
11578         also on selections.
11579
11580         * lyxtext.h: added enum word_location
11581
11582         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11583         changeCase as this operates now also on selections.
11584
11585 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11586
11587         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11588
11589         * many files: send debug output to Debug::INFO instead of
11590         Debug::ANY.
11591
11592         * converter.C (View):
11593         (Convert):
11594         (Move): send debug output to Debug::FILES instead of console.
11595
11596 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11597
11598         * lyxfunc.C (getStatus): use func_status
11599
11600         * func_status.h: new header, describing the results of
11601         LyXFunc::getStatus;
11602
11603         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11604         LFUN_MATH_HALIGN.
11605
11606 2001-06-25  The LyX Project  <jug@sad.it>
11607
11608         * buffer.C (sgmlOpenTag):
11609         (sgmlCloseTag):
11610         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11611
11612 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * text2.C: remove some dead code
11615
11616         * tabular.C (GetCellInset): store the last cell checked (gotten)
11617
11618         * tabular.h: add the helper for the speedup
11619
11620         * lyxtext.h: remove some dead code
11621
11622 2001-06-26  The LyX Project  <Asger>
11623
11624         * paragraph.C: Change export to LaTeX of alignment to
11625         \begin{center} and family for better roundtrip work with reLyX.
11626
11627         * Tune the math drawing a bit.
11628
11629 2001-06-25  The LyX Project  <Asger>
11630
11631         * LColor.C (LColor): New color for math background. New color
11632         for buttons.
11633
11634 2001-06-25  The LyX Project  <jug@sad.it>
11635
11636         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11637
11638         * lyxfunc.C (Open):
11639         * bufferlist.C (newFile): do not restrict to files ending with
11640         .lyx
11641
11642         * BufferView_pimpl.C (MenuInsertLyXFile):
11643
11644 2001-06-24  The LyX Project  <jug@sad.it>
11645
11646         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11647         of compare_no_case
11648
11649 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * lyxtext.h: rename most methods to begin with a small char.
11652         Lots of changes because of this.
11653
11654         * paragraph.C (Paragraph): do not call fitToSize
11655         (erase): call Pimpl::erase
11656         (insertChar): call Pimpl::insertChar
11657         (insertInset): call Pipl::insertInset
11658         (breakParagraph): do not call fitToSize
11659         (breakParagraphConservative): do not call fitToSize
11660         (fitToSize): remove method
11661
11662         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11663
11664 2001-06-24  The LyX Project  <Asger>
11665
11666         * Fix Qt compilation^2
11667
11668 2001-06-24  The LyX Project  <jug@sad.it>
11669
11670         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11671         depthHook(getDepth()-1).
11672
11673         * paragraph.h:
11674         * ParagraphParameters.h:
11675         * ParameterStruct.h: change type of depth to unsigned int ==
11676         depth_type. Many adaptations to other files before of that.
11677
11678 2001-06-24  The LyX Project  <Asger>
11679
11680         * Fix Qt compilation.
11681
11682 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * paragraph.h: renamed several methods to begin with small letter.
11685         several changes to many parts of the code because of this.
11686
11687 2001-06-23  The LyX Project  <jug@sad.it>
11688
11689         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11690         rewritten to discard all double spaces when KeepEmpty is off
11691         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11692         to only handle newlines but not fiddle with spaces and friends.
11693
11694         * lyxfunc.C (MenuNew): when doing 'new from template', use
11695         template_path as default directory
11696
11697 2001-06-23  The LyX Project  <Asger>
11698
11699         * Clean-up of header file includes all over
11700         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11701
11702 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * paragraph.h: renamed from lyxparagraph.h
11705
11706 2001-06-23  Asger  <lyx@violet.home.sad.it>
11707
11708         * Buffer.h: Removed Buffer::resize
11709         * BufferList.h: Removed BufferList::resize
11710         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11711         the document lazily when we change the width, or the font settings.
11712
11713 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11716
11717 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * buffer.h: remove out of date comment
11720
11721 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxscreen.h:
11724         * screen.C: fix "theoretical" GC leak
11725
11726 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * LaTeX.C (scanAuxFile):
11729         (deplog): remove trailing \r when reading stream (useful under
11730         win32)
11731
11732 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11733
11734         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11735         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11736         and BufferView::theLockingInset(Inset*), so should use them and not
11737         access bv_->text->the_locking_inset directly.
11738
11739         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11740
11741 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * Makefile.am:
11744         * tex-defs.h: remove old unused file
11745
11746 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * BufferView_pimpl.C: fix typo, remove minibuffer message
11749           when buffer has loaded
11750
11751 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * lyxfunc.C (Dispatch): use stringstream
11754         (MenuNew): use stringstream
11755         (Open): use stringstream
11756
11757         * importer.C (Import): use stringstream
11758
11759         * bufferview_funcs.C (CurrentState): use stringstream
11760
11761         * LaTeX.C (run): use stringstream
11762
11763         * BufferView_pimpl.C (savePosition): use stringstream
11764         (restorePosition): use stringstream
11765         (MenuInsertLyXFile): use stringstream
11766
11767 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11768
11769         * BufferView.C:
11770         * Bullet.C:
11771         * ColorHandler.C:
11772         * FontInfo.C:
11773         * FontLoader.C:
11774         * LColor.C:
11775         * LaTeXFeatures.C:
11776         * Painter.C:
11777         * gettext.C:
11778         * lyx_gui_misc.C:
11779         * lyxserver.C:
11780         * vspace.C: removed // -*- C++ -*- as first line.
11781
11782         * lyxfind.h:
11783         * version.h: added // -*- C++ -*- as first line.
11784
11785 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11786
11787         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11788
11789         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11790         of string
11791
11792 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11793
11794         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11795         of floats.
11796
11797 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * gettext.C: include LString.h even when --disable-nls is on.
11800
11801 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11802
11803         * converter.h (Get): changed argument type from int to
11804         FormatList::size_type to avoid unnecessary conversion.
11805
11806         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11807         before using it.
11808
11809 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * gettext.h: include LString.h even when --disable-nls is on.
11812
11813 2001-06-07  Juergen Vigna  <jug@sad.it>
11814
11815         * text.C (BreakAgain): subst spaces with tabs.
11816
11817         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11818         (resizeInsetsLyXText): set force on resizeLyXText.
11819
11820 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * gettext.h (gettext_init):
11823         (locale_init): use a real definition instead of a macro
11824
11825 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11826
11827         * Bufferview_pimpl.C:
11828         * LColor.h:
11829         * LColor.C: further lcolor tidies
11830
11831 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * BufferView_pimpl.C (updateScrollbar): simplify.
11834
11835         * BufferView2.C: don't include insets/insetinfo.h, change
11836         prototype for insertInset and call the Pimpl version. let
11837         updateInset call Pimpl version.
11838
11839         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11840         gotoInset to BufferView::Pimpl
11841
11842 2001-06-01  Juergen Vigna  <jug@sad.it>
11843
11844         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11845         inside a LockingInset (is the update needed at all?).
11846
11847 2001-05-31  Juergen Vigna  <jug@sad.it>
11848
11849         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11850         here not the old one otherwise how should we compare it afterwards
11851         if it's the same!
11852
11853 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * lyxfont.C:
11856         * tabular.C:
11857         * tabular-old.C:
11858         * FontInfo.C: bring C functions into global namespace when
11859         necessary
11860
11861 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11862
11863         * LString.h: make sure config.h has been loaded before LString.h.
11864
11865         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11866         (one for each char read by EatLine!).
11867
11868         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11869         variables.
11870
11871 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11872
11873         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11874         to the same as the par we break from
11875
11876 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11879
11880         * MenuBackend.C (expand): also create menu entries for wide
11881         versions of the floats.
11882
11883         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11884
11885         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11886
11887         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11888         frontends/Makefile.am
11889
11890         * text2.C: adjust
11891         * text.C: adjust
11892
11893
11894         * tabular.C (getTokenValue): add std::
11895
11896         * tabular-old.C (getTokenValue): add std::
11897         (getTokenValue): ditto
11898         (getTokenValue): ditto
11899
11900         * screen.C (ToggleSelection): adjust
11901
11902         * lyxtext.h: put selection cursors inside a Selection struct.
11903
11904         * lyxfunc.C (moveCursorUpdate): adjust
11905
11906         * lyxfont.C (latexWriteStartChanges): add std::
11907
11908         * lyxfind.C: adjust
11909
11910         * font.h: delete with(char const *, LyXFont const &)
11911
11912         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11913
11914         * FontInfo.C (getFontname): add std::
11915
11916         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11917         (workAreaButtonPress): adjust
11918         (tripleClick): adjust
11919         (update): adjust
11920         (moveCursorUpdate): adjust
11921         (Dispatch): adjust
11922
11923         * BufferView2.C (gotoInset): adjust
11924
11925 2001-05-30  Juergen Vigna  <jug@sad.it>
11926
11927         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11928         to check pspell I add this as default as I now have new pspell
11929         libraries and they seem to use this.
11930
11931 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * text2.C (CutSelection): make the cursor valid before the call to
11934         ClearSelection.
11935
11936 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11937
11938         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11939         relied on 0 terminated strings and other horrors. Bug found due to
11940         the new assert in lyxstring!
11941
11942         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11943         KP_ keys.
11944
11945 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11948         to latinkeys.bind.
11949
11950         * lyxfunc.C (processKeySym): change method of getting to the
11951         self-insert char.
11952
11953         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11954         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11955         * BufferView_pimpl.[Ch]: here as private methods.
11956
11957 2001-05-28  Juergen Vigna  <jug@sad.it>
11958
11959         * text.C (SetHeightOfRow): added the update() call again as it is
11960         needed to initialize inset dimensions!
11961
11962 2001-05-16  Juergen Vigna  <jug@sad.it>
11963
11964         * text2.C (SetCharFont): Add new function with BufferView * and
11965         bool toggleall parameters for setting insets internal fonts.
11966         (SetFont): Freeze the undo as we may change fonts in Insets and
11967         all this change should be inside only one Undo!
11968
11969         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11970         setting font's in insets as for them we have the SetFont function!
11971
11972 2001-05-15  Juergen Vigna  <jug@sad.it>
11973
11974         * text2.C (ClearSelection): to be sure we REALLY don't have any
11975         selection anymore!
11976
11977         * tabular.C (TeXCellPreamble): fixed the left border problem for
11978         multicolumn cells.
11979
11980 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11981
11982         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11983         dependancy file
11984
11985 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11988         LFUN_BREAKPARAGRAPH.
11989
11990         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11991         help test to "internal only", similar for LFUN_INSERT_URL
11992
11993         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11994         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11995         auto_region_delete and deadkeys.
11996
11997 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * LColor.h:
12000         * LColor.C: remove some dead entries, tidy a little
12001
12002 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12005         commented code.
12006         (Dispatch): implement LFUN_ESCAPE
12007
12008         * commandtags.h: add LFUN_ESCAPE
12009
12010         * LyXAction.C (init): add entry for LFUN_ESCAPE
12011
12012         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12013         Remove commented code.
12014         (insertNote): moved here
12015         (open_new_inset): moved here
12016
12017         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12018         BufferView_pimpl
12019
12020 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12021
12022         * kbmap.C (findbinding): clean it up and make it work correctly.
12023
12024         * lyx_main.C (init): do not pass argc and argv as parameters
12025
12026 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12027
12028         * buffer.C: fix path for OS/2 & Win32
12029
12030         * lyx_gui.C:
12031         * lyx_main:
12032         * lyx_main.C: Added os:: class.
12033
12034         * os2_defines.h: update
12035
12036 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12039         better by trying again with reduced state.
12040
12041 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * lyxrc.C (read): print error about invalid key sequence only when
12044         debugging (because not all latinX keysyms are known to some X
12045         servers)
12046
12047         * kbsequence.C (getiso): add a few std:: qualifiers
12048         (getiso): comment out extra return statement.
12049
12050 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12053         handling.
12054         (Dispatch): enhance the accent inset a bit. (not perfect)
12055
12056 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12059
12060 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12061
12062         * bufferlist.C (emergencyWrite): fix assert() call
12063
12064 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12065
12066         * text.C (InsertChar): Added trivial patch to only send the "you
12067         can not do multiple spaces this way" message once during a
12068         session.
12069
12070 2001-05-08  Baruch Even  <baruch@lyx.org>
12071
12072         * Makefile.am: Changed order of libraries to get LyX to link properly
12073         with the gnome frontend.
12074
12075 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12076
12077         * LaTeXFeatures.h: add a std:: qualifier
12078
12079 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * paragraph.C (String): use stringstream
12082
12083 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * paragraph.C (writeFile): remove footflag arg
12086
12087         * buffer.C (makeLaTeXFile): use stringstream
12088         (latexParagraphs): remove footnot gurba
12089
12090         * LaTeXFeatures.C (getPackages): use stringstream
12091         (getMacros): likewise
12092         (getTClassPreamble): likewise
12093         (getFloatDefinitions): new method
12094
12095         * paragraph.C (writeFile): reindent
12096         (Erase): reindent
12097
12098         * WorkArea.h: revert the xpos + etc changes.
12099
12100         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12101
12102         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12103
12104         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12105         (pasteSelection): likewise
12106         * text2.C (CreateUndo): likewise
12107
12108 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * minibuffer.C (peek_event): temporarily reduce the functionality
12111         of the minibuffer (to allow args on lfuns)
12112
12113         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12114         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12115
12116         * buffer.C (readInset): add compability reading of old float
12117         lists, add reading of new style float list.
12118         (readInset): avoid reevaluation of inscmd.getCmdName()
12119         (getLists): reindent
12120
12121         * MenuBackend.C (MenuItem): implement parsing of
12122         md_floatlistinsert and md_floatinsert.
12123         (expand::LastFiles): move initalizaton of iterators out of loop,
12124         avoid reevaluation.
12125         (expand::Documents): introduce typdedef vector<string> Strings,
12126         and use it.
12127         (expand::ExportFormats): introduce typedef vector<Format const *>
12128         Formats, and use it.
12129         (expand): implement FloatListInsert and FloatInsert.
12130
12131         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12132         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12133         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12134
12135         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12136         handling.
12137         (Dispatch::LFUN_FLOAT_LIST): implement
12138
12139 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12140
12141         * LaTeX.C (run): Fix problem with --export code.
12142
12143 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * BufferView.[Ch] (workarea): removed.
12146         (getClipboard) new method; wrapper for workarea()->getClipboard()
12147
12148         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12149         bug.
12150
12151         * WorkArea.h (width, height, xpos, ypos): These methods all
12152         returned the dimensions of the work_area sub-area of WorkArea,
12153         resulting in a position error if the WorkArea were resized. Now
12154         return the dimensions of the entire WorkArea.
12155
12156         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12157
12158 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12159
12160         * LaTeX.C (deplog): correct the syntax of regex reg1
12161
12162 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * undo.C: remove !NEW_INSETS cruft
12165
12166 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * text2.C: remove !NEW_INSETS cruft
12169
12170         * text.C: remove !NEW_INSETS cruft
12171
12172         * tabular.C: remove !NEW_INSETS cruft
12173
12174         * spellchecker.C: remove !NEW_INSETS cruft
12175
12176         * lyxtext.h: remove !NEW_INSETS cruft
12177
12178         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12179
12180         * lyxfunc.C: remove !NEW_INSETS cruft
12181
12182         * lyxfind.C: remove !NEW_INSETS cruft
12183
12184         * lyx_cb.C: remove !NEW_INSETS cruft
12185
12186         * figureForm.C: remove  !NEW_INSETS cruft
12187
12188         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12189
12190         * buffer.[Ch]: remove !NEW_INSETS cruft
12191
12192         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12193
12194         * CutAndPaste.C: remove !NEW_INSETS cruft
12195
12196         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12197
12198         * BufferView2.C: remove !NEW_INSETS cruft
12199
12200         * BufferView.h: remove !NEW_INSETS cruft
12201
12202 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12203
12204         * Lsstream.h: include LString.h before the sstream headers to
12205         fix problem with gcc 2.95.3 and lyxstring
12206
12207 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12208
12209         * lyx_main.C: add using directives when needed for C functions
12210         declared in std:: namespace.
12211
12212 2001-04-27  Juergen Vigna  <jug@sad.it>
12213
12214         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12215         (SetHeightOfRow): comment out the update call should not be needed!
12216
12217 2001-04-13  Juergen Vigna  <jug@sad.it>
12218
12219         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12220         (LyXTabular): tried to minimize operator= operations (and realized
12221         hopfully Lars wish).
12222
12223 2001-04-27  Juergen Vigna  <jug@sad.it>
12224
12225         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12226
12227 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12230
12231         * buffer.C (readInset): hack to make listof algorithm work
12232
12233         * BufferView_pimpl.C: hack to make listof algorithm work
12234
12235 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12236
12237         * LyXAction.C: removed all !NEW_INSETS cruft
12238         (init): moved lfun_item in method
12239
12240         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12241
12242 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12243
12244         * BufferView2.C (theLockingInset): white space.
12245
12246 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * minibuffer.C: include <iostream>
12249
12250         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12251
12252         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12253
12254         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12255
12256         * text.[Ch] (TransposeChars): new method
12257
12258 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * call message directly through LyXView instead of through LyXFunc
12261         * BufferView2.C: adjust
12262         * BufferView_pimpl.C: adjust
12263         * FontLoader.C: adjust
12264         * buffer.C: adjust
12265         * bufferview_funcs.C: adjust
12266         * converter.C: adjust
12267         * figureForm.C: adjust
12268         * importer.C: adjust
12269         * lyx_cb.C: adjust
12270         * lyx_gui_misc.C: adjust
12271         * lyxfunc.C: adjust
12272         * lyxvc.C: adjust
12273         * text2.C: adjust
12274         + more files in subdirs
12275
12276         * lyxparagraph.h (size): move up int file
12277         (GetLayout): ditto
12278
12279         * adjust all uses of Assert to lyx::Assert.
12280
12281         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12282         lyxfunctional in namespace lyx
12283         * layout.C (hasLayout): ditto
12284         (GetLayout): ditto
12285         (GetLayout): ditto
12286         (delete_layout): ditto
12287         (NumberOfClass): ditto
12288         * converter.C (GetFormat): ditto
12289         (GetNumber): ditto
12290         (Add): ditto
12291         (Delete): ditto
12292         (SetViewer): ditto
12293         * bufferlist.C (getFileNames): ditto
12294         (emergencyWriteAll): ditto
12295         (exists): ditto
12296         (getBuffer): ditto
12297         * MenuBackend.C (hasSubmenu): ditto
12298         (hasMenu): ditto
12299         (getMenu): ditto
12300         * BufferView_pimpl.C (getInsetByCode): ditto
12301
12302 2001-04-18  Juergen Vigna  <jug@sad.it>
12303
12304         * vspace.C (asLatexString): fixed the 100% problem.
12305
12306 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12307
12308         * lyxfunc.C (Dispatch):
12309         * minibuffer.C:
12310         * minibuffer.h: add a few std:: qualifiers
12311
12312 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12313
12314         * minibuffer.[Ch]: reimplement so that commands is initiated and
12315         run from lyxfunc, simplified som handling, and made the completion
12316         and history code for complete. wip.
12317
12318         * lyxfunc.C (processKeySym): call message
12319         (miniDispatch): new temporary method
12320         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12321         (LFUN_MESSAGE): implement
12322         (LFUN_MESSAGE_PUSH): implement
12323         (LFUN_MESSAGE_POP): implement
12324         (initMiniBuffer): the initial/defualt minibuffer message.
12325
12326         * lyxfont.[Ch]: inline some more getters
12327
12328         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12329
12330         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12331
12332         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12333         (AutoSave): use LFUN_MESSAGE
12334         (Reconfigure): ditto
12335
12336         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12337
12338         * figureForm.C: use LFUN_MESSAGE
12339
12340         * converter.C (runLaTeX): use LFUN_MESSAGE
12341
12342         * bufferview_funcs.C: use LFUN_MESSAGE
12343         (Melt): ditto
12344         (changeDepth): ditto
12345
12346         * bufferparams.h: use boost::
12347
12348         * bufferlist.h: inherit privately from noncopyable
12349
12350         * bufferlist.C (loadLyXFile): remove some commented code.
12351
12352         * buffer.C (runChktex): use LFUN_MESSAGE
12353
12354         * ShareContainer.h: inherit privately from noncopyable
12355
12356         * ParagraphParameters.[hC] (depth): inline it.
12357
12358         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12359         methods.
12360         (message): new method
12361         (messagePush): ditto
12362         (messagePop): ditto
12363         (show): init minibuffer
12364         (showState): direct call
12365
12366         * LaTeX.[Ch]: inherit privately from noncopyable
12367         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12368         instead of WriteStatus.
12369
12370         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12371
12372         * BufferView_pimpl.C (buffer): don't init minibuffer
12373         (workAreaButtonPress): use LFUN_MESSAGE
12374         (workAreaButtonRelease): ditto
12375         (savePosition): ditto
12376         (restorePosition): ditto
12377         (MenuInsertLyXFile): ditto
12378         (workAreaExpose): don't init minibuffer
12379         (update): remove commented code, simplify
12380
12381         * BufferView2.C (openStuff): use LFUN_MESSAGE
12382         (toggleFloat): ditto
12383         (menuUndo): ditto
12384         (menuRedo): ditto
12385         (copyEnvironment): ditto
12386         (pasteEnvironment): ditto
12387         (copy): ditto
12388         (cut): ditto
12389         (paste): ditto
12390         (gotoInset): ditto
12391         (updateInset): remove some commented code
12392
12393         * lastfiles.h: inherit privately from noncopyable
12394         * layout.h: ditto
12395         * lyx_gui.h: ditto
12396         * lyx_main.h: ditto
12397         * lyxlex.h: ditto
12398         * lyxlex_pimpl.h: ditto
12399
12400         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12401         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12402         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12403
12404         * LyXAction.h: inherit privately from noncopyable, add methods
12405         func_begin, func_end, returning iterators to the func map.
12406
12407         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12408         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12409         (func_begin): new method
12410         (func_end): new method
12411
12412         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12413         and not)
12414         (copySelection): ditto
12415         (pasteSelection): ditto
12416
12417         * BufferView.C: whitespace change
12418         * BufferView.h: inherit privately from noncopyable
12419
12420 2001-04-16  Allan Rae  <rae@lyx.org>
12421
12422         * tabular-old.C (l_getline):
12423         * spellchecker.C (sc_check_word):
12424         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12425         an unrecognised preprocessor directive.  So ensure they're wrapped.
12426
12427 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12428
12429         * src/exporter.C (Export): Give an error message when path to file
12430         contains spaces.
12431
12432 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12433
12434         * LaTeX.C (deplog): Always check that foundfile exists.
12435
12436 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12437
12438         * lyx_main.h:
12439         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12440
12441 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12442
12443         * tabular.[Ch] (getLabelList): implement new method
12444
12445         * minibuffer.h: comment ouf setTiimer
12446
12447         * minibuffer.C (ExecutingCB): constify res
12448         (peek_event): constify s
12449         (Set): constify ntext
12450         (Init): constify nicename
12451
12452         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12453
12454         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12455         (savePosition): use two params to Minibuffer::Set
12456         (restorePosition): ditto
12457
12458 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * lyx_main.C: include language.h
12461
12462         * Makefile.am (lyx_main.o): add language.h
12463
12464 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12465
12466         * exporter.C:
12467         * paragraph.C:
12468         * screen.C:
12469         * tabular.C:
12470         * CutAndPaste.C: include gettext.h
12471
12472         * lyxfont.h: remove old hack with ON and OFF.
12473
12474         * lyxparagraph.h:
12475         * lyxfont.h: do not include language.h...
12476
12477         * BufferView2.C:
12478         * LaTeXFeatures.C:
12479         * Painter.C:
12480         * bufferview_funcs.C:
12481         * font.C:
12482         * lyxfont.C:
12483         * text.C:
12484         * text2.C:
12485         * trans_mgr.C:
12486         * paragraph.C: ... but do it here instead
12487
12488 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12491
12492         * tabular.C: small reformat
12493
12494         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12495         NEW_INSETS version
12496         (GetChar): ditto
12497         (BreakParagraph): ditto
12498         (SetOnlyLayout): ditto
12499         (SetLayout): ditto
12500
12501         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12502         with one arg less.
12503
12504         * lastfiles.C: removed most using decl, add std:: where needed
12505
12506         * buffer.C: ws changes
12507
12508         * MenuBackend.C (class compare_format): put into anon namespace
12509         (expand): constify label, names, action, action2
12510         (expand):
12511
12512         * text.C (SingleWidth): constify font
12513         (IsBoundary): constify rtl2
12514         (GetVisibleRow): constify ww
12515
12516         * LaTeX.C (deplog): constify logfile
12517
12518         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12519         start_x, end_x
12520         (workAreaExpose): constify widthChange, heightChange
12521
12522         * lyxrow.C (par): moved
12523         (height): moved
12524         (next): moved
12525         * lyxrow.h: as inlines here
12526
12527         * lyxfont.h (shape): moved from lyxfont.C
12528         (emph): moved from lyxfont.C
12529
12530         * lyxfont.C (LyXFont): use initialization list for all
12531         constructors
12532         (shape): move to lyxfont.h as inline
12533         (emph): move to lyxfont.h as inline
12534
12535
12536 2001-04-04  Juergen Vigna  <jug@sad.it>
12537
12538         * vspace.C: had to include stdio.h for use of sscanf
12539
12540 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * BufferView.h:
12543         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12544         independent of xforms.
12545
12546 2001-04-02  Juergen Vigna  <jug@sad.it>
12547
12548         * spellchecker.C: fixed namespace placing!
12549
12550 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12551
12552         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12553         the LyXParagraph * is 0.
12554
12555 2001-03-29  Juergen Vigna  <jug@sad.it>
12556
12557         * vspace.C: added support for %, c%, p%, l%.
12558         (stringFromUnit): added helper function.
12559         (asLatexString): changed to give right results for the %-values.
12560
12561         * buffer.C: convert the widthp in a width%.
12562
12563 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12564
12565         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12566         figureForm.[Ch].
12567
12568         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12569         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12570
12571         * lyx_cb.[Ch]: see above.
12572
12573         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12574         form1.[Ch].
12575
12576         * form1.[Ch]:
12577         * lyx.[Ch]: replaced by figure_form.[Ch].
12578
12579         * lyx_gui.C:
12580         * lyx_gui_misc.C:
12581         * lyxfunc.C: changed headers associated with above changes.
12582
12583 2001-03-27  Juergen Vigna  <jug@sad.it>
12584
12585         * BufferView_pimpl.C: set the temporary cursor right!
12586
12587 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12588
12589         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12590
12591 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12592
12593         * LString.h: removed "using std::getline"!
12594
12595         * BufferView_pimpl.C (Dispatch): changes due to changes in
12596         InsetInclude::Params.
12597
12598         * buffer.C (tag_name): removed redundant break statements as they were
12599         producing lots of warnings with my compiler.
12600
12601 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12602
12603         * LString.h: add "using std::getline" when using the real <string>.
12604
12605 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12606
12607         * buffer.C: removed bitset usage.
12608         PAR_TAG moved to an anonymous name space.
12609         (tag_name): new funtion, also in the anonymous namespace.
12610         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12611         (makeDocBookFile): clean code. Completed transition from string arrays
12612         to string vectors.
12613         (SimpleDocBookOnePar): code clean.
12614
12615 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12616
12617         * tabular.C: add some comments.
12618
12619 2001-03-22  Juergen Vigna  <jug@sad.it>
12620
12621         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12622         compatibility read a bit and fixed bug with minipage in different
12623         depth.
12624
12625 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12626
12627         * buffer.C (pop_tag): removed.
12628         (push_tag): removed.
12629         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12630         array replaced with vector. Added support for CDATA sections.
12631         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12632         at any nest level.
12633         (makeDocBookFile): XML conformant declaration of CDATA section,
12634         fixed bug related to <emphasis> in the first paragraph char.
12635         (sgmlOpenTag): exclude empty tags.
12636         (sgmlCloseTag): ditto.
12637
12638         * buffer.h (pop_tag): removed.
12639         (push_tag): removed.
12640
12641 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12642
12643         * language.h (Languages): added size_type and size().
12644
12645 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12646
12647         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12648         response on compability reading of minipages. One probliem is that
12649         the old usage of minipages was «flertydig»
12650
12651         * several files here and in subdirs: don't use static at file
12652         scope use anon namespaces instead.
12653
12654 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12655
12656         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12657         LaTeX output. This is necessary for Literate document
12658         processing.
12659
12660 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12661
12662         * buffer.C: insert hfill when needed.
12663
12664         * tabular.C (l_getline): use string::erase, small whitespace change.
12665
12666         * BufferView_pimpl.C: try the anon namespace.
12667         * WorkArea.C: ditto
12668
12669 2001-03-16  Juergen Vigna  <jug@sad.it>
12670
12671         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12672         otherwise it won't open options-dialogs.
12673
12674         * buffer.C: honor pextraWidth(p) on converting minipages.
12675
12676         * tabular.C (l_getline): changed the functions to strip trailing \r.
12677
12678 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12679
12680         * BufferView_pimpl.C:
12681         * minibuffer..C: added "using SigC::slot" declaration.
12682
12683 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12684
12685         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12686
12687         * text2.C: ditto
12688
12689         * text.C: ditto
12690
12691         * paragraph.C: ditto
12692
12693         * lyxtext.h: NO_PEXTRA
12694
12695         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12696
12697         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12698         * ParameterStruct.h: ditto
12699         * ParagraphParameters.h: ditto
12700         * lyxparagraph.h: ditto
12701
12702 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12703
12704         * buffer.C: add compability for minipage alignment.
12705         (latexParagraphs): remove unwanted pextra check.
12706
12707         * several files: remove CXX_WORKING_NAMESPACES
12708
12709         * buffer.C (pop_tag): tie is in namespace boost
12710
12711         * BufferView.h: noncopyable is in namespace boost
12712         * lyxlex.h: ditto
12713         * lyx_main.h: ditto
12714         * lyx_gui.h: ditto
12715         * layout.h: ditto
12716         * lastfiles.h: ditto
12717         * bufferlist.h: ditto
12718         * ShareContainer.h: ditto
12719         * LyXView.h: ditto
12720         * LyXAction.h: ditto
12721         * LaTeX.h: ditto
12722
12723 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12724
12725         * Merging changes from BRANCH_MVC back into HEAD.
12726
12727         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12728
12729 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12730
12731         * BufferView_pimpl.C: change from intl.C
12732
12733         * combox.h:
12734         * combox.C:
12735         * Makefile.am: move combox.*
12736
12737         * form1.h:
12738         * form1.C:
12739         * lyx_gui.C:
12740         * intl.h:
12741         * intl.C: remove dialog (covered by prefs)
12742
12743 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * lyxfunc.C (Dispatch): removed redundant break statement.
12746
12747 2001-03-14  Juergen Vigna  <jug@sad.it>
12748
12749         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12750
12751 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12752
12753         * buffer.C: add hack to fix compability reading of minipages.
12754
12755 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12756
12757         * buffer.C (getLists): Cleanup.
12758
12759 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * lyxfont.C (update): don't honor toggleall on font size.
12762
12763 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * bmtable.c:
12766         * bmtable.h:
12767         * Makefile.am: moved to frontends/xforms/
12768
12769         * lyx_gui_misc.C:
12770         * lyxfunc.C:
12771         * BufferView_pimpl.C: changes for moved mathpanel
12772
12773 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * gettext.h: fix gettext_init() in --disable-nls
12776
12777 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12778
12779         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12780
12781 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * lyx.C:
12784         * lyx.h: strip external form
12785
12786 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * BufferView_pimpl.C: add comment, destroySplash()
12789
12790 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * BufferView_pimpl.C:
12793         * LyXAction.C:
12794         * buffer.C:
12795         * commandtags.h:
12796         * lyxfunc.C: use re-worked insetinclude
12797
12798 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12799
12800         * buffer.C: add using std::stringstream.
12801
12802         * lyx_cb.C: readd using std::ios.
12803
12804         * buffer.C: add using std::map.
12805
12806         * BufferView_pimpl.C: add using std::vector.
12807
12808         * ShareContainer.h: add std:: to swap.
12809
12810         * buffer.h: add some typedefs
12811         * buffer.C (getLists): use them
12812         (getLists): renamed from getTocList.
12813         add a counter for the different float types and use it in the
12814         generated string.
12815         (getLists): use the same counter for the NEW_INSETS and the "non"
12816         NEW_INSETS
12817
12818         * lyx_cb.h: remove unused items, includes, using etc.
12819
12820         * ShareContainer.h: remove some commented code, add more comments
12821         and "documentation".
12822
12823 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12824
12825         * buffer.C (getTocList): make the list also when NEW_INSETS is
12826         defined.
12827
12828         * buffer.h: remove TocType
12829
12830         * buffer.C (getTocList): change to return a map<string,
12831         vector<TocItem> >, implement for dynamic number of list.
12832
12833         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12834         * text2.C (PasteSelection): adjust
12835         * CutAndPaste.C (pasteSelection): adjust
12836
12837         * FloatList.C (FloatList): update from the new_insets branch.
12838         * Floating.[Ch]: ditto
12839         * LaTeXFeatures.C: ditto
12840         * buffer.C: ditto
12841         * lyxlex_pimpl.C: ditto
12842
12843         * paragraph.C (Last): remove when NEW_INSETS is defined.
12844
12845         * other file: changes because of the above.
12846
12847 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12848
12849         * lyxparagraph.h: rename next to next_, previous to previous_,
12850         make them private for NEW_INSETS. Rename Next() to next(),
12851         Previous() to previous().
12852
12853         * other files: changes because of the above.
12854
12855 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12856
12857         * BufferView.h:
12858         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12859         problem.
12860
12861 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12862
12863         * main.C (main): pass lyx_localedir to gettext_init().
12864
12865         * gettext.h: remove locale_init and gettext_init macros
12866
12867         * gettext.C (locale_init): new function
12868         (gettext_init): new function
12869
12870         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12871         setlocale().
12872
12873 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12874
12875         * Moved credits to frontends:
12876         * credits.[Ch]: removed
12877         * credits_form.[Ch]: removed
12878         * lyx_gui_misc.C: remove credits stuff
12879         * Makefile.am:
12880
12881 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12882
12883         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12884
12885         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12886         unneeded destructor.
12887
12888         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12889         a standalone pointer again.
12890
12891         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12892
12893 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * Makefile.am:
12896         * filedlg.h:
12897         * filedlg.C:
12898         * LyXAction.C:
12899         * ToolbarDefaults.C:
12900         * bufferlist.C:
12901         * commandtags.h:
12902         * form1.C:
12903         * form1.h:
12904         * lyx_cb.C:
12905         * lyx_cb.h:
12906         * lyxfunc.h:
12907         * lyxfunc.C:
12908         * BufferView_pimpl.C: use new file dialog in GUII
12909
12910         * lyx_cb.h:
12911         * lyx_cb.C: remove LayoutsCB to Toolbar
12912
12913 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12914
12915         * ShareContainer.h (get): add std:: qualifier
12916
12917 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12918
12919         * ShareContainer.h: define a proper ShareContainer::value_type
12920         type (and use typename to please compaq cxx)
12921
12922 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12923
12924         * lyxparagraph.h: move serveral local vars to
12925         ParameterStruct/ParagraphParameters., use ShareContainer in
12926         FontTable., make vars in FontTable private and add getter and
12927         setter.
12928
12929         * paragraph.C: changes because of the above.
12930
12931         * lyxfont.h: remove copy constructor and copy assignment. (the
12932         default ones is ok), move number inside FontBits. move inlines to
12933         lyxfont.C
12934
12935         * lyxfont.C: add number to initializaton of statics, move several
12936         inlines here. constify several local vars. some whitespace
12937         cleanup. Dont hide outerscope variables.
12938
12939         * Spacing.h: add two new constructors to match the set methods.
12940
12941         * ShareContainer.h: new file, will perhaps be moved to support
12942
12943         * ParameterStruct.h: new file
12944
12945         * ParagraphParameters.h: new file
12946
12947         * ParagraphParameters.C: new file
12948
12949         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12950         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12951
12952         * BufferView_pimpl.C: ParagraphParameter changes.
12953         * buffer.C: Likewise.
12954         * bufferview_funcs.C: Likewise.
12955         * text.C: Likewise.
12956         * text2.C: Likewise.
12957
12958 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * lyxfind.C (LyXReplace): do not redefine default argument in
12961         implementation.
12962         (IsStringInText): ditto
12963         (SearchForward): ditto
12964         (SearchBackward): ditto
12965
12966 2001-03-06  Juergen Vigna  <jug@sad.it>
12967
12968         * lyxfind.C (IsStringInText): put parentes around expressions.
12969
12970 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12971
12972         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12973
12974 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12975
12976         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12977
12978         * stl_string_fwd.h: add comment
12979
12980         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12981
12982         * tabular.h:
12983         * tabular.C: remove unused DocBook methods
12984
12985         * intl.C:
12986         * language.C:
12987         * paragraph.C:
12988         * buffer.C:
12989         killed DO_USE_DEFAULT_LANGUAGE
12990
12991 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * lyx_gui.C: do not include language.h.
12994
12995         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12996         arguments in function implementation.
12997
12998 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12999
13000         * BufferView_pimpl.C: add <ctime>
13001
13002 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13003
13004         * BufferView_pimpl.C: add using std::find_if
13005
13006 2001-02-27  José Matos  <jamatos@fep.up.pt>
13007
13008         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13009         by OnlyPath.
13010
13011 2001-02-11  José Matos  <jamatos@fep.up.pt>
13012
13013         * buffer.C (makeDocBookFile): command styles now have a parameter as
13014         "title" by default.
13015
13016 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13017
13018         * layout_forms.[Ch]: removed
13019         * lyx_cb.[Ch]: out character
13020         * lyx_gui.C: out character
13021         * lyx_gui_misc.C: out character
13022         * bufferview_funcs.C: : out character,
13023         added toggleall as parameter in ToggleAndShow
13024
13025 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13026
13027         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13028
13029         * text2.C (SetCurrentFont): Disable number property at boundary.
13030
13031 2001-02-26  Juergen Vigna  <jug@sad.it>
13032
13033         * lyxfunc.C (getStatus): added a string argument override function so
13034         that this is correctly called from LyXFunc::Dispatch if it contains a
13035         do_not_use_argument which is used!
13036         (Dispatch): added check for "custom" export and call appropriate func.
13037
13038 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13039
13040         * lyxrc.C: Add language_command_local, language_use_babel and
13041         language_global_options.
13042
13043         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13044
13045         * buffer.C (makeLaTeXFile): Use language_use_babel and
13046         language_global_options.
13047
13048 2001-02-23  Juergen Vigna  <jug@sad.it>
13049
13050         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13051         which works with LyXText and putted it inside BufferView. Here now we
13052         only call for that part the BufferView::Dispatch() function.
13053
13054         * BufferView.C (Dispatch): added.
13055
13056         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13057         functions which needs to use a LyXText over from LyXFunc.
13058         (MenuInsertLyXFile): added
13059         (getInsetByCode): added
13060         (moveCursorUpdate): added
13061         (static TEXT): added
13062
13063 2001-02-22  Juergen Vigna  <jug@sad.it>
13064
13065         * BufferView_pimpl.C (update): call a status update to see if LyXText
13066         needs it.
13067
13068 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13069
13070         * vc-backend.C (revert): implement for CVS
13071         (getLog): implement for CVS
13072
13073 2001-02-20  Juergen Vigna  <jug@sad.it>
13074
13075         * text2.C (ClearSelection): added BufferView param for inset_owner call
13076
13077         * lyxfunc.C (TEXT): added this function and use it instead of
13078         directly owner->view()-text of getLyXText().
13079
13080 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13081
13082         * src/layout_forms.C: out preamble
13083         * src/layout_forms.h: out preamble
13084         * src/lyx_cb.C: out preamble
13085         * src/lyx_cb.h: out preamble
13086         * src/lyx_gui.C: out preamble
13087         * src/lyx_gui_misc.C: out preamble
13088         * src/lyxfunc.C: connect with guii preamble
13089
13090 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13091
13092         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13093
13094 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13095
13096         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13097         whether to run bibtex.
13098
13099 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13100
13101         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13102
13103 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13104
13105         * Makefile.am (lyx_SOURCES): removed bibforms.h
13106
13107         * vspace.h: doxygen
13108
13109         * text.C (GetVisibleRow): make several local vars const
13110
13111         * tabular.C: small cleanup.
13112
13113         * lyxserver.C (callback): use compare instead of strncmp
13114
13115         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13116         inlines to after class or to paragraph.C
13117
13118         * lyxfont.h: remove friend operator!=
13119
13120         * converter.h: move friend bool operator< to non friend and after
13121         class def.
13122
13123         * combox.h: small cleanup
13124
13125         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13126         to inlines after class def.
13127
13128         * buffer.C (pop_tag): use string operations instead of strcmp
13129
13130         * bmtable.c: doxygen, small cleanup
13131
13132         * LaTeX.h: remove friend operator==
13133
13134 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13135
13136         * screen.C:
13137         * lyxrc.[Ch]:
13138         * lyxfunc.C:
13139         * lyxfont.[Ch]:
13140         * lyx_cb.C:
13141         * intl.[Ch]:
13142         * commandtags.h:
13143         * buffer.C:
13144         * WorkArea.[Ch]:
13145         * LyXAction.C:
13146         * BufferView_pimpl.C:
13147         * BufferView.[Ch]: remove cruft
13148
13149 2001-02-14  Juergen Vigna  <jug@sad.it>
13150
13151         * lyxfunc.C: removed #if 0 unused code
13152
13153         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13154
13155         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13156
13157         * text2.C (SetSelection): added a BufferView * parameter
13158
13159 2001-02-13  Juergen Vigna  <jug@sad.it>
13160
13161         * lyxfunc.C (Dispatch): fixed protected blank problem.
13162         * BufferView2.C (protectedBlank): added LyxText * parameter.
13163
13164         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13165         (AppendColumn): same as above for column_info.
13166
13167         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13168         (moveCursorUpdate): use a LyXText param for support of InsetText.
13169
13170         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13171         (tripleClick): ditto
13172
13173         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13174
13175         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13176
13177         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13178
13179         * text2.C (SetSelection): set correct update status if inset_owner
13180         (ToggleFree): ditto
13181
13182 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13183
13184         * tabular.C: remove some commented code.
13185
13186 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * BufferView_pimpl.C: call hideSplash()
13189
13190         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13191
13192         * include_form.h:
13193         * bibforms.h: remove
13194
13195         * lyxfunc.C:
13196         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13197           add LFUN_CHILD_CREATE
13198
13199         * counters.h: fix tiny typo
13200
13201         * lyx_cb.C:
13202         * lyx.h:
13203         * lyx_gui.C:
13204         * lyx.C: move splash to frontends/xforms/
13205
13206         * lyx_gui_misc.C: move Include and Bibform to frontends
13207
13208         * lyxvc.h: clarify comment
13209
13210         * vspace.C: tiny housekeeping
13211
13212 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13213
13214         * text.C (PrepareToPrint): RTL Fix.
13215
13216         * paragraph.C (GetUChar): New method.
13217         (String):  Use GetUChar.
13218
13219         * buffer.C (asciiParagraph): Use GetUChar.
13220
13221 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13222
13223         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13224
13225 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13226
13227         * buffer.h:
13228         * buffer.C: rename to getLogName(), handle
13229           build log / latex log nicely
13230
13231 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * MenuBackend.C:
13234         * MenuBackend.h: remove support for reference menuitem type.
13235
13236 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * BufferView_pimpl.C: housekeeping
13239         * BufferView_pimpl.h:
13240         * LyXView.h:
13241         * Makefile.am:
13242         * Timeout.C:
13243         * Timeout.h:
13244         * minibuffer.h: move Timeout GUI-I
13245
13246 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13247
13248         * lyxrc.C (read): Update converters data-structures.
13249
13250 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13251
13252         * LaTeX.h (operator!=): add operator != for Aux_Info
13253
13254 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13257
13258         * LaTeXLog.C: deleted, useful code moved to Buffer
13259
13260         * buffer.h:
13261         * buffer.C: new function getLatexLogName()
13262
13263         * lyx_gui_misc.C:
13264         * lyx_gui.C:
13265         * lyxvc.C:
13266         * lyxvc.h:
13267         * lyxfunc.C: use frontends for LaTeX and VC logs
13268
13269 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13270
13271         * LaTeX.h: yet another std:: that Allan forgot.
13272
13273         * Variables.C (set): renamed from isset(), because this clashes
13274         with some HP-UX macros (grr).
13275
13276 2001-02-06  Allan Rae  <rae@lyx.org>
13277
13278         * LaTeX.h: Another bug fix.  Missing std:: this time.
13279
13280 2001-02-04  Allan Rae  <rae@lyx.org>
13281
13282         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13283         floats problem. I've left it commented out because it's not quite
13284         correct.  It should also test that the current object is a table or
13285         figure inset.  But I haven't gotten around to figuring out how to do
13286         that.  I *think* it'll be something like: "table" == inset.type()
13287
13288         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13289         bool.
13290
13291 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13292
13293         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13294         all the citation/databases/styles in the auxilary file.
13295         (run): Rerun latex if there was a babel language error.
13296
13297 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13298
13299         * text.C (Backspace): Preserve the font when changing newline char
13300         with a space.
13301         (BreakParagraph): If the cursor is before a space, delete the space.
13302
13303         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13304
13305 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13308         new argument (code).
13309         (ChangeCitationsIfUnique): New method.
13310
13311         * paragraph.C (GetPositionOfInset): Handle bibkey.
13312
13313 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * BufferView_pimpl.h: change type of Position::par_pos to
13316         LyXParagraph::size_type.
13317
13318 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13319
13320         * BufferView_pimpl.C (savePosition, restorePosition): Write
13321         messages to minibuffer.
13322
13323 2001-01-28  José Matos  <jamatos@fep.up.pt>
13324
13325         * buffer.C (makeDocBookFile): adds support for document language.
13326         A silly restriction on the name of LatexCommand types where removed.
13327         Added support for CDATA sections, allows to chars unescaped, used
13328         among others in code, to avoid escape < and >.
13329
13330 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13331
13332         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13333         saved positions instrad of a stack. Furthermore, a position is
13334         stored using paragraph id/paragraph position.
13335
13336         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13337         Remove LFUN_REF_BACK.
13338
13339 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * converter.C (dvipdfm_options): New method.
13342
13343 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13344
13345         * vspace.C (isValidLength): Fix for empty input string.
13346
13347 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13348
13349         * LyXAction.C (init): change description of LFUN_FIGURE to
13350         "Insert Graphics"
13351
13352 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * LaTeX.C: add using directive
13355
13356 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * MenuBackend.C (expand): Fix the sorting of the formats.
13359
13360 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * lyx_main.C: tiny error message fix
13363
13364 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13365
13366         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13367         calling fl_initialize(). This fixes the problem with ',' as
13368         decimal separator in text files.
13369
13370 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13371
13372         * trans.C (process): Fix the keymap bug.
13373
13374 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * LaTeX.C (scanAuxFiles): New method. Provides support for
13377         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13378         (scanLogFile) Scan for "run BibTeX" messages.
13379
13380         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13381         OT1 font encoding. Also, load the aecompl package if the ae
13382         package is loaded.
13383
13384         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13385
13386 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13387
13388         * texrow.C (increasePos): turn two error messages into debug
13389         messages.
13390
13391 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13392
13393         * LaTeX.C (scanAux): Handle the \@input macro.
13394         (runBibTeX): Use scanAux().
13395
13396         * language.C (latex_options_): New field.
13397
13398         * LaTeXFeatures.C (getMacros): Add language macros.
13399
13400         * buffer.C (makeLaTeXFile): Small fix.
13401
13402 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13403
13404         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13405
13406         * text2.C: add a using directive.
13407
13408 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * BufferView2.C:
13411         * lyx_gui_misc.h:
13412         * lyxfr1.C:
13413         * lyxfunc.C: kill LyXBell.
13414
13415 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13416
13417         * text.C (IsBoundary): Remove the error message
13418
13419         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13420
13421         * lyxrc.C (setDefaults): Correct initialization value for
13422         font_norm_type.
13423
13424 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13425
13426         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13427         gotoError().
13428
13429         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13430         and GotoNextNote().
13431
13432         * src/LyXAction.C: Added reference-next.
13433
13434         * text.C (InsertChar): Use contains instead of strchr.
13435
13436         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13437
13438 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13441         alignment commands (when needed).
13442
13443         * text.C (InsertChar): Add ':' to number separator chars.