]> git.lyx.org Git - features.git/blob - src/ChangeLog
put a hack in rowBreakPoint inside #if 0
[features.git] / src / ChangeLog
1 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2
3         * text.C (rowBreakPoint): put a hack inside #if 0
4
5 2003-10-28  André Pönitz  <poenitz@gmx.net>
6
7         * lyxtext.h:
8         * metricsinfo.C:
9         * paragraph_funcs.C:
10         * rowpainter.C:
11         * text.C:
12         * text2.C: general cleanup (lots of small stuff)
13
14 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
15
16         * text2.C (cursorEnd): simple fix to the "end key goes to one
17         before the end on last row" bug
18
19 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
20
21         * text.C (backspace): fix the "zombie characters"
22
23 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
24
25         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
26
27 2003-10-27  André Pönitz  <poenitz@gmx.net>
28
29         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
30
31         * factory.C: handle new InsetPagebreak, InsetLine
32
33         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
34         and move handling into new InsetPagebreak, InsetLine
35
36         * BufferView_pimpl.C:
37         * LyXAction.C:
38         * ParagraphParameters.C:
39         * ParameterStruct.h:
40         * lyxfunc.C:
41         * lyxtext.h:
42         * paragraph.C:
43         * paragraph.h:
44         * paragraph_funcs.C:
45         * paragraph_pimpl.C:
46         * rowpainter.C:
47         * text.C:
48         * text2.C:
49         * text3.C: adjust
50
51 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
52
53         * text.C: 
54         * lyxrow_funcs.[Ch]: 
55         * Bidi.C: 
56         * paragraph.C: 
57         * lyxtext.h: 
58         * rowpainter.C: 
59         * text2.C: 
60         * text3.C: remove lastPos uses in favour of Row::endpos
61
62 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
63
64         * undo.C (performUndoOrRedo): fix two crashes by setting a
65         cursor by hand and reordering some calls. Use bv->lockInset instead
66         of inset->edit because the latter loses cursor information
67
68 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
69
70         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested 
71         by Martin
72         (rowBreakPoint): fix width. change point to point + 1. 
73         Add a missing check.
74
75 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
76
77         * MenuBackend.C:
78         * lyxfunc.C: fix (at least partly) the problems
79         with the Nav menu and headers inside branch insets
80         reported by Kayvan
81
82 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
83
84         * paragraph.C (getChar): add strong asserts
85
86         * lyxrow_funcs.C (lastPos): remove hideous hack
87
88         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
89         (fill): adjust to that (avoid an infinite loop)
90
91 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
92
93         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
94
95 2003-10-23  André Pönitz  <poenitz@gmx.net>
96         
97         * RowList_fwd.h: change list<> to vector<> to gain speed
98         after suggestion from Alfredo
99
100 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
101
102         * lyxtext.h: move the bidi stuff from here...
103         * text.C: and here
104         * text2.C: and here
105         * Bidi.[Ch]: ... to here
106
107 2003-10-23  André Pönitz  <poenitz@gmx.net>
108
109         * lyxtext.h:
110         * text.C (isLastRow, isFirstRow): new functions
111
112         * paragraph.h: new width cache member
113
114         * rowpainter.C: replace RowList::iterator with Row & where possible
115
116         * lyxfunc.C: replace several view()->text with a single call
117
118         * toc.C: fix 'unused' warning
119
120 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
121
122         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
123         when woring with stream::pos_type
124         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
125
126 2003-10-22  André Pönitz  <poenitz@gmx.net>
127
128         * lyxtext.h:
129         * text.C: use Row & instead of RowList::iterator
130
131         * lyxrow.h: rename end() to endpos()
132
133         * rowpainter.C:
134         * text.C:
135         * text2.C: adjust
136
137 2003-10-22  Angus Leeming  <leeming@lyx.org>
138
139         * buffer.[Ch] (fully_loaded): new member function, returning true
140         only when the file has been loaded fully.
141         Used to prevent the premature generation of previews and by the
142         citation inset to prevent computation of the natbib-style label.
143
144         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
145         templates are all set up.
146
147         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
148
149 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * text.C: fixed an "oops" in the "is a bit silly"
152         bug fix
153
154 2003-10-21  André Pönitz  <poenitz@gmx.net>
155
156         * FuncStatus.[Ch]: small stuff, whitespace
157
158         * lyxfont.[Ch]: operator<<() for debug reasons
159
160         * lyxfunc.C:
161         * lyxrow_funcs.C:
162         * lyxtext.h: whitespace, spelling
163
164         * paragraph.C: naming of variables
165
166         * text.C:
167         * text2.C: small stuff
168
169
170 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * text.C: (1) finish off the inset display() work;
173         (2) fix the "is a bit silly" bug (accessing char
174         past end of par).
175
176 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
177
178         * text.C: re-introduce display() for insets, fixing the
179         various bugs (stretch of line above, math inset
180         positioning, ...)
181
182 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * text.C (rightMargin): remove spurious semicolon
185
186         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
187         1415)
188
189 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
190
191         * text3.C: fix one crash due to wrong cursor def
192
193 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
194
195         * vc-backend.C (scanMaster): make the regex static
196
197         * LaTeX.C (scanAuxFile): make the regexs static
198
199         * text3.C (doInsertInset, dispatch, dispatch):
200         * text2.C (cursorUp, cursorDown):
201         * text.C (selectNextWordToSpellcheck):
202         * BufferView_pimpl.C (dispatch):
203         * lyxfunc.C (dispatch):  localDispatch -> dispatch
204
205 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * lyxsocket.C: include <cerrno>
208
209 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
210
211         * lyxfunc.C (dispatch): remove textcache stuff
212
213         * bufferlist.C (release): remove textcache stuff
214         (closeAll): ditto
215
216         * TextCache.C: delete file
217         * TextCache.h: delete file
218
219         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
220
221         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
222         delete of the bv_->text.
223         (resizeCurrentBuffer): remove texcache stuff
224         (workAreaResize): ditto
225
226 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
227
228         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
229         action.
230
231 2003-10-16  André Pönitz  <poenitz@gmx.net>
232
233         * lyxrow.[Ch]:
234         * paragraph.h:
235         * rowpainter.C:
236         * text.C:
237         * text2.C:
238         * text3.C: speed up by storing y positions per paragraph plus per-row
239         offset instead of having a 'full' y position in the row.
240
241 2003-10-15  André Pönitz  <poenitz@gmx.net>
242
243         * iterators.[Ch]:
244         * iterators.[Ch]:
245         * undo.[Ch]: make undo aware of inner insets
246
247 2003-10-14  Angus Leeming  <leeming@lyx.org>
248
249         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
250         static member functions LyX::ref() and LyX::cref.
251         (lastfiles): new accessor functions for the new lastfiles_ member var.
252         (addLyXView, views_): add a new LyXView to the list of views_.
253         (updateInset): loop over all LyXViews to call their own updateInset
254         member function, returning a pointer to the Buffer owning the inset.
255
256         * BufferView_pimpl.C (loadLyXFile):
257         * MenuBackend.C (expandLastfiles):
258         * bufferlist.C (MenuWrite, QuitLyX):
259         lastfiles is no longer a global variable.
260         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
261
262         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
263         static function. Access through LyX::cref().emergencyCleanup().
264
265 2003-10-14  André Pönitz  <poenitz@gmx.net>
266
267         * iterators.[Ch]: new direct access to innermost LyXText and Inset
268
269         * undo.[Ch]: restoring part of 'undo in insets'
270
271         * Makefile.am:
272         * undo_funcs.[Ch]: merge with undo.[Ch]
273
274         * tabular.C: small cleansing stuff
275
276 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
277
278         * paragraph_funcs.C (readParToken): report unknown insets as error
279         boxes. Use the outer paragraph as location (also for unknown
280         tokens).
281
282         * factory.C (readInset): do not abort on reading an unknown inset.
283         Eat it and return 0.
284
285 2003-10-13  Angus Leeming  <leeming@lyx.org>
286
287         * lyx_main.C (LyX): remove call to setDisplayTranslator().
288
289         * lyxrc.C: displayTranslator is now a function,
290         declared in GraphicsTypes.h.
291
292 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
293
294         * format.C: new placeholder $$a to pass the socket address.
295
296         * bufferlist.[Ch]: new function getBufferFromTmp.
297
298         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
299           files in the temporary dir.
300
301 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
302
303         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
304
305         * Makefile.am: add lyxsocket.[Ch].
306
307         * lyx_main.C (error_handler): handle SIGPIPE.
308
309 2003-10-13  André Pönitz  <poenitz@gmx.net>
310
311         * BufferView_pimpl.C:
312         * lyxtext.h:
313         * text.C:
314         * text2.C:
315         * text3.C:
316         * undo_funcs.[Ch]: use paroffset_type instead of
317           ParagraphList::iterators to prevent multiple conversion
318           (and get a more robust interface)
319
320 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
321
322         * lyxfunc.C (dispatch): RESULT -> dispatch_result
323         * lyxtext.h: ditto
324         * text3.C (dispatch): ditto
325
326 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
327
328         * LaTeX.C (handleFoundFile): move the static to smaller scope,
329         move the onlyfile, use onlyfile instead of foundfile in a couple
330         of places.
331
332         * DepTable.C (update): flush the error stream a bit more
333
334 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
335
336         * lyxserver.C (callback): adjust
337
338         * lyxfunc.C (getStatus): add a missing brace in commented code
339         (ensureBufferClean): reindent
340         (dispatch): delete version taking a string
341
342 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
343
344         * LaTeX.C (deplog): move found file handlig from here...
345         (handleFoundFile): .. to new function here.
346         (deplog): make sure to discover several files mentioned on the
347         same log line.
348
349 2003-10-10  André Pönitz  <poenitz@gmx.net>
350
351         * lyxfunc.C:
352         * lyxtext.h:
353         * tabular.C:
354         * text.C:
355         * text2.C:
356         * text3.C: fix some of the tabular crashes
357
358 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
359
360         * MenuBackend.C (binding): put debug message into Debug::KBMAP
361
362         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
363
364 2003-10-09  André Pönitz  <poenitz@gmx.net>
365
366         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
367
368         * BufferView.C:
369         * BufferView_pimpl.C:
370         * bufferview_funcs.C:
371         * lyx_cb.C:
372         * lyxcursor.C:
373         * lyxfind.C:
374         * lyxfunc.C:
375         * lyxtext.h:
376         * text.C:
377         * text2.C:
378         * text3.C:
379         * text_funcs.[Ch]:
380         * textcursor.[Ch]:
381         * undo_funcs.C: adjust
382
383 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
384
385         * text2.C (incrementItemDepth): new function, use a backtracking
386         algorithm to discover the correct item depth.
387         (resetEnumCounterIfNeeded): new function, use a backtracking
388         algorithm to discover if counter reset is needed.
389         (setCounter): use them. Simplify a bit. Add different labels for
390         different item depths for itemize.
391
392         * paragraph.C (Paragraph): remove initialization of enumdepth
393         (operator=): ditto
394
395         * paragraph.h: get rid of enumdepth, and use itemdepth both for
396         enumerate and itemize. Change the type of itemdepth to signed char.
397
398 2003-10-08  André Pönitz  <poenitz@gmx.net>
399
400         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
401           thing assignable.
402         * text.C:
403         * text2.C: adjust
404
405         * tabular.[Ch]: fix crash after 'row-insert'
406
407 2003-10-08  Angus Leeming  <leeming@lyx.org>
408
409         Fix doxygen warnings.
410
411         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
412         Remove CutAndPaste:: prefix from header file declaration.
413
414         * LColor.h (fill): remove LColor:: prefix from declaration.
415
416         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
417         use lyx::depth_type rather than Paragraph::depth_type so that
418         header file and .C file match.
419
420         * converter.h (intToFormat): remove Converters:: prefix from declaration.
421
422         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
423         * aspell.C: \file aspell_local.C -> \file aspell.C
424         * gettext.C: \file gettext.C -> \file src/gettext.C
425         * gettext.h: \file gettext.h -> \file src/gettext.h
426         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
427         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
428         * text.C: \file text.C -> \file src/text.C
429
430         * toc.C: move comment so that doxygen is not confused.
431
432 2003-10-07  Angus Leeming  <leeming@lyx.org>
433
434         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
435
436 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
437
438         * aspell.C:
439         * aspell_local.h: add forgotten std::string's.
440
441 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
442
443         * LaTeXFeatures.C:
444         * LyXAction.C:
445         * factory.C:
446         * lfuns.h:
447         * lyxfunc.C:
448         * text3.C: The Box patch. Fancybox support, minipage, parbox
449
450 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
451
452         * CutAndPaste.h:
453         * DepTable.h:
454         * FloatList.h:
455         * LaTeXFeatures.h:
456         * ParagraphParameters.h:
457         * TextCache.h:
458         * Thesaurus.h:
459         * bufferlist.h:
460         * exporter.h:
461         * importer.h:
462         * lastfiles.h:
463         * lyxfind.h:
464         * lyxfont.h:
465         * lyxlex.h:
466         * lyxtextclasslist.h:
467         * messages.h:
468         * paragraph.h:
469         * paragraph_pimpl.C:
470         * textcursor.h: add <string> and other small fixes to make Lars'
471         std::string patch compile with STLport.
472
473 2003-10-06  Angus Leeming  <leeming@lyx.org>
474
475         * LColor.h: Add missing #include <string>.
476
477 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
478
479         * All most all file in all subdirs: Make <string> be the prefered
480         way of getting to std::string, add using declarations.
481
482 2003-10-06  André Pönitz  <poenitz@gmx.net>
483
484         * metricsinfo.C: initialize LyXFont before changing attribute.
485         (fixes the 'math in \emph is upright' bug)
486
487 2003-10-06  André Pönitz  <poenitz@gmx.net>
488
489         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
490
491 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
492
493         * graph.C:
494         * paragraph_pimpl.C: Small fixes to build using STLport
495
496 2003-10-02  André Pönitz  <poenitz@gmx.net>
497
498         * lyxfunc.C:
499         * text3.C: move handling of LFUN_DEPTH *; fix #1360
500
501 2003-10-01  André Pönitz  <poenitz@gmx.net>
502
503         * factory.C: assert early
504
505 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
506
507         * lyx_main.C: remove the global debug object
508
509         * debug.h: adjust for new debugstream
510
511         * debug.C: adjust for new debugstream and keep the global debug
512         object here.
513
514 2003-09-22  Angus Leeming  <leeming@lyx.org>
515
516         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
517         of g++ which otherwise complain that the scoped_ptr destructor can't delete
518         an incomplete class LyXFont.
519
520 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * factory.C: bug fix in branches
523
524 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
525
526         * lyxfunc.C (processKeySym): adjust
527         (dispatch): adjust
528         (dispatch): change arg name from ev to func, adjust
529         (sendDispatchMessage): ditto
530
531         * lyx_main.C (defaultKeyBindings): adjust keybindings
532         (deadKeyBindings): ditto
533
534         * kbsequence.C (addkey): return a FuncRequest
535
536         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
537
538         * kbmap.C (bind): take a FuncRequest as arg, adjust
539         (read): adjust
540         (lookup): adjust
541         (defkey): change to take a FuncRequest as arg, adjust
542         (findbinding): take a FuncRequest as arg, adjust.
543
544         * funcrequest.h (operator=): added
545
546         * funcrequest.C (FuncRequest): default kb_action changed from
547         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
548
549         * buffer.C (dispatch): simplify
550         (dispatch): adjust to take a FuncRequest as arg, adjust
551
552         * boost.C (assertion_failed): change assertion message slightly
553
554         * ToolbarBackend.C (read): simplify
555
556         * MenuBackend.C (binding): adjust call to findbinding, add a
557         message if no binding is found.
558         (read): simplify
559         (expandToc): correct by adding a empty FuncRequest
560
561         * LyXAction.C: include <boost/assert.hpp>
562         (isPseudoAction): delete function
563         (LookupFunc): change name to...
564         (lookupFunc): this. change return type to FuncRequest.
565         (getActionName): take kb_action as arg, simplify
566         (funcHasFlag): add an assert, simplify.
567
568 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
569
570         * toc.C (action): return a FuncRequest, simplify
571
572         * lyxfunc.C (processKeySym): adjust
573         (getStatus): delete version that takes an int.
574         (getStatus): adjust
575         (dispatch): delete version that takes action as int
576         (dispatch): adjust
577         (sendDispatchMessage): simplify and adjust
578
579         * funcrequest.C (getArg): take unsigned int as arg
580
581         * ToolbarBackend.C (read): adjust
582         (add): delete version that takes func as a string.
583         (getIton): take a FuncRequest as arg
584
585         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
586         action.
587
588         * MenuBackend.C (MenuItem): add a new construct that only takes a
589         Kind, simplify the constructor use for submenus.
590         (add): adjust
591         (expandLastfiles): adjust
592         (expandDocuments): adjust
593         (expandFormats): adjust
594         (expandFloatListInsert): adjust
595         (expandFloatInsert): adjust
596         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
597
598         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
599         Remove class variables lyx_pseudo_map and lyx_arg_map
600
601         * LyXAction.C (searchActionArg): delete function
602         (getPseudoAction): delete function
603         (retrieveActionArg): delete function
604         (LookupFunc): make it return kb_action, simplify.
605         (getActionName): simplify
606
607         * factory.C (createInset): fix new bug
608
609 2003-09-19  Angus Leeming  <leeming@lyx.org>
610
611         * CutAndPaste.C (pasteSelection): remove fudge used to set the
612         masterFilename_ parameter in the include inset.
613
614         * factory.C (createInset): changes due to the changes to InsetInclude.
615
616 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
617
618         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
619
620 2003-09-18  Angus Leeming  <leeming@lyx.org>
621
622         * buffer.C:
623         * BufferView.C: pass the buffer when calling Inset::getLabelList,
624         Inset::fillWithBibKeys.
625         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
626
627 2003-09-18  Angus Leeming  <leeming@lyx.org>
628
629         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
630         variables.
631         (ctor): pass and store a 'Buffer const &'
632         (buffer): new member function.
633
634         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
635         '*this' to the LaTeXFeatures ctor.
636
637 2003-09-18  Angus Leeming  <leeming@lyx.org>
638
639         * LColor.h:
640         * lyxfont.C:
641         * lyxfont.h:
642         * lyxtext.h:
643         * text.C: rename EnumLColor as LColor_color.
644
645 2003-09-18  Angus Leeming  <leeming@lyx.org>
646
647         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
648         remove #include "insets/insetbase.h" from cursor.h.
649
650 2003-09-18  Angus Leeming  <leeming@lyx.org>
651
652         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
653         InsetOld_code to remove #include "inset.h".
654
655         * iterators.C: add #include "insets/inset.h"
656
657 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
658
659         * BufferView.C: remove more locking stuff that apparently doesn't
660         do anything sensible.
661
662 2003-09-16  André Pönitz  <poenitz@gmx.net>
663
664         * paragraph.[Ch]:
665         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
666           performance boost.
667
668 2003-09-16  Angus Leeming  <leeming@lyx.org>
669
670         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
671
672         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
673         arg/return type.
674
675         * paragraph.h: remove #include "lyxfont.h". Forward declare
676         LyXFont_size.
677
678 2003-09-16  Angus Leeming  <leeming@lyx.org>
679
680         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
681         of support/textutils.h.
682         (isWord): move the contents of support/textutils.h's IsWordChar here.
683
684         * buffer.C:
685         * lyxfind.C:
686         * rowpainter.C:
687         * text.C:
688         * text2.C: add #include "paragraph.h".
689
690         * rowpainter.C:
691         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
692
693 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
694
695         * main.C:
696         * lyx_main.C:
697         * lyx_cb.C:
698         * buffer.C:
699         * LaTeX.C: use namespace alias for lyx::support::os
700
701 2003-09-16  Angus Leeming  <leeming@lyx.org>
702
703         * bufferparams.C:
704         * bufferview_funcs.C:
705         * factory.C:
706         * lyxfunc.C:
707         * paragraph_pimpl.C:
708         * rowpainter.C:
709         * text.C: add #include "LColor.h".
710
711 2003-09-16  Angus Leeming  <leeming@lyx.org>
712
713         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
714         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
715         return LyXFont &.
716         Store the FontBits::color variable as an int rather than as an
717         LColor::colorso that we can move LColor.h out of the lyxfont.h header
718         file.
719
720         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
721         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
722         string calls together.
723
724         * lyxrc.C: add #include "LColor.h".
725
726 2003-09-15  Angus Leeming  <leeming@lyx.org>
727
728         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
729         a cow_ptr.
730
731 2003-09-15  Angus Leeming  <leeming@lyx.org>
732
733         * LColor.h: add an EnumLColor wrapper for LColor::color.
734
735         * lyxfont.[Ch] (color, setColor, realColor):
736         * lyxtext.h, text.C (backgroundColor):
737         pass EnumLColor args to/from the functions, rather than LColor::color
738         ones.
739
740         * lyxfont.h:
741         * lyxtext.h: forward declare EnumLColor.
742
743         * lyx_main.C: add #include "LColor.h".
744
745 2003-09-15  Angus Leeming  <leeming@lyx.org>
746
747         * .cvsignore: add lyx-gtk.
748
749 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
750
751         * Chktex.C
752         * LaTeX.C
753         * LaTeXFeatures.C
754         * ParagraphParameters.C
755         * Spacing.C
756         * buffer.C
757         * bufferparams.C
758         * bufferview_funcs.C
759         * chset.C
760         * counters.C
761         * funcrequest.C
762         * lyxfont.C
763         * lyxgluelength.C
764         * lyxlength.C
765         * paragraph.C
766         * paragraph_funcs.C
767         * text3.C
768         * vc-backend.C: remove usage of STRCONV
769
770 2003-09-15  Angus Leeming  <leeming@lyx.org>
771
772         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
773         explicitly define the color passed to the painter.
774
775 2003-09-15  Angus Leeming  <leeming@lyx.org>
776
777         * bufferparams.C (BufferParams): reorder member initializers to avoid
778         compiler warning.
779
780 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
781
782         * CutAndPaste.C (pasteSelection): remove an outdated #warning
783         * text.C (updateRowPositions): remove an unusual nop
784
785 2003-09-12  André Pönitz  <poenitz@gmx.net>
786
787         * BufferView_pimpl.C:
788         * Bullet.C:
789         * layout.h:
790         * lyxfunc.C:
791         * lyxlayout.[Ch]:
792         * lyxtextclass.C:
793         * rowpainter.C:
794         * text.C:
795         * text2.C:
796         * Counters.[Ch]: finish the 'automatic counters' job
797
798 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
799
800         * aspell.C: include <boost/assert.cpp> (compile fix)
801
802 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
803
804         * boost.C (assertion_failed): use lyx::support::abort instead of
805         assert.
806
807 2003-09-10  Angus Leeming  <leeming@lyx.org>
808
809         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
810         with their _fwd progeny.
811
812 2003-09-09  Angus Leeming  <leeming@lyx.org>
813
814         134 files throughtout the source tree: replace 'using namespace abc;'
815         directives with the appropriate 'using abc::xyz;' declarations.
816
817 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
818
819         * boost.C (emergencyCleanup): moved here from LAssert.c
820         (assertion_failed): new function, called by BOOST_ASSERT
821
822         * several files: change Assert to BOOST_ASSERT
823
824 2003-09-09  Angus Leeming  <leeming@lyx.org>
825
826         * buffer.[Ch]: Add an Impl class and move Buffer's member
827         variables into it. As a result move several header files out of
828         buffer.h.
829
830         Add header files to lots of .C files all over the tree as a result.
831
832 2003-09-09  Angus Leeming  <leeming@lyx.org>
833
834         * buffer.[Ch]: make Buffer's member variables private. Add
835         accessor functions.
836
837         Lots of changes all over the tree as a result.
838
839 2003-09-08  Angus Leeming  <leeming@lyx.org>
840
841         * graph.C: #include <config.h>.
842
843 2003-09-08  Angus Leeming  <leeming@lyx.org>
844
845         * BranchList.C:
846         * BufferView.C:
847         * BufferView_pimpl.C:
848         * CutAndPaste.C:
849         * DepTable.C:
850         * LaTeX.C:
851         * LaTeXFeatures.C:
852         * LyXAction.C:
853         * MenuBackend.C:
854         * TextCache.C:
855         * aspell.C:
856         * buffer.C:
857         * bufferlist.C:
858         * changes.C:
859         * chset.C:
860         * converter.C:
861         * counters.C:
862         * debug.C:
863         * graph.C:
864         * ispell.C:
865         * lyx_cb.C:
866         * lyxfind.C:
867         * lyxfunc.C:
868         * lyxlex_pimpl.C:
869         * lyxrc.C:
870         * lyxrow.C:
871         * paragraph.C:
872         * rowpainter.C:
873         * texrow.C:
874         * text.C:
875         * text2.C:
876         * toc.C: remove redundant using directives.
877
878 2003-09-07  Angus Leeming  <leeming@lyx.org>
879
880         * LaTeXFeatures.h: remove #include "support/types.h".
881         * ToolbarBackend.h: remove #include <algorithm>.
882         * changes.h: remove #include <ctime>.
883         * debug.h: remove #include <iosfwd>.
884         * graph.h: remove #include "support/std_string.h".
885         * lyx_main.h: remove #include <csignal>.
886         * lyxlex_pimpl.h: remove #include <fstream>.
887         * sgml.h: remove #include <algorithm>, <utility>.
888         * toc.h: remove #include "support/std_ostream.h".
889         Add #include <iosfwd>.
890
891 2003-09-07  Angus Leeming  <leeming@lyx.org>
892
893         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
894
895         * converter.h: forward declare LatexRunParams.
896         * encoding.h: remove #include "lyxrc.h".
897         * lyxtext.h: remove #include "LColor.h".
898         * lyxtextclass.h: remove #include "support/types.h".
899         * trans.h: remove #include "tex-accent.h".
900         * trans_mgr.h: remove #include "tex-accent.h".
901         * insets/inset.h: remove #include "support/types.h", <vector>.
902         * insets/insetcollapsable.h: remove #include "LColor.h".
903         * insets/insetinclude.h: remove #include "dimension.h".
904         * insets/insetlatexaccent.h: remove #include "dimension.h".
905         * insets/insetoptarg.h:: remove #include "insettext.h".
906         * insets/insettext.h: remove #include "dimension.h",
907         <boost/shared_ptr.hpp>
908
909         * insets/renderers.h: add #include "dimension.h".
910         * insets/updatableinset.h: add #include "support/types.h".
911
912         * many .C files: Associated changes.
913
914 2003-09-06  Angus Leeming  <leeming@lyx.org>
915
916         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
917         one, inside testInvariant.
918
919         * PrinterParams.C: new file.
920         * PrinterParams.[Ch]: move the function bodies out of line.
921
922 2003-09-06  Angus Leeming  <leeming@lyx.org>
923
924         * ParagraphParameters.h: forward declare ParameterStruct rather than
925         including its header file.
926         (depth): moved out-of-line.
927
928 2003-09-06  Angus Leeming  <leeming@lyx.org>
929
930         * BufferView_pimpl.h:
931         * kbmap.h:
932         * kbsequence.h:
933         * lyxfunc.h: forward declare LyXKeySym rather than
934         #include "frontends/LyXKeySym.h".
935
936         * BufferView_pimpl.C:
937         * kbmap.C:
938         * kbsequence.C:
939         * lyxfunc.C: associated changes.
940
941 2003-09-06  Angus Leeming  <leeming@lyx.org>
942
943         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
944         As a result, can remove the #include "insets/inset.h" from BufferView.h
945
946 2003-09-06  Angus Leeming  <leeming@lyx.org>
947
948         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
949         As a result, can remove the #include "insets/inset.h" from BufferView.h
950
951 2003-09-06  Angus Leeming  <leeming@lyx.org>
952
953         * buffer_funcs.C:
954         * buffer.h:
955         * bufferlist.C:
956         * BufferView.C:
957         * bufferview_funcs.C:
958         * BufferView_pimpl.C:
959         * CutAndPaste.C:
960         * lyx_cb.C:
961         * lyxfunc.C:
962         * paragraph.h:
963         * ParagraphParameters.C:
964         * tabular.C:
965         * text3.C:
966         * toc.C:
967         * undo_funcs.C:
968         * frontends/controllers/ControlDocument.C:
969         * insets/insetcaption.C: rearrange the #includes into some sort of
970         coherent order.
971
972         * buffer.h: remove #includes ErrorList.h, undo.h
973
974 2003-09-06  Angus Leeming  <leeming@lyx.org>
975
976         * support/types.h: add a 'depth_type' typedef, used to store the
977         nesting depth of a paragraph.
978
979         * paragraph.h:
980         * ParameterStruct.h: use this lyx::depth_type typedef rather than
981         defining explicitly.
982
983         * buffer.h:
984         * paragraph_funcs.h:
985         * ParagraphParameters.h:
986         * sgml.h: use lyx::depth_type rather than Paragraph or
987         ParameterStruct's depth_type.
988
989         * buffer.h
990         * paragraph_funcs.h: no need to #include paragraph.h anymore.
991
992         * BufferView.C:
993         * BufferView_pimpl.C:
994         * CutAndPaste.C:
995         * ParagraphParameters.C:
996         * buffer_funcs.C:
997         * bufferlist.C:
998         * bufferview_funcs.C:
999         * lyx_cb.C:
1000         * lyxfunc.C:
1001         * tabular.C:
1002         * text3.C:
1003         * toc.C:
1004         * undo_funcs.C:
1005         * frontends/LyXView.C:
1006         * frontends/controllers/ControlDocument.C:
1007         * frontends/controllers/ControlErrorList.C:
1008         * insets/insetbibitem.C:
1009         * insets/insetbranch.C:
1010         * insets/insetcaption.C:
1011         * insets/insetcollapsable.C:
1012         * insets/insetenv.C:
1013         * insets/insetert.C:
1014         * insets/insetfloat.C:
1015         * insets/insetfoot.C:
1016         * insets/insetfootlike.C:
1017         * insets/insetnewline.C:
1018         * insets/insetquotes.C:
1019         * insets/insettabular.C:
1020         * insets/insettext.C:
1021         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1022
1023         * frontends/controllers/ControlChanges.C: #include "changes.h".
1024
1025 2003-09-06  Angus Leeming  <leeming@lyx.org>
1026
1027         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1028         than #including paragraph.h.
1029
1030         * ParagraphList.h:
1031         * RowList.h: deleted. Superfluous.
1032
1033         * CutAndPaste.h:
1034         * iterators.h:
1035         * lyxcursor.h:
1036         * lyxtext.h:
1037         * text_funcs.h:
1038         * undo.h:
1039         * undo_funcs.h:
1040         * insets/inset.h:
1041         * insets/insettext.h: use ParagraphList_fwd.h rather than
1042         ParagraphList.h.
1043
1044         * paragraph.h: don't forward declare ParagraphList.
1045
1046         * buffer.h:
1047         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1048         rather than ParagraphList.h. paragraph.h is still needed for the
1049         Paragraph::depth_type parameters.
1050
1051         * textcursor.h: enable it to compile stand-alone in light of the
1052         above changes.
1053
1054         * bufferview_funcs.C:
1055         * iterators.C:
1056         * lyxfunc.C:
1057         * lyxrow_funcs.C:
1058         * paragraph.C:
1059         * rowpainter.C:
1060         * text.C:
1061         * text2.C:
1062         * text3.C:
1063         * text_funcs.C:
1064         * textcursor.C:
1065         * undo.C:
1066         * frontends/controllers/ControlParagraph.C:
1067         * frontends/controllers/ControlTabular.C:
1068         * insets/insetmarginal.C:
1069         * insets/insetminipage.C:
1070         * insets/insetnote.C:
1071         * insets/insetoptarg.C: add header files needed to compile again.
1072
1073 2003-09-06  Angus Leeming  <leeming@lyx.org>
1074
1075         * RowList_fwd.h: new file, forward-declaring Row rather than
1076         #including lyxrow.h.
1077
1078         * lyxrow_funcs.h:
1079         * lyxtext.h:
1080         * paragraph.h:
1081         * insets/insettext.h: use it instead of RowList.h
1082
1083         * bufferview_funcs.C:
1084         * lyxfunc.C:
1085         * lyxrow_funcs.C:
1086         * paragraph.C:
1087         * rowpainter.C:
1088         * text.C:
1089         * text2.C:
1090         * text3.C: #include "RowList.h".
1091
1092 2003-09-05  Angus Leeming  <leeming@lyx.org>
1093
1094         * factory.C (createInset):
1095         * vspace.C (c-tor): replace sscanf call with an istringstream.
1096         * ispell.C: re-add missing HP/UX headers.
1097         * lyxserver.C: re-add missing  os2 headers.
1098
1099 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * BranchList.C:
1102         * graph.C:
1103         * ispell.C:
1104         * lastfiles.C:
1105         * lyx_cb.C:
1106         * lyxserver.C:
1107         * texrow.C:
1108         * text3.C: re-add missing system headers, needed for 2.95.2.
1109
1110 2003-09-05  Angus Leeming  <leeming@lyx.org>
1111
1112         Changes most place everywhere due to the removal of using directives
1113         from support/std_sstream.h.
1114
1115 2003-09-05  Angus Leeming  <leeming@lyx.org>
1116
1117         Replace LString.h with support/std_string.h,
1118         Lsstream.h with support/std_sstream.h,
1119         support/LIstream.h with support/std_istream.h,
1120         support/LOstream.h with support/std_ostream.h.
1121
1122         Changes resulting throughout the tree.
1123
1124 2003-09-05  Angus Leeming  <leeming@lyx.org>
1125
1126         * sgml.h: ensure that the header file can be compiled stand-alone.
1127         * *.C: strip out redundant #includes. (320 in total.)
1128
1129 2003-09-04  Angus Leeming  <leeming@lyx.org>
1130
1131         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1132         here (from getPackages).
1133
1134         * debug.[Ch]: add a new EXTERNAL tag.
1135
1136 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1137
1138         * text2.C (cursorEnd): simplify
1139         (setCursor): adjust
1140         (getColumnNearX): adjust
1141
1142         * text.C (computeBidiTables): adjust
1143         (fill): adjust
1144
1145         * rowpainter.C (paintChars): adjust
1146         (paintSelection): adjust
1147         (paintChangeBar): adjust
1148         (paintText): adjust
1149
1150         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1151         lastPos instead.
1152         (numberOfSeparators): adjust
1153
1154 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1155
1156         * LyXAction.C:
1157         * box.[Ch]:
1158         * lfuns.h:
1159         * lyxfunc.C:
1160         * text3.C: Restricts the mouse click functionality
1161         of insets like bibtex, include, toc and floatlist to the visible
1162         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1163         up the dialogs. Cursor has to be in front of the inset (i.e.
1164         start of row) for this to function.
1165
1166 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1167
1168         * bufferview_funcs.C (currentState): output row information
1169
1170 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1171
1172         * bufferview_funcs.C (currentState): output paragraph position
1173
1174 2003-09-04  Angus Leeming  <leeming@lyx.org>
1175
1176         * FloatList.h: move out #include "Floating.h".
1177         * LaTeX.h: move out #include "DepTable.h".
1178         * LyXAction.h: move out #include "funcrequest.h".
1179         * buffer.h: move out #include "author.h", "iterators.h".
1180         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1181         * lyx_main.h: move out #include "errorlist.h".
1182         * lyxfunc.h: move out #include "FuncStatus.h".
1183         * lyxtext: move out #include "lyxcursor.h".
1184         * paragraph_pimpl.h: move out #include "counters.h".
1185
1186 2003-09-03  Angus Leeming  <leeming@lyx.org>
1187
1188         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1189         preamble_snippets list, enabling us to add snippets to the preamble
1190         only if the snippet was not there already.
1191
1192 2003-09-04  Angus Leeming  <leeming@lyx.org>
1193
1194         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1195
1196 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1197
1198         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1199         update
1200
1201 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * BranchList.C: point fix, earlier forgotten
1204
1205 2003-09-02  Angus Leeming  <leeming@lyx.org>
1206
1207         * box.C (contains): renamed from 'contained' after a fantastic
1208         amount of hot air.
1209
1210 2003-09-02  John Levon  <levon@movementarian.org>
1211
1212         * BufferView.C:
1213         * lyxcursor.h:
1214         * lyxcursor.C:
1215         * lyxfunc.C:
1216         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1217
1218 2003-09-02  John Levon  <levon@movementarian.org>
1219
1220         * text2.C: simplification of cursorEnd(), including partial
1221         fix for bug 1376
1222
1223 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1224
1225         * buffer.C (readFile): add a space
1226
1227 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1228
1229         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1230
1231 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1232
1233         * buffer.C (readFile): new function, take a filename and a
1234         ParagraphList::iterator
1235         (readFile): adjust
1236         (readFile): adjust, make it private. don't use setStream, make
1237         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1238         always contain the filename.
1239
1240         * BufferView.C (insertLyXFile): simplify and make it work for
1241         gzipped files.
1242
1243 2003-08-30  John Levon  <levon@movementarian.org>
1244
1245         * Makefile.am: fix dist (from Kayvan)
1246
1247 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1248
1249         * most files: change to use const Buffer refs
1250
1251 2003-08-27  André Pönitz  <poenitz@gmx.net>
1252
1253         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1254         on top of ownerPar().
1255
1256 2003-08-27  John Levon  <levon@movementarian.org>
1257
1258         * funcrequest.C: properly initialise POD members
1259
1260 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1261
1262         * lyxtext.h (top_y): move top_y from here
1263         * text.C:
1264         * text2.C:
1265         * text3.C:
1266         * BufferView.[Ch]:
1267         * BufferView_pimpl.[Ch]: to here
1268         * frontends/screen.C:
1269         * insets/insettabular.C:
1270         * insets/insettext.C: adjust
1271         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1272
1273 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1274
1275         * BufferView.[Ch]:
1276         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1277
1278 2003-08-26  André Pönitz  <poenitz@gmx.net>
1279
1280         * paragraph_func.[Ch] (outerPar): new function
1281
1282         * paragraph.C:
1283         * paragraph_funcs.C:
1284         * paragraph_funcs.h:
1285         * paragraph_pimpl.C:
1286         * text2.C: remove Inset::par_owner
1287
1288 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1289
1290         * lyxrow_funcs.C:
1291         * lyxtext.h:
1292         * text.C:
1293         * text2.C: eliminates the needFullRow/display() stuff
1294         altogether, putting the logic in metrics/draw in the insets.
1295
1296 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1297
1298         * text2.C (redoParagraphInternal, redoParagraphs):
1299         * text.C (redoParagraph): add a call to updateRowPositions at the
1300         end of each 'metrics-like' call. Remove all others.
1301         (getRow): remove the 'y-computing' version.
1302         (getRowNearY): do not compute nor return the real y. Solve the
1303         'y < 0' problem and simplify.
1304
1305 2003-08-22  Angus Leeming  <leeming@lyx.org>
1306
1307         * *.[Ch]: clean-up of licence and author blurbs.
1308         Also move config.h out of a few .h files and into a few .C files.
1309
1310 2003-08-22  André Pönitz  <poenitz@gmx.net>
1311
1312         * lyxrow.[Ch]: add x_ and *fill_ members
1313
1314         * lyxtext.h:
1315         * text.C:
1316         * rowpainter.C:
1317         * text2.C: adjust/remove prepareToPrint() calls
1318
1319 2003-08-22  André Pönitz  <poenitz@gmx.net>
1320
1321         * lyxrow.[Ch]: add  end_ member
1322
1323         * lyxrow_funcs.C: use LyXRow::end_
1324
1325         * lyxtext.h (singleWidth): add LyXFont parameter
1326
1327         * rowpainter.C:
1328         * text2.C: adjust LyXText::singleWidth() calls
1329
1330         * text.C (redoParagraph): simplify row breaking logic
1331
1332
1333 2003-08-19  André Pönitz  <poenitz@gmx.net>
1334
1335         * funcrequest.C: initialize button_ member
1336
1337         * text3.C:
1338         * rowpainter.[Ch]: interface consolidation
1339
1340 2003-08-18  André Pönitz  <poenitz@gmx.net>
1341
1342         * BufferView.C:
1343         * BufferView_pimpl.C:
1344         * lyxfind.C:
1345         * paragraph_funcs.C:
1346         * rowpainter.C:
1347         * text3.C: remove LyXScreen::draw() and fitCursor calls
1348
1349         * BranchList.h: remove spurious semicolons
1350
1351         * MenuBackend.C: fix branchlist related crash
1352
1353 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * BranchList.[Ch]:
1356         * InsetList.[Ch]:
1357         * LColor.[Ch]:
1358         * LyXAction.C:
1359         * Makefile.am:
1360         * MenuBackend.[Ch]:
1361         * bufferparams.[Ch]:
1362         * factory.C:
1363         * lfuns.h:
1364         * lyxfunc.C:
1365         * text3.C: implements the 'branch inset'
1366         idea. This allows the output of various versions of a document
1367         from a single source version, selectively outputing or suppressing
1368         output of parts of the text.
1369         This implementation contains a 'branch list editor' in a separate
1370         tab of the document settings dialog. Branches are user definable
1371         and have a "display colour" to distinguish them on-screen.
1372
1373         ColorHandler was somewhat cleaned up.
1374         (1) make possible a dynamically growing LColor list by allowing
1375         the graphic context cache to grow along (vector);
1376         (2) eliminate an IMHO unnecessary step in colour allocation.
1377
1378 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1379
1380         * BufferView_pimpl.C: compile fix
1381
1382 2003-08-15  André Pönitz  <poenitz@gmx.net>
1383
1384         * rowpainter.C: remove extra metrics calls
1385
1386         * lyxtext.h: merge the two constructors into a single one,
1387           pass reference to owner's par list
1388
1389         * BufferView_pimpl.C:
1390         * text.C:
1391         * text2.C: adjust
1392
1393 2003-08-15  André Pönitz  <poenitz@gmx.net>
1394
1395         * lyxrow_funcs.[Ch]:
1396         * lyxtext.h:
1397         * paragraph.h:
1398         * paragraph_funcs.C:
1399         * rowpainter.C:
1400         * text.C:
1401         * text2.C:
1402         * text3.C:
1403         * text_funcs.C: split LyXText::rowlist_ into individual
1404         Paragraph::rows_ chunks
1405
1406         * BufferView.[Ch]:
1407         * BufferView_pimpl.[Ch]:
1408         * lyxfind.C:
1409         * lyxtext.h:
1410         * text3.C: remove toggleSelection()
1411
1412 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1413
1414         * bufferlist.C: beautify two alerts (shorter text of buttons)
1415         * buffer.C: Remove redundant ' ' from message
1416         * tabular.h:
1417         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1418         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1419         rename VALIGN_CENTER to VALIGN_MIDDLE
1420
1421 2003-08-11  André Pönitz  <poenitz@gmx.net>
1422
1423         * lyxtext.h (getPar):
1424         * text.C: new function
1425
1426 2003-08-11  André Pönitz  <poenitz@gmx.net>
1427
1428         * Makefile.am:
1429         * tracer.[Ch]: remove unneeded files
1430
1431         * InsetList.[Ch]: remove resizeInsetsLyXText()
1432
1433         * lyxtext.h:
1434         * text.C:
1435         * text2.C:
1436         * text3.C: merge insertParagraphs() and appendParagraph()
1437         remove breakAgain(), update()
1438
1439         * BufferView_pimpl.[Ch]:
1440         * bufferview_funcs.[Ch]:
1441         * lyxfunc.C:
1442         * paragraph.[Ch]:
1443         * rowpainter.C:
1444         * tabular.C: adjust after text & InsetList changes.
1445
1446 2003-08-08  André Pönitz  <poenitz@gmx.net>
1447
1448         * text.C (insertChar, backspace): replace rowlist fiddling
1449         with rebreak of full par
1450
1451         * lyxtext.h:
1452         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1453         checkParagraph, updateInset): removed
1454
1455 2003-08-07  André Pönitz  <poenitz@gmx.net>
1456
1457         * paragraph.C:
1458         * text3.C: merge some LFUN handlers, remove dead code
1459
1460 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1463
1464 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1465
1466         * text2.C (DEPM): fix part of bug 1255 and 1256
1467
1468 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1469
1470         * BufferView_pimpl.C (workAreaDispatch): change to use
1471         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1472         that are no mouse related.
1473
1474 2003-08-05  André Pönitz  <poenitz@gmx.net>
1475
1476         * BufferView.[Ch]:
1477         * BufferView_pimpl.[Ch]:
1478         * bufferview_funcs.C:
1479         * text2.C:
1480         * text3.C: rip out "deep update"
1481
1482         * textcursor.[Ch] (last_sel_cursor): remove unused member
1483
1484 2003-08-04  André Pönitz  <poenitz@gmx.net>
1485
1486         * BufferView.[Ch]:
1487         * BufferView_pimpl.[Ch]:
1488         * ParagraphParameters.C:
1489         * bufferview_funcs.C:
1490         * lyx_cb.C:
1491         * lyxfind.C:
1492         * lyxfunc.C:
1493         * text.C:
1494         * text2.C:
1495         * text3.C: replace "complicated" BufferView::update(...) calls with
1496         simpler ones.
1497
1498         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1499
1500 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1501
1502         * Makefile.am (lyx_SOURCES): add paper.h
1503
1504 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1505
1506         * Makefile.am: move things around so that both lyx-qt and
1507         lyx-xforms can be built (according to --with-frontend). Then lyx
1508         is a symbolic link to lyx-[firstfrontend]
1509
1510 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1511
1512         * Always use std::endl with lyxerr
1513
1514 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1515
1516         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1517
1518 2003-08-01  André Pönitz  <poenitz@gmx.net>
1519
1520         * BufferView.[Ch]:
1521         * BufferView_pimpl.[Ch]:
1522         * lyxfunc.C:
1523         * text3.C: merge BufferView::repaint() and BufferView::update()
1524
1525 2003-08-01  José Matos  <jamatos@lyx.org>
1526
1527         * buffer.[Ch]: file_format is no longer a buffer data element.
1528
1529 2003-08-01  André Pönitz  <poenitz@gmx.net>
1530
1531         * BufferView.C:
1532         * lyxtext.h:
1533         * text.C:
1534         * text2.C: make redoParagraph more independent of current cursor
1535
1536         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1537         * text.C:
1538         * text2.C: remove unneeded members
1539
1540 2003-07-30  André Pönitz  <poenitz@gmx.net>
1541
1542         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1543
1544         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1545           create a single function...
1546
1547         * paragraph_funcs.C (moveItem): ... here.
1548
1549         * text.C:
1550           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1551
1552 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1553
1554         * LColor.[Ch]: Add comment and greyedout logical colors.
1555
1556 2003-07-30  André Pönitz  <poenitz@gmx.net>
1557
1558         * tabular.C: don't use Assert too heavily. This crashes where it
1559           shouldn't
1560
1561 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1562
1563         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1564         is disabled (bug 1232)
1565
1566 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1567
1568         * factory.C: limited 'arg' scope
1569
1570 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1571
1572         * factory.C: fixed Note submenu issues
1573
1574 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1575
1576         * factory.C: submenu for Note/Comment/Greyedout
1577
1578 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1579
1580         * lyx_main.C (LyX):
1581         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1582
1583 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1584
1585         * LaTeXFeatures.C:
1586         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1587         greyedout. Patch provided by Jürgen Spitzmüller.
1588
1589 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1590
1591         * kbmap.C (read): fix error message when reading bind files
1592
1593 2003-07-29  Angus Leeming  <leeming@lyx.org>
1594
1595         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1596         certainly does not do what it purports to do. I am doing it, and
1597         us, a favour by killing it.
1598
1599 2003-07-28  José Matos  <jamatos@lyx.org>
1600
1601         * buffer.C (readBody, do_writeFile):
1602         * paragraph.C(readParagraph): \end_document replaces \the_end.
1603
1604 2003-07-29  André Pönitz  <poenitz@gmx.net>
1605
1606         * BufferView.[Ch]:
1607         * BufferView_pimpl.[Ch]:
1608         * lyxfunc.C:
1609         * text2.C:
1610         * text3.C:
1611         * textcursor.[Ch]: remove toggleToggle & Co
1612
1613 2003-07-28  José Matos  <jamatos@fep.up.pt>
1614
1615         * buffer.C (readParagraph):
1616         * params_func (readParToken, readParagraph):
1617         * paragraph.C (write): \layout -> \begin_layout.
1618
1619 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1620
1621         * lyxlex_pimpl.C (setFile): clean up slightly.
1622
1623         * bufferparams.h: add compressed var
1624
1625         * buffer_funcs.C (readFile): adjust for LyXLex change
1626         (newFile): ditto + simplify
1627
1628         * buffer.C (writeFile): handle writing of compressed files
1629
1630         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1631         Check if the file is compressed and set a bufferparm if so.
1632
1633         * Makefile.am (lyx_LDADD): remove explicit -lz
1634
1635 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1638         makeDocBookFile): put the real LyX version in the first line of
1639         the file
1640
1641         * version.h:
1642         * version.C.in: remove lyx_docversion
1643
1644         * tabular.C (write_attribute): add a template-based version to
1645         write enums properly
1646
1647 2003-07-28  André Pönitz  <poenitz@gmx.net>
1648
1649         * lyxtext.h:
1650         * text.C:
1651         * text2.C:
1652         * text3.C: use doubles again for x-coordinates. They are needed.
1653
1654 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1655
1656         * messages.C (getLocaleDir): use lyx_localedir()
1657
1658         * lyxlex_pimpl.C (setFile): compress stuff
1659
1660         * buffer.C (writeFile): add some compression stuff
1661         (do_writeFile): new func, dont call expliti close... will this
1662         breake anything?
1663
1664         * Makefile.am (lyx_LDADD): add -lz
1665
1666 2003-07-28  José Matos  <jamatos@fep.up.pt>
1667
1668         * buffer.C: increment file format.
1669         * paragraph_funcs (readParagraph, readParToken):
1670         * paragraph.C (readParagraph): add \end_layout.
1671
1672 2003-07-27  Angus Leeming  <leeming@lyx.org>
1673
1674         * Makefile.am: remove special casing for configure-time setting of
1675         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1676
1677         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1678         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1679
1680 2003-07-26  André Pönitz  <poenitz@gmx.net>
1681
1682         * paragraph_func.[Ch]:
1683         * paragraph.C (realizeFont): inline it whereever it is used
1684
1685         * rowpainter.C:
1686         * text.C:
1687         * text2.C:
1688         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1689
1690
1691 2003-07-26  André Pönitz  <poenitz@gmx.net>
1692
1693         *       lyxtext.h:
1694         * text.C:
1695         * text2.C: get rid of LyXText::need_break_row
1696
1697 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * toc.[Ch]: put namespace toc inside namespace lyx
1700
1701         * MenuBackend.C (expandToc2): adjust for lyx::toc
1702         (expandToc): ditto
1703
1704         * lyxfunc.C (dispatch): adjust for lyx::find
1705
1706         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1707         lyx::find instead. Reorganize a bit.
1708         (LyXReplace): rename to replace
1709         (LyXFind): rename to find
1710
1711         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1712         (dispatch): ditto
1713
1714 2003-07-26  André Pönitz  <poenitz@gmx.net>
1715
1716         * text.C (setHeightOfRow): restrict scope of temporary variable
1717
1718         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1719           code (never has been used?)
1720
1721 2003-07-27  Asger Alstrup  <alstrup@local>
1722
1723         * text.C (fill): Optimise algorithm to exploit that we can reuse
1724         the LyXFont for many characters.
1725         (setHeightOfRow): Same thing.
1726         (rowBreakPoint): Same thing.
1727
1728 2003-07-26  Asger Alstrup  <alstrup@local>
1729
1730         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1731
1732         * text.C (singleWidth): Spurious font copying in hot-spot
1733         singleWidth avoided. Reorder tests for arabic for efficiency.
1734
1735         * text.C (fill): handle empty paragraphs better.
1736
1737 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1738
1739         * ispell.C:
1740         * encoding.h: add includes
1741
1742         * lyxrc.C: remove reading of bind files
1743
1744         * lyx_main.C (init): setup bindings and menus only if we have a
1745         gui.
1746
1747         * kbmap.C (read): new method. Do the actual reading of bind
1748         files.
1749
1750         * converter.C (dvipdfm_options):
1751         * bufferparams.C:
1752         * lyxrc.C (read):
1753         (output): adapt PAPER_* enums.
1754
1755         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1756
1757         * bufferparams.h: remove paper-related enums from there
1758
1759         * paper.h: New file. A trivial header file to hold paper-related
1760         enums. It should later expand to contain many paper-related
1761         horrors access.
1762
1763         * lyxrc.C: declare extern displayTranslator
1764
1765 2003-07-27  José Matos  <jamatos@fep.up.pt>
1766
1767         * tabular.[Ch] (linuxdoc): add support for tables and figures
1768         (linuxdoc).
1769
1770 2003-07-27  José Matos  <jamatos@fep.up.pt>
1771
1772         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1773         consistency in both functions.
1774         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1775
1776 2003-07-26  Asger Alstrup  <alstrup@local>
1777
1778         * rowpainter.C (paintRows): Change algorithm to work directly on
1779         the insets rather than asking every character in the document
1780         whether its an inset.
1781
1782 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1783
1784         * buffer.C (openFileWrite): factorize some code
1785
1786 2003-07-26  Angus Leeming  <leeming@lyx.org>
1787
1788         * lyx_cb.C:
1789         * lyx_main.[Ch]: replace occurances of system_tempdir with
1790         os::getTmpDir().
1791
1792 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1793
1794         * rename Inset to InsetOld
1795
1796 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1797
1798         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1799         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1800         which I think is a bit clearer. EDIT is gone, since it was
1801         premature optimisation, and broken for mathed anyway.
1802         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1803         with cursor positioning in insets as well (math insets still do not
1804         work, but that's a different story anyway.) It mysteriously
1805         crashes sometimes with undo in the first paragraph, but I'm fairly
1806         confident that this is a compiler bug.
1807
1808 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1809
1810         * paragraph.C (Paragraph): adjust for new clone return type
1811         (operator==): ditto
1812         (copyIntoMinibuffer): ditto
1813
1814 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1815
1816         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1817         by not having a special case, and always doing a full rebreak of
1818         the document after undo.
1819
1820 2003-07-23  Angus Leeming  <leeming@lyx.org>
1821
1822         * factory.C (createInset): InsetExternal::setParams now takes a
1823         Buffer const * arg.
1824
1825 2003-07-23  Angus Leeming  <leeming@lyx.org>
1826
1827         * factory.C (createInset): changed interface to the external and
1828         graphics mailers' string2params functions.
1829
1830 2003-07-23  Angus Leeming  <leeming@lyx.org>
1831
1832         * factory.C (createInset): pass a
1833         Buffer const * parameter to InsetExternalMailer's string2params.
1834
1835 2003-07-22  John Levon  <levon@movementarian.org>
1836
1837         * Thesaurus.h: include the right aiksaurus header
1838
1839 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1840
1841         * MenuBackend.C (expand): check menu shortcuts unconditionally
1842
1843 2003-07-21  Angus Leeming  <leeming@lyx.org>
1844
1845         * factory.C (createInset): pass a
1846         buffer_path parameter to InsetGraphicsMailer's string2params.
1847
1848 2003-07-21  Angus Leeming  <leeming@lyx.org>
1849
1850         * BufferView_pimpl.C (buffer):
1851         * buffer.C (d-tor):
1852         * lyx_main.C (LyX):
1853         * lyxfunc.C (dispatch):
1854         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1855         rather than the grfx shortcut.
1856
1857 2003-07-21  André Pönitz  <poenitz@gmx.net>
1858
1859         * rowpainter.C: remove unused variables
1860
1861         * tabular_funcs.C:
1862         * tabular_funcs.h: move to tabular.C
1863         * Makefile.am: adjust
1864
1865         * tabular.[Ch]: basic optical cleaning
1866
1867         * author.h: pass references, not values
1868
1869 2003-07-18  André Pönitz  <poenitz@gmx.net>
1870
1871         * lyxtext.h:
1872         * metricsinfo.C:
1873         * metricsinfo.h:
1874         * rowpainter.C:
1875         * text.C:
1876         * text2.C:
1877         * text3.C: two-phase drawing for InsetText and InsetTabular
1878         some float -> int changes.
1879
1880 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * lyx_main.C: fix the fix
1883
1884 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1885
1886         * lyx_main.C: fix a crash in batch mode if no files specified
1887         * converter.C: ws
1888
1889 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1890
1891         * format.[Ch] (papersize): moved to BufferParams
1892         * converter.[Ch] (dvips_options): moved to BufferParams
1893         (dvipdfm_options): moved to anon namespace
1894         * bufferparams.[Ch]: added above functions.
1895
1896 2003-07-17  André Pönitz  <poenitz@gmx.net>
1897
1898         * lyxtext.h:
1899         * rowpainter.C:
1900         * text2.C: don't call inset->update() anymore
1901
1902         * metricsinfo.[Ch]: add convenience constructor
1903
1904 2003-07-16  André Pönitz  <poenitz@gmx.net>
1905
1906         * lyxcursor.[Ch]:
1907         * lyxfunc.[Ch]:
1908         * text.C:
1909         * text2.C: replace the LyXCursor::irow_ member with
1910          on-demand computation of the value
1911
1912 2003-07-16  John Levon  <levon@movementarian.org>
1913
1914         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1915
1916 2003-07-15  André Pönitz  <poenitz@gmx.net>
1917
1918         * text.C:
1919         * text2.C: remove no more needed refresh_row
1920
1921 2003-07-15  André Pönitz  <poenitz@gmx.net>
1922
1923         * lyxtext.h:
1924         * rowpainter.C:
1925         * text2.C:
1926         * text3.C: refresh_status tristate -> need_update bool
1927
1928 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1929
1930         * lyxtext.h (init): remove reinit argument (act as if always true)
1931         * text2.C: adjust to that
1932
1933 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1934
1935         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1936         * text3.C: use it to delete selections in some cases
1937         (bugs 441, 673, 702, 954).
1938
1939 2003-07-14  André Pönitz  <poenitz@gmx.net>
1940
1941         * rowpainter.[Ch]: reduce interface
1942
1943 2003-07-14  André Pönitz  <poenitz@gmx.net>
1944
1945         * BufferView_pimpl.C:
1946         * text2.C: adjust after removing unused BufferView * argument
1947
1948 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * text2.C (init): fix a crash fired on resize
1951
1952 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1953
1954         * buffer.[Ch]: added new closing signal
1955         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1956         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1957         BufferView::Pimpl via the closing the signal
1958
1959 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1960
1961         * buffer.[Ch]: take out all bv-related from buffer
1962         * BufferView.C:
1963         * BufferView_pimpl.[Ch]: connect to new signals
1964         * CutAndPaste.C: removed useless asserts
1965         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1966         * lyxvc.[Ch]:
1967         * vc-backend.[Ch]:
1968         * lyxfunc.C: moved view-related funciontality from vc here
1969         * paragraph.C: removed outdated comments
1970         * text.C: ws
1971
1972 2003-07-10  André Pönitz  <poenitz@gmx.net>
1973
1974         * BufferView_pimpl.C:
1975         * tabular.h:
1976         * tabular_funcs.C:
1977         * text.C:
1978         * text2.C: remove InsetText::InnerCache, clean up consequences
1979
1980 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1981
1982         * ispell.C: fix two typos in error messages
1983
1984 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * Extend Note inset to other forms of annotation like Comment
1987         and Greyedout. Right button click gives dialog.
1988
1989         Files modified or added (+):
1990
1991         * insetnote.[Ch]
1992         * FormNote.[Ch]      +
1993         * ControlNote.[Ch]   +
1994         * form_note.fd       +
1995         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1996         frontends/controllers
1997         * xforms/Dialogs.C
1998         * factory.C
1999
2000 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2001
2002         * aspell.C: add missing namespace lyx::support
2003
2004 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2005
2006         * BufferView.[Ch] (newFile): Add
2007         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2008         * LaTeX.[Ch] (message): added this signal and use it
2009         * buffer.[Ch] (busy, message): added these signals and use them
2010         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2011         * converter.C:
2012         * exporter.C:
2013         * format.C:
2014         * importer.C: use buffer signals instead of direct bv calling
2015         * lyx_cb.[Ch] (ShowMessage): removed
2016         * lyx_main.C:
2017         * lyxfunc.C:
2018         * paragraph_funcs.C:
2019         * text2.C: use buffer signals
2020
2021 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2022
2023         * introduce namespace lyx::graphics
2024
2025 2003-07-02  André Pönitz  <poenitz@gmx.net>
2026
2027         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2028
2029 2003-07-01  André Pönitz  <poenitz@gmx.net>
2030
2031         * text.C:
2032         * text2.C:
2033         * text3.C:
2034         * text_funcs.[Ch]:
2035         * textcursor.h:
2036         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2037           text*.C to text_func.C
2038
2039 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2040
2041         * introduce namespace lyx::support
2042
2043 2003-06-30  André Pönitz  <poenitz@gmx.net>
2044
2045         * Chktex.C:
2046         * funcrequest.C:
2047         * lyxtext.h:
2048         * text.C: re-enable --with-included-string
2049
2050 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * textcursor.C: add <config.h>
2053
2054         * text.C (getWord): remove const from word_location arg
2055
2056         * lyxvc.C (getLogFile): fix const type order
2057
2058         * lyxtext.h: remove const from word_location arg, add arg name
2059
2060         * lyxlayout.h: currect type on labeltype.
2061
2062         * importer.C: correct \file
2063
2064         * converter.C (intToFormat): use std:: on ret val, ws changes
2065
2066         * bufferlist.h: correct \file
2067
2068         * buffer.C (makeLinuxDocFile): fix const type order
2069         (makeDocBookFile): ditto
2070         (fillWithBibKeys): use std:: on stdlib args.
2071
2072         * CutAndPaste.C: fix authors.
2073         (availableSelections): use std:: on return vector
2074
2075 2003-06-27  André Pönitz  <poenitz@gmx.net>
2076
2077         * BufferView_pimpl.C:
2078         * bufferview_funcs.C:
2079         * lyxcursor.C:
2080         * lyxcursor.h:
2081         * lyxfunc.C:
2082         * lyxtext.h:
2083         * rowpainter.C:
2084         * text.C:
2085         * text2.C:
2086         * text3.C: remove LyXCursor::row_ member
2087
2088         * lyxtext.h:
2089         * text.C: rename fullRebreak() to partialRebreak() and implement
2090           a fullRebreak() that really bereks fully
2091
2092         * textcursor.h: new struct for cursor-related data
2093
2094 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2095
2096         * lyx_main.C (LyX): get full path of document loaded on the
2097         command line
2098
2099 2003-06-26  André Pönitz  <poenitz@gmx.net>
2100
2101         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2102           remove unused/broken operator>,<,>=.
2103
2104         *       text.C: remove only use of broken operator<= in an Assert().
2105
2106 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2109         moved errorlist_.clear to showErrorList
2110
2111 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * converter.C (scanLog, runLaTeX):
2114         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2115         move the bv->showErrorList call to the callers
2116         * lyxfunc.C: i.e. here...
2117         * text2.C: and here
2118         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2119         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2120         namespace, the second to...
2121         * buffer_funcs (BufferFormat, parseErrors): added
2122         * errorlist.C (ErrorList(TeXErrors const &)): removed
2123
2124 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2125
2126         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2127
2128 2003-06-24  "Garst R. Reese" <reese@isn.net>
2129
2130         * debug.C: fix typo
2131
2132 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2133
2134         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2135
2136         * version.C.in: change docversion to 1.4
2137
2138 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2139
2140         * buffer.C: fix a bug just introduced
2141
2142 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2143
2144         * buffer.[Ch]: added the parseError signal and use it, removed
2145         sgmlError
2146         * BufferView.[Ch] (addError): moved to ...
2147         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2148         to the Buffer::parseError signal to catch (guess what) parse errors
2149         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2150
2151 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2154         ability to create a buffer and to return an existing one from
2155         the list. Moved these functions to...
2156         * buffer_funcs.[Ch]: added
2157         * BufferView.[Ch] (loadLyXFile): added
2158         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2159         job removed from bufferlist::loadLyXFile.
2160         * buffer.C (setReadOnly): make it work without view
2161         (i.e added an if (users))
2162
2163 2003-06-19  Angus Leeming  <leeming@lyx.org>
2164
2165         * lfuns.h:
2166         * LyXAction.C (init):
2167         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2168         with LFUN_DIALOG_SHOW <name> <data>.
2169
2170 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * CutAndPaste.C (availableSelections): small compilation fix for
2173         ancient (gcc 2.9x) compilers
2174
2175 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * text3.C (cursorNext): add tmp var
2178
2179         * text2.C (updateCounters): for function calling out of for clause
2180         (replaceSelectionWithString): ditto
2181         (insertStringAsParagraphs): ditto
2182         (getColumnNearX): add tmp var
2183         (setCursorFromCoordinates): add tmp var
2184         (cursorDownParagraph): add tmp var
2185         (deleteEmptyParagraphMechanism): add tmp var
2186
2187         * text.C (insertChar): add tmp var
2188
2189         * rowpainter.C (paintDepthBar): add tmp var
2190
2191         * CutAndPaste.C (availableSelections): potentially check all
2192         paragraphs in a cut to fill the shown strings.
2193
2194 2003-06-18  André Pönitz  <poenitz@gmx.net>
2195
2196         * kbmap.[Ch]: use vector<> instead of list<>
2197
2198 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2199
2200         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2201         pasteSelection with index
2202
2203         * text2.C (pasteSelection): modify, call pasteSelection with index
2204
2205         * paragraph.C (asString): reimplement version with no interval to
2206         call the one with interval.
2207
2208         * lyxtext.h: add index arg to pasteSelection
2209
2210         * MenuBackend.C (MenuItem): handle PasteRecent
2211         (Menu::read::Menutags): add md_pasterecent
2212         (read): handle it
2213         (expandPasteRecent): new function
2214         (expand): use it
2215
2216         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2217
2218         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2219         the limited stack
2220         (availableSelections): new function
2221
2222 2003-06-17  Angus Leeming  <leeming@lyx.org>
2223
2224         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2225
2226 2003-06-17  Angus Leeming  <leeming@lyx.org>
2227
2228         * lfuns.h:
2229         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2230
2231         * lyxfunc.C (dispatch): invoke it.
2232
2233 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * iterators.C (operator++, ParPosition): reintroduce some
2236         const_cast for the benefit of older compilers.
2237
2238 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2239
2240         * text3.C (dispatch): do not modify clipboard when doing
2241         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2242         LFUN_DELETE_SKIP on a selection selection
2243
2244 2003-06-16  André Pönitz  <poenitz@gmx.net>
2245
2246         * BufferView.C:
2247         * buffer.C:
2248         * buffer.h:
2249         * paragraph.C:
2250         * tabular.[Ch]: IU of clone() and getLabelList();
2251
2252 2003-06-13  André Pönitz  <poenitz@gmx.net>
2253
2254         * tabular.h: compactification
2255
2256 2003-06-12  André Pönitz  <poenitz@gmx.net>
2257
2258         * tabular.C:
2259         * tabular.h:
2260         * tabular_funcs.h: some renaming plus whitespace
2261
2262 2003-06-12  André Pönitz  <poenitz@gmx.net>
2263
2264         * BufferView.C:
2265         * BufferView_pimpl.C:
2266         * CutAndPaste.C:
2267         * buffer.C:
2268         * iterators.[Ch]:
2269         * lyxfunc.C:
2270         * text.C:
2271         * toc.C: Return a Paragraph & for ParIterator::operator*()
2272
2273 2003-06-11  John Levon  <levon@movementarian.org>
2274
2275         * lyx_main.C:
2276         * ToolbarBackend.h:
2277         * ToolbarBackend.C: add "Toolbars" section and
2278         put the flags there
2279
2280 2003-06-10  Angus Leeming  <leeming@lyx.org>
2281
2282         * lfuns.h:
2283         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2284
2285         * lyxfunc.C (dispatch): invoke it.
2286
2287 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * main.C: protect <ios> with HAVE_IOS
2290         (main): protect sync_with_stdio with HAVE_IOS
2291
2292 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2293
2294         * text2.C (cutSelection): adjust
2295         (pasteSelection): adjust
2296
2297         * messages.C: handle get of empty string
2298
2299         * main.C (main): use sync_with_stdio(false)
2300
2301         * lyxfunc.C (dispatch): adjust
2302
2303         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2304         (WriteAs): remove unneeded BufferView arg.
2305
2306         * bufferparams.h: use correct types on papersize, papersize2 and
2307         paperpackage.
2308
2309         * bufferparams.C (readToken): adjust for type
2310         (writeLaTeX): add missing cases to switch.
2311
2312         * bufferlist.C (quitWriteBuffer): adjust
2313         (close): adjust
2314
2315         * buffer.C (asciiParagraph): remove some commented code.
2316
2317         * CutAndPaste.C: remove current_view extern variable.
2318         (cutSelection): add BufferParams arg.
2319         (eraseSelection): add BufferParams arg.
2320         (pasteSelection): add Buffer const & arg
2321
2322 2003-06-07  John Levon  <levon@movementarian.org>
2323
2324         * buffer.C:
2325         * paragraph_funcs.C:
2326         * paragraph_pimpl.C:
2327         * text.C:
2328         * text2.C:
2329         * paragraph.h:
2330         * paragraph.C: allow InsetERT to freely space lines,
2331         and some consolidation of code
2332
2333 2003-06-06  José Matos  <jamatos@fep.up.pt>
2334
2335         * buffer.C (makeDocBookFile): fix bug #821
2336
2337 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2338
2339         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2340
2341 2003-06-04  Angus Leeming  <leeming@lyx.org>
2342
2343         * buffer.C: bump format to 224.
2344
2345 2003-06-05  André Pönitz  <poenitz@gmx.net>
2346
2347         * text2.C (redoParagraphs): remove two const_cast<>
2348
2349 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2350
2351         * ParagraphList.h: remove last remnants of NO_STD_LIST
2352
2353 2003-06-03  Angus Leeming  <leeming@lyx.org>
2354
2355         * factory.C (createInset): small change to the way InsetExternal's params
2356         are set.
2357
2358 2003-06-04  André Pönitz  <poenitz@gmx.net>
2359
2360         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2361
2362         * paragraph_pimpl.h:
2363         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2364
2365         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2366
2367         * undo_funcs.C: make some simple cases of undo work again
2368
2369 2003-06-03  John Levon  <levon@movementarian.org>
2370
2371         * ispell.C: HPUX doesn't have sys/select.h
2372         (from Albert Chin)
2373
2374 2003-06-03  John Levon  <levon@movementarian.org>
2375
2376         * CutAndPaste.C: update tabular and include inset
2377         buffer references
2378
2379         * buffer.h:
2380         * paragraph.h:
2381         * paragraph.C: remove owningBuffer(), don't pass Buffer
2382         to clone()
2383
2384         * factory.C: insetGraphicsParams changed
2385
2386 2003-06-02  John Levon  <levon@movementarian.org>
2387
2388         * LyXAction.C:
2389         * factory.C:
2390         * lfuns.h:
2391         * lyxfunc.C:
2392         * text3.C: remove insetparent
2393
2394 2003-06-02  John Levon  <levon@movementarian.org>
2395
2396         * buffer.h:
2397         * buffer.C: fix inset_iterator.end(), move out of line
2398         (bug 1149)
2399
2400 2003-06-01  John Levon  <levon@movementarian.org>
2401
2402         * text3.C: use a proper cut/paste when doing inset
2403         insert (from Jürgen Spitzmüller)
2404
2405 2003-06-01  John Levon  <levon@movementarian.org>
2406
2407         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2408
2409 2003-05-30  André Pönitz  <poenitz@gmx.net>
2410
2411         * rowpainter.C: unify second drawing phase
2412
2413 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2414
2415         * trans_mgr.C: remove one case of current_view
2416
2417         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2418
2419         * paragraph_funcs.h: remove paragraph.h include
2420
2421         * paragraph.h: delete NO_STD_LIST stuff
2422
2423         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2424
2425         * buffer.h: remove paragraph.h include
2426
2427         * ParagraphList.C: delete file
2428
2429         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2430
2431         * toc.C (getTocList): adjust
2432
2433         * paragraph_pimpl.C (validate): adjust
2434
2435         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2436
2437         * paragraph.C (Paragraph): adjust
2438         (getPositionOfInset): use const_iterator, adjust
2439         (bibitem): use const_iterator, adjust
2440         (setInsetOwner): adjust
2441
2442         * iterators.C (operator++): adjust
2443
2444         * InsetList.[Ch]: Replace selfmade iterator with standard
2445         vector::iterator also introduce const_iterator. Remove getPos,
2446         getInset and setInset from InsetTable. Adjust accordingly.
2447
2448         * BufferView.C (lockInset): adjust
2449         (ChangeInsets): adjust
2450
2451         * tabular.[Ch]: delete commented same_id functions
2452
2453 2003-05-28  John Levon  <levon@movementarian.org>
2454
2455         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2456
2457 2003-05-28  André Pönitz  <poenitz@gmx.net>
2458
2459         * metricsinfo.[Ch]: remove 'fullredraw' member
2460
2461 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2462
2463         * lyxtextclass.C (operator): remove caching.
2464
2465 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2466
2467         * text3.C: adjust
2468
2469         * text2.C (cursorBottom): adjust
2470         (setCounter): use ParagraphList::find, adjust
2471
2472         * text.C (workWidth): use ParagraphList::find, adjust
2473
2474         * lyxcursor.C (LyXCursor): adjust
2475
2476         * buffer.C (inset_iterator): adjust
2477
2478         * ParagraphList.h: make iterator(value_type) private, make
2479         ParagraphList a friend of iterator.
2480
2481         * ParagraphList.C (find): new function
2482
2483         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2484
2485 2003-05-27  André Pönitz  <poenitz@gmx.net>
2486
2487         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2488
2489 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2490
2491         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2492
2493 2003-05-26  John Levon  <levon@movementarian.org>
2494
2495         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2496
2497 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * remove same_id from function signatures, adjust.
2500
2501 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2504
2505         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2506
2507         * paragraph.C (Paragraph): get rid of same_ids parameter
2508
2509         * ParagraphList.C (insert): adjust
2510         (push_back): adjust
2511
2512 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2513
2514         * paragraph_funcs.C (breakParagraph): adjust
2515         (breakParagraphConservative): adjust
2516
2517         * buffer.C (readParagraph): adjust
2518
2519         * ParagraphList.C (insert): take a reference instead of a pointer
2520         (insert): adjust
2521
2522         * paragraph.[Ch] (id): new function
2523
2524         * bufferlist.C (newFile): adjust
2525
2526         * ParagraphList.C (ParagraphList): adjust
2527         (assign): adjust
2528         (push_back): take a reference instead of a pointer.
2529
2530         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2531
2532         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2533         instead.
2534
2535         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2536         set else use old code.
2537
2538         * ParagraphList.C: remove all NO_NEXT code and only compile this
2539         code of NO_STD_LIST is set.
2540
2541 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2542
2543         * BufferView_pimpl.C:
2544         * TextCache.C:
2545         * TextCache.h:
2546         * bufferlist.C:
2547         * errorlist.h:
2548         * format.C:
2549         * format.h:
2550         * graph.C:
2551         * lyxfunc.C:
2552         * lyxrc.C:
2553         * graphics/GraphicsConverter.C:
2554         * graphics/PreviewLoader.C: header adjustment
2555
2556 2003-05-23  Angus Leeming  <leeming@lyx.org>
2557
2558         * LaTeXFeatures.[Ch] (useBabel): new method.
2559         * bufferparams.C (writeLaTeX): use it.
2560
2561 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2562
2563         * ParagraphList.h (set): remove unused function.
2564
2565 2003-05-23  André Pönitz  <poenitz@gmx.net>
2566
2567         * BufferView.C:
2568         * BufferView_pimpl.C:
2569         * buffer.C:
2570         * buffer.h:
2571         * lyxfunc.C:
2572         * undo_funcs.C: setUndo reworked
2573
2574         * iterators.[Ch]: add access to topmost ParagraphList
2575
2576         * lyxtext.[Ch] (workWidth): add a const
2577
2578 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2579
2580         * texrow.[Ch] (increasePos): remove function
2581         * exporter.C (export): removed unused var and outdated comment
2582
2583 2003-05-23  Angus Leeming  <leeming@lyx.org>
2584
2585         * latexrunparams.h: rename fragile as moving_arg.
2586         * paragraph.C (simpleTeXOnePar): ditto.
2587         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2588
2589 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2590
2591         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2592         (createUndo): ditto
2593         (textUndoOrRedo): comment out a currently unused var.
2594
2595         * paragraph.h (NO_NEXT): enable NO_NEXT
2596
2597         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2598
2599         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2600
2601         * exporter.C (Export): adjust for removeAutoInsets removal.
2602
2603         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2604
2605         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2606
2607         * BufferView.[Ch] (removeAutoInsets): delete function
2608
2609 2003-05-22  Angus Leeming  <leeming@lyx.org>
2610
2611         * latexrunparams.h: add a free_spacing variable.
2612
2613         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2614         to pass moving_arg, as the data is stored in runparams.fragile.
2615
2616         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2617         to Inset::latexOptional or to simpleTeXOnePar.
2618
2619         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2620         free_spacing arg to Inset::latexOptional.
2621
2622         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2623         free_spacing arg.
2624
2625 2003-05-22  Angus Leeming  <leeming@lyx.org>
2626
2627         * latexrunparams.h: add fragile and use_babel variables.
2628
2629         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2630         * buffer.C (makeLaTeXFile): store this returned value in
2631         runparams.use_babel, thus passing it to the inset::latex methods.
2632
2633         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2634         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2635
2636         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2637         longer has a fragile arg, as it is stored in runparams.fragile.
2638
2639         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2640         moving_arg parameter as the data is stored in runparams.fragile.
2641
2642         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2643         a fragile parameter as the data is stored in runparams.fragile.
2644
2645 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2648
2649 2003-05-22  Angus Leeming  <leeming@lyx.org>
2650
2651         * latexrunparams.h: add a 'bool nice' which defaults to false.
2652
2653         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2654         now encapsulated within runparams.
2655
2656         * bufferlist.C (updateIncludedTeXfiles):
2657         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2658
2659 2003-05-22  Angus Leeming  <leeming@lyx.org>
2660
2661         * latexrunparams.h: new file containing struct LatexRunParams.
2662         * Makefile.am: add new file.
2663
2664         * LaTeX.[Ch] (c-tor, run):
2665         * buffer.[Ch] (makeLaTeXFile):
2666         * bufferlist.[Ch] (updateIncludedTeXfiles):
2667         * converter.C (convert, scanLog):
2668         * converter.[Ch] (runLaTeX):
2669         * exporter.C (Export):
2670         * paragraph.[Ch] (simpleTeXOnePar):
2671         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2672         * paragraph_funcs.[Ch] (latexParagraphs):
2673         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2674         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2675         pass around a LatexRunParams parameter.
2676
2677 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * paragraph.[Ch]: remove unused constructor
2680
2681         * ParagraphList.C (erase): new function, taking two iterators
2682
2683 2003-05-22  André Pönitz  <poenitz@gmx.net>
2684
2685         * undo_funcs.C: remove duplicated code
2686
2687         * iterator.[Ch]: operator=
2688
2689 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2690
2691         * tabular.C (SetMultiColumn): ws changes
2692
2693         * rowpainter.C (paintFirst): get rid of a ->previous
2694
2695         * lyx_cb.C (getPossibleLabel): parlist simplification
2696
2697         * BufferView.C (ChangeInsets): simplify slightly.
2698
2699 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2700
2701         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2702         * lfuns.h: new LFUN_SPACE
2703         * lyxfunc.C: protected space has a new lfun
2704         * paragraph_funcs.C: read new space insets
2705         * text3.C:
2706         * factory.C: handle new space insets
2707
2708 2003-05-22  André Pönitz  <poenitz@gmx.net>
2709
2710         * BufferView.C:
2711         * BufferView_pimpl.C:
2712         * buffer.[Ch]:
2713         * lyxfunc.C:
2714         * undo_funcs.C: return a ParIterator from getParFromID.
2715
2716         * iterators.[Ch]: add two const's
2717
2718 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2719
2720         * toc.C (getTocList): adjust
2721
2722         * iterators.[Ch]: rework for parlist
2723
2724         * buffer.C (par_iterator_begin): adjust
2725         (par_iterator_end): adjust
2726
2727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2728
2729         * BufferView.C (removeAutoInsets): adjust
2730         (ChangeInsets): adjust
2731
2732 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * text.C (top_y): fix bug 1110
2735
2736 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2737
2738         * errorlist.[Ch]: added
2739         * buffer.C:
2740         * BufferView.[Ch]:
2741         * BufferView_pimpl.C:
2742         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2743         instead
2744
2745 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * Makefile.am: ensure that lyx is relinked upon changes to the
2748         various "convenience" libs.
2749
2750 2003-05-20  Angus Leeming  <leeming@lyx.org>
2751
2752         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2753         files are compiled in alphabetical order again.
2754
2755         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2756
2757 2003-05-19  Angus Leeming  <leeming@lyx.org>
2758
2759         * gettext.[Ch]: remove "char const * _(char const *)".
2760
2761 2003-05-19  André Pönitz  <poenitz@gmx.net>
2762
2763         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2764
2765         * Makefile.am:
2766         * BufferView.C:
2767         * DepTable.h:
2768         * LaTeXFeatures.C:
2769         * buffer.C:
2770         * lyxfont.C:
2771         * lyxlex.h:
2772         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2773
2774 2003-05-19  André Pönitz  <poenitz@gmx.net>
2775
2776         * buffer.C:
2777         * lyxlayout.[Ch]:
2778         * lyxtextclass.[Ch]:
2779         * paragraph.C:
2780         * paragraph_funcs.[Ch]:
2781         * text2.C:
2782         * text3.C: more insetenv work
2783
2784 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * ParagraphParameters.C (params2string): small bug fixed
2787
2788 2003-05-16  André Pönitz  <poenitz@gmx.net>
2789
2790         * debug.C:
2791         * bufferview_funcs.C: patch from Kornel Benko to prevent
2792           crash when _(...) is called twice in a statement
2793
2794 2003-05-16  André Pönitz  <poenitz@gmx.net>
2795
2796         * BufferView.C:
2797         * lyxfunc.C:
2798         * text.C:
2799         * text2.C:
2800         * text3.C:
2801         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2802
2803 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2804
2805         * lyx_main.C (init): remove spurious static_cast
2806
2807 2003-05-14  André Pönitz  <poenitz@gmx.net>
2808
2809         * BufferView.C: fix format string
2810
2811 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * BufferView.[Ch] (insertErrors): removed
2814         * BufferView.[Ch] (showErrorList): added
2815         * buffer.C (runChkTeX):
2816         * converter.C (scanLog): call showErrorList instead of inserterrors
2817
2818 2003-05-13  André Pönitz  <poenitz@gmx.net>
2819
2820         * BufferView_pimpl.C:
2821         * buffer.C:
2822         * bufferview_func.C:
2823         * MenuBackend.C:
2824         * lyxfunc.C:
2825         * lyxrc.C:
2826         * tex-accent.C:
2827         * text3.C:
2828         * toc.C:
2829         * tabular_funcs.h: tostr() from its own header
2830
2831         * ParagraphParameters.C:
2832         * ToolbarBackend.C:
2833         * bufferparams.C:
2834         * format.C:
2835         * lyxlex_pimpl.C:
2836         * text3.C: STRCONV()
2837
2838 2003-05-12  André Pönitz  <poenitz@gmx.net>
2839
2840         * BufferView.C:
2841         * BufferView_pimpl.C:
2842         * CutAndPaste.C:
2843         * LaTeX.C:
2844         * LaTeXFeatures.C:
2845         * ParagraphParameters.C:
2846         * buffer.C:
2847         * bufferlist.C:
2848         * bufferparams.C:
2849         * bufferview_funcs.C:
2850         * converter.C:
2851         * counters.C:
2852         * debug.C:
2853         * exporter.C:
2854         * format.C:
2855         * importer.C:
2856         * lyx_cb.C:
2857         * lyx_main.C:
2858         * lyxfont.C:
2859         * lyxfunc.C:
2860         * lyxvc.C:
2861         * paragraph.C:
2862         * paragraph_funcs.C:
2863         * tabular.C:
2864         * tabular_funcs.C:
2865         * text2.C:
2866         * text3.C:  boost::format -> bformat  all over the place
2867
2868
2869 2003-05-09  André Pönitz  <poenitz@gmx.net>
2870
2871         * LColor.[Ch]: Pimpl the #include <map> away
2872
2873 2003-05-09  John Levon  <levon@movementarian.org>
2874
2875         * bufferlist.C: never remove emergency saves
2876
2877 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2878
2879         * Makefile.am: better lib building
2880
2881 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2884         instead.
2885         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2886         (simpleTeXSpecialChars): adjust
2887         (simpleTeXSpecialChars): adjust
2888         * paragraph.C (simpleTeXOnePar): adjust
2889         * buffer.C (makeLaTeXFile): adjust
2890
2891         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2892
2893         * text2.C (changeDepth): parlist cleanup
2894         (getColumnNearX): ditto
2895
2896         * rowpainter.C (getLabelFont): parlist cleanup
2897
2898         * bufferlist.C (newFile): parlist cleanup
2899
2900         * CutAndPaste.C (eraseSelection): parlist cleanup
2901
2902         * BufferView_pimpl.C (trackChanges): parlist cleanup
2903         (dispatch): ditto
2904
2905         * BufferView.C (lockInset): parlist cleanup.
2906         (ChangeInsets): ditto
2907
2908 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * CutAndPaste.h: Update file header.
2911
2912         * CutAndPaste.C: Update file header.
2913         Store the parts cut out of the Document in a limited_stack.
2914         (copySelection): adjust
2915         (pasteSelection): new function, takes the index in the limited stack.
2916         (nrOfParagraphs): adjust
2917         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2918         simplify error inset insertion.
2919         (checkPastePossible): adjust
2920
2921 2003-05-06  John Levon  <levon@movementarian.org>
2922
2923         * text2.C: don't cast wrap inset to float
2924
2925 2003-05-05  André Pönitz  <poenitz@gmx.net>
2926
2927         * iterator.C:
2928         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2929
2930         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2931           few naked Paragraph *.
2932
2933 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2934
2935         * bufferparams.C: Output warning if a document with missing
2936         TeX document class is loaded
2937         * exporter.C: Disable TeX exports if the document class is missing
2938         * lyxtextclass.C:
2939         * lyxtextclass.h:
2940         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2941         isTeXClassAvailable()
2942
2943 2003-05-03  John Levon  <levon@movementarian.org>
2944
2945         * BufferView.h:
2946         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2947         explicit cursor show/hide
2948
2949         * BufferView_pimpl.h:
2950         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2951         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2952
2953         * lyxfunc.C: hide cursor before dispatching.
2954
2955         * lyx_cb.C:
2956         * lyxfind.C:
2957         * text.C:
2958         * text3.C: remove explicit cursor hides
2959
2960 2003-05-02  André Pönitz  <poenitz@gmx.net>
2961
2962         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2963
2964         * undo_funcs.C:
2965         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2966           linked lists
2967
2968         * text2.C: tiny whitespace
2969
2970 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * undo_funcs.C: almost only ws changes.
2973
2974         * ParagraphList.C (splice): just return if pl is empty.
2975
2976 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * ParagraphList.C (splice): new function.
2979
2980         * CutAndPaste.C (pasteSelection): use it
2981
2982 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * CutAndPaste.C (pasteSelection): remove the last next and
2985         previous from this file.
2986
2987 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * CutAndPaste.C (pasteSelection): more clean up, user proper
2990         ParagraphList functions for pasteing.
2991
2992         * ParagraphList.C (insert): new function, three arg insert
2993
2994 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * ParagraphList.C (insert): new function, three arg insert
2997
2998         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2999         not on paragraphs.
3000
3001 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3004
3005 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3008
3009 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3012         (copySelection): clean up a bit.
3013         (pasteSelection): use make_pair
3014
3015         * ParagraphList.C (ParagraphList): implement copy constructor
3016         (operator=): implement, base on copy constructor.
3017         (assign): new func
3018
3019         * paragraph.C (erase): return a bool
3020
3021         * paragraph_pimpl.C (erasePos): remove function, move contents...
3022         (erase): ... here. Return a bool.
3023         (erase): call erase instead of erasePos.
3024
3025 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3026
3027         * ParagraphList.h: define PitPosPair
3028         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3029         ParagraphList, fix a bug on pasting multiple pars
3030         * text2.C: change interface to C&P
3031
3032 2003-04-30  André Pönitz  <poenitz@gmx.net>
3033
3034         * undo_func.C: revert part of yesterday's patch 2
3035
3036 2003-04-30  John Levon  <levon@movementarian.org>
3037
3038         * LColor.C: s/tabular/table/
3039
3040 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * text3.C (dispatch): do not convert iterator -> pointer
3043         * undo_funcs.C (setCursorParUndo): ditto
3044         * text_funcs.C (transposeChars): ditto
3045
3046         * text2.C (setLayout): ws changes only
3047
3048         * text.C (breakParagraph): do not convert iterator -> pointer
3049         (insertChar): ditto
3050         (acceptChange): ditto
3051         (rejectChange): ditto
3052         (changeCase): ditto
3053         (Delete): ditto
3054         (backspace): ditto
3055
3056         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3057         pointer
3058
3059 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * text3.C (gotoInset): YABG (yet another bad getChar)
3062
3063 2003-04-29  André Pönitz  <poenitz@gmx.net>
3064
3065         * paragraph.h: make operator= private unimplemented as long as
3066           it is unusable
3067
3068         * ParagraphList.C: whitespace
3069
3070         * paragraph.[Ch]:
3071         * paragraph_pimpl.[Ch]:
3072         * paragraph_funcs.C:
3073         * CutAndPaste.C:
3074         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3075
3076         * text2.C:
3077           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3078
3079 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3080
3081         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3082         * paragraph.[Ch] (erase):
3083         * paragraph_pimpl.[Ch] (erase): change return type and value
3084         * text2.C (cutSelection): some rework
3085
3086 2003-04-28  John Levon  <levon@movementarian.org>
3087
3088         * bufferlist.C: changes for unsaved changes dialog
3089
3090 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3091
3092         * bufferlist.C (newFile): set language (messages_) for new
3093         documents also.
3094
3095         * buffer.C (readFile): ws changes only.
3096
3097 2003-04-28  André Pönitz  <poenitz@gmx.net>
3098
3099         * undo_funcs.C:
3100         * lyxfunc.C:
3101         * buffer.[Ch]:
3102         * BufferView_pimpl.C:
3103         * BufferView.C: getParFromID related ParagraphList::iterator changes
3104
3105 2003-04-28  André Pönitz  <poenitz@gmx.net>
3106
3107         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3108           Changes
3109
3110 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3111
3112         * messages.C: remove one more localedir class variable.
3113
3114 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * messages.C (getLocaleDir): singleton generation function
3117         (Pimpl): use it.
3118         (Messages): add a default constructor.
3119
3120         * main.C (main): do not setup localedir here, do not call
3121         gettext_init.
3122
3123         * gettext.C (_): use it.
3124         (gettext_init): delete funciton
3125
3126 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * gettext.C (getLyXMessages): new singleton generating function.
3129
3130         * buffer.C (updateDocLang): adjust
3131
3132         * Makefile.am (messages.o): add target
3133         (main.o): remove target
3134
3135 2003-04-27  John Levon  <levon@movementarian.org>
3136
3137         * bufferlist.C:
3138         * lyx_cb.C:
3139         * lyxfunc.C:
3140         * lyxvc.C: specify cancel button in Alert::prompt
3141
3142 2003-04-26  John Levon  <levon@movementarian.org>
3143
3144         * text3.C:
3145         * lyxfunc.C:
3146         * lfuns.h:
3147         * LyXAction.C: add LFUN_INSET_SETTINGS
3148
3149         * lyxfunc.C: don't enable tabular-feature when there's
3150         just any locking inset
3151
3152 2003-04-26  John Levon  <levon@movementarian.org>
3153
3154         * bufferlist.C: re-add Cancel to buffer close question
3155
3156         * lyxfunc.C: fix import UI a bit
3157
3158 2003-04-25  John Levon  <levon@movementarian.org>
3159
3160         * gettext.C: remove the broken asserts for now
3161
3162 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * messages.C: make case where setlocale cannot comply work better.
3165
3166         * buffer.C (updateDocLang): new function
3167         (changeLanguage): use it
3168         (readFile): use it
3169
3170         * text2.C (setCounter): use B_ a bit.
3171
3172         * lyxlayout.C (Read): be sure to trim the label strings.
3173
3174         * messages.C (Messages): fix typo in comment
3175
3176         * buffer.C (readFile): set message_ after file is loaded.
3177         (makeDocBookFile): remove double return
3178         (changeLanguage): reset message_ upon language change.
3179         (B_): new func, use this to get translated buffer strings.
3180
3181         * main.C: add myself and Jean Marc as authors.
3182
3183 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * messages.[hC]: pimplify Messages, and three different pimpls to be
3186         used in different circumstances.
3187
3188         * gettext.[Ch]: change for use with new message code.
3189
3190 2003-04-24 André Pönitz <poenitz@gmx.net>
3191
3192         * factory.C: support for eqref
3193
3194 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * messages.[Ch]: add missing char
3197
3198         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3199
3200         * messages.[Ch]: New files
3201
3202 2003-04-18  John Levon  <levon@movementarian.org>
3203
3204         * BufferView.h:
3205         * BufferView.C:
3206         * BufferView_pimpl.C:
3207         * lfuns.h:
3208         * LyXAction.C:
3209         * lyxtext.h:
3210         * text2.C: remove layout-copy/paste (bug 778)
3211
3212 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3213
3214         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3215
3216 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3217
3218         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3219         if they succeed. Act accordingly.
3220
3221 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * text2.C (setCharFont): adjust
3224         (setCounter): adjust
3225         (insertStringAsLines): adjust
3226
3227         * text.C (leftMargin): adjust
3228         (setHeightOfRow): adjust
3229
3230         * rowpainter.C (paintFirst): adjust
3231         (paintLast): adjust
3232
3233         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3234         (outerHook): ditto
3235         (isFirstInSequence): ditto
3236         (getEndLabel): ditto
3237         (outerFont): adjust
3238
3239         * paragraph.C (getParLanguage): comment out some hard stuff.
3240
3241         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3242         (sgmlError): ditto
3243         (simpleDocBookOnePar): ditto
3244         (makeDocBookFile): use ParagraphList::iterator
3245
3246         * CutAndPaste.C (pasteSelection): adjust
3247
3248 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * text2.C (getFont): adjust
3251         (getLayoutFont): adjust
3252         (getLabelFont): adjust
3253
3254         * paragraph_funcs.C (TeXOnePar): adjust
3255
3256         * buffer.C (simpleLinuxDocOnePar): adjust
3257         (simpleDocBookOnePar): adjust
3258
3259         * CutAndPaste.C (pasteSelection): adjust
3260
3261         * BufferView.C (getEncoding): adjust
3262
3263         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3264
3265 2003-04-16  John Levon  <levon@movementarian.org>
3266
3267         * lyxfind.C: use parlist stuff for search/changes
3268
3269 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3270
3271         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3272
3273         * text2.C (deleteEmptyParagraphMechanism): adjust
3274
3275         * text2.[Ch] (ownerParagraph): delete func (both of them
3276
3277 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3280
3281 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3282
3283         * ParagraphList.C: prepare for NO_NEXT
3284
3285 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * text2.C (getFont): adjust
3288         (getLayoutFont): adjust
3289         (getLabelFont): adjust
3290
3291         * paragraph.C (getFont): adjust
3292         (getLabelFont): adjust
3293         (getLayoutFont): adjust
3294
3295         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3296
3297 2003-04-15  John Levon  <levon@movementarian.org>
3298
3299         From Angus Leeming
3300
3301         * lyx_main.C: handle Include in .ui files
3302
3303 2003-04-15  John Levon  <levon@movementarian.org>
3304
3305         * MenuBackend.C: make the doc files length shorter
3306
3307         * ToolbarBackend.h:
3308         * ToolbarBackend.C: handle toolbar placement flags,
3309         Minibuffer
3310
3311 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3314         adjust
3315
3316         * paragraph_funcs.C (TeXOnePar): adjust
3317
3318         * paragraph.C (getLabelFont): add outerfont arg, adjust
3319         (getLayoutFont): ditto
3320         (simpleTeXOnePar): adjust
3321
3322         * paragraph_pimpl.C (realizeFont): delete func
3323
3324 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3325
3326         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3327         row argument, constify cur argument.
3328
3329 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * text2.C (getFont): adjust
3332         (getLayoutFont): adjust
3333         (getLabelFont): adjust
3334
3335         * paragraph_funcs.C (TeXOnePar): adjust
3336         (outerFont): new func...
3337         (realizeFont): ...moved out from here, changed this to facilitate
3338         transition
3339
3340         * paragraph.C (getFont): take outerfont as arg, adjust
3341         (simpleTeXOnePar): add outerfont arg, adjust
3342
3343         * buffer.C (simpleLinuxDocOnePar): adjust
3344         (simpleDocBookOnePar): adjust
3345
3346         * CutAndPaste.C (pasteSelection): adjust
3347
3348         * BufferView.C (getEncoding): adjust
3349
3350 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3351
3352         * text2.C (setCharFont): adjust
3353         (setCounter): adjust
3354
3355         * text.C (leftMargin): adjust
3356         (setHeightOfRow): adjust
3357
3358         * rowpainter.C (paintFirst): adjust
3359         (paintLast): adjust
3360
3361         * paragraph_pimpl.C (realizeFont): adjust
3362
3363         * paragraph.C (isFirstInSequence): move from here...
3364         * paragraph_funcs.C (isFirstInSequence): ...to here
3365
3366         * paragraph.C (outerHook): move from here...
3367         * paragraph_funcs.C (outerHook): ...to here
3368
3369         * paragraph.C (depthHook): move from here...
3370         * paragraph_funcs.C (depthHook): ...to here
3371
3372         * paragraph.C (getEndLabel): move from here...
3373         * paragraph_funcs.C (getEndLabel): ...to here
3374
3375         * text2.C (realizeFont): move from here...
3376         * paragraph_funcs.C (realizeFont): ...to here
3377
3378 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3381
3382 2003-04-14  Angus Leeming  <leeming@lyx.org>
3383
3384         * LColor.[Ch]: scrap LColor mathcursor.
3385
3386 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3387
3388         * lyxlex.[Ch] (text): delete function
3389         * trans.C (Load): adjust
3390         * paragraph_funcs.C (readParToken): adjust
3391
3392 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3393
3394         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3395         vector<char> instead of a char[].
3396
3397         * lyxlex_pimpl.C (getString): adjust
3398         (next): adjust
3399         (lex): use getString
3400         (eatLine): adjust
3401         (nextToken): adjust
3402
3403         * lyxlex.C (text): use pimpl_->getString()
3404         (getBool): ditto
3405         (findToken): ditto
3406
3407 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3410         (makeFontEntriesLayoutSpecific): temp var for par.size()
3411         (setLayout): temp var for ownerParagraphs().end()
3412         (fullRebreak): temp var for rows().end()
3413         (selectionAsString): temp var for boost::next(startpit), realize
3414         that the while really is a regular for loop.
3415         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3416         setCursor in one place.
3417         (setParagraph): temp vr for ownerParagraphs().end()
3418         (updateCounters): make the while loop a for loop
3419         (cutSelection): temp var for ownerParagraphs().end()
3420         (updateInset): make the do {} while() a regular for loop
3421         (getCursorX): use temp vars
3422         (setCurrentFont): use temp vars
3423         (getColumnNearX): use temp vars
3424
3425 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * text.C (transformChar): use temp var for getChar
3428         (computeBidiTables): use temp var for row->par()
3429         (fill): move temp vars for row->par() and pit->layout() earlier in
3430         the function.
3431         (labelFill): use temp var for row->par()
3432         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3433         asc and desc, realize that pit never changes and that firstpit is
3434         just a duplicate and not needed. Exchange rit->par() with pit in a
3435         lot of places.
3436         (breakAgain): use a temp var for boost::next(rit)
3437         (breakAgainOneRow): ditto
3438         (breakParagraph): use a temp var for rows().begin()
3439         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3440         (cursorRightOneWord): use temp var for cursor.par() and
3441         cursor.pos(), remove usage of tmpcursor.
3442         (cursorLeftOneWord): use temp var for cursor.par() and
3443         cursor.pos() only set cur at end of function.
3444
3445 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * text.C, text2.C: exchange all usage of Paragraph::next with
3448         boost::next(ParagraphList::iterator)
3449
3450         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3451
3452         * text2.C (cursorTop): simplify implementation
3453         (cursorBottom): ditto
3454         (setParagraph): use ParagraphList::iterator
3455         (setCurrentFont): adjust
3456         (getColumnNearX): adjust
3457         (cursorRight): adjust
3458         (cursorLeft): remove usage of Paragraph::previous
3459         (cursorUpParagraph): ditto
3460         (deleteEmptyParagraphMechanism): slight cleanup
3461
3462         * text.C (isBoundary): take a Paragraph const & instead of a
3463         pointer as arg.
3464         (addressBreakPoint): ditto
3465         (leftMargin): remove usage of Paragraph::previous.
3466         (setHeightOfRow): ditto
3467         (cursorLeftOneWord): ditto
3468         (selectNextWordToSpellcheck): ditto
3469         (Delete): ditto
3470         (backspace): ditto
3471         (breakParagraph): remove one usage of Paragraph::next
3472         (redoParagraph): ditto
3473         (acceptChange): ditto
3474         (insertChar): adjust
3475         (rowBreakPoint): adjust
3476
3477         * bufferview_funcs.C (toggleAndShow): adjust
3478
3479 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3482         methods to access it.
3483         * lyxtext.h:
3484         * text.C: Added updateRowPositions to compute all row positions.
3485         Make top_y and getRowNearY() to use the cached y position
3486
3487 2003-04-11  John Levon  <levon@movementarian.org>
3488
3489         * text.C (rowBreakPoint): reintroduce the labelEnd
3490         checks, code copied from the row fill stuff. Deep voodoo.
3491
3492         * text.C (fill): add a comment and debugging for the
3493         next poor soul.
3494
3495 2003-04-11  John Levon  <levon@movementarian.org>
3496
3497         * text.C: make sure fullrow insets get wrapped to the next line,
3498         even when they're in a manual label
3499
3500 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * text2.C (insertParagraph): make it take ParagraphList::iterator
3503         as arg.
3504         (setLayout): make it return ParagraphList::iterator
3505         (redoParagraphs): ditto
3506         (setCounter): ditto
3507         (checkParagraph): ditto
3508
3509         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3510
3511         * text2.C: adjust several funcs.
3512         (realizeFont): take a ParagraphList::iterator as arg.
3513         (getLayoutFont): ditto
3514         (getLabelFont): ditto
3515         (setCharFont): ditto
3516
3517         * text.C: adjust several funcs.
3518
3519 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * text.C (selectNextWordToSpellcheck): don't accidentally
3522         skip insets
3523
3524 2003-04-10  John Levon  <levon@movementarian.org>
3525
3526         * ToolbarBackend.C (getIcon): special handling for
3527         LFUN_MATH_DELIM
3528
3529 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3530
3531         * text2.C (cursorRight): a getChar assert fixed
3532
3533 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * text2.C (getFont): change to take a ParagraphList::iterator
3536         instead of Paragraph*
3537         Adjust several functions.
3538
3539         * text.C (transformChar): change to take a ParagraphList::iterator
3540         instead of Paragraph*
3541         (singleWidth): ditto
3542         Adjust several functions.
3543
3544         * rowpainter.C: adjust several functions
3545         * rowpainter.h:store a ParagraphList::iterator and not a
3546         Paragraph&.
3547
3548
3549 2003-04-09  John Levon  <levon@movementarian.org>
3550
3551         * lyxfunc.C:
3552         * lfuns.h:
3553         * LyXAction.h:
3554         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3555         and the "help" bits as well
3556
3557 2003-04-09  John Levon  <levon@movementarian.org>
3558
3559         * ToolbarBackend.h:
3560         * ToolbarBackend.C: allow multiple toolbars
3561
3562 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * undo_funcs.C (setCursorParUndo): adjust
3565
3566         * text_funcs.C (transposeChars): adjust
3567
3568         * text3.C (gotoNextInset): adjust
3569         (dispatch): adjust
3570
3571         * text2.C (setLayout): adjust
3572         (changeDepth): adjust
3573         (setFont): adjust
3574         (redoParagraphs): adjust
3575         (selectionAsString): adjust
3576         (setParagraph): adjust
3577         (insertInset): adjust
3578         (cutSelection): adjust
3579         (copySelection): adjust
3580         (pasteSelection): adjust
3581         (insertStringAsLines): adjust
3582         (updateInset): adjust
3583         (setCursor): change to take a ParagraphList::iterator parameter
3584         (setCursorIntern): change to take a ParagraphList::iterator parameter
3585         (setCurrentFont): adjust
3586         (cursorLeft): adjust
3587         (cursorRight): adjust
3588         (deleteEmptyParagraphMechanism): adjust
3589
3590         * text.C (breakParagraph): adjust
3591         (insertChar): adjust
3592         (acceptChange): adjust
3593         (rejectChange): adjust
3594         (selectNextWordToSpellcheck): adjust
3595         (changeCase): adjust
3596         (Delete): adjust
3597         (backspace): adjust
3598
3599         * lyxfind.C (SearchForward): adjust
3600         (SearchBackward): adjust
3601         (nextChange): adjust
3602
3603         * lyxcursor.C (par): adjust
3604
3605         * lyxcursor.h: store a ParagraphList::iterator instead of a
3606         Paragraph*
3607
3608         * lyx_cb.C (getPossibleLabel): adjust
3609
3610         * bufferview_funcs.C (toggleAndShow): adjust
3611
3612         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3613         (dispatch): adjust
3614
3615         * BufferView.C (removeAutoInsets): adjust
3616         (lockedInsetStoreUndo): adjust
3617
3618 2003-04-09  John Levon  <levon@movementarian.org>
3619
3620         * ToolbarBackend.C: try icon without argument
3621         if with argument fails
3622
3623 2003-04-08  John Levon  <levon@movementarian.org>
3624
3625         * ToolbarBackend.h:
3626         * ToolbarBackend.C: add getIcon(), handle tooltip,
3627         and change from "Icon" to "Item".
3628
3629 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3630
3631         * BufferView.C (lockInset): another bad getchar crunched
3632
3633 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3636         again)
3637
3638 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3639
3640         * lyxfind.C (searchForward, searchBackwards): bug 782
3641
3642 2003-04-07  John Levon  <levon@movementarian.org>
3643
3644         * paragraph.C: remove dead comment
3645
3646         * text.C: remove troublesome depth-fiddling code
3647         in leftMargin() and rightMargin() (bug 1017)
3648
3649         * text.C: fix breaking of rows in nested lists
3650         (bug 1004)
3651
3652         * text2.C (updateCounters): fix up depth values
3653         (bug 1013)
3654
3655 2003-04-07  John Levon  <levon@movementarian.org>
3656
3657         * BufferView_pimpl.C: clear message when doc finishes resizing,
3658         and after a mouse event
3659
3660         * lyxfunc.C: clear message after exiting inset
3661
3662 2003-04-07  John Levon  <levon@movementarian.org>
3663
3664         * bufferview_funcs.C: show math status not outside
3665         status in the statusbar
3666
3667 2003-04-07  John Levon  <levon@movementarian.org>
3668
3669         * lyxfunc.C: note status changed after a depth change
3670
3671 2003-04-04  Angus Leeming  <leeming@lyx.org>
3672
3673         * LaTeX.h: move AuxInfo operator==, != out of line.
3674         Remove LaTeX virtual destructor; nothing derives from it.
3675         Move operator()() out of public area and rename it startscript().
3676         Change protected for private.
3677
3678 2003-04-04  Angus Leeming  <leeming@lyx.org>
3679
3680         * lyxfunc.C:
3681         * text2.C: remove unneeded #includes.
3682
3683 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3684
3685         * text2.C (dEPM): fix the heigth of the next row
3686
3687 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text.C: squashed an invalid getChar requester + some ws changes
3690
3691 2003-04-03  John Levon  <levon@movementarian.org>
3692
3693         * bufferview_funcs.h:
3694         * bufferview_funcs.C:
3695         * lyxfunc.C:
3696         * lyxtext.h:
3697         * text2.C: make getStatus work for the env depth lfuns
3698
3699 2003-04-03  John Levon  <levon@movementarian.org>
3700
3701         * bufferview_funcs.h:
3702         * bufferview_funcs.C:
3703         * lyxfunc.C:
3704         * lyxtext.h:
3705         * text2.C: parlistize decDepth(), by merging it with incDepth()
3706
3707 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * lyxrow.h: store a ParagraphList::iterator instead of a
3710         Paragraph* and adjust other class functions to suit.
3711
3712         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3713         above.
3714
3715 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3716
3717         * text2.C (setCursor): do not anchor to cursor row for the time being
3718
3719 2003-04-02  John Levon  <levon@movementarian.org>
3720
3721         * LyXAction.C:
3722         * lfuns.h:
3723         * lyx_main.C:
3724         * lyxtext.h:
3725         * text.C:
3726         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3727
3728 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * paragraph.h: make ParagraphList and ParagraphList::iterator
3731         friends of Paragraph.
3732
3733         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3734
3735         * ParagraphList.C: Use the private next_ and previous_ from
3736         Paragraph.
3737
3738 2003-04-01  John Levon  <levon@movementarian.org>
3739
3740         * ToolbarBackend.h:
3741         * ToolbarBackend.C:
3742         * Makefile.am: rename, remove defaults gunk
3743
3744         * MenuBackend.h:
3745         * MenuBackend.C: remove defaults gunk
3746
3747         * Languages.h:
3748         * Languages.C: remove defaults gunk
3749
3750         * lyx_main.h:
3751         * lyx_main.C: error out if files couldn't be found.
3752
3753 2003-04-02  John Levon  <levon@movementarian.org>
3754
3755         * text2.C: make incDepth() use parlist
3756
3757 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * undo_funcs.C (firstUndoParagraph): adjust
3760
3761         * text3.C (gotoInset): adjust
3762         (dispatch): adjust, and rewrite loop.
3763
3764         * text2.C (init): adjust, and rewrite loop.
3765         (redoParagraphs): adjust
3766         (updateInset): adjust, and rewrite loop.
3767         (deleteEmptyParagraphMechanism): adjust
3768
3769         * tabular.C (LyXTabular): adjust
3770         (SetMultiColumn): adjust
3771         (TeXRow): adjust
3772
3773         * lyxtext.[Ch] (ownerParagraph): delete function
3774         (ownerParagraphs): new function returns a ParagraphList.
3775
3776         * BufferView.C (removeAutoInsets): adjust
3777         (insertErrors): adjust
3778         (setCursorFromRow): adjust
3779
3780 2003-04-01  Angus Leeming  <leeming@lyx.org>
3781
3782         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3783         in the frontends.
3784
3785 2003-04-02  John Levon  <levon@movementarian.org>
3786
3787         * lyxtext.h:
3788         * text.C:
3789         * Makefile.am:
3790         * text_funcs.h:
3791         * text_funcs.C: make transposeChars a free function
3792
3793         * lyxrow_funcs.C: remove wrong comment
3794
3795 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3796
3797         * lyxtext.h: adjust
3798         * rowpainter.C: adjust
3799         * text.C: adjust
3800         * text2.C: adjust
3801         * text3.C: adjust
3802
3803         * lyxrow_funcs. [Ch]: new files
3804
3805         * lyxrow.[Ch]: remove next and previous pointers
3806         (next,previous): remove accessor functions
3807         (isParEnd): move to lyxrow_funcs
3808         (lastPos): move to lyxrow_funcs
3809         (nextRowIsAllInset): move to lyxrow_funcs
3810         (lastPrintablePos): move to lyxrow_funcs
3811         (numberOfSeparators): move to lyxrow_funcs
3812         (numberOfHfills): move to lyxrow_funcs
3813         (numberOfLabelHfills): move to lyxrow_funcs
3814         (hfillExpansion): move to lyxrow_funcs
3815
3816         * lyxfunc.C: adjust
3817
3818         * bufferview_funcs.C (toggleAndShow): adjust
3819
3820         * RowList.h: Remove class RowList from file leave just a
3821         std::list<Row>.
3822
3823         * RowList.C: delete file
3824
3825         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3826         and lyxrow_funcs.h
3827
3828 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * text3.C (cursorPrevious): adjust
3831         (cursorNext): adjust
3832         (dispatch): adjust
3833
3834         * text2.C (redoHeightOfParagraph): adjust
3835         (redoDrawingOfParagraph): adjust
3836         (setCursor): adjust
3837
3838         * text.C (breakParagraph): adjust
3839         (insertChar): adjust
3840         (backspace): adjust
3841
3842         * rowpainter.C (RowPainter): adjust
3843         (leftMargin): simplify and adjust
3844         (most rowpainter functions): adjust.
3845
3846         * rowpainter.h: store the row as RowList::iterator not as Row*
3847
3848         * lyxcursor.C (row): taka RowList::iterator as arg
3849         (irow): ditto
3850
3851         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3852         of Row*.
3853
3854 2003-04-01  Angus Leeming  <leeming@lyx.org>
3855
3856         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3857         stuff like bool Bool.
3858
3859 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3860
3861         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3862         rewrite a loop
3863
3864 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3867         RowList::iterator.
3868
3869         * lyxtext.h (rows): drop one version and leve a const variant that
3870         returns a RowList::iterator.
3871
3872 2003-03-31  Angus Leeming  <leeming@lyx.org>
3873
3874         * text.C (fill): ensure that the signature is the same as that in the
3875         header file.
3876
3877 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * text2.C (redoParagraphs): adjust
3880         (updateCounters): adjust
3881         (checkParagraph): adjust
3882         (getColumnNearX): adjust and reformat a bit.
3883
3884         * text.C (top_y): adjust
3885         (workWidth): adjust
3886         (leftMargin): adjust
3887         (prepareToPrint): adjust
3888         (getRow): adjust
3889         (getRowNearY): adjust
3890
3891         * lyxtext.h: make rowlist_ mutable.
3892
3893         * RowList.h: add const_iterator
3894         * RowList.C: adjust for RowList::const_iterator.
3895
3896         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3897         adjust.
3898
3899 2003-03-31  John Levon  <levon@movementarian.org>
3900
3901         * lyxrc.h:
3902         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3903
3904         * lyx_main.C: set default fonts from using lyx_gui funcs
3905
3906         * exporter.C: pdf_mode moved from lyxrc
3907
3908         * lyx_cb.C:
3909         * lyxfunc.C: changes from above
3910
3911 2003-03-31  John Levon  <levon@movementarian.org>
3912
3913         * lyx_main.C: fix to the last fix
3914
3915 2003-03-31  John Levon  <levon@movementarian.org>
3916
3917         * bufferlist.C: "Load original" -> "Load Original"
3918
3919         * converter.C:
3920         * exporter.C:
3921         * importer.C:
3922         * lyx_main.C:
3923         * format.C: more Alert cleanups
3924
3925 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * text2.C (removeParagraph): make it take a RowList::iterator as
3928         arg, adjust.
3929         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3930         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3931
3932         * text.C (anchor_row): make it take a RowList::iterator as arg,
3933         adjust.
3934         (computeBidiTables): make it take a const reference to Row instead
3935         of Row pointer, adjust.
3936         (leftMargin): make it take a RowList::iterator as arg, adjust.
3937         (rowBreakPoint): adjust
3938         (breakAgainOneRow): make it take a RowList::iterator as arg,
3939         adjust.
3940         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3941
3942         * bufferview_funcs.C (toggleAndShow): adjust
3943
3944 2003-03-30  John Levon  <levon@movementarian.org>
3945
3946         * Makefile.am:
3947         * BoostFormat.h:
3948         * boost-inst.C: moved to support
3949
3950         * several files: changes as a result
3951
3952 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * text2.C (LyXText): adjust.
3955         (init): adjust
3956         (removeRow): make it take a RowList::iterator as arg, adjust.
3957         (fullRebreak): adjust
3958         (deleteEmptyParagraphMechanism): adjust
3959         (clearPaint): adjust
3960         (postPaint): adjust
3961
3962         * text.C (top_y): adjust
3963         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3964         (breakAgain): make it take a RowList::iterator as arg, adjust.
3965         (breakParagraph): adjust
3966         (insertChar): adjust
3967         (backspace): adjust
3968
3969         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3970         need_break_row, and refresh_row.
3971
3972         * text3.C (dispatch): adjust
3973
3974         * text2.C (checkParagraph): adjust
3975         (setCursor): adjust
3976         (setCursorFromCoordinates): adjust
3977
3978         * text.C (top_y): adjust
3979         (workWidth): adjust
3980         (getRow): make it return a RowList::iterator, adjust
3981         (getRowNearY): make it return a RowList::iterator, adjust
3982
3983         * text2.C (init): adjust
3984         (insertRow): remove function
3985         (insertParagraph): adjust
3986         (redoParagraphs): adjust
3987         (fullRebreak): adjust
3988         (updateCounters): adjust
3989
3990         * text.C (top_y): rewrite to use RowList iterators.
3991         (top_y): adjust
3992         (setHeightOfRow): rewrite to sue RowList iterators.
3993         (appendParagraph): adjust
3994         (breakAgain): adjust
3995         (breakAgainOneRow): adjust
3996         (breakParagraph): adjust
3997         (getRow): adjust
3998         (getRowNearY): adjust, and remove commented code.
3999
4000         * lyxtext.h (firstRow): delete function
4001         (lastRow): delete function
4002         (rows): new function (const and non-const versions.)
4003         (insertRow): delete function
4004
4005         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4006
4007 2003-03-29  John Levon  <levon@movementarian.org>
4008
4009         * BufferView_pimpl.C: always update scrollbar top
4010         because pasting text when we're anchored could mean we
4011         miss an update altogether
4012
4013 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * text2.C (init): use rowlist_.end() and not 0.
4016         (insertRow): change to take a RowList::iterator as arg, adjust
4017         for this.
4018         (insertParagraph): change to take a RowList::iterator as arg,
4019         adjust for this.
4020         (redoParagraphs): remove some debug msgs.
4021
4022         * text.C (appendParagraph): change to take a RowList::iterator
4023         arg, adjust for this.
4024         (breakAgain): add an assert
4025         (breakAgainOneRow): ditto
4026
4027 2003-03-29  John Levon  <levon@movementarian.org>
4028
4029         * text2.C: do not clear selection after inc/decDepth
4030         (bug 550)
4031
4032 2003-03-29  John Levon  <levon@movementarian.org>
4033
4034         * BufferView.C:
4035         * buffer.C: fix broken strerrors according to Lars
4036
4037 2003-03-29  John Levon  <levon@movementarian.org>
4038
4039         * converters.C: more Alert cleanups
4040
4041 2003-03-29  John Levon  <levon@movementarian.org>
4042
4043         * bufferview_funcs.C: remove pointless Alert
4044
4045         * buffer.C: fix confusing error message when
4046         a template is chmoded 000
4047
4048 2003-03-29  John Levon  <levon@movementarian.org>
4049
4050         * BufferView.C:
4051         * BufferView.h:
4052         * BufferView_pimpl.C: Alert fixes
4053
4054         * Makefile.am:
4055         * tabular.C:
4056         * tabular-old.C: remove unused table compat reading
4057
4058 2003-03-29  John Levon  <levon@movementarian.org>
4059
4060         * BufferView.C:
4061         * buffer.C:
4062         * lyx_cb.h:
4063         * lyx_cb.C: more Alert cleanups
4064
4065         * lyxfunc.C: don't allow chktex if not latex document
4066
4067 2003-03-29  John Levon  <levon@movementarian.org>
4068
4069         * lyx_cb.C:
4070         * BufferView.C:
4071         * buffer.C: warnings pushed down from support/,
4072         kill err_alert
4073
4074 2003-03-29  John Levon  <levon@movementarian.org>
4075
4076         * lyxfunc.C: safety check for C-r (revert)
4077
4078 2003-03-29  John Levon  <levon@movementarian.org>
4079
4080         * bufferlist.h:
4081         * bufferlist.C: several UI fixes using Alert::prompt.
4082         Fix the pointless looping quit code. Fix stupid revert
4083         behaviour (bug 938)
4084
4085         * lyxvc.h:
4086         * lyxvc.C:
4087         * lyx_cb.C: use Alert::prompt
4088
4089         * lyx_main.C: remove a silly question
4090
4091         * lyxfunc.C: remove a couple of silly questions,
4092         use Alert::prompt
4093
4094 2003-03-28  John Levon  <levon@movementarian.org>
4095
4096         * text2.C: fix bug 974 (End on empty par)
4097
4098 2003-03-28  John Levon  <levon@movementarian.org>
4099
4100         * BufferView_pimpl.C:
4101         * LyXAction.C:
4102         * lfuns.h: remove do-nothing math greek lfuns
4103
4104 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * lyxgluelength.h (isValidGlueLength): add default arg on
4107         parameter 2. Remove default arg from friend in class.
4108
4109         * lyxlength.h (isValidLength): add default arg on parameter 2.
4110         Remove default arg from friend in class.
4111
4112         * text2.C (LyXText): adjust, initialize refresh_row.
4113         (init): adjust
4114         (removeRow): adjust
4115         (insertRow): adjust
4116         (insertParagraph): adjst
4117         (redoParagraphs): adjust
4118         (fullRebreak): adjust
4119         (updateCounters): adjust
4120         (deleteEmptyParagraphMechanism): first attempt at fixing a
4121         crashing bug.
4122
4123         * text.C (top_y): adjust
4124         (setHeightOfRow): adjust
4125         (getRow): adjust
4126         (getRowNearY): adjust
4127
4128         * lyxtext.h: include RowList.h
4129         (~LyXText): not needed anymore, deleted.
4130         (firstRow): modify for RowList
4131         (lastRow): new function
4132         Delete firstrow and lastrow class variables, add a Rowlist
4133         rowlist_ class variable.
4134
4135         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4136         paragraph is empty.
4137
4138         * RowList.C (insert): fix case where it == begin().
4139
4140 2003-03-26  Angus Leeming  <leeming@lyx.org>
4141
4142         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4143         the thesaurus dialog.
4144
4145 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4148
4149         * RowList.[Ch]: new files
4150
4151         * ParagraphList.C (erase): handle the case where it == begin
4152         correctly.
4153
4154 2003-03-25  John Levon  <levon@movementarian.org>
4155
4156         * Makefile.am:
4157         * aspell_local.h:
4158         * aspell.C: add new aspell support
4159
4160         * lyxrc.h:
4161         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4162         have it accessible.
4163
4164 2003-03-25  Angus Leeming  <leeming@lyx.org>
4165
4166         * lfuns.h:
4167         * LyXAction.C (init): new LFUN_INSET_INSERT.
4168
4169         * BufferView_pimpl.C (dispatch): split out part of the
4170         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4171
4172         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4173         LFUN_INSET_APPLY.
4174
4175 2003-03-25  Angus Leeming  <leeming@lyx.org>
4176
4177         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4178
4179 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4180
4181         * text2.C:
4182         * text3.C: remove useless row->height(0)
4183
4184 2003-03-25  John Levon  <levon@movementarian.org>
4185
4186         * lyxtext.h:
4187         * text2.C:
4188         * text3.C: rename the refreshing stuff to better names
4189
4190 2003-03-24  John Levon  <levon@movementarian.org>
4191
4192         * BufferView_pimpl.h:
4193         * BufferView_pimpl.C: update layout choice on a mouse
4194         press/release
4195
4196 2003-03-23  John Levon  <levon@movementarian.org>
4197
4198         * Makefile.am: fix commandtags.h reference
4199
4200 2003-03-22  John Levon  <levon@movementarian.org>
4201
4202         * BufferView_pimpl.C:
4203         * lyxtext.h:
4204         * rowpainter.C:
4205         * rowpainter.h:
4206         * text.C:
4207         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4208
4209 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * lyxtext.h:
4212         * text.C: take the rtl methods out of line
4213
4214 2003-03-21 André Pönitz <poenitz@gmx.net>
4215
4216         * metricsinfo.[Ch]: new files containing structures to be passed around
4217         during the two-phase-drawing...
4218
4219 2003-03-21 André Pönitz <poenitz@gmx.net>
4220
4221         * lyxtextclass.C: read 'environment' tag.
4222
4223 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * text2.C (removeRow): fix bug 964
4226
4227 2003-03-20  John Levon  <levon@movementarian.org>
4228
4229         * rowpainter.C:
4230         * text.C:
4231         * text2.C: paint cleanups. Inset::update() dropped font
4232         parameter
4233
4234 2003-03-19  John Levon  <levon@movementarian.org>
4235
4236         * lyxfunc.C: only fitcursor/markDirty if available()
4237
4238 2003-03-19  John Levon  <levon@movementarian.org>
4239
4240         * commandtags.h: rename to ...
4241
4242         * lfuns.h: ... this, and renumber / cleanup
4243
4244 2003-03-19  John Levon  <levon@movementarian.org>
4245
4246         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4247         fit the cursor after an lfun
4248
4249         * BufferView.h:
4250         * BufferView.C:
4251         * BufferView_pimpl.h:
4252         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4253
4254         * LyXAction.C: layout-character should have ReadOnly
4255
4256         * ParagraphParameters.C:
4257         * buffer.C:
4258         * bufferview_funcs.C:
4259         * lyx_cb.C:
4260         * lyxfind.C:
4261         * lyxtext.h:
4262         * text.C:
4263         * text2.C:
4264         * text3.C:
4265         * undo_funcs.C: changes from above
4266
4267 2003-03-18  John Levon  <levon@movementarian.org>
4268
4269         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4270         remove it from update()
4271
4272         * lyxfunc.C: update layout choice after an lfun
4273
4274         * text3.C: remove extra updateLayoutChoice()s
4275
4276 2003-03-18  John Levon  <levon@movementarian.org>
4277
4278         * text.C: top_y change means full repaint, fix
4279         a drawing bug with cursor movement
4280
4281 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * lyxtext.h:
4284         * text.C:
4285         * text2.C: anchor row on setCursor
4286
4287 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * lyxtext.h: remove almost all mutable keywords
4290         * text.C:
4291         * text2.C:
4292         * text3.C: remove const keywords accordingly
4293
4294 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4297         anon namespace
4298         (TeXEnvironment): ditto
4299         (TeXOnePar): ditto
4300
4301 2003-03-17  John Levon  <levon@movementarian.org>
4302
4303         * text.C (rowBreakPoint): remove attempt to fix displayed
4304         math insets inside a manual label
4305
4306 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * lyxtext.h: remove BufferView* as first arg from almost all class
4309         functions.
4310         * other files: adjust.
4311
4312 2003-03-17  John Levon  <levon@movementarian.org>
4313
4314         * lyxtext.h:
4315         * undo_funcs.C:
4316         * text2.C: more paint cleanups
4317
4318         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4319
4320         * rowpainter.h:
4321         * rowpainter.C: remove "smart" background painting code
4322
4323 2003-03-16  John Levon  <levon@movementarian.org>
4324
4325         * lyxtext.h:
4326         * text.C:
4327         * text2.C:
4328         * text3.C: add helper functions for setting refresh_row/y
4329
4330 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4331
4332         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4333         newline inset which *can* get inserted in the pass_thru layouts.
4334         This is primarily for literate documents.
4335
4336 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4337
4338         * buffer.C: increment LYX_FORMAT to 223
4339
4340 2003-03-14 André Pönitz <poenitz@gmx.net>
4341
4342         * textclass.h: prepare for environment handling, ws changes
4343         * lyxlayout.C: read latexheader and latexfooter tags
4344
4345 2003-03-14  John Levon  <levon@movementarian.org>
4346
4347         * text2.C: rewrite ::status() a bit
4348
4349 2003-03-13  John Levon  <levon@movementarian.org>
4350
4351         * lyxtext.h: add some docs
4352
4353 2003-03-13  John Levon  <levon@movementarian.org>
4354
4355         * lyxtext.h:
4356         * text.C:
4357         * text2.C:
4358         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4359
4360 2003-03-13  John Levon  <levon@movementarian.org>
4361
4362         * text3.C: fix appendix redrawing
4363
4364 2003-03-13  John Levon  <levon@movementarian.org>
4365
4366         * text.C (setHeightOfRow):
4367         * rowpainter.h:
4368         * rowpainter.C: make appendix mark have the text
4369           "Appendix" so the user knows what it is
4370
4371         * LColor.h:
4372         * LColor.C: s/appendixline/appendix/ from above
4373
4374 2003-03-13  John Levon  <levon@movementarian.org>
4375
4376         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4377
4378         * text.C: fix a getChar(pos) bug properly
4379
4380 2003-03-13  Angus Leeming  <leeming@lyx.org>
4381
4382         * commandtags.h:
4383         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4384         Probably only temporary. Let's see how things pan out.
4385
4386         * BufferView.C (unlockInset):
4387         * BufferView_pimpl.C (fitCursor):
4388         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4389
4390         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4391         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4392
4393         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4394         new functions that convert ParagraphParameters to and from a string.
4395
4396         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4397         BufferView::Pimpl's dispatch.
4398         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4399
4400 2003-03-13 André Pönitz <poenitz@gmx.net>
4401
4402         * lyxfunc.C:
4403         * text3.C:
4404         * factory.C: make it aware of InsetEnv
4405
4406 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * text2.C (setCursor): never ask for one past last
4409         (setCursor): add some debugging messages.
4410
4411         * text.C (singleWidth): never ask for one past last
4412         (singleWidth): ditto
4413         (leftMargin): ditto
4414         (rightMargin): ditto
4415         (rowBreakPoint): ditto
4416         (setHeightOfRow): ditto
4417         (prepareToPrint): ditto
4418
4419         * rowpainter.C (paintBackground): never ask for one past last
4420         (paintText): never ask for one past last
4421
4422         * paragraph_pimpl.C (getChar): make the assert stricter, never
4423         allow the one past last pos to be taken
4424
4425         * paragraph.C (getChar): ws changes only
4426
4427         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4428         (numberOfSeparators): ditto
4429         (numberOfHfills): ditto
4430
4431 2003-03-12  John Levon  <levon@movementarian.org>
4432
4433         * author.h:
4434         * author.C:
4435         * bufferparams.h:
4436         * bufferparams.C:
4437         * paragraph_funcs.C: fix per-buffer authorlists
4438
4439 2003-03-12  John Levon  <levon@movementarian.org>
4440
4441         * text.C: fix newline in right address
4442
4443 2003-03-12  Angus Leeming  <leeming@lyx.org>
4444
4445         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4446         duplicate those in LyXFunc::dispatch.
4447
4448         * commandtags.h:
4449         * LyXAction.C:
4450         * ToolbarDefaults.C:
4451         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4452         Add LFUN_FONTFREE_UPDATE.
4453
4454         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4455         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4456
4457         * bufferview_func.[Ch]: several new functions to facilliate
4458         transfer of data to and from the character dialog.
4459
4460 2003-03-12  John Levon  <levon@movementarian.org>
4461
4462         * buffer.C:
4463         * paragraph.h:
4464         * paragraph.C:
4465         * paragraph_funcs.C:
4466         * paragraph_pimpl.C:
4467         * sgml.C:
4468         * tabular.C:
4469         * text.C:
4470         * text3.C: remove META_NEWLINE in favour of an inset
4471
4472         * rowpainter.h:
4473         * rowpainter.C: remove paintNewline (done by inset)
4474
4475 2003-03-12  John Levon  <levon@movementarian.org>
4476
4477         * paragraph_pimpl.C: complain about bad getChar()s
4478         for a while at least
4479
4480 2003-03-12  John Levon  <levon@movementarian.org>
4481
4482         * buffer.h:
4483         * buffer.C: move paragraph read into a separate function,
4484         a little renaming to reflect that.
4485
4486         * bufferparams.h:
4487         * bufferparams.C: remove the author_ids map, not necessary now
4488
4489         * factory.h:
4490         * factory.C: moved Buffer::readInset to here
4491
4492         * paragraph_funcs.h:
4493         * paragraph_funcs.C: readParagraph free function moved from
4494         buffer.C
4495
4496         * tabular.C: name change
4497
4498 2003-03-12  John Levon  <levon@movementarian.org>
4499
4500         * buffer.C:
4501         * ParagraphParameters.C: move par params input to
4502         a read() method
4503
4504         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4505         behave like a normal read from the stream wrt reading
4506         a line vs. a \\token
4507
4508 2003-03-12  John Levon  <levon@movementarian.org>
4509
4510         * paragraph.C:
4511         * ParagraphParameters.h:
4512         * ParagraphParameters.C: move output code to a
4513         ::write() method
4514
4515 2003-03-12  John Levon  <levon@movementarian.org>
4516
4517         * BufferView.C (insertLyXFile):
4518         * buffer.h:
4519         * buffer.C:
4520         * tabular.C: use a parlist iterator for creating the
4521           document.
4522
4523 2003-03-12  John Levon  <levon@movementarian.org>
4524
4525         * buffer.C: make current_change static local not
4526           static file-scope
4527
4528 2003-03-12  John Levon  <levon@movementarian.org>
4529
4530         * buffer.C: fix insertStringAsLines for change tracking
4531
4532 2003-03-12  John Levon  <levon@movementarian.org>
4533
4534         * BufferView.C:
4535         * tabular.C:
4536         * buffer.h:
4537         * buffer.C:
4538         * bufferparams.h:
4539         * bufferparams.C: move author list into params. Rename some
4540           functions. Move the header reading into a separate token
4541           loop. Move the header token reading into BufferParams.
4542
4543 2003-03-12  John Levon  <levon@movementarian.org>
4544
4545         * changes.C: put debug inside lyxerr.debugging() checks
4546
4547 2003-03-11 André Pönitz <poenitz@gmx.net>
4548
4549         * factory.C: make it aware of InsetHFill
4550
4551 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4552
4553         * buffer.C (latexParagraphs): move function from here...
4554         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4555         args.
4556
4557 2003-03-10  Angus Leeming  <leeming@lyx.org>
4558
4559         * LyXAction.C (init): fix bug in poplating array with multiple entries
4560         with the same LFUN (spotted by JMarc).
4561
4562 2003-03-10  John Levon  <levon@movementarian.org>
4563
4564         * text.C:
4565         * text2.C: move getColumnNearX() near its
4566         only call site
4567
4568 2003-03-10  John Levon  <levon@movementarian.org>
4569
4570         * text.C: fix break before a minipage
4571
4572 2003-03-10  John Levon  <levon@movementarian.org>
4573
4574         * text.C: fix the last commit
4575
4576 2003-03-09  John Levon  <levon@movementarian.org>
4577
4578         * lyxtext.h:
4579         * text.C:
4580         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4581         bug 365 (don't break before insets unless needed). Don't
4582         return a value > last under any circumstances.
4583
4584 2003-03-09  Angus Leeming  <leeming@lyx.org>
4585
4586         * BufferView_pimpl.C (trackChanges, dispatch): call
4587         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4588
4589 2003-03-09  Angus Leeming  <leeming@lyx.org>
4590
4591         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4592         than Dialogs::showAboutlyx().
4593
4594 2003-03-09  Angus Leeming  <leeming@lyx.org>
4595
4596         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4597         than Dialogs::showTabularCreate().
4598
4599 2003-03-09  John Levon  <levon@movementarian.org>
4600
4601         * lyxtext.h:
4602         * text.C:
4603         * text2.C: 3rd arg to nextBreakPoint was always the same.
4604           Use references.
4605
4606 2003-03-08  John Levon  <levon@movementarian.org>
4607
4608         * lyxrow.C:
4609         * paragraph.C:
4610         * paragraph.h:
4611         * rowpainter.C:
4612         * text.C:
4613         * text2.C: Remove the "main" bit from the "main body"
4614           notion.
4615
4616 2003-03-08  John Levon  <levon@movementarian.org>
4617
4618         * text.C (leftMargin): The left margin of an empty
4619         manual label paragraph should not include the label width
4620         string length.
4621
4622         * text.C (prepareToPrint): don't attempt to measure hfills
4623         for empty manual label paragraphs - the answer should be 0
4624
4625 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * CutAndPaste.C: remove commented code and reindent.
4628
4629 2003-03-08  John Levon  <levon@movementarian.org>
4630
4631         * lyxfunc.h:
4632         * lyxfunc.C: move reloadBuffer()
4633
4634         * BufferView.h:
4635         * BufferView.C: to here
4636
4637         * lyxvc.C: add comment
4638
4639         * vc-backend.h:
4640         * vc-backend.C: call bv->reload() to avoid
4641           getStatus() check on MENURELOAD
4642
4643 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4644
4645         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4646         to an old format .dep file.
4647
4648 2003-03-07  Angus Leeming  <leeming@lyx.org>
4649
4650         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4651         when the LFUN_MOUSE_RELEASE should have been handled by
4652         inset->localDispatch.
4653
4654 2003-03-07  Angus Leeming  <leeming@lyx.org>
4655
4656         * BufferView_pimpl.C (dispatch):
4657         * LyXAction.C (init):
4658         * ToolbarDefaults.C (init):
4659         * commandtags.h:
4660         * lyxfunc.C (getStatus):
4661         remove LFUN_INSET_GRAPHICS.
4662
4663         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4664
4665 2003-03-07  Angus Leeming  <leeming@lyx.org>
4666
4667         * commandtags.h:
4668         * LyXAction.C (init):
4669         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4670
4671         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4672
4673         * commandtags.h:
4674         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4675
4676         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4677         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4678
4679 2003-03-07  Angus Leeming  <leeming@lyx.org>
4680
4681         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4682         remove "ert".
4683
4684 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * ParagraphList.C (front): new function
4687         (back): implement
4688
4689 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4692         and top_row_offset_. removed var first_y.
4693         * text.C (top_y):
4694         * text2.C (LyXText, removeRow):
4695         * text3.C:
4696         * BufferView_pimpl.C:
4697         use these methods instead of using first_y
4698
4699 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * text2.C (pasteSelection): adjust for checkPastePossible
4702
4703         * CutAndPaste.C: remove Paragraph * buf and replace with
4704         ParagraphList paragraphs.
4705         (DeleteBuffer): delete
4706         (cutSelection): change the tc type to textclass_type
4707         (copySelection): change the tc type to textclass_type
4708         (copySelection): adjust for ParagraphList
4709         (pasteSelection): change the tc type to textclass_type
4710         (pasteSelection): adjust for Paragraphlist
4711         (nrOfParagraphs): simplify for ParagraphList
4712         (checkPastePossible): simplify for ParagraphList
4713         (checkPastePossible): remove unused arg
4714
4715         * ParagraphList.C (insert): handle the case where there are no
4716         paragraphs yet.
4717
4718         * CutAndPaste.h: make CutAndPaste a namespace.
4719
4720         * text3.C (dispatch): adjust
4721
4722         * text.C (breakParagraph): add a ParagraphList as arg
4723
4724         * paragraph_funcs.C (breakParagraph): change to take a
4725         BufferParams and a ParagraphList as args.
4726         (breakParagraphConservative): ditto
4727         (mergeParagraph): ditto
4728         (TeXDeeper): add a ParagraphList arg
4729         (TeXEnvironment): ditto
4730         (TeXOnePar): ditto
4731
4732         * buffer.C (readLyXformat2): adjust
4733         (insertStringAsLines): adjust
4734         (latexParagraphs): adjust
4735
4736         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4737         (cutSelection): adjust
4738         (pasteSelection): adjust
4739
4740         * BufferView_pimpl.C (insertInset): adjust
4741
4742 2003-03-05  Angus Leeming  <leeming@lyx.org>
4743
4744         * commandtags.h:
4745         * LyXAction.C (init):
4746         * BufferView_pimpl.C (dispatch):
4747         * lyxfunc.C (getStatus):
4748         remove LFUN_CHILD_INSERT.
4749
4750         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4751
4752 2003-03-05  Angus Leeming  <leeming@lyx.org>
4753
4754         * commandtags.h:
4755         * LyXAction.C (init):
4756         * src/factory.C (createInset):
4757         * lyxfunc.C (getStatus):
4758         * text3.C (dispatch):
4759         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4760
4761         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4762
4763 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * ParagraphList.C (insert): handle insert right before end()
4766         (erase): fix cases where it can be first or last paragraph.
4767
4768 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4771         Paragraph::next and Paragraph::previous
4772         (TeXOnePar): ditto
4773
4774         * text.C (breakParagraph): adjust
4775
4776         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4777         BufferParams& as arg.
4778         (breakParagraph): use ParagraphList::insert
4779         (breakParagraphConservative): take a Buffer* instead of a
4780         BufferParams& as arg.
4781         (breakParagraphConservative): use ParagraphList::insert.
4782
4783         * buffer.C (insertStringAsLines): un-const it
4784         (insertStringAsLines): adjust
4785
4786         * ParagraphList.C (insert): new function
4787
4788         * CutAndPaste.C (pasteSelection): adjust
4789
4790         * text.C (backspace): adjust
4791
4792         * tabular.C (SetMultiColumn): adjust
4793
4794         * CutAndPaste.C (cutSelection): adjust
4795         (pasteSelection): adjust
4796
4797         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4798         Buffer const * as arg
4799
4800         * ParagraphList.C (erase): new function
4801         * paragraph_funcs.C (mergeParagraph): use it
4802         (mergeParagraph): make it take a Buffer* instead of a
4803         BufferParams* as arg
4804
4805         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4806         as arg
4807         (breakParagraphConservative): ditto
4808
4809         * paragraph.h: remove the breakParagraph friend
4810
4811         * paragraph.C (eraseIntern): new function
4812         (setChange): new function
4813
4814         * paragraph_funcs.C (mergeParagraph): make it take a
4815         ParagraphList::iterator instead of a Paragraph *, adjust
4816         accordingly.
4817
4818         * paragraph.h: move an #endif so that the change tracking stuff
4819         also works in the NO_NEXT case.
4820
4821 2003-03-04  Angus Leeming  <leeming@lyx.org>
4822
4823         * commandtags.h:
4824         * LyXAction.C: new LFUN_INSET_MODIFY.
4825
4826         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4827         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4828
4829 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * several files: ws changes only
4832
4833         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4834         (TeXEnvironment): ditto
4835         (TeXDeeper): ditto
4836
4837         * buffer.C (makeLaTeXFile): adjust
4838         (latexParagraphs): make it take ParagraphList::iterator as args
4839
4840 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * buffer.C (latexParagraphs): adjust
4843
4844         * paragraph.C (TeXOnePar): move function...
4845         (optArgInset): move function...
4846         (TeXEnvironment): move function...
4847         * paragraph_pimpl.C (TeXDeeper): move function...
4848         * paragraph_funcs.C: ...here
4849
4850         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4851
4852 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * buffer.C (readInset): remove compability code for old Figure and
4855         InsetInfo insets
4856
4857 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * buffer.C: ws changes
4860         (readInset):
4861
4862         * BufferView_pimpl.C: ditto
4863         * author.C: ditto
4864         * buffer.h: ditto
4865         * bufferlist.h: ditto
4866         * changes.h: ditto
4867         * lyxfunc.C: ditto
4868
4869 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4870
4871         * converter.[Ch]: split into itself +
4872         * graph.[Ch]
4873         * format.[Ch]
4874         * Makefile.am: += graph.[Ch] + format.[Ch]
4875         * MenuBackend.C
4876         * buffer.C
4877         * exporter.C
4878         * importer.C
4879         * lyx_main.C
4880         * lyxfunc.C
4881         * lyxrc.C: added #include "format.h"
4882
4883 2003-02-27  Angus Leeming  <leeming@lyx.org>
4884
4885         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4886           a label.
4887
4888         * factory.C (createInset): add "label" to the factory.
4889
4890         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4891           string and do no more.
4892
4893 2003-02-27  Angus Leeming  <leeming@lyx.org>
4894
4895         * commandtags.h:
4896         * LyXAction.C (init):
4897         * factory.C (createInset):
4898         * BufferView_pimpl.C (dispatch):
4899           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4900
4901         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4902
4903         * lyxfunc.C (dispatch):
4904         * text3.C (dispatch): pass name to params2string.
4905
4906 2003-02-26  Angus Leeming  <leeming@lyx.org>
4907
4908         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4909           blocks together.
4910           Rearrange the ~includes. Strip out the unnecessary ones.
4911
4912         * factory.C (createInset): reformat.
4913           create new insets for the various LFUN_XYZ_APPLY lfuns.
4914
4915 2003-02-26  John Levon  <levon@movementarian.org>
4916
4917         * lyxrow.h:
4918         * lyxrow.C: add isParStart,isParEnd helpers
4919
4920         * paragraph.h: make isInserted/DeletedText take refs
4921
4922         * paragraph_funcs.h:
4923         * paragraph_funcs.C: remove #if 0'd code
4924
4925         * lyxtext.h:
4926         * text3.C:
4927         * text2.C:
4928         * text.C: use lyxrow helpers above.
4929           Move draw and paint routines to RowPainter.
4930           Make several methods use refs not pointers.
4931           Make backgroundColor() const.
4932           Add markChangeInDraw(), isInInset().
4933           Merge changeRegionCase into changeCase.
4934           Make workWidth() shouldn't-happen code into an Assert.
4935
4936         * rowpainter.h:
4937         * rowpainter.C: new class for painting a row.
4938
4939         * vspace.h:
4940         * vspace.C: make inPixels take a ref
4941
4942 2003-02-26  Angus Leeming  <leeming@lyx.org>
4943
4944         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4945         LFUN_REF_APPLY.
4946
4947 2003-02-25  John Levon  <levon@movementarian.org>
4948
4949         * ispell.C: give the forked command a more accurate name
4950
4951 2003-02-22  John Levon  <levon@movementarian.org>
4952
4953         * toc.h:
4954         * toc.C: make TocItem store an id not a Paragraph *
4955           (bug #913)
4956
4957 2003-02-21  Angus Leeming  <leeming@lyx.org>
4958
4959         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4960           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4961           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4962           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4963           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4964           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4965
4966         * BufferView_pimpl.C (dispatch):
4967         * LyXAction.C (init):
4968         * factory.C (createInset):
4969         * lyxfunc.C (getStatus, dispatch):
4970         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4971
4972 2003-02-21  Angus Leeming  <leeming@lyx.org>
4973
4974         * BufferView_pimpl.C (MenuInsertLyXFile):
4975         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4976         * lyxfunc.C (menuNew, open, doImport):
4977           no longer pass a LyXView & to fileDlg.
4978
4979 2003-02-21  Angus Leeming  <leeming@lyx.org>
4980
4981         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4982         * LyXAction.C: change, BIBKEY to BIBITEM.
4983         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4984         Change InsetBibKey to InsetBibitem.
4985         Change BIBKEY_CODE to BIBITEM_CODE.
4986         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4987         * factory.C: replace insetbib.h with insetbibitem.h.
4988         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4989         * paragraph.C: replace insetbib.h with insetbibitem.h.
4990         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4991         Change bibkey() to bibitem().
4992         * text.C: remove insetbib.h.
4993         * text2.C: replace insetbib.h with insetbibitem.h.
4994         change bibkey() to bibitem().
4995         * text3.C: remove insetbib.h.
4996         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4997
4998 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4999
5000         * lyxrc.C (output): enclose user email in quotes (in case there are
5001         several words)
5002
5003 2003-02-18  John Levon  <levon@movementarian.org>
5004
5005         * buffer.h: add std::
5006
5007 2003-02-17  John Levon  <levon@movementarian.org>
5008
5009         * SpellBase.h:
5010         * ispell.h:
5011         * ispell.C:
5012         * pspell.h:
5013         * pspell.C: reworking. Especially in ispell, a large
5014           number of clean ups and bug fixes.
5015
5016         * lyxfunc.C: fix revert to behave sensibly
5017
5018 2003-02-17 André Pönitz <poenitz@gmx.net>
5019
5020         * LyXAction.C:
5021         * commandtags.h: new LFUN_INSERT_BIBKEY
5022
5023         * layout.h:
5024         * lyxlayout.C:
5025         * buffer.C:
5026         * factory.C:
5027         * text.C:
5028         * text2.C:
5029         * text3.C:
5030         * paragraph.[Ch]:
5031         * paragraph_func.C: remove special bibkey handling
5032
5033 2003-02-17  John Levon  <levon@movementarian.org>
5034
5035         * text.C (Delete): fix case where delete at the end of
5036           the very first paragraph would not merge the pars
5037
5038 2003-02-17  John Levon  <levon@movementarian.org>
5039
5040         * lyxrow.C: fix lastPrintablePos()
5041
5042 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5043
5044         * bufferparams.C (writeLaTeX): add a std:here
5045
5046         * buffer.C: and remove a using directive there
5047
5048 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5049
5050         * buffer.C (makeLaTeXFile): move the code that generates the
5051           preamble...
5052
5053         * bufferparams.C (writeLaTeX): ... in this new method
5054
5055         * LaTeXFeatures.C (getEncodingSet): make const
5056           (getLanguages): make const
5057
5058         * MenuBackend.C (binding): returns the binding associated to this
5059           action
5060           (add): sets the status of each item by calling getStatus. Adds
5061           some intelligence.
5062           (read): add support for OptSubMenu
5063           (expand): remove extra separator at the end of expanded menu
5064
5065 2003-02-15  John Levon  <levon@movementarian.org>
5066
5067         * BufferView.C:
5068         * BufferView_pimpl.C:
5069         * bufferlist.h:
5070         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5071           inset code that had no actual effect. Remove unneeded status
5072           code.
5073
5074 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5075
5076         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5077           in preamble
5078
5079 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5080
5081         * text.C (drawLengthMarker): also draw an arrow marker for
5082           symbolic lengths (medskip...)
5083
5084 2003-02-14  John Levon  <levon@movementarian.org>
5085
5086         * tabular.h:
5087         * tabular.C: better method names
5088
5089 2003-02-14  John Levon  <levon@movementarian.org>
5090
5091         * BufferView_pimpl.C:
5092         * bufferlist.C:
5093         * buffer.C:
5094         * converter.C:
5095         * lyx_cb.C:
5096         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5097           it's a more accurate name. Remove some pointless uses.
5098
5099 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5100
5101         * text2.C (LyXText): change order of initilizers to shut off
5102           warnings
5103
5104 2003-02-14  John Levon  <levon@movementarian.org>
5105
5106         * buffer.C: use ParIterator for getParFromID()
5107
5108         * paragraph.h:
5109         * paragraph.C:
5110         * paragraph_pimpl.h:
5111         * paragraph_pimpl.C: remove unused getParFromID()
5112
5113 2003-02-14  John Levon  <levon@movementarian.org>
5114
5115         * buffer.C: remove some very old #if 0'd parse code
5116
5117 2003-02-13  John Levon  <levon@movementarian.org>
5118
5119         * text.h:
5120         * text.C:
5121         * text2.C: move hfillExpansion(), numberOfSeparators(),
5122           rowLast(), rowLastPrintable(), numberofHfills(),
5123           numberOfLabelHfills() ...
5124
5125         * lyxrow.h:
5126         * lyxrow.C: ... to member functions here.
5127
5128         * paragraph.h:
5129         * paragraph.C:
5130         * lyxtext.h:
5131         * text.C: remove LyXText::beginningOfMainBody(), and call
5132           p->beginningOfMainBody() directly. Move the check for
5133           LABEL_MANUAL into the latter.
5134
5135         * text.h:
5136         * text.C:
5137         * text2.C:
5138         * vspace.C:
5139         * BufferView.h:
5140         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5141
5142         * text.h:
5143         * text.C:
5144         * text2.C:
5145         * text3.C:
5146         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5147           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5148
5149 2003-02-13  John Levon  <levon@movementarian.org>
5150
5151         * CutAndPaste.C: remove debug
5152
5153 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5154
5155         * paragraph.C (asString): remove two unused variables
5156
5157         * lyxtextclass.C (readTitleType):
5158           (Read):
5159           (LyXTextClass): handle new members titletype_ and titlename_
5160
5161         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5162
5163 2003-02-09  John Levon  <levon@movementarian.org>
5164
5165         * buffer.h:
5166         * buffer.C: replace hand-coded list with a map for the dep clean
5167
5168 2003-02-08  John Levon  <levon@movementarian.org>
5169
5170         * LaTeX.C: consolidate code into showRunMessage() helper
5171
5172 2003-02-08  John Levon  <levon@movementarian.org>
5173
5174         * lyxfind.C:
5175         * lyxtext.h:
5176         * text2.C:
5177         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5178           and pass the size in explicitly
5179
5180         * BufferView_pimpl.h:
5181         * BufferView_pimpl.C:
5182         * BufferView.h:
5183         * BufferView.C: add getCurrentChange()
5184
5185         * BufferView_pimpl.h:
5186         * BufferView_pimpl.C: handle change lfuns
5187
5188         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5189           for changes. Mark pasted paragraphs as new.
5190
5191         * support/lyxtime.h:
5192         * support/lyxtime.C:
5193         * DepTable.C: abstract time_t as lyx::time_type
5194
5195         * LColor.h:
5196         * LColor.C: add colours for new text, deleted text, changebars
5197
5198         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5199           package use "usenames" option.
5200
5201         * commandtags.h:
5202         * lyxfunc.C:
5203         * LyXAction.C: add change lfuns
5204
5205         * Makefile.am:
5206         * author.h:
5207         * author.C: author handling
5208
5209         * buffer.h:
5210         * buffer.C: add a per-buffer author list, with first entry as
5211           current author. Handle new .lyx tokens for change tracking. Output
5212           author list to .lyx file. Output dvipost stuff to .tex preamble.
5213           Bump lyx format to 222.
5214
5215         * bufferlist.h:
5216         * bufferlist.C: add setCurrentAuthor() to reset current author details
5217           in all buffers.
5218
5219         * bufferparams.h:
5220         * bufferparams.C: add param for tracking
5221
5222         * bufferview_funcs.C: output change info in minibuffer
5223
5224         * Makefile.am:
5225         * changes.h:
5226         * changes.C: add change-tracking structure
5227
5228         * debug.h:
5229         * debug.C: add CHANGES debug flag
5230
5231         * lyxfind.h:
5232         * lyxfind.C: add code for finding the next change piece
5233
5234         * lyxrc.h:
5235         * lyxrc.C: add user_name and user_email
5236
5237         * lyxrow.h:
5238         * lyxrow.C: add a metric for the top of the text line
5239
5240         * lyxtext.h:
5241         * text.C: implement accept/rejectChange()
5242
5243         * lyxtext.h:
5244         * text.C: paint changebars. Paint new/deleted text in the chosen
5245         colours. Strike through deleted text.
5246
5247         * paragraph.h:
5248         * paragraph.C:
5249         * paragraph_pimpl.h:
5250         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5251           in the current change to the insert functions. Rework erase to
5252           mark text as deleted, adding an eraseIntern() and a range-based
5253           erase(). Implement per-paragraph change lookup and
5254           accept/reject.
5255
5256         * paragraph_funcs.C: Fixup paste for change tracking.
5257
5258         * tabular.C: mark added row/columns as new.
5259
5260         * text.C: fix rowLast() to never return -1. Don't allow
5261           spellchecking of deleted text. Track transpose changes. Don't
5262           allow paragraph break or merge where appropriate.
5263
5264         * text2.C: leave cursor at end of selection after a cut.
5265
5266 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5267
5268         * text.C (getLengthMarkerHeight):
5269         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5270         visible on screen too.
5271
5272 2003-02-07  John Levon  <levon@movementarian.org>
5273
5274         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5275
5276 2003-02-05  Angus Leeming  <leeming@lyx.org>
5277
5278         * lyxserver.C (read_ready): revert my patch of 11 September last year
5279         as it sends PC cpu through the roof. Presumably this means that
5280         the lyxserver will no longer run on an Alpha...
5281
5282 2003-01-30  Angus Leeming  <leeming@lyx.org>
5283
5284         * factory.C (createInset): create an InsetCommandParam of type "index"
5285         and use it to 'do the right thing'.
5286
5287         * text2.C (getStringToIndex): ensure that cursor position is always
5288         reset to the reset_cursor position.
5289
5290 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5291
5292         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5293         disabled.
5294
5295 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5296
5297         * bufferview.C:
5298         * lyxcb.C:
5299         * lyxfunc.C: Output messages with identical spelling, punctuation,
5300         and spaces
5301
5302 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5303
5304         * MenuBackend.C (expandFormats): List only viewable export formats
5305         in "View" menu
5306
5307         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5308         message
5309
5310         * lyxfunc.C (getStatus): Make sure that formats other than
5311         "fax" can also be disabled
5312
5313 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5314
5315         * text3.C (dispatch): put the lfuns that insert insets in 3
5316         groups, and call doInsertInset with appropriate arguments.
5317         (doInsertInset): new function, that creates an inset and inserts
5318         it according to some boolean parameters.
5319
5320 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * buffer.C (readFile): remember to pass on 'par' when calling
5323         readFile recursively.
5324
5325 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5326
5327         * MenuBackend.C (expandFormats): add "..." to import formats.
5328
5329 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5330
5331         * paragraph.C (asString): Remove XForms RTL hacks.
5332
5333 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5334         * buffer.C: fix typo
5335
5336 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * Makefile.am (LIBS): delete var
5339         (lyx_LDADD): add @LIBS@ here instead.
5340
5341 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5342
5343         * Clarify the meaning of "wheel mouse jump"
5344
5345 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5346
5347         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5348         tabular in a float
5349
5350 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5351
5352         * importer.C (Loaders): do not preallocate 3 elements in the
5353         vector, since one ends up with 6 elements otherwise
5354
5355 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5356
5357         * DepTable.C (write): write the file name as last element of the
5358         .dep file (because it may contain spaces)
5359         (read): read info in the right order
5360
5361 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5362
5363         * paragraph_pimpl.C (simpleTeXBlanks):
5364         (simpleTeXSpecialChars):
5365         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5366
5367         * tabular.C (latex): add some missing case statements. Reindent.
5368
5369         * MenuBackend.C (expandToc): remove unused variable.
5370
5371 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5372
5373         * LColor.C:
5374         * LaTeX.C:
5375         * LyXAction.C:
5376         * MenuBackend.C:
5377         * buffer.C:
5378         * exporter.C:
5379         * lyxfunc.C:
5380         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5381         and the like.
5382
5383 2003-01-05  John Levon  <levon@movementarian.org>
5384
5385         * BufferView.h:
5386         * BufferView.C: add getEncoding()
5387
5388         * kbsequence.h:
5389         * kbsequence.C: do not store last keypress
5390
5391         * lyxfunc.h:
5392         * lyxfunc.C: store last keypress here instead. Pass encoding
5393           to getISOEncoded()
5394
5395 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5396
5397         * lyx_main.C (init): remove annoying error message when following
5398         symbolic links (bug #780)
5399
5400 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5401
5402         * text.C (insertChar):
5403         * lyxrc.C (getDescription): remove extra spaces
5404
5405 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5406
5407         * lyxrc.C (getDescription): remove extra spaces
5408
5409 2002-12-20  John Levon  <levon@movementarian.org>
5410
5411         * text3.C: hack fix for page up/down across tall rows
5412
5413 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5414
5415         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5416         not been invoked
5417
5418 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5419
5420         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5421         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5422         thesaurus is not compiled in
5423
5424 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5425
5426         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5427
5428 2002-12-16  Angus Leeming  <leeming@lyx.org>
5429
5430         * lyxrc.[Ch]:
5431         * lyx_main.C (init): remove override_x_deadkeys stuff.
5432
5433 2002-12-12  John Levon  <levon@movementarian.org>
5434
5435         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5436           insert. Only remove shift modifier under strict
5437           circumstances.
5438
5439 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * MenuBackend.C (expandToc): fix crash.
5442
5443 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * MenuBackend.C (expandToc): gettext on float names.
5446
5447 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5448
5449         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5450         implement bool empty() [bug 490]
5451
5452 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5455
5456 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * several files: ws changes
5459
5460 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * text2.C (setCounter): clean up a bit, use boost.format.
5463         (updateCounters): initialize par upon declaration.
5464
5465         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5466         if the layout exists. We do not just store the layout any more.
5467         (SwitchLayoutsBetweenClasses): use boost.format
5468
5469 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5470
5471         * converter.C (convert): if from and to files are the same, use a
5472         temporary files as intermediary
5473
5474 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5475
5476         * commandtags.h:
5477         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5478
5479 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5480
5481         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5482
5483 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * tabular.C (asciiPrintCell): use string(size, char) instead of
5486         explicit loop.
5487
5488         * sgml.C (openTag): fix order of arguments to string constructor
5489         (closeTag): ditto
5490
5491         * lyxfunc.C (dispatch): use boost.format
5492
5493         * lots of files: change "c" -> 'c'
5494
5495 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5496
5497         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5498
5499 2002-11-25  Angus Leeming  <leeming@lyx.org>
5500
5501         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5502
5503         * lyx_main.C (init): compile fix.
5504
5505 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * lyx_cb.C (start): boost.formatify
5508         do not include <iostream>
5509
5510         * lengthcommon.C: ws only
5511
5512         * boost-inst.C,BoostFormat.h: add more explict instantations
5513
5514 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5515
5516         * lots of files: handle USE_BOOST_FORMAT
5517
5518 2002-11-21  John Levon  <levon@movementarian.org>
5519
5520         * pspell.C: fix compile
5521
5522 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5523
5524         * lyxfunc.C (dispatch): use boost::format
5525         (open): ditto
5526         (doImport): ditto
5527
5528         * lyxfont.C (stateText): use boost::format
5529
5530         * lyx_main.C (LyX): use boost::format
5531         (init): ditto
5532         (queryUserLyXDir): ditto
5533         (readRcFile): ditto
5534         (parse_dbg): ditto
5535         (typedef boost::function): use the recommened syntax.
5536
5537         * importer.C (Import): use boost::format
5538
5539         * debug.C (showLevel): use boost::format
5540
5541         * converter.C (view): use boost::format
5542         (convert): ditto
5543         (move): ditto
5544         (scanLog): ditto
5545
5546         * bufferview_funcs.C (currentState): use boost::format
5547
5548         * bufferlist.C (emergencyWrite): use boost::format
5549
5550         * buffer.C (readLyXformat2): use boost::format
5551         (parseSingleLyXformat2Token): ditto
5552
5553         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5554
5555         * LaTeX.C (run): use boost::format
5556
5557         * Chktex.C (scanLogFile): use boost::format
5558
5559         * BufferView_pimpl.C (savePosition): use boost::format
5560         (restorePosition): ditto
5561         (MenuInsertLyXFile): ditto
5562
5563         * BoostFormat.h: help file for explicit instation.
5564
5565 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5566
5567         * tabular.C (latex): Support for block alignment in fixed width
5568         columns.
5569
5570 2002-11-17  John Levon  <levon@movementarian.org>
5571
5572         * BufferView_pimpl.C:
5573         * lyx_cb.C:
5574         * lyxfunc.C: split filedialog into open/save
5575
5576 2002-11-08  Juergen Vigna  <jug@sad.it>
5577
5578         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5579         by my last patch (hopefully).
5580
5581 2002-11-08  John Levon  <levon@movementarian.org>
5582
5583         * iterators.h:
5584         * iterators.C:
5585         * buffer.h:
5586         * buffer.C:
5587         * paragraph.h:
5588         * paragraph.C:
5589         * toc.h:
5590         * toc.C: ParConstIterator, and use it (from Lars)
5591
5592 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5593
5594         * lyxtextclass.[Ch]: revise and add doxygen comments
5595
5596 2002-11-07  John Levon  <levon@movementarian.org>
5597
5598         * text.C: fix progress value for spellchecker
5599
5600         * toc.C: fix navigate menu for insetwrap inside minipage
5601
5602         * paragraph_funcs.C: added FIXME for suspect code
5603
5604 2002-11-07  John Levon  <levon@movementarian.org>
5605
5606         * BufferView_pimpl.C: fix redrawing of insets
5607           on buffer switch
5608
5609 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5610
5611         * text2.C (updateCounters): fix bug 668
5612
5613 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5614
5615         * text3.C (dispatch): Do not make the buffer dirty when moving the
5616         cursor.
5617
5618 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * vc-backend.C: STRCONV
5621         (scanMaster): ditto
5622
5623         * text2.C (setCounter): STRCONV
5624
5625         * paragraph.C (asString): STRCONV
5626
5627         * lyxlength.C (asString): STRCONV
5628         (asLatexString): ditto
5629
5630         * lyxgluelength.C (asString): STRCONV
5631         (asLatexString): ditto
5632
5633         * lyxfunc.C (dispatch): STRCONV
5634         (open): ditto
5635
5636         * lyxfont.C (stateText): STRCONV
5637
5638         * importer.C (Import): STRCONV
5639
5640         * counters.C (labelItem): STRCONV
5641         (numberLabel): ditto
5642         (numberLabel): remove unused ostringstream o
5643
5644         * chset.C: STRCONV
5645         (loadFile): ditto
5646
5647         * bufferview_funcs.C (currentState): STRCONV
5648
5649         * buffer.C (readFile): STRCONV
5650         (asciiParagraph): ditto
5651         (makeLaTeXFile): ditto
5652
5653         * Spacing.C (writeEnvirBegin): STRCONV
5654
5655         * LaTeXFeatures.C (getLanguages): STRCONV
5656         (getPackages): ditto
5657         (getMacros): ditto
5658         (getBabelOptions): ditto
5659         (getTClassPreamble): ditto
5660         (getLyXSGMLEntities): ditto
5661         (getIncludedFiles): ditto
5662
5663         * LaTeX.C: STRCONV
5664         (run): ditto
5665         (scanAuxFile): ditto
5666         (deplog): ditto
5667
5668         * LString.h: add the STRCONV macros
5669
5670         * BufferView_pimpl.C (savePosition): STRCONV
5671         (restorePosition): ditto
5672         (MenuInsertLyXFile): ditto
5673
5674         * vc-backend.C (scanMaster): change from submatch[...] to
5675         submatch.str(...)
5676
5677         * funcrequest.C: include config.h
5678
5679         * factory.C: include config.h
5680
5681         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5682
5683         * box.C: include config.h
5684
5685         * LaTeX.C (scanAuxFile): change from submatch[...] to
5686         submatch.str(...)
5687         (deplog): ditto
5688
5689 2002-10-25  Angus Leeming  <leeming@lyx.org>
5690
5691         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5692
5693         * ispell.[Ch] (setError): new method.
5694         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5695         Use setError() insetead of goto END.
5696
5697         * lyx_cb.C (AutoSave): move out child process into new class
5698         AutoSaveBuffer.
5699
5700 2002-10-30  John Levon  <levon@movementarian.org>
5701
5702         * text3.C: make start appendix undoable
5703
5704 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5705
5706         * lyxlength.C (inPixels): Fix returned value.
5707
5708         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5709         environment.
5710
5711 2002-10-24  Angus Leeming  <leeming@lyx.org>
5712
5713         * lyxgluelength.h: no need to forward declare BufferParams
5714         or BufferView, so don't.
5715
5716 2002-10-21  John Levon  <levon@movementarian.org>
5717
5718         * BufferView.C: menuUndo ->undo, redo
5719
5720         * BufferView.h: document, remove dead, make some methods private
5721
5722         * paragraph_funcs.h:
5723         * paragraph_funcs.C:
5724         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5725
5726         * buffer.h:
5727         * buffer.C:
5728         * sgml.h:
5729         * sgml.C: move sgml open/close tag into sgml.C
5730
5731         * bufferview_funcs.h: unused prototype
5732
5733         * lyxfunc.h:
5734         * lyxfunc.C: remove unused
5735
5736         * lyxtext.h:
5737         * text.C: remove unused
5738
5739 2002-10-21  John Levon  <levon@movementarian.org>
5740
5741         * BufferView.h:
5742         * BufferView.C:
5743         * BufferView_pimpl.h:
5744         * BufferView_pimpl.C: fix mouse wheel handling based on
5745           patch from Darren Freeman
5746
5747 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5748
5749         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5750
5751 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5752
5753         * lyxlength.C (inPixels): Fix hanfling of negative length.
5754         Fix LyXLength::MU case.
5755
5756 2002-10-16  John Levon  <levon@movementarian.org>
5757
5758         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5759
5760 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5761
5762         * converter.C (view): add support for $$i (file name) and $$p
5763         (file path) for the viewer command. If $$i is not specified, then
5764         it is appended to the command (for compatibility with old syntax)
5765
5766 2002-10-14  Juergen Vigna  <jug@sad.it>
5767
5768         * undo_funcs.C (textHandleUndo): alter the order in which the
5769         new undopar is added to the LyXText, as we have to set first
5770         the right prev/next and then add it as otherwise the rebuild of
5771         LyXText is not correct. Also reset the cursor to the right paragraph,
5772         with this IMO we could remove the hack in "redoParagraphs()".
5773
5774 2002-10-09  Angus Leeming  <leeming@lyx.org>
5775
5776         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5777         to turn off an optimisation if a new inset is to be inserted.
5778
5779 2002-10-11 André Pönitz <poenitz@gmx.net>
5780
5781         * lyxtext.h: make some functions public to allow access
5782         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5783
5784 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5785
5786         * text3.C (dispatch): when changing layout, avoid an infinite loop
5787         [bug #652]
5788
5789 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5790
5791         * lyxrc.C (read): treat a viewer or converter command of "none" as
5792         if it were empty.
5793
5794         * MenuBackend.C (expandFormats): for an update, also allow the
5795         formats that are not viewable
5796
5797         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5798         script if it is newer than the lyxrc.defaults in user directory
5799
5800 2002-10-07 André Pönitz <poenitz@gmx.net>
5801
5802         * text.C: Vitaly Lipatov's small i18n fix
5803
5804 2002-09-25  Angus Leeming  <leeming@lyx.org>
5805
5806         * ispell.h: doxygen fix.
5807
5808 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5809
5810         * buffer.h (readFile): Add a new argument to the method, to allow
5811         reading of old-format templates.
5812
5813 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5814
5815         * toc.C (getTocList): Get TOC from InsetWrap.
5816
5817 2002-09-16  John Levon  <levon@movementarian.org>
5818
5819         * lyxfunc.C: check tabular for cut/copy too
5820
5821 2002-09-12  John Levon  <levon@movementarian.org>
5822
5823         * LyXAction.C: tidy
5824
5825         * factory.h:
5826         * factory.C: add header
5827
5828         * paragraph_funcs.h:
5829         * paragraph_funcs.C: cleanup
5830
5831 2002-09-11  John Levon  <levon@movementarian.org>
5832
5833         * PrinterParams.h: odd/even default to true
5834
5835 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5836
5837         * PrinterParams.h: update printer parameters for new xforms dialog
5838
5839 2002-09-11  Angus Leeming  <leeming@lyx.org>
5840
5841         * lyxserver.C (read_ready): re-write to make it more transparent
5842         and to make it work in coherent fashion under Tru64 Unix.
5843
5844 2002-09-11  André Pönitz <poenitz@gmx.net>
5845
5846         * commandtags.h:
5847         * LyXAction.C:
5848         * text3.C: implement LFUN_WORDSEL
5849
5850 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5851
5852         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5853         make floatlist_ a boost::shared_ptr<FloatList>
5854
5855         * lyxtextclass.C: include FloatList.h
5856         (LyXTextClass): initialize floatlist_
5857         (TextClassTags): add TC_NOFLOAT
5858         (Read): match "nofloat" to TC_NOFLOAT and use it.
5859         (readFloat): modify call to floatlist_
5860         (floats): ditto
5861         (floats): ditto
5862
5863         * FloatList.[Ch] (FloatList): remove commented out float
5864         initialization.
5865         (erase): new function
5866
5867 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5868
5869         * MenuBackend.C (expandToc): fix crash when there is no document
5870         open
5871
5872 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5873
5874         * many files: Add insetwrap.
5875
5876 2002-09-09  John Levon  <levon@movementarian.org>
5877
5878         * text2.C: remove confusing and awkward depth wraparound
5879
5880 2002-09-09  John Levon  <levon@movementarian.org>
5881
5882         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5883
5884         * buffer.h:
5885         * buffer.C: remove getIncludeonlyList()
5886
5887         * paragraph.C:
5888         * lyxfunc.C: remove headers
5889
5890 2002-09-09  Juergen Vigna  <jug@sad.it>
5891
5892         * text.C (getColumnNearX): fix form Michael this is most
5893         probably a cut&paste bug.
5894
5895 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5898
5899         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5900         references, ws changes.
5901
5902         * text2.C (init): update counters after init
5903         (insertParagraph): no need to set counter on idividual paragraphs.
5904         (setCounter): access the counters object in the textclass object
5905         on in the buffer object.
5906         (updateCounters): ditto
5907
5908         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5909         shared_ptr<Counters> to avoid loading counters.h in all
5910         compilation units.
5911         (LyXTextClass): initialize ctrs_
5912         (TextClassTags): add TC_COUNTER, and ...
5913         (Read): use it here.
5914         (CounterTags): new tags
5915         (readCounter): new function
5916         (counters): new funtion
5917         (defaultLayoutName): return a const reference
5918
5919         * counters.C (Counters): remove contructor
5920         (newCounter): remove a couple of unneeded statements.
5921         (newCounter): simplify a bit.
5922         (numberLabel): some small formatting changes.
5923
5924         * buffer.[Ch]: remove all traces of counters, move the Counters
5925         object to the LyXTextClass.
5926
5927 2002-09-06  Alain Castera  <castera@in2p3.fr>
5928
5929         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5930         package to set the horizontal alignment on fixed width columns.
5931
5932         * lyx_sty.C:
5933         * lyx_sty.h: added tabularnewline macro def.
5934
5935         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5936
5937 2002-09-06  John Levon  <levon@movementarian.org>
5938
5939         * LyXAction.C: tooltips for sub/superscript
5940
5941         * MenuBackend.C: a bit more verbose
5942
5943         * lyxfunc.C: tiny clean
5944
5945         * undo_funcs.C: document undo_frozen
5946
5947 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * counters.C (Counters): add missing algorithm counter.
5950
5951         * text2.C (setCounter): lookup the counter with layouts latexname
5952         instead of by section number.
5953         (setCounter): use a hackish way to lookup the correct enum
5954         counter.
5955         a float name->type change
5956         reset enum couners with counter name directly instead of depth value.
5957
5958         * counters.C (Counters): remove the push_backs, change to use the
5959         float type not the float name.
5960         (labelItem): remove unused string, float name->type change
5961
5962         * counters.h: don't include vector, loose the enums and sects vectors
5963
5964 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5965
5966         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5967         (Read): add float->TC_FLOAT to textclassTags
5968         (Read): and handle it in the switch
5969         (readFloat): new function
5970
5971         * FloatList.C (FloatList): comment out the hardcoded float
5972         definitions.
5973
5974         * lyxlayout.h: ws change.
5975
5976 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5977
5978         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5979
5980 2002-09-03  Angus Leeming  <leeming@lyx.org>
5981
5982         * BufferView_pimpl.h: qualified name is not allowed in member
5983         declaration: WorkArea & Pimpl::workarea() const;
5984
5985         * factory.C: added using std::endl directive.
5986
5987         * text3.C: added using std::find and std::vector directives.
5988
5989 2002-08-29  André Pönitz <poenitz@gmx.net>
5990
5991         * lyxtext.h:
5992         * text2.C: remove unused member number_of_rows
5993
5994         * Makefile.am:
5995         * BufferView2.C: remove file, move contents to...
5996         * BufferView.C: ... here
5997
5998         * BufferView_pimpl.C:
5999         * factory.C: move more inset creation to factory
6000
6001         * vspace.C: avoid direct usage of LyXText, ws changes
6002
6003         * BufferView.[Ch]:
6004                 don't provide direct access to WorkArea, use two simple
6005                 acessors haveSelction() and workHeight() instead
6006
6007
6008 2002-08-29  John Levon  <levon@movementarian.org>
6009
6010         * BufferView_pimpl.C (dispatch): do not continue when
6011           no buffer
6012
6013 2002-08-28  André Pönitz <poenitz@gmx.net>
6014
6015         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6016
6017         * BufferView.h:
6018         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6019
6020 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6021
6022         * buffer.C: increment LYX_FORMAT to 221
6023
6024         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6025         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6026
6027         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6028
6029         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6030
6031 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6032
6033         * factory.C (createInset): use LyXTextClass::floats
6034
6035         * MenuBackend.C (expandFloatListInsert):
6036         (expandFloatInsert):
6037         (expandToc):
6038
6039         * text2.C (setCounter):
6040
6041         * LaTeXFeatures.C (useFloat):
6042         (getFloatDefinitions):
6043
6044         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6045
6046         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6047         floatlist_, with accessor floats().
6048
6049         * FloatList.h: remove global FloatList
6050
6051 2002-08-26  André Pönitz <poenitz@gmx.net>
6052
6053         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6054
6055         * BufferView.h:
6056         * BufferView2.C:
6057         * BufferView_pimpl.C:
6058         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6059
6060 2002-08-25  John Levon  <levon@movementarian.org>
6061
6062         * LyXAction.C: fix margin note description
6063
6064 2002-08-24  John Levon  <levon@movementarian.org>
6065
6066         * buffer.C:
6067         * bufferlist.C:
6068         * bufferview_funcs.C:
6069         * lyxfont.C:
6070         * undo_funcs.C: cleanups
6071
6072         * lyxfunc.C: disable CUT/COPY when no selection
6073
6074 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6075
6076         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6077         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6078
6079         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6080         Add backward compatibility to "mono", "gray" and "no".
6081
6082 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6083
6084         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6085         (and file_format >= 200).
6086
6087 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6088
6089         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6090
6091 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6092
6093         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6094
6095 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6096
6097         * BufferView_pimpl.C:
6098         * LyXAction.C:
6099         * buffer.C:
6100         * commandtags.h:
6101         * lyxfunc.C:
6102         * paragraph.[Ch]:
6103         * text2.C:
6104         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6105         inset and code to make it  work with the paragraph code. The inset
6106         can be anywhere in the paragraph, but will only do the expected
6107         thing in LaTeX if the layout file contains the parameter line
6108                         OptionalArgs    1
6109         (or more generally, a nonzero value) for that layout.
6110
6111 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * paragraph.h: remove the declaration of undefined counters class
6114         function.
6115
6116 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6117
6118         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6119         Dr. Richard Hawkins.
6120
6121 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6122
6123         * paragraph_funcs.h: remove some unneeded includes
6124
6125         * text.C (backspace): pasteParagraph now in global scipe
6126
6127         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6128         (pasteSelection): ditto
6129
6130         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6131         * paragraph_funcs.C (pasteParagraph): ... here
6132
6133 2002-08-20  André Pönitz <poenitz@gmx.net>
6134
6135         * commandtags.h: new LFUNs for swapping/copying table row/colums
6136
6137         * LyXAction.C:
6138         * lyxfunc.C: support for new lfuns
6139
6140 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * tabular.C:
6143         * buffer.[Ch]: remove NO_COMPABILITY stuff
6144
6145 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * boost.C (throw_exception): new file, with helper function for
6148         boost compiled without exceptions.
6149
6150         * paragraph.h:
6151         * lyxlength.C:
6152         * buffer.C:
6153         * ParameterStruct.h:
6154         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6155
6156         * bufferlist.C (emergencyWriteAll): use boost bind
6157
6158         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6159
6160         * text.C: include paragraph_funcs.h
6161         (breakParagraph): breakParagraph is now in global scope
6162
6163         * paragraph_funcs.[Ch]: new files
6164
6165         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6166         global scope
6167
6168         * buffer.C: include paragraph_funcs.h
6169         (insertStringAsLines): breakParagraph is now in global scope
6170
6171         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6172         paragraph_funcs.C
6173
6174         * CutAndPaste.C: include paragraph_funcs.h
6175         (cutSelection): breakParagraphConservative is now in global scope
6176         (pasteSelection): ditto
6177
6178         * buffer.h: declare oprator== and operator!= for
6179         Buffer::inset_iterator
6180
6181         * bufferlist.C (emergencyWrite): don't use fmt(...)
6182
6183         * text3.C: add using std::endl
6184
6185         * BufferView.C (moveCursorUpdate): remove default arg
6186
6187 2002-08-20  André Pönitz <poenitz@gmx.net>
6188
6189         * buffer.[Ch]: move inline functions to .C
6190
6191         * BufferView2.C:
6192         * BufferView_pimpl.C:
6193         * text.C:
6194         * buffer.[Ch]: use improved inset_iterator
6195
6196         * buffer.C:
6197         * paragraph.[Ch]: write one paragraph at a time
6198
6199 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6200
6201         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6202         style if style is not specified.
6203
6204 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6205
6206         * text2.C (setCounter): when searching for right label for a
6207         caption, make sure to recurse to parent insets (so that a caption
6208         in a minipage in a figure float works) (bug #568)
6209
6210 2002-08-20  André Pönitz <poenitz@gmx.net>
6211
6212         * text3.C: new file for LyXText::dispatch() and helpers
6213
6214         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6215
6216         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6217
6218 2002-08-19  André Pönitz <poenitz@gmx.net>
6219
6220         * lyxtext.h:
6221         * text.C: new LyXText::dispatch()
6222
6223         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6224
6225 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6226
6227         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6228
6229         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6230         Hebrew text.
6231
6232 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6233
6234         * Makefile.am: use $(variables) instead of @substitutions@
6235
6236 2002-08-15  André Pönitz <poenitz@gmx.net>
6237
6238         * lyxfunc.C:
6239         * BufferView_pimpl.C: streamlining mathed <-> outer world
6240         interaction
6241
6242         * commandtags.h:
6243         * LyXAction.C: remove unused LFUN_MATH
6244
6245 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6248
6249 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * paragraph.C (Paragraph): reformat a bit
6252         (cutIntoMinibuffer): use builtin InsetList function instad of
6253         doing it manually.
6254         (getInset): ditto
6255
6256         * buffer.C: include boost/bind.hpp, add using std::for_each
6257         (writeFileAscii): use ParagraphList iterators
6258         (validate): use for_each for validate traversal of paragraphs
6259         (getBibkeyList): use ParagraphList iterators
6260         (resizeInsets): use for_each to resizeInsetsLyXText for all
6261         paragraphs.
6262         (getParFromID): use ParagraphList iterators
6263
6264         * BufferView2.C (lockInset): use paragraph list and iterators
6265
6266 2002-08-14  John Levon  <levon@movementarian.org>
6267
6268         * lyxserver.C: remove spurious xforms include
6269
6270 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6271
6272         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6273
6274 2002-08-13  André Pönitz <poenitz@gmx.net>
6275
6276         * LyXAction.[Ch]:
6277         * lyxfunc.C: further cleaning
6278
6279 2002-08-13  André Pönitz <poenitz@gmx.net>
6280
6281         * funcrequest.h: new constructor
6282
6283         * funcrequest.C: move stuff here from .h
6284
6285         * Makefile.am:
6286         * BufferView_pimpl.C:
6287         * LyXAction.C:
6288         * toc.C:
6289         * lyxfunc.C: subsequent changes
6290
6291         * lyxfunc.h: new view() member function
6292
6293         * lyxfunc.C: subsequent changes
6294
6295 2002-08-13  Angus Leeming  <leeming@lyx.org>
6296
6297         * BufferView2.C:
6298         * BufferView_pimpl.C:
6299         * buffer.C:
6300         * converter.C:
6301         * importer.C:
6302         * lyxfunc.C:
6303         * lyxvc.C:
6304         * toc.C:
6305         * vc-backend.C:
6306         changes due to the changed LyXView interface that now returns references
6307         to member variables not pointers.
6308
6309 2002-08-13  Angus Leeming  <leeming@lyx.org>
6310
6311         * WordLangTuple (word, lang_code): return references to strings,
6312         not strings.
6313
6314         * BufferView.h:
6315         * SpellBase.h:
6316         * lyxtext.h: forward-declare WordLangTuple.
6317
6318         * BufferView2.C:
6319         * ispell.C:
6320         * pspell.C:
6321         * text.C: #include "WordLangTuple.h".
6322
6323         * lyxtext.h:
6324         * text.C: (selectNextWordToSpellcheck): constify return type.
6325
6326 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6327
6328         * buffer.C:
6329         * buffer.h:
6330         * lyxtext.h:
6331         * paragraph.C:
6332         * paragraph_pimpl.h:
6333         * text.C:
6334         * text2.C:
6335         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6336         suggested by Angus.
6337         Made updateCounter always count from start of buffer, and removed
6338         second argument (par).
6339         Reverted floats number display to '#'. Perhaps I'll try again when the
6340         code base is sanitized a bit.
6341
6342 2002-08-12  Angus Leeming  <leeming@lyx.org>
6343
6344         * buffer.[Ch] (getLabelList): constify.
6345
6346 2002-08-07  André Pönitz <poenitz@gmx.net>
6347
6348         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6349
6350         * funcrequest.h: extension to keep mouse (x,y) position
6351
6352 2002-08-12  Juergen Vigna  <jug@sad.it>
6353
6354         * BufferView2.C (insertErrors): forbid undo when inserting error
6355         insets.
6356
6357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6358
6359 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * ParagraphList.[Ch]: new files
6362
6363         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6364
6365         * BufferView2.C (lockInset): ParagraphList changes
6366         * toc.C: ditto
6367         * text2.C: ditto
6368         * bufferlist.C: ditto
6369         * buffer.h: ditto
6370         * buffer.C: ditto
6371
6372 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6375         unused class variable counter_,
6376
6377         * paragraph.[Ch] (getFirstCounter): delete unused function
6378
6379         * counters.C: include LAssert.h
6380         (reset): add a new function with no arg, change other version to
6381         not have def. arg and to not allow empty arg.
6382
6383         * text2.C (setCounter): remove empty arg from call to Counters::reset
6384
6385 2002-08-11  John Levon  <levon@movementarian.org>
6386
6387         * Makefile.am: add WordLangTuple.h
6388
6389 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6392         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6393
6394         * insets/insettext.C: InsetList changes
6395
6396         * graphics/GraphicsSupport.C (operator()): InsetList changes
6397
6398         * toc.C (getTocList): InsetList changes
6399
6400         * paragraph_pimpl.[Ch]: InsetList changes
6401
6402         * paragraph.[Ch]: InsetList changes
6403
6404         * buffer.C (inset_iterator): InsetList changes
6405         (setParagraph): ditto
6406         * buffer.h (inset_iterator): ditto
6407         * iterators.C (operator++): ditto
6408         * iterators.h: ditto
6409
6410         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6411
6412         * InsetList.[Ch]: new files, most InsetList handling moved out of
6413         paragraph.C.
6414
6415         * BufferView2.C (removeAutoInsets): InsetList changes
6416         (lockInset): ditto
6417         (ChangeInsets): ditto
6418
6419 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * paragraph_pimpl.h (empty): new function
6422
6423         * paragraph.[Ch] (empty): new function
6424
6425         * other files: use the new Paragraph::empty function
6426
6427 2002-08-09  John Levon  <levon@movementarian.org>
6428
6429         * lyxtext.h: remove unused refresh_height
6430
6431 2002-08-09  John Levon  <levon@movementarian.org>
6432
6433         * Makefile.am:
6434         * sgml.h:
6435         * sgml.C:
6436         * buffer.C:
6437         * paragraph.h:
6438         * paragraph.C: move sgml char escaping out of paragraph
6439
6440         * paragraph.h:
6441         * paragraph.C: remove id setter
6442
6443         * buffer.C:
6444         * paragraph.C:
6445         * paragraph_pimpl.C: remove dead tex_code_break_column
6446
6447         * bufferview_funcs.C: small cleanup
6448
6449         * lyxfunc.C: remove dead proto
6450
6451         * lyxtext.h: make some stuff private. Remove some dead stuff.
6452
6453         * lyxgluelength.C: make as[LyX]String() readable
6454
6455 2002-08-08  John Levon  <levon@movementarian.org>
6456
6457         * LyXAction.h:
6458         * LyXAction.C:
6459         * MenuBackend.C:
6460         * ToolbarDefaults.C:
6461         * lyxfunc.C:
6462         * lyxrc.C:
6463         * toc.C: lyxaction cleanup
6464
6465 2002-08-08  John Levon  <levon@movementarian.org>
6466
6467         * BufferView2.C: small cleanup
6468
6469         * lyxfind.h:
6470         * lyxfind.C: move unnecessary header into the .C
6471
6472 2002-08-08  John Levon  <levon@movementarian.org>
6473
6474         * funcrequest.h: just tedious nonsense
6475
6476         * lyx_main.h:
6477         * lyx_main.C: cleanups
6478
6479         * buffer.C:
6480         * vspace.C: remove dead header lyx_main.h
6481
6482 2002-08-07  Angus Leeming  <leeming@lyx.org>
6483
6484         * Paragraph.[Ch]:
6485         * paragraph_pimpl.h:
6486         Forward declare class Counters in paragraph.h by moving the ctrs member
6487         variable into Paragraph::Pimpl.
6488         (counters): new method, returning a reference to pimpl_->ctrs.
6489
6490         * text2.C: ensuing changes.
6491
6492 2002-08-07  John Levon  <levon@movementarian.org>
6493
6494         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6495
6496         * BufferView_pimpl.C: announce X selection on double/triple
6497           click
6498
6499         * lyx_main.C: use correct bool in batch dispatch
6500
6501         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6502
6503 2002-08-07  André Pönitz <poenitz@gmx.net>
6504
6505         * funcrequest.h: new class to wrap a kb_action and its argument
6506
6507         * BufferView.[Ch]:
6508         * BufferView_pimpl[Ch]:
6509         * LaTeX.C:
6510         * LyXAction.[Ch]:
6511         * lyxfunc.[Ch]:
6512         * lyxrc.C: subsequent changes
6513
6514
6515 2002-08-07  John Levon  <levon@movementarian.org>
6516
6517         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6518           document options change.
6519
6520 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6521
6522         * counters.[Ch]
6523         * text2.C
6524         * paragraph.[Ch]
6525         * makefile.am: move counters functionality over from
6526         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6527
6528 2002-08-06  John Levon  <levon@movementarian.org>
6529
6530         * WordLangTuple.h: new file for word + language code tuple
6531
6532         * SpellBase.h:
6533         * pspell.h:
6534         * pspell.C:
6535         * ispell.h:
6536         * ispell.C:
6537         * lyxtext.h:
6538         * text.C:
6539         * text2.C:
6540         * BufferView.h:
6541         * BufferView2.C: use WordLangTuple
6542
6543         * layout.h:
6544         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6545
6546 2002-08-06  John Levon  <levon@movementarian.org>
6547
6548         * lyx_main.C: fix cmdline batch handling
6549
6550 2002-08-06  André Pönitz <poenitz@gmx.net>
6551
6552         * lyxrc.C: set default for show_banner to true
6553
6554 2002-08-06  John Levon  <levon@movementarian.org>
6555
6556         * pspell.C: fix a crash, and allow new aspell to work
6557
6558 2002-08-06  John Levon  <levon@movementarian.org>
6559
6560         * lyxfunc.C:
6561         * kbmap.C: small cleanup
6562
6563         * vspace.h:
6564         * vspace.C: add const
6565
6566 2002-08-05  John Levon  <levon@movementarian.org>
6567
6568         * LyXAction.C: back to tabular-insert
6569
6570 2002-08-04  John Levon  <levon@movementarian.org>
6571
6572         * BufferView.h:
6573         * BufferView.C: cosmetic change
6574
6575         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6576
6577         * bufferlist.C:
6578         * buffer.h:
6579         * buffer.C:
6580         * lyxcb.h:
6581         * lyxcb.C:
6582         * lyxserver.C:
6583         * lyxvc.C:
6584         * vc-backend.C:
6585         * BufferView2.C: purge all "Lyx" not "LyX" strings
6586
6587         * lyxcursor.h:
6588         * lyxcursor.C: attempt to add some documentation
6589
6590         * lyxfunc.C:
6591         * commandtags.h:
6592         * LyXAction.C:
6593         * ToolbarDefaults.C:
6594         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6595           merge with LFUN_TABULAR_INSERT
6596
6597         * Makefile.am:
6598         * SpellBase.h:
6599         * ispell.h:
6600         * ispell.C:
6601         * pspell.h:
6602         * pspell.C: split up i/pspell implementations into separate
6603           files, many cleanups
6604
6605         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6606
6607         * text2.C: some cleanup
6608
6609         * lyxfunc.C: don't check for isp_command == "none" any more, it
6610           didn't make any sense
6611
6612 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6613
6614         * counters.[Ch]
6615         * text2.C
6616         * paragraph.[Ch]
6617         * makefile.am: move counters functionality over
6618         from text2.C/paragraph.[Ch] to counters.[Ch], and
6619         make proper C++.
6620 2002-08-02  John Levon  <levon@movementarian.org>
6621
6622         * buffer.C: s/lyxconvert/lyx2lyx/
6623
6624 2002-08-02  Angus Leeming  <leeming@lyx.org>
6625
6626         * lyxlex.C: revert John's change as it breaks reading of the user
6627         preamble.
6628
6629 2002-08-02  Angus Leeming  <leeming@lyx.org>
6630
6631         * importer.C (Import):
6632         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6633         changes due to LyXView::view() now returning a boost::shared_ptr.
6634
6635 2002-08-02  John Levon  <levon@movementarian.org>
6636
6637         * lyxlex.C: small cleanup
6638
6639 2002-08-02  John Levon  <levon@movementarian.org>
6640
6641         * text2.C (status): small cleanup, no logic change
6642
6643 2002-08-01  John Levon  <levon@movementarian.org>
6644
6645         * buffer.h:
6646         * buffer.C (writeFile): don't output alerts, caller
6647           handles this
6648
6649         * bufferlist.C:
6650         * lyx_cb.C: from above
6651
6652         * lyxfunc.C: allow to open non-existent files
6653
6654 2002-07-31  John Levon  <levon@movementarian.org>
6655
6656         * lyxserver.C: don't let incidental errors get
6657           in the way (errno)
6658
6659 2002-07-30  John Levon  <levon@movementarian.org>
6660
6661         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6662
6663 2002-07-30  John Levon  <levon@movementarian.org>
6664
6665         * lyxserver.h:
6666         * lyxserver.C: remove I/O callback too
6667
6668 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6669
6670         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6671         log.
6672
6673 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * many files: strip,frontStrip -> trim,ltrim,rtrim
6676
6677 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * PrinterParams.h: remove extern containsOnly, and include
6680         support/lstrings.h instead.
6681
6682         * LaTeX.C (scanAuxFile): modify because of strip changes
6683         (deplog): ditto
6684         * buffer.C (makeLaTeXFile): ditto
6685         * bufferparams.C (writeFile): ditt
6686         * lyxfont.C (stateText): ditto
6687         * lyxserver.C (read_ready): ditto
6688         * vc-backend.C (scanMaster): ditto
6689
6690         * BufferView_pimpl.h: ws changes
6691
6692         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6693
6694 2002-07-26  André Pönitz <poenitz@gmx.net>
6695
6696         * kb_sequence.C: remove unnedred usings
6697
6698 2002-07-26  Juergen Vigna  <jug@sad.it>
6699
6700         * lyxfind.C (LyXReplace): we have to check better if the returned
6701         text is not of theLockingInset()->getLockingInset().
6702
6703 2002-07-25  Juergen Vigna  <jug@sad.it>
6704
6705         * lyxfind.C (LyXReplace): don't replace if we don't get the
6706         right LyXText.
6707
6708         * undo_funcs.C (createUndo): remove debugging code.
6709
6710 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6711
6712         * buffer.C (parseSingleLyXformat2Token): Use default placement
6713         when reading old floats.
6714
6715         * FloatList.C (FloatList): Change the default placement of figure
6716         and tables to "tbp".
6717
6718 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6719
6720         * MenuBackend.C: using std::max
6721
6722 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6723
6724         * MenuBackend.C (expandToc):
6725         (expandToc2): code moved from xforms menu frontend. It is now
6726         generic and TOCs are transparent to menu frontends.
6727
6728 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6729
6730         * toc.C (getTocList): protect against buf=0
6731
6732         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6733         Menu as first parameter. Now, this calls itself recursively to
6734         expand a whole tree (this will be useful for TOC handling)
6735         (expandFloatInsert): remove 'wide' version of floats
6736
6737         * MenuBackend.h (submenuname): returns the name of the submenu.
6738         (submenu): returns the submenu itself, provided it has been
6739         created by MenuBackend::expand
6740
6741 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6742
6743         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6744         insets which have noFontChange == true. (bug #172)
6745
6746 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6747
6748         * BufferView_pimpl.C: add connection objects and use them...
6749         (Pimpl): here.
6750
6751 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6752
6753         * MenuBackend.C (expandLastfiles):
6754         (expandDocuments):
6755         (expandFormats):
6756         (expandFloatListInsert):
6757         (expandFloatInsert):
6758         (expand): split expand in parts
6759
6760 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6761
6762         * lyx_gui.C: use lyx_gui::exit()
6763
6764 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6765
6766         * LyXAction.C: show the failing pseudo action
6767
6768 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6769
6770         * buffer.C (readFile): Run the lyxconvert script in order to read
6771         old files.
6772
6773 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6774
6775         * LyXAction.C:
6776         * commandtags.h:
6777         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6778
6779 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6780
6781         * LyXAction.C:
6782         * commandtags.h:
6783         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6784
6785 2002-07-22  Herbert Voss  <voss@lyx.org>
6786
6787         * lengthcommon.C:
6788         * lyxlength.[Ch]: add support for the vertical lengths
6789
6790 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6791
6792         * toc.[Ch]: std:: fixes
6793
6794 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6795
6796         * lyxrc.C: do not include lyx_main.h
6797
6798         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6799         for layouts
6800
6801         * lyxrc.C:
6802         * encoding.C:
6803         * bufferlist.C:
6804         * BufferView2.C: include "lyxlex.h"
6805
6806         * tabular.h:
6807         * bufferparams.h: do not #include "lyxlex.h"
6808
6809         * lyxtextclasslist.C (Add): remove method
6810         (classlist): renamed to classlist_
6811
6812         * paragraph_pimpl.C:
6813         * paragraph.C:
6814         * text2.C:
6815         * CutAndPaste.C:
6816         * bufferview_funcs.C:
6817         * bufferlist.C:
6818         * text.C:
6819         * LaTeXFeatures.C:
6820         * buffer.C:
6821         * toc.C (getTocList): use BufferParams::getLyXTextClass
6822
6823         * toc.C (getTocList): use InsetFloat::addToToc
6824
6825         * toc.[Ch]: new files, containing helper functions to handle table
6826         of contents
6827
6828         * lyxfunc.C (dispatch): no need to remove spaces around command
6829         given as a string
6830         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6831         first command of the sequence; it is not very clever, but I do not
6832         have a better idea, actually
6833
6834         * LyXAction.C (LookupFunc): make sure to remove space at the
6835         beginning and end of the command
6836
6837 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6838
6839         * MenuBackend.C (getMenubar): new method: return the menubar of
6840         this menu set
6841         (read): treat differently reading of menu and menubar (in
6842         particular, the menubar has no name now)
6843         (Menu::menubar): remove
6844
6845         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6846         saving is finished
6847
6848 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6849
6850         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6851         a bibitem inset in a RTL paragraph.
6852
6853 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6854
6855         * paragraph_pimpl.C: constify
6856
6857         * BufferView_pimpl.C:
6858         * LaTeX.C:
6859         * lyxfunc.C: fix dispatch in a nicer way
6860
6861 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6862
6863         * lyxfunc.C (dispatch):
6864         * BufferView_pimpl.C:
6865         * BufferView_pimpl.h:
6866         * BufferView.C:
6867         * BufferView.h: rename Dispatch() to dispatch()
6868
6869         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6870
6871         * lyxlayout.C (Read): honor DependsOn tag
6872
6873         * lyxlayout.[Ch] (depends_on): new method
6874
6875         * version.C.in: update lyx_docversion
6876
6877         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6878
6879         * paragraph.C (validate): remove from here...
6880         * paragraph_pimpl.C (validate): ... and move here
6881         (isTextAt): make it const
6882
6883         * buffer.C (getLists): ws cleanup
6884
6885 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6886
6887         * language.C (read): Use iso8859-1 encoding in latex_lang
6888         (this prevents LyX from crashing when using iso10646-1 encoding).
6889
6890 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6891
6892         * text2.C (toggleInset): if cursor is inside an inset, close the
6893         inset and leave cursor _after_ it
6894
6895 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6896
6897         * lyxfunc.C: move minibuffer completion handling out of here
6898
6899 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6900
6901         * BufferView_pimpl.C:
6902         * LaTeX.C: fix dispatch calls
6903
6904 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * text.C (drawChars): Fix Arabic text rendering.
6907
6908 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6909
6910         * LyXAction.C:
6911         * commandtags.h:
6912         * lyxfunc.C: remove message-push/pop
6913
6914         * lyxserver.C:
6915         * lyxfunc.h:
6916         * lyxfunc.C: rationalise some code by removing verboseDispatch
6917           in favour of a bool argument to dispatch()
6918
6919 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6920
6921         * lyx_main.C (init): make sure to read symlinks as absolute paths
6922
6923 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6924
6925         * lyxfunc.h:
6926         * lyxfunc.C: no need for commandshortcut to be a member
6927
6928 2002-07-15  André Pönitz <poenitz@gmx.net>
6929
6930         * converter.C: add support for $$s (scripts from lib/scripts dir)
6931         * lyx_main.C: white space
6932
6933 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6934
6935         * bufferlist.C:
6936         * lyxrc.h:
6937         * lyxrc.C: remove second exit confirmation
6938
6939 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6940
6941         * BufferView.h:
6942         * BufferView.C:
6943         * BufferView2.C:
6944         * BufferView_pimpl.h:
6945         * BufferView_pimpl.C:
6946         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6947
6948 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6949
6950         * MenuBackend.C (expand): add numeric shortcuts to document menu
6951
6952         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6953
6954 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6955
6956         * lyxfont.C (setLyXFamily):
6957         (setLyXSeries):
6958         (setLyXShape):
6959         (setLyXSize):
6960         (setLyXMisc):
6961         (lyxRead):
6962         * debug.C (value):
6963         * buffer.C (asciiParagraph): use ascii_lowercase
6964
6965 2002-07-15  Mike Fabian  <mfabian@suse.de>
6966
6967         * lyxlex_pimpl.C (search_kw):
6968         * lyxlex.C (getLongString):
6969         * converter.h (operator<):
6970         * converter.C (operator<):
6971         * buffer.C (parseSingleLyXformat2Token):
6972         (asciiParagraph):
6973         * ToolbarDefaults.C (read):
6974         * MenuBackend.C (checkShortcuts):
6975         (read):
6976         * LColor.C (getFromGUIName):
6977         (getFromLyXName): use the compare_ascii_no_case instead of
6978         compare_no_case, because in turkish, 'i' is not the lowercase
6979         version of 'I', and thus turkish locale breaks parsing of tags.
6980
6981 2002-07-16  Angus Leeming  <leeming@lyx.org>
6982
6983         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6984         now takes a Buffer const & argument.
6985
6986 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6987
6988         * BufferView.C (resize): check there's a buffer to resize
6989
6990 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6991
6992         * lyxfunc.C: remove dead code
6993
6994         * lyxserver.h:
6995         * lyxserver.C: use lyx_guii::set_read_callback
6996
6997 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6998
6999         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7000         an inset in a RTL paragraph.
7001
7002 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7003
7004         * lyxfunc.C: repaint after a font size update
7005
7006 2002-07-15  André Pönitz <poenitz@gmx.net>
7007
7008         * lyxlength.C: inBP should be able to return negative values
7009
7010 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7011
7012         * lyxfunc.C: use lyx_gui::update_fonts()
7013
7014 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7015
7016         * lyxfunc.C: use lyx_gui::update_color()
7017
7018 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7019
7020         * bufferlist.C:
7021         * lyxfunc.h:
7022         * lyxfunc.C:
7023         * lyxrc.h:
7024         * lyxrc.C: remove file->new asks for name option, and let
7025           buffer-new take an argument
7026
7027 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7028
7029         * BufferView_pimpl.C: remove unneeded extra repaint()
7030
7031 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7032
7033         * LyXAction.C: allow command-sequence with NoBuffer
7034
7035         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7036
7037 2002-07-10  Angus Leeming  <leeming@lyx.org>
7038
7039         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7040
7041 2002-07-09  Angus Leeming  <leeming@lyx.org>
7042
7043         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7044
7045 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7046
7047         * lengthcommon.h: whitespace
7048
7049         * lyxfunc.C: update scrollbar after goto paragraph
7050
7051         * lyxtext.h: factor out page break drawing, and fix it so
7052           page break/added space paints as selected nicely
7053
7054 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7055
7056         * BufferView_pimpl.C: add FIXMEs, clean up a little
7057
7058 2002-07-09  André Pönitz <poenitz@gmx.net>
7059
7060         * lyxfont.[Ch]: support for wasy symbols
7061
7062 2002-07-08  André Pönitz <poenitz@gmx.net>
7063
7064         * BufferView_pimpl.C: apply John's patch for #93.
7065
7066 2002-07-05  Angus Leeming  <leeming@lyx.org>
7067
7068         * BufferView_pimpl.C (buffer): generate previews if desired.
7069
7070         * LColor.h: add "preview" to the color enum.
7071
7072         * LColor.C (LColor): add a corresponding entry to the items array.
7073
7074         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7075         with this buffer.
7076
7077 2002-07-05  Angus Leeming  <leeming@lyx.org>
7078
7079         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7080         The body of the code is now in the method that is passed an ostream &
7081         rather than a file name.
7082         Pass an additional only_preamble parameter, useful for the forthcoming
7083         preview stuff.
7084
7085 2002-07-03  André Pönitz <poenitz@gmx.net>
7086
7087         * lyxfunc.C: simplify getStatus() a bit for math stuff
7088
7089 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7090
7091         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7092
7093 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7094
7095         * text.C (changeRegionCase): do not change case of all the
7096         document when region ends at paragraph end (bug #461)
7097
7098 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7099
7100         * paragraph.C (startTeXParParams):
7101         (endTeXParParams): add \protect when necessary
7102
7103 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7104
7105         * BufferView_pimpl.C (workAreaExpose): remove warning
7106
7107 2002-06-27  Angus Leeming  <leeming@lyx.org>
7108
7109         * Makefile.am: add lyxlayout_ptr_fwd.h.
7110
7111 2002-06-26  André Pönitz <poenitz@gmx.net>
7112
7113         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7114
7115 2002-06-25  Angus Leeming  <leeming@lyx.org>
7116
7117         * lyxfunc.C (dispatch): Comment out the call to
7118         grfx::GCache::changeDisplay. The method no longer exists now that the
7119         pixmap generation part of the graphics loader has been moved into
7120         InsetGraphics.
7121
7122 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7123
7124         * text2.C: layout as layout
7125
7126         * text.C: layout as layout
7127
7128         * tabular.C (OldFormatRead): layout as layout
7129
7130         * paragraph_pimpl.C (TeXDeeper): layout as layout
7131         (realizeFont): layout as layout
7132
7133         * paragraph.C (writeFile): layout as layout
7134         (validate): layout as layout
7135         (getFont): layout as layout
7136         (getLabelFont): layout as layout
7137         (getLayoutFont): layout as layout
7138         (breakParagraph): layout as layout
7139         (stripLeadingSpaces): layout as layout
7140         (getEndLabel): layout as layout
7141         (getMaxDepthAfter): layout as layout
7142         (applyLayout): layout as layout
7143         (TeXOnePar): layout as layout
7144         (simpleTeXOnePar): layout as layout
7145         (TeXEnvironment): layout as layout
7146         (layout): layout as layout
7147         (layout): layout as layout
7148
7149         * lyxtextclass.C (compare_name): new functor to work with
7150         shared_ptr, layout as layout
7151         (Read): layout as layout
7152         (hasLayout): layout as layout
7153         (operator): layout as layout
7154         (delete_layout): layout as layout
7155         (defaultLayout): layout as layout
7156
7157         * lyxlayout_ptr_fwd.h: new file
7158
7159         * lyxlayout.C (Read): layout as layout
7160
7161         * lyx_cb.C (MenuInsertLabel): layout as layout
7162
7163         * bufferlist.C (newFile): layout as layout
7164
7165         * buffer.C (readLyXformat2): layout as layout
7166         (parseSingleLyXformat2Token): layout as layout
7167         (insertStringAsLines): layout as layout
7168         (asciiParagraph): layout as layout
7169         (latexParagraphs): layout as layout
7170         (makeLinuxDocFile): layout as layout
7171         (simpleLinuxDocOnePar): layout as layout
7172         (makeDocBookFile): layout as layout
7173         (simpleDocBookOnePar): layout as layout
7174         (getLists): layout as layout
7175
7176         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7177
7178         * CutAndPaste.C (cutSelection): layout as layout
7179         (pasteSelection): layout as layout
7180         (SwitchLayoutsBetweenClasses): layout as layout
7181
7182         * BufferView_pimpl.C (Dispatch): layout as layout
7183         (smartQuote): layout as layout
7184
7185         * BufferView2.C (unlockInset): layout as layout
7186
7187 2002-06-24  André Pönitz <poenitz@gmx.net>
7188
7189         * lyxfunc.C: fix #487
7190
7191 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7192
7193         * lyxrc.h:
7194         * lyxrc.C:
7195         * lyxfunc.C: remove display_shortcuts, show_banner
7196
7197 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * Buffer_pimpl.C: oops, update on resize
7200
7201 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7202
7203         * buffer.C:
7204         * converter.C:
7205         * exporter.C:
7206         * lyxfunc.C:
7207         * BufferView.h:
7208         * BufferView.C: use repaint()
7209
7210         * BufferView_pimpl.h:
7211         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7212           as it's a clearer description. Remove superfluous
7213           redraws.
7214
7215 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7216
7217         * text.C: fix bug 488. Not ideal, but getting
7218           getWord() to work properly for the insets that
7219           matter is more difficult ...
7220
7221 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * BufferView_pimpl.C:
7224         * LyXAction.C:
7225         * commandtags.h:
7226         * lyxfunc.C: remove the six million index lyxfuncs to just
7227           one, and DTRT (bug 458)
7228
7229 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * BufferView.h:
7232         * BufferView.C:
7233         * BufferView_pimpl.h:
7234         * BufferView_pimpl.C: clean up resize() stuff,
7235           and unnecessary updateScreen()s
7236
7237 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7238
7239         * BufferView.h:
7240         * BufferView.C:
7241         * BufferView_pimpl.h:
7242         * BufferView_pimpl.C:
7243         * lyxfind.h:
7244         * lyxfind.C:
7245         * minibuffer.C: remove focus management of workarea,
7246           not needed. Use screen's greyOut()
7247
7248 2002-06-17  Herbert Voss  <voss@lyx.org>
7249
7250         * converter.C: (convert) do not post a message, when converting
7251         fails, let the calling function decide what to do in this case
7252
7253 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7254
7255         * lyxfunc.C: tidy up a little
7256
7257 2002-06-16    <alstrup@diku.dk>
7258
7259         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7260         Got rid of FORMS_H_LOCATION include. Now we are
7261         GUII.
7262
7263 2002-06-15  LyX Development team  <lyx@rilke>
7264
7265         * buffer.[Ch] (sgmlOpenTag):
7266         (sgmlCloseTag): Added support for avoiding pernicious mixed
7267         content. Return number of lines written.
7268
7269         (makeLinuxDocFile):
7270         (makeDocBookFile): Fixed calls to sgml*Tag.
7271         Simple white space clean.
7272
7273         (simpleDocBookOnePar): Simple white space clean.
7274
7275         * tabular.[Ch] (docBook): Renamed to docbook and got another
7276         argument to related with the pernicious mixed content.
7277
7278         (docbookRow): Fixed calls for docbook inset method.
7279
7280 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7281
7282         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7283         so it's X11 independent.
7284
7285         * kb*.[Ch]: ditto.
7286
7287         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7288
7289 2002-06-15  Lyx Development team  <lyx@electronia>
7290
7291         * intl.h: Renamed getTrans to getTransManager.
7292
7293 2002-06-14  Angus Leeming  <leeming@lyx.org>
7294
7295         * Makefile.am: nuke forgotten stl_string_fwd.h.
7296
7297 2002-06-12  Angus Leeming  <leeming@lyx.org>
7298
7299         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7300
7301 2002-06-13  Angus Leeming  <leeming@lyx.org>
7302
7303         * LaTeX.C:
7304         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7305
7306 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7307
7308         * kbmap.C (getiso): add support for cyrillic and greek
7309
7310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7311
7312         * BufferView.h:
7313         * BufferView.C:
7314         * BufferView_pimpl.h:
7315         * BufferView_pimpl.C: move bogus scrolling logic
7316           to xforms
7317
7318 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7319
7320         * lyxfunc.C:
7321         * BufferView_pimpl.C: view->resize() change
7322
7323 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7324
7325         * BufferView_pimpl.C: topCursorVisible
7326           prototype change
7327
7328 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7329
7330         * Makefile.am:
7331         * lyx_gui.h:
7332         * lyx_gui.C: move to frontends/
7333
7334         * main.C:
7335         * lyx_main.h:
7336         * lyx_main.C: changes from above
7337
7338 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7339
7340         * intl.C:
7341         * intl.h:
7342         * kbmap.C:
7343         * kbsequence.C:
7344         * lyx_cb.C:
7345         * lyx_main.C: minor tidy
7346
7347 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7348
7349         * BufferView_pimpl.h:
7350         * BufferView_pimpl.C:
7351         * BufferView.h:
7352         * BufferView.C: make painter() const,
7353           remove dead code
7354
7355         * BufferView2.C: use screen() accessor
7356
7357         * lyx_main.h:
7358         * lyx_main.C: some minor cleanup
7359
7360 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7361
7362         * BufferView_pimpl.h:
7363         * BufferView_pimpl.C: remove enter/leaveView,
7364           use workHeight()
7365
7366 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7367
7368         * BufferView.h:
7369         * BufferView.C:
7370         * BufferView2.C:
7371         * BufferView_pimpl.h:
7372         * BufferView_pimpl.C: only construct screen once,
7373           rename
7374
7375         * lyxrc.C: remove pointless comment
7376
7377 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7378
7379         * BufferView.h:
7380         * BufferView.C: remove active() and belowMouse()
7381
7382         * BufferView_pimpl.h:
7383         * BufferView_pimpl.C: use workarea() not workarea_,
7384           and make it use a scoped_ptr instead
7385
7386 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7387
7388         * lyx_gui.C: add debug message on BadWindow
7389
7390 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7391
7392         * sp_spell.C: fdopen is not part of the C++ standard.
7393
7394         * paragraph.C (InsetIterator): use >= instead of ==
7395
7396 2002-06-07  Angus Leeming  <leeming@lyx.org>
7397
7398         Fixes needed to compile with Compaq cxx 6.5.
7399         * BufferView_pimpl.C:
7400         * DepTable.C:
7401         * buffer.C:
7402         * converter.C:
7403         * encoding.C:
7404         * lyx_gui.C:
7405         * lyx_main.C:
7406         * lyxtextclasslist.C:
7407         * minibuffer.C:
7408         * sp_spell.C:
7409         * tabular_funcs.C:
7410         * vc-backend.C:
7411         all c-library variables have been moved into namespace std. Wrap
7412         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7413
7414         * lyxlength.C:
7415         * tabular-old.C:
7416         * tabular.C:
7417         Add a using std::abs declaration.
7418
7419         * kbmap.h (modifier_pair):
7420         * paragraph.h (InsetTable, InsetList):
7421         * lyxfont.h (FontBits):
7422         type definition made public.
7423
7424         * bufferlist.C (emergencyWriteAll): the compiler complains that
7425         there is more than one possible lyx::class_fun template to choose from.
7426         I re-named the void specialisation as lyx::void_class_fun.
7427
7428         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7429
7430         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7431         the compiler is is unable to find tostr in write_attribute.
7432
7433 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7434
7435         * buffer.C (sgmlError): hide #warning
7436
7437 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7438
7439         * xtl/*: get rid of xtl, which is not in use anyway
7440
7441         * LyXAction.C (init):
7442         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7443         were unimplemented xtl experimentation
7444
7445 2002-06-04  André Pönitz <poenitz@gmx.net>
7446
7447         * lyxfunc.C: disable array operation on simple formulae
7448
7449 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7450
7451         * converter.C: constify a bit
7452
7453 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7454
7455         * lyx_gui.C: check xforms version correctly
7456
7457 2002-04-30  Herbert Voss  <voss@lyx.org>
7458
7459         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7460         "keep" option
7461
7462 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7463
7464         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7465           attempt to register it with a VCS)
7466
7467 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7468
7469         * lyx_main.C (init): honor variables LYX_DIR_13x and
7470         LYX_USERDIR_13x
7471
7472 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7473
7474         * buffer.h:
7475         * buffer.C:
7476         * lyx_main.C: fix a crash on bad command line,
7477           and give a useful exit status on error
7478
7479         * lyxfunc.C (doImport): allow -i lyx to work
7480
7481 2002-03-30  André Pönitz <poenitz@gmx.net>
7482
7483         * lyxfunc.C: mathed font changes
7484
7485 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7486
7487         * LaTeX.C:
7488         * importer.h:
7489         * importer.C:
7490         * lyx_sty.h:
7491         * lyx_sty.C:
7492         * lyxlex.C:
7493         * lyxrow.h:
7494         * lyxtext.h:
7495         * paragraph.h:
7496         * paragraph.C:
7497         * texrow.h:
7498         * texrow.C:
7499         * text.C:
7500         * trans_mgr.h: srcdocs, and some minor cleanups
7501
7502 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7503
7504         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7505         call getFont all the time)
7506
7507 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7508
7509         * switch from SigC signals to boost::signals
7510
7511 2002-05-29  André Pönitz <poenitz@gmx.net>
7512
7513         * paragraph_pimpl.C (getChar): don't call size() too often...
7514
7515 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7516
7517         * paragraph_pimpl.C (insertChar): do not try to update tables when
7518         appending (pos == size())
7519
7520         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7521         in order to reduce drastically the number of comparisons needed to
7522         parse a large document
7523
7524 2002-05-29  André Pönitz <poenitz@gmx.net>
7525
7526         * text.C:
7527         * text2.C:
7528         * lyxtextclass.C:
7529         * sp_pspell.h:
7530         * textclasslist.[Ch]:
7531         * sp_ispell.h: whitespace change
7532
7533 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7534
7535         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7536         lyxaction directly now.
7537
7538 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7539
7540         * trans.C:
7541         * lyxfont.C:
7542         * lyxvc.C: remove unused headers
7543
7544 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7545
7546         * Makefile.am:
7547         * buffer.h:
7548         * undostack.h:
7549         * undostack.C:
7550         * undo_funcs.h:
7551         * undo_funcs.C: some cleanups. Use shared_ptr
7552           and a template for the undo stacks.
7553
7554 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7555
7556         * BufferView_pimpl.h:
7557         * BufferView_pimpl.C:
7558         * kbmap.h:
7559         * kbmap.C:
7560         * kbsequence.h:
7561         * kbsequence.C:
7562         * lyxfunc.h:
7563         * lyxfunc.C:
7564         * text2.C: use key_state/mouse_state
7565
7566 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7567
7568         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7569         and LSubstring
7570
7571         * chset.C: change include order
7572         (loadFile): use boost regex and get rid of LRegex and LSubstring
7573
7574         * Makefile.am (BOOST_LIBS): new variable
7575         (lyx_LDADD): use it
7576
7577         * LaTeX.C: change include order.
7578         (scanAuxFile): use boost regex and get rid of LRegex and
7579         LSubstring
7580         (deplog): ditto
7581
7582 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7583
7584         * ColorHandler.h:
7585         * ColorHandler.C:
7586         * FontInfo.h:
7587         * FontInfo.C: moved to frontends/xforms/
7588
7589         * FontLoader.h:
7590         * FontLoader.C: moved into frontends for GUIIzation
7591
7592         * Makefile.am:
7593         * lyx_gui.C:
7594         * lyxfont.C:
7595         * lyxfunc.C: changes from above
7596
7597 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * LColor.C: remove spurious X include
7600
7601         * BufferView_pimpl.C:
7602         * Makefile.am:
7603         * font.h:
7604         * font.C:
7605         * text.C:
7606         * text2.C: move font metrics to frontends/
7607
7608 2002-05-24  Juergen Vigna  <jug@sad.it>
7609
7610         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7611         setting the undo_cursor.
7612
7613         * ParagraphParameters.h: include local includes first.
7614
7615 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * BufferView_pimpl.C:
7618         * BufferView_pimpl.h:
7619         * Makefile.am:
7620         * WorkArea.h:
7621         * WorkArea.C:
7622         * screen.C: move WorkArea into frontends/
7623
7624         * lyxscreen.h:
7625         * screen.C:
7626         * text.C:
7627         * BufferView.C:
7628         * BufferView2.C: move LyXScreen into frontends/
7629
7630         * lyxlookup.h:
7631         * lyxlookup.C:
7632         * lyx_gui.C: move lyxlookup into frontends/xforms/
7633
7634 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * BufferView2.C:
7637         * BufferView_pimpl.C:
7638         * FontLoader.C:
7639         * LyXView.h:
7640         * LyXView.C:
7641         * Makefile.am:
7642         * WorkArea.C:
7643         * XFormsView.h:
7644         * XFormsView.C:
7645         * buffer.C:
7646         * bufferlist.C:
7647         * bufferview_funcs.C:
7648         * converter.C:
7649         * importer.C:
7650         * lyx_cb.C:
7651         * lyx_gui.C:
7652         * lyx_main.C:
7653         * lyx_find.C:
7654         * lyxfunc.C:
7655         * lyxvc.C:
7656         * minibuffer.C:
7657         * text.C:
7658         * text2.C:
7659         * trans.C:
7660         * vc-backend.C: move LyX/XFormsView into frontends/
7661
7662 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * Makefile.am:
7665         * PainterBase.C:
7666         * PainterBase.h:
7667         * Painter.C:
7668         * Painter.h:
7669         * WorkArea.C:
7670         * WorkArea.h:
7671         * screen.C:
7672         * tabular.C:
7673         * text.C:
7674         * text2.C: move Painter to frontends/
7675
7676 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7677
7678         * buffer.C: comment out some some code that depend upon lyx_format
7679         < 220
7680
7681         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7682         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7683
7684         * buffer.h (NO_COMPABILITY): turn off compability
7685
7686         * ColorHandler.C: include scoped_array.hpp
7687
7688         * font.C: Use more specific smart_ptr header.
7689         * Painter.C: ditto
7690         * gettext.C: ditto
7691         * ShareContainer.h: ditto
7692         * lyx_main.h: ditto
7693         * kbmap.h: ditto
7694         * FontInfo.h: ditto
7695         * BufferView_pimpl.h: ditto
7696         * ColorHandler.h: ditto
7697
7698         * kbmap.C (defkey): change call to shared_ptr::reset
7699
7700 2002-05-21  Juergen Vigna  <jug@sad.it>
7701
7702         * buffer.C (insertErtContents): fix to insert ert asis if it is
7703         non empty. Skip it completely if it contains only whitespaces.
7704
7705 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7706
7707         * BufferView_pimpl.C:
7708         * BufferView2.C: clear selection on paste (bug 393)
7709
7710 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7711
7712         * DepTable.C: include ctime
7713
7714 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7715
7716         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7717
7718 2002-05-14  Juergen Vigna  <jug@sad.it>
7719
7720         * text.C (breakParagraph): fixed function to honor the keepempty
7721         layout in the right maner and also to permit the right breaking
7722         algorithm on empty or non empyt keepempty paragraphs.
7723
7724         * paragraph.C (breakParagraph): we have to check also if the par
7725         is really empty (!size()) for isempty otherwise we do the wrong
7726         paragraph break.
7727
7728 2002-05-10  Juergen Vigna  <jug@sad.it>
7729
7730         * buffer.[Ch] : The following are only changes to the ert
7731         compatibility read reading old LaTeX layout and font stuff and
7732         convert it to ERTInsets.
7733
7734         * buffer.h: added isErtInset().
7735
7736         * buffer.C (struct ErtComp): add a fromlayout bool to check
7737         if we're inside a LaTeX layout.
7738         (isErtInset): new helper function.
7739         (insertErtContents): look for other ert insets before this one
7740         and insert the contents there, so that we don't have subsequent
7741         ERT insets with nothing between them. This way we create only one
7742         inset with multiple paragraphs. Also check if we don't insert only
7743         spaces ' ' as they are ignored anyway afterwards in the .tex file
7744         so if we have only spaces we will ignore this latex part in the
7745         new file.
7746         (parseSingleLyXformat2Token \\layout): better compatibility when
7747         reading layout-latex stuff.
7748         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7749         language tag.
7750         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7751         stuff after reading the inset only get the information back from
7752         the stack.
7753
7754 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7755
7756         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7757
7758         * LaTeXFeatures.C (getBabelOptions): New method.
7759
7760 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7761
7762         * BufferView_pimpl.C (Dispatch): work around missing argument for
7763         'layout'
7764
7765 2002-05-08  Juergen Vigna  <jug@sad.it>
7766
7767         * text.C (leftMargin): handle paragraph leftindent.
7768
7769         * paragraph.C (writeFile): write the new \\leftindent tag.
7770         (validate): handle leftindent code.
7771         (TeXEnvironment): handle paragraphleftindent code again.
7772
7773         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7774
7775         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7776         for paragrap_extra indent code and new token \\leftindent.
7777         (latexParagraphs): handle the leftindent as environment.
7778
7779         * ParameterStruct.h: added leftindent support.
7780
7781         * ParagraphParameters.C (leftIndent): added support functions for
7782         the paragraph left indent.
7783
7784         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7785         more appropriate.
7786
7787 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7788
7789         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7790         inside insetERT.
7791
7792         * text.C (computeBidiTables): No bidi in insetERT.
7793
7794         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7795         in RTL documents.
7796
7797 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7798
7799         * version.C.in: pre 5
7800
7801 2002-05-02  José Matos  <jamatos@fep.up.pt>
7802         * buffer.C (makeDocBookFile): white space changes, add newline to
7803         command styles.
7804         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7805
7806         * tabular.C (docBook): fix typo.
7807
7808 2002-05-03  Juergen Vigna  <jug@sad.it>
7809
7810         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7811         change in LyXText as we can not be sure it was not freed.
7812         (drawOneRow): remove unused code.
7813
7814         * text.C (drawInset): redo the calculation of the need_break_row as
7815         it could have a row which was already freed.
7816         (draw): look at the return value of drawInset and return false if
7817         it also returned false.
7818         (paintRowText): look at the return value of draw and return false if
7819         it also returned false.
7820
7821         * lyxtext.h: added bool return type to drawInset() and draw() so that
7822         if we have a change in the row so that the rowbreak has to be redone
7823         we abort drawing as it will be called again.
7824
7825 2002-05-02  Juergen Vigna  <jug@sad.it>
7826
7827         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7828         a change in the maintext also if we're inside an inset.
7829         (Dispatch): set the cursor again after a break line and after the
7830         screen has been updated as it could be we're in a different row.
7831
7832         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7833         to set the cursor behind the pargraph with > size().
7834         (setCursor): check also for the same paragraph when checking where
7835         to put the cursor if we have a NFR inset.
7836
7837         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7838         parts of layout read further up as it still was in the wrong
7839         position.
7840
7841 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7842
7843         * screen.C (drawFromTo): change sine fullRebreak always return
7844         true.
7845
7846         * buffer.C (parseSingleLyXformat2Token): reindent some
7847
7848         * BufferView_pimpl.C (update): change since fullRebreak always
7849         return true.
7850         (Dispatch): git rid of the last hardcoded "Standard"s.
7851
7852 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7853
7854         * text2.[Ch] (fullRebreak): make it return void now that we always
7855         returned true.
7856
7857 2002-04-30  Juergen Vigna  <jug@sad.it>
7858
7859         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7860         ert compatibility check for "latex" layout.
7861
7862 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7863
7864         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7865         minipages: use col% instead of p%, and also use the current font.
7866         (makeLaTeXFile): Fix use babel condition.
7867         (parseSingleLyXformat2Token): Correct font when reading old floats.
7868
7869 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7870
7871         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7872         inserting list of floats.
7873
7874 2002-04-25  Herbert Voss  <voss@lyx.org>
7875
7876         * MenuBackend.C (expand): don't add the graphics extensions to the
7877         export menu
7878
7879 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7880
7881         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7882         non-existing layout, do not complain if it was the default layout
7883         of the original class (bug #342)
7884
7885 2002-04-24  Juergen Vigna  <jug@sad.it>
7886
7887         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7888         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7889
7890 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7891
7892         * buffer.C (getBibkeyList): If using \bibliography, return the
7893         option field with the reference itself. Enables us to provide natbib
7894         support when using \bibliography.
7895
7896 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7897
7898         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7899
7900         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7901         natbib is provided by the LaTeX class.
7902
7903 2002-04-23  Juergen Vigna  <jug@sad.it>
7904
7905         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7906         Wakeup functions.
7907
7908         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7909
7910 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7913
7914         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7915         ensuremath around textordmasculine, textordfeminine and
7916         textdegree.
7917
7918 2002-04-19  Juergen Vigna  <jug@sad.it>
7919
7920         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7921         reinitializing the buffer otherwise row-dimensions may be wrong.
7922         (update): reset also the selection cursors if they do exits otherwise
7923         their x/y positions may be wrong.
7924
7925         * text2.C (cursorDown): don't enter the inset if we came from a row
7926         above and are one row over the inset.
7927
7928         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7929         really leaving an inset.
7930
7931 2002-04-18  Juergen Vigna  <jug@sad.it>
7932
7933         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7934         of the selected paragraph does not have the selected layout also if
7935         the last one had!
7936
7937         * text2.C (setLayout): fixed bug which did not change last selected
7938         paragraph.
7939
7940         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7941         changed the read and substituted \\end_float with \\end_inset!
7942
7943         * BufferView_pimpl.C (cursorPrevious):
7944         (cursorNext): fixed to make it work with rows heigher than the work
7945         area without moving the cursor only the draw of the row.
7946         (workAreaMotionNotify): fix jumping over high rows.
7947
7948 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7949
7950         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7951         Ressler.
7952
7953 2002-04-16  Juergen Vigna  <jug@sad.it>
7954
7955         * text2.C (setCursor): set also the irow().
7956         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7957         (cursorUp):
7958         (cursorDown): support for locking an inset if the x_fix value goes
7959         inside it. That way I can transverse insets too with cursor up/down.
7960
7961         * lyxrow.h: added irow helper function same as other (i) functions.
7962
7963         * BufferView_pimpl.C (cursorPrevious):
7964         (cursorNext): fixed for insets!
7965
7966 2002-04-15  Juergen Vigna  <jug@sad.it>
7967
7968         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7969         position otherwise it is wrong in some cases.
7970
7971         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7972         inside the inset before the call.
7973
7974 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7975
7976         * buffer.[Ch] (getBibkeyList): make it const.
7977
7978 2002-04-12  Juergen Vigna  <jug@sad.it>
7979
7980         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7981
7982         * text2.C (getCursorX): new helper function
7983         (setCursor): compute also ix_
7984         (setCursorFromCoordinates): set also ix.
7985
7986         * lyxcursor.h: added ix_ and helper functions.
7987
7988         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7989
7990         * buffer.C (insertStringAsLines): dont break paragraph if the this
7991         paragraph is inside an inset which does not permit it!
7992
7993         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7994         also with no chars on this paragraph.
7995         (paintRowText): only paint stuff if it's inside the workarea!
7996
7997         * paragraph.C (breakParagraph): honor keepempty flag and break the
7998         paragraph always below not above.
7999
8000         * BufferView2.C (unlockInset): update the paragraph layout on inset
8001         unlock as we changed paragraph in such a case.
8002
8003         * lyxfind.C (LyXFind): clear the former selection if not found!
8004
8005         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8006         again called in insertChar().
8007
8008         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8009         an inset which uses the whole row!
8010         (rightMargin): ditto.
8011         (insertChar): force a rebreak if we inserted an inset!
8012
8013 2002-03-28  Herbert Voss  <voss@lyx.org>
8014
8015         * lyxlength.[Ch]: add inBP() to get the right PS-point
8016         units (BigPoint). With inPixels we have rounding errors
8017
8018 2002-04-11  Juergen Vigna  <jug@sad.it>
8019
8020         * text2.C (setCursorFromCoordinates): set iy to the right value.
8021         (setCursor): add check if row->previous exists!
8022
8023         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8024         an old float_type as this was the case in the old code!
8025
8026         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8027
8028         * BufferView2.C (showLockedInsetCursor): use iy
8029         (fitLockedInsetCursor): ditto
8030
8031         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8032         locked insets as there we have the right value now.
8033
8034         * lyxcursor.C: added iy_ variable and iy functions to set to the
8035         baseline of cursor-y of the locked inset.
8036
8037         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8038         (setCursor): fixed for insets which need a full row.
8039
8040         * text.C (rowLastPrintable): don't ignore the last space when before
8041         an inset which needs a full row.
8042         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8043         as last character of a row when before a inset which needs a full row.
8044
8045 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8046
8047         * version.C.in: update date
8048
8049         * text2.C (fullRebreak): try to always return true and see what
8050         happens...
8051
8052 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8053
8054         * MenuBackend.C (expand): use Floating::listName
8055
8056         * FloatList.C (FloatList): add listName argument to the built-in
8057         floats
8058
8059         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8060         text associated with the float.
8061
8062 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8063
8064         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8065
8066 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8067
8068         * ShareContainer.h: add a couple of missing typenames.
8069
8070 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8071
8072         * lyxrc.C (getDescription): use _() correctly rather than N_().
8073
8074 2002-03-28  Herbert Voss  <voss@lyx.org>
8075
8076         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8077         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8078
8079 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8080
8081         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8082         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8083
8084 2002-03-29  Juergen Vigna  <jug@sad.it>
8085
8086         * lyxfunc.C (dispatch): add a missing fitCursor call.
8087
8088         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8089         it was scrolled by a cursor move, so return the bool status.
8090
8091         * BufferView.C (fitCursor): return the bool flag also to the outside
8092         world as this is needed.
8093
8094         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8095
8096         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8097         call the edit() as it is not needed (and wrong) IMO.
8098         (workAreaButtonPress): set the screen_first variable before evt.
8099         unlock the inset as this may change screen_first and then we have
8100         a wrong y position for the click!
8101
8102 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8103
8104         * MenuBackend.C (expand): another translation that I missed
8105
8106 2002-03-28  Juergen Vigna  <jug@sad.it>
8107
8108         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8109
8110         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8111
8112 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8113
8114         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8115
8116         * MenuBackend.C (expand): fix export/view/update when there is no
8117         document open.
8118
8119 2002-03-27  Herbert Voss  <voss@lyx.org>
8120
8121         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8122         and text%
8123
8124 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8125
8126         * bufferview_funcs.C (currentState): only show paragraph number
8127         for is DEVEL_VERSION is set.
8128
8129         * lyxfunc.C (dispatch): put warning in INFO channel
8130
8131         * MenuBackend.C (expand): translate the name of floats
8132
8133         * FloatList.C (FloatList): mark the float names for translation
8134
8135         * converter.C (convert): use LibScriptSearch
8136
8137 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8138
8139         * MenuBackend.C (defaults): fix default menu (we might as well get
8140         rid of it...)
8141
8142 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8143
8144         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8145         directory.
8146
8147 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8148
8149         * lyxvc.C: reorder includes.
8150
8151 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8154           properly
8155
8156 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * CutAndPaste.C: change layouts earlier on paste
8159           to avoid crashing when calling getFont()
8160
8161 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8162
8163         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8164         irritating #error.
8165
8166 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8167
8168         * WorkArea.C: remove 'Pending' debug message.
8169
8170         * most files: ws cleanup
8171
8172         * buffer.[Ch]: ws changes
8173
8174         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8175
8176 2002-03-21  Juergen Vigna  <jug@sad.it>
8177
8178         * tabular.C (SetMultiColumn): collapse also the contents of the
8179         cells and set the last border right. Added a Buffer const * param.
8180
8181 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8182
8183         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8184         linking or not.
8185
8186 2002-03-19  Juergen Vigna  <jug@sad.it>
8187
8188         * text2.C (clearSelection): reset also xsel_cache.
8189
8190         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8191         where it needs to be called (John tells us to do so too :)
8192         (selectionLost): reset sel_cache.
8193
8194         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8195
8196 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8197
8198         * text2.C (setCursorIntern): put debuging code in INSETS channel
8199
8200 2002-03-19  André Pönitz <poenitz@gmx.net>
8201
8202         * lyxfunc.C: tiny whitespace change
8203
8204 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8205
8206         * ToolbarDefaults.C (init):
8207         * LyXAction.C (init):
8208         * commandtags.h:
8209         * BufferView_pimpl.C (Dispatch):
8210         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8211
8212 2002-03-19  Allan Rae  <rae@lyx.org>
8213
8214         * exporter.C (Export): removeAutoInsets before doing anything else.
8215         While I've just introduced a dependency on BufferView this really is
8216         the best place to clean the buffer otherwise you need to cleanup in
8217         a dozen places before calling export or cleanup in a dozen functions
8218         that export calls.
8219
8220         * converter.C (runLaTeX):
8221         (scanLog): Better handling of removeAutoInsets and screen updates.
8222
8223         * lyxfunc.C (dispatch): small whitespace changes
8224
8225 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8226
8227         * WorkArea.C (C_WorkAreaEvent): return a value.
8228         (event_cb): return 1 if we handled the event, 0 otherwise.
8229
8230         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8231
8232 2002-03-18  Juergen Vigna  <jug@sad.it>
8233
8234         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8235         (GetAdditionalWidth): ditto.
8236         (RightLine): ditto.
8237         (LeftLine): ditto.
8238
8239         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8240         inset if we're there actually (probably not used right now but this
8241         is the direction to go for unifying code).
8242         (paste): disable code to clear the selection.
8243
8244         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8245         inside an InsetText and move the check further up as it is in the
8246         wrong place.
8247
8248         * text2.C (pasteSelection): set a selection over the pasted text.
8249
8250 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8251
8252         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8253         and libgraphics to build on Cygwin.
8254
8255 2002-03-15  Juergen Vigna  <jug@sad.it>
8256
8257         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8258         inserting an Inset into the paragraph. I know this is not the best
8259         fix but we already use current_view in CutAndPaste so we will remove
8260         all of it's using at the same time.
8261
8262         * buffer.C (sgmlError): deactivated function till it is rewritten in
8263         the right mode, now it can create problems.
8264
8265         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8266         before accessing it.
8267
8268 2002-03-14  Juergen Vigna  <jug@sad.it>
8269
8270         * undo_funcs.C (textHandleUndo): do the right thing when updating
8271         the inset after the undo/redo.
8272
8273         * text2.C (setCursor): just some testcode for #44 not ready yet.
8274
8275         * undo_funcs.C (textHandleUndo): set the next() and previous()
8276         pointers of the paragraph to 0 before deleting otherwise we have
8277         problems with the Paragraph::[destructor].
8278
8279         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8280         on a paragraph insertion.
8281
8282 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8283
8284         * buffer.C (asciiParagraph): use += operator for char append to
8285         string.
8286
8287         * paragraph.C (getFontSettings): compare >= not just >
8288         (highestFontInRange): ditto
8289         (setFont): ditto
8290
8291 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8292
8293         * paragraph.C: change several algorithm to be more appripriate for
8294         the problem domain. This is lookip in FontList and in the InsetList.
8295
8296 2002-03-13  André Pönitz <poenitz@gmx.net>
8297
8298         * commandtags.h:
8299         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8300
8301 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8302
8303         * commandtags.h:
8304         * LyXAction.C:
8305         * lyxfunc.C:
8306         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8307
8308 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8309
8310         * Painter.C (display): anon helper function, adjust code for this
8311         change.
8312         (pixmap): remove function.
8313
8314         * Painter.h: remove private display variable.
8315
8316         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8317
8318 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8319
8320         * WorkArea.[Ch]: remove figinset_canvas cruft.
8321
8322 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8323
8324         * lyxtextclass.C (operator): add one item cache optimization.
8325
8326         * bufferlist.h: doxy changes
8327
8328         * bufferlist.C: ws changes
8329
8330         * DepTable.[Ch] (ext_exist): place const in the right spot.
8331
8332         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8333         call resizeInsets.
8334         (workAreaExpose): call resizeInsets when the with BufferView changes.
8335         (Dispatch): adjust for protectedBlank removal
8336         (specialChar): call updateInset if the insert went ok.
8337
8338         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8339         specialChar instead.
8340
8341         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8342
8343         * BufferView.h: doxy change
8344
8345         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8346
8347         * lyxtextclass.C (operator[]): remove non-const version
8348         (defaultLayout): remove non-const version
8349
8350 2002-03-12  Juergen Vigna  <jug@sad.it>
8351
8352         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8353         did resize the LyXText too.
8354
8355         * buffer.C (readLyXformat2): set layout information on newly allocated
8356         paragraphs.
8357
8358         * tabular.C (OldFormatRead): set layout information on the paragraph.
8359
8360 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8361
8362         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8363
8364 2002-03-11  Juergen Vigna  <jug@sad.it>
8365
8366         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8367         plainly wrong.
8368         (resizeCurrentBuffer): force also the insets to resize themselfes.
8369         (moveCursorUpdate): fixed up for InsetText.
8370
8371 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8372
8373         * commandtags.h:
8374         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8375         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8376         value of Dialogs::tooltipsEnabled().
8377         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8378
8379 2002-03-08  Juergen Vigna  <jug@sad.it>
8380
8381         * BufferView_pimpl.C (updateInset): update inset inside inset also
8382         if it isn't inside theLockingInset().
8383
8384 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8385
8386         * buffer.C (asciiParagraph): redo some of the word and line length
8387         handling.
8388         (getLists): look for Caption instead of caption.
8389
8390 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8391
8392         * buffer.C (Buffer): initialize niceFile to true
8393         (makeLaTeXFile):
8394         (makeLinuxDocFile):
8395         (makeDocBookFile): make sure niceFile is true on exit
8396
8397 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8398
8399         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8400
8401 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8402
8403         * LyXSendto.C: remove.
8404         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8405         * lyx_gui.C: remove now-redundant comment.
8406         * ColorHandler.h: remove forward declaration of class WorkArea.
8407         * lyxfunc.C: remove #include "WorkArea.h".
8408
8409 2002-03-07  Juergen Vigna  <jug@sad.it>
8410
8411         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8412         got moved away with the DEPM and also set the inset_owner always
8413         right which before could have been omitted.
8414
8415 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8416
8417         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8418         wanted layout is not found.
8419
8420 2002-03-07  Juergen Vigna  <jug@sad.it>
8421
8422         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8423
8424 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8425
8426         * paragraph.C (breakParagraph): use default layout not layout of
8427         prev paragraph.
8428         (Paragraph): clear ParagraphParameters.
8429
8430 2002-03-06  Juergen Vigna  <jug@sad.it>
8431
8432         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8433         otherwise it would not be a valid lenght. Fixed a special case in
8434         the minipage compatibility read where we end the document with a
8435         minipage.
8436
8437         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8438         was set as it could be 0 for InsetTexts first entry.
8439
8440 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8441
8442         * paragraph.C (writeFile): if layout is empty write out
8443         defaultLayoutName().
8444
8445         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8446         file without named layout we set layout to defaultLayoutName().
8447
8448 2002-03-06  Juergen Vigna  <jug@sad.it>
8449
8450         * CutAndPaste.C (copySelection): set layout for new paragraph.
8451
8452         * text.C (prepareToPrint): leave ERT inset left aligned
8453         (leftMargin): don't indent paragraphs inside ERT insets
8454
8455 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8456
8457         * paragraph.C (breakParagraph): dont call clear do the work manually
8458
8459         * paragraph.[Ch] (clear): remove function
8460
8461 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8462
8463         * paragraph.C (Paragraph): dont call clear, the work has already
8464         been done.
8465
8466         * lyxtextclass.C (operator): assert if n is empty
8467
8468         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8469         work manually instead.
8470
8471 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8472
8473         * BufferView_pimpl.C: protect selectionLost against text == 0
8474
8475 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8476
8477         * text.C (breakParagraph): fix a setting layout to '0' problem.
8478
8479 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8480
8481         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8482         final location of file, for the included files, and graphics.
8483
8484 2002-03-05  Juergen Vigna  <jug@sad.it>
8485
8486         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8487
8488 2002-03-04  Juergen Vigna  <jug@sad.it>
8489
8490         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8491
8492         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8493         last column of multicolumn cells.
8494         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8495
8496 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8497
8498         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8499         file if it doesn't go to a temporary file.
8500
8501         * buffer.C (sgmlOpenTag):
8502         (sgmlCloseTag):  remove extra newline insertion.
8503
8504 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8505
8506         * text.C (getRowNearY): comment out debug msg
8507
8508 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8509
8510         * text2.C: first -> first_y
8511
8512         * text.C (getRowNearY): add some attemts at a possible
8513         optimization, not working.
8514
8515         * tabular.[Ch]: add BufferParams to several function so that newly
8516         created paragraph can be initialized to he default layotu for the
8517         buffers textclass.
8518
8519         * tabular-old.C (ReadOld): add buf->params to call of Init
8520
8521         * screen.C: rename text->first to text->first_y
8522
8523         * paragraph.C (breakParagraph): always set layout in the broken
8524         paragraph
8525
8526         * lyxtextclass.C (Read): remove lowercase
8527         (hasLayout): ditto
8528         (operator): ditto
8529         (delete_layout): ditto
8530
8531         * lyxtext.h: rename first -> first_y
8532
8533         * lyxlayout.C (Read): remove lowercase
8534         (name): ditto
8535         (setName): ditto
8536         (obsoleted_by): ditto
8537
8538         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8539
8540         * buffer.C (insertErtContents): add params are to InsetERT
8541         (parseSingleLyXformat2Token): add code to check if a paragraphs
8542         layout really exist.
8543         (parseSingleLyXformat2Token): add params to several inset
8544         constructors
8545         (asciiParagraph): remove lowercase, do the layout comparisons with
8546         no_case
8547
8548         * BufferView_pimpl.C (cursorNext): first -> first_y
8549         (resizeCurrentBuffer): first -> first_y
8550         (updateScrollbar): first -> first_y
8551         (scrollCB): first -> first_y
8552         (workAreaMotionNotify): first -> first_y
8553         (workAreaButtonPress): first -> first_y
8554         (checkInsetHit): first -> first_y
8555         (cursorPrevious): first -> first_y
8556         (cursorNext): first -> first_y
8557         (Dispatch): add buffer_->params to severl inset contructors
8558
8559 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8560
8561         * lyxlayout.C (Read): remove some debug info that I forgot.
8562
8563         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8564         clean up the code slightly.
8565         (makeLinuxDocFile): ditto
8566         (makeDocBookFile): ditto
8567
8568         * text2.C: layout as string
8569
8570         * text.C: layout as string
8571
8572         * paragraph_pimpl.C: layout as string
8573
8574         * paragraph.[Ch]: layout as string
8575
8576         * lyxtextclasslist.[Ch]: layout as string
8577
8578         * lyxtextclass.[Ch]: layout as string
8579
8580         * lyxtext.h: layout as string
8581
8582         * lyxlayout.[Ch]: layout as string
8583
8584         * lyx_cb.C: layout as string
8585
8586         * bufferview_funcs.C: layout as string
8587
8588         * bufferparams.C: layout as string
8589
8590         * buffer.C: layout as string
8591
8592         * LyXView.[Ch]: layout as string
8593
8594         * LaTeXFeatures.[Ch]: layout as string
8595
8596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8597
8598         * BufferView_pimpl.C: change current_layout to string, remove
8599         lyx::layout_type.
8600         (Dispatch):
8601         (smartQuote):
8602         (insertInset):
8603         (workAreaButtonRelease): layout as string
8604
8605         * BufferView2.C (unlockInset): adjust
8606
8607         * vspace.C (asLatexCommand): use an explict temp variable.
8608
8609 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8610
8611         * Makefile.am: use FRONTEND_*
8612
8613 2002-03-01  Juergen Vigna  <jug@sad.it>
8614
8615         * tabular.C (SetWidthOfMulticolCell): changed to something better
8616         I hope but still work in progress.
8617         (recalculateMulticolumnsOfColumn): renamed function from
8618         recalculateMulticolCells as it is more appropriate now.
8619         (SetWidthOfCell): calculate multicols better.
8620
8621 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8622
8623         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8624
8625         * lyxfunc.C (processKeySym): print sequence also if it is
8626         `deleted' (complete)
8627
8628         * kbsequence.C (print): print sequence even if it is deleted
8629         (complete would be a better word, actually).
8630
8631         * lyxfunc.C (dispatch): print complete options after a prefix key
8632
8633         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8634
8635 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8636
8637         * text2.C (setCharFont): eliminate setCharFont code duplication.
8638
8639 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8640
8641         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8642         LFUN_TABULAR_FEATURE (bug #177)
8643
8644 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8645
8646         * Makefile.am: remove figure.h
8647
8648 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8649
8650         * Bufferview_pimpl.C:
8651         * CutAndPasteC:
8652         * LaTeX.C:
8653         * LyXSendto.C:
8654         * buffer.C:
8655         * bufferlist.C:
8656         * converter.C:
8657         * language.C:
8658         * lyxfunc.C:
8659         * lyxvc.C:
8660         * paragraph.C:
8661         * text.C:
8662         * text2.C: remove #include "lyx_gui_misc.h".
8663
8664         * LaTeX.C: added #include <cstdio>
8665
8666 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8667
8668         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8669         that the paragraph following this one can have.
8670
8671         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8672
8673         * vspace.C (asLatexCommand): fix bogus gcc warning
8674
8675         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8676
8677 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8678
8679         * text2.C (setLayout): get rid of redundant code
8680
8681 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8682
8683         * text2.C (incDepth): make sure depth cannot be increased beyond
8684         reasonable values.
8685
8686 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8687
8688         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8689         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8690
8691         * PainterBase.h (image):
8692         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8693         a LyXImage const *.
8694
8695 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8696
8697         * BufferView.C:
8698         * BufferView.h:
8699         * BufferView_pimpl.C:
8700         * BufferView_pimpl.h:
8701         * LaTeXFeatures.C:
8702         * LyXAction.C:
8703         * LyXView.C:
8704         * Makefile.am:
8705         * UpdateList.h:
8706         * UpdateList.C:
8707         * buffer.C:
8708         * figure.h:
8709         * figureForm.C:
8710         * figureForm.h:
8711         * figure_form.C:
8712         * figure_form.h:
8713         * lyx_cb.C:
8714         * lyx_gui.C:
8715         * lyx_gui_misc.C:
8716         * lyxfunc.C:
8717         * sp_base.h:
8718         * sp_ispell.h:
8719         * sp_pspell.h:
8720         * sp_spell.C: remove fig inset, and the crap house of
8721           cards that follows it
8722
8723 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8724
8725         * Makefile.am:
8726         * lyxserver.C:
8727         * os2_defines.h:
8728         * os2_errortable.h:
8729         * nt_defines.h: move .h into support/
8730
8731         * vms_defines.h: remove
8732
8733         * WorkArea.C: add space in debug output
8734
8735         * text2.C:
8736         * paragraph.C:
8737         * buffer.C: add WITH_WARNINGS
8738
8739         * vc-backend.h:
8740         * vc-backend.C:
8741         * bufferlist.C: s/retrive/retrieve/, add docs
8742
8743         * vspace.h:
8744         * vspace.C:
8745         * kbmap.h:
8746         * lyxlength.h:
8747         * lyxgluelength.h:
8748         * length_common.h:
8749         * chset.h:
8750         * chset.C: add docs
8751
8752         * lyxgui.C: add ID to X error handler
8753
8754         * lyxtestclass.c: fix typo
8755
8756 2002-02-26  Juergen Vigna  <jug@sad.it>
8757
8758         * tabular_funcs.C (write_attribute): changed so that some default
8759         attributes are not written at all.
8760         (getTokenValue): set default values before trying to read the
8761         value so we have the return value always set as default if we don't
8762         find the token we search for.
8763
8764         * tabular.C (Write): write bools as bools not as strings!
8765
8766 2002-02-22  Juergen Vigna  <jug@sad.it>
8767
8768         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8769         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8770
8771         * text.C (leftMargin): don't add an indent for paragraphs inside
8772         tabular cells (fix #208).
8773
8774 2002-02-21  José Matos  <jamatos@fep.up.pt>
8775
8776         * tabular.C (docBook): fixed support for long tables.
8777
8778 2002-02-20  Juergen Vigna  <jug@sad.it>
8779
8780         * text2.C (getFont): get the drawing font of the Inset if this
8781         paragraph is inside an inset (only important for InsetERT for now).
8782
8783         * buffer.C (insertErtContents): use new lanugage params in ERT
8784         constructor.
8785
8786         * CutAndPaste.C: commenting out seemingly uneeded code.
8787
8788 2002-02-19  Allan Rae  <rae@lyx.org>
8789
8790         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8791         Iterators might be simple to use but they also get invalidated.
8792         (removeAutoInsets): renamed saved cursor tracking variables and added
8793         some comments to clarify what everything does.
8794
8795 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8796
8797         * Chktex.C:
8798         * LaTeX.C:
8799         * LyXSendto.C:
8800         * converter.C:
8801         * lyx_cb.C:
8802         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8803         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8804
8805         * lyxfunc.C:
8806         * vc-backend.h: remove #include "support/syscall.h"
8807
8808         * LaTeX.C:
8809         * LyXSendto.C:
8810         * converter.C: rearrange #includes in Lars' approved fashion.
8811
8812         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8813         forward declare class Timeout in the header file.
8814
8815         * XFormsView.C: changes due to the above.
8816
8817         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8818         similar to LyXView.
8819
8820         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8821         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8822
8823 2002-02-18  José Matos  <jamatos@fep.up.pt>
8824
8825         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8826         insets contents.
8827
8828 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8829
8830         * a lot of small ws changes
8831         * add a lot of using std::XXX
8832         * use std construcs some places where approp.
8833         * use some exisint stuff from lyxfunctional where approp.
8834         * Make file changes to use partial linking (lets test this now...)
8835
8836 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8837
8838         * Chktex.C:
8839         * buffer.C:
8840         remove #include "support/syscontr.h" as it's redundant. Always has been.
8841
8842         * Chktex.C:
8843         * LaTeX.C:
8844         * LyXSendto.C:
8845         * converter.C:
8846         * lyx_cb.C:
8847         * vc-backend.C:
8848         change Systemcalls::System to Systemcalls::Wait and
8849         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8850         No change of functionality, just reflects the stripped down Systemcalls
8851         class.
8852
8853 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8854
8855         * debug.[Ch]: add a GRAPHICS type to the enum.
8856
8857 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8858
8859         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8860
8861         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8862         there is an inset.
8863
8864 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8867         match the changes below.
8868
8869         * text2.C (toggleInset): if there is not editable inset at cursor
8870         position, try to see if cursor is _inside_ a collapsable inset
8871         and close it.
8872
8873 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8874
8875         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8876         document menu has a nice checkbox
8877
8878 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * lyxlength.C (asLatexString): change PW to output as percent of
8881         \textwidth.
8882
8883         * lengthcommon.C: change '%' to 't%'
8884
8885         * lyxfunc.C (dispatch): a few comments from Martin
8886
8887 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8888
8889         * WorkArea.h:
8890         * WorkArea.C:
8891         * BufferView_pimpl.h:
8892         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8893           the X selection.
8894
8895 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8896
8897         * vspace.C (inPixels): fix compiler warning
8898
8899 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * lyxfunc.C (getStatus): fix status message for disabled commands.
8902
8903 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8904
8905         * BufferView_pimpl.C: fix crash on close buffer
8906         during selection (#227)
8907
8908 2002-01-27  Herbert Voss  <voss@lyx.org>
8909
8910         * buffer.C: link old Figure to new graphic inset
8911
8912 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8913
8914         * FontLoader.C (getFontinfo): Change the latex font names in order
8915         to match the names of type1inst.
8916
8917 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8918
8919         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8920
8921         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8922         (extchanged): ditto
8923         (ext_exist): ditto
8924         (remove_files_with_extension): ditto
8925         (remove_file): ditto
8926         (write): ditto
8927
8928         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8929         document is smaller than the work area height. Do not initialize
8930         static variables to 0.
8931
8932 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8935
8936         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8937         LFUN_LAYOUT_PARAGRAPHS.
8938
8939         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8940         tabular. It is possible to provide a possible cell, which will
8941         typically be the actcell from the corresponding insettabular
8942
8943         * lyxfunc.C (getStatus): small cleanup; disable
8944         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8945         true
8946
8947 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8950
8951         * paragraph.C (startTeXParParams):
8952         (endTeXParParams): new methods. The LaTeX code to
8953         start/end paragraph formatting
8954         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8955         empty (fixes bug #200)
8956
8957         * vspace.C (inPixels): adapt to the change below
8958         (inPixels): [later] more cleanups (remove unused variables)
8959
8960         * lyxlength.C (inPixels): change to use a width and a height as
8961         parameter.
8962
8963 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8964
8965         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8966         Replaced with \paperwidth
8967
8968         * DepTable.C (insert): add std:: qualifier
8969
8970 2002-01-18  Allan Rae  <rae@lyx.org>
8971
8972         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8973         updated also?
8974
8975         * text.C (drawInset): Turned out I didn't know enough about how
8976         rebreaking worked.  This fixes most of the redraw problems.  I see
8977         an occasional cursor trail when a line is broken now and the cursor
8978         placement can seem out by a few pixels also after a rebreak.
8979
8980 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * buffer.C (parseSingleLyXformat2Token): update because minipage
8983         width is now a LyXLength
8984
8985         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8986
8987         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8988         math insets
8989
8990 2002-01-17  Juergen Vigna  <jug@sad.it>
8991
8992         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8993
8994         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8995         is set correctly and the inset is updated correctly.
8996
8997 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8998
8999         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9000         the beginning of the loop.
9001
9002 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9003
9004         * lyxrc.C: improve help for use_scalable_fonts
9005
9006 2002-01-17  Allan Rae  <rae@lyx.org>
9007
9008         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9009
9010 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9011
9012         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9013         make sure to set their inset_owner to the right value (bug #171)
9014
9015 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9016
9017         * DepTable.h
9018         * DepTable.C: Implement mtime checking to reduce time spent doing
9019         CRCs.
9020
9021 2002-01-16  Juergen Vigna  <jug@sad.it>
9022
9023         * tabular.C (GetAdditionalHeight): one of error fixed.
9024
9025         * lyxrc.C (output): small fix in writing use_pspell.
9026
9027 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9028
9029         * sp_base.h: #include LString.h
9030
9031 2002-01-16  Allan Rae  <rae@lyx.org>
9032
9033         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9034         Can someone check this please?
9035
9036         * text.C (drawInset): It was possible that p.row would be removed by
9037         breakAgainOneRow upsetting a few other settings.  There may be another
9038         small tweak possible by setting need_break_row = 0 when p.row has been
9039         removed but I don't know enough about the logic here.
9040
9041 2002-01-15  Allan Rae  <rae@lyx.org>
9042
9043         * text.C (insertChar): removed conditional truism.
9044
9045         * BufferView2.C (removeAutoInsets): More tweaks.
9046         cur_par_prev could be a stray pointer.  Check for trailing empty line
9047         in case last line was cur_par and only had an error inset on it.
9048
9049 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9052         absolute
9053
9054         * vc-backend.C (most methods):
9055         * exporter.C (Export):
9056         * converter.C (convert):
9057         (runLaTeX):
9058         * LyXSendto.C (SendtoApplyCB):
9059         * lyxfunc.C (dispatch):
9060         (menuNew):
9061         (open):
9062         (doImport):
9063         * lyx_cb.C (AutoSave):
9064         (InsertAsciiFile):
9065         * BufferView_pimpl.C (MenuInsertLyXFile):
9066         * buffer.C (runChktex): use Buffer::filePath().
9067
9068         * buffer.h: rename filename to filename_; rename filepath to
9069         filepath_ and make it private
9070         (filePath): new method
9071
9072         * buffer.C (writeFile): use fileName()
9073         (getLatexName):
9074
9075         * lyx_main.C (init): fix starting  of LyX when the binary is a
9076         link from so,ewhere else.
9077
9078         * minibuffer.C: include <cctype> for isprint
9079
9080 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9081
9082         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9083         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9084         name clash with InsetCollapsable's width function.
9085
9086 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * lastfiles.C: include <iterator>
9089
9090 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9091
9092         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9093         std::count.
9094
9095         * buffer.C (makeLaTeXFile): ditto.
9096         Also make loop operation more transparent.
9097
9098 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9099
9100         * ToolbarDefaults.C: remove trailing comma closing namespace.
9101
9102         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9103
9104         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9105         as in WorkArea.
9106
9107         * trans.C (Load): comment out unused variable, allowed.
9108
9109 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9110
9111         * minibuffer.[Ch] (append_char): new method to recieve input from the
9112         drop-down completion browser. If a key was pressed, then recieve this
9113         char and append it to the existing string.
9114         (peek_event): modify the positioning data passed to the completion
9115         browser so that it can be placed above the minibuffer rather than below.
9116 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9117
9118         * LyXAction.C (init): alloe error-next for readonly documents.
9119
9120         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9121         count.
9122
9123 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9124
9125         * bufferlist.C (readFile): create the buffer _after_ checking that
9126         the file exists.
9127
9128         * lyxfunc.C (verboseDispatch): fix handling of arguments
9129
9130         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9131
9132         * lyxrc.C: use string::erase() instead of initializing to "".
9133
9134
9135 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9136
9137         * BufferView_pimpl.h:
9138         * BufferView_pimpl.C:
9139         * WorkArea.h:
9140         * WorkArea.C:
9141         * text2.C: tell X when we have made a selection for copying
9142
9143 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9144
9145         * BufferView_pimpl.C (MenuInsertLyXFile):
9146         * lyxfunc.C (menuNew):
9147         (open):
9148         (doImport): add shortcuts to directory buttons
9149
9150         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9151         open a float)
9152
9153         * lyxfunc.C (setStatusMessage):
9154         (getStatusMessage): new methods
9155         (getStatus):use setStatusMessage instead of setErrorMessage
9156         (dispatch): when function is disabled, set error message here
9157         [instead of in getStatus previously]
9158
9159         * BufferView_pimpl.C (workAreaButtonRelease): update
9160         toolbar/menubar here too.
9161
9162 2002-01-13  Allan Rae  <rae@lyx.org>
9163
9164         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9165         Now seems indestructible.  Remaining task is to audit all other
9166         code affected by deleteEmptyParagraphMechanism.  One small quirk
9167         left is that an empty document with an error in the preamble can
9168         be made to report an error but no error box appears.  I don't know
9169         where it goes.
9170         (removeAutoInsets): Improved comments.
9171
9172 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9173
9174         * Thesaurus.h:
9175         * Thesaurus.C: update for Aiksaurus 0.14
9176
9177 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9178
9179         * text2.C (firstParagraph): removed member function, all uses
9180         replaces with ownerParagraph
9181         (redoParagraphs): here
9182         (updateInset): here
9183         (toggleAppendix): here
9184         * BufferView2.C (insertErrors): here
9185         (setCursorFromRow): here
9186
9187 2002-01-13  Allan Rae  <rae@lyx.org>
9188
9189         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9190         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9191         There is still a way to segfault this although you may have to do this
9192         multiple times: Have an InsetERT with an unknown command in it.
9193         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9194         <down-arrow>, <Enter> again, View->DVI, BANG!
9195
9196         * text2.C (setCursor):
9197         (deleteEmptyParagraphMechanism):
9198         * lyxtext.h (setCursor):
9199         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9200         Making use of the return value may help fix other bugs.
9201
9202 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9203
9204         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9205
9206         * LyXView.C (updateMenubar): call MenuBar::update here
9207         (updateToolbar): but not here
9208         (showState): do not update toolbar/menubar
9209
9210         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9211         should need to care about that.
9212
9213         * lyxfunc.C (verboseDispatch): simplify a bit
9214         (getStatus): have a version which takes a pseudoaction, and
9215         another which requires a (kb_action,string).
9216
9217         * LyXAction.C (retrieveActionArg): make it work also when action
9218         is not a pseudo-action.
9219         (getActionName): simplify a bit
9220         (helpText):
9221
9222 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * lyxfunc.C (verboseDispatch): new families of methods with
9225         several ways to specify a command and a bool to indicate whether
9226         the command name and shortcut should be displayed in minibuffer
9227         (eventually, we could extend that to a finer bitmask like
9228         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9229         (dispatch): the pristine dispatch command which just, well,
9230         dispatchs! Note it still sets its result to minibuffer; I'm not
9231         sure we want that.
9232
9233         * lyxfunc.h: remove setHintMessage
9234
9235         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9236
9237 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9238
9239         * BufferView_pimpl.C (specialChar): delete new inset if we have
9240         not been able to insert it.
9241
9242         * kbmap.C: revert to using int instead of kb_action, since all we
9243         are dealing with is pseudo-actions.
9244
9245         * LyXAction.C (searchActionArg): change to return int instead of
9246         kb_action, since the result is a pseudoaction.
9247
9248 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9249
9250         * buffer.C (insertErtContents): Fix (partially) the font bug.
9251
9252 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9253
9254         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9255         as the other one is broken on my machine!
9256
9257 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9258
9259         * commandtags.h:
9260         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9261
9262 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9263
9264         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9265         reflect their actual use. Provide compatibility code for older lyxrc
9266         files.
9267
9268         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9269         FL_NORMAL_STYLE.
9270         change names of popup font variables in line with the changes to lyxrc.C
9271
9272 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9273
9274         * buffer.C (asciiParagraph): avoid outputing a word twice after
9275         an inset.
9276
9277         * lyxrc.C (getDescription): document that document_path and
9278         template_path can be empty.
9279
9280 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9281
9282         * LaTeXFeatures.C (getMacros):
9283         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9284
9285         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9286
9287         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9288         getPackages.
9289         (getPackages): rename feature "floats" to "float". Use an array to
9290         iterate over 'simple' features (i.e. just a \usepackage). Add
9291         handling of "amsmath" (renamed from "amsstyle").
9292
9293 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9294
9295         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9296         features list.
9297
9298 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9299
9300         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9301         FuncStaus::FuncStatus & FuncStaus::some_method().
9302
9303 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9304
9305         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9306         of the func_satus stuff. Edited and massaged in various ways by
9307         JMarc.
9308
9309         * lyxfunc.C (getStatus): use FuncStatus
9310
9311 2002-01-08  Juergen Vigna  <jug@sad.it>
9312
9313         * text.C (nextBreakPoint): use function Inset::isChar().
9314
9315         * paragraph.C (TeXOnePar): use function
9316         Inset::forceDefaultParagraphs.
9317
9318         * buffer.C (latexParagraphs): use function
9319         Inset::forceDefaultParagraphs.
9320
9321 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9322
9323         * lyx_gui.C (init): set the style of the menu popups to
9324         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9325
9326 2002-01-07  Juergen Vigna  <jug@sad.it>
9327
9328         * text.C (setHeightOfRow): small fix
9329         (prepareToPrint): don't look at alignment if we don't have the place
9330         for doing it.
9331
9332 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9333
9334         * box.C: New file. Move the Box methods and functions out of box.h,
9335         following Lars' suggestion.
9336
9337 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9338
9339         * box.h: #include "support/LOstream.h", needed for inlined function.
9340
9341         * lyxtextclass.C:
9342         * lyxtextclasslist.C: added some using std declarations.
9343
9344 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9345
9346         * box.h: make signed dimensions to allow insets wider than
9347           the screen (bug #162)
9348
9349         * BufferView_pimpl.C: add some insetHit debug
9350
9351 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * vc-backend.C: add FIXME
9354
9355 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * lyxfunc.C (getStatus): enable code for showing math font status
9358         in toolbar/menu.
9359
9360 2002-01-07  Juergen Vigna  <jug@sad.it>
9361
9362         * text.C (nextBreakPoint): removed debug output not needed anymore.
9363
9364 2002-01-06  Juergen Vigna  <jug@sad.it>
9365
9366         * text.C (nextBreakPoint): fixed up this function we had this bug
9367         since ever but now hopefully we break row better.
9368         (insertChar): we have to check if an inset is the next char as it
9369         could now happen that a large inset is causing a break.
9370
9371 2002-01-05  Juergen Vigna  <jug@sad.it>
9372
9373         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9374         if it doesn't like to be drawed.
9375
9376 2002-01-04  Juergen Vigna  <jug@sad.it>
9377
9378         * BufferView2.C (lockInset): forgot to set a cursor.
9379
9380         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9381
9382 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9383
9384         * FormMathsPanel.C:
9385         * FormMathsPanel.h
9386         * MathsSymbols.C:
9387         * form_maths_panel.C:
9388         * form_maths_panel.h:
9389         * form_maths_panel.fd: implemented sub- and super- buttons in math
9390         panel.
9391
9392         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9393         (or ^ space) to be used as in TeX (req'd by André).
9394
9395         * lyxfunc.C: Allow ^ and _ again to be used both as
9396         super/subscript (mathed) and as themselves (in text).
9397
9398 2002-01-03  Allan Rae  <rae@lyx.org>
9399
9400         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9401         "LyX" or the filename of the current buffer if it has one.  This is a
9402         modified form of John Levon's patch.
9403
9404         * XFormsView.C (setWindowTitle): also set icon title.
9405
9406         * LyXView.h (setWindowTitle): signature changed.
9407         * XFormsView.h (setWindowTitle): ditto.
9408
9409 2002-01-02  Juergen Vigna  <jug@sad.it>
9410
9411         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9412
9413 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * screen.C (topCursorVisible): introduce a temp var for
9416         text->cursor.row(), handle the case where this row is null. (kindo
9417         hachish)
9418
9419         * text2.C (setCursor): add a couple of asserts.
9420
9421         * paragraph.h (inset_iterator): add -> operator
9422
9423         * paragraph.[Ch] (autoDeleteInsets): remove member function
9424
9425         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9426         cursor pos correctly and handle inset deletion by itself.
9427         (insertErrors): move iterator declaration out of for expression
9428
9429         * lyxtextclass.C: add <algorithm>
9430
9431         * Makefile.am: added the new files to sources, removed layout.C
9432
9433         * layout.C: removed file
9434
9435         * layout.h: remove LYX_DUMMY_LAYOUT
9436
9437         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9438         layout.
9439
9440         * lyxlayout.[Ch]:
9441         * lyxtextclass.[Ch]:
9442         * lyxtextclasslist.[Ch]: new files
9443
9444         * include order changes to a lot of files, also changes because of
9445         the six new files.
9446
9447 2001-12-27  Juergen Vigna  <jug@sad.it>
9448
9449         * buffer.C (asciiParagraph): more fixes.
9450
9451         * tabular.C (ascii): make ascii export support export of only the
9452         data separated by a column-delimiter.
9453         (ascii): better support for ascii export.
9454
9455         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9456
9457 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9458
9459         * tabular_funcs.C: use a "using std::getline" instead of the
9460         previous fix from Angus (necessary for cxx + lyxstring)
9461
9462 2001-12-24  Juergen Vigna  <jug@sad.it>
9463
9464         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9465
9466         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9467         problems. First check a minipage also if we have some ert-contents
9468         (not only on par->size(), second set the right depth of the paragraph
9469         on the relink to the root-paragraph-list!
9470
9471         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9472         which then did not anymore update the main paragraphs on undo/redo!
9473
9474 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9477         code. Support all font-changing funcs (even those which are not in
9478         menu currently). Support for reporting font settings in
9479         mathed (disabled until Andre provides a function on mathed's side).
9480
9481         * func_status.h (toggle): small helper function to set toggle
9482         state on a flag.
9483
9484 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * tabular_funcs.C: getline -> std::getline
9487
9488 2001-12-21  Juergen Vigna  <jug@sad.it>
9489
9490         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9491         accessed and could be 0 (I couldn't generate this but it seems
9492         Michael could!).
9493
9494 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9495
9496         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9497         * tabular_funcs.h: here and include iosfwd
9498
9499 2001-12-20  Juergen Vigna  <jug@sad.it>
9500
9501         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9502         inside inset but undo_par was.
9503
9504 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * Thesaurus.C: always include <config.h> in sources.
9507
9508         * Painter.h:
9509         * lyxlookup.h:
9510         * box.h: do not include <config.h> in header files
9511
9512         * text.C (paintLastRow): remove unused variable
9513
9514         * text.C (transformChar):
9515         (insertChar):
9516         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9517
9518         * Painter.C (text):
9519         * font.C (width): rewrite to use uppercase() instead of
9520         islower/toupper.
9521
9522         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9523
9524 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * lyxfind.C: clean up of find failure position change
9527
9528 2001-12-20  Juergen Vigna  <jug@sad.it>
9529
9530         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9531
9532         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9533         (TeXRow): added to LaTeX a single tabular row.
9534         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9535         (Latex): simplified and finally good LT-h/f support.
9536         (various_functions): just small adaptions for LT-h/f support.
9537
9538         * tabular_funcs.[hC]: added and moved here all not classfunctions
9539         of LyXTabular.
9540
9541 2001-12-19  Juergen Vigna  <jug@sad.it>
9542
9543         * tabular.[Ch]: better support for longtabular options (not finished
9544         yet!)
9545
9546 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * text.C (paintLastRow): use the label font instead of the font of
9549         the last character to compute the size of *_BOX. This makes more
9550         sense and avoids a crash with empty paragraphs.
9551         Use Painter::rectangle to draw EMPTY_BOX.
9552
9553 2001-12-19  Juergen Vigna  <jug@sad.it>
9554
9555         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9556         the paragraphs if the replaced paragraph is not the first one!
9557         Tried to delete not used paragraphs but does not work yet so for
9558         now it's inside #ifdef's and by default off!
9559
9560 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * MenuBackend.C: include "lyx_main.h" instead of declaring
9563         lastfiles (actually was declared as LastFiles* instead of a
9564         scoped_ptr).
9565
9566 2001-12-17  Juergen Vigna  <jug@sad.it>
9567
9568         * tabular.C (AppendColumn): applied John's fix
9569
9570 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * BufferView.h:
9573         * BufferView.C:
9574         * BufferView_pimpl.h:
9575         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9576
9577         * Makefile.am:
9578         * box.h: new start of class for above
9579
9580         * lyxfunc.C: ignore space-only minibuffer dispatches.
9581           Show the command name when it doesn't exist
9582
9583         * minibuffer.C: don't add empty lines to the history
9584
9585         * minibuffer.C: add a space on dropdown completion
9586
9587 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * text.C: fix line above/below drawing in insets
9590
9591 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9592
9593         * lyxlength.C (LyXLength): Initialize private variables.
9594
9595 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9596
9597         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9598         when inserting error insets.
9599
9600 2001-12-13  Juergen Vigna  <jug@sad.it>
9601
9602         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9603         actually sometimes the before-paragraph.
9604         (setUndo): don't clear the redostack if we're not actually undoing!
9605
9606 2001-12-06  Juergen Vigna  <jug@sad.it>
9607
9608         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9609         and fixed redoing of main paragraph, so we can use it now ;)
9610
9611         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9612
9613 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9616         Juergen's request
9617
9618 2001-12-13  André Pönitz <poenitz@gmx.net>
9619
9620         * undostack.[Ch]:
9621         * undo_func.C: minor cleanup
9622
9623 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9624
9625         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9626         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9627         font in urw-fonts package which is marked as -urw-fontspecific and
9628         does not work (incidentally, changing the encoding in the
9629         fonts.dir of this package to -adobe-fontspecific fixes the
9630         problem).
9631
9632         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9633         is a crash when undoing first paragraph (Juergen, please take a
9634         look). THis does not mean the undo fix is wrong, just that it
9635         uncovers problems.
9636
9637         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9638         the (Paragraph*) version when needed instead of duplicating the
9639         code.
9640
9641         * text.C (workWidth): use Inset::parOwner to find out where the
9642         inset has been inserted. This is a huge performance gain for large
9643         documents with lots of insets. If Inset::parOwner is not set, fall
9644         back on the brute force method
9645
9646         * paragraph_pimpl.C (insertInset):
9647         * paragraph.C (Paragraph):
9648         (cutIntoMinibuffer): set parOwner of insets when
9649         inserting/removing them
9650
9651         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9652
9653 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9654
9655         * commandtags.h:
9656         * LyXAction.C:
9657         * lyx_main.C:
9658         * lyxfunc.C:
9659         * mathed/formulabase.C:
9660         * mathed/math_cursor.[Ch]:
9661         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9662
9663
9664 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9665
9666         * lyxlength.[Ch] (operator!=): new function
9667
9668 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * text.C (workWidth): use Inset::parOwner to find out where the
9671         inset has been inserted. This is a huge performance gain for large
9672         documents with lots of insets. If Inset::parOwner is not set, fall
9673         back on the brute force method
9674
9675         * paragraph_pimpl.C (insertInset):
9676         * paragraph.C (Paragraph):
9677         (cutIntoMinibuffer): set parOwner of insets when
9678         inserting/removing them
9679
9680         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9681
9682 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * tabular-old.C (getTokenValue):
9685         * tabular.C (getTokenValue):
9686         (write_attribute): new versions for LyXLength
9687         (everywhere): adjust the use of widths
9688
9689         * tabular.h: change the type of widths from string to LyXLength
9690
9691 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9692
9693         * paragraph.C: fixed missing line number count when exporting
9694         Environments to LaTeX file
9695
9696         * buffer.C: added informational message for checking line numbers.
9697
9698 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9701         paragraph, do the 'double space' part, but not the 'empty
9702         paragraph' one.
9703
9704         * text.C (workWidth): small optimization
9705         (getLengthMarkerHeight): use minimal size for negative lengths.
9706
9707 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9708
9709         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9710
9711         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9712
9713 2001-12-11  André Pönitz <poenitz@gmx.net>
9714
9715         * FontLoader.C:
9716         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9717
9718 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * text2.C: keep selection on a setFont()
9721
9722 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * lyx_cb.C: another bv->text misuse, from insert label
9725
9726 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * kbsequence.h:
9729         * kbsequence.C: re-instate nmodifier mask
9730
9731 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9732
9733         * lyx_main.h: make lyxGUI private.
9734
9735 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * lyxfind.C: place the cursor correctly on failed search
9738
9739 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9740
9741         * text.C (getLengthMarkerHeight): for small heights, the arrows
9742         are not always on top/bottom of the text
9743         (drawLengthMarker): smaller arrows; take the left margin in
9744         account; draw also vfills.
9745         (paintFirstRow):
9746         (paintLastRow): remove special code for vfill and standard spaces,
9747         since everything is handled in drawLengthMarker now.
9748
9749 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9750
9751         * buffer.C (insertErtContents): try to handle font and language
9752         interaction a bit better.g
9753
9754         * ColorHandler.C (updateColor): change the hash to cover the whole
9755         LColor enum, ws cleanup
9756         (getGCLinepars): ditto
9757         (getGCLinepars): only lookup in the linecache once.
9758
9759 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9760
9761         * iterators.C (operator++): Make the iterator more robust
9762
9763         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9764         (John's patch)
9765         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9766
9767 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * lyxtext.h:
9770         * text.C: better added space drawing
9771
9772 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * LyXView.C:
9775         * BufferView2.C: fix layout combo update on inset unlock
9776
9777 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9778
9779         * Makefile.am: don't compile unused files
9780
9781 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * lyxfunc.C:
9784         * commandtags.h:
9785         * LyXAction.C: remove old LFUN_LAYOUTNO
9786
9787 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * paragraph_pimpl.h:
9790         * paragraph_pimpl.C: isTextAt() doesn't need font param
9791
9792 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * lyxlex.h:
9795         * lyxlex.C: little cleanup
9796
9797 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9798
9799         * BufferView_pimpl.C: fix insertAscii for insets
9800
9801 2001-12-05  Juergen Vigna  <jug@sad.it>
9802
9803         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9804         set the right font on the "multi" paragraph paste!
9805
9806 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9807
9808         * trans_decl.h:
9809         * trans_mgr.[Ch]:
9810         * trans.[Ch]:
9811         * lyxgluelength.C:
9812         * lyxlength.C: remove out-commented code.
9813
9814         * BufferView_pimpl:
9815         * CutAndPaste.C:
9816         * DepTable.C:
9817         * buffer.C:
9818         * chset.C:
9819         * lastfiles.C:
9820         * lyxlex.C:
9821         * lyxlex_pimpl.C:
9822         * lyxserver.C:
9823         * screen.C:
9824         * tabular-old.C:
9825         * tabular.C:
9826         * text.C:
9827         * trans_mgr.C:
9828         * vc-backend.C: change "while(" to "while ("
9829
9830         * lyxlength.[Ch]: add zero function to check if length is zero or
9831         not
9832         * lyxgluelength.C: use it
9833
9834 2001-12-05  Allan Rae  <rae@lyx.org>
9835
9836         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9837         Works for 2.95.3, from what I understand of Garst's reports this should
9838         work for other g++ versions.  We're screwed if the abs(int) definition
9839         changed between bugfix releases of gcc.
9840
9841 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * text.C: fix chapter label offset !
9844
9845 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * lyxtext.h:
9848         * text.C: fix hfill at end of line, clean up
9849
9850 2001-12-04  Juergen Vigna  <jug@sad.it>
9851
9852         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9853         that we force an update of the inset and it's owners if neccessary.
9854
9855 2001-12-03  Juergen Vigna  <jug@sad.it>
9856
9857         * text.C (rowLast): simplified code
9858
9859 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * lyxfunc.C: fix show options on timeout
9862
9863 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * screen.C (topCursorVisible): scroll half a page when the cursor
9866         reached top of bottom of screen
9867
9868 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * minibuffer.C: deactivate on loss of focus
9871
9872 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9873
9874         * vspace.[Ch] (operator!=): add operator.
9875
9876 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * BufferView_pimpl.C: refuse to open an inset when
9879         there's a selection.
9880
9881 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * BufferView_pimpl.C: allow to click on RHS of full row insets
9884
9885 2001-11-30  Juergen Vigna  <jug@sad.it>
9886
9887         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9888         insets for undo reasons.
9889
9890 2001-11-28  André Pönitz <poenitz@gmx.net>
9891
9892         * vspace.[Ch]: cosmetical changes
9893
9894 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * LyXAction.h:
9897         * LyXAction.C:
9898         * lyxfunc.h:
9899         * lyxfunc.C:
9900         * kbmap.h:
9901         * kbmap.C:
9902         * lyxrc.C:
9903         * kbsequence.h:
9904         * kbsequence.C: part re-write of old kb code
9905
9906         * Painter.C:
9907         * WorkArea.C: remove Lgb_bug_find_hack
9908
9909 2001-11-30  José Matos <jamatos@fep.up.pt>
9910
9911         * buffer.C (makeDocBookFile): add a comment to point a hack.
9912         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9913         Fixed a double write of labels.
9914
9915 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9916
9917         * LaTeX.C:
9918         * LaTeX.h Fixed bug in LaTeX class where it would not
9919         re-run latex if no depfiles were changed, but the .dvi was removed.
9920
9921 2001-11-28  André Pönitz <poenitz@gmx.net>
9922
9923         * all the files from the change on 2001/11/26:
9924         use lyx::layout_type instead of LyXTextClass::size_type
9925         use lyx::textclass_type instead of LyXTextClassList::size_type
9926
9927 2001-11-29  Juergen Vigna  <jug@sad.it>
9928
9929         * text.C: added support for paragraph::isFreeSpacing()
9930
9931         * buffer.C: same as above
9932
9933         * paragraph.h: inserted isFreeSpacing() function to enable
9934         FreeSpacing inside InsetERT.
9935
9936         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9937         of the paragraph's in the cut/copy buffer to 0!
9938
9939         * text2.C (removeRow): remove the assert as it can!
9940
9941         * lyxtext.h: added helper function firstRow returning firstrow and
9942         made firstrow private again.
9943
9944         * BufferView2.C (lockInset): don't relock if we're already locked!
9945
9946         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9947         the only paragraph.
9948         (removeRow): added Assert::(firstrow)
9949
9950         * debug.C: forgot to add INSETTEXT here.
9951
9952 2001-11-28  Juergen Vigna  <jug@sad.it>
9953
9954         * sp_spell.C (initialize): changed error text to more general
9955         spellchecker command use (not only ispell!)
9956
9957         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9958
9959         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9960
9961 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * vspace.C: initialise lyxgluelength on failure
9964
9965 2001-11-28  Allan Rae  <rae@lyx.org>
9966
9967         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9968         declaration & definition that looks like a function declaration.
9969
9970 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9971
9972         * BufferView2.C (copy):
9973         (copyEnvironment): do not clear the selection when doing a copy.
9974
9975         * text.C (paintFirstRow): compilation fix
9976
9977 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9978
9979         * tabular.C (Latex): correct line count when writing latex.
9980
9981 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * paragraph_pimpl.h:
9984         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9985           bug a bit
9986
9987 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9988
9989         * text.C:
9990         * LColor.h:
9991         * LColor.C: change vfillline->added_space
9992
9993         * text.C: add markers and text for added space
9994
9995         * vspace.C: fix comment
9996
9997 2001-11-28  André Pönitz <poenitz@gmx.net>
9998
9999         * paragraph.C: whitespace changes
10000         * all the other files from the change on 2001/11/26:
10001         change *::pos_type into lyx::pos_type
10002
10003 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10006         language of the document when inserting error insets.
10007
10008 2001-11-26  André Pönitz <poenitz@gmx.net>
10009
10010         * BufferView_pimpl.[Ch]:
10011         *       CutAndPaste.C:
10012         * buffer.[Ch]:
10013         * lyxcursor.[Ch]:
10014         * lyxfind.C:
10015         * lyxfunc.C:
10016         * lyxrow.[Ch]:
10017         * paragraph.[Ch]:
10018         * paragraph_pimpl.[Ch]:
10019         * sp_spell.C:
10020         * text.C:
10021         * text2.C: reduce header dependencies, introduce type for positions
10022
10023 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10024
10025         * <various>: change to use Alert.h
10026
10027 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10028
10029         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10030         when encountering an unknown token.
10031         (readLyXformat2): Show an error message if there were unknown tokens.
10032
10033 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10034
10035         * BufferView2.C:
10036         * BufferView_pimpl.C:
10037         * buffer.C:
10038         * paragraph.h:
10039         * text.C:
10040         * text2.C: use par->isInset()
10041
10042 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10043
10044         * paragraph_pimpl.h:
10045         * paragraph_pimpl.C: cleanup
10046
10047 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * text2.C (removeRow):
10050         * text.C (setHeightOfRow): remove useless (and costly) call to
10051         getRow.
10052
10053 2001-11-20  Allan Rae  <rae@lyx.org>
10054
10055         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10056         Now need Inset*::checkInsertChar() to return true for appropriate
10057         cases so that the characters in the minibuffer will actually be
10058         inserted.
10059
10060 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10061
10062         * text.C: change the order of the includes.
10063         (workWidth): initialize it at once.
10064         (workWidth): make maxw unsigned
10065         (setHeightOfRow): remove unused variable (inset)
10066         (selectSelectedWord): remove unused variable (inset)
10067         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10068
10069 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10070
10071         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10072         server is not running.
10073         (openConnection):
10074         (closeConnection): add debug info when server is disabled.
10075
10076         * ColorHandler.C (getGCForeground): send debug message to GUI
10077         channel.
10078
10079         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10080
10081         * kbmap.C (bind): modify because return conventions of
10082         kb_sequence::parse have changed.
10083
10084         * kbsequence.C (parse): only ignore spaces and not any stupid
10085         control character. This avoids tests like s[i] <= ' ', which are
10086         guaranteed to fail with 8bit characters and signed chars.
10087         Change return code to string::npos when there have been no error
10088         (0 was a bad idea when error is at first character)
10089
10090 2001-11-14  José Matos  <jamatos@fep.up.pt>
10091
10092         * buffer.h:
10093         * buffer.C (simpleDocBookOnePar): removed unused argument.
10094
10095 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10096
10097         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10098         insets which are part of a word. Paragraph::isLetter takes care of
10099         that now. Use Paragraph::isInset to identify insets.
10100         (selectSelectedWord): do not test for hyphenation break.
10101
10102         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10103         that protected spaces are considered as spaces.
10104
10105         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10106         Inset::isLetter.
10107
10108 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * lyxserver.h:
10111         * lyxserver.C: fix it. and small cleanup.
10112
10113 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * BufferView_pimpl.C: use inline helpers
10116
10117         * LaTeXFeatures.h:
10118         * LaTeXFeatures.C: fix typos
10119
10120         * Spacing.h:
10121         * Spacing.C: move spacing_string into class
10122
10123         * ToolbarDefaults.C: move stuff into namespace anon
10124
10125         * layout.h: update enum
10126
10127         * lyxfunc.C: use better debug
10128
10129         * minibuffer.h: fix typo
10130
10131         * debug.h:
10132         * debug.C:
10133         * WorkArea.C: add and use Debug::WORKAREA
10134
10135         * lyxtext.h:
10136         * text.C:
10137         * text2.C: code re-organisation, inline helpers
10138
10139 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10140
10141         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10142         std::vector.empty().
10143
10144 2001-11-09  Allan Rae  <rae@lyx.org>
10145
10146         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10147         '\n's after tables.  Tabular and ERT inset work now makes this no
10148         longer necessary.
10149
10150 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * minibuffer.h:
10153         * minibuffer.C: fix crash, improve drop-down completion
10154
10155 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * lyxserver.h:
10158         * lyxserver.C: invalidate fd's when doing endPipe()
10159
10160 2001-11-08  José Matos  <jamatos@fep.up.pt>
10161
10162         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10163         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10164
10165         * paragraph.h:
10166         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10167
10168 2001-11-07  José Matos  <jamatos@fep.up.pt>
10169
10170         * buffer.h:
10171         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10172         const qualifier.
10173
10174         * buffer.C (sgmlOpenTag):
10175         * buffer.C (sgmlCloseTag): removed debug info.
10176
10177         * buffer.h (sgmlOpenTag):
10178         * buffer.h (sgmlCloseTag): made public.
10179
10180 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10181
10182         * buffer.C (saveParamsAsDefaults):
10183         * lyx_cb.C (MenuLayoutSave): remove
10184
10185         * LyXAction.C (init):
10186         * commandtags.h:
10187         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10188
10189 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10190
10191         * buffer.C (setPaperStuff): removed from here...
10192
10193         * bufferparams.C (setPaperStuff): ... and moved there.
10194
10195 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * minibuffer.h:
10198         * minibuffer.C:
10199         * XFormsView.C: add support for drop-down completion
10200
10201 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10202
10203         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10204         commands.
10205
10206 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10209         disabled.
10210
10211 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * lyx_main.C: change ref to known bugs
10214
10215 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10216
10217         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10218         to work around older babel problems.
10219
10220 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10221
10222         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10223
10224 2001-10-24  Juergen Vigna  <jug@sad.it>
10225
10226         * tabular-old.C (ReadOld): below variable changes reflected.
10227
10228         * tabular.[Ch]: added ltType struct for longtable header/footer
10229         defines and changed all instances where they are used. Added
10230         future support for double top/bottom rows.
10231
10232 2001-10-24  José Matos  <jamatos@fep.up.pt>
10233
10234         * buffer.h (docbookHandleCaption):
10235         * buffer.C (docbookHandleCaption): removed unused function.
10236         (makeDocBookFile): moved docbook supported version to v4.1.
10237
10238 2001-10-24  José Matos  <jamatos@fep.up.pt>
10239
10240         * tabular.h:
10241         * tabular.C (docbookRow): new function to export docbook code of a row.
10242         (DocBook): now honors the longtable flags.
10243
10244 2001-10-23  José Matos  <jamatos@fep.up.pt>
10245
10246         * LaTeXFeatures.h:
10247         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10248         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10249
10250         * buffer.C (makeLinuxDocFile):
10251         (makeDocBookFile): reworked the preamble, more clean, and with
10252         support for lyx defined entities. Changed the document declaration
10253         to be more XML friendly.
10254
10255         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10256         if we need to output XML that should be done with a filter.
10257
10258 2001-10-22  Juergen Vigna  <jug@sad.it>
10259
10260         * sp_pspell.h (class PSpell): add alive function needed in the
10261         controller to see if the spellchecker could be started.
10262
10263 2001-10-22  Juergen Vigna  <jug@sad.it>
10264
10265         * buffer.C (insertStringAsLines): modify the font for inserting
10266         chars in certain conditions by calling checkInsertChar(font).
10267
10268 2001-10-19  Juergen Vigna  <jug@sad.it>
10269
10270         * text.C (workWidth): use getRow instead of wrong algorithm.
10271         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10272
10273 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * lyxserver.h:
10276         * lyxserver.C:
10277         * lyx_main.h:
10278         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10279
10280 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10281
10282         * text.C (workWidth): do not search for the exact row when
10283         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10284         optimization for big documents.
10285
10286 2001-10-18  Juergen Vigna  <jug@sad.it>
10287
10288         * text.C (workWidth): new function with added Inset * parameter.
10289
10290 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10293
10294         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10295         change return type of getColumnNearX.
10296
10297
10298         * text.C (changeRegionCase): use uppercase/lowercase instead of
10299         toupper/tolower.
10300         (leftMargin):
10301         (rightMargin): simplify code by factoring out the uses of
10302         textclasslist.
10303         (labelFill):
10304         (numberOfHfills):
10305         (setHeightOfRow):
10306         (appendParagraph): use Paragraph::size_type
10307
10308 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10309
10310         * vspace.C (asLatexString): add a missing break
10311
10312 2001-10-15  Herbert Voss  <voss@perce.de>
10313
10314         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10315
10316 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10319         is not available.
10320
10321 2001-10-10  André Pönitz <poenitz@gmx.net>
10322
10323         * lyxfunc.C: removed greek_kb_flag.
10324
10325 2001-10-10  Herbert Voss  <voss@perce.de>
10326
10327         * lyx_main.C: delete global string help_lyxdir.
10328
10329 2001-10-09  Herbert Voss  <voss@perce.de>
10330
10331         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10332
10333         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10334
10335         * lyx_main.C: added global string help_lyxdir.
10336
10337         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10338
10339 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10340
10341         * lyxrc.C (set_font_norm_type): support iso8859-4
10342
10343 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10344
10345         * LaTeX.C (deplog): add another regex for MikTeX
10346
10347 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10348
10349         * lyxrc.C (set_font_norm_type): support iso8859-3
10350
10351 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10352
10353         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10354
10355         * LaTeXFeatures.C: remove special case of french and index
10356
10357         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10358         before \begin{document}). This solves several incompatibilities.
10359
10360 2001-10-03  Garst Reese  <reese@isn.net>
10361
10362         * lyx_cb.C: change CheckTex error msg.
10363
10364 2001-10-03  José Matos  <jamatos@fep.up.pt>
10365
10366         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10367
10368 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * .cvsignore: update
10371
10372         * lyx_main.C (commandLineVersionInfo): use new style version info.
10373
10374         * buffer.C (writeFile):
10375         (makeLaTeXFile):
10376         (makeLinuxDocFile):
10377         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10378
10379         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10380
10381         * version.h: update to use stuff in version.C
10382
10383         * version.C.in: new file. Contains version information determined
10384         at compile time. This is a merging of version.h and
10385         version_info.h.in.
10386
10387 2001-10-03  Juergen Vigna  <jug@sad.it>
10388
10389         * BufferView_pimpl.C (update): don't change "dirty" status in
10390         updateInset call.
10391
10392 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10393
10394         * WorkArea.C (c-tor): re-position version string slightly.
10395
10396 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10397
10398         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10399         revert to previous code.
10400
10401         WorkArea.[Ch]: (show, destroySplash): methods removed.
10402
10403         WorkArea.C: rework code so that it's an amalgam of the codes before and
10404         after the splash screen was moved to WorkArea.
10405
10406 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10407
10408         * lyxrc.C (read):
10409         * vspace.C (inPixels):
10410         (lyx_advance):
10411         * kbmap.C (bind):
10412         * buffer.C (insertStringAsLines):
10413         (asciiParagraph): fix types to be large enough
10414
10415         * lyxlex_pimpl.h: change member status from short to int
10416
10417         * layout.h: fix type of endlabeltype
10418
10419         * kbmap.C (bind):
10420         * kbsequence.C (parse): change return type to string::size_type
10421
10422         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10423         variable
10424
10425         * Bullet.C (bulletSize):
10426         (bulletEntry): do not use short ints as parameters
10427
10428         * BufferView2.C (insertLyXFile): change a char to an int.
10429
10430         * WorkArea.C (WorkArea): remove unneeded floats in computation
10431
10432 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10433
10434         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10435
10436         * paragraph.C (asString): Do not ignore newline/hfill chars when
10437         copying to the clipboard.
10438
10439 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10440
10441         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10442         after a multi-line inset.
10443
10444 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10445
10446         * paragraph.C (validate): Set NeedLyXFootnoteCode
10447
10448 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10449
10450         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10451         and decrease-error to decrease.
10452
10453 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10454
10455         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10456         it more readable (should be equivalent)
10457
10458 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10459
10460         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10461
10462 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10465         of a cursor (row, etc.) after a character has been deleted
10466         (deleteEmptyParagraphMechanism): call the method above on _all_
10467         cursors held by the LyXText when a double space has been
10468         detected/deleted.
10469
10470 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10471
10472         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10473         pixmap.
10474         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10475
10476         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10477         background. Use greyOut() and the new show() methods to toggle between
10478         the foreground and background. Add code to remove the splash after
10479         its initial showing.
10480
10481         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10482         (create_forms): no longer call Dialogs::showSplash.
10483
10484 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * .cvsignore: add version_info.h
10487
10488 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10489
10490         * version_info.h.in: new file
10491
10492         * Makefile.am: add version_info.h.in
10493
10494         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10495         version_info.h instead of VERSION_INFO
10496
10497 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10498
10499         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10500         The ERT inset now returns string().
10501
10502 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10503
10504         * lyxtext.h, text.C (selectNextWord): renamed as
10505         selectNextWordToSpellcheck.
10506
10507         * text.C (selectNextWordToSpellcheck): Modified to not select
10508         words inside an ERT inset.
10509
10510 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10511
10512         * lyx_cb.C (MenuLayoutSave): change a bit the question
10513
10514         * sp_base.h: include <sys/types.h>
10515
10516 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10517
10518         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10519
10520 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10521
10522         * several files: fix typos in user-visible strings
10523
10524 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10525
10526         * text2.C (pasteSelection): do not set the selection, since it
10527         will be cleared later. Actually, the intent was to fix the way the
10528         selection was set, but I figured rmoving the code was just as good.
10529
10530 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10531
10532         * FontLoader.C (available): Check if font is available without
10533         loading the font.
10534
10535 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10536
10537         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10538
10539 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10540
10541         * lyxrc.[Ch]: added display_graphics variable and associated code.
10542
10543 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10544
10545         * bufferparams.C (hasClassDefaults): new method. Returns true if
10546         the buffer parameters correspond to known class defaults
10547
10548 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10549
10550         * XFormsView.C (show): set minimum size to the main window.
10551
10552 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10553
10554         * text2.C (copySelection):
10555         (cutSelection):
10556         * lyxfind.C (LyXReplace):
10557         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10558         LyXText::selectionAsString.
10559
10560         * paragraph.C (asString): add "label" argument to the second form
10561
10562         * text2.C (selectionAsString): add "label" argument and pass it to
10563         Paragraph::asString.
10564
10565 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10566
10567         * lyx_main.C (commandLineHelp): remove version information
10568
10569 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10570
10571         * lyx_main.C: add -version commandline option
10572
10573 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * paragraph.h: make the optional constructor arg required instead.
10576         some modifications to other files because of this.
10577
10578         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10579
10580         * lyxserver.C (C_LyXComm_callback): make it static
10581
10582         * lyx_main.C (error_handler): make it static
10583
10584         * lyx_gui.C (LyX_XErrHandler): make it static
10585
10586         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10587
10588         * WorkArea.C: make the extern "C" methods static.
10589
10590         * Makefile.am (lyx_LDADD): simplify
10591
10592 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10595         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10596
10597         * LyXAction.C (init):
10598         * lyxfunc.C (dispatch): associated code removal.
10599
10600 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * lyxfont.h (isSymbolFont): shut off warning
10603
10604         * text.C (setHeightOfRow):
10605         (getVisibleRow): fix crash with empty paragraphs which have a
10606         bottom line
10607
10608 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10609
10610         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10611         code.
10612
10613 2001-09-04  José Matos  <jamatos@fep.up.pt>
10614         * buffer.C
10615         * buffer.h
10616         * tabular.C (docbook): rename docBook method to docbook.
10617
10618 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10619
10620         * Makefile.am: add dependencies to main.o.
10621
10622 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10623
10624         * FontLoader.C (available): Return false if !lyxrc.use_gui
10625
10626 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10627
10628         * FontInfo.C (query):
10629         * converter.C (view):
10630         * importer.C (Import):
10631         * exporter.C (Export): Can not -> cannot.
10632
10633 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * BufferView_pimpl.C: allow to create index inset even if
10636           string is empty
10637
10638 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10639
10640         * buffer.C (getLists): replace boost::tie code with an explicit pair
10641         as boost::tie can break some compilers.
10642
10643         * iterators.h: Added a std:: declaration to the return type of
10644         ParIterator::size.
10645
10646 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10649           case.
10650
10651 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * iterators.[Ch]: New files. Provide paragraph iterators.
10654
10655         * buffer.C (changeLanguage): Use paragraph iterators.
10656         (isMultiLingual): ditto
10657
10658         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10659
10660 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10661
10662         * FontLoader.C: Support for cmr font.
10663
10664 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10665
10666         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10667         (available): New method.
10668
10669         * FontInfo.C (getFontname): Use scalable fonts even when
10670         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10671         found.
10672
10673 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10674
10675         * converter.C (Formats::view): reverted! Incorrect fix.
10676
10677 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10678
10679         * converter.C (Formats::view): only output the -paper option
10680         if the dvi viewer is xdvi, thereby fixing bug #233429.
10681
10682 2001-08-23  Herbert Voss  <voss@perce>
10683
10684         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10685
10686 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * Spacing.h (Spacing): Set space to Default on in the default
10689         constructor.
10690
10691 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10692
10693         * vc-backend.h (RCS::versionString): add RCS to version
10694         (CVS::versionString): add CVS to version
10695
10696         * vc-backend.C (scanMaster): do not add CVS to version.
10697         (scanMaster): do not add RCS to version
10698
10699         * lyxvc.C (versionString): new method
10700
10701         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10702
10703 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10704
10705         * Spacing.C (set): initialize fval
10706
10707 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10708
10709         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10710         " or \.
10711
10712 2001-08-16  Juergen Vigna  <jug@sad.it>
10713
10714         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10715
10716 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * BufferView_pimpl.C:
10719         * figureForm.C:
10720         * lyxtext.h:
10721         * text2.C: setParagraph takes linespacing now
10722
10723 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * LyxAction.C: add internal LFUN_CITATION_INSERT
10726
10727         * LyXView.C: actually apply fix
10728
10729         * bufferlist.C: fix open non-existent file
10730
10731         * lyxfind.C: fix indentation
10732
10733         * lyxfunc.C: remove unneeded assert, fix typo
10734
10735 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * MenuBackend.C: use "Floatname List"
10738
10739 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10740
10741         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10742         when converting LaTeX layout to insetERT.
10743         Generate a non-collapsed float when reading old float
10744
10745 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10746
10747         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10748         ERT insets.
10749
10750 2001-08-13  Juergen Vigna  <jug@sad.it>
10751
10752         * text.C (fill): return 0 instead of 20 as this seems to be the more
10753         correct value.
10754
10755 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10756
10757         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10758         lyxrc.font_norm.
10759
10760 2001-08-13  Juergen Vigna  <jug@sad.it>
10761
10762         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10763         casesensitive off.
10764         (SearchBackward): comment out the unlocking of the inset_owner this
10765         should not be needed!
10766
10767 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * Many files: Remove inherit_language, and add latex_language
10770
10771         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10772         collapsible insets.
10773
10774 2001-08-10  Juergen Vigna  <jug@sad.it>
10775
10776         * text.C (prepareToPrint): fixed hfill-width in draw!
10777
10778         * BufferView2.C (selectLastWord): save the selection cursor as this
10779         now is cleared in the function LyXText::clearSelection!
10780
10781 2001-08-08  Juergen Vigna  <jug@sad.it>
10782
10783         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10784         BACKSPACE type functions.
10785
10786         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10787         is only cutted from the document but not put in the cut-buffer, where
10788         still the old stuff should be.
10789
10790         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10791
10792         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10793
10794         * tabular.C (SetWidthOfCell): fixed special case where the width
10795         was not updated!
10796         (LeftLine): handle '|' in align_special.
10797         (RightLine): ditto
10798         (LeftAlreadyDrawed): ditto
10799         (SetWidthOfCell): ditto
10800
10801 2001-08-07  Juergen Vigna  <jug@sad.it>
10802
10803         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10804
10805 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10808         * lyxlex.[hC]: ditto
10809
10810 2001-08-06  Juergen Vigna  <jug@sad.it>
10811
10812         * text.C (getVisibleRow): fix up row clearing a bit.
10813
10814 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10815
10816         * minibuffer.C: make sure the X server sees the changes in the input.
10817
10818 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * paragraph.C (getFont): split into...
10821         (getLabelFont): this
10822         (getLayoutFont): and this
10823         * paragraph_pimpl.C (realizeFont): calling this
10824
10825         * text2.C (getFont): split into...
10826         (getLayoutFont): this
10827         (getLabelFont): and this
10828         (realizeFont): all three calling this
10829
10830         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10831         files where used.
10832
10833 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10834
10835         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10836
10837 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10838
10839         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10840         layouts from the Quote inset insertion.
10841
10842 2001-08-03  Juergen Vigna  <jug@sad.it>
10843
10844         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10845
10846         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10847         only if status not is already CHANGED_IN_DRAW (second level).
10848
10849         * text.C (draw): don't set the need_break_row when inside an
10850         InsetText LyXText.
10851
10852 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * buffer.C (parseSingleLyXformat2Token): handle more latex
10855         conversion cases.
10856
10857         * bufferview_funcs.[hC]: change function names to
10858         begin with small char, adjust other files.
10859
10860 2001-08-02  André Pönitz <poenitz@gmx.net>
10861
10862         * lyxfunc.C:
10863         BufferView_pimpl.C: remove broken special code for math-greek
10864
10865 2001-08-02  Juergen Vigna  <jug@sad.it>
10866
10867         * BufferView_pimpl.C (update): redone this function so that we
10868         update the text again if there was a CHANGE_IN_DRAW.
10869
10870         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10871         (drawFromTo): added a new internal bool which is used by draw() and
10872         redraw() function.
10873         (general): some cursor drawing problems fixed.
10874
10875 2001-08-01  Juergen Vigna  <jug@sad.it>
10876
10877         * lyxfind.C (LyXFind): fixed
10878         (SearchForward): ditto
10879         (SearchBackward): ditto
10880
10881         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10882         spurius drawing of the cursor in the main area.
10883
10884         * text2.C (status): small fix which could lead to a segfault!
10885         (clearSelection): remove unneeded BufferView param.
10886
10887 2001-08-01  André Pönitz <poenitz@gmx.net>
10888
10889         * lyxfunc.C: small change due to changed mathed interface
10890
10891 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10892
10893         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10894
10895 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * lyxfunc.c: fail gracefully if file doesn't exist
10898
10899         * LyXSendto.C:
10900         * buffer.C:
10901         * lyxfunc.C:
10902         * BufferView_pimpl.C: IsDirWriteable() proto changed
10903
10904         * LyXView.C: fix updateWindowTitle() to store the last title
10905
10906 2001-07-31  Juergen Vigna  <jug@sad.it>
10907
10908         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10909         the font (wrong since using of Paragraph::highestFontInRange).
10910
10911         * paragraph.C (highestFontInRange): added a default_size parameter.
10912
10913         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10914         (setHeightOfRow): reformat
10915
10916 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * converter.[hC] + affected files: move to (inital-char)lowercase
10919         function names.
10920
10921         * ParagraphParameters.C (ParagraphParameters): remove commented code
10922
10923         * PainterBase.[Ch]: remove commented code
10924
10925         * LaTeXFeatures.h: add "bool floats" for float.sty
10926
10927         * LaTeXFeatures.C (LaTeXFeatures): init floats
10928         (require): handle float
10929         (getPackages): do it with floats
10930
10931 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10932
10933         * BufferView_pimpl.C (Dispatch): improve handling of
10934         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10935
10936         * commandtags.h: #include lyxfont.h here temporarily to avoid
10937         keybinding bug.
10938
10939         * bufferlist.h: include LString.h here.
10940
10941 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10942
10943         * text2.C (getStringToIndex): new method.
10944
10945 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10946
10947         * *: Reduced header file dependencies all over.
10948
10949 2001-07-30  Baruch Even  <baruch@lyx.org>
10950
10951         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10952
10953 2001-07-29  Baruch Even  <baruch@lyx.org>
10954
10955         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10956
10957 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10958
10959         * ParameterStruct.h (endif): add a default constructor to make
10960         sure that all variables is initialized.
10961
10962         * ParagraphParameters.C (ParagraphParameters): adjust
10963
10964 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10965
10966         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10967         index; also, check that there is something to index, and that it
10968         does not span over several paragraphs.
10969         (doubleClick): use WHOLE_WORD_STRICT for double click.
10970
10971         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10972
10973         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10974         scheme.
10975
10976 2001-07-26  Baruch Even  <baruch@lyx.org>
10977
10978         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10979         an InsetFig figure, backwards compatible reading of old figure code.
10980
10981 2001-07-27  Juergen Vigna  <jug@sad.it>
10982
10983         * text2.C: font.realize function adaption.
10984
10985         * text.C (draw): add a warnings lyxerr text if needed.
10986
10987         * layout.C: font.realize function adaption.
10988
10989         * language.C: add inherit_language and implement it's handlings
10990
10991         * bufferview_funcs.C (StyleReset): remove language parameter from
10992         font creation (should be language_inherit now).
10993
10994         * bufferparams.C (writeFile): handle ignore_language.
10995
10996         * paragraph.C (getFontSettings): the language has to be resolved
10997         otherwise we have problems in LyXFont!
10998
10999         * lyxfont.C (lyxWriteChanges): added document_language parameter
11000         (update): removed unneeded language parameter
11001
11002         * paragraph.C (validate): fixed wrong output of color-package when
11003         using interface colors for certain fonts in certain environments,
11004         which should not seen as that on the final output.
11005
11006 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * BufferView_pimpl.C:
11009         * Thesaurus.h:
11010         * Thesaurus.C:
11011         * Makefile.am:
11012         * commandtags.h:
11013         * LyXAction.C: add thesaurus support
11014
11015         * lyxfind.h:
11016         * lyxfind.C: add "once" parameter, for thesaurus, to not
11017           move to the next match
11018
11019 2001-07-26  Juergen Vigna  <jug@sad.it>
11020
11021         * lyxfont.C (realize): honor ignore_language too!
11022         (resolved): ditto.
11023
11024         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11025
11026         * text.C (draw): one place more for ignore_language to not draw
11027         itself!
11028
11029 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11030
11031         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11032
11033 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11036         the minipage conversion problem.
11037
11038 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11039
11040         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11041         insert an inset.
11042
11043 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11044
11045         * BufferView.h: don't forward declare WorkArea
11046
11047         * BufferView.C: don't include WorkArea.h
11048
11049 2001-07-25  André Pönitz <poenitz@gmx.net>
11050
11051         * commandtags.h:
11052         * LyXAction.C:
11053         * lyxfunc.C:  new LFUN 'math-space'
11054
11055         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11056
11057 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11058
11059         * text2.C (toggleInset): call open/close
11060
11061 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * lyxfunc.C (dispatch): add debug for the disabled case
11064
11065         * font.C (buttonText): make similar to rectText
11066
11067         * buffer.C (readInset): comment out parsing of insetlist and
11068         insttheorem
11069
11070         * PainterBase.C (rectText): small correction
11071
11072         * BufferView_pimpl.C: comment out insettheorem and insetlist
11073         * LyXAction.C: ditto
11074         * commandtags.h: ditto
11075
11076 2001-07-24  Juergen Vigna  <jug@sad.it>
11077
11078         * text.C (draw): honor the ignore_language.
11079
11080         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11081
11082 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11083
11084         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11085         char inset.
11086
11087 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11088
11089         * lyxtext.h: remove unused (and unimplemented) methods
11090
11091 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11092
11093         * text.C (getVisibleRow): honor background color
11094
11095         * PainterBase.h:
11096         * Painter.h: remove default color argument for fillRectangle
11097
11098         * text.C (backgroundColor): new method
11099
11100 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * text.C (getVisibleRow): adjust
11103
11104         * font.[Ch] (rectText): new method, metrics
11105         (buttonText): new method, metrics
11106
11107         * PainterBase.[hC]: make rectText and buttonText always draw and take
11108         fewer paramteres.
11109
11110 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11111
11112         * ToolbarDefaults.C (read):
11113         * MenuBackend.C (read): allow escaping in all strings
11114
11115         * BufferView_pimpl.C (insertAndEditInset): new method.
11116         (Dispatch): use insertAndEditInset whenever appropriate.
11117
11118         * BufferView_pimpl.C (insertNote): removed
11119
11120         * BufferView_pimpl.C (smartQuote): new method, moved from
11121         BufferView; if an insetquote cannot be inserted, insert a '"'
11122         character instead.
11123
11124         * BufferView2.C: remove insertCorrectQuote();
11125
11126         * lyxfunc.C (getStatus): Add support for all remaingin
11127         inset-insert lfuns.
11128
11129         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11130
11131         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11132         command (necessary to pass " as parameter of self-insert.
11133
11134         * text.C (selectWordWhenUnderCursor):
11135         (selectWord): add word_location parameter
11136         (selectWordWhenUnderCursor): same + remove special code for word
11137         boundary.
11138         (selectNextWord): use kind() to guess type of insetspecialchar,
11139         not latex().
11140
11141         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11142         (insertErtContents): create ert insets as collapsed.
11143         (readInset): better compatibility code for Info inset.
11144
11145 2001-07-20  Juergen Vigna  <jug@sad.it>
11146
11147         * lyxfunc.C (dispatch): use always LyXFind now!
11148
11149         * text2.C (init): add a reinit flag so that the LyXText can be
11150         reinited instead of deleted and reallocated (used in InsetText).
11151
11152         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11153
11154         * text.C: ditto
11155
11156         * text2.C: ditto
11157
11158 2001-07-18  Juergen Vigna  <jug@sad.it>
11159
11160         * text.C (selectNextWord): handle insets inside inset by calling
11161         always the bv->text functions so that we can go up the_locking_inset!
11162
11163         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11164         in strange locations when inside an inset!
11165
11166         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11167         handling to include insets.
11168
11169         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11170
11171 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11172
11173         * LyXAction.C (init):
11174         * commandtags.h:
11175         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11176         LIGATURE_BREAK, since the name is so stupid.
11177
11178 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11179
11180         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11181         InsetInfos.
11182
11183         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11184
11185         * sp_form.[Ch]: remove.
11186
11187         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11188
11189         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11190         InsetInfo.
11191
11192         * src/buffer.C (readInset): ditto.
11193
11194 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11195
11196         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11197         menuSeparator(), endOfSentenceDot(), ldots() and
11198         hyphenationPoint(), which are therefore removed.
11199         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11200
11201         * LyXAction.C (init):
11202         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11203
11204         * paragraph.C (getWord): removed.
11205
11206         * BufferView_pimpl.C (Dispatch): use last word or selection for
11207         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11208
11209         * lyx_main.C (queryUserLyXDir): do not ask before creating
11210         user_dir, except if it has been named explicitely.
11211
11212 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11213
11214         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11215         a document of zero size.
11216
11217 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11218
11219         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11220         approriately in the c-tor and in require().
11221         (getPackages): output the appropriate LaTeX for natbib support.
11222
11223         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11224         variables "use_natbib" and "use_numerical_citations" when reading the
11225         LyX file.
11226         (readInset): read the various natbib cite commands.
11227         (validate): white-space change.
11228
11229         * bufferparams.[Ch]: new variables "bool use_natbib" and
11230         "bool use_numerical_citations".
11231         (writeFile): output them in the LyX file.
11232
11233 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11234
11235         * lyxfunc.C (getStatus): add support for all the inset insertion
11236         commands.
11237
11238         * text2.C (insertInset):
11239         * paragraph.C (insetAllowed):
11240         * BufferView_pimpl.C (insertInset): update to take in account the
11241         renaming of insertInsetAllowed
11242
11243         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11244
11245         * text2.C (getInset): new method. returns inset at cursor position.
11246
11247         * BufferView_pimpl.C (Dispatch): changes because of this.
11248
11249         * LyXAction.C (init): rename open-stuff to inset-toggle.
11250
11251         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11252
11253         * text2.C (toggleInset): renamed from openStuff; use
11254         Inset::open().
11255
11256 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11257
11258         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11259
11260         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11261
11262 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * buffer.C (readLyXformat2): Add filename to the error dialog
11265
11266 2001-07-18  Juergen Vigna  <jug@sad.it>
11267
11268         * tabular.C (GetCellNumber): put an assert here instead of the check!
11269
11270 2001-07-17  Juergen Vigna  <jug@sad.it>
11271
11272         * BufferView_pimpl.C (toggleSelection): adapted too.
11273
11274         * text.C (selectNextWord): adapted for use with insets.
11275         (selectSelectedWord): ditto
11276
11277 2001-07-17  Juergen Vigna  <jug@sad.it>
11278
11279         * sp_spell.C (PSpell): fix initialitation order.
11280
11281 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11282
11283         * paragraph.C: spacing
11284
11285 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11286
11287         * sp_spell.C: repair language selection for pspell
11288
11289 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * lyxfunc.h: change more methods to begin with lower char.
11292
11293 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11294
11295         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11296         for unknown layouts.
11297
11298 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11299
11300         * buffer.C (readLyXformat2): Generate an error dialog if there are
11301         unknown layouts.
11302
11303 2001-07-16  Juergen Vigna  <jug@sad.it>
11304
11305         * sp_spell.C: always compile ISpell part.
11306
11307         * lyxrc.C: added use_pspell entry and it's handling.
11308
11309 2001-07-13  Juergen Vigna  <jug@sad.it>
11310
11311         * sp_spell.C: removed double includes.
11312
11313 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11314
11315         Consistent use of Lsstream.h:
11316         * Lsstream.h: added using std::stringstream for consistencies sake.
11317
11318         * buffer.C: removed using std::stringstream
11319
11320         * lyxfont.C (stateText):
11321         * paragraph.C (asString):
11322         * text.C (selectNextWord, selectSelectedWord):
11323         * text2.C (setCounter):
11324         * vspace.C (asString, asLatexString):
11325         std::ostringstream -> ostringstream.
11326
11327 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11328
11329         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11330         * commandtags.h: add LFUN_HELP_ABOUTLYX
11331         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11332
11333 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11334
11335         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11336         cursorToggle()
11337         * lyx_gui_misc.C: remove spellchecker
11338         * lyxfunc.C: showSpellchecker
11339         * sp_base.h: added
11340         * sp_ispell.h: added
11341         * sp_pspell.h: added
11342         * sp_spell.C: added
11343         * sp_form.[Ch]: removed
11344         * spellchecker.[Ch]: removed
11345
11346 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11347
11348         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11349         is set.
11350         (simpleTeXSpecialChars): Simply print the input character without
11351         any special translation if pass_thru is set.
11352
11353         * layout.h: Added bool pass_thru to layout class for being able to
11354         implement pass through of a paragraph for Literate Programming.
11355
11356         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11357         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11358         * layout.C (Read): add "passthru" to list of layout tags and add
11359         code to set the pass_thru boolean when it is read.
11360
11361 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * trans_decl.h: remove allowed from KmodInfo
11364
11365         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11366         remove allowed code
11367         (Load): adjust
11368
11369         * paragraph_pimpl.C (erase): use boost::prior
11370
11371         * Painter.C (text): use data() instead of c_str() when length is
11372         also provided.
11373         * WorkArea.C (putClipboard): ditto
11374         * font.h (width): ditto
11375
11376         * BufferView2.C: use it-> instead of (*it). for iterators
11377         * texrow.C: ditto
11378         * paragraph_pimpl.C: ditto
11379         * paragraph.C: ditto
11380         * minibuffer.C: ditto
11381         * language.C: ditto
11382         * kbmap.C: ditto
11383         * encoding.C: ditto
11384         * counters.C: ditto
11385         * converter.C: ditto
11386         * chset.C: ditto
11387         * Variables.C: ditto
11388         * TextCache.C: ditto
11389         * MenuBackend.C: ditto
11390         * LyXAction.C: ditto
11391         * LColor.C: ditto
11392         * FloatList.C: ditto
11393         * DepTable.C: ditto
11394         * ColorHandler.C (LyXColorHandler): ditto
11395
11396 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11399
11400         * text2.C (openStuff): reintroduce this method (which had been
11401         nuked in NEW_INSETS frenzy).
11402
11403         * lyxfunc.C (Dispatch): when an action has not been handled, use
11404         its name in the error message, not its number.
11405
11406         * paragraph.C (inInset): change method name to begin with lowercase.
11407
11408         * undo_funcs.C:
11409         * text2.C: updates because of this.
11410
11411 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11412
11413         * ToolbarDefaults.C (add): add spaces in error message
11414
11415 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11418         (readLyXformat2): rename return_par to first_par, use lyxlex's
11419         pushToken and remove the manual push handling.
11420         (parseSingleLyXformat2Token): add another ert comp. variable:
11421         in_tabular, rename return_par to first_par. handle newlines better
11422
11423 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11424
11425         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11426
11427 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11428
11429         * text2.C (getParFromID): removed
11430
11431         * buffer.C (getParFromID): new method moved form lyxtext.
11432         * BufferView2.C (insertErrors): adjust
11433         (setCursorFromRow): adjust
11434         * BufferView_pimpl.C (restorePosition): adjust
11435         * lyxfunc.C (Dispatch): adjust
11436         * undo_funcs.C (textUndo): adjust
11437         (textRedo): adjust
11438         (textHandleUndo): adjust
11439         (textHandleUndo): adjust
11440
11441 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * buffer.C: up' the LYX_FORMAT
11444
11445         * lyxfont.h: turn NO_LATEX on as default
11446
11447         * buffer.C (insertErtContents): new methods of tex style compability.
11448         (parseSingleLyXformat2Token): use it several places.
11449         * tabular.C (OldFormatRead): and here
11450
11451 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * text2.C: remove some commented code.
11454         reindent file.
11455
11456         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11457         * trans.C: changes because of the above.
11458
11459 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * text2.C (setCounter): Fix counters bug with bibliography layout.
11462
11463 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11466         own member functions
11467         (simpleTeXSpecialChars): ditto
11468
11469 2001-07-06  Juergen Vigna  <jug@sad.it>
11470
11471         * a lot of files: changed the access to LyXText::status and the
11472         call of undo-functions.
11473
11474         * undo.[Ch]: added a inset_id to the undo informations.
11475
11476         * undo_funcs.[Ch]: added and moved here all undo functions.
11477
11478         * lyxtext.h: give the status enum a weight, made status_ a private
11479         variable and made accessor functions for it, removed the whole bunch
11480         of undo-functions as they are now in their own file, make some
11481         functions publically available. Added function ownerParagraph with
11482         int parameter.
11483
11484         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11485         made InInset() a const function, added getParFromID() function.
11486
11487         * buffer.[Ch]: added const version for inset_iterator functions,
11488         added getInsetFromID() function.
11489
11490         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11491         changed undo functions for new version.
11492
11493 2001-07-05  Juergen Vigna  <jug@sad.it>
11494
11495         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11496         unknow mechanism does not call the proper constructor but only this
11497         one also if I request the other!?
11498
11499 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11500
11501         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11502
11503         * text2.C (LyXText): use initialization lists.
11504
11505         * lyxtext.h (Selection): initialize set_ and mark_
11506         (init): remove method
11507
11508 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11511
11512 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11513
11514         * screen.[Ch]: change method names to begin with lowercase
11515
11516         * BufferView_pimpl.C (updateScrollbar): simplify further and
11517         hopefully make it a bit faster.
11518
11519 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11522         calling directly xforms functions.
11523
11524         * Painter.C (Painter):
11525         * lyx_cb.C (MenuWrite):
11526         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11527         fl_display.
11528
11529         * lyx_gui.C: remove bogus guiruntime extern declaration.
11530
11531 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11532
11533         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11534         in NEW_INSETS
11535         (redoDrawingOfParagraph): ditto
11536         (redoParagraphs): ditto
11537         (cutSelection): don't create a object for CutAndPaste use the
11538         static method directly
11539         (pasteSelection): ditto
11540
11541         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11542         LyXview (+ rename)
11543
11544 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * modifications to some other files because of this.
11547
11548         * Makefile.am (lyx_SOURCES): add XFormsView
11549
11550         * XFormsView.[Ch]: new files
11551
11552         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11553         the main window. Move the gui dependent stuff to XFormsView
11554
11555 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11556
11557         * tabular.C (GetCellInset): update cur_cell also in the row/col
11558         version of this function.
11559
11560         * lyxfunc.C: no need to include figure_form.h here.
11561
11562         * FontLoader.h:
11563         * lyxfunc.h:
11564         * lyxscreen.h:
11565         * text2.C:
11566         * lyxvc.C: no need to include forms.h here.
11567
11568 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11569
11570         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11571
11572         * lyxfunc.C (Dispatch):
11573         * Spacing.C (set):
11574         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11575         constructor argument.
11576
11577 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * paragraph.C (Paragraph): dont't clear, and just set layout.
11580         (makeSameLayout): use params's copy contructor.
11581
11582         * ParagraphParameters.[Ch] (makeSame): delete method
11583
11584 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * Variables.[Ch]: fix indentation, rename set to isSet
11587
11588 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * lyxfunc.C (Dispatch): fix typo
11591
11592 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11593
11594         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11595         upper_bound.
11596
11597         * bufferlist.C: include assert.h for emergencyWrite().
11598
11599 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11602           give up at last (bug #425202) !
11603
11604 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11605
11606         * lyx_gui_misc.C:
11607         * sp_form.h:
11608         * sp_form.C:
11609         * spellchecker.h:
11610         * spellchecker.C: strip spellchecker options and bring up
11611           preferences tab instead
11612
11613 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11614
11615         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11616         the istringstream constructor
11617
11618 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11619
11620         * paragraph.C (getLayout): fix return value
11621
11622         * paragraph.h: do not declare getLayout as inline.
11623
11624         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11625
11626 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * lyxcursor.h (operator<): new func
11629         (operator>): new func
11630         (operator>=): new func
11631         (operator<=): new func
11632
11633         * text.C (changeCase): use selection.start and selection.end
11634         (changeRegionCase): require from to be <= to. Require par to be a
11635         valid paragraph.
11636
11637         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11638
11639 2001-06-27  Juergen Vigna  <jug@sad.it>
11640
11641         * text.C (cursorLeftOneWord): changed to return the cursor and added
11642         overlay with BufferView * parameter which calls this one.
11643         (getWord): added
11644         (selectWord): use new getWord function.
11645         (changeCase): renamed from changeWordCase as and extended to work
11646         also on selections.
11647
11648         * lyxtext.h: added enum word_location
11649
11650         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11651         changeCase as this operates now also on selections.
11652
11653 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11654
11655         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11656
11657         * many files: send debug output to Debug::INFO instead of
11658         Debug::ANY.
11659
11660         * converter.C (View):
11661         (Convert):
11662         (Move): send debug output to Debug::FILES instead of console.
11663
11664 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11665
11666         * lyxfunc.C (getStatus): use func_status
11667
11668         * func_status.h: new header, describing the results of
11669         LyXFunc::getStatus;
11670
11671         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11672         LFUN_MATH_HALIGN.
11673
11674 2001-06-25  The LyX Project  <jug@sad.it>
11675
11676         * buffer.C (sgmlOpenTag):
11677         (sgmlCloseTag):
11678         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11679
11680 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * text2.C: remove some dead code
11683
11684         * tabular.C (GetCellInset): store the last cell checked (gotten)
11685
11686         * tabular.h: add the helper for the speedup
11687
11688         * lyxtext.h: remove some dead code
11689
11690 2001-06-26  The LyX Project  <Asger>
11691
11692         * paragraph.C: Change export to LaTeX of alignment to
11693         \begin{center} and family for better roundtrip work with reLyX.
11694
11695         * Tune the math drawing a bit.
11696
11697 2001-06-25  The LyX Project  <Asger>
11698
11699         * LColor.C (LColor): New color for math background. New color
11700         for buttons.
11701
11702 2001-06-25  The LyX Project  <jug@sad.it>
11703
11704         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11705
11706         * lyxfunc.C (Open):
11707         * bufferlist.C (newFile): do not restrict to files ending with
11708         .lyx
11709
11710         * BufferView_pimpl.C (MenuInsertLyXFile):
11711
11712 2001-06-24  The LyX Project  <jug@sad.it>
11713
11714         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11715         of compare_no_case
11716
11717 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * lyxtext.h: rename most methods to begin with a small char.
11720         Lots of changes because of this.
11721
11722         * paragraph.C (Paragraph): do not call fitToSize
11723         (erase): call Pimpl::erase
11724         (insertChar): call Pimpl::insertChar
11725         (insertInset): call Pipl::insertInset
11726         (breakParagraph): do not call fitToSize
11727         (breakParagraphConservative): do not call fitToSize
11728         (fitToSize): remove method
11729
11730         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11731
11732 2001-06-24  The LyX Project  <Asger>
11733
11734         * Fix Qt compilation^2
11735
11736 2001-06-24  The LyX Project  <jug@sad.it>
11737
11738         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11739         depthHook(getDepth()-1).
11740
11741         * paragraph.h:
11742         * ParagraphParameters.h:
11743         * ParameterStruct.h: change type of depth to unsigned int ==
11744         depth_type. Many adaptations to other files before of that.
11745
11746 2001-06-24  The LyX Project  <Asger>
11747
11748         * Fix Qt compilation.
11749
11750 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11751
11752         * paragraph.h: renamed several methods to begin with small letter.
11753         several changes to many parts of the code because of this.
11754
11755 2001-06-23  The LyX Project  <jug@sad.it>
11756
11757         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11758         rewritten to discard all double spaces when KeepEmpty is off
11759         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11760         to only handle newlines but not fiddle with spaces and friends.
11761
11762         * lyxfunc.C (MenuNew): when doing 'new from template', use
11763         template_path as default directory
11764
11765 2001-06-23  The LyX Project  <Asger>
11766
11767         * Clean-up of header file includes all over
11768         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11769
11770 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * paragraph.h: renamed from lyxparagraph.h
11773
11774 2001-06-23  Asger  <lyx@violet.home.sad.it>
11775
11776         * Buffer.h: Removed Buffer::resize
11777         * BufferList.h: Removed BufferList::resize
11778         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11779         the document lazily when we change the width, or the font settings.
11780
11781 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11784
11785 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * buffer.h: remove out of date comment
11788
11789 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * lyxscreen.h:
11792         * screen.C: fix "theoretical" GC leak
11793
11794 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * LaTeX.C (scanAuxFile):
11797         (deplog): remove trailing \r when reading stream (useful under
11798         win32)
11799
11800 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11801
11802         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11803         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11804         and BufferView::theLockingInset(Inset*), so should use them and not
11805         access bv_->text->the_locking_inset directly.
11806
11807         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11808
11809 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * Makefile.am:
11812         * tex-defs.h: remove old unused file
11813
11814 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11815
11816         * BufferView_pimpl.C: fix typo, remove minibuffer message
11817           when buffer has loaded
11818
11819 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * lyxfunc.C (Dispatch): use stringstream
11822         (MenuNew): use stringstream
11823         (Open): use stringstream
11824
11825         * importer.C (Import): use stringstream
11826
11827         * bufferview_funcs.C (CurrentState): use stringstream
11828
11829         * LaTeX.C (run): use stringstream
11830
11831         * BufferView_pimpl.C (savePosition): use stringstream
11832         (restorePosition): use stringstream
11833         (MenuInsertLyXFile): use stringstream
11834
11835 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11836
11837         * BufferView.C:
11838         * Bullet.C:
11839         * ColorHandler.C:
11840         * FontInfo.C:
11841         * FontLoader.C:
11842         * LColor.C:
11843         * LaTeXFeatures.C:
11844         * Painter.C:
11845         * gettext.C:
11846         * lyx_gui_misc.C:
11847         * lyxserver.C:
11848         * vspace.C: removed // -*- C++ -*- as first line.
11849
11850         * lyxfind.h:
11851         * version.h: added // -*- C++ -*- as first line.
11852
11853 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11856
11857         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11858         of string
11859
11860 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11863         of floats.
11864
11865 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11866
11867         * gettext.C: include LString.h even when --disable-nls is on.
11868
11869 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * converter.h (Get): changed argument type from int to
11872         FormatList::size_type to avoid unnecessary conversion.
11873
11874         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11875         before using it.
11876
11877 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11878
11879         * gettext.h: include LString.h even when --disable-nls is on.
11880
11881 2001-06-07  Juergen Vigna  <jug@sad.it>
11882
11883         * text.C (BreakAgain): subst spaces with tabs.
11884
11885         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11886         (resizeInsetsLyXText): set force on resizeLyXText.
11887
11888 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11889
11890         * gettext.h (gettext_init):
11891         (locale_init): use a real definition instead of a macro
11892
11893 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * Bufferview_pimpl.C:
11896         * LColor.h:
11897         * LColor.C: further lcolor tidies
11898
11899 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * BufferView_pimpl.C (updateScrollbar): simplify.
11902
11903         * BufferView2.C: don't include insets/insetinfo.h, change
11904         prototype for insertInset and call the Pimpl version. let
11905         updateInset call Pimpl version.
11906
11907         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11908         gotoInset to BufferView::Pimpl
11909
11910 2001-06-01  Juergen Vigna  <jug@sad.it>
11911
11912         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11913         inside a LockingInset (is the update needed at all?).
11914
11915 2001-05-31  Juergen Vigna  <jug@sad.it>
11916
11917         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11918         here not the old one otherwise how should we compare it afterwards
11919         if it's the same!
11920
11921 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11922
11923         * lyxfont.C:
11924         * tabular.C:
11925         * tabular-old.C:
11926         * FontInfo.C: bring C functions into global namespace when
11927         necessary
11928
11929 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11930
11931         * LString.h: make sure config.h has been loaded before LString.h.
11932
11933         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11934         (one for each char read by EatLine!).
11935
11936         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11937         variables.
11938
11939 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11942         to the same as the par we break from
11943
11944 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11947
11948         * MenuBackend.C (expand): also create menu entries for wide
11949         versions of the floats.
11950
11951         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11952
11953         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11954
11955         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11956         frontends/Makefile.am
11957
11958         * text2.C: adjust
11959         * text.C: adjust
11960
11961
11962         * tabular.C (getTokenValue): add std::
11963
11964         * tabular-old.C (getTokenValue): add std::
11965         (getTokenValue): ditto
11966         (getTokenValue): ditto
11967
11968         * screen.C (ToggleSelection): adjust
11969
11970         * lyxtext.h: put selection cursors inside a Selection struct.
11971
11972         * lyxfunc.C (moveCursorUpdate): adjust
11973
11974         * lyxfont.C (latexWriteStartChanges): add std::
11975
11976         * lyxfind.C: adjust
11977
11978         * font.h: delete with(char const *, LyXFont const &)
11979
11980         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11981
11982         * FontInfo.C (getFontname): add std::
11983
11984         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11985         (workAreaButtonPress): adjust
11986         (tripleClick): adjust
11987         (update): adjust
11988         (moveCursorUpdate): adjust
11989         (Dispatch): adjust
11990
11991         * BufferView2.C (gotoInset): adjust
11992
11993 2001-05-30  Juergen Vigna  <jug@sad.it>
11994
11995         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11996         to check pspell I add this as default as I now have new pspell
11997         libraries and they seem to use this.
11998
11999 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * text2.C (CutSelection): make the cursor valid before the call to
12002         ClearSelection.
12003
12004 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12007         relied on 0 terminated strings and other horrors. Bug found due to
12008         the new assert in lyxstring!
12009
12010         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12011         KP_ keys.
12012
12013 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12014
12015         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12016         to latinkeys.bind.
12017
12018         * lyxfunc.C (processKeySym): change method of getting to the
12019         self-insert char.
12020
12021         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12022         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12023         * BufferView_pimpl.[Ch]: here as private methods.
12024
12025 2001-05-28  Juergen Vigna  <jug@sad.it>
12026
12027         * text.C (SetHeightOfRow): added the update() call again as it is
12028         needed to initialize inset dimensions!
12029
12030 2001-05-16  Juergen Vigna  <jug@sad.it>
12031
12032         * text2.C (SetCharFont): Add new function with BufferView * and
12033         bool toggleall parameters for setting insets internal fonts.
12034         (SetFont): Freeze the undo as we may change fonts in Insets and
12035         all this change should be inside only one Undo!
12036
12037         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12038         setting font's in insets as for them we have the SetFont function!
12039
12040 2001-05-15  Juergen Vigna  <jug@sad.it>
12041
12042         * text2.C (ClearSelection): to be sure we REALLY don't have any
12043         selection anymore!
12044
12045         * tabular.C (TeXCellPreamble): fixed the left border problem for
12046         multicolumn cells.
12047
12048 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12049
12050         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12051         dependancy file
12052
12053 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12056         LFUN_BREAKPARAGRAPH.
12057
12058         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12059         help test to "internal only", similar for LFUN_INSERT_URL
12060
12061         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12062         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12063         auto_region_delete and deadkeys.
12064
12065 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * LColor.h:
12068         * LColor.C: remove some dead entries, tidy a little
12069
12070 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12073         commented code.
12074         (Dispatch): implement LFUN_ESCAPE
12075
12076         * commandtags.h: add LFUN_ESCAPE
12077
12078         * LyXAction.C (init): add entry for LFUN_ESCAPE
12079
12080         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12081         Remove commented code.
12082         (insertNote): moved here
12083         (open_new_inset): moved here
12084
12085         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12086         BufferView_pimpl
12087
12088 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12089
12090         * kbmap.C (findbinding): clean it up and make it work correctly.
12091
12092         * lyx_main.C (init): do not pass argc and argv as parameters
12093
12094 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12095
12096         * buffer.C: fix path for OS/2 & Win32
12097
12098         * lyx_gui.C:
12099         * lyx_main:
12100         * lyx_main.C: Added os:: class.
12101
12102         * os2_defines.h: update
12103
12104 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12107         better by trying again with reduced state.
12108
12109 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12110
12111         * lyxrc.C (read): print error about invalid key sequence only when
12112         debugging (because not all latinX keysyms are known to some X
12113         servers)
12114
12115         * kbsequence.C (getiso): add a few std:: qualifiers
12116         (getiso): comment out extra return statement.
12117
12118 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12119
12120         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12121         handling.
12122         (Dispatch): enhance the accent inset a bit. (not perfect)
12123
12124 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12127
12128 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * bufferlist.C (emergencyWrite): fix assert() call
12131
12132 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12133
12134         * text.C (InsertChar): Added trivial patch to only send the "you
12135         can not do multiple spaces this way" message once during a
12136         session.
12137
12138 2001-05-08  Baruch Even  <baruch@lyx.org>
12139
12140         * Makefile.am: Changed order of libraries to get LyX to link properly
12141         with the gnome frontend.
12142
12143 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12144
12145         * LaTeXFeatures.h: add a std:: qualifier
12146
12147 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * paragraph.C (String): use stringstream
12150
12151 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * paragraph.C (writeFile): remove footflag arg
12154
12155         * buffer.C (makeLaTeXFile): use stringstream
12156         (latexParagraphs): remove footnot gurba
12157
12158         * LaTeXFeatures.C (getPackages): use stringstream
12159         (getMacros): likewise
12160         (getTClassPreamble): likewise
12161         (getFloatDefinitions): new method
12162
12163         * paragraph.C (writeFile): reindent
12164         (Erase): reindent
12165
12166         * WorkArea.h: revert the xpos + etc changes.
12167
12168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12169
12170         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12171
12172         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12173         (pasteSelection): likewise
12174         * text2.C (CreateUndo): likewise
12175
12176 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * minibuffer.C (peek_event): temporarily reduce the functionality
12179         of the minibuffer (to allow args on lfuns)
12180
12181         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12182         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12183
12184         * buffer.C (readInset): add compability reading of old float
12185         lists, add reading of new style float list.
12186         (readInset): avoid reevaluation of inscmd.getCmdName()
12187         (getLists): reindent
12188
12189         * MenuBackend.C (MenuItem): implement parsing of
12190         md_floatlistinsert and md_floatinsert.
12191         (expand::LastFiles): move initalizaton of iterators out of loop,
12192         avoid reevaluation.
12193         (expand::Documents): introduce typdedef vector<string> Strings,
12194         and use it.
12195         (expand::ExportFormats): introduce typedef vector<Format const *>
12196         Formats, and use it.
12197         (expand): implement FloatListInsert and FloatInsert.
12198
12199         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12200         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12201         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12202
12203         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12204         handling.
12205         (Dispatch::LFUN_FLOAT_LIST): implement
12206
12207 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12208
12209         * LaTeX.C (run): Fix problem with --export code.
12210
12211 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12212
12213         * BufferView.[Ch] (workarea): removed.
12214         (getClipboard) new method; wrapper for workarea()->getClipboard()
12215
12216         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12217         bug.
12218
12219         * WorkArea.h (width, height, xpos, ypos): These methods all
12220         returned the dimensions of the work_area sub-area of WorkArea,
12221         resulting in a position error if the WorkArea were resized. Now
12222         return the dimensions of the entire WorkArea.
12223
12224         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12225
12226 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * LaTeX.C (deplog): correct the syntax of regex reg1
12229
12230 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * undo.C: remove !NEW_INSETS cruft
12233
12234 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * text2.C: remove !NEW_INSETS cruft
12237
12238         * text.C: remove !NEW_INSETS cruft
12239
12240         * tabular.C: remove !NEW_INSETS cruft
12241
12242         * spellchecker.C: remove !NEW_INSETS cruft
12243
12244         * lyxtext.h: remove !NEW_INSETS cruft
12245
12246         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12247
12248         * lyxfunc.C: remove !NEW_INSETS cruft
12249
12250         * lyxfind.C: remove !NEW_INSETS cruft
12251
12252         * lyx_cb.C: remove !NEW_INSETS cruft
12253
12254         * figureForm.C: remove  !NEW_INSETS cruft
12255
12256         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12257
12258         * buffer.[Ch]: remove !NEW_INSETS cruft
12259
12260         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12261
12262         * CutAndPaste.C: remove !NEW_INSETS cruft
12263
12264         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12265
12266         * BufferView2.C: remove !NEW_INSETS cruft
12267
12268         * BufferView.h: remove !NEW_INSETS cruft
12269
12270 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12271
12272         * Lsstream.h: include LString.h before the sstream headers to
12273         fix problem with gcc 2.95.3 and lyxstring
12274
12275 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12276
12277         * lyx_main.C: add using directives when needed for C functions
12278         declared in std:: namespace.
12279
12280 2001-04-27  Juergen Vigna  <jug@sad.it>
12281
12282         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12283         (SetHeightOfRow): comment out the update call should not be needed!
12284
12285 2001-04-13  Juergen Vigna  <jug@sad.it>
12286
12287         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12288         (LyXTabular): tried to minimize operator= operations (and realized
12289         hopfully Lars wish).
12290
12291 2001-04-27  Juergen Vigna  <jug@sad.it>
12292
12293         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12294
12295 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12298
12299         * buffer.C (readInset): hack to make listof algorithm work
12300
12301         * BufferView_pimpl.C: hack to make listof algorithm work
12302
12303 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * LyXAction.C: removed all !NEW_INSETS cruft
12306         (init): moved lfun_item in method
12307
12308         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12309
12310 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12311
12312         * BufferView2.C (theLockingInset): white space.
12313
12314 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * minibuffer.C: include <iostream>
12317
12318         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12319
12320         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12321
12322         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12323
12324         * text.[Ch] (TransposeChars): new method
12325
12326 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * call message directly through LyXView instead of through LyXFunc
12329         * BufferView2.C: adjust
12330         * BufferView_pimpl.C: adjust
12331         * FontLoader.C: adjust
12332         * buffer.C: adjust
12333         * bufferview_funcs.C: adjust
12334         * converter.C: adjust
12335         * figureForm.C: adjust
12336         * importer.C: adjust
12337         * lyx_cb.C: adjust
12338         * lyx_gui_misc.C: adjust
12339         * lyxfunc.C: adjust
12340         * lyxvc.C: adjust
12341         * text2.C: adjust
12342         + more files in subdirs
12343
12344         * lyxparagraph.h (size): move up int file
12345         (GetLayout): ditto
12346
12347         * adjust all uses of Assert to lyx::Assert.
12348
12349         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12350         lyxfunctional in namespace lyx
12351         * layout.C (hasLayout): ditto
12352         (GetLayout): ditto
12353         (GetLayout): ditto
12354         (delete_layout): ditto
12355         (NumberOfClass): ditto
12356         * converter.C (GetFormat): ditto
12357         (GetNumber): ditto
12358         (Add): ditto
12359         (Delete): ditto
12360         (SetViewer): ditto
12361         * bufferlist.C (getFileNames): ditto
12362         (emergencyWriteAll): ditto
12363         (exists): ditto
12364         (getBuffer): ditto
12365         * MenuBackend.C (hasSubmenu): ditto
12366         (hasMenu): ditto
12367         (getMenu): ditto
12368         * BufferView_pimpl.C (getInsetByCode): ditto
12369
12370 2001-04-18  Juergen Vigna  <jug@sad.it>
12371
12372         * vspace.C (asLatexString): fixed the 100% problem.
12373
12374 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12375
12376         * lyxfunc.C (Dispatch):
12377         * minibuffer.C:
12378         * minibuffer.h: add a few std:: qualifiers
12379
12380 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * minibuffer.[Ch]: reimplement so that commands is initiated and
12383         run from lyxfunc, simplified som handling, and made the completion
12384         and history code for complete. wip.
12385
12386         * lyxfunc.C (processKeySym): call message
12387         (miniDispatch): new temporary method
12388         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12389         (LFUN_MESSAGE): implement
12390         (LFUN_MESSAGE_PUSH): implement
12391         (LFUN_MESSAGE_POP): implement
12392         (initMiniBuffer): the initial/defualt minibuffer message.
12393
12394         * lyxfont.[Ch]: inline some more getters
12395
12396         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12397
12398         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12399
12400         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12401         (AutoSave): use LFUN_MESSAGE
12402         (Reconfigure): ditto
12403
12404         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12405
12406         * figureForm.C: use LFUN_MESSAGE
12407
12408         * converter.C (runLaTeX): use LFUN_MESSAGE
12409
12410         * bufferview_funcs.C: use LFUN_MESSAGE
12411         (Melt): ditto
12412         (changeDepth): ditto
12413
12414         * bufferparams.h: use boost::
12415
12416         * bufferlist.h: inherit privately from noncopyable
12417
12418         * bufferlist.C (loadLyXFile): remove some commented code.
12419
12420         * buffer.C (runChktex): use LFUN_MESSAGE
12421
12422         * ShareContainer.h: inherit privately from noncopyable
12423
12424         * ParagraphParameters.[hC] (depth): inline it.
12425
12426         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12427         methods.
12428         (message): new method
12429         (messagePush): ditto
12430         (messagePop): ditto
12431         (show): init minibuffer
12432         (showState): direct call
12433
12434         * LaTeX.[Ch]: inherit privately from noncopyable
12435         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12436         instead of WriteStatus.
12437
12438         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12439
12440         * BufferView_pimpl.C (buffer): don't init minibuffer
12441         (workAreaButtonPress): use LFUN_MESSAGE
12442         (workAreaButtonRelease): ditto
12443         (savePosition): ditto
12444         (restorePosition): ditto
12445         (MenuInsertLyXFile): ditto
12446         (workAreaExpose): don't init minibuffer
12447         (update): remove commented code, simplify
12448
12449         * BufferView2.C (openStuff): use LFUN_MESSAGE
12450         (toggleFloat): ditto
12451         (menuUndo): ditto
12452         (menuRedo): ditto
12453         (copyEnvironment): ditto
12454         (pasteEnvironment): ditto
12455         (copy): ditto
12456         (cut): ditto
12457         (paste): ditto
12458         (gotoInset): ditto
12459         (updateInset): remove some commented code
12460
12461         * lastfiles.h: inherit privately from noncopyable
12462         * layout.h: ditto
12463         * lyx_gui.h: ditto
12464         * lyx_main.h: ditto
12465         * lyxlex.h: ditto
12466         * lyxlex_pimpl.h: ditto
12467
12468         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12469         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12470         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12471
12472         * LyXAction.h: inherit privately from noncopyable, add methods
12473         func_begin, func_end, returning iterators to the func map.
12474
12475         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12476         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12477         (func_begin): new method
12478         (func_end): new method
12479
12480         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12481         and not)
12482         (copySelection): ditto
12483         (pasteSelection): ditto
12484
12485         * BufferView.C: whitespace change
12486         * BufferView.h: inherit privately from noncopyable
12487
12488 2001-04-16  Allan Rae  <rae@lyx.org>
12489
12490         * tabular-old.C (l_getline):
12491         * spellchecker.C (sc_check_word):
12492         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12493         an unrecognised preprocessor directive.  So ensure they're wrapped.
12494
12495 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12496
12497         * src/exporter.C (Export): Give an error message when path to file
12498         contains spaces.
12499
12500 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12501
12502         * LaTeX.C (deplog): Always check that foundfile exists.
12503
12504 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * lyx_main.h:
12507         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12508
12509 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12510
12511         * tabular.[Ch] (getLabelList): implement new method
12512
12513         * minibuffer.h: comment ouf setTiimer
12514
12515         * minibuffer.C (ExecutingCB): constify res
12516         (peek_event): constify s
12517         (Set): constify ntext
12518         (Init): constify nicename
12519
12520         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12521
12522         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12523         (savePosition): use two params to Minibuffer::Set
12524         (restorePosition): ditto
12525
12526 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12527
12528         * lyx_main.C: include language.h
12529
12530         * Makefile.am (lyx_main.o): add language.h
12531
12532 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12533
12534         * exporter.C:
12535         * paragraph.C:
12536         * screen.C:
12537         * tabular.C:
12538         * CutAndPaste.C: include gettext.h
12539
12540         * lyxfont.h: remove old hack with ON and OFF.
12541
12542         * lyxparagraph.h:
12543         * lyxfont.h: do not include language.h...
12544
12545         * BufferView2.C:
12546         * LaTeXFeatures.C:
12547         * Painter.C:
12548         * bufferview_funcs.C:
12549         * font.C:
12550         * lyxfont.C:
12551         * text.C:
12552         * text2.C:
12553         * trans_mgr.C:
12554         * paragraph.C: ... but do it here instead
12555
12556 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12559
12560         * tabular.C: small reformat
12561
12562         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12563         NEW_INSETS version
12564         (GetChar): ditto
12565         (BreakParagraph): ditto
12566         (SetOnlyLayout): ditto
12567         (SetLayout): ditto
12568
12569         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12570         with one arg less.
12571
12572         * lastfiles.C: removed most using decl, add std:: where needed
12573
12574         * buffer.C: ws changes
12575
12576         * MenuBackend.C (class compare_format): put into anon namespace
12577         (expand): constify label, names, action, action2
12578         (expand):
12579
12580         * text.C (SingleWidth): constify font
12581         (IsBoundary): constify rtl2
12582         (GetVisibleRow): constify ww
12583
12584         * LaTeX.C (deplog): constify logfile
12585
12586         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12587         start_x, end_x
12588         (workAreaExpose): constify widthChange, heightChange
12589
12590         * lyxrow.C (par): moved
12591         (height): moved
12592         (next): moved
12593         * lyxrow.h: as inlines here
12594
12595         * lyxfont.h (shape): moved from lyxfont.C
12596         (emph): moved from lyxfont.C
12597
12598         * lyxfont.C (LyXFont): use initialization list for all
12599         constructors
12600         (shape): move to lyxfont.h as inline
12601         (emph): move to lyxfont.h as inline
12602
12603
12604 2001-04-04  Juergen Vigna  <jug@sad.it>
12605
12606         * vspace.C: had to include stdio.h for use of sscanf
12607
12608 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * BufferView.h:
12611         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12612         independent of xforms.
12613
12614 2001-04-02  Juergen Vigna  <jug@sad.it>
12615
12616         * spellchecker.C: fixed namespace placing!
12617
12618 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12619
12620         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12621         the LyXParagraph * is 0.
12622
12623 2001-03-29  Juergen Vigna  <jug@sad.it>
12624
12625         * vspace.C: added support for %, c%, p%, l%.
12626         (stringFromUnit): added helper function.
12627         (asLatexString): changed to give right results for the %-values.
12628
12629         * buffer.C: convert the widthp in a width%.
12630
12631 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12632
12633         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12634         figureForm.[Ch].
12635
12636         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12637         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12638
12639         * lyx_cb.[Ch]: see above.
12640
12641         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12642         form1.[Ch].
12643
12644         * form1.[Ch]:
12645         * lyx.[Ch]: replaced by figure_form.[Ch].
12646
12647         * lyx_gui.C:
12648         * lyx_gui_misc.C:
12649         * lyxfunc.C: changed headers associated with above changes.
12650
12651 2001-03-27  Juergen Vigna  <jug@sad.it>
12652
12653         * BufferView_pimpl.C: set the temporary cursor right!
12654
12655 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12656
12657         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12658
12659 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * LString.h: removed "using std::getline"!
12662
12663         * BufferView_pimpl.C (Dispatch): changes due to changes in
12664         InsetInclude::Params.
12665
12666         * buffer.C (tag_name): removed redundant break statements as they were
12667         producing lots of warnings with my compiler.
12668
12669 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12670
12671         * LString.h: add "using std::getline" when using the real <string>.
12672
12673 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12674
12675         * buffer.C: removed bitset usage.
12676         PAR_TAG moved to an anonymous name space.
12677         (tag_name): new funtion, also in the anonymous namespace.
12678         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12679         (makeDocBookFile): clean code. Completed transition from string arrays
12680         to string vectors.
12681         (SimpleDocBookOnePar): code clean.
12682
12683 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12684
12685         * tabular.C: add some comments.
12686
12687 2001-03-22  Juergen Vigna  <jug@sad.it>
12688
12689         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12690         compatibility read a bit and fixed bug with minipage in different
12691         depth.
12692
12693 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12694
12695         * buffer.C (pop_tag): removed.
12696         (push_tag): removed.
12697         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12698         array replaced with vector. Added support for CDATA sections.
12699         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12700         at any nest level.
12701         (makeDocBookFile): XML conformant declaration of CDATA section,
12702         fixed bug related to <emphasis> in the first paragraph char.
12703         (sgmlOpenTag): exclude empty tags.
12704         (sgmlCloseTag): ditto.
12705
12706         * buffer.h (pop_tag): removed.
12707         (push_tag): removed.
12708
12709 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12710
12711         * language.h (Languages): added size_type and size().
12712
12713 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12714
12715         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12716         response on compability reading of minipages. One probliem is that
12717         the old usage of minipages was «flertydig»
12718
12719         * several files here and in subdirs: don't use static at file
12720         scope use anon namespaces instead.
12721
12722 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12723
12724         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12725         LaTeX output. This is necessary for Literate document
12726         processing.
12727
12728 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12729
12730         * buffer.C: insert hfill when needed.
12731
12732         * tabular.C (l_getline): use string::erase, small whitespace change.
12733
12734         * BufferView_pimpl.C: try the anon namespace.
12735         * WorkArea.C: ditto
12736
12737 2001-03-16  Juergen Vigna  <jug@sad.it>
12738
12739         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12740         otherwise it won't open options-dialogs.
12741
12742         * buffer.C: honor pextraWidth(p) on converting minipages.
12743
12744         * tabular.C (l_getline): changed the functions to strip trailing \r.
12745
12746 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12747
12748         * BufferView_pimpl.C:
12749         * minibuffer..C: added "using SigC::slot" declaration.
12750
12751 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12752
12753         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12754
12755         * text2.C: ditto
12756
12757         * text.C: ditto
12758
12759         * paragraph.C: ditto
12760
12761         * lyxtext.h: NO_PEXTRA
12762
12763         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12764
12765         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12766         * ParameterStruct.h: ditto
12767         * ParagraphParameters.h: ditto
12768         * lyxparagraph.h: ditto
12769
12770 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12771
12772         * buffer.C: add compability for minipage alignment.
12773         (latexParagraphs): remove unwanted pextra check.
12774
12775         * several files: remove CXX_WORKING_NAMESPACES
12776
12777         * buffer.C (pop_tag): tie is in namespace boost
12778
12779         * BufferView.h: noncopyable is in namespace boost
12780         * lyxlex.h: ditto
12781         * lyx_main.h: ditto
12782         * lyx_gui.h: ditto
12783         * layout.h: ditto
12784         * lastfiles.h: ditto
12785         * bufferlist.h: ditto
12786         * ShareContainer.h: ditto
12787         * LyXView.h: ditto
12788         * LyXAction.h: ditto
12789         * LaTeX.h: ditto
12790
12791 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * Merging changes from BRANCH_MVC back into HEAD.
12794
12795         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12796
12797 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * BufferView_pimpl.C: change from intl.C
12800
12801         * combox.h:
12802         * combox.C:
12803         * Makefile.am: move combox.*
12804
12805         * form1.h:
12806         * form1.C:
12807         * lyx_gui.C:
12808         * intl.h:
12809         * intl.C: remove dialog (covered by prefs)
12810
12811 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * lyxfunc.C (Dispatch): removed redundant break statement.
12814
12815 2001-03-14  Juergen Vigna  <jug@sad.it>
12816
12817         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12818
12819 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12820
12821         * buffer.C: add hack to fix compability reading of minipages.
12822
12823 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12824
12825         * buffer.C (getLists): Cleanup.
12826
12827 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * lyxfont.C (update): don't honor toggleall on font size.
12830
12831 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * bmtable.c:
12834         * bmtable.h:
12835         * Makefile.am: moved to frontends/xforms/
12836
12837         * lyx_gui_misc.C:
12838         * lyxfunc.C:
12839         * BufferView_pimpl.C: changes for moved mathpanel
12840
12841 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12842
12843         * gettext.h: fix gettext_init() in --disable-nls
12844
12845 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12846
12847         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12848
12849 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * lyx.C:
12852         * lyx.h: strip external form
12853
12854 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12855
12856         * BufferView_pimpl.C: add comment, destroySplash()
12857
12858 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * BufferView_pimpl.C:
12861         * LyXAction.C:
12862         * buffer.C:
12863         * commandtags.h:
12864         * lyxfunc.C: use re-worked insetinclude
12865
12866 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12867
12868         * buffer.C: add using std::stringstream.
12869
12870         * lyx_cb.C: readd using std::ios.
12871
12872         * buffer.C: add using std::map.
12873
12874         * BufferView_pimpl.C: add using std::vector.
12875
12876         * ShareContainer.h: add std:: to swap.
12877
12878         * buffer.h: add some typedefs
12879         * buffer.C (getLists): use them
12880         (getLists): renamed from getTocList.
12881         add a counter for the different float types and use it in the
12882         generated string.
12883         (getLists): use the same counter for the NEW_INSETS and the "non"
12884         NEW_INSETS
12885
12886         * lyx_cb.h: remove unused items, includes, using etc.
12887
12888         * ShareContainer.h: remove some commented code, add more comments
12889         and "documentation".
12890
12891 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12892
12893         * buffer.C (getTocList): make the list also when NEW_INSETS is
12894         defined.
12895
12896         * buffer.h: remove TocType
12897
12898         * buffer.C (getTocList): change to return a map<string,
12899         vector<TocItem> >, implement for dynamic number of list.
12900
12901         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12902         * text2.C (PasteSelection): adjust
12903         * CutAndPaste.C (pasteSelection): adjust
12904
12905         * FloatList.C (FloatList): update from the new_insets branch.
12906         * Floating.[Ch]: ditto
12907         * LaTeXFeatures.C: ditto
12908         * buffer.C: ditto
12909         * lyxlex_pimpl.C: ditto
12910
12911         * paragraph.C (Last): remove when NEW_INSETS is defined.
12912
12913         * other file: changes because of the above.
12914
12915 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12916
12917         * lyxparagraph.h: rename next to next_, previous to previous_,
12918         make them private for NEW_INSETS. Rename Next() to next(),
12919         Previous() to previous().
12920
12921         * other files: changes because of the above.
12922
12923 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12924
12925         * BufferView.h:
12926         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12927         problem.
12928
12929 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12930
12931         * main.C (main): pass lyx_localedir to gettext_init().
12932
12933         * gettext.h: remove locale_init and gettext_init macros
12934
12935         * gettext.C (locale_init): new function
12936         (gettext_init): new function
12937
12938         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12939         setlocale().
12940
12941 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12942
12943         * Moved credits to frontends:
12944         * credits.[Ch]: removed
12945         * credits_form.[Ch]: removed
12946         * lyx_gui_misc.C: remove credits stuff
12947         * Makefile.am:
12948
12949 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12950
12951         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12952
12953         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12954         unneeded destructor.
12955
12956         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12957         a standalone pointer again.
12958
12959         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12960
12961 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12962
12963         * Makefile.am:
12964         * filedlg.h:
12965         * filedlg.C:
12966         * LyXAction.C:
12967         * ToolbarDefaults.C:
12968         * bufferlist.C:
12969         * commandtags.h:
12970         * form1.C:
12971         * form1.h:
12972         * lyx_cb.C:
12973         * lyx_cb.h:
12974         * lyxfunc.h:
12975         * lyxfunc.C:
12976         * BufferView_pimpl.C: use new file dialog in GUII
12977
12978         * lyx_cb.h:
12979         * lyx_cb.C: remove LayoutsCB to Toolbar
12980
12981 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * ShareContainer.h (get): add std:: qualifier
12984
12985 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * ShareContainer.h: define a proper ShareContainer::value_type
12988         type (and use typename to please compaq cxx)
12989
12990 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12991
12992         * lyxparagraph.h: move serveral local vars to
12993         ParameterStruct/ParagraphParameters., use ShareContainer in
12994         FontTable., make vars in FontTable private and add getter and
12995         setter.
12996
12997         * paragraph.C: changes because of the above.
12998
12999         * lyxfont.h: remove copy constructor and copy assignment. (the
13000         default ones is ok), move number inside FontBits. move inlines to
13001         lyxfont.C
13002
13003         * lyxfont.C: add number to initializaton of statics, move several
13004         inlines here. constify several local vars. some whitespace
13005         cleanup. Dont hide outerscope variables.
13006
13007         * Spacing.h: add two new constructors to match the set methods.
13008
13009         * ShareContainer.h: new file, will perhaps be moved to support
13010
13011         * ParameterStruct.h: new file
13012
13013         * ParagraphParameters.h: new file
13014
13015         * ParagraphParameters.C: new file
13016
13017         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13018         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13019
13020         * BufferView_pimpl.C: ParagraphParameter changes.
13021         * buffer.C: Likewise.
13022         * bufferview_funcs.C: Likewise.
13023         * text.C: Likewise.
13024         * text2.C: Likewise.
13025
13026 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13027
13028         * lyxfind.C (LyXReplace): do not redefine default argument in
13029         implementation.
13030         (IsStringInText): ditto
13031         (SearchForward): ditto
13032         (SearchBackward): ditto
13033
13034 2001-03-06  Juergen Vigna  <jug@sad.it>
13035
13036         * lyxfind.C (IsStringInText): put parentes around expressions.
13037
13038 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13039
13040         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13041
13042 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13043
13044         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13045
13046         * stl_string_fwd.h: add comment
13047
13048         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13049
13050         * tabular.h:
13051         * tabular.C: remove unused DocBook methods
13052
13053         * intl.C:
13054         * language.C:
13055         * paragraph.C:
13056         * buffer.C:
13057         killed DO_USE_DEFAULT_LANGUAGE
13058
13059 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13060
13061         * lyx_gui.C: do not include language.h.
13062
13063         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13064         arguments in function implementation.
13065
13066 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13067
13068         * BufferView_pimpl.C: add <ctime>
13069
13070 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13071
13072         * BufferView_pimpl.C: add using std::find_if
13073
13074 2001-02-27  José Matos  <jamatos@fep.up.pt>
13075
13076         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13077         by OnlyPath.
13078
13079 2001-02-11  José Matos  <jamatos@fep.up.pt>
13080
13081         * buffer.C (makeDocBookFile): command styles now have a parameter as
13082         "title" by default.
13083
13084 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13085
13086         * layout_forms.[Ch]: removed
13087         * lyx_cb.[Ch]: out character
13088         * lyx_gui.C: out character
13089         * lyx_gui_misc.C: out character
13090         * bufferview_funcs.C: : out character,
13091         added toggleall as parameter in ToggleAndShow
13092
13093 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13094
13095         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13096
13097         * text2.C (SetCurrentFont): Disable number property at boundary.
13098
13099 2001-02-26  Juergen Vigna  <jug@sad.it>
13100
13101         * lyxfunc.C (getStatus): added a string argument override function so
13102         that this is correctly called from LyXFunc::Dispatch if it contains a
13103         do_not_use_argument which is used!
13104         (Dispatch): added check for "custom" export and call appropriate func.
13105
13106 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13107
13108         * lyxrc.C: Add language_command_local, language_use_babel and
13109         language_global_options.
13110
13111         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13112
13113         * buffer.C (makeLaTeXFile): Use language_use_babel and
13114         language_global_options.
13115
13116 2001-02-23  Juergen Vigna  <jug@sad.it>
13117
13118         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13119         which works with LyXText and putted it inside BufferView. Here now we
13120         only call for that part the BufferView::Dispatch() function.
13121
13122         * BufferView.C (Dispatch): added.
13123
13124         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13125         functions which needs to use a LyXText over from LyXFunc.
13126         (MenuInsertLyXFile): added
13127         (getInsetByCode): added
13128         (moveCursorUpdate): added
13129         (static TEXT): added
13130
13131 2001-02-22  Juergen Vigna  <jug@sad.it>
13132
13133         * BufferView_pimpl.C (update): call a status update to see if LyXText
13134         needs it.
13135
13136 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13137
13138         * vc-backend.C (revert): implement for CVS
13139         (getLog): implement for CVS
13140
13141 2001-02-20  Juergen Vigna  <jug@sad.it>
13142
13143         * text2.C (ClearSelection): added BufferView param for inset_owner call
13144
13145         * lyxfunc.C (TEXT): added this function and use it instead of
13146         directly owner->view()-text of getLyXText().
13147
13148 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13149
13150         * src/layout_forms.C: out preamble
13151         * src/layout_forms.h: out preamble
13152         * src/lyx_cb.C: out preamble
13153         * src/lyx_cb.h: out preamble
13154         * src/lyx_gui.C: out preamble
13155         * src/lyx_gui_misc.C: out preamble
13156         * src/lyxfunc.C: connect with guii preamble
13157
13158 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13159
13160         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13161
13162 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13165         whether to run bibtex.
13166
13167 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13168
13169         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13170
13171 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13172
13173         * Makefile.am (lyx_SOURCES): removed bibforms.h
13174
13175         * vspace.h: doxygen
13176
13177         * text.C (GetVisibleRow): make several local vars const
13178
13179         * tabular.C: small cleanup.
13180
13181         * lyxserver.C (callback): use compare instead of strncmp
13182
13183         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13184         inlines to after class or to paragraph.C
13185
13186         * lyxfont.h: remove friend operator!=
13187
13188         * converter.h: move friend bool operator< to non friend and after
13189         class def.
13190
13191         * combox.h: small cleanup
13192
13193         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13194         to inlines after class def.
13195
13196         * buffer.C (pop_tag): use string operations instead of strcmp
13197
13198         * bmtable.c: doxygen, small cleanup
13199
13200         * LaTeX.h: remove friend operator==
13201
13202 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13203
13204         * screen.C:
13205         * lyxrc.[Ch]:
13206         * lyxfunc.C:
13207         * lyxfont.[Ch]:
13208         * lyx_cb.C:
13209         * intl.[Ch]:
13210         * commandtags.h:
13211         * buffer.C:
13212         * WorkArea.[Ch]:
13213         * LyXAction.C:
13214         * BufferView_pimpl.C:
13215         * BufferView.[Ch]: remove cruft
13216
13217 2001-02-14  Juergen Vigna  <jug@sad.it>
13218
13219         * lyxfunc.C: removed #if 0 unused code
13220
13221         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13222
13223         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13224
13225         * text2.C (SetSelection): added a BufferView * parameter
13226
13227 2001-02-13  Juergen Vigna  <jug@sad.it>
13228
13229         * lyxfunc.C (Dispatch): fixed protected blank problem.
13230         * BufferView2.C (protectedBlank): added LyxText * parameter.
13231
13232         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13233         (AppendColumn): same as above for column_info.
13234
13235         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13236         (moveCursorUpdate): use a LyXText param for support of InsetText.
13237
13238         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13239         (tripleClick): ditto
13240
13241         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13242
13243         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13244
13245         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13246
13247         * text2.C (SetSelection): set correct update status if inset_owner
13248         (ToggleFree): ditto
13249
13250 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13251
13252         * tabular.C: remove some commented code.
13253
13254 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * BufferView_pimpl.C: call hideSplash()
13257
13258         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13259
13260         * include_form.h:
13261         * bibforms.h: remove
13262
13263         * lyxfunc.C:
13264         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13265           add LFUN_CHILD_CREATE
13266
13267         * counters.h: fix tiny typo
13268
13269         * lyx_cb.C:
13270         * lyx.h:
13271         * lyx_gui.C:
13272         * lyx.C: move splash to frontends/xforms/
13273
13274         * lyx_gui_misc.C: move Include and Bibform to frontends
13275
13276         * lyxvc.h: clarify comment
13277
13278         * vspace.C: tiny housekeeping
13279
13280 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13281
13282         * text.C (PrepareToPrint): RTL Fix.
13283
13284         * paragraph.C (GetUChar): New method.
13285         (String):  Use GetUChar.
13286
13287         * buffer.C (asciiParagraph): Use GetUChar.
13288
13289 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13290
13291         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13292
13293 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * buffer.h:
13296         * buffer.C: rename to getLogName(), handle
13297           build log / latex log nicely
13298
13299 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13300
13301         * MenuBackend.C:
13302         * MenuBackend.h: remove support for reference menuitem type.
13303
13304 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13305
13306         * BufferView_pimpl.C: housekeeping
13307         * BufferView_pimpl.h:
13308         * LyXView.h:
13309         * Makefile.am:
13310         * Timeout.C:
13311         * Timeout.h:
13312         * minibuffer.h: move Timeout GUI-I
13313
13314 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * lyxrc.C (read): Update converters data-structures.
13317
13318 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13319
13320         * LaTeX.h (operator!=): add operator != for Aux_Info
13321
13322 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13325
13326         * LaTeXLog.C: deleted, useful code moved to Buffer
13327
13328         * buffer.h:
13329         * buffer.C: new function getLatexLogName()
13330
13331         * lyx_gui_misc.C:
13332         * lyx_gui.C:
13333         * lyxvc.C:
13334         * lyxvc.h:
13335         * lyxfunc.C: use frontends for LaTeX and VC logs
13336
13337 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13338
13339         * LaTeX.h: yet another std:: that Allan forgot.
13340
13341         * Variables.C (set): renamed from isset(), because this clashes
13342         with some HP-UX macros (grr).
13343
13344 2001-02-06  Allan Rae  <rae@lyx.org>
13345
13346         * LaTeX.h: Another bug fix.  Missing std:: this time.
13347
13348 2001-02-04  Allan Rae  <rae@lyx.org>
13349
13350         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13351         floats problem. I've left it commented out because it's not quite
13352         correct.  It should also test that the current object is a table or
13353         figure inset.  But I haven't gotten around to figuring out how to do
13354         that.  I *think* it'll be something like: "table" == inset.type()
13355
13356         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13357         bool.
13358
13359 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13360
13361         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13362         all the citation/databases/styles in the auxilary file.
13363         (run): Rerun latex if there was a babel language error.
13364
13365 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13366
13367         * text.C (Backspace): Preserve the font when changing newline char
13368         with a space.
13369         (BreakParagraph): If the cursor is before a space, delete the space.
13370
13371         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13372
13373 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13376         new argument (code).
13377         (ChangeCitationsIfUnique): New method.
13378
13379         * paragraph.C (GetPositionOfInset): Handle bibkey.
13380
13381 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13382
13383         * BufferView_pimpl.h: change type of Position::par_pos to
13384         LyXParagraph::size_type.
13385
13386 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13387
13388         * BufferView_pimpl.C (savePosition, restorePosition): Write
13389         messages to minibuffer.
13390
13391 2001-01-28  José Matos  <jamatos@fep.up.pt>
13392
13393         * buffer.C (makeDocBookFile): adds support for document language.
13394         A silly restriction on the name of LatexCommand types where removed.
13395         Added support for CDATA sections, allows to chars unescaped, used
13396         among others in code, to avoid escape < and >.
13397
13398 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13401         saved positions instrad of a stack. Furthermore, a position is
13402         stored using paragraph id/paragraph position.
13403
13404         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13405         Remove LFUN_REF_BACK.
13406
13407 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13408
13409         * converter.C (dvipdfm_options): New method.
13410
13411 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13412
13413         * vspace.C (isValidLength): Fix for empty input string.
13414
13415 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * LyXAction.C (init): change description of LFUN_FIGURE to
13418         "Insert Graphics"
13419
13420 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * LaTeX.C: add using directive
13423
13424 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13425
13426         * MenuBackend.C (expand): Fix the sorting of the formats.
13427
13428 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * lyx_main.C: tiny error message fix
13431
13432 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13435         calling fl_initialize(). This fixes the problem with ',' as
13436         decimal separator in text files.
13437
13438 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * trans.C (process): Fix the keymap bug.
13441
13442 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * LaTeX.C (scanAuxFiles): New method. Provides support for
13445         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13446         (scanLogFile) Scan for "run BibTeX" messages.
13447
13448         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13449         OT1 font encoding. Also, load the aecompl package if the ae
13450         package is loaded.
13451
13452         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13453
13454 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13455
13456         * texrow.C (increasePos): turn two error messages into debug
13457         messages.
13458
13459 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13460
13461         * LaTeX.C (scanAux): Handle the \@input macro.
13462         (runBibTeX): Use scanAux().
13463
13464         * language.C (latex_options_): New field.
13465
13466         * LaTeXFeatures.C (getMacros): Add language macros.
13467
13468         * buffer.C (makeLaTeXFile): Small fix.
13469
13470 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13473
13474         * text2.C: add a using directive.
13475
13476 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * BufferView2.C:
13479         * lyx_gui_misc.h:
13480         * lyxfr1.C:
13481         * lyxfunc.C: kill LyXBell.
13482
13483 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13484
13485         * text.C (IsBoundary): Remove the error message
13486
13487         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13488
13489         * lyxrc.C (setDefaults): Correct initialization value for
13490         font_norm_type.
13491
13492 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13493
13494         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13495         gotoError().
13496
13497         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13498         and GotoNextNote().
13499
13500         * src/LyXAction.C: Added reference-next.
13501
13502         * text.C (InsertChar): Use contains instead of strchr.
13503
13504         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13505
13506 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13507
13508         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13509         alignment commands (when needed).
13510
13511         * text.C (InsertChar): Add ':' to number separator chars.