]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9b685fa25aa9bc048037b70f597f1ae8eabd4e20
[lyx.git] / src / ChangeLog
1 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * text3.C: 
4         * text2.C: 
5         * text.C: 
6         * lyxtext.h: 
7         * lyxfunc.C: 
8         * cursor.C: 
9         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
10
11         * dispatchresult.h: new file, DispatchResult broken out of
12         insets/insetbase.h 
13
14         * Makefile.am (lyx_SOURCES): add dispatchresult.h 
15
16 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
17
18         * text.C (rowBreakPoint): put a hack inside #if 0
19
20 2003-10-28  André Pönitz  <poenitz@gmx.net>
21
22         * lyxtext.h:
23         * metricsinfo.C:
24         * paragraph_funcs.C:
25         * rowpainter.C:
26         * text.C:
27         * text2.C: general cleanup (lots of small stuff)
28
29 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
30
31         * text2.C (cursorEnd): simple fix to the "end key goes to one
32         before the end on last row" bug
33
34 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
35
36         * text.C (backspace): fix the "zombie characters"
37
38 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
39
40         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
41
42 2003-10-27  André Pönitz  <poenitz@gmx.net>
43
44         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
45
46         * factory.C: handle new InsetPagebreak, InsetLine
47
48         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
49         and move handling into new InsetPagebreak, InsetLine
50
51         * BufferView_pimpl.C:
52         * LyXAction.C:
53         * ParagraphParameters.C:
54         * ParameterStruct.h:
55         * lyxfunc.C:
56         * lyxtext.h:
57         * paragraph.C:
58         * paragraph.h:
59         * paragraph_funcs.C:
60         * paragraph_pimpl.C:
61         * rowpainter.C:
62         * text.C:
63         * text2.C:
64         * text3.C: adjust
65
66 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
67
68         * text.C:
69         * lyxrow_funcs.[Ch]:
70         * Bidi.C:
71         * paragraph.C:
72         * lyxtext.h:
73         * rowpainter.C:
74         * text2.C:
75         * text3.C: remove lastPos uses in favour of Row::endpos
76
77 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
78
79         * undo.C (performUndoOrRedo): fix two crashes by setting a
80         cursor by hand and reordering some calls. Use bv->lockInset instead
81         of inset->edit because the latter loses cursor information
82
83 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
84
85         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
86         by Martin
87         (rowBreakPoint): fix width. change point to point + 1.
88         Add a missing check.
89
90 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * MenuBackend.C:
93         * lyxfunc.C: fix (at least partly) the problems
94         with the Nav menu and headers inside branch insets
95         reported by Kayvan
96
97 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
98
99         * paragraph.C (getChar): add strong asserts
100
101         * lyxrow_funcs.C (lastPos): remove hideous hack
102
103         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
104         (fill): adjust to that (avoid an infinite loop)
105
106 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
107
108         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
109
110 2003-10-23  André Pönitz  <poenitz@gmx.net>
111
112         * RowList_fwd.h: change list<> to vector<> to gain speed
113         after suggestion from Alfredo
114
115 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
116
117         * lyxtext.h: move the bidi stuff from here...
118         * text.C: and here
119         * text2.C: and here
120         * Bidi.[Ch]: ... to here
121
122 2003-10-23  André Pönitz  <poenitz@gmx.net>
123
124         * lyxtext.h:
125         * text.C (isLastRow, isFirstRow): new functions
126
127         * paragraph.h: new width cache member
128
129         * rowpainter.C: replace RowList::iterator with Row & where possible
130
131         * lyxfunc.C: replace several view()->text with a single call
132
133         * toc.C: fix 'unused' warning
134
135 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
136
137         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
138         when woring with stream::pos_type
139         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
140
141 2003-10-22  André Pönitz  <poenitz@gmx.net>
142
143         * lyxtext.h:
144         * text.C: use Row & instead of RowList::iterator
145
146         * lyxrow.h: rename end() to endpos()
147
148         * rowpainter.C:
149         * text.C:
150         * text2.C: adjust
151
152 2003-10-22  Angus Leeming  <leeming@lyx.org>
153
154         * buffer.[Ch] (fully_loaded): new member function, returning true
155         only when the file has been loaded fully.
156         Used to prevent the premature generation of previews and by the
157         citation inset to prevent computation of the natbib-style label.
158
159         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
160         templates are all set up.
161
162         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
163
164 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
165
166         * text.C: fixed an "oops" in the "is a bit silly"
167         bug fix
168
169 2003-10-21  André Pönitz  <poenitz@gmx.net>
170
171         * FuncStatus.[Ch]: small stuff, whitespace
172
173         * lyxfont.[Ch]: operator<<() for debug reasons
174
175         * lyxfunc.C:
176         * lyxrow_funcs.C:
177         * lyxtext.h: whitespace, spelling
178
179         * paragraph.C: naming of variables
180
181         * text.C:
182         * text2.C: small stuff
183
184
185 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
186
187         * text.C: (1) finish off the inset display() work;
188         (2) fix the "is a bit silly" bug (accessing char
189         past end of par).
190
191 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * text.C: re-introduce display() for insets, fixing the
194         various bugs (stretch of line above, math inset
195         positioning, ...)
196
197 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
198
199         * text.C (rightMargin): remove spurious semicolon
200
201         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
202         1415)
203
204 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
205
206         * text3.C: fix one crash due to wrong cursor def
207
208 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
209
210         * vc-backend.C (scanMaster): make the regex static
211
212         * LaTeX.C (scanAuxFile): make the regexs static
213
214         * text3.C (doInsertInset, dispatch, dispatch):
215         * text2.C (cursorUp, cursorDown):
216         * text.C (selectNextWordToSpellcheck):
217         * BufferView_pimpl.C (dispatch):
218         * lyxfunc.C (dispatch):  localDispatch -> dispatch
219
220 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * lyxsocket.C: include <cerrno>
223
224 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
225
226         * lyxfunc.C (dispatch): remove textcache stuff
227
228         * bufferlist.C (release): remove textcache stuff
229         (closeAll): ditto
230
231         * TextCache.C: delete file
232         * TextCache.h: delete file
233
234         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
235
236         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
237         delete of the bv_->text.
238         (resizeCurrentBuffer): remove texcache stuff
239         (workAreaResize): ditto
240
241 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
242
243         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
244         action.
245
246 2003-10-16  André Pönitz  <poenitz@gmx.net>
247
248         * lyxrow.[Ch]:
249         * paragraph.h:
250         * rowpainter.C:
251         * text.C:
252         * text2.C:
253         * text3.C: speed up by storing y positions per paragraph plus per-row
254         offset instead of having a 'full' y position in the row.
255
256 2003-10-15  André Pönitz  <poenitz@gmx.net>
257
258         * iterators.[Ch]:
259         * iterators.[Ch]:
260         * undo.[Ch]: make undo aware of inner insets
261
262 2003-10-14  Angus Leeming  <leeming@lyx.org>
263
264         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
265         static member functions LyX::ref() and LyX::cref.
266         (lastfiles): new accessor functions for the new lastfiles_ member var.
267         (addLyXView, views_): add a new LyXView to the list of views_.
268         (updateInset): loop over all LyXViews to call their own updateInset
269         member function, returning a pointer to the Buffer owning the inset.
270
271         * BufferView_pimpl.C (loadLyXFile):
272         * MenuBackend.C (expandLastfiles):
273         * bufferlist.C (MenuWrite, QuitLyX):
274         lastfiles is no longer a global variable.
275         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
276
277         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
278         static function. Access through LyX::cref().emergencyCleanup().
279
280 2003-10-14  André Pönitz  <poenitz@gmx.net>
281
282         * iterators.[Ch]: new direct access to innermost LyXText and Inset
283
284         * undo.[Ch]: restoring part of 'undo in insets'
285
286         * Makefile.am:
287         * undo_funcs.[Ch]: merge with undo.[Ch]
288
289         * tabular.C: small cleansing stuff
290
291 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
292
293         * paragraph_funcs.C (readParToken): report unknown insets as error
294         boxes. Use the outer paragraph as location (also for unknown
295         tokens).
296
297         * factory.C (readInset): do not abort on reading an unknown inset.
298         Eat it and return 0.
299
300 2003-10-13  Angus Leeming  <leeming@lyx.org>
301
302         * lyx_main.C (LyX): remove call to setDisplayTranslator().
303
304         * lyxrc.C: displayTranslator is now a function,
305         declared in GraphicsTypes.h.
306
307 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
308
309         * format.C: new placeholder $$a to pass the socket address.
310
311         * bufferlist.[Ch]: new function getBufferFromTmp.
312
313         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
314           files in the temporary dir.
315
316 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
317
318         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
319
320         * Makefile.am: add lyxsocket.[Ch].
321
322         * lyx_main.C (error_handler): handle SIGPIPE.
323
324 2003-10-13  André Pönitz  <poenitz@gmx.net>
325
326         * BufferView_pimpl.C:
327         * lyxtext.h:
328         * text.C:
329         * text2.C:
330         * text3.C:
331         * undo_funcs.[Ch]: use paroffset_type instead of
332           ParagraphList::iterators to prevent multiple conversion
333           (and get a more robust interface)
334
335 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
336
337         * lyxfunc.C (dispatch): RESULT -> dispatch_result
338         * lyxtext.h: ditto
339         * text3.C (dispatch): ditto
340
341 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
342
343         * LaTeX.C (handleFoundFile): move the static to smaller scope,
344         move the onlyfile, use onlyfile instead of foundfile in a couple
345         of places.
346
347         * DepTable.C (update): flush the error stream a bit more
348
349 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
350
351         * lyxserver.C (callback): adjust
352
353         * lyxfunc.C (getStatus): add a missing brace in commented code
354         (ensureBufferClean): reindent
355         (dispatch): delete version taking a string
356
357 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
358
359         * LaTeX.C (deplog): move found file handlig from here...
360         (handleFoundFile): .. to new function here.
361         (deplog): make sure to discover several files mentioned on the
362         same log line.
363
364 2003-10-10  André Pönitz  <poenitz@gmx.net>
365
366         * lyxfunc.C:
367         * lyxtext.h:
368         * tabular.C:
369         * text.C:
370         * text2.C:
371         * text3.C: fix some of the tabular crashes
372
373 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
374
375         * MenuBackend.C (binding): put debug message into Debug::KBMAP
376
377         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
378
379 2003-10-09  André Pönitz  <poenitz@gmx.net>
380
381         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
382
383         * BufferView.C:
384         * BufferView_pimpl.C:
385         * bufferview_funcs.C:
386         * lyx_cb.C:
387         * lyxcursor.C:
388         * lyxfind.C:
389         * lyxfunc.C:
390         * lyxtext.h:
391         * text.C:
392         * text2.C:
393         * text3.C:
394         * text_funcs.[Ch]:
395         * textcursor.[Ch]:
396         * undo_funcs.C: adjust
397
398 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
399
400         * text2.C (incrementItemDepth): new function, use a backtracking
401         algorithm to discover the correct item depth.
402         (resetEnumCounterIfNeeded): new function, use a backtracking
403         algorithm to discover if counter reset is needed.
404         (setCounter): use them. Simplify a bit. Add different labels for
405         different item depths for itemize.
406
407         * paragraph.C (Paragraph): remove initialization of enumdepth
408         (operator=): ditto
409
410         * paragraph.h: get rid of enumdepth, and use itemdepth both for
411         enumerate and itemize. Change the type of itemdepth to signed char.
412
413 2003-10-08  André Pönitz  <poenitz@gmx.net>
414
415         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
416           thing assignable.
417         * text.C:
418         * text2.C: adjust
419
420         * tabular.[Ch]: fix crash after 'row-insert'
421
422 2003-10-08  Angus Leeming  <leeming@lyx.org>
423
424         Fix doxygen warnings.
425
426         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
427         Remove CutAndPaste:: prefix from header file declaration.
428
429         * LColor.h (fill): remove LColor:: prefix from declaration.
430
431         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
432         use lyx::depth_type rather than Paragraph::depth_type so that
433         header file and .C file match.
434
435         * converter.h (intToFormat): remove Converters:: prefix from declaration.
436
437         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
438         * aspell.C: \file aspell_local.C -> \file aspell.C
439         * gettext.C: \file gettext.C -> \file src/gettext.C
440         * gettext.h: \file gettext.h -> \file src/gettext.h
441         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
442         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
443         * text.C: \file text.C -> \file src/text.C
444
445         * toc.C: move comment so that doxygen is not confused.
446
447 2003-10-07  Angus Leeming  <leeming@lyx.org>
448
449         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
450
451 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
452
453         * aspell.C:
454         * aspell_local.h: add forgotten std::string's.
455
456 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
457
458         * LaTeXFeatures.C:
459         * LyXAction.C:
460         * factory.C:
461         * lfuns.h:
462         * lyxfunc.C:
463         * text3.C: The Box patch. Fancybox support, minipage, parbox
464
465 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
466
467         * CutAndPaste.h:
468         * DepTable.h:
469         * FloatList.h:
470         * LaTeXFeatures.h:
471         * ParagraphParameters.h:
472         * TextCache.h:
473         * Thesaurus.h:
474         * bufferlist.h:
475         * exporter.h:
476         * importer.h:
477         * lastfiles.h:
478         * lyxfind.h:
479         * lyxfont.h:
480         * lyxlex.h:
481         * lyxtextclasslist.h:
482         * messages.h:
483         * paragraph.h:
484         * paragraph_pimpl.C:
485         * textcursor.h: add <string> and other small fixes to make Lars'
486         std::string patch compile with STLport.
487
488 2003-10-06  Angus Leeming  <leeming@lyx.org>
489
490         * LColor.h: Add missing #include <string>.
491
492 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
493
494         * All most all file in all subdirs: Make <string> be the prefered
495         way of getting to std::string, add using declarations.
496
497 2003-10-06  André Pönitz  <poenitz@gmx.net>
498
499         * metricsinfo.C: initialize LyXFont before changing attribute.
500         (fixes the 'math in \emph is upright' bug)
501
502 2003-10-06  André Pönitz  <poenitz@gmx.net>
503
504         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
505
506 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * graph.C:
509         * paragraph_pimpl.C: Small fixes to build using STLport
510
511 2003-10-02  André Pönitz  <poenitz@gmx.net>
512
513         * lyxfunc.C:
514         * text3.C: move handling of LFUN_DEPTH *; fix #1360
515
516 2003-10-01  André Pönitz  <poenitz@gmx.net>
517
518         * factory.C: assert early
519
520 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
521
522         * lyx_main.C: remove the global debug object
523
524         * debug.h: adjust for new debugstream
525
526         * debug.C: adjust for new debugstream and keep the global debug
527         object here.
528
529 2003-09-22  Angus Leeming  <leeming@lyx.org>
530
531         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
532         of g++ which otherwise complain that the scoped_ptr destructor can't delete
533         an incomplete class LyXFont.
534
535 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
536
537         * factory.C: bug fix in branches
538
539 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
540
541         * lyxfunc.C (processKeySym): adjust
542         (dispatch): adjust
543         (dispatch): change arg name from ev to func, adjust
544         (sendDispatchMessage): ditto
545
546         * lyx_main.C (defaultKeyBindings): adjust keybindings
547         (deadKeyBindings): ditto
548
549         * kbsequence.C (addkey): return a FuncRequest
550
551         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
552
553         * kbmap.C (bind): take a FuncRequest as arg, adjust
554         (read): adjust
555         (lookup): adjust
556         (defkey): change to take a FuncRequest as arg, adjust
557         (findbinding): take a FuncRequest as arg, adjust.
558
559         * funcrequest.h (operator=): added
560
561         * funcrequest.C (FuncRequest): default kb_action changed from
562         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
563
564         * buffer.C (dispatch): simplify
565         (dispatch): adjust to take a FuncRequest as arg, adjust
566
567         * boost.C (assertion_failed): change assertion message slightly
568
569         * ToolbarBackend.C (read): simplify
570
571         * MenuBackend.C (binding): adjust call to findbinding, add a
572         message if no binding is found.
573         (read): simplify
574         (expandToc): correct by adding a empty FuncRequest
575
576         * LyXAction.C: include <boost/assert.hpp>
577         (isPseudoAction): delete function
578         (LookupFunc): change name to...
579         (lookupFunc): this. change return type to FuncRequest.
580         (getActionName): take kb_action as arg, simplify
581         (funcHasFlag): add an assert, simplify.
582
583 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
584
585         * toc.C (action): return a FuncRequest, simplify
586
587         * lyxfunc.C (processKeySym): adjust
588         (getStatus): delete version that takes an int.
589         (getStatus): adjust
590         (dispatch): delete version that takes action as int
591         (dispatch): adjust
592         (sendDispatchMessage): simplify and adjust
593
594         * funcrequest.C (getArg): take unsigned int as arg
595
596         * ToolbarBackend.C (read): adjust
597         (add): delete version that takes func as a string.
598         (getIton): take a FuncRequest as arg
599
600         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
601         action.
602
603         * MenuBackend.C (MenuItem): add a new construct that only takes a
604         Kind, simplify the constructor use for submenus.
605         (add): adjust
606         (expandLastfiles): adjust
607         (expandDocuments): adjust
608         (expandFormats): adjust
609         (expandFloatListInsert): adjust
610         (expandFloatInsert): adjust
611         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
612
613         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
614         Remove class variables lyx_pseudo_map and lyx_arg_map
615
616         * LyXAction.C (searchActionArg): delete function
617         (getPseudoAction): delete function
618         (retrieveActionArg): delete function
619         (LookupFunc): make it return kb_action, simplify.
620         (getActionName): simplify
621
622         * factory.C (createInset): fix new bug
623
624 2003-09-19  Angus Leeming  <leeming@lyx.org>
625
626         * CutAndPaste.C (pasteSelection): remove fudge used to set the
627         masterFilename_ parameter in the include inset.
628
629         * factory.C (createInset): changes due to the changes to InsetInclude.
630
631 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
632
633         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
634
635 2003-09-18  Angus Leeming  <leeming@lyx.org>
636
637         * buffer.C:
638         * BufferView.C: pass the buffer when calling Inset::getLabelList,
639         Inset::fillWithBibKeys.
640         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
641
642 2003-09-18  Angus Leeming  <leeming@lyx.org>
643
644         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
645         variables.
646         (ctor): pass and store a 'Buffer const &'
647         (buffer): new member function.
648
649         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
650         '*this' to the LaTeXFeatures ctor.
651
652 2003-09-18  Angus Leeming  <leeming@lyx.org>
653
654         * LColor.h:
655         * lyxfont.C:
656         * lyxfont.h:
657         * lyxtext.h:
658         * text.C: rename EnumLColor as LColor_color.
659
660 2003-09-18  Angus Leeming  <leeming@lyx.org>
661
662         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
663         remove #include "insets/insetbase.h" from cursor.h.
664
665 2003-09-18  Angus Leeming  <leeming@lyx.org>
666
667         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
668         InsetOld_code to remove #include "inset.h".
669
670         * iterators.C: add #include "insets/inset.h"
671
672 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
673
674         * BufferView.C: remove more locking stuff that apparently doesn't
675         do anything sensible.
676
677 2003-09-16  André Pönitz  <poenitz@gmx.net>
678
679         * paragraph.[Ch]:
680         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
681           performance boost.
682
683 2003-09-16  Angus Leeming  <leeming@lyx.org>
684
685         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
686
687         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
688         arg/return type.
689
690         * paragraph.h: remove #include "lyxfont.h". Forward declare
691         LyXFont_size.
692
693 2003-09-16  Angus Leeming  <leeming@lyx.org>
694
695         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
696         of support/textutils.h.
697         (isWord): move the contents of support/textutils.h's IsWordChar here.
698
699         * buffer.C:
700         * lyxfind.C:
701         * rowpainter.C:
702         * text.C:
703         * text2.C: add #include "paragraph.h".
704
705         * rowpainter.C:
706         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
707
708 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * main.C:
711         * lyx_main.C:
712         * lyx_cb.C:
713         * buffer.C:
714         * LaTeX.C: use namespace alias for lyx::support::os
715
716 2003-09-16  Angus Leeming  <leeming@lyx.org>
717
718         * bufferparams.C:
719         * bufferview_funcs.C:
720         * factory.C:
721         * lyxfunc.C:
722         * paragraph_pimpl.C:
723         * rowpainter.C:
724         * text.C: add #include "LColor.h".
725
726 2003-09-16  Angus Leeming  <leeming@lyx.org>
727
728         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
729         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
730         return LyXFont &.
731         Store the FontBits::color variable as an int rather than as an
732         LColor::colorso that we can move LColor.h out of the lyxfont.h header
733         file.
734
735         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
736         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
737         string calls together.
738
739         * lyxrc.C: add #include "LColor.h".
740
741 2003-09-15  Angus Leeming  <leeming@lyx.org>
742
743         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
744         a cow_ptr.
745
746 2003-09-15  Angus Leeming  <leeming@lyx.org>
747
748         * LColor.h: add an EnumLColor wrapper for LColor::color.
749
750         * lyxfont.[Ch] (color, setColor, realColor):
751         * lyxtext.h, text.C (backgroundColor):
752         pass EnumLColor args to/from the functions, rather than LColor::color
753         ones.
754
755         * lyxfont.h:
756         * lyxtext.h: forward declare EnumLColor.
757
758         * lyx_main.C: add #include "LColor.h".
759
760 2003-09-15  Angus Leeming  <leeming@lyx.org>
761
762         * .cvsignore: add lyx-gtk.
763
764 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
765
766         * Chktex.C
767         * LaTeX.C
768         * LaTeXFeatures.C
769         * ParagraphParameters.C
770         * Spacing.C
771         * buffer.C
772         * bufferparams.C
773         * bufferview_funcs.C
774         * chset.C
775         * counters.C
776         * funcrequest.C
777         * lyxfont.C
778         * lyxgluelength.C
779         * lyxlength.C
780         * paragraph.C
781         * paragraph_funcs.C
782         * text3.C
783         * vc-backend.C: remove usage of STRCONV
784
785 2003-09-15  Angus Leeming  <leeming@lyx.org>
786
787         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
788         explicitly define the color passed to the painter.
789
790 2003-09-15  Angus Leeming  <leeming@lyx.org>
791
792         * bufferparams.C (BufferParams): reorder member initializers to avoid
793         compiler warning.
794
795 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
796
797         * CutAndPaste.C (pasteSelection): remove an outdated #warning
798         * text.C (updateRowPositions): remove an unusual nop
799
800 2003-09-12  André Pönitz  <poenitz@gmx.net>
801
802         * BufferView_pimpl.C:
803         * Bullet.C:
804         * layout.h:
805         * lyxfunc.C:
806         * lyxlayout.[Ch]:
807         * lyxtextclass.C:
808         * rowpainter.C:
809         * text.C:
810         * text2.C:
811         * Counters.[Ch]: finish the 'automatic counters' job
812
813 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
814
815         * aspell.C: include <boost/assert.cpp> (compile fix)
816
817 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
818
819         * boost.C (assertion_failed): use lyx::support::abort instead of
820         assert.
821
822 2003-09-10  Angus Leeming  <leeming@lyx.org>
823
824         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
825         with their _fwd progeny.
826
827 2003-09-09  Angus Leeming  <leeming@lyx.org>
828
829         134 files throughtout the source tree: replace 'using namespace abc;'
830         directives with the appropriate 'using abc::xyz;' declarations.
831
832 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
833
834         * boost.C (emergencyCleanup): moved here from LAssert.c
835         (assertion_failed): new function, called by BOOST_ASSERT
836
837         * several files: change Assert to BOOST_ASSERT
838
839 2003-09-09  Angus Leeming  <leeming@lyx.org>
840
841         * buffer.[Ch]: Add an Impl class and move Buffer's member
842         variables into it. As a result move several header files out of
843         buffer.h.
844
845         Add header files to lots of .C files all over the tree as a result.
846
847 2003-09-09  Angus Leeming  <leeming@lyx.org>
848
849         * buffer.[Ch]: make Buffer's member variables private. Add
850         accessor functions.
851
852         Lots of changes all over the tree as a result.
853
854 2003-09-08  Angus Leeming  <leeming@lyx.org>
855
856         * graph.C: #include <config.h>.
857
858 2003-09-08  Angus Leeming  <leeming@lyx.org>
859
860         * BranchList.C:
861         * BufferView.C:
862         * BufferView_pimpl.C:
863         * CutAndPaste.C:
864         * DepTable.C:
865         * LaTeX.C:
866         * LaTeXFeatures.C:
867         * LyXAction.C:
868         * MenuBackend.C:
869         * TextCache.C:
870         * aspell.C:
871         * buffer.C:
872         * bufferlist.C:
873         * changes.C:
874         * chset.C:
875         * converter.C:
876         * counters.C:
877         * debug.C:
878         * graph.C:
879         * ispell.C:
880         * lyx_cb.C:
881         * lyxfind.C:
882         * lyxfunc.C:
883         * lyxlex_pimpl.C:
884         * lyxrc.C:
885         * lyxrow.C:
886         * paragraph.C:
887         * rowpainter.C:
888         * texrow.C:
889         * text.C:
890         * text2.C:
891         * toc.C: remove redundant using directives.
892
893 2003-09-07  Angus Leeming  <leeming@lyx.org>
894
895         * LaTeXFeatures.h: remove #include "support/types.h".
896         * ToolbarBackend.h: remove #include <algorithm>.
897         * changes.h: remove #include <ctime>.
898         * debug.h: remove #include <iosfwd>.
899         * graph.h: remove #include "support/std_string.h".
900         * lyx_main.h: remove #include <csignal>.
901         * lyxlex_pimpl.h: remove #include <fstream>.
902         * sgml.h: remove #include <algorithm>, <utility>.
903         * toc.h: remove #include "support/std_ostream.h".
904         Add #include <iosfwd>.
905
906 2003-09-07  Angus Leeming  <leeming@lyx.org>
907
908         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
909
910         * converter.h: forward declare LatexRunParams.
911         * encoding.h: remove #include "lyxrc.h".
912         * lyxtext.h: remove #include "LColor.h".
913         * lyxtextclass.h: remove #include "support/types.h".
914         * trans.h: remove #include "tex-accent.h".
915         * trans_mgr.h: remove #include "tex-accent.h".
916         * insets/inset.h: remove #include "support/types.h", <vector>.
917         * insets/insetcollapsable.h: remove #include "LColor.h".
918         * insets/insetinclude.h: remove #include "dimension.h".
919         * insets/insetlatexaccent.h: remove #include "dimension.h".
920         * insets/insetoptarg.h:: remove #include "insettext.h".
921         * insets/insettext.h: remove #include "dimension.h",
922         <boost/shared_ptr.hpp>
923
924         * insets/renderers.h: add #include "dimension.h".
925         * insets/updatableinset.h: add #include "support/types.h".
926
927         * many .C files: Associated changes.
928
929 2003-09-06  Angus Leeming  <leeming@lyx.org>
930
931         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
932         one, inside testInvariant.
933
934         * PrinterParams.C: new file.
935         * PrinterParams.[Ch]: move the function bodies out of line.
936
937 2003-09-06  Angus Leeming  <leeming@lyx.org>
938
939         * ParagraphParameters.h: forward declare ParameterStruct rather than
940         including its header file.
941         (depth): moved out-of-line.
942
943 2003-09-06  Angus Leeming  <leeming@lyx.org>
944
945         * BufferView_pimpl.h:
946         * kbmap.h:
947         * kbsequence.h:
948         * lyxfunc.h: forward declare LyXKeySym rather than
949         #include "frontends/LyXKeySym.h".
950
951         * BufferView_pimpl.C:
952         * kbmap.C:
953         * kbsequence.C:
954         * lyxfunc.C: associated changes.
955
956 2003-09-06  Angus Leeming  <leeming@lyx.org>
957
958         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
959         As a result, can remove the #include "insets/inset.h" from BufferView.h
960
961 2003-09-06  Angus Leeming  <leeming@lyx.org>
962
963         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
964         As a result, can remove the #include "insets/inset.h" from BufferView.h
965
966 2003-09-06  Angus Leeming  <leeming@lyx.org>
967
968         * buffer_funcs.C:
969         * buffer.h:
970         * bufferlist.C:
971         * BufferView.C:
972         * bufferview_funcs.C:
973         * BufferView_pimpl.C:
974         * CutAndPaste.C:
975         * lyx_cb.C:
976         * lyxfunc.C:
977         * paragraph.h:
978         * ParagraphParameters.C:
979         * tabular.C:
980         * text3.C:
981         * toc.C:
982         * undo_funcs.C:
983         * frontends/controllers/ControlDocument.C:
984         * insets/insetcaption.C: rearrange the #includes into some sort of
985         coherent order.
986
987         * buffer.h: remove #includes ErrorList.h, undo.h
988
989 2003-09-06  Angus Leeming  <leeming@lyx.org>
990
991         * support/types.h: add a 'depth_type' typedef, used to store the
992         nesting depth of a paragraph.
993
994         * paragraph.h:
995         * ParameterStruct.h: use this lyx::depth_type typedef rather than
996         defining explicitly.
997
998         * buffer.h:
999         * paragraph_funcs.h:
1000         * ParagraphParameters.h:
1001         * sgml.h: use lyx::depth_type rather than Paragraph or
1002         ParameterStruct's depth_type.
1003
1004         * buffer.h
1005         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1006
1007         * BufferView.C:
1008         * BufferView_pimpl.C:
1009         * CutAndPaste.C:
1010         * ParagraphParameters.C:
1011         * buffer_funcs.C:
1012         * bufferlist.C:
1013         * bufferview_funcs.C:
1014         * lyx_cb.C:
1015         * lyxfunc.C:
1016         * tabular.C:
1017         * text3.C:
1018         * toc.C:
1019         * undo_funcs.C:
1020         * frontends/LyXView.C:
1021         * frontends/controllers/ControlDocument.C:
1022         * frontends/controllers/ControlErrorList.C:
1023         * insets/insetbibitem.C:
1024         * insets/insetbranch.C:
1025         * insets/insetcaption.C:
1026         * insets/insetcollapsable.C:
1027         * insets/insetenv.C:
1028         * insets/insetert.C:
1029         * insets/insetfloat.C:
1030         * insets/insetfoot.C:
1031         * insets/insetfootlike.C:
1032         * insets/insetnewline.C:
1033         * insets/insetquotes.C:
1034         * insets/insettabular.C:
1035         * insets/insettext.C:
1036         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1037
1038         * frontends/controllers/ControlChanges.C: #include "changes.h".
1039
1040 2003-09-06  Angus Leeming  <leeming@lyx.org>
1041
1042         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1043         than #including paragraph.h.
1044
1045         * ParagraphList.h:
1046         * RowList.h: deleted. Superfluous.
1047
1048         * CutAndPaste.h:
1049         * iterators.h:
1050         * lyxcursor.h:
1051         * lyxtext.h:
1052         * text_funcs.h:
1053         * undo.h:
1054         * undo_funcs.h:
1055         * insets/inset.h:
1056         * insets/insettext.h: use ParagraphList_fwd.h rather than
1057         ParagraphList.h.
1058
1059         * paragraph.h: don't forward declare ParagraphList.
1060
1061         * buffer.h:
1062         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1063         rather than ParagraphList.h. paragraph.h is still needed for the
1064         Paragraph::depth_type parameters.
1065
1066         * textcursor.h: enable it to compile stand-alone in light of the
1067         above changes.
1068
1069         * bufferview_funcs.C:
1070         * iterators.C:
1071         * lyxfunc.C:
1072         * lyxrow_funcs.C:
1073         * paragraph.C:
1074         * rowpainter.C:
1075         * text.C:
1076         * text2.C:
1077         * text3.C:
1078         * text_funcs.C:
1079         * textcursor.C:
1080         * undo.C:
1081         * frontends/controllers/ControlParagraph.C:
1082         * frontends/controllers/ControlTabular.C:
1083         * insets/insetmarginal.C:
1084         * insets/insetminipage.C:
1085         * insets/insetnote.C:
1086         * insets/insetoptarg.C: add header files needed to compile again.
1087
1088 2003-09-06  Angus Leeming  <leeming@lyx.org>
1089
1090         * RowList_fwd.h: new file, forward-declaring Row rather than
1091         #including lyxrow.h.
1092
1093         * lyxrow_funcs.h:
1094         * lyxtext.h:
1095         * paragraph.h:
1096         * insets/insettext.h: use it instead of RowList.h
1097
1098         * bufferview_funcs.C:
1099         * lyxfunc.C:
1100         * lyxrow_funcs.C:
1101         * paragraph.C:
1102         * rowpainter.C:
1103         * text.C:
1104         * text2.C:
1105         * text3.C: #include "RowList.h".
1106
1107 2003-09-05  Angus Leeming  <leeming@lyx.org>
1108
1109         * factory.C (createInset):
1110         * vspace.C (c-tor): replace sscanf call with an istringstream.
1111         * ispell.C: re-add missing HP/UX headers.
1112         * lyxserver.C: re-add missing  os2 headers.
1113
1114 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * BranchList.C:
1117         * graph.C:
1118         * ispell.C:
1119         * lastfiles.C:
1120         * lyx_cb.C:
1121         * lyxserver.C:
1122         * texrow.C:
1123         * text3.C: re-add missing system headers, needed for 2.95.2.
1124
1125 2003-09-05  Angus Leeming  <leeming@lyx.org>
1126
1127         Changes most place everywhere due to the removal of using directives
1128         from support/std_sstream.h.
1129
1130 2003-09-05  Angus Leeming  <leeming@lyx.org>
1131
1132         Replace LString.h with support/std_string.h,
1133         Lsstream.h with support/std_sstream.h,
1134         support/LIstream.h with support/std_istream.h,
1135         support/LOstream.h with support/std_ostream.h.
1136
1137         Changes resulting throughout the tree.
1138
1139 2003-09-05  Angus Leeming  <leeming@lyx.org>
1140
1141         * sgml.h: ensure that the header file can be compiled stand-alone.
1142         * *.C: strip out redundant #includes. (320 in total.)
1143
1144 2003-09-04  Angus Leeming  <leeming@lyx.org>
1145
1146         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1147         here (from getPackages).
1148
1149         * debug.[Ch]: add a new EXTERNAL tag.
1150
1151 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1152
1153         * text2.C (cursorEnd): simplify
1154         (setCursor): adjust
1155         (getColumnNearX): adjust
1156
1157         * text.C (computeBidiTables): adjust
1158         (fill): adjust
1159
1160         * rowpainter.C (paintChars): adjust
1161         (paintSelection): adjust
1162         (paintChangeBar): adjust
1163         (paintText): adjust
1164
1165         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1166         lastPos instead.
1167         (numberOfSeparators): adjust
1168
1169 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1170
1171         * LyXAction.C:
1172         * box.[Ch]:
1173         * lfuns.h:
1174         * lyxfunc.C:
1175         * text3.C: Restricts the mouse click functionality
1176         of insets like bibtex, include, toc and floatlist to the visible
1177         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1178         up the dialogs. Cursor has to be in front of the inset (i.e.
1179         start of row) for this to function.
1180
1181 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1182
1183         * bufferview_funcs.C (currentState): output row information
1184
1185 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1186
1187         * bufferview_funcs.C (currentState): output paragraph position
1188
1189 2003-09-04  Angus Leeming  <leeming@lyx.org>
1190
1191         * FloatList.h: move out #include "Floating.h".
1192         * LaTeX.h: move out #include "DepTable.h".
1193         * LyXAction.h: move out #include "funcrequest.h".
1194         * buffer.h: move out #include "author.h", "iterators.h".
1195         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1196         * lyx_main.h: move out #include "errorlist.h".
1197         * lyxfunc.h: move out #include "FuncStatus.h".
1198         * lyxtext: move out #include "lyxcursor.h".
1199         * paragraph_pimpl.h: move out #include "counters.h".
1200
1201 2003-09-03  Angus Leeming  <leeming@lyx.org>
1202
1203         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1204         preamble_snippets list, enabling us to add snippets to the preamble
1205         only if the snippet was not there already.
1206
1207 2003-09-04  Angus Leeming  <leeming@lyx.org>
1208
1209         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1210
1211 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1212
1213         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1214         update
1215
1216 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * BranchList.C: point fix, earlier forgotten
1219
1220 2003-09-02  Angus Leeming  <leeming@lyx.org>
1221
1222         * box.C (contains): renamed from 'contained' after a fantastic
1223         amount of hot air.
1224
1225 2003-09-02  John Levon  <levon@movementarian.org>
1226
1227         * BufferView.C:
1228         * lyxcursor.h:
1229         * lyxcursor.C:
1230         * lyxfunc.C:
1231         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1232
1233 2003-09-02  John Levon  <levon@movementarian.org>
1234
1235         * text2.C: simplification of cursorEnd(), including partial
1236         fix for bug 1376
1237
1238 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1239
1240         * buffer.C (readFile): add a space
1241
1242 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1243
1244         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1245
1246 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1247
1248         * buffer.C (readFile): new function, take a filename and a
1249         ParagraphList::iterator
1250         (readFile): adjust
1251         (readFile): adjust, make it private. don't use setStream, make
1252         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1253         always contain the filename.
1254
1255         * BufferView.C (insertLyXFile): simplify and make it work for
1256         gzipped files.
1257
1258 2003-08-30  John Levon  <levon@movementarian.org>
1259
1260         * Makefile.am: fix dist (from Kayvan)
1261
1262 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * most files: change to use const Buffer refs
1265
1266 2003-08-27  André Pönitz  <poenitz@gmx.net>
1267
1268         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1269         on top of ownerPar().
1270
1271 2003-08-27  John Levon  <levon@movementarian.org>
1272
1273         * funcrequest.C: properly initialise POD members
1274
1275 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1276
1277         * lyxtext.h (top_y): move top_y from here
1278         * text.C:
1279         * text2.C:
1280         * text3.C:
1281         * BufferView.[Ch]:
1282         * BufferView_pimpl.[Ch]: to here
1283         * frontends/screen.C:
1284         * insets/insettabular.C:
1285         * insets/insettext.C: adjust
1286         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1287
1288 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1289
1290         * BufferView.[Ch]:
1291         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1292
1293 2003-08-26  André Pönitz  <poenitz@gmx.net>
1294
1295         * paragraph_func.[Ch] (outerPar): new function
1296
1297         * paragraph.C:
1298         * paragraph_funcs.C:
1299         * paragraph_funcs.h:
1300         * paragraph_pimpl.C:
1301         * text2.C: remove Inset::par_owner
1302
1303 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * lyxrow_funcs.C:
1306         * lyxtext.h:
1307         * text.C:
1308         * text2.C: eliminates the needFullRow/display() stuff
1309         altogether, putting the logic in metrics/draw in the insets.
1310
1311 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1312
1313         * text2.C (redoParagraphInternal, redoParagraphs):
1314         * text.C (redoParagraph): add a call to updateRowPositions at the
1315         end of each 'metrics-like' call. Remove all others.
1316         (getRow): remove the 'y-computing' version.
1317         (getRowNearY): do not compute nor return the real y. Solve the
1318         'y < 0' problem and simplify.
1319
1320 2003-08-22  Angus Leeming  <leeming@lyx.org>
1321
1322         * *.[Ch]: clean-up of licence and author blurbs.
1323         Also move config.h out of a few .h files and into a few .C files.
1324
1325 2003-08-22  André Pönitz  <poenitz@gmx.net>
1326
1327         * lyxrow.[Ch]: add x_ and *fill_ members
1328
1329         * lyxtext.h:
1330         * text.C:
1331         * rowpainter.C:
1332         * text2.C: adjust/remove prepareToPrint() calls
1333
1334 2003-08-22  André Pönitz  <poenitz@gmx.net>
1335
1336         * lyxrow.[Ch]: add  end_ member
1337
1338         * lyxrow_funcs.C: use LyXRow::end_
1339
1340         * lyxtext.h (singleWidth): add LyXFont parameter
1341
1342         * rowpainter.C:
1343         * text2.C: adjust LyXText::singleWidth() calls
1344
1345         * text.C (redoParagraph): simplify row breaking logic
1346
1347
1348 2003-08-19  André Pönitz  <poenitz@gmx.net>
1349
1350         * funcrequest.C: initialize button_ member
1351
1352         * text3.C:
1353         * rowpainter.[Ch]: interface consolidation
1354
1355 2003-08-18  André Pönitz  <poenitz@gmx.net>
1356
1357         * BufferView.C:
1358         * BufferView_pimpl.C:
1359         * lyxfind.C:
1360         * paragraph_funcs.C:
1361         * rowpainter.C:
1362         * text3.C: remove LyXScreen::draw() and fitCursor calls
1363
1364         * BranchList.h: remove spurious semicolons
1365
1366         * MenuBackend.C: fix branchlist related crash
1367
1368 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1369
1370         * BranchList.[Ch]:
1371         * InsetList.[Ch]:
1372         * LColor.[Ch]:
1373         * LyXAction.C:
1374         * Makefile.am:
1375         * MenuBackend.[Ch]:
1376         * bufferparams.[Ch]:
1377         * factory.C:
1378         * lfuns.h:
1379         * lyxfunc.C:
1380         * text3.C: implements the 'branch inset'
1381         idea. This allows the output of various versions of a document
1382         from a single source version, selectively outputing or suppressing
1383         output of parts of the text.
1384         This implementation contains a 'branch list editor' in a separate
1385         tab of the document settings dialog. Branches are user definable
1386         and have a "display colour" to distinguish them on-screen.
1387
1388         ColorHandler was somewhat cleaned up.
1389         (1) make possible a dynamically growing LColor list by allowing
1390         the graphic context cache to grow along (vector);
1391         (2) eliminate an IMHO unnecessary step in colour allocation.
1392
1393 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1394
1395         * BufferView_pimpl.C: compile fix
1396
1397 2003-08-15  André Pönitz  <poenitz@gmx.net>
1398
1399         * rowpainter.C: remove extra metrics calls
1400
1401         * lyxtext.h: merge the two constructors into a single one,
1402           pass reference to owner's par list
1403
1404         * BufferView_pimpl.C:
1405         * text.C:
1406         * text2.C: adjust
1407
1408 2003-08-15  André Pönitz  <poenitz@gmx.net>
1409
1410         * lyxrow_funcs.[Ch]:
1411         * lyxtext.h:
1412         * paragraph.h:
1413         * paragraph_funcs.C:
1414         * rowpainter.C:
1415         * text.C:
1416         * text2.C:
1417         * text3.C:
1418         * text_funcs.C: split LyXText::rowlist_ into individual
1419         Paragraph::rows_ chunks
1420
1421         * BufferView.[Ch]:
1422         * BufferView_pimpl.[Ch]:
1423         * lyxfind.C:
1424         * lyxtext.h:
1425         * text3.C: remove toggleSelection()
1426
1427 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1428
1429         * bufferlist.C: beautify two alerts (shorter text of buttons)
1430         * buffer.C: Remove redundant ' ' from message
1431         * tabular.h:
1432         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1433         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1434         rename VALIGN_CENTER to VALIGN_MIDDLE
1435
1436 2003-08-11  André Pönitz  <poenitz@gmx.net>
1437
1438         * lyxtext.h (getPar):
1439         * text.C: new function
1440
1441 2003-08-11  André Pönitz  <poenitz@gmx.net>
1442
1443         * Makefile.am:
1444         * tracer.[Ch]: remove unneeded files
1445
1446         * InsetList.[Ch]: remove resizeInsetsLyXText()
1447
1448         * lyxtext.h:
1449         * text.C:
1450         * text2.C:
1451         * text3.C: merge insertParagraphs() and appendParagraph()
1452         remove breakAgain(), update()
1453
1454         * BufferView_pimpl.[Ch]:
1455         * bufferview_funcs.[Ch]:
1456         * lyxfunc.C:
1457         * paragraph.[Ch]:
1458         * rowpainter.C:
1459         * tabular.C: adjust after text & InsetList changes.
1460
1461 2003-08-08  André Pönitz  <poenitz@gmx.net>
1462
1463         * text.C (insertChar, backspace): replace rowlist fiddling
1464         with rebreak of full par
1465
1466         * lyxtext.h:
1467         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1468         checkParagraph, updateInset): removed
1469
1470 2003-08-07  André Pönitz  <poenitz@gmx.net>
1471
1472         * paragraph.C:
1473         * text3.C: merge some LFUN handlers, remove dead code
1474
1475 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1478
1479 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1480
1481         * text2.C (DEPM): fix part of bug 1255 and 1256
1482
1483 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * BufferView_pimpl.C (workAreaDispatch): change to use
1486         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1487         that are no mouse related.
1488
1489 2003-08-05  André Pönitz  <poenitz@gmx.net>
1490
1491         * BufferView.[Ch]:
1492         * BufferView_pimpl.[Ch]:
1493         * bufferview_funcs.C:
1494         * text2.C:
1495         * text3.C: rip out "deep update"
1496
1497         * textcursor.[Ch] (last_sel_cursor): remove unused member
1498
1499 2003-08-04  André Pönitz  <poenitz@gmx.net>
1500
1501         * BufferView.[Ch]:
1502         * BufferView_pimpl.[Ch]:
1503         * ParagraphParameters.C:
1504         * bufferview_funcs.C:
1505         * lyx_cb.C:
1506         * lyxfind.C:
1507         * lyxfunc.C:
1508         * text.C:
1509         * text2.C:
1510         * text3.C: replace "complicated" BufferView::update(...) calls with
1511         simpler ones.
1512
1513         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1514
1515 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1516
1517         * Makefile.am (lyx_SOURCES): add paper.h
1518
1519 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1520
1521         * Makefile.am: move things around so that both lyx-qt and
1522         lyx-xforms can be built (according to --with-frontend). Then lyx
1523         is a symbolic link to lyx-[firstfrontend]
1524
1525 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1526
1527         * Always use std::endl with lyxerr
1528
1529 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1530
1531         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1532
1533 2003-08-01  André Pönitz  <poenitz@gmx.net>
1534
1535         * BufferView.[Ch]:
1536         * BufferView_pimpl.[Ch]:
1537         * lyxfunc.C:
1538         * text3.C: merge BufferView::repaint() and BufferView::update()
1539
1540 2003-08-01  José Matos  <jamatos@lyx.org>
1541
1542         * buffer.[Ch]: file_format is no longer a buffer data element.
1543
1544 2003-08-01  André Pönitz  <poenitz@gmx.net>
1545
1546         * BufferView.C:
1547         * lyxtext.h:
1548         * text.C:
1549         * text2.C: make redoParagraph more independent of current cursor
1550
1551         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1552         * text.C:
1553         * text2.C: remove unneeded members
1554
1555 2003-07-30  André Pönitz  <poenitz@gmx.net>
1556
1557         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1558
1559         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1560           create a single function...
1561
1562         * paragraph_funcs.C (moveItem): ... here.
1563
1564         * text.C:
1565           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1566
1567 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1568
1569         * LColor.[Ch]: Add comment and greyedout logical colors.
1570
1571 2003-07-30  André Pönitz  <poenitz@gmx.net>
1572
1573         * tabular.C: don't use Assert too heavily. This crashes where it
1574           shouldn't
1575
1576 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1577
1578         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1579         is disabled (bug 1232)
1580
1581 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1582
1583         * factory.C: limited 'arg' scope
1584
1585 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1586
1587         * factory.C: fixed Note submenu issues
1588
1589 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1590
1591         * factory.C: submenu for Note/Comment/Greyedout
1592
1593 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1594
1595         * lyx_main.C (LyX):
1596         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1597
1598 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1599
1600         * LaTeXFeatures.C:
1601         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1602         greyedout. Patch provided by Jürgen Spitzmüller.
1603
1604 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * kbmap.C (read): fix error message when reading bind files
1607
1608 2003-07-29  Angus Leeming  <leeming@lyx.org>
1609
1610         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1611         certainly does not do what it purports to do. I am doing it, and
1612         us, a favour by killing it.
1613
1614 2003-07-28  José Matos  <jamatos@lyx.org>
1615
1616         * buffer.C (readBody, do_writeFile):
1617         * paragraph.C(readParagraph): \end_document replaces \the_end.
1618
1619 2003-07-29  André Pönitz  <poenitz@gmx.net>
1620
1621         * BufferView.[Ch]:
1622         * BufferView_pimpl.[Ch]:
1623         * lyxfunc.C:
1624         * text2.C:
1625         * text3.C:
1626         * textcursor.[Ch]: remove toggleToggle & Co
1627
1628 2003-07-28  José Matos  <jamatos@fep.up.pt>
1629
1630         * buffer.C (readParagraph):
1631         * params_func (readParToken, readParagraph):
1632         * paragraph.C (write): \layout -> \begin_layout.
1633
1634 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1635
1636         * lyxlex_pimpl.C (setFile): clean up slightly.
1637
1638         * bufferparams.h: add compressed var
1639
1640         * buffer_funcs.C (readFile): adjust for LyXLex change
1641         (newFile): ditto + simplify
1642
1643         * buffer.C (writeFile): handle writing of compressed files
1644
1645         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1646         Check if the file is compressed and set a bufferparm if so.
1647
1648         * Makefile.am (lyx_LDADD): remove explicit -lz
1649
1650 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1651
1652         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1653         makeDocBookFile): put the real LyX version in the first line of
1654         the file
1655
1656         * version.h:
1657         * version.C.in: remove lyx_docversion
1658
1659         * tabular.C (write_attribute): add a template-based version to
1660         write enums properly
1661
1662 2003-07-28  André Pönitz  <poenitz@gmx.net>
1663
1664         * lyxtext.h:
1665         * text.C:
1666         * text2.C:
1667         * text3.C: use doubles again for x-coordinates. They are needed.
1668
1669 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1670
1671         * messages.C (getLocaleDir): use lyx_localedir()
1672
1673         * lyxlex_pimpl.C (setFile): compress stuff
1674
1675         * buffer.C (writeFile): add some compression stuff
1676         (do_writeFile): new func, dont call expliti close... will this
1677         breake anything?
1678
1679         * Makefile.am (lyx_LDADD): add -lz
1680
1681 2003-07-28  José Matos  <jamatos@fep.up.pt>
1682
1683         * buffer.C: increment file format.
1684         * paragraph_funcs (readParagraph, readParToken):
1685         * paragraph.C (readParagraph): add \end_layout.
1686
1687 2003-07-27  Angus Leeming  <leeming@lyx.org>
1688
1689         * Makefile.am: remove special casing for configure-time setting of
1690         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1691
1692         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1693         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1694
1695 2003-07-26  André Pönitz  <poenitz@gmx.net>
1696
1697         * paragraph_func.[Ch]:
1698         * paragraph.C (realizeFont): inline it whereever it is used
1699
1700         * rowpainter.C:
1701         * text.C:
1702         * text2.C:
1703         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1704
1705
1706 2003-07-26  André Pönitz  <poenitz@gmx.net>
1707
1708         *       lyxtext.h:
1709         * text.C:
1710         * text2.C: get rid of LyXText::need_break_row
1711
1712 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1713
1714         * toc.[Ch]: put namespace toc inside namespace lyx
1715
1716         * MenuBackend.C (expandToc2): adjust for lyx::toc
1717         (expandToc): ditto
1718
1719         * lyxfunc.C (dispatch): adjust for lyx::find
1720
1721         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1722         lyx::find instead. Reorganize a bit.
1723         (LyXReplace): rename to replace
1724         (LyXFind): rename to find
1725
1726         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1727         (dispatch): ditto
1728
1729 2003-07-26  André Pönitz  <poenitz@gmx.net>
1730
1731         * text.C (setHeightOfRow): restrict scope of temporary variable
1732
1733         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1734           code (never has been used?)
1735
1736 2003-07-27  Asger Alstrup  <alstrup@local>
1737
1738         * text.C (fill): Optimise algorithm to exploit that we can reuse
1739         the LyXFont for many characters.
1740         (setHeightOfRow): Same thing.
1741         (rowBreakPoint): Same thing.
1742
1743 2003-07-26  Asger Alstrup  <alstrup@local>
1744
1745         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1746
1747         * text.C (singleWidth): Spurious font copying in hot-spot
1748         singleWidth avoided. Reorder tests for arabic for efficiency.
1749
1750         * text.C (fill): handle empty paragraphs better.
1751
1752 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1753
1754         * ispell.C:
1755         * encoding.h: add includes
1756
1757         * lyxrc.C: remove reading of bind files
1758
1759         * lyx_main.C (init): setup bindings and menus only if we have a
1760         gui.
1761
1762         * kbmap.C (read): new method. Do the actual reading of bind
1763         files.
1764
1765         * converter.C (dvipdfm_options):
1766         * bufferparams.C:
1767         * lyxrc.C (read):
1768         (output): adapt PAPER_* enums.
1769
1770         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1771
1772         * bufferparams.h: remove paper-related enums from there
1773
1774         * paper.h: New file. A trivial header file to hold paper-related
1775         enums. It should later expand to contain many paper-related
1776         horrors access.
1777
1778         * lyxrc.C: declare extern displayTranslator
1779
1780 2003-07-27  José Matos  <jamatos@fep.up.pt>
1781
1782         * tabular.[Ch] (linuxdoc): add support for tables and figures
1783         (linuxdoc).
1784
1785 2003-07-27  José Matos  <jamatos@fep.up.pt>
1786
1787         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1788         consistency in both functions.
1789         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1790
1791 2003-07-26  Asger Alstrup  <alstrup@local>
1792
1793         * rowpainter.C (paintRows): Change algorithm to work directly on
1794         the insets rather than asking every character in the document
1795         whether its an inset.
1796
1797 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1798
1799         * buffer.C (openFileWrite): factorize some code
1800
1801 2003-07-26  Angus Leeming  <leeming@lyx.org>
1802
1803         * lyx_cb.C:
1804         * lyx_main.[Ch]: replace occurances of system_tempdir with
1805         os::getTmpDir().
1806
1807 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1808
1809         * rename Inset to InsetOld
1810
1811 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1812
1813         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1814         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1815         which I think is a bit clearer. EDIT is gone, since it was
1816         premature optimisation, and broken for mathed anyway.
1817         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1818         with cursor positioning in insets as well (math insets still do not
1819         work, but that's a different story anyway.) It mysteriously
1820         crashes sometimes with undo in the first paragraph, but I'm fairly
1821         confident that this is a compiler bug.
1822
1823 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1824
1825         * paragraph.C (Paragraph): adjust for new clone return type
1826         (operator==): ditto
1827         (copyIntoMinibuffer): ditto
1828
1829 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1830
1831         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1832         by not having a special case, and always doing a full rebreak of
1833         the document after undo.
1834
1835 2003-07-23  Angus Leeming  <leeming@lyx.org>
1836
1837         * factory.C (createInset): InsetExternal::setParams now takes a
1838         Buffer const * arg.
1839
1840 2003-07-23  Angus Leeming  <leeming@lyx.org>
1841
1842         * factory.C (createInset): changed interface to the external and
1843         graphics mailers' string2params functions.
1844
1845 2003-07-23  Angus Leeming  <leeming@lyx.org>
1846
1847         * factory.C (createInset): pass a
1848         Buffer const * parameter to InsetExternalMailer's string2params.
1849
1850 2003-07-22  John Levon  <levon@movementarian.org>
1851
1852         * Thesaurus.h: include the right aiksaurus header
1853
1854 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1855
1856         * MenuBackend.C (expand): check menu shortcuts unconditionally
1857
1858 2003-07-21  Angus Leeming  <leeming@lyx.org>
1859
1860         * factory.C (createInset): pass a
1861         buffer_path parameter to InsetGraphicsMailer's string2params.
1862
1863 2003-07-21  Angus Leeming  <leeming@lyx.org>
1864
1865         * BufferView_pimpl.C (buffer):
1866         * buffer.C (d-tor):
1867         * lyx_main.C (LyX):
1868         * lyxfunc.C (dispatch):
1869         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1870         rather than the grfx shortcut.
1871
1872 2003-07-21  André Pönitz  <poenitz@gmx.net>
1873
1874         * rowpainter.C: remove unused variables
1875
1876         * tabular_funcs.C:
1877         * tabular_funcs.h: move to tabular.C
1878         * Makefile.am: adjust
1879
1880         * tabular.[Ch]: basic optical cleaning
1881
1882         * author.h: pass references, not values
1883
1884 2003-07-18  André Pönitz  <poenitz@gmx.net>
1885
1886         * lyxtext.h:
1887         * metricsinfo.C:
1888         * metricsinfo.h:
1889         * rowpainter.C:
1890         * text.C:
1891         * text2.C:
1892         * text3.C: two-phase drawing for InsetText and InsetTabular
1893         some float -> int changes.
1894
1895 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1896
1897         * lyx_main.C: fix the fix
1898
1899 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1900
1901         * lyx_main.C: fix a crash in batch mode if no files specified
1902         * converter.C: ws
1903
1904 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1905
1906         * format.[Ch] (papersize): moved to BufferParams
1907         * converter.[Ch] (dvips_options): moved to BufferParams
1908         (dvipdfm_options): moved to anon namespace
1909         * bufferparams.[Ch]: added above functions.
1910
1911 2003-07-17  André Pönitz  <poenitz@gmx.net>
1912
1913         * lyxtext.h:
1914         * rowpainter.C:
1915         * text2.C: don't call inset->update() anymore
1916
1917         * metricsinfo.[Ch]: add convenience constructor
1918
1919 2003-07-16  André Pönitz  <poenitz@gmx.net>
1920
1921         * lyxcursor.[Ch]:
1922         * lyxfunc.[Ch]:
1923         * text.C:
1924         * text2.C: replace the LyXCursor::irow_ member with
1925          on-demand computation of the value
1926
1927 2003-07-16  John Levon  <levon@movementarian.org>
1928
1929         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1930
1931 2003-07-15  André Pönitz  <poenitz@gmx.net>
1932
1933         * text.C:
1934         * text2.C: remove no more needed refresh_row
1935
1936 2003-07-15  André Pönitz  <poenitz@gmx.net>
1937
1938         * lyxtext.h:
1939         * rowpainter.C:
1940         * text2.C:
1941         * text3.C: refresh_status tristate -> need_update bool
1942
1943 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * lyxtext.h (init): remove reinit argument (act as if always true)
1946         * text2.C: adjust to that
1947
1948 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1949
1950         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1951         * text3.C: use it to delete selections in some cases
1952         (bugs 441, 673, 702, 954).
1953
1954 2003-07-14  André Pönitz  <poenitz@gmx.net>
1955
1956         * rowpainter.[Ch]: reduce interface
1957
1958 2003-07-14  André Pönitz  <poenitz@gmx.net>
1959
1960         * BufferView_pimpl.C:
1961         * text2.C: adjust after removing unused BufferView * argument
1962
1963 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1964
1965         * text2.C (init): fix a crash fired on resize
1966
1967 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1968
1969         * buffer.[Ch]: added new closing signal
1970         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1971         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1972         BufferView::Pimpl via the closing the signal
1973
1974 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1975
1976         * buffer.[Ch]: take out all bv-related from buffer
1977         * BufferView.C:
1978         * BufferView_pimpl.[Ch]: connect to new signals
1979         * CutAndPaste.C: removed useless asserts
1980         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1981         * lyxvc.[Ch]:
1982         * vc-backend.[Ch]:
1983         * lyxfunc.C: moved view-related funciontality from vc here
1984         * paragraph.C: removed outdated comments
1985         * text.C: ws
1986
1987 2003-07-10  André Pönitz  <poenitz@gmx.net>
1988
1989         * BufferView_pimpl.C:
1990         * tabular.h:
1991         * tabular_funcs.C:
1992         * text.C:
1993         * text2.C: remove InsetText::InnerCache, clean up consequences
1994
1995 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1996
1997         * ispell.C: fix two typos in error messages
1998
1999 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2000
2001         * Extend Note inset to other forms of annotation like Comment
2002         and Greyedout. Right button click gives dialog.
2003
2004         Files modified or added (+):
2005
2006         * insetnote.[Ch]
2007         * FormNote.[Ch]      +
2008         * ControlNote.[Ch]   +
2009         * form_note.fd       +
2010         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2011         frontends/controllers
2012         * xforms/Dialogs.C
2013         * factory.C
2014
2015 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2016
2017         * aspell.C: add missing namespace lyx::support
2018
2019 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2020
2021         * BufferView.[Ch] (newFile): Add
2022         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2023         * LaTeX.[Ch] (message): added this signal and use it
2024         * buffer.[Ch] (busy, message): added these signals and use them
2025         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2026         * converter.C:
2027         * exporter.C:
2028         * format.C:
2029         * importer.C: use buffer signals instead of direct bv calling
2030         * lyx_cb.[Ch] (ShowMessage): removed
2031         * lyx_main.C:
2032         * lyxfunc.C:
2033         * paragraph_funcs.C:
2034         * text2.C: use buffer signals
2035
2036 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * introduce namespace lyx::graphics
2039
2040 2003-07-02  André Pönitz  <poenitz@gmx.net>
2041
2042         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2043
2044 2003-07-01  André Pönitz  <poenitz@gmx.net>
2045
2046         * text.C:
2047         * text2.C:
2048         * text3.C:
2049         * text_funcs.[Ch]:
2050         * textcursor.h:
2051         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2052           text*.C to text_func.C
2053
2054 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * introduce namespace lyx::support
2057
2058 2003-06-30  André Pönitz  <poenitz@gmx.net>
2059
2060         * Chktex.C:
2061         * funcrequest.C:
2062         * lyxtext.h:
2063         * text.C: re-enable --with-included-string
2064
2065 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * textcursor.C: add <config.h>
2068
2069         * text.C (getWord): remove const from word_location arg
2070
2071         * lyxvc.C (getLogFile): fix const type order
2072
2073         * lyxtext.h: remove const from word_location arg, add arg name
2074
2075         * lyxlayout.h: currect type on labeltype.
2076
2077         * importer.C: correct \file
2078
2079         * converter.C (intToFormat): use std:: on ret val, ws changes
2080
2081         * bufferlist.h: correct \file
2082
2083         * buffer.C (makeLinuxDocFile): fix const type order
2084         (makeDocBookFile): ditto
2085         (fillWithBibKeys): use std:: on stdlib args.
2086
2087         * CutAndPaste.C: fix authors.
2088         (availableSelections): use std:: on return vector
2089
2090 2003-06-27  André Pönitz  <poenitz@gmx.net>
2091
2092         * BufferView_pimpl.C:
2093         * bufferview_funcs.C:
2094         * lyxcursor.C:
2095         * lyxcursor.h:
2096         * lyxfunc.C:
2097         * lyxtext.h:
2098         * rowpainter.C:
2099         * text.C:
2100         * text2.C:
2101         * text3.C: remove LyXCursor::row_ member
2102
2103         * lyxtext.h:
2104         * text.C: rename fullRebreak() to partialRebreak() and implement
2105           a fullRebreak() that really bereks fully
2106
2107         * textcursor.h: new struct for cursor-related data
2108
2109 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * lyx_main.C (LyX): get full path of document loaded on the
2112         command line
2113
2114 2003-06-26  André Pönitz  <poenitz@gmx.net>
2115
2116         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2117           remove unused/broken operator>,<,>=.
2118
2119         *       text.C: remove only use of broken operator<= in an Assert().
2120
2121 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2124         moved errorlist_.clear to showErrorList
2125
2126 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2127
2128         * converter.C (scanLog, runLaTeX):
2129         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2130         move the bv->showErrorList call to the callers
2131         * lyxfunc.C: i.e. here...
2132         * text2.C: and here
2133         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2134         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2135         namespace, the second to...
2136         * buffer_funcs (BufferFormat, parseErrors): added
2137         * errorlist.C (ErrorList(TeXErrors const &)): removed
2138
2139 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2142
2143 2003-06-24  "Garst R. Reese" <reese@isn.net>
2144
2145         * debug.C: fix typo
2146
2147 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2150
2151         * version.C.in: change docversion to 1.4
2152
2153 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2154
2155         * buffer.C: fix a bug just introduced
2156
2157 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2158
2159         * buffer.[Ch]: added the parseError signal and use it, removed
2160         sgmlError
2161         * BufferView.[Ch] (addError): moved to ...
2162         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2163         to the Buffer::parseError signal to catch (guess what) parse errors
2164         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2165
2166 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2167
2168         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2169         ability to create a buffer and to return an existing one from
2170         the list. Moved these functions to...
2171         * buffer_funcs.[Ch]: added
2172         * BufferView.[Ch] (loadLyXFile): added
2173         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2174         job removed from bufferlist::loadLyXFile.
2175         * buffer.C (setReadOnly): make it work without view
2176         (i.e added an if (users))
2177
2178 2003-06-19  Angus Leeming  <leeming@lyx.org>
2179
2180         * lfuns.h:
2181         * LyXAction.C (init):
2182         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2183         with LFUN_DIALOG_SHOW <name> <data>.
2184
2185 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2186
2187         * CutAndPaste.C (availableSelections): small compilation fix for
2188         ancient (gcc 2.9x) compilers
2189
2190 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * text3.C (cursorNext): add tmp var
2193
2194         * text2.C (updateCounters): for function calling out of for clause
2195         (replaceSelectionWithString): ditto
2196         (insertStringAsParagraphs): ditto
2197         (getColumnNearX): add tmp var
2198         (setCursorFromCoordinates): add tmp var
2199         (cursorDownParagraph): add tmp var
2200         (deleteEmptyParagraphMechanism): add tmp var
2201
2202         * text.C (insertChar): add tmp var
2203
2204         * rowpainter.C (paintDepthBar): add tmp var
2205
2206         * CutAndPaste.C (availableSelections): potentially check all
2207         paragraphs in a cut to fill the shown strings.
2208
2209 2003-06-18  André Pönitz  <poenitz@gmx.net>
2210
2211         * kbmap.[Ch]: use vector<> instead of list<>
2212
2213 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2214
2215         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2216         pasteSelection with index
2217
2218         * text2.C (pasteSelection): modify, call pasteSelection with index
2219
2220         * paragraph.C (asString): reimplement version with no interval to
2221         call the one with interval.
2222
2223         * lyxtext.h: add index arg to pasteSelection
2224
2225         * MenuBackend.C (MenuItem): handle PasteRecent
2226         (Menu::read::Menutags): add md_pasterecent
2227         (read): handle it
2228         (expandPasteRecent): new function
2229         (expand): use it
2230
2231         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2232
2233         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2234         the limited stack
2235         (availableSelections): new function
2236
2237 2003-06-17  Angus Leeming  <leeming@lyx.org>
2238
2239         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2240
2241 2003-06-17  Angus Leeming  <leeming@lyx.org>
2242
2243         * lfuns.h:
2244         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2245
2246         * lyxfunc.C (dispatch): invoke it.
2247
2248 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2249
2250         * iterators.C (operator++, ParPosition): reintroduce some
2251         const_cast for the benefit of older compilers.
2252
2253 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2254
2255         * text3.C (dispatch): do not modify clipboard when doing
2256         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2257         LFUN_DELETE_SKIP on a selection selection
2258
2259 2003-06-16  André Pönitz  <poenitz@gmx.net>
2260
2261         * BufferView.C:
2262         * buffer.C:
2263         * buffer.h:
2264         * paragraph.C:
2265         * tabular.[Ch]: IU of clone() and getLabelList();
2266
2267 2003-06-13  André Pönitz  <poenitz@gmx.net>
2268
2269         * tabular.h: compactification
2270
2271 2003-06-12  André Pönitz  <poenitz@gmx.net>
2272
2273         * tabular.C:
2274         * tabular.h:
2275         * tabular_funcs.h: some renaming plus whitespace
2276
2277 2003-06-12  André Pönitz  <poenitz@gmx.net>
2278
2279         * BufferView.C:
2280         * BufferView_pimpl.C:
2281         * CutAndPaste.C:
2282         * buffer.C:
2283         * iterators.[Ch]:
2284         * lyxfunc.C:
2285         * text.C:
2286         * toc.C: Return a Paragraph & for ParIterator::operator*()
2287
2288 2003-06-11  John Levon  <levon@movementarian.org>
2289
2290         * lyx_main.C:
2291         * ToolbarBackend.h:
2292         * ToolbarBackend.C: add "Toolbars" section and
2293         put the flags there
2294
2295 2003-06-10  Angus Leeming  <leeming@lyx.org>
2296
2297         * lfuns.h:
2298         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2299
2300         * lyxfunc.C (dispatch): invoke it.
2301
2302 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * main.C: protect <ios> with HAVE_IOS
2305         (main): protect sync_with_stdio with HAVE_IOS
2306
2307 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2308
2309         * text2.C (cutSelection): adjust
2310         (pasteSelection): adjust
2311
2312         * messages.C: handle get of empty string
2313
2314         * main.C (main): use sync_with_stdio(false)
2315
2316         * lyxfunc.C (dispatch): adjust
2317
2318         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2319         (WriteAs): remove unneeded BufferView arg.
2320
2321         * bufferparams.h: use correct types on papersize, papersize2 and
2322         paperpackage.
2323
2324         * bufferparams.C (readToken): adjust for type
2325         (writeLaTeX): add missing cases to switch.
2326
2327         * bufferlist.C (quitWriteBuffer): adjust
2328         (close): adjust
2329
2330         * buffer.C (asciiParagraph): remove some commented code.
2331
2332         * CutAndPaste.C: remove current_view extern variable.
2333         (cutSelection): add BufferParams arg.
2334         (eraseSelection): add BufferParams arg.
2335         (pasteSelection): add Buffer const & arg
2336
2337 2003-06-07  John Levon  <levon@movementarian.org>
2338
2339         * buffer.C:
2340         * paragraph_funcs.C:
2341         * paragraph_pimpl.C:
2342         * text.C:
2343         * text2.C:
2344         * paragraph.h:
2345         * paragraph.C: allow InsetERT to freely space lines,
2346         and some consolidation of code
2347
2348 2003-06-06  José Matos  <jamatos@fep.up.pt>
2349
2350         * buffer.C (makeDocBookFile): fix bug #821
2351
2352 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2353
2354         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2355
2356 2003-06-04  Angus Leeming  <leeming@lyx.org>
2357
2358         * buffer.C: bump format to 224.
2359
2360 2003-06-05  André Pönitz  <poenitz@gmx.net>
2361
2362         * text2.C (redoParagraphs): remove two const_cast<>
2363
2364 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2365
2366         * ParagraphList.h: remove last remnants of NO_STD_LIST
2367
2368 2003-06-03  Angus Leeming  <leeming@lyx.org>
2369
2370         * factory.C (createInset): small change to the way InsetExternal's params
2371         are set.
2372
2373 2003-06-04  André Pönitz  <poenitz@gmx.net>
2374
2375         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2376
2377         * paragraph_pimpl.h:
2378         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2379
2380         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2381
2382         * undo_funcs.C: make some simple cases of undo work again
2383
2384 2003-06-03  John Levon  <levon@movementarian.org>
2385
2386         * ispell.C: HPUX doesn't have sys/select.h
2387         (from Albert Chin)
2388
2389 2003-06-03  John Levon  <levon@movementarian.org>
2390
2391         * CutAndPaste.C: update tabular and include inset
2392         buffer references
2393
2394         * buffer.h:
2395         * paragraph.h:
2396         * paragraph.C: remove owningBuffer(), don't pass Buffer
2397         to clone()
2398
2399         * factory.C: insetGraphicsParams changed
2400
2401 2003-06-02  John Levon  <levon@movementarian.org>
2402
2403         * LyXAction.C:
2404         * factory.C:
2405         * lfuns.h:
2406         * lyxfunc.C:
2407         * text3.C: remove insetparent
2408
2409 2003-06-02  John Levon  <levon@movementarian.org>
2410
2411         * buffer.h:
2412         * buffer.C: fix inset_iterator.end(), move out of line
2413         (bug 1149)
2414
2415 2003-06-01  John Levon  <levon@movementarian.org>
2416
2417         * text3.C: use a proper cut/paste when doing inset
2418         insert (from Jürgen Spitzmüller)
2419
2420 2003-06-01  John Levon  <levon@movementarian.org>
2421
2422         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2423
2424 2003-05-30  André Pönitz  <poenitz@gmx.net>
2425
2426         * rowpainter.C: unify second drawing phase
2427
2428 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2429
2430         * trans_mgr.C: remove one case of current_view
2431
2432         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2433
2434         * paragraph_funcs.h: remove paragraph.h include
2435
2436         * paragraph.h: delete NO_STD_LIST stuff
2437
2438         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2439
2440         * buffer.h: remove paragraph.h include
2441
2442         * ParagraphList.C: delete file
2443
2444         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2445
2446         * toc.C (getTocList): adjust
2447
2448         * paragraph_pimpl.C (validate): adjust
2449
2450         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2451
2452         * paragraph.C (Paragraph): adjust
2453         (getPositionOfInset): use const_iterator, adjust
2454         (bibitem): use const_iterator, adjust
2455         (setInsetOwner): adjust
2456
2457         * iterators.C (operator++): adjust
2458
2459         * InsetList.[Ch]: Replace selfmade iterator with standard
2460         vector::iterator also introduce const_iterator. Remove getPos,
2461         getInset and setInset from InsetTable. Adjust accordingly.
2462
2463         * BufferView.C (lockInset): adjust
2464         (ChangeInsets): adjust
2465
2466         * tabular.[Ch]: delete commented same_id functions
2467
2468 2003-05-28  John Levon  <levon@movementarian.org>
2469
2470         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2471
2472 2003-05-28  André Pönitz  <poenitz@gmx.net>
2473
2474         * metricsinfo.[Ch]: remove 'fullredraw' member
2475
2476 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2477
2478         * lyxtextclass.C (operator): remove caching.
2479
2480 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * text3.C: adjust
2483
2484         * text2.C (cursorBottom): adjust
2485         (setCounter): use ParagraphList::find, adjust
2486
2487         * text.C (workWidth): use ParagraphList::find, adjust
2488
2489         * lyxcursor.C (LyXCursor): adjust
2490
2491         * buffer.C (inset_iterator): adjust
2492
2493         * ParagraphList.h: make iterator(value_type) private, make
2494         ParagraphList a friend of iterator.
2495
2496         * ParagraphList.C (find): new function
2497
2498         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2499
2500 2003-05-27  André Pönitz  <poenitz@gmx.net>
2501
2502         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2503
2504 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2505
2506         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2507
2508 2003-05-26  John Levon  <levon@movementarian.org>
2509
2510         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2511
2512 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2513
2514         * remove same_id from function signatures, adjust.
2515
2516 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2517
2518         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2519
2520         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2521
2522         * paragraph.C (Paragraph): get rid of same_ids parameter
2523
2524         * ParagraphList.C (insert): adjust
2525         (push_back): adjust
2526
2527 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2528
2529         * paragraph_funcs.C (breakParagraph): adjust
2530         (breakParagraphConservative): adjust
2531
2532         * buffer.C (readParagraph): adjust
2533
2534         * ParagraphList.C (insert): take a reference instead of a pointer
2535         (insert): adjust
2536
2537         * paragraph.[Ch] (id): new function
2538
2539         * bufferlist.C (newFile): adjust
2540
2541         * ParagraphList.C (ParagraphList): adjust
2542         (assign): adjust
2543         (push_back): take a reference instead of a pointer.
2544
2545         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2546
2547         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2548         instead.
2549
2550         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2551         set else use old code.
2552
2553         * ParagraphList.C: remove all NO_NEXT code and only compile this
2554         code of NO_STD_LIST is set.
2555
2556 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * BufferView_pimpl.C:
2559         * TextCache.C:
2560         * TextCache.h:
2561         * bufferlist.C:
2562         * errorlist.h:
2563         * format.C:
2564         * format.h:
2565         * graph.C:
2566         * lyxfunc.C:
2567         * lyxrc.C:
2568         * graphics/GraphicsConverter.C:
2569         * graphics/PreviewLoader.C: header adjustment
2570
2571 2003-05-23  Angus Leeming  <leeming@lyx.org>
2572
2573         * LaTeXFeatures.[Ch] (useBabel): new method.
2574         * bufferparams.C (writeLaTeX): use it.
2575
2576 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2577
2578         * ParagraphList.h (set): remove unused function.
2579
2580 2003-05-23  André Pönitz  <poenitz@gmx.net>
2581
2582         * BufferView.C:
2583         * BufferView_pimpl.C:
2584         * buffer.C:
2585         * buffer.h:
2586         * lyxfunc.C:
2587         * undo_funcs.C: setUndo reworked
2588
2589         * iterators.[Ch]: add access to topmost ParagraphList
2590
2591         * lyxtext.[Ch] (workWidth): add a const
2592
2593 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2594
2595         * texrow.[Ch] (increasePos): remove function
2596         * exporter.C (export): removed unused var and outdated comment
2597
2598 2003-05-23  Angus Leeming  <leeming@lyx.org>
2599
2600         * latexrunparams.h: rename fragile as moving_arg.
2601         * paragraph.C (simpleTeXOnePar): ditto.
2602         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2603
2604 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2605
2606         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2607         (createUndo): ditto
2608         (textUndoOrRedo): comment out a currently unused var.
2609
2610         * paragraph.h (NO_NEXT): enable NO_NEXT
2611
2612         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2613
2614         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2615
2616         * exporter.C (Export): adjust for removeAutoInsets removal.
2617
2618         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2619
2620         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2621
2622         * BufferView.[Ch] (removeAutoInsets): delete function
2623
2624 2003-05-22  Angus Leeming  <leeming@lyx.org>
2625
2626         * latexrunparams.h: add a free_spacing variable.
2627
2628         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2629         to pass moving_arg, as the data is stored in runparams.fragile.
2630
2631         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2632         to Inset::latexOptional or to simpleTeXOnePar.
2633
2634         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2635         free_spacing arg to Inset::latexOptional.
2636
2637         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2638         free_spacing arg.
2639
2640 2003-05-22  Angus Leeming  <leeming@lyx.org>
2641
2642         * latexrunparams.h: add fragile and use_babel variables.
2643
2644         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2645         * buffer.C (makeLaTeXFile): store this returned value in
2646         runparams.use_babel, thus passing it to the inset::latex methods.
2647
2648         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2649         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2650
2651         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2652         longer has a fragile arg, as it is stored in runparams.fragile.
2653
2654         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2655         moving_arg parameter as the data is stored in runparams.fragile.
2656
2657         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2658         a fragile parameter as the data is stored in runparams.fragile.
2659
2660 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2663
2664 2003-05-22  Angus Leeming  <leeming@lyx.org>
2665
2666         * latexrunparams.h: add a 'bool nice' which defaults to false.
2667
2668         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2669         now encapsulated within runparams.
2670
2671         * bufferlist.C (updateIncludedTeXfiles):
2672         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2673
2674 2003-05-22  Angus Leeming  <leeming@lyx.org>
2675
2676         * latexrunparams.h: new file containing struct LatexRunParams.
2677         * Makefile.am: add new file.
2678
2679         * LaTeX.[Ch] (c-tor, run):
2680         * buffer.[Ch] (makeLaTeXFile):
2681         * bufferlist.[Ch] (updateIncludedTeXfiles):
2682         * converter.C (convert, scanLog):
2683         * converter.[Ch] (runLaTeX):
2684         * exporter.C (Export):
2685         * paragraph.[Ch] (simpleTeXOnePar):
2686         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2687         * paragraph_funcs.[Ch] (latexParagraphs):
2688         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2689         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2690         pass around a LatexRunParams parameter.
2691
2692 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * paragraph.[Ch]: remove unused constructor
2695
2696         * ParagraphList.C (erase): new function, taking two iterators
2697
2698 2003-05-22  André Pönitz  <poenitz@gmx.net>
2699
2700         * undo_funcs.C: remove duplicated code
2701
2702         * iterator.[Ch]: operator=
2703
2704 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * tabular.C (SetMultiColumn): ws changes
2707
2708         * rowpainter.C (paintFirst): get rid of a ->previous
2709
2710         * lyx_cb.C (getPossibleLabel): parlist simplification
2711
2712         * BufferView.C (ChangeInsets): simplify slightly.
2713
2714 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2715
2716         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2717         * lfuns.h: new LFUN_SPACE
2718         * lyxfunc.C: protected space has a new lfun
2719         * paragraph_funcs.C: read new space insets
2720         * text3.C:
2721         * factory.C: handle new space insets
2722
2723 2003-05-22  André Pönitz  <poenitz@gmx.net>
2724
2725         * BufferView.C:
2726         * BufferView_pimpl.C:
2727         * buffer.[Ch]:
2728         * lyxfunc.C:
2729         * undo_funcs.C: return a ParIterator from getParFromID.
2730
2731         * iterators.[Ch]: add two const's
2732
2733 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * toc.C (getTocList): adjust
2736
2737         * iterators.[Ch]: rework for parlist
2738
2739         * buffer.C (par_iterator_begin): adjust
2740         (par_iterator_end): adjust
2741
2742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2743
2744         * BufferView.C (removeAutoInsets): adjust
2745         (ChangeInsets): adjust
2746
2747 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * text.C (top_y): fix bug 1110
2750
2751 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2752
2753         * errorlist.[Ch]: added
2754         * buffer.C:
2755         * BufferView.[Ch]:
2756         * BufferView_pimpl.C:
2757         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2758         instead
2759
2760 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2761
2762         * Makefile.am: ensure that lyx is relinked upon changes to the
2763         various "convenience" libs.
2764
2765 2003-05-20  Angus Leeming  <leeming@lyx.org>
2766
2767         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2768         files are compiled in alphabetical order again.
2769
2770         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2771
2772 2003-05-19  Angus Leeming  <leeming@lyx.org>
2773
2774         * gettext.[Ch]: remove "char const * _(char const *)".
2775
2776 2003-05-19  André Pönitz  <poenitz@gmx.net>
2777
2778         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2779
2780         * Makefile.am:
2781         * BufferView.C:
2782         * DepTable.h:
2783         * LaTeXFeatures.C:
2784         * buffer.C:
2785         * lyxfont.C:
2786         * lyxlex.h:
2787         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2788
2789 2003-05-19  André Pönitz  <poenitz@gmx.net>
2790
2791         * buffer.C:
2792         * lyxlayout.[Ch]:
2793         * lyxtextclass.[Ch]:
2794         * paragraph.C:
2795         * paragraph_funcs.[Ch]:
2796         * text2.C:
2797         * text3.C: more insetenv work
2798
2799 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * ParagraphParameters.C (params2string): small bug fixed
2802
2803 2003-05-16  André Pönitz  <poenitz@gmx.net>
2804
2805         * debug.C:
2806         * bufferview_funcs.C: patch from Kornel Benko to prevent
2807           crash when _(...) is called twice in a statement
2808
2809 2003-05-16  André Pönitz  <poenitz@gmx.net>
2810
2811         * BufferView.C:
2812         * lyxfunc.C:
2813         * text.C:
2814         * text2.C:
2815         * text3.C:
2816         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2817
2818 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2819
2820         * lyx_main.C (init): remove spurious static_cast
2821
2822 2003-05-14  André Pönitz  <poenitz@gmx.net>
2823
2824         * BufferView.C: fix format string
2825
2826 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2827
2828         * BufferView.[Ch] (insertErrors): removed
2829         * BufferView.[Ch] (showErrorList): added
2830         * buffer.C (runChkTeX):
2831         * converter.C (scanLog): call showErrorList instead of inserterrors
2832
2833 2003-05-13  André Pönitz  <poenitz@gmx.net>
2834
2835         * BufferView_pimpl.C:
2836         * buffer.C:
2837         * bufferview_func.C:
2838         * MenuBackend.C:
2839         * lyxfunc.C:
2840         * lyxrc.C:
2841         * tex-accent.C:
2842         * text3.C:
2843         * toc.C:
2844         * tabular_funcs.h: tostr() from its own header
2845
2846         * ParagraphParameters.C:
2847         * ToolbarBackend.C:
2848         * bufferparams.C:
2849         * format.C:
2850         * lyxlex_pimpl.C:
2851         * text3.C: STRCONV()
2852
2853 2003-05-12  André Pönitz  <poenitz@gmx.net>
2854
2855         * BufferView.C:
2856         * BufferView_pimpl.C:
2857         * CutAndPaste.C:
2858         * LaTeX.C:
2859         * LaTeXFeatures.C:
2860         * ParagraphParameters.C:
2861         * buffer.C:
2862         * bufferlist.C:
2863         * bufferparams.C:
2864         * bufferview_funcs.C:
2865         * converter.C:
2866         * counters.C:
2867         * debug.C:
2868         * exporter.C:
2869         * format.C:
2870         * importer.C:
2871         * lyx_cb.C:
2872         * lyx_main.C:
2873         * lyxfont.C:
2874         * lyxfunc.C:
2875         * lyxvc.C:
2876         * paragraph.C:
2877         * paragraph_funcs.C:
2878         * tabular.C:
2879         * tabular_funcs.C:
2880         * text2.C:
2881         * text3.C:  boost::format -> bformat  all over the place
2882
2883
2884 2003-05-09  André Pönitz  <poenitz@gmx.net>
2885
2886         * LColor.[Ch]: Pimpl the #include <map> away
2887
2888 2003-05-09  John Levon  <levon@movementarian.org>
2889
2890         * bufferlist.C: never remove emergency saves
2891
2892 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * Makefile.am: better lib building
2895
2896 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2899         instead.
2900         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2901         (simpleTeXSpecialChars): adjust
2902         (simpleTeXSpecialChars): adjust
2903         * paragraph.C (simpleTeXOnePar): adjust
2904         * buffer.C (makeLaTeXFile): adjust
2905
2906         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2907
2908         * text2.C (changeDepth): parlist cleanup
2909         (getColumnNearX): ditto
2910
2911         * rowpainter.C (getLabelFont): parlist cleanup
2912
2913         * bufferlist.C (newFile): parlist cleanup
2914
2915         * CutAndPaste.C (eraseSelection): parlist cleanup
2916
2917         * BufferView_pimpl.C (trackChanges): parlist cleanup
2918         (dispatch): ditto
2919
2920         * BufferView.C (lockInset): parlist cleanup.
2921         (ChangeInsets): ditto
2922
2923 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * CutAndPaste.h: Update file header.
2926
2927         * CutAndPaste.C: Update file header.
2928         Store the parts cut out of the Document in a limited_stack.
2929         (copySelection): adjust
2930         (pasteSelection): new function, takes the index in the limited stack.
2931         (nrOfParagraphs): adjust
2932         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2933         simplify error inset insertion.
2934         (checkPastePossible): adjust
2935
2936 2003-05-06  John Levon  <levon@movementarian.org>
2937
2938         * text2.C: don't cast wrap inset to float
2939
2940 2003-05-05  André Pönitz  <poenitz@gmx.net>
2941
2942         * iterator.C:
2943         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2944
2945         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2946           few naked Paragraph *.
2947
2948 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2949
2950         * bufferparams.C: Output warning if a document with missing
2951         TeX document class is loaded
2952         * exporter.C: Disable TeX exports if the document class is missing
2953         * lyxtextclass.C:
2954         * lyxtextclass.h:
2955         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2956         isTeXClassAvailable()
2957
2958 2003-05-03  John Levon  <levon@movementarian.org>
2959
2960         * BufferView.h:
2961         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2962         explicit cursor show/hide
2963
2964         * BufferView_pimpl.h:
2965         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2966         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2967
2968         * lyxfunc.C: hide cursor before dispatching.
2969
2970         * lyx_cb.C:
2971         * lyxfind.C:
2972         * text.C:
2973         * text3.C: remove explicit cursor hides
2974
2975 2003-05-02  André Pönitz  <poenitz@gmx.net>
2976
2977         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2978
2979         * undo_funcs.C:
2980         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2981           linked lists
2982
2983         * text2.C: tiny whitespace
2984
2985 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2986
2987         * undo_funcs.C: almost only ws changes.
2988
2989         * ParagraphList.C (splice): just return if pl is empty.
2990
2991 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * ParagraphList.C (splice): new function.
2994
2995         * CutAndPaste.C (pasteSelection): use it
2996
2997 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * CutAndPaste.C (pasteSelection): remove the last next and
3000         previous from this file.
3001
3002 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * CutAndPaste.C (pasteSelection): more clean up, user proper
3005         ParagraphList functions for pasteing.
3006
3007         * ParagraphList.C (insert): new function, three arg insert
3008
3009 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * ParagraphList.C (insert): new function, three arg insert
3012
3013         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3014         not on paragraphs.
3015
3016 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3019
3020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3023
3024 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3027         (copySelection): clean up a bit.
3028         (pasteSelection): use make_pair
3029
3030         * ParagraphList.C (ParagraphList): implement copy constructor
3031         (operator=): implement, base on copy constructor.
3032         (assign): new func
3033
3034         * paragraph.C (erase): return a bool
3035
3036         * paragraph_pimpl.C (erasePos): remove function, move contents...
3037         (erase): ... here. Return a bool.
3038         (erase): call erase instead of erasePos.
3039
3040 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3041
3042         * ParagraphList.h: define PitPosPair
3043         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3044         ParagraphList, fix a bug on pasting multiple pars
3045         * text2.C: change interface to C&P
3046
3047 2003-04-30  André Pönitz  <poenitz@gmx.net>
3048
3049         * undo_func.C: revert part of yesterday's patch 2
3050
3051 2003-04-30  John Levon  <levon@movementarian.org>
3052
3053         * LColor.C: s/tabular/table/
3054
3055 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * text3.C (dispatch): do not convert iterator -> pointer
3058         * undo_funcs.C (setCursorParUndo): ditto
3059         * text_funcs.C (transposeChars): ditto
3060
3061         * text2.C (setLayout): ws changes only
3062
3063         * text.C (breakParagraph): do not convert iterator -> pointer
3064         (insertChar): ditto
3065         (acceptChange): ditto
3066         (rejectChange): ditto
3067         (changeCase): ditto
3068         (Delete): ditto
3069         (backspace): ditto
3070
3071         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3072         pointer
3073
3074 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * text3.C (gotoInset): YABG (yet another bad getChar)
3077
3078 2003-04-29  André Pönitz  <poenitz@gmx.net>
3079
3080         * paragraph.h: make operator= private unimplemented as long as
3081           it is unusable
3082
3083         * ParagraphList.C: whitespace
3084
3085         * paragraph.[Ch]:
3086         * paragraph_pimpl.[Ch]:
3087         * paragraph_funcs.C:
3088         * CutAndPaste.C:
3089         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3090
3091         * text2.C:
3092           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3093
3094 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3095
3096         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3097         * paragraph.[Ch] (erase):
3098         * paragraph_pimpl.[Ch] (erase): change return type and value
3099         * text2.C (cutSelection): some rework
3100
3101 2003-04-28  John Levon  <levon@movementarian.org>
3102
3103         * bufferlist.C: changes for unsaved changes dialog
3104
3105 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * bufferlist.C (newFile): set language (messages_) for new
3108         documents also.
3109
3110         * buffer.C (readFile): ws changes only.
3111
3112 2003-04-28  André Pönitz  <poenitz@gmx.net>
3113
3114         * undo_funcs.C:
3115         * lyxfunc.C:
3116         * buffer.[Ch]:
3117         * BufferView_pimpl.C:
3118         * BufferView.C: getParFromID related ParagraphList::iterator changes
3119
3120 2003-04-28  André Pönitz  <poenitz@gmx.net>
3121
3122         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3123           Changes
3124
3125 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * messages.C: remove one more localedir class variable.
3128
3129 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * messages.C (getLocaleDir): singleton generation function
3132         (Pimpl): use it.
3133         (Messages): add a default constructor.
3134
3135         * main.C (main): do not setup localedir here, do not call
3136         gettext_init.
3137
3138         * gettext.C (_): use it.
3139         (gettext_init): delete funciton
3140
3141 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * gettext.C (getLyXMessages): new singleton generating function.
3144
3145         * buffer.C (updateDocLang): adjust
3146
3147         * Makefile.am (messages.o): add target
3148         (main.o): remove target
3149
3150 2003-04-27  John Levon  <levon@movementarian.org>
3151
3152         * bufferlist.C:
3153         * lyx_cb.C:
3154         * lyxfunc.C:
3155         * lyxvc.C: specify cancel button in Alert::prompt
3156
3157 2003-04-26  John Levon  <levon@movementarian.org>
3158
3159         * text3.C:
3160         * lyxfunc.C:
3161         * lfuns.h:
3162         * LyXAction.C: add LFUN_INSET_SETTINGS
3163
3164         * lyxfunc.C: don't enable tabular-feature when there's
3165         just any locking inset
3166
3167 2003-04-26  John Levon  <levon@movementarian.org>
3168
3169         * bufferlist.C: re-add Cancel to buffer close question
3170
3171         * lyxfunc.C: fix import UI a bit
3172
3173 2003-04-25  John Levon  <levon@movementarian.org>
3174
3175         * gettext.C: remove the broken asserts for now
3176
3177 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * messages.C: make case where setlocale cannot comply work better.
3180
3181         * buffer.C (updateDocLang): new function
3182         (changeLanguage): use it
3183         (readFile): use it
3184
3185         * text2.C (setCounter): use B_ a bit.
3186
3187         * lyxlayout.C (Read): be sure to trim the label strings.
3188
3189         * messages.C (Messages): fix typo in comment
3190
3191         * buffer.C (readFile): set message_ after file is loaded.
3192         (makeDocBookFile): remove double return
3193         (changeLanguage): reset message_ upon language change.
3194         (B_): new func, use this to get translated buffer strings.
3195
3196         * main.C: add myself and Jean Marc as authors.
3197
3198 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * messages.[hC]: pimplify Messages, and three different pimpls to be
3201         used in different circumstances.
3202
3203         * gettext.[Ch]: change for use with new message code.
3204
3205 2003-04-24 André Pönitz <poenitz@gmx.net>
3206
3207         * factory.C: support for eqref
3208
3209 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * messages.[Ch]: add missing char
3212
3213         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3214
3215         * messages.[Ch]: New files
3216
3217 2003-04-18  John Levon  <levon@movementarian.org>
3218
3219         * BufferView.h:
3220         * BufferView.C:
3221         * BufferView_pimpl.C:
3222         * lfuns.h:
3223         * LyXAction.C:
3224         * lyxtext.h:
3225         * text2.C: remove layout-copy/paste (bug 778)
3226
3227 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3230
3231 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3232
3233         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3234         if they succeed. Act accordingly.
3235
3236 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3237
3238         * text2.C (setCharFont): adjust
3239         (setCounter): adjust
3240         (insertStringAsLines): adjust
3241
3242         * text.C (leftMargin): adjust
3243         (setHeightOfRow): adjust
3244
3245         * rowpainter.C (paintFirst): adjust
3246         (paintLast): adjust
3247
3248         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3249         (outerHook): ditto
3250         (isFirstInSequence): ditto
3251         (getEndLabel): ditto
3252         (outerFont): adjust
3253
3254         * paragraph.C (getParLanguage): comment out some hard stuff.
3255
3256         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3257         (sgmlError): ditto
3258         (simpleDocBookOnePar): ditto
3259         (makeDocBookFile): use ParagraphList::iterator
3260
3261         * CutAndPaste.C (pasteSelection): adjust
3262
3263 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * text2.C (getFont): adjust
3266         (getLayoutFont): adjust
3267         (getLabelFont): adjust
3268
3269         * paragraph_funcs.C (TeXOnePar): adjust
3270
3271         * buffer.C (simpleLinuxDocOnePar): adjust
3272         (simpleDocBookOnePar): adjust
3273
3274         * CutAndPaste.C (pasteSelection): adjust
3275
3276         * BufferView.C (getEncoding): adjust
3277
3278         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3279
3280 2003-04-16  John Levon  <levon@movementarian.org>
3281
3282         * lyxfind.C: use parlist stuff for search/changes
3283
3284 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3287
3288         * text2.C (deleteEmptyParagraphMechanism): adjust
3289
3290         * text2.[Ch] (ownerParagraph): delete func (both of them
3291
3292 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3295
3296 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * ParagraphList.C: prepare for NO_NEXT
3299
3300 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3301
3302         * text2.C (getFont): adjust
3303         (getLayoutFont): adjust
3304         (getLabelFont): adjust
3305
3306         * paragraph.C (getFont): adjust
3307         (getLabelFont): adjust
3308         (getLayoutFont): adjust
3309
3310         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3311
3312 2003-04-15  John Levon  <levon@movementarian.org>
3313
3314         From Angus Leeming
3315
3316         * lyx_main.C: handle Include in .ui files
3317
3318 2003-04-15  John Levon  <levon@movementarian.org>
3319
3320         * MenuBackend.C: make the doc files length shorter
3321
3322         * ToolbarBackend.h:
3323         * ToolbarBackend.C: handle toolbar placement flags,
3324         Minibuffer
3325
3326 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3329         adjust
3330
3331         * paragraph_funcs.C (TeXOnePar): adjust
3332
3333         * paragraph.C (getLabelFont): add outerfont arg, adjust
3334         (getLayoutFont): ditto
3335         (simpleTeXOnePar): adjust
3336
3337         * paragraph_pimpl.C (realizeFont): delete func
3338
3339 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3340
3341         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3342         row argument, constify cur argument.
3343
3344 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * text2.C (getFont): adjust
3347         (getLayoutFont): adjust
3348         (getLabelFont): adjust
3349
3350         * paragraph_funcs.C (TeXOnePar): adjust
3351         (outerFont): new func...
3352         (realizeFont): ...moved out from here, changed this to facilitate
3353         transition
3354
3355         * paragraph.C (getFont): take outerfont as arg, adjust
3356         (simpleTeXOnePar): add outerfont arg, adjust
3357
3358         * buffer.C (simpleLinuxDocOnePar): adjust
3359         (simpleDocBookOnePar): adjust
3360
3361         * CutAndPaste.C (pasteSelection): adjust
3362
3363         * BufferView.C (getEncoding): adjust
3364
3365 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * text2.C (setCharFont): adjust
3368         (setCounter): adjust
3369
3370         * text.C (leftMargin): adjust
3371         (setHeightOfRow): adjust
3372
3373         * rowpainter.C (paintFirst): adjust
3374         (paintLast): adjust
3375
3376         * paragraph_pimpl.C (realizeFont): adjust
3377
3378         * paragraph.C (isFirstInSequence): move from here...
3379         * paragraph_funcs.C (isFirstInSequence): ...to here
3380
3381         * paragraph.C (outerHook): move from here...
3382         * paragraph_funcs.C (outerHook): ...to here
3383
3384         * paragraph.C (depthHook): move from here...
3385         * paragraph_funcs.C (depthHook): ...to here
3386
3387         * paragraph.C (getEndLabel): move from here...
3388         * paragraph_funcs.C (getEndLabel): ...to here
3389
3390         * text2.C (realizeFont): move from here...
3391         * paragraph_funcs.C (realizeFont): ...to here
3392
3393 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3396
3397 2003-04-14  Angus Leeming  <leeming@lyx.org>
3398
3399         * LColor.[Ch]: scrap LColor mathcursor.
3400
3401 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * lyxlex.[Ch] (text): delete function
3404         * trans.C (Load): adjust
3405         * paragraph_funcs.C (readParToken): adjust
3406
3407 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3410         vector<char> instead of a char[].
3411
3412         * lyxlex_pimpl.C (getString): adjust
3413         (next): adjust
3414         (lex): use getString
3415         (eatLine): adjust
3416         (nextToken): adjust
3417
3418         * lyxlex.C (text): use pimpl_->getString()
3419         (getBool): ditto
3420         (findToken): ditto
3421
3422 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3425         (makeFontEntriesLayoutSpecific): temp var for par.size()
3426         (setLayout): temp var for ownerParagraphs().end()
3427         (fullRebreak): temp var for rows().end()
3428         (selectionAsString): temp var for boost::next(startpit), realize
3429         that the while really is a regular for loop.
3430         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3431         setCursor in one place.
3432         (setParagraph): temp vr for ownerParagraphs().end()
3433         (updateCounters): make the while loop a for loop
3434         (cutSelection): temp var for ownerParagraphs().end()
3435         (updateInset): make the do {} while() a regular for loop
3436         (getCursorX): use temp vars
3437         (setCurrentFont): use temp vars
3438         (getColumnNearX): use temp vars
3439
3440 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * text.C (transformChar): use temp var for getChar
3443         (computeBidiTables): use temp var for row->par()
3444         (fill): move temp vars for row->par() and pit->layout() earlier in
3445         the function.
3446         (labelFill): use temp var for row->par()
3447         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3448         asc and desc, realize that pit never changes and that firstpit is
3449         just a duplicate and not needed. Exchange rit->par() with pit in a
3450         lot of places.
3451         (breakAgain): use a temp var for boost::next(rit)
3452         (breakAgainOneRow): ditto
3453         (breakParagraph): use a temp var for rows().begin()
3454         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3455         (cursorRightOneWord): use temp var for cursor.par() and
3456         cursor.pos(), remove usage of tmpcursor.
3457         (cursorLeftOneWord): use temp var for cursor.par() and
3458         cursor.pos() only set cur at end of function.
3459
3460 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * text.C, text2.C: exchange all usage of Paragraph::next with
3463         boost::next(ParagraphList::iterator)
3464
3465         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3466
3467         * text2.C (cursorTop): simplify implementation
3468         (cursorBottom): ditto
3469         (setParagraph): use ParagraphList::iterator
3470         (setCurrentFont): adjust
3471         (getColumnNearX): adjust
3472         (cursorRight): adjust
3473         (cursorLeft): remove usage of Paragraph::previous
3474         (cursorUpParagraph): ditto
3475         (deleteEmptyParagraphMechanism): slight cleanup
3476
3477         * text.C (isBoundary): take a Paragraph const & instead of a
3478         pointer as arg.
3479         (addressBreakPoint): ditto
3480         (leftMargin): remove usage of Paragraph::previous.
3481         (setHeightOfRow): ditto
3482         (cursorLeftOneWord): ditto
3483         (selectNextWordToSpellcheck): ditto
3484         (Delete): ditto
3485         (backspace): ditto
3486         (breakParagraph): remove one usage of Paragraph::next
3487         (redoParagraph): ditto
3488         (acceptChange): ditto
3489         (insertChar): adjust
3490         (rowBreakPoint): adjust
3491
3492         * bufferview_funcs.C (toggleAndShow): adjust
3493
3494 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3497         methods to access it.
3498         * lyxtext.h:
3499         * text.C: Added updateRowPositions to compute all row positions.
3500         Make top_y and getRowNearY() to use the cached y position
3501
3502 2003-04-11  John Levon  <levon@movementarian.org>
3503
3504         * text.C (rowBreakPoint): reintroduce the labelEnd
3505         checks, code copied from the row fill stuff. Deep voodoo.
3506
3507         * text.C (fill): add a comment and debugging for the
3508         next poor soul.
3509
3510 2003-04-11  John Levon  <levon@movementarian.org>
3511
3512         * text.C: make sure fullrow insets get wrapped to the next line,
3513         even when they're in a manual label
3514
3515 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * text2.C (insertParagraph): make it take ParagraphList::iterator
3518         as arg.
3519         (setLayout): make it return ParagraphList::iterator
3520         (redoParagraphs): ditto
3521         (setCounter): ditto
3522         (checkParagraph): ditto
3523
3524         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3525
3526         * text2.C: adjust several funcs.
3527         (realizeFont): take a ParagraphList::iterator as arg.
3528         (getLayoutFont): ditto
3529         (getLabelFont): ditto
3530         (setCharFont): ditto
3531
3532         * text.C: adjust several funcs.
3533
3534 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * text.C (selectNextWordToSpellcheck): don't accidentally
3537         skip insets
3538
3539 2003-04-10  John Levon  <levon@movementarian.org>
3540
3541         * ToolbarBackend.C (getIcon): special handling for
3542         LFUN_MATH_DELIM
3543
3544 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * text2.C (cursorRight): a getChar assert fixed
3547
3548 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3549
3550         * text2.C (getFont): change to take a ParagraphList::iterator
3551         instead of Paragraph*
3552         Adjust several functions.
3553
3554         * text.C (transformChar): change to take a ParagraphList::iterator
3555         instead of Paragraph*
3556         (singleWidth): ditto
3557         Adjust several functions.
3558
3559         * rowpainter.C: adjust several functions
3560         * rowpainter.h:store a ParagraphList::iterator and not a
3561         Paragraph&.
3562
3563
3564 2003-04-09  John Levon  <levon@movementarian.org>
3565
3566         * lyxfunc.C:
3567         * lfuns.h:
3568         * LyXAction.h:
3569         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3570         and the "help" bits as well
3571
3572 2003-04-09  John Levon  <levon@movementarian.org>
3573
3574         * ToolbarBackend.h:
3575         * ToolbarBackend.C: allow multiple toolbars
3576
3577 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * undo_funcs.C (setCursorParUndo): adjust
3580
3581         * text_funcs.C (transposeChars): adjust
3582
3583         * text3.C (gotoNextInset): adjust
3584         (dispatch): adjust
3585
3586         * text2.C (setLayout): adjust
3587         (changeDepth): adjust
3588         (setFont): adjust
3589         (redoParagraphs): adjust
3590         (selectionAsString): adjust
3591         (setParagraph): adjust
3592         (insertInset): adjust
3593         (cutSelection): adjust
3594         (copySelection): adjust
3595         (pasteSelection): adjust
3596         (insertStringAsLines): adjust
3597         (updateInset): adjust
3598         (setCursor): change to take a ParagraphList::iterator parameter
3599         (setCursorIntern): change to take a ParagraphList::iterator parameter
3600         (setCurrentFont): adjust
3601         (cursorLeft): adjust
3602         (cursorRight): adjust
3603         (deleteEmptyParagraphMechanism): adjust
3604
3605         * text.C (breakParagraph): adjust
3606         (insertChar): adjust
3607         (acceptChange): adjust
3608         (rejectChange): adjust
3609         (selectNextWordToSpellcheck): adjust
3610         (changeCase): adjust
3611         (Delete): adjust
3612         (backspace): adjust
3613
3614         * lyxfind.C (SearchForward): adjust
3615         (SearchBackward): adjust
3616         (nextChange): adjust
3617
3618         * lyxcursor.C (par): adjust
3619
3620         * lyxcursor.h: store a ParagraphList::iterator instead of a
3621         Paragraph*
3622
3623         * lyx_cb.C (getPossibleLabel): adjust
3624
3625         * bufferview_funcs.C (toggleAndShow): adjust
3626
3627         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3628         (dispatch): adjust
3629
3630         * BufferView.C (removeAutoInsets): adjust
3631         (lockedInsetStoreUndo): adjust
3632
3633 2003-04-09  John Levon  <levon@movementarian.org>
3634
3635         * ToolbarBackend.C: try icon without argument
3636         if with argument fails
3637
3638 2003-04-08  John Levon  <levon@movementarian.org>
3639
3640         * ToolbarBackend.h:
3641         * ToolbarBackend.C: add getIcon(), handle tooltip,
3642         and change from "Icon" to "Item".
3643
3644 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * BufferView.C (lockInset): another bad getchar crunched
3647
3648 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3651         again)
3652
3653 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3654
3655         * lyxfind.C (searchForward, searchBackwards): bug 782
3656
3657 2003-04-07  John Levon  <levon@movementarian.org>
3658
3659         * paragraph.C: remove dead comment
3660
3661         * text.C: remove troublesome depth-fiddling code
3662         in leftMargin() and rightMargin() (bug 1017)
3663
3664         * text.C: fix breaking of rows in nested lists
3665         (bug 1004)
3666
3667         * text2.C (updateCounters): fix up depth values
3668         (bug 1013)
3669
3670 2003-04-07  John Levon  <levon@movementarian.org>
3671
3672         * BufferView_pimpl.C: clear message when doc finishes resizing,
3673         and after a mouse event
3674
3675         * lyxfunc.C: clear message after exiting inset
3676
3677 2003-04-07  John Levon  <levon@movementarian.org>
3678
3679         * bufferview_funcs.C: show math status not outside
3680         status in the statusbar
3681
3682 2003-04-07  John Levon  <levon@movementarian.org>
3683
3684         * lyxfunc.C: note status changed after a depth change
3685
3686 2003-04-04  Angus Leeming  <leeming@lyx.org>
3687
3688         * LaTeX.h: move AuxInfo operator==, != out of line.
3689         Remove LaTeX virtual destructor; nothing derives from it.
3690         Move operator()() out of public area and rename it startscript().
3691         Change protected for private.
3692
3693 2003-04-04  Angus Leeming  <leeming@lyx.org>
3694
3695         * lyxfunc.C:
3696         * text2.C: remove unneeded #includes.
3697
3698 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3699
3700         * text2.C (dEPM): fix the heigth of the next row
3701
3702 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * text.C: squashed an invalid getChar requester + some ws changes
3705
3706 2003-04-03  John Levon  <levon@movementarian.org>
3707
3708         * bufferview_funcs.h:
3709         * bufferview_funcs.C:
3710         * lyxfunc.C:
3711         * lyxtext.h:
3712         * text2.C: make getStatus work for the env depth lfuns
3713
3714 2003-04-03  John Levon  <levon@movementarian.org>
3715
3716         * bufferview_funcs.h:
3717         * bufferview_funcs.C:
3718         * lyxfunc.C:
3719         * lyxtext.h:
3720         * text2.C: parlistize decDepth(), by merging it with incDepth()
3721
3722 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * lyxrow.h: store a ParagraphList::iterator instead of a
3725         Paragraph* and adjust other class functions to suit.
3726
3727         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3728         above.
3729
3730 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * text2.C (setCursor): do not anchor to cursor row for the time being
3733
3734 2003-04-02  John Levon  <levon@movementarian.org>
3735
3736         * LyXAction.C:
3737         * lfuns.h:
3738         * lyx_main.C:
3739         * lyxtext.h:
3740         * text.C:
3741         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3742
3743 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3744
3745         * paragraph.h: make ParagraphList and ParagraphList::iterator
3746         friends of Paragraph.
3747
3748         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3749
3750         * ParagraphList.C: Use the private next_ and previous_ from
3751         Paragraph.
3752
3753 2003-04-01  John Levon  <levon@movementarian.org>
3754
3755         * ToolbarBackend.h:
3756         * ToolbarBackend.C:
3757         * Makefile.am: rename, remove defaults gunk
3758
3759         * MenuBackend.h:
3760         * MenuBackend.C: remove defaults gunk
3761
3762         * Languages.h:
3763         * Languages.C: remove defaults gunk
3764
3765         * lyx_main.h:
3766         * lyx_main.C: error out if files couldn't be found.
3767
3768 2003-04-02  John Levon  <levon@movementarian.org>
3769
3770         * text2.C: make incDepth() use parlist
3771
3772 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * undo_funcs.C (firstUndoParagraph): adjust
3775
3776         * text3.C (gotoInset): adjust
3777         (dispatch): adjust, and rewrite loop.
3778
3779         * text2.C (init): adjust, and rewrite loop.
3780         (redoParagraphs): adjust
3781         (updateInset): adjust, and rewrite loop.
3782         (deleteEmptyParagraphMechanism): adjust
3783
3784         * tabular.C (LyXTabular): adjust
3785         (SetMultiColumn): adjust
3786         (TeXRow): adjust
3787
3788         * lyxtext.[Ch] (ownerParagraph): delete function
3789         (ownerParagraphs): new function returns a ParagraphList.
3790
3791         * BufferView.C (removeAutoInsets): adjust
3792         (insertErrors): adjust
3793         (setCursorFromRow): adjust
3794
3795 2003-04-01  Angus Leeming  <leeming@lyx.org>
3796
3797         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3798         in the frontends.
3799
3800 2003-04-02  John Levon  <levon@movementarian.org>
3801
3802         * lyxtext.h:
3803         * text.C:
3804         * Makefile.am:
3805         * text_funcs.h:
3806         * text_funcs.C: make transposeChars a free function
3807
3808         * lyxrow_funcs.C: remove wrong comment
3809
3810 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * lyxtext.h: adjust
3813         * rowpainter.C: adjust
3814         * text.C: adjust
3815         * text2.C: adjust
3816         * text3.C: adjust
3817
3818         * lyxrow_funcs. [Ch]: new files
3819
3820         * lyxrow.[Ch]: remove next and previous pointers
3821         (next,previous): remove accessor functions
3822         (isParEnd): move to lyxrow_funcs
3823         (lastPos): move to lyxrow_funcs
3824         (nextRowIsAllInset): move to lyxrow_funcs
3825         (lastPrintablePos): move to lyxrow_funcs
3826         (numberOfSeparators): move to lyxrow_funcs
3827         (numberOfHfills): move to lyxrow_funcs
3828         (numberOfLabelHfills): move to lyxrow_funcs
3829         (hfillExpansion): move to lyxrow_funcs
3830
3831         * lyxfunc.C: adjust
3832
3833         * bufferview_funcs.C (toggleAndShow): adjust
3834
3835         * RowList.h: Remove class RowList from file leave just a
3836         std::list<Row>.
3837
3838         * RowList.C: delete file
3839
3840         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3841         and lyxrow_funcs.h
3842
3843 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * text3.C (cursorPrevious): adjust
3846         (cursorNext): adjust
3847         (dispatch): adjust
3848
3849         * text2.C (redoHeightOfParagraph): adjust
3850         (redoDrawingOfParagraph): adjust
3851         (setCursor): adjust
3852
3853         * text.C (breakParagraph): adjust
3854         (insertChar): adjust
3855         (backspace): adjust
3856
3857         * rowpainter.C (RowPainter): adjust
3858         (leftMargin): simplify and adjust
3859         (most rowpainter functions): adjust.
3860
3861         * rowpainter.h: store the row as RowList::iterator not as Row*
3862
3863         * lyxcursor.C (row): taka RowList::iterator as arg
3864         (irow): ditto
3865
3866         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3867         of Row*.
3868
3869 2003-04-01  Angus Leeming  <leeming@lyx.org>
3870
3871         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3872         stuff like bool Bool.
3873
3874 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3875
3876         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3877         rewrite a loop
3878
3879 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3882         RowList::iterator.
3883
3884         * lyxtext.h (rows): drop one version and leve a const variant that
3885         returns a RowList::iterator.
3886
3887 2003-03-31  Angus Leeming  <leeming@lyx.org>
3888
3889         * text.C (fill): ensure that the signature is the same as that in the
3890         header file.
3891
3892 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * text2.C (redoParagraphs): adjust
3895         (updateCounters): adjust
3896         (checkParagraph): adjust
3897         (getColumnNearX): adjust and reformat a bit.
3898
3899         * text.C (top_y): adjust
3900         (workWidth): adjust
3901         (leftMargin): adjust
3902         (prepareToPrint): adjust
3903         (getRow): adjust
3904         (getRowNearY): adjust
3905
3906         * lyxtext.h: make rowlist_ mutable.
3907
3908         * RowList.h: add const_iterator
3909         * RowList.C: adjust for RowList::const_iterator.
3910
3911         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3912         adjust.
3913
3914 2003-03-31  John Levon  <levon@movementarian.org>
3915
3916         * lyxrc.h:
3917         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3918
3919         * lyx_main.C: set default fonts from using lyx_gui funcs
3920
3921         * exporter.C: pdf_mode moved from lyxrc
3922
3923         * lyx_cb.C:
3924         * lyxfunc.C: changes from above
3925
3926 2003-03-31  John Levon  <levon@movementarian.org>
3927
3928         * lyx_main.C: fix to the last fix
3929
3930 2003-03-31  John Levon  <levon@movementarian.org>
3931
3932         * bufferlist.C: "Load original" -> "Load Original"
3933
3934         * converter.C:
3935         * exporter.C:
3936         * importer.C:
3937         * lyx_main.C:
3938         * format.C: more Alert cleanups
3939
3940 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * text2.C (removeParagraph): make it take a RowList::iterator as
3943         arg, adjust.
3944         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3945         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3946
3947         * text.C (anchor_row): make it take a RowList::iterator as arg,
3948         adjust.
3949         (computeBidiTables): make it take a const reference to Row instead
3950         of Row pointer, adjust.
3951         (leftMargin): make it take a RowList::iterator as arg, adjust.
3952         (rowBreakPoint): adjust
3953         (breakAgainOneRow): make it take a RowList::iterator as arg,
3954         adjust.
3955         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3956
3957         * bufferview_funcs.C (toggleAndShow): adjust
3958
3959 2003-03-30  John Levon  <levon@movementarian.org>
3960
3961         * Makefile.am:
3962         * BoostFormat.h:
3963         * boost-inst.C: moved to support
3964
3965         * several files: changes as a result
3966
3967 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * text2.C (LyXText): adjust.
3970         (init): adjust
3971         (removeRow): make it take a RowList::iterator as arg, adjust.
3972         (fullRebreak): adjust
3973         (deleteEmptyParagraphMechanism): adjust
3974         (clearPaint): adjust
3975         (postPaint): adjust
3976
3977         * text.C (top_y): adjust
3978         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3979         (breakAgain): make it take a RowList::iterator as arg, adjust.
3980         (breakParagraph): adjust
3981         (insertChar): adjust
3982         (backspace): adjust
3983
3984         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3985         need_break_row, and refresh_row.
3986
3987         * text3.C (dispatch): adjust
3988
3989         * text2.C (checkParagraph): adjust
3990         (setCursor): adjust
3991         (setCursorFromCoordinates): adjust
3992
3993         * text.C (top_y): adjust
3994         (workWidth): adjust
3995         (getRow): make it return a RowList::iterator, adjust
3996         (getRowNearY): make it return a RowList::iterator, adjust
3997
3998         * text2.C (init): adjust
3999         (insertRow): remove function
4000         (insertParagraph): adjust
4001         (redoParagraphs): adjust
4002         (fullRebreak): adjust
4003         (updateCounters): adjust
4004
4005         * text.C (top_y): rewrite to use RowList iterators.
4006         (top_y): adjust
4007         (setHeightOfRow): rewrite to sue RowList iterators.
4008         (appendParagraph): adjust
4009         (breakAgain): adjust
4010         (breakAgainOneRow): adjust
4011         (breakParagraph): adjust
4012         (getRow): adjust
4013         (getRowNearY): adjust, and remove commented code.
4014
4015         * lyxtext.h (firstRow): delete function
4016         (lastRow): delete function
4017         (rows): new function (const and non-const versions.)
4018         (insertRow): delete function
4019
4020         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4021
4022 2003-03-29  John Levon  <levon@movementarian.org>
4023
4024         * BufferView_pimpl.C: always update scrollbar top
4025         because pasting text when we're anchored could mean we
4026         miss an update altogether
4027
4028 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * text2.C (init): use rowlist_.end() and not 0.
4031         (insertRow): change to take a RowList::iterator as arg, adjust
4032         for this.
4033         (insertParagraph): change to take a RowList::iterator as arg,
4034         adjust for this.
4035         (redoParagraphs): remove some debug msgs.
4036
4037         * text.C (appendParagraph): change to take a RowList::iterator
4038         arg, adjust for this.
4039         (breakAgain): add an assert
4040         (breakAgainOneRow): ditto
4041
4042 2003-03-29  John Levon  <levon@movementarian.org>
4043
4044         * text2.C: do not clear selection after inc/decDepth
4045         (bug 550)
4046
4047 2003-03-29  John Levon  <levon@movementarian.org>
4048
4049         * BufferView.C:
4050         * buffer.C: fix broken strerrors according to Lars
4051
4052 2003-03-29  John Levon  <levon@movementarian.org>
4053
4054         * converters.C: more Alert cleanups
4055
4056 2003-03-29  John Levon  <levon@movementarian.org>
4057
4058         * bufferview_funcs.C: remove pointless Alert
4059
4060         * buffer.C: fix confusing error message when
4061         a template is chmoded 000
4062
4063 2003-03-29  John Levon  <levon@movementarian.org>
4064
4065         * BufferView.C:
4066         * BufferView.h:
4067         * BufferView_pimpl.C: Alert fixes
4068
4069         * Makefile.am:
4070         * tabular.C:
4071         * tabular-old.C: remove unused table compat reading
4072
4073 2003-03-29  John Levon  <levon@movementarian.org>
4074
4075         * BufferView.C:
4076         * buffer.C:
4077         * lyx_cb.h:
4078         * lyx_cb.C: more Alert cleanups
4079
4080         * lyxfunc.C: don't allow chktex if not latex document
4081
4082 2003-03-29  John Levon  <levon@movementarian.org>
4083
4084         * lyx_cb.C:
4085         * BufferView.C:
4086         * buffer.C: warnings pushed down from support/,
4087         kill err_alert
4088
4089 2003-03-29  John Levon  <levon@movementarian.org>
4090
4091         * lyxfunc.C: safety check for C-r (revert)
4092
4093 2003-03-29  John Levon  <levon@movementarian.org>
4094
4095         * bufferlist.h:
4096         * bufferlist.C: several UI fixes using Alert::prompt.
4097         Fix the pointless looping quit code. Fix stupid revert
4098         behaviour (bug 938)
4099
4100         * lyxvc.h:
4101         * lyxvc.C:
4102         * lyx_cb.C: use Alert::prompt
4103
4104         * lyx_main.C: remove a silly question
4105
4106         * lyxfunc.C: remove a couple of silly questions,
4107         use Alert::prompt
4108
4109 2003-03-28  John Levon  <levon@movementarian.org>
4110
4111         * text2.C: fix bug 974 (End on empty par)
4112
4113 2003-03-28  John Levon  <levon@movementarian.org>
4114
4115         * BufferView_pimpl.C:
4116         * LyXAction.C:
4117         * lfuns.h: remove do-nothing math greek lfuns
4118
4119 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * lyxgluelength.h (isValidGlueLength): add default arg on
4122         parameter 2. Remove default arg from friend in class.
4123
4124         * lyxlength.h (isValidLength): add default arg on parameter 2.
4125         Remove default arg from friend in class.
4126
4127         * text2.C (LyXText): adjust, initialize refresh_row.
4128         (init): adjust
4129         (removeRow): adjust
4130         (insertRow): adjust
4131         (insertParagraph): adjst
4132         (redoParagraphs): adjust
4133         (fullRebreak): adjust
4134         (updateCounters): adjust
4135         (deleteEmptyParagraphMechanism): first attempt at fixing a
4136         crashing bug.
4137
4138         * text.C (top_y): adjust
4139         (setHeightOfRow): adjust
4140         (getRow): adjust
4141         (getRowNearY): adjust
4142
4143         * lyxtext.h: include RowList.h
4144         (~LyXText): not needed anymore, deleted.
4145         (firstRow): modify for RowList
4146         (lastRow): new function
4147         Delete firstrow and lastrow class variables, add a Rowlist
4148         rowlist_ class variable.
4149
4150         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4151         paragraph is empty.
4152
4153         * RowList.C (insert): fix case where it == begin().
4154
4155 2003-03-26  Angus Leeming  <leeming@lyx.org>
4156
4157         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4158         the thesaurus dialog.
4159
4160 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4163
4164         * RowList.[Ch]: new files
4165
4166         * ParagraphList.C (erase): handle the case where it == begin
4167         correctly.
4168
4169 2003-03-25  John Levon  <levon@movementarian.org>
4170
4171         * Makefile.am:
4172         * aspell_local.h:
4173         * aspell.C: add new aspell support
4174
4175         * lyxrc.h:
4176         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4177         have it accessible.
4178
4179 2003-03-25  Angus Leeming  <leeming@lyx.org>
4180
4181         * lfuns.h:
4182         * LyXAction.C (init): new LFUN_INSET_INSERT.
4183
4184         * BufferView_pimpl.C (dispatch): split out part of the
4185         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4186
4187         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4188         LFUN_INSET_APPLY.
4189
4190 2003-03-25  Angus Leeming  <leeming@lyx.org>
4191
4192         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4193
4194 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4195
4196         * text2.C:
4197         * text3.C: remove useless row->height(0)
4198
4199 2003-03-25  John Levon  <levon@movementarian.org>
4200
4201         * lyxtext.h:
4202         * text2.C:
4203         * text3.C: rename the refreshing stuff to better names
4204
4205 2003-03-24  John Levon  <levon@movementarian.org>
4206
4207         * BufferView_pimpl.h:
4208         * BufferView_pimpl.C: update layout choice on a mouse
4209         press/release
4210
4211 2003-03-23  John Levon  <levon@movementarian.org>
4212
4213         * Makefile.am: fix commandtags.h reference
4214
4215 2003-03-22  John Levon  <levon@movementarian.org>
4216
4217         * BufferView_pimpl.C:
4218         * lyxtext.h:
4219         * rowpainter.C:
4220         * rowpainter.h:
4221         * text.C:
4222         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4223
4224 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4225
4226         * lyxtext.h:
4227         * text.C: take the rtl methods out of line
4228
4229 2003-03-21 André Pönitz <poenitz@gmx.net>
4230
4231         * metricsinfo.[Ch]: new files containing structures to be passed around
4232         during the two-phase-drawing...
4233
4234 2003-03-21 André Pönitz <poenitz@gmx.net>
4235
4236         * lyxtextclass.C: read 'environment' tag.
4237
4238 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4239
4240         * text2.C (removeRow): fix bug 964
4241
4242 2003-03-20  John Levon  <levon@movementarian.org>
4243
4244         * rowpainter.C:
4245         * text.C:
4246         * text2.C: paint cleanups. Inset::update() dropped font
4247         parameter
4248
4249 2003-03-19  John Levon  <levon@movementarian.org>
4250
4251         * lyxfunc.C: only fitcursor/markDirty if available()
4252
4253 2003-03-19  John Levon  <levon@movementarian.org>
4254
4255         * commandtags.h: rename to ...
4256
4257         * lfuns.h: ... this, and renumber / cleanup
4258
4259 2003-03-19  John Levon  <levon@movementarian.org>
4260
4261         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4262         fit the cursor after an lfun
4263
4264         * BufferView.h:
4265         * BufferView.C:
4266         * BufferView_pimpl.h:
4267         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4268
4269         * LyXAction.C: layout-character should have ReadOnly
4270
4271         * ParagraphParameters.C:
4272         * buffer.C:
4273         * bufferview_funcs.C:
4274         * lyx_cb.C:
4275         * lyxfind.C:
4276         * lyxtext.h:
4277         * text.C:
4278         * text2.C:
4279         * text3.C:
4280         * undo_funcs.C: changes from above
4281
4282 2003-03-18  John Levon  <levon@movementarian.org>
4283
4284         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4285         remove it from update()
4286
4287         * lyxfunc.C: update layout choice after an lfun
4288
4289         * text3.C: remove extra updateLayoutChoice()s
4290
4291 2003-03-18  John Levon  <levon@movementarian.org>
4292
4293         * text.C: top_y change means full repaint, fix
4294         a drawing bug with cursor movement
4295
4296 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4297
4298         * lyxtext.h:
4299         * text.C:
4300         * text2.C: anchor row on setCursor
4301
4302 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * lyxtext.h: remove almost all mutable keywords
4305         * text.C:
4306         * text2.C:
4307         * text3.C: remove const keywords accordingly
4308
4309 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4312         anon namespace
4313         (TeXEnvironment): ditto
4314         (TeXOnePar): ditto
4315
4316 2003-03-17  John Levon  <levon@movementarian.org>
4317
4318         * text.C (rowBreakPoint): remove attempt to fix displayed
4319         math insets inside a manual label
4320
4321 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * lyxtext.h: remove BufferView* as first arg from almost all class
4324         functions.
4325         * other files: adjust.
4326
4327 2003-03-17  John Levon  <levon@movementarian.org>
4328
4329         * lyxtext.h:
4330         * undo_funcs.C:
4331         * text2.C: more paint cleanups
4332
4333         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4334
4335         * rowpainter.h:
4336         * rowpainter.C: remove "smart" background painting code
4337
4338 2003-03-16  John Levon  <levon@movementarian.org>
4339
4340         * lyxtext.h:
4341         * text.C:
4342         * text2.C:
4343         * text3.C: add helper functions for setting refresh_row/y
4344
4345 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4346
4347         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4348         newline inset which *can* get inserted in the pass_thru layouts.
4349         This is primarily for literate documents.
4350
4351 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4352
4353         * buffer.C: increment LYX_FORMAT to 223
4354
4355 2003-03-14 André Pönitz <poenitz@gmx.net>
4356
4357         * textclass.h: prepare for environment handling, ws changes
4358         * lyxlayout.C: read latexheader and latexfooter tags
4359
4360 2003-03-14  John Levon  <levon@movementarian.org>
4361
4362         * text2.C: rewrite ::status() a bit
4363
4364 2003-03-13  John Levon  <levon@movementarian.org>
4365
4366         * lyxtext.h: add some docs
4367
4368 2003-03-13  John Levon  <levon@movementarian.org>
4369
4370         * lyxtext.h:
4371         * text.C:
4372         * text2.C:
4373         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4374
4375 2003-03-13  John Levon  <levon@movementarian.org>
4376
4377         * text3.C: fix appendix redrawing
4378
4379 2003-03-13  John Levon  <levon@movementarian.org>
4380
4381         * text.C (setHeightOfRow):
4382         * rowpainter.h:
4383         * rowpainter.C: make appendix mark have the text
4384           "Appendix" so the user knows what it is
4385
4386         * LColor.h:
4387         * LColor.C: s/appendixline/appendix/ from above
4388
4389 2003-03-13  John Levon  <levon@movementarian.org>
4390
4391         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4392
4393         * text.C: fix a getChar(pos) bug properly
4394
4395 2003-03-13  Angus Leeming  <leeming@lyx.org>
4396
4397         * commandtags.h:
4398         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4399         Probably only temporary. Let's see how things pan out.
4400
4401         * BufferView.C (unlockInset):
4402         * BufferView_pimpl.C (fitCursor):
4403         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4404
4405         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4406         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4407
4408         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4409         new functions that convert ParagraphParameters to and from a string.
4410
4411         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4412         BufferView::Pimpl's dispatch.
4413         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4414
4415 2003-03-13 André Pönitz <poenitz@gmx.net>
4416
4417         * lyxfunc.C:
4418         * text3.C:
4419         * factory.C: make it aware of InsetEnv
4420
4421 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * text2.C (setCursor): never ask for one past last
4424         (setCursor): add some debugging messages.
4425
4426         * text.C (singleWidth): never ask for one past last
4427         (singleWidth): ditto
4428         (leftMargin): ditto
4429         (rightMargin): ditto
4430         (rowBreakPoint): ditto
4431         (setHeightOfRow): ditto
4432         (prepareToPrint): ditto
4433
4434         * rowpainter.C (paintBackground): never ask for one past last
4435         (paintText): never ask for one past last
4436
4437         * paragraph_pimpl.C (getChar): make the assert stricter, never
4438         allow the one past last pos to be taken
4439
4440         * paragraph.C (getChar): ws changes only
4441
4442         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4443         (numberOfSeparators): ditto
4444         (numberOfHfills): ditto
4445
4446 2003-03-12  John Levon  <levon@movementarian.org>
4447
4448         * author.h:
4449         * author.C:
4450         * bufferparams.h:
4451         * bufferparams.C:
4452         * paragraph_funcs.C: fix per-buffer authorlists
4453
4454 2003-03-12  John Levon  <levon@movementarian.org>
4455
4456         * text.C: fix newline in right address
4457
4458 2003-03-12  Angus Leeming  <leeming@lyx.org>
4459
4460         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4461         duplicate those in LyXFunc::dispatch.
4462
4463         * commandtags.h:
4464         * LyXAction.C:
4465         * ToolbarDefaults.C:
4466         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4467         Add LFUN_FONTFREE_UPDATE.
4468
4469         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4470         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4471
4472         * bufferview_func.[Ch]: several new functions to facilliate
4473         transfer of data to and from the character dialog.
4474
4475 2003-03-12  John Levon  <levon@movementarian.org>
4476
4477         * buffer.C:
4478         * paragraph.h:
4479         * paragraph.C:
4480         * paragraph_funcs.C:
4481         * paragraph_pimpl.C:
4482         * sgml.C:
4483         * tabular.C:
4484         * text.C:
4485         * text3.C: remove META_NEWLINE in favour of an inset
4486
4487         * rowpainter.h:
4488         * rowpainter.C: remove paintNewline (done by inset)
4489
4490 2003-03-12  John Levon  <levon@movementarian.org>
4491
4492         * paragraph_pimpl.C: complain about bad getChar()s
4493         for a while at least
4494
4495 2003-03-12  John Levon  <levon@movementarian.org>
4496
4497         * buffer.h:
4498         * buffer.C: move paragraph read into a separate function,
4499         a little renaming to reflect that.
4500
4501         * bufferparams.h:
4502         * bufferparams.C: remove the author_ids map, not necessary now
4503
4504         * factory.h:
4505         * factory.C: moved Buffer::readInset to here
4506
4507         * paragraph_funcs.h:
4508         * paragraph_funcs.C: readParagraph free function moved from
4509         buffer.C
4510
4511         * tabular.C: name change
4512
4513 2003-03-12  John Levon  <levon@movementarian.org>
4514
4515         * buffer.C:
4516         * ParagraphParameters.C: move par params input to
4517         a read() method
4518
4519         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4520         behave like a normal read from the stream wrt reading
4521         a line vs. a \\token
4522
4523 2003-03-12  John Levon  <levon@movementarian.org>
4524
4525         * paragraph.C:
4526         * ParagraphParameters.h:
4527         * ParagraphParameters.C: move output code to a
4528         ::write() method
4529
4530 2003-03-12  John Levon  <levon@movementarian.org>
4531
4532         * BufferView.C (insertLyXFile):
4533         * buffer.h:
4534         * buffer.C:
4535         * tabular.C: use a parlist iterator for creating the
4536           document.
4537
4538 2003-03-12  John Levon  <levon@movementarian.org>
4539
4540         * buffer.C: make current_change static local not
4541           static file-scope
4542
4543 2003-03-12  John Levon  <levon@movementarian.org>
4544
4545         * buffer.C: fix insertStringAsLines for change tracking
4546
4547 2003-03-12  John Levon  <levon@movementarian.org>
4548
4549         * BufferView.C:
4550         * tabular.C:
4551         * buffer.h:
4552         * buffer.C:
4553         * bufferparams.h:
4554         * bufferparams.C: move author list into params. Rename some
4555           functions. Move the header reading into a separate token
4556           loop. Move the header token reading into BufferParams.
4557
4558 2003-03-12  John Levon  <levon@movementarian.org>
4559
4560         * changes.C: put debug inside lyxerr.debugging() checks
4561
4562 2003-03-11 André Pönitz <poenitz@gmx.net>
4563
4564         * factory.C: make it aware of InsetHFill
4565
4566 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4567
4568         * buffer.C (latexParagraphs): move function from here...
4569         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4570         args.
4571
4572 2003-03-10  Angus Leeming  <leeming@lyx.org>
4573
4574         * LyXAction.C (init): fix bug in poplating array with multiple entries
4575         with the same LFUN (spotted by JMarc).
4576
4577 2003-03-10  John Levon  <levon@movementarian.org>
4578
4579         * text.C:
4580         * text2.C: move getColumnNearX() near its
4581         only call site
4582
4583 2003-03-10  John Levon  <levon@movementarian.org>
4584
4585         * text.C: fix break before a minipage
4586
4587 2003-03-10  John Levon  <levon@movementarian.org>
4588
4589         * text.C: fix the last commit
4590
4591 2003-03-09  John Levon  <levon@movementarian.org>
4592
4593         * lyxtext.h:
4594         * text.C:
4595         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4596         bug 365 (don't break before insets unless needed). Don't
4597         return a value > last under any circumstances.
4598
4599 2003-03-09  Angus Leeming  <leeming@lyx.org>
4600
4601         * BufferView_pimpl.C (trackChanges, dispatch): call
4602         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4603
4604 2003-03-09  Angus Leeming  <leeming@lyx.org>
4605
4606         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4607         than Dialogs::showAboutlyx().
4608
4609 2003-03-09  Angus Leeming  <leeming@lyx.org>
4610
4611         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4612         than Dialogs::showTabularCreate().
4613
4614 2003-03-09  John Levon  <levon@movementarian.org>
4615
4616         * lyxtext.h:
4617         * text.C:
4618         * text2.C: 3rd arg to nextBreakPoint was always the same.
4619           Use references.
4620
4621 2003-03-08  John Levon  <levon@movementarian.org>
4622
4623         * lyxrow.C:
4624         * paragraph.C:
4625         * paragraph.h:
4626         * rowpainter.C:
4627         * text.C:
4628         * text2.C: Remove the "main" bit from the "main body"
4629           notion.
4630
4631 2003-03-08  John Levon  <levon@movementarian.org>
4632
4633         * text.C (leftMargin): The left margin of an empty
4634         manual label paragraph should not include the label width
4635         string length.
4636
4637         * text.C (prepareToPrint): don't attempt to measure hfills
4638         for empty manual label paragraphs - the answer should be 0
4639
4640 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * CutAndPaste.C: remove commented code and reindent.
4643
4644 2003-03-08  John Levon  <levon@movementarian.org>
4645
4646         * lyxfunc.h:
4647         * lyxfunc.C: move reloadBuffer()
4648
4649         * BufferView.h:
4650         * BufferView.C: to here
4651
4652         * lyxvc.C: add comment
4653
4654         * vc-backend.h:
4655         * vc-backend.C: call bv->reload() to avoid
4656           getStatus() check on MENURELOAD
4657
4658 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4659
4660         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4661         to an old format .dep file.
4662
4663 2003-03-07  Angus Leeming  <leeming@lyx.org>
4664
4665         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4666         when the LFUN_MOUSE_RELEASE should have been handled by
4667         inset->localDispatch.
4668
4669 2003-03-07  Angus Leeming  <leeming@lyx.org>
4670
4671         * BufferView_pimpl.C (dispatch):
4672         * LyXAction.C (init):
4673         * ToolbarDefaults.C (init):
4674         * commandtags.h:
4675         * lyxfunc.C (getStatus):
4676         remove LFUN_INSET_GRAPHICS.
4677
4678         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4679
4680 2003-03-07  Angus Leeming  <leeming@lyx.org>
4681
4682         * commandtags.h:
4683         * LyXAction.C (init):
4684         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4685
4686         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4687
4688         * commandtags.h:
4689         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4690
4691         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4692         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4693
4694 2003-03-07  Angus Leeming  <leeming@lyx.org>
4695
4696         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4697         remove "ert".
4698
4699 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * ParagraphList.C (front): new function
4702         (back): implement
4703
4704 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4705
4706         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4707         and top_row_offset_. removed var first_y.
4708         * text.C (top_y):
4709         * text2.C (LyXText, removeRow):
4710         * text3.C:
4711         * BufferView_pimpl.C:
4712         use these methods instead of using first_y
4713
4714 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * text2.C (pasteSelection): adjust for checkPastePossible
4717
4718         * CutAndPaste.C: remove Paragraph * buf and replace with
4719         ParagraphList paragraphs.
4720         (DeleteBuffer): delete
4721         (cutSelection): change the tc type to textclass_type
4722         (copySelection): change the tc type to textclass_type
4723         (copySelection): adjust for ParagraphList
4724         (pasteSelection): change the tc type to textclass_type
4725         (pasteSelection): adjust for Paragraphlist
4726         (nrOfParagraphs): simplify for ParagraphList
4727         (checkPastePossible): simplify for ParagraphList
4728         (checkPastePossible): remove unused arg
4729
4730         * ParagraphList.C (insert): handle the case where there are no
4731         paragraphs yet.
4732
4733         * CutAndPaste.h: make CutAndPaste a namespace.
4734
4735         * text3.C (dispatch): adjust
4736
4737         * text.C (breakParagraph): add a ParagraphList as arg
4738
4739         * paragraph_funcs.C (breakParagraph): change to take a
4740         BufferParams and a ParagraphList as args.
4741         (breakParagraphConservative): ditto
4742         (mergeParagraph): ditto
4743         (TeXDeeper): add a ParagraphList arg
4744         (TeXEnvironment): ditto
4745         (TeXOnePar): ditto
4746
4747         * buffer.C (readLyXformat2): adjust
4748         (insertStringAsLines): adjust
4749         (latexParagraphs): adjust
4750
4751         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4752         (cutSelection): adjust
4753         (pasteSelection): adjust
4754
4755         * BufferView_pimpl.C (insertInset): adjust
4756
4757 2003-03-05  Angus Leeming  <leeming@lyx.org>
4758
4759         * commandtags.h:
4760         * LyXAction.C (init):
4761         * BufferView_pimpl.C (dispatch):
4762         * lyxfunc.C (getStatus):
4763         remove LFUN_CHILD_INSERT.
4764
4765         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4766
4767 2003-03-05  Angus Leeming  <leeming@lyx.org>
4768
4769         * commandtags.h:
4770         * LyXAction.C (init):
4771         * src/factory.C (createInset):
4772         * lyxfunc.C (getStatus):
4773         * text3.C (dispatch):
4774         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4775
4776         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4777
4778 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * ParagraphList.C (insert): handle insert right before end()
4781         (erase): fix cases where it can be first or last paragraph.
4782
4783 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4786         Paragraph::next and Paragraph::previous
4787         (TeXOnePar): ditto
4788
4789         * text.C (breakParagraph): adjust
4790
4791         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4792         BufferParams& as arg.
4793         (breakParagraph): use ParagraphList::insert
4794         (breakParagraphConservative): take a Buffer* instead of a
4795         BufferParams& as arg.
4796         (breakParagraphConservative): use ParagraphList::insert.
4797
4798         * buffer.C (insertStringAsLines): un-const it
4799         (insertStringAsLines): adjust
4800
4801         * ParagraphList.C (insert): new function
4802
4803         * CutAndPaste.C (pasteSelection): adjust
4804
4805         * text.C (backspace): adjust
4806
4807         * tabular.C (SetMultiColumn): adjust
4808
4809         * CutAndPaste.C (cutSelection): adjust
4810         (pasteSelection): adjust
4811
4812         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4813         Buffer const * as arg
4814
4815         * ParagraphList.C (erase): new function
4816         * paragraph_funcs.C (mergeParagraph): use it
4817         (mergeParagraph): make it take a Buffer* instead of a
4818         BufferParams* as arg
4819
4820         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4821         as arg
4822         (breakParagraphConservative): ditto
4823
4824         * paragraph.h: remove the breakParagraph friend
4825
4826         * paragraph.C (eraseIntern): new function
4827         (setChange): new function
4828
4829         * paragraph_funcs.C (mergeParagraph): make it take a
4830         ParagraphList::iterator instead of a Paragraph *, adjust
4831         accordingly.
4832
4833         * paragraph.h: move an #endif so that the change tracking stuff
4834         also works in the NO_NEXT case.
4835
4836 2003-03-04  Angus Leeming  <leeming@lyx.org>
4837
4838         * commandtags.h:
4839         * LyXAction.C: new LFUN_INSET_MODIFY.
4840
4841         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4842         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4843
4844 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * several files: ws changes only
4847
4848         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4849         (TeXEnvironment): ditto
4850         (TeXDeeper): ditto
4851
4852         * buffer.C (makeLaTeXFile): adjust
4853         (latexParagraphs): make it take ParagraphList::iterator as args
4854
4855 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * buffer.C (latexParagraphs): adjust
4858
4859         * paragraph.C (TeXOnePar): move function...
4860         (optArgInset): move function...
4861         (TeXEnvironment): move function...
4862         * paragraph_pimpl.C (TeXDeeper): move function...
4863         * paragraph_funcs.C: ...here
4864
4865         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4866
4867 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * buffer.C (readInset): remove compability code for old Figure and
4870         InsetInfo insets
4871
4872 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * buffer.C: ws changes
4875         (readInset):
4876
4877         * BufferView_pimpl.C: ditto
4878         * author.C: ditto
4879         * buffer.h: ditto
4880         * bufferlist.h: ditto
4881         * changes.h: ditto
4882         * lyxfunc.C: ditto
4883
4884 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4885
4886         * converter.[Ch]: split into itself +
4887         * graph.[Ch]
4888         * format.[Ch]
4889         * Makefile.am: += graph.[Ch] + format.[Ch]
4890         * MenuBackend.C
4891         * buffer.C
4892         * exporter.C
4893         * importer.C
4894         * lyx_main.C
4895         * lyxfunc.C
4896         * lyxrc.C: added #include "format.h"
4897
4898 2003-02-27  Angus Leeming  <leeming@lyx.org>
4899
4900         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4901           a label.
4902
4903         * factory.C (createInset): add "label" to the factory.
4904
4905         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4906           string and do no more.
4907
4908 2003-02-27  Angus Leeming  <leeming@lyx.org>
4909
4910         * commandtags.h:
4911         * LyXAction.C (init):
4912         * factory.C (createInset):
4913         * BufferView_pimpl.C (dispatch):
4914           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4915
4916         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4917
4918         * lyxfunc.C (dispatch):
4919         * text3.C (dispatch): pass name to params2string.
4920
4921 2003-02-26  Angus Leeming  <leeming@lyx.org>
4922
4923         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4924           blocks together.
4925           Rearrange the ~includes. Strip out the unnecessary ones.
4926
4927         * factory.C (createInset): reformat.
4928           create new insets for the various LFUN_XYZ_APPLY lfuns.
4929
4930 2003-02-26  John Levon  <levon@movementarian.org>
4931
4932         * lyxrow.h:
4933         * lyxrow.C: add isParStart,isParEnd helpers
4934
4935         * paragraph.h: make isInserted/DeletedText take refs
4936
4937         * paragraph_funcs.h:
4938         * paragraph_funcs.C: remove #if 0'd code
4939
4940         * lyxtext.h:
4941         * text3.C:
4942         * text2.C:
4943         * text.C: use lyxrow helpers above.
4944           Move draw and paint routines to RowPainter.
4945           Make several methods use refs not pointers.
4946           Make backgroundColor() const.
4947           Add markChangeInDraw(), isInInset().
4948           Merge changeRegionCase into changeCase.
4949           Make workWidth() shouldn't-happen code into an Assert.
4950
4951         * rowpainter.h:
4952         * rowpainter.C: new class for painting a row.
4953
4954         * vspace.h:
4955         * vspace.C: make inPixels take a ref
4956
4957 2003-02-26  Angus Leeming  <leeming@lyx.org>
4958
4959         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4960         LFUN_REF_APPLY.
4961
4962 2003-02-25  John Levon  <levon@movementarian.org>
4963
4964         * ispell.C: give the forked command a more accurate name
4965
4966 2003-02-22  John Levon  <levon@movementarian.org>
4967
4968         * toc.h:
4969         * toc.C: make TocItem store an id not a Paragraph *
4970           (bug #913)
4971
4972 2003-02-21  Angus Leeming  <leeming@lyx.org>
4973
4974         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4975           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4976           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4977           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4978           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4979           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4980
4981         * BufferView_pimpl.C (dispatch):
4982         * LyXAction.C (init):
4983         * factory.C (createInset):
4984         * lyxfunc.C (getStatus, dispatch):
4985         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4986
4987 2003-02-21  Angus Leeming  <leeming@lyx.org>
4988
4989         * BufferView_pimpl.C (MenuInsertLyXFile):
4990         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4991         * lyxfunc.C (menuNew, open, doImport):
4992           no longer pass a LyXView & to fileDlg.
4993
4994 2003-02-21  Angus Leeming  <leeming@lyx.org>
4995
4996         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4997         * LyXAction.C: change, BIBKEY to BIBITEM.
4998         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4999         Change InsetBibKey to InsetBibitem.
5000         Change BIBKEY_CODE to BIBITEM_CODE.
5001         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5002         * factory.C: replace insetbib.h with insetbibitem.h.
5003         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5004         * paragraph.C: replace insetbib.h with insetbibitem.h.
5005         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5006         Change bibkey() to bibitem().
5007         * text.C: remove insetbib.h.
5008         * text2.C: replace insetbib.h with insetbibitem.h.
5009         change bibkey() to bibitem().
5010         * text3.C: remove insetbib.h.
5011         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5012
5013 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5014
5015         * lyxrc.C (output): enclose user email in quotes (in case there are
5016         several words)
5017
5018 2003-02-18  John Levon  <levon@movementarian.org>
5019
5020         * buffer.h: add std::
5021
5022 2003-02-17  John Levon  <levon@movementarian.org>
5023
5024         * SpellBase.h:
5025         * ispell.h:
5026         * ispell.C:
5027         * pspell.h:
5028         * pspell.C: reworking. Especially in ispell, a large
5029           number of clean ups and bug fixes.
5030
5031         * lyxfunc.C: fix revert to behave sensibly
5032
5033 2003-02-17 André Pönitz <poenitz@gmx.net>
5034
5035         * LyXAction.C:
5036         * commandtags.h: new LFUN_INSERT_BIBKEY
5037
5038         * layout.h:
5039         * lyxlayout.C:
5040         * buffer.C:
5041         * factory.C:
5042         * text.C:
5043         * text2.C:
5044         * text3.C:
5045         * paragraph.[Ch]:
5046         * paragraph_func.C: remove special bibkey handling
5047
5048 2003-02-17  John Levon  <levon@movementarian.org>
5049
5050         * text.C (Delete): fix case where delete at the end of
5051           the very first paragraph would not merge the pars
5052
5053 2003-02-17  John Levon  <levon@movementarian.org>
5054
5055         * lyxrow.C: fix lastPrintablePos()
5056
5057 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5058
5059         * bufferparams.C (writeLaTeX): add a std:here
5060
5061         * buffer.C: and remove a using directive there
5062
5063 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5064
5065         * buffer.C (makeLaTeXFile): move the code that generates the
5066           preamble...
5067
5068         * bufferparams.C (writeLaTeX): ... in this new method
5069
5070         * LaTeXFeatures.C (getEncodingSet): make const
5071           (getLanguages): make const
5072
5073         * MenuBackend.C (binding): returns the binding associated to this
5074           action
5075           (add): sets the status of each item by calling getStatus. Adds
5076           some intelligence.
5077           (read): add support for OptSubMenu
5078           (expand): remove extra separator at the end of expanded menu
5079
5080 2003-02-15  John Levon  <levon@movementarian.org>
5081
5082         * BufferView.C:
5083         * BufferView_pimpl.C:
5084         * bufferlist.h:
5085         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5086           inset code that had no actual effect. Remove unneeded status
5087           code.
5088
5089 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5090
5091         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5092           in preamble
5093
5094 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5095
5096         * text.C (drawLengthMarker): also draw an arrow marker for
5097           symbolic lengths (medskip...)
5098
5099 2003-02-14  John Levon  <levon@movementarian.org>
5100
5101         * tabular.h:
5102         * tabular.C: better method names
5103
5104 2003-02-14  John Levon  <levon@movementarian.org>
5105
5106         * BufferView_pimpl.C:
5107         * bufferlist.C:
5108         * buffer.C:
5109         * converter.C:
5110         * lyx_cb.C:
5111         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5112           it's a more accurate name. Remove some pointless uses.
5113
5114 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5115
5116         * text2.C (LyXText): change order of initilizers to shut off
5117           warnings
5118
5119 2003-02-14  John Levon  <levon@movementarian.org>
5120
5121         * buffer.C: use ParIterator for getParFromID()
5122
5123         * paragraph.h:
5124         * paragraph.C:
5125         * paragraph_pimpl.h:
5126         * paragraph_pimpl.C: remove unused getParFromID()
5127
5128 2003-02-14  John Levon  <levon@movementarian.org>
5129
5130         * buffer.C: remove some very old #if 0'd parse code
5131
5132 2003-02-13  John Levon  <levon@movementarian.org>
5133
5134         * text.h:
5135         * text.C:
5136         * text2.C: move hfillExpansion(), numberOfSeparators(),
5137           rowLast(), rowLastPrintable(), numberofHfills(),
5138           numberOfLabelHfills() ...
5139
5140         * lyxrow.h:
5141         * lyxrow.C: ... to member functions here.
5142
5143         * paragraph.h:
5144         * paragraph.C:
5145         * lyxtext.h:
5146         * text.C: remove LyXText::beginningOfMainBody(), and call
5147           p->beginningOfMainBody() directly. Move the check for
5148           LABEL_MANUAL into the latter.
5149
5150         * text.h:
5151         * text.C:
5152         * text2.C:
5153         * vspace.C:
5154         * BufferView.h:
5155         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5156
5157         * text.h:
5158         * text.C:
5159         * text2.C:
5160         * text3.C:
5161         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5162           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5163
5164 2003-02-13  John Levon  <levon@movementarian.org>
5165
5166         * CutAndPaste.C: remove debug
5167
5168 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5169
5170         * paragraph.C (asString): remove two unused variables
5171
5172         * lyxtextclass.C (readTitleType):
5173           (Read):
5174           (LyXTextClass): handle new members titletype_ and titlename_
5175
5176         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5177
5178 2003-02-09  John Levon  <levon@movementarian.org>
5179
5180         * buffer.h:
5181         * buffer.C: replace hand-coded list with a map for the dep clean
5182
5183 2003-02-08  John Levon  <levon@movementarian.org>
5184
5185         * LaTeX.C: consolidate code into showRunMessage() helper
5186
5187 2003-02-08  John Levon  <levon@movementarian.org>
5188
5189         * lyxfind.C:
5190         * lyxtext.h:
5191         * text2.C:
5192         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5193           and pass the size in explicitly
5194
5195         * BufferView_pimpl.h:
5196         * BufferView_pimpl.C:
5197         * BufferView.h:
5198         * BufferView.C: add getCurrentChange()
5199
5200         * BufferView_pimpl.h:
5201         * BufferView_pimpl.C: handle change lfuns
5202
5203         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5204           for changes. Mark pasted paragraphs as new.
5205
5206         * support/lyxtime.h:
5207         * support/lyxtime.C:
5208         * DepTable.C: abstract time_t as lyx::time_type
5209
5210         * LColor.h:
5211         * LColor.C: add colours for new text, deleted text, changebars
5212
5213         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5214           package use "usenames" option.
5215
5216         * commandtags.h:
5217         * lyxfunc.C:
5218         * LyXAction.C: add change lfuns
5219
5220         * Makefile.am:
5221         * author.h:
5222         * author.C: author handling
5223
5224         * buffer.h:
5225         * buffer.C: add a per-buffer author list, with first entry as
5226           current author. Handle new .lyx tokens for change tracking. Output
5227           author list to .lyx file. Output dvipost stuff to .tex preamble.
5228           Bump lyx format to 222.
5229
5230         * bufferlist.h:
5231         * bufferlist.C: add setCurrentAuthor() to reset current author details
5232           in all buffers.
5233
5234         * bufferparams.h:
5235         * bufferparams.C: add param for tracking
5236
5237         * bufferview_funcs.C: output change info in minibuffer
5238
5239         * Makefile.am:
5240         * changes.h:
5241         * changes.C: add change-tracking structure
5242
5243         * debug.h:
5244         * debug.C: add CHANGES debug flag
5245
5246         * lyxfind.h:
5247         * lyxfind.C: add code for finding the next change piece
5248
5249         * lyxrc.h:
5250         * lyxrc.C: add user_name and user_email
5251
5252         * lyxrow.h:
5253         * lyxrow.C: add a metric for the top of the text line
5254
5255         * lyxtext.h:
5256         * text.C: implement accept/rejectChange()
5257
5258         * lyxtext.h:
5259         * text.C: paint changebars. Paint new/deleted text in the chosen
5260         colours. Strike through deleted text.
5261
5262         * paragraph.h:
5263         * paragraph.C:
5264         * paragraph_pimpl.h:
5265         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5266           in the current change to the insert functions. Rework erase to
5267           mark text as deleted, adding an eraseIntern() and a range-based
5268           erase(). Implement per-paragraph change lookup and
5269           accept/reject.
5270
5271         * paragraph_funcs.C: Fixup paste for change tracking.
5272
5273         * tabular.C: mark added row/columns as new.
5274
5275         * text.C: fix rowLast() to never return -1. Don't allow
5276           spellchecking of deleted text. Track transpose changes. Don't
5277           allow paragraph break or merge where appropriate.
5278
5279         * text2.C: leave cursor at end of selection after a cut.
5280
5281 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5282
5283         * text.C (getLengthMarkerHeight):
5284         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5285         visible on screen too.
5286
5287 2003-02-07  John Levon  <levon@movementarian.org>
5288
5289         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5290
5291 2003-02-05  Angus Leeming  <leeming@lyx.org>
5292
5293         * lyxserver.C (read_ready): revert my patch of 11 September last year
5294         as it sends PC cpu through the roof. Presumably this means that
5295         the lyxserver will no longer run on an Alpha...
5296
5297 2003-01-30  Angus Leeming  <leeming@lyx.org>
5298
5299         * factory.C (createInset): create an InsetCommandParam of type "index"
5300         and use it to 'do the right thing'.
5301
5302         * text2.C (getStringToIndex): ensure that cursor position is always
5303         reset to the reset_cursor position.
5304
5305 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5306
5307         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5308         disabled.
5309
5310 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5311
5312         * bufferview.C:
5313         * lyxcb.C:
5314         * lyxfunc.C: Output messages with identical spelling, punctuation,
5315         and spaces
5316
5317 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5318
5319         * MenuBackend.C (expandFormats): List only viewable export formats
5320         in "View" menu
5321
5322         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5323         message
5324
5325         * lyxfunc.C (getStatus): Make sure that formats other than
5326         "fax" can also be disabled
5327
5328 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5329
5330         * text3.C (dispatch): put the lfuns that insert insets in 3
5331         groups, and call doInsertInset with appropriate arguments.
5332         (doInsertInset): new function, that creates an inset and inserts
5333         it according to some boolean parameters.
5334
5335 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * buffer.C (readFile): remember to pass on 'par' when calling
5338         readFile recursively.
5339
5340 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5341
5342         * MenuBackend.C (expandFormats): add "..." to import formats.
5343
5344 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5345
5346         * paragraph.C (asString): Remove XForms RTL hacks.
5347
5348 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5349         * buffer.C: fix typo
5350
5351 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * Makefile.am (LIBS): delete var
5354         (lyx_LDADD): add @LIBS@ here instead.
5355
5356 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5357
5358         * Clarify the meaning of "wheel mouse jump"
5359
5360 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5361
5362         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5363         tabular in a float
5364
5365 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5366
5367         * importer.C (Loaders): do not preallocate 3 elements in the
5368         vector, since one ends up with 6 elements otherwise
5369
5370 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5371
5372         * DepTable.C (write): write the file name as last element of the
5373         .dep file (because it may contain spaces)
5374         (read): read info in the right order
5375
5376 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5377
5378         * paragraph_pimpl.C (simpleTeXBlanks):
5379         (simpleTeXSpecialChars):
5380         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5381
5382         * tabular.C (latex): add some missing case statements. Reindent.
5383
5384         * MenuBackend.C (expandToc): remove unused variable.
5385
5386 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5387
5388         * LColor.C:
5389         * LaTeX.C:
5390         * LyXAction.C:
5391         * MenuBackend.C:
5392         * buffer.C:
5393         * exporter.C:
5394         * lyxfunc.C:
5395         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5396         and the like.
5397
5398 2003-01-05  John Levon  <levon@movementarian.org>
5399
5400         * BufferView.h:
5401         * BufferView.C: add getEncoding()
5402
5403         * kbsequence.h:
5404         * kbsequence.C: do not store last keypress
5405
5406         * lyxfunc.h:
5407         * lyxfunc.C: store last keypress here instead. Pass encoding
5408           to getISOEncoded()
5409
5410 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5411
5412         * lyx_main.C (init): remove annoying error message when following
5413         symbolic links (bug #780)
5414
5415 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5416
5417         * text.C (insertChar):
5418         * lyxrc.C (getDescription): remove extra spaces
5419
5420 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5421
5422         * lyxrc.C (getDescription): remove extra spaces
5423
5424 2002-12-20  John Levon  <levon@movementarian.org>
5425
5426         * text3.C: hack fix for page up/down across tall rows
5427
5428 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5429
5430         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5431         not been invoked
5432
5433 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5434
5435         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5436         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5437         thesaurus is not compiled in
5438
5439 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5440
5441         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5442
5443 2002-12-16  Angus Leeming  <leeming@lyx.org>
5444
5445         * lyxrc.[Ch]:
5446         * lyx_main.C (init): remove override_x_deadkeys stuff.
5447
5448 2002-12-12  John Levon  <levon@movementarian.org>
5449
5450         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5451           insert. Only remove shift modifier under strict
5452           circumstances.
5453
5454 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * MenuBackend.C (expandToc): fix crash.
5457
5458 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * MenuBackend.C (expandToc): gettext on float names.
5461
5462 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5463
5464         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5465         implement bool empty() [bug 490]
5466
5467 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5470
5471 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * several files: ws changes
5474
5475 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * text2.C (setCounter): clean up a bit, use boost.format.
5478         (updateCounters): initialize par upon declaration.
5479
5480         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5481         if the layout exists. We do not just store the layout any more.
5482         (SwitchLayoutsBetweenClasses): use boost.format
5483
5484 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5485
5486         * converter.C (convert): if from and to files are the same, use a
5487         temporary files as intermediary
5488
5489 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5490
5491         * commandtags.h:
5492         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5493
5494 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5495
5496         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5497
5498 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * tabular.C (asciiPrintCell): use string(size, char) instead of
5501         explicit loop.
5502
5503         * sgml.C (openTag): fix order of arguments to string constructor
5504         (closeTag): ditto
5505
5506         * lyxfunc.C (dispatch): use boost.format
5507
5508         * lots of files: change "c" -> 'c'
5509
5510 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5511
5512         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5513
5514 2002-11-25  Angus Leeming  <leeming@lyx.org>
5515
5516         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5517
5518         * lyx_main.C (init): compile fix.
5519
5520 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * lyx_cb.C (start): boost.formatify
5523         do not include <iostream>
5524
5525         * lengthcommon.C: ws only
5526
5527         * boost-inst.C,BoostFormat.h: add more explict instantations
5528
5529 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * lots of files: handle USE_BOOST_FORMAT
5532
5533 2002-11-21  John Levon  <levon@movementarian.org>
5534
5535         * pspell.C: fix compile
5536
5537 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5538
5539         * lyxfunc.C (dispatch): use boost::format
5540         (open): ditto
5541         (doImport): ditto
5542
5543         * lyxfont.C (stateText): use boost::format
5544
5545         * lyx_main.C (LyX): use boost::format
5546         (init): ditto
5547         (queryUserLyXDir): ditto
5548         (readRcFile): ditto
5549         (parse_dbg): ditto
5550         (typedef boost::function): use the recommened syntax.
5551
5552         * importer.C (Import): use boost::format
5553
5554         * debug.C (showLevel): use boost::format
5555
5556         * converter.C (view): use boost::format
5557         (convert): ditto
5558         (move): ditto
5559         (scanLog): ditto
5560
5561         * bufferview_funcs.C (currentState): use boost::format
5562
5563         * bufferlist.C (emergencyWrite): use boost::format
5564
5565         * buffer.C (readLyXformat2): use boost::format
5566         (parseSingleLyXformat2Token): ditto
5567
5568         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5569
5570         * LaTeX.C (run): use boost::format
5571
5572         * Chktex.C (scanLogFile): use boost::format
5573
5574         * BufferView_pimpl.C (savePosition): use boost::format
5575         (restorePosition): ditto
5576         (MenuInsertLyXFile): ditto
5577
5578         * BoostFormat.h: help file for explicit instation.
5579
5580 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5581
5582         * tabular.C (latex): Support for block alignment in fixed width
5583         columns.
5584
5585 2002-11-17  John Levon  <levon@movementarian.org>
5586
5587         * BufferView_pimpl.C:
5588         * lyx_cb.C:
5589         * lyxfunc.C: split filedialog into open/save
5590
5591 2002-11-08  Juergen Vigna  <jug@sad.it>
5592
5593         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5594         by my last patch (hopefully).
5595
5596 2002-11-08  John Levon  <levon@movementarian.org>
5597
5598         * iterators.h:
5599         * iterators.C:
5600         * buffer.h:
5601         * buffer.C:
5602         * paragraph.h:
5603         * paragraph.C:
5604         * toc.h:
5605         * toc.C: ParConstIterator, and use it (from Lars)
5606
5607 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5608
5609         * lyxtextclass.[Ch]: revise and add doxygen comments
5610
5611 2002-11-07  John Levon  <levon@movementarian.org>
5612
5613         * text.C: fix progress value for spellchecker
5614
5615         * toc.C: fix navigate menu for insetwrap inside minipage
5616
5617         * paragraph_funcs.C: added FIXME for suspect code
5618
5619 2002-11-07  John Levon  <levon@movementarian.org>
5620
5621         * BufferView_pimpl.C: fix redrawing of insets
5622           on buffer switch
5623
5624 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5625
5626         * text2.C (updateCounters): fix bug 668
5627
5628 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5629
5630         * text3.C (dispatch): Do not make the buffer dirty when moving the
5631         cursor.
5632
5633 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * vc-backend.C: STRCONV
5636         (scanMaster): ditto
5637
5638         * text2.C (setCounter): STRCONV
5639
5640         * paragraph.C (asString): STRCONV
5641
5642         * lyxlength.C (asString): STRCONV
5643         (asLatexString): ditto
5644
5645         * lyxgluelength.C (asString): STRCONV
5646         (asLatexString): ditto
5647
5648         * lyxfunc.C (dispatch): STRCONV
5649         (open): ditto
5650
5651         * lyxfont.C (stateText): STRCONV
5652
5653         * importer.C (Import): STRCONV
5654
5655         * counters.C (labelItem): STRCONV
5656         (numberLabel): ditto
5657         (numberLabel): remove unused ostringstream o
5658
5659         * chset.C: STRCONV
5660         (loadFile): ditto
5661
5662         * bufferview_funcs.C (currentState): STRCONV
5663
5664         * buffer.C (readFile): STRCONV
5665         (asciiParagraph): ditto
5666         (makeLaTeXFile): ditto
5667
5668         * Spacing.C (writeEnvirBegin): STRCONV
5669
5670         * LaTeXFeatures.C (getLanguages): STRCONV
5671         (getPackages): ditto
5672         (getMacros): ditto
5673         (getBabelOptions): ditto
5674         (getTClassPreamble): ditto
5675         (getLyXSGMLEntities): ditto
5676         (getIncludedFiles): ditto
5677
5678         * LaTeX.C: STRCONV
5679         (run): ditto
5680         (scanAuxFile): ditto
5681         (deplog): ditto
5682
5683         * LString.h: add the STRCONV macros
5684
5685         * BufferView_pimpl.C (savePosition): STRCONV
5686         (restorePosition): ditto
5687         (MenuInsertLyXFile): ditto
5688
5689         * vc-backend.C (scanMaster): change from submatch[...] to
5690         submatch.str(...)
5691
5692         * funcrequest.C: include config.h
5693
5694         * factory.C: include config.h
5695
5696         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5697
5698         * box.C: include config.h
5699
5700         * LaTeX.C (scanAuxFile): change from submatch[...] to
5701         submatch.str(...)
5702         (deplog): ditto
5703
5704 2002-10-25  Angus Leeming  <leeming@lyx.org>
5705
5706         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5707
5708         * ispell.[Ch] (setError): new method.
5709         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5710         Use setError() insetead of goto END.
5711
5712         * lyx_cb.C (AutoSave): move out child process into new class
5713         AutoSaveBuffer.
5714
5715 2002-10-30  John Levon  <levon@movementarian.org>
5716
5717         * text3.C: make start appendix undoable
5718
5719 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5720
5721         * lyxlength.C (inPixels): Fix returned value.
5722
5723         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5724         environment.
5725
5726 2002-10-24  Angus Leeming  <leeming@lyx.org>
5727
5728         * lyxgluelength.h: no need to forward declare BufferParams
5729         or BufferView, so don't.
5730
5731 2002-10-21  John Levon  <levon@movementarian.org>
5732
5733         * BufferView.C: menuUndo ->undo, redo
5734
5735         * BufferView.h: document, remove dead, make some methods private
5736
5737         * paragraph_funcs.h:
5738         * paragraph_funcs.C:
5739         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5740
5741         * buffer.h:
5742         * buffer.C:
5743         * sgml.h:
5744         * sgml.C: move sgml open/close tag into sgml.C
5745
5746         * bufferview_funcs.h: unused prototype
5747
5748         * lyxfunc.h:
5749         * lyxfunc.C: remove unused
5750
5751         * lyxtext.h:
5752         * text.C: remove unused
5753
5754 2002-10-21  John Levon  <levon@movementarian.org>
5755
5756         * BufferView.h:
5757         * BufferView.C:
5758         * BufferView_pimpl.h:
5759         * BufferView_pimpl.C: fix mouse wheel handling based on
5760           patch from Darren Freeman
5761
5762 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5763
5764         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5765
5766 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5767
5768         * lyxlength.C (inPixels): Fix hanfling of negative length.
5769         Fix LyXLength::MU case.
5770
5771 2002-10-16  John Levon  <levon@movementarian.org>
5772
5773         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5774
5775 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5776
5777         * converter.C (view): add support for $$i (file name) and $$p
5778         (file path) for the viewer command. If $$i is not specified, then
5779         it is appended to the command (for compatibility with old syntax)
5780
5781 2002-10-14  Juergen Vigna  <jug@sad.it>
5782
5783         * undo_funcs.C (textHandleUndo): alter the order in which the
5784         new undopar is added to the LyXText, as we have to set first
5785         the right prev/next and then add it as otherwise the rebuild of
5786         LyXText is not correct. Also reset the cursor to the right paragraph,
5787         with this IMO we could remove the hack in "redoParagraphs()".
5788
5789 2002-10-09  Angus Leeming  <leeming@lyx.org>
5790
5791         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5792         to turn off an optimisation if a new inset is to be inserted.
5793
5794 2002-10-11 André Pönitz <poenitz@gmx.net>
5795
5796         * lyxtext.h: make some functions public to allow access
5797         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5798
5799 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5800
5801         * text3.C (dispatch): when changing layout, avoid an infinite loop
5802         [bug #652]
5803
5804 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5805
5806         * lyxrc.C (read): treat a viewer or converter command of "none" as
5807         if it were empty.
5808
5809         * MenuBackend.C (expandFormats): for an update, also allow the
5810         formats that are not viewable
5811
5812         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5813         script if it is newer than the lyxrc.defaults in user directory
5814
5815 2002-10-07 André Pönitz <poenitz@gmx.net>
5816
5817         * text.C: Vitaly Lipatov's small i18n fix
5818
5819 2002-09-25  Angus Leeming  <leeming@lyx.org>
5820
5821         * ispell.h: doxygen fix.
5822
5823 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5824
5825         * buffer.h (readFile): Add a new argument to the method, to allow
5826         reading of old-format templates.
5827
5828 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5829
5830         * toc.C (getTocList): Get TOC from InsetWrap.
5831
5832 2002-09-16  John Levon  <levon@movementarian.org>
5833
5834         * lyxfunc.C: check tabular for cut/copy too
5835
5836 2002-09-12  John Levon  <levon@movementarian.org>
5837
5838         * LyXAction.C: tidy
5839
5840         * factory.h:
5841         * factory.C: add header
5842
5843         * paragraph_funcs.h:
5844         * paragraph_funcs.C: cleanup
5845
5846 2002-09-11  John Levon  <levon@movementarian.org>
5847
5848         * PrinterParams.h: odd/even default to true
5849
5850 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5851
5852         * PrinterParams.h: update printer parameters for new xforms dialog
5853
5854 2002-09-11  Angus Leeming  <leeming@lyx.org>
5855
5856         * lyxserver.C (read_ready): re-write to make it more transparent
5857         and to make it work in coherent fashion under Tru64 Unix.
5858
5859 2002-09-11  André Pönitz <poenitz@gmx.net>
5860
5861         * commandtags.h:
5862         * LyXAction.C:
5863         * text3.C: implement LFUN_WORDSEL
5864
5865 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5868         make floatlist_ a boost::shared_ptr<FloatList>
5869
5870         * lyxtextclass.C: include FloatList.h
5871         (LyXTextClass): initialize floatlist_
5872         (TextClassTags): add TC_NOFLOAT
5873         (Read): match "nofloat" to TC_NOFLOAT and use it.
5874         (readFloat): modify call to floatlist_
5875         (floats): ditto
5876         (floats): ditto
5877
5878         * FloatList.[Ch] (FloatList): remove commented out float
5879         initialization.
5880         (erase): new function
5881
5882 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5883
5884         * MenuBackend.C (expandToc): fix crash when there is no document
5885         open
5886
5887 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5888
5889         * many files: Add insetwrap.
5890
5891 2002-09-09  John Levon  <levon@movementarian.org>
5892
5893         * text2.C: remove confusing and awkward depth wraparound
5894
5895 2002-09-09  John Levon  <levon@movementarian.org>
5896
5897         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5898
5899         * buffer.h:
5900         * buffer.C: remove getIncludeonlyList()
5901
5902         * paragraph.C:
5903         * lyxfunc.C: remove headers
5904
5905 2002-09-09  Juergen Vigna  <jug@sad.it>
5906
5907         * text.C (getColumnNearX): fix form Michael this is most
5908         probably a cut&paste bug.
5909
5910 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5913
5914         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5915         references, ws changes.
5916
5917         * text2.C (init): update counters after init
5918         (insertParagraph): no need to set counter on idividual paragraphs.
5919         (setCounter): access the counters object in the textclass object
5920         on in the buffer object.
5921         (updateCounters): ditto
5922
5923         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5924         shared_ptr<Counters> to avoid loading counters.h in all
5925         compilation units.
5926         (LyXTextClass): initialize ctrs_
5927         (TextClassTags): add TC_COUNTER, and ...
5928         (Read): use it here.
5929         (CounterTags): new tags
5930         (readCounter): new function
5931         (counters): new funtion
5932         (defaultLayoutName): return a const reference
5933
5934         * counters.C (Counters): remove contructor
5935         (newCounter): remove a couple of unneeded statements.
5936         (newCounter): simplify a bit.
5937         (numberLabel): some small formatting changes.
5938
5939         * buffer.[Ch]: remove all traces of counters, move the Counters
5940         object to the LyXTextClass.
5941
5942 2002-09-06  Alain Castera  <castera@in2p3.fr>
5943
5944         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5945         package to set the horizontal alignment on fixed width columns.
5946
5947         * lyx_sty.C:
5948         * lyx_sty.h: added tabularnewline macro def.
5949
5950         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5951
5952 2002-09-06  John Levon  <levon@movementarian.org>
5953
5954         * LyXAction.C: tooltips for sub/superscript
5955
5956         * MenuBackend.C: a bit more verbose
5957
5958         * lyxfunc.C: tiny clean
5959
5960         * undo_funcs.C: document undo_frozen
5961
5962 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * counters.C (Counters): add missing algorithm counter.
5965
5966         * text2.C (setCounter): lookup the counter with layouts latexname
5967         instead of by section number.
5968         (setCounter): use a hackish way to lookup the correct enum
5969         counter.
5970         a float name->type change
5971         reset enum couners with counter name directly instead of depth value.
5972
5973         * counters.C (Counters): remove the push_backs, change to use the
5974         float type not the float name.
5975         (labelItem): remove unused string, float name->type change
5976
5977         * counters.h: don't include vector, loose the enums and sects vectors
5978
5979 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5982         (Read): add float->TC_FLOAT to textclassTags
5983         (Read): and handle it in the switch
5984         (readFloat): new function
5985
5986         * FloatList.C (FloatList): comment out the hardcoded float
5987         definitions.
5988
5989         * lyxlayout.h: ws change.
5990
5991 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5992
5993         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5994
5995 2002-09-03  Angus Leeming  <leeming@lyx.org>
5996
5997         * BufferView_pimpl.h: qualified name is not allowed in member
5998         declaration: WorkArea & Pimpl::workarea() const;
5999
6000         * factory.C: added using std::endl directive.
6001
6002         * text3.C: added using std::find and std::vector directives.
6003
6004 2002-08-29  André Pönitz <poenitz@gmx.net>
6005
6006         * lyxtext.h:
6007         * text2.C: remove unused member number_of_rows
6008
6009         * Makefile.am:
6010         * BufferView2.C: remove file, move contents to...
6011         * BufferView.C: ... here
6012
6013         * BufferView_pimpl.C:
6014         * factory.C: move more inset creation to factory
6015
6016         * vspace.C: avoid direct usage of LyXText, ws changes
6017
6018         * BufferView.[Ch]:
6019                 don't provide direct access to WorkArea, use two simple
6020                 acessors haveSelction() and workHeight() instead
6021
6022
6023 2002-08-29  John Levon  <levon@movementarian.org>
6024
6025         * BufferView_pimpl.C (dispatch): do not continue when
6026           no buffer
6027
6028 2002-08-28  André Pönitz <poenitz@gmx.net>
6029
6030         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6031
6032         * BufferView.h:
6033         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6034
6035 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6036
6037         * buffer.C: increment LYX_FORMAT to 221
6038
6039         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6040         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6041
6042         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6043
6044         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6045
6046 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6047
6048         * factory.C (createInset): use LyXTextClass::floats
6049
6050         * MenuBackend.C (expandFloatListInsert):
6051         (expandFloatInsert):
6052         (expandToc):
6053
6054         * text2.C (setCounter):
6055
6056         * LaTeXFeatures.C (useFloat):
6057         (getFloatDefinitions):
6058
6059         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6060
6061         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6062         floatlist_, with accessor floats().
6063
6064         * FloatList.h: remove global FloatList
6065
6066 2002-08-26  André Pönitz <poenitz@gmx.net>
6067
6068         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6069
6070         * BufferView.h:
6071         * BufferView2.C:
6072         * BufferView_pimpl.C:
6073         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6074
6075 2002-08-25  John Levon  <levon@movementarian.org>
6076
6077         * LyXAction.C: fix margin note description
6078
6079 2002-08-24  John Levon  <levon@movementarian.org>
6080
6081         * buffer.C:
6082         * bufferlist.C:
6083         * bufferview_funcs.C:
6084         * lyxfont.C:
6085         * undo_funcs.C: cleanups
6086
6087         * lyxfunc.C: disable CUT/COPY when no selection
6088
6089 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6090
6091         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6092         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6093
6094         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6095         Add backward compatibility to "mono", "gray" and "no".
6096
6097 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6098
6099         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6100         (and file_format >= 200).
6101
6102 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6103
6104         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6105
6106 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6107
6108         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6109
6110 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6111
6112         * BufferView_pimpl.C:
6113         * LyXAction.C:
6114         * buffer.C:
6115         * commandtags.h:
6116         * lyxfunc.C:
6117         * paragraph.[Ch]:
6118         * text2.C:
6119         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6120         inset and code to make it  work with the paragraph code. The inset
6121         can be anywhere in the paragraph, but will only do the expected
6122         thing in LaTeX if the layout file contains the parameter line
6123                         OptionalArgs    1
6124         (or more generally, a nonzero value) for that layout.
6125
6126 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * paragraph.h: remove the declaration of undefined counters class
6129         function.
6130
6131 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6132
6133         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6134         Dr. Richard Hawkins.
6135
6136 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6137
6138         * paragraph_funcs.h: remove some unneeded includes
6139
6140         * text.C (backspace): pasteParagraph now in global scipe
6141
6142         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6143         (pasteSelection): ditto
6144
6145         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6146         * paragraph_funcs.C (pasteParagraph): ... here
6147
6148 2002-08-20  André Pönitz <poenitz@gmx.net>
6149
6150         * commandtags.h: new LFUNs for swapping/copying table row/colums
6151
6152         * LyXAction.C:
6153         * lyxfunc.C: support for new lfuns
6154
6155 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * tabular.C:
6158         * buffer.[Ch]: remove NO_COMPABILITY stuff
6159
6160 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * boost.C (throw_exception): new file, with helper function for
6163         boost compiled without exceptions.
6164
6165         * paragraph.h:
6166         * lyxlength.C:
6167         * buffer.C:
6168         * ParameterStruct.h:
6169         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6170
6171         * bufferlist.C (emergencyWriteAll): use boost bind
6172
6173         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6174
6175         * text.C: include paragraph_funcs.h
6176         (breakParagraph): breakParagraph is now in global scope
6177
6178         * paragraph_funcs.[Ch]: new files
6179
6180         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6181         global scope
6182
6183         * buffer.C: include paragraph_funcs.h
6184         (insertStringAsLines): breakParagraph is now in global scope
6185
6186         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6187         paragraph_funcs.C
6188
6189         * CutAndPaste.C: include paragraph_funcs.h
6190         (cutSelection): breakParagraphConservative is now in global scope
6191         (pasteSelection): ditto
6192
6193         * buffer.h: declare oprator== and operator!= for
6194         Buffer::inset_iterator
6195
6196         * bufferlist.C (emergencyWrite): don't use fmt(...)
6197
6198         * text3.C: add using std::endl
6199
6200         * BufferView.C (moveCursorUpdate): remove default arg
6201
6202 2002-08-20  André Pönitz <poenitz@gmx.net>
6203
6204         * buffer.[Ch]: move inline functions to .C
6205
6206         * BufferView2.C:
6207         * BufferView_pimpl.C:
6208         * text.C:
6209         * buffer.[Ch]: use improved inset_iterator
6210
6211         * buffer.C:
6212         * paragraph.[Ch]: write one paragraph at a time
6213
6214 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6215
6216         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6217         style if style is not specified.
6218
6219 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6220
6221         * text2.C (setCounter): when searching for right label for a
6222         caption, make sure to recurse to parent insets (so that a caption
6223         in a minipage in a figure float works) (bug #568)
6224
6225 2002-08-20  André Pönitz <poenitz@gmx.net>
6226
6227         * text3.C: new file for LyXText::dispatch() and helpers
6228
6229         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6230
6231         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6232
6233 2002-08-19  André Pönitz <poenitz@gmx.net>
6234
6235         * lyxtext.h:
6236         * text.C: new LyXText::dispatch()
6237
6238         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6239
6240 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6241
6242         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6243
6244         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6245         Hebrew text.
6246
6247 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6248
6249         * Makefile.am: use $(variables) instead of @substitutions@
6250
6251 2002-08-15  André Pönitz <poenitz@gmx.net>
6252
6253         * lyxfunc.C:
6254         * BufferView_pimpl.C: streamlining mathed <-> outer world
6255         interaction
6256
6257         * commandtags.h:
6258         * LyXAction.C: remove unused LFUN_MATH
6259
6260 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6263
6264 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * paragraph.C (Paragraph): reformat a bit
6267         (cutIntoMinibuffer): use builtin InsetList function instad of
6268         doing it manually.
6269         (getInset): ditto
6270
6271         * buffer.C: include boost/bind.hpp, add using std::for_each
6272         (writeFileAscii): use ParagraphList iterators
6273         (validate): use for_each for validate traversal of paragraphs
6274         (getBibkeyList): use ParagraphList iterators
6275         (resizeInsets): use for_each to resizeInsetsLyXText for all
6276         paragraphs.
6277         (getParFromID): use ParagraphList iterators
6278
6279         * BufferView2.C (lockInset): use paragraph list and iterators
6280
6281 2002-08-14  John Levon  <levon@movementarian.org>
6282
6283         * lyxserver.C: remove spurious xforms include
6284
6285 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6286
6287         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6288
6289 2002-08-13  André Pönitz <poenitz@gmx.net>
6290
6291         * LyXAction.[Ch]:
6292         * lyxfunc.C: further cleaning
6293
6294 2002-08-13  André Pönitz <poenitz@gmx.net>
6295
6296         * funcrequest.h: new constructor
6297
6298         * funcrequest.C: move stuff here from .h
6299
6300         * Makefile.am:
6301         * BufferView_pimpl.C:
6302         * LyXAction.C:
6303         * toc.C:
6304         * lyxfunc.C: subsequent changes
6305
6306         * lyxfunc.h: new view() member function
6307
6308         * lyxfunc.C: subsequent changes
6309
6310 2002-08-13  Angus Leeming  <leeming@lyx.org>
6311
6312         * BufferView2.C:
6313         * BufferView_pimpl.C:
6314         * buffer.C:
6315         * converter.C:
6316         * importer.C:
6317         * lyxfunc.C:
6318         * lyxvc.C:
6319         * toc.C:
6320         * vc-backend.C:
6321         changes due to the changed LyXView interface that now returns references
6322         to member variables not pointers.
6323
6324 2002-08-13  Angus Leeming  <leeming@lyx.org>
6325
6326         * WordLangTuple (word, lang_code): return references to strings,
6327         not strings.
6328
6329         * BufferView.h:
6330         * SpellBase.h:
6331         * lyxtext.h: forward-declare WordLangTuple.
6332
6333         * BufferView2.C:
6334         * ispell.C:
6335         * pspell.C:
6336         * text.C: #include "WordLangTuple.h".
6337
6338         * lyxtext.h:
6339         * text.C: (selectNextWordToSpellcheck): constify return type.
6340
6341 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6342
6343         * buffer.C:
6344         * buffer.h:
6345         * lyxtext.h:
6346         * paragraph.C:
6347         * paragraph_pimpl.h:
6348         * text.C:
6349         * text2.C:
6350         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6351         suggested by Angus.
6352         Made updateCounter always count from start of buffer, and removed
6353         second argument (par).
6354         Reverted floats number display to '#'. Perhaps I'll try again when the
6355         code base is sanitized a bit.
6356
6357 2002-08-12  Angus Leeming  <leeming@lyx.org>
6358
6359         * buffer.[Ch] (getLabelList): constify.
6360
6361 2002-08-07  André Pönitz <poenitz@gmx.net>
6362
6363         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6364
6365         * funcrequest.h: extension to keep mouse (x,y) position
6366
6367 2002-08-12  Juergen Vigna  <jug@sad.it>
6368
6369         * BufferView2.C (insertErrors): forbid undo when inserting error
6370         insets.
6371
6372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6373
6374 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * ParagraphList.[Ch]: new files
6377
6378         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6379
6380         * BufferView2.C (lockInset): ParagraphList changes
6381         * toc.C: ditto
6382         * text2.C: ditto
6383         * bufferlist.C: ditto
6384         * buffer.h: ditto
6385         * buffer.C: ditto
6386
6387 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6390         unused class variable counter_,
6391
6392         * paragraph.[Ch] (getFirstCounter): delete unused function
6393
6394         * counters.C: include LAssert.h
6395         (reset): add a new function with no arg, change other version to
6396         not have def. arg and to not allow empty arg.
6397
6398         * text2.C (setCounter): remove empty arg from call to Counters::reset
6399
6400 2002-08-11  John Levon  <levon@movementarian.org>
6401
6402         * Makefile.am: add WordLangTuple.h
6403
6404 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6407         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6408
6409         * insets/insettext.C: InsetList changes
6410
6411         * graphics/GraphicsSupport.C (operator()): InsetList changes
6412
6413         * toc.C (getTocList): InsetList changes
6414
6415         * paragraph_pimpl.[Ch]: InsetList changes
6416
6417         * paragraph.[Ch]: InsetList changes
6418
6419         * buffer.C (inset_iterator): InsetList changes
6420         (setParagraph): ditto
6421         * buffer.h (inset_iterator): ditto
6422         * iterators.C (operator++): ditto
6423         * iterators.h: ditto
6424
6425         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6426
6427         * InsetList.[Ch]: new files, most InsetList handling moved out of
6428         paragraph.C.
6429
6430         * BufferView2.C (removeAutoInsets): InsetList changes
6431         (lockInset): ditto
6432         (ChangeInsets): ditto
6433
6434 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * paragraph_pimpl.h (empty): new function
6437
6438         * paragraph.[Ch] (empty): new function
6439
6440         * other files: use the new Paragraph::empty function
6441
6442 2002-08-09  John Levon  <levon@movementarian.org>
6443
6444         * lyxtext.h: remove unused refresh_height
6445
6446 2002-08-09  John Levon  <levon@movementarian.org>
6447
6448         * Makefile.am:
6449         * sgml.h:
6450         * sgml.C:
6451         * buffer.C:
6452         * paragraph.h:
6453         * paragraph.C: move sgml char escaping out of paragraph
6454
6455         * paragraph.h:
6456         * paragraph.C: remove id setter
6457
6458         * buffer.C:
6459         * paragraph.C:
6460         * paragraph_pimpl.C: remove dead tex_code_break_column
6461
6462         * bufferview_funcs.C: small cleanup
6463
6464         * lyxfunc.C: remove dead proto
6465
6466         * lyxtext.h: make some stuff private. Remove some dead stuff.
6467
6468         * lyxgluelength.C: make as[LyX]String() readable
6469
6470 2002-08-08  John Levon  <levon@movementarian.org>
6471
6472         * LyXAction.h:
6473         * LyXAction.C:
6474         * MenuBackend.C:
6475         * ToolbarDefaults.C:
6476         * lyxfunc.C:
6477         * lyxrc.C:
6478         * toc.C: lyxaction cleanup
6479
6480 2002-08-08  John Levon  <levon@movementarian.org>
6481
6482         * BufferView2.C: small cleanup
6483
6484         * lyxfind.h:
6485         * lyxfind.C: move unnecessary header into the .C
6486
6487 2002-08-08  John Levon  <levon@movementarian.org>
6488
6489         * funcrequest.h: just tedious nonsense
6490
6491         * lyx_main.h:
6492         * lyx_main.C: cleanups
6493
6494         * buffer.C:
6495         * vspace.C: remove dead header lyx_main.h
6496
6497 2002-08-07  Angus Leeming  <leeming@lyx.org>
6498
6499         * Paragraph.[Ch]:
6500         * paragraph_pimpl.h:
6501         Forward declare class Counters in paragraph.h by moving the ctrs member
6502         variable into Paragraph::Pimpl.
6503         (counters): new method, returning a reference to pimpl_->ctrs.
6504
6505         * text2.C: ensuing changes.
6506
6507 2002-08-07  John Levon  <levon@movementarian.org>
6508
6509         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6510
6511         * BufferView_pimpl.C: announce X selection on double/triple
6512           click
6513
6514         * lyx_main.C: use correct bool in batch dispatch
6515
6516         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6517
6518 2002-08-07  André Pönitz <poenitz@gmx.net>
6519
6520         * funcrequest.h: new class to wrap a kb_action and its argument
6521
6522         * BufferView.[Ch]:
6523         * BufferView_pimpl[Ch]:
6524         * LaTeX.C:
6525         * LyXAction.[Ch]:
6526         * lyxfunc.[Ch]:
6527         * lyxrc.C: subsequent changes
6528
6529
6530 2002-08-07  John Levon  <levon@movementarian.org>
6531
6532         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6533           document options change.
6534
6535 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6536
6537         * counters.[Ch]
6538         * text2.C
6539         * paragraph.[Ch]
6540         * makefile.am: move counters functionality over from
6541         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6542
6543 2002-08-06  John Levon  <levon@movementarian.org>
6544
6545         * WordLangTuple.h: new file for word + language code tuple
6546
6547         * SpellBase.h:
6548         * pspell.h:
6549         * pspell.C:
6550         * ispell.h:
6551         * ispell.C:
6552         * lyxtext.h:
6553         * text.C:
6554         * text2.C:
6555         * BufferView.h:
6556         * BufferView2.C: use WordLangTuple
6557
6558         * layout.h:
6559         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6560
6561 2002-08-06  John Levon  <levon@movementarian.org>
6562
6563         * lyx_main.C: fix cmdline batch handling
6564
6565 2002-08-06  André Pönitz <poenitz@gmx.net>
6566
6567         * lyxrc.C: set default for show_banner to true
6568
6569 2002-08-06  John Levon  <levon@movementarian.org>
6570
6571         * pspell.C: fix a crash, and allow new aspell to work
6572
6573 2002-08-06  John Levon  <levon@movementarian.org>
6574
6575         * lyxfunc.C:
6576         * kbmap.C: small cleanup
6577
6578         * vspace.h:
6579         * vspace.C: add const
6580
6581 2002-08-05  John Levon  <levon@movementarian.org>
6582
6583         * LyXAction.C: back to tabular-insert
6584
6585 2002-08-04  John Levon  <levon@movementarian.org>
6586
6587         * BufferView.h:
6588         * BufferView.C: cosmetic change
6589
6590         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6591
6592         * bufferlist.C:
6593         * buffer.h:
6594         * buffer.C:
6595         * lyxcb.h:
6596         * lyxcb.C:
6597         * lyxserver.C:
6598         * lyxvc.C:
6599         * vc-backend.C:
6600         * BufferView2.C: purge all "Lyx" not "LyX" strings
6601
6602         * lyxcursor.h:
6603         * lyxcursor.C: attempt to add some documentation
6604
6605         * lyxfunc.C:
6606         * commandtags.h:
6607         * LyXAction.C:
6608         * ToolbarDefaults.C:
6609         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6610           merge with LFUN_TABULAR_INSERT
6611
6612         * Makefile.am:
6613         * SpellBase.h:
6614         * ispell.h:
6615         * ispell.C:
6616         * pspell.h:
6617         * pspell.C: split up i/pspell implementations into separate
6618           files, many cleanups
6619
6620         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6621
6622         * text2.C: some cleanup
6623
6624         * lyxfunc.C: don't check for isp_command == "none" any more, it
6625           didn't make any sense
6626
6627 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6628
6629         * counters.[Ch]
6630         * text2.C
6631         * paragraph.[Ch]
6632         * makefile.am: move counters functionality over
6633         from text2.C/paragraph.[Ch] to counters.[Ch], and
6634         make proper C++.
6635 2002-08-02  John Levon  <levon@movementarian.org>
6636
6637         * buffer.C: s/lyxconvert/lyx2lyx/
6638
6639 2002-08-02  Angus Leeming  <leeming@lyx.org>
6640
6641         * lyxlex.C: revert John's change as it breaks reading of the user
6642         preamble.
6643
6644 2002-08-02  Angus Leeming  <leeming@lyx.org>
6645
6646         * importer.C (Import):
6647         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6648         changes due to LyXView::view() now returning a boost::shared_ptr.
6649
6650 2002-08-02  John Levon  <levon@movementarian.org>
6651
6652         * lyxlex.C: small cleanup
6653
6654 2002-08-02  John Levon  <levon@movementarian.org>
6655
6656         * text2.C (status): small cleanup, no logic change
6657
6658 2002-08-01  John Levon  <levon@movementarian.org>
6659
6660         * buffer.h:
6661         * buffer.C (writeFile): don't output alerts, caller
6662           handles this
6663
6664         * bufferlist.C:
6665         * lyx_cb.C: from above
6666
6667         * lyxfunc.C: allow to open non-existent files
6668
6669 2002-07-31  John Levon  <levon@movementarian.org>
6670
6671         * lyxserver.C: don't let incidental errors get
6672           in the way (errno)
6673
6674 2002-07-30  John Levon  <levon@movementarian.org>
6675
6676         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6677
6678 2002-07-30  John Levon  <levon@movementarian.org>
6679
6680         * lyxserver.h:
6681         * lyxserver.C: remove I/O callback too
6682
6683 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6684
6685         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6686         log.
6687
6688 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * many files: strip,frontStrip -> trim,ltrim,rtrim
6691
6692 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * PrinterParams.h: remove extern containsOnly, and include
6695         support/lstrings.h instead.
6696
6697         * LaTeX.C (scanAuxFile): modify because of strip changes
6698         (deplog): ditto
6699         * buffer.C (makeLaTeXFile): ditto
6700         * bufferparams.C (writeFile): ditt
6701         * lyxfont.C (stateText): ditto
6702         * lyxserver.C (read_ready): ditto
6703         * vc-backend.C (scanMaster): ditto
6704
6705         * BufferView_pimpl.h: ws changes
6706
6707         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6708
6709 2002-07-26  André Pönitz <poenitz@gmx.net>
6710
6711         * kb_sequence.C: remove unnedred usings
6712
6713 2002-07-26  Juergen Vigna  <jug@sad.it>
6714
6715         * lyxfind.C (LyXReplace): we have to check better if the returned
6716         text is not of theLockingInset()->getLockingInset().
6717
6718 2002-07-25  Juergen Vigna  <jug@sad.it>
6719
6720         * lyxfind.C (LyXReplace): don't replace if we don't get the
6721         right LyXText.
6722
6723         * undo_funcs.C (createUndo): remove debugging code.
6724
6725 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6726
6727         * buffer.C (parseSingleLyXformat2Token): Use default placement
6728         when reading old floats.
6729
6730         * FloatList.C (FloatList): Change the default placement of figure
6731         and tables to "tbp".
6732
6733 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6734
6735         * MenuBackend.C: using std::max
6736
6737 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6738
6739         * MenuBackend.C (expandToc):
6740         (expandToc2): code moved from xforms menu frontend. It is now
6741         generic and TOCs are transparent to menu frontends.
6742
6743 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6744
6745         * toc.C (getTocList): protect against buf=0
6746
6747         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6748         Menu as first parameter. Now, this calls itself recursively to
6749         expand a whole tree (this will be useful for TOC handling)
6750         (expandFloatInsert): remove 'wide' version of floats
6751
6752         * MenuBackend.h (submenuname): returns the name of the submenu.
6753         (submenu): returns the submenu itself, provided it has been
6754         created by MenuBackend::expand
6755
6756 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6759         insets which have noFontChange == true. (bug #172)
6760
6761 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6762
6763         * BufferView_pimpl.C: add connection objects and use them...
6764         (Pimpl): here.
6765
6766 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6767
6768         * MenuBackend.C (expandLastfiles):
6769         (expandDocuments):
6770         (expandFormats):
6771         (expandFloatListInsert):
6772         (expandFloatInsert):
6773         (expand): split expand in parts
6774
6775 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6776
6777         * lyx_gui.C: use lyx_gui::exit()
6778
6779 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6780
6781         * LyXAction.C: show the failing pseudo action
6782
6783 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6784
6785         * buffer.C (readFile): Run the lyxconvert script in order to read
6786         old files.
6787
6788 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6789
6790         * LyXAction.C:
6791         * commandtags.h:
6792         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6793
6794 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * LyXAction.C:
6797         * commandtags.h:
6798         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6799
6800 2002-07-22  Herbert Voss  <voss@lyx.org>
6801
6802         * lengthcommon.C:
6803         * lyxlength.[Ch]: add support for the vertical lengths
6804
6805 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6806
6807         * toc.[Ch]: std:: fixes
6808
6809 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6810
6811         * lyxrc.C: do not include lyx_main.h
6812
6813         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6814         for layouts
6815
6816         * lyxrc.C:
6817         * encoding.C:
6818         * bufferlist.C:
6819         * BufferView2.C: include "lyxlex.h"
6820
6821         * tabular.h:
6822         * bufferparams.h: do not #include "lyxlex.h"
6823
6824         * lyxtextclasslist.C (Add): remove method
6825         (classlist): renamed to classlist_
6826
6827         * paragraph_pimpl.C:
6828         * paragraph.C:
6829         * text2.C:
6830         * CutAndPaste.C:
6831         * bufferview_funcs.C:
6832         * bufferlist.C:
6833         * text.C:
6834         * LaTeXFeatures.C:
6835         * buffer.C:
6836         * toc.C (getTocList): use BufferParams::getLyXTextClass
6837
6838         * toc.C (getTocList): use InsetFloat::addToToc
6839
6840         * toc.[Ch]: new files, containing helper functions to handle table
6841         of contents
6842
6843         * lyxfunc.C (dispatch): no need to remove spaces around command
6844         given as a string
6845         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6846         first command of the sequence; it is not very clever, but I do not
6847         have a better idea, actually
6848
6849         * LyXAction.C (LookupFunc): make sure to remove space at the
6850         beginning and end of the command
6851
6852 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6853
6854         * MenuBackend.C (getMenubar): new method: return the menubar of
6855         this menu set
6856         (read): treat differently reading of menu and menubar (in
6857         particular, the menubar has no name now)
6858         (Menu::menubar): remove
6859
6860         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6861         saving is finished
6862
6863 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6864
6865         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6866         a bibitem inset in a RTL paragraph.
6867
6868 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6869
6870         * paragraph_pimpl.C: constify
6871
6872         * BufferView_pimpl.C:
6873         * LaTeX.C:
6874         * lyxfunc.C: fix dispatch in a nicer way
6875
6876 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6877
6878         * lyxfunc.C (dispatch):
6879         * BufferView_pimpl.C:
6880         * BufferView_pimpl.h:
6881         * BufferView.C:
6882         * BufferView.h: rename Dispatch() to dispatch()
6883
6884         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6885
6886         * lyxlayout.C (Read): honor DependsOn tag
6887
6888         * lyxlayout.[Ch] (depends_on): new method
6889
6890         * version.C.in: update lyx_docversion
6891
6892         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6893
6894         * paragraph.C (validate): remove from here...
6895         * paragraph_pimpl.C (validate): ... and move here
6896         (isTextAt): make it const
6897
6898         * buffer.C (getLists): ws cleanup
6899
6900 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6901
6902         * language.C (read): Use iso8859-1 encoding in latex_lang
6903         (this prevents LyX from crashing when using iso10646-1 encoding).
6904
6905 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6906
6907         * text2.C (toggleInset): if cursor is inside an inset, close the
6908         inset and leave cursor _after_ it
6909
6910 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6911
6912         * lyxfunc.C: move minibuffer completion handling out of here
6913
6914 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6915
6916         * BufferView_pimpl.C:
6917         * LaTeX.C: fix dispatch calls
6918
6919 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6920
6921         * text.C (drawChars): Fix Arabic text rendering.
6922
6923 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6924
6925         * LyXAction.C:
6926         * commandtags.h:
6927         * lyxfunc.C: remove message-push/pop
6928
6929         * lyxserver.C:
6930         * lyxfunc.h:
6931         * lyxfunc.C: rationalise some code by removing verboseDispatch
6932           in favour of a bool argument to dispatch()
6933
6934 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6935
6936         * lyx_main.C (init): make sure to read symlinks as absolute paths
6937
6938 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6939
6940         * lyxfunc.h:
6941         * lyxfunc.C: no need for commandshortcut to be a member
6942
6943 2002-07-15  André Pönitz <poenitz@gmx.net>
6944
6945         * converter.C: add support for $$s (scripts from lib/scripts dir)
6946         * lyx_main.C: white space
6947
6948 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6949
6950         * bufferlist.C:
6951         * lyxrc.h:
6952         * lyxrc.C: remove second exit confirmation
6953
6954 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6955
6956         * BufferView.h:
6957         * BufferView.C:
6958         * BufferView2.C:
6959         * BufferView_pimpl.h:
6960         * BufferView_pimpl.C:
6961         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6962
6963 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6964
6965         * MenuBackend.C (expand): add numeric shortcuts to document menu
6966
6967         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6968
6969 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6970
6971         * lyxfont.C (setLyXFamily):
6972         (setLyXSeries):
6973         (setLyXShape):
6974         (setLyXSize):
6975         (setLyXMisc):
6976         (lyxRead):
6977         * debug.C (value):
6978         * buffer.C (asciiParagraph): use ascii_lowercase
6979
6980 2002-07-15  Mike Fabian  <mfabian@suse.de>
6981
6982         * lyxlex_pimpl.C (search_kw):
6983         * lyxlex.C (getLongString):
6984         * converter.h (operator<):
6985         * converter.C (operator<):
6986         * buffer.C (parseSingleLyXformat2Token):
6987         (asciiParagraph):
6988         * ToolbarDefaults.C (read):
6989         * MenuBackend.C (checkShortcuts):
6990         (read):
6991         * LColor.C (getFromGUIName):
6992         (getFromLyXName): use the compare_ascii_no_case instead of
6993         compare_no_case, because in turkish, 'i' is not the lowercase
6994         version of 'I', and thus turkish locale breaks parsing of tags.
6995
6996 2002-07-16  Angus Leeming  <leeming@lyx.org>
6997
6998         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6999         now takes a Buffer const & argument.
7000
7001 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7002
7003         * BufferView.C (resize): check there's a buffer to resize
7004
7005 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7006
7007         * lyxfunc.C: remove dead code
7008
7009         * lyxserver.h:
7010         * lyxserver.C: use lyx_guii::set_read_callback
7011
7012 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7013
7014         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7015         an inset in a RTL paragraph.
7016
7017 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7018
7019         * lyxfunc.C: repaint after a font size update
7020
7021 2002-07-15  André Pönitz <poenitz@gmx.net>
7022
7023         * lyxlength.C: inBP should be able to return negative values
7024
7025 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7026
7027         * lyxfunc.C: use lyx_gui::update_fonts()
7028
7029 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7030
7031         * lyxfunc.C: use lyx_gui::update_color()
7032
7033 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7034
7035         * bufferlist.C:
7036         * lyxfunc.h:
7037         * lyxfunc.C:
7038         * lyxrc.h:
7039         * lyxrc.C: remove file->new asks for name option, and let
7040           buffer-new take an argument
7041
7042 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7043
7044         * BufferView_pimpl.C: remove unneeded extra repaint()
7045
7046 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7047
7048         * LyXAction.C: allow command-sequence with NoBuffer
7049
7050         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7051
7052 2002-07-10  Angus Leeming  <leeming@lyx.org>
7053
7054         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7055
7056 2002-07-09  Angus Leeming  <leeming@lyx.org>
7057
7058         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7059
7060 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7061
7062         * lengthcommon.h: whitespace
7063
7064         * lyxfunc.C: update scrollbar after goto paragraph
7065
7066         * lyxtext.h: factor out page break drawing, and fix it so
7067           page break/added space paints as selected nicely
7068
7069 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7070
7071         * BufferView_pimpl.C: add FIXMEs, clean up a little
7072
7073 2002-07-09  André Pönitz <poenitz@gmx.net>
7074
7075         * lyxfont.[Ch]: support for wasy symbols
7076
7077 2002-07-08  André Pönitz <poenitz@gmx.net>
7078
7079         * BufferView_pimpl.C: apply John's patch for #93.
7080
7081 2002-07-05  Angus Leeming  <leeming@lyx.org>
7082
7083         * BufferView_pimpl.C (buffer): generate previews if desired.
7084
7085         * LColor.h: add "preview" to the color enum.
7086
7087         * LColor.C (LColor): add a corresponding entry to the items array.
7088
7089         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7090         with this buffer.
7091
7092 2002-07-05  Angus Leeming  <leeming@lyx.org>
7093
7094         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7095         The body of the code is now in the method that is passed an ostream &
7096         rather than a file name.
7097         Pass an additional only_preamble parameter, useful for the forthcoming
7098         preview stuff.
7099
7100 2002-07-03  André Pönitz <poenitz@gmx.net>
7101
7102         * lyxfunc.C: simplify getStatus() a bit for math stuff
7103
7104 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7105
7106         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7107
7108 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7109
7110         * text.C (changeRegionCase): do not change case of all the
7111         document when region ends at paragraph end (bug #461)
7112
7113 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7114
7115         * paragraph.C (startTeXParParams):
7116         (endTeXParParams): add \protect when necessary
7117
7118 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7119
7120         * BufferView_pimpl.C (workAreaExpose): remove warning
7121
7122 2002-06-27  Angus Leeming  <leeming@lyx.org>
7123
7124         * Makefile.am: add lyxlayout_ptr_fwd.h.
7125
7126 2002-06-26  André Pönitz <poenitz@gmx.net>
7127
7128         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7129
7130 2002-06-25  Angus Leeming  <leeming@lyx.org>
7131
7132         * lyxfunc.C (dispatch): Comment out the call to
7133         grfx::GCache::changeDisplay. The method no longer exists now that the
7134         pixmap generation part of the graphics loader has been moved into
7135         InsetGraphics.
7136
7137 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7138
7139         * text2.C: layout as layout
7140
7141         * text.C: layout as layout
7142
7143         * tabular.C (OldFormatRead): layout as layout
7144
7145         * paragraph_pimpl.C (TeXDeeper): layout as layout
7146         (realizeFont): layout as layout
7147
7148         * paragraph.C (writeFile): layout as layout
7149         (validate): layout as layout
7150         (getFont): layout as layout
7151         (getLabelFont): layout as layout
7152         (getLayoutFont): layout as layout
7153         (breakParagraph): layout as layout
7154         (stripLeadingSpaces): layout as layout
7155         (getEndLabel): layout as layout
7156         (getMaxDepthAfter): layout as layout
7157         (applyLayout): layout as layout
7158         (TeXOnePar): layout as layout
7159         (simpleTeXOnePar): layout as layout
7160         (TeXEnvironment): layout as layout
7161         (layout): layout as layout
7162         (layout): layout as layout
7163
7164         * lyxtextclass.C (compare_name): new functor to work with
7165         shared_ptr, layout as layout
7166         (Read): layout as layout
7167         (hasLayout): layout as layout
7168         (operator): layout as layout
7169         (delete_layout): layout as layout
7170         (defaultLayout): layout as layout
7171
7172         * lyxlayout_ptr_fwd.h: new file
7173
7174         * lyxlayout.C (Read): layout as layout
7175
7176         * lyx_cb.C (MenuInsertLabel): layout as layout
7177
7178         * bufferlist.C (newFile): layout as layout
7179
7180         * buffer.C (readLyXformat2): layout as layout
7181         (parseSingleLyXformat2Token): layout as layout
7182         (insertStringAsLines): layout as layout
7183         (asciiParagraph): layout as layout
7184         (latexParagraphs): layout as layout
7185         (makeLinuxDocFile): layout as layout
7186         (simpleLinuxDocOnePar): layout as layout
7187         (makeDocBookFile): layout as layout
7188         (simpleDocBookOnePar): layout as layout
7189         (getLists): layout as layout
7190
7191         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7192
7193         * CutAndPaste.C (cutSelection): layout as layout
7194         (pasteSelection): layout as layout
7195         (SwitchLayoutsBetweenClasses): layout as layout
7196
7197         * BufferView_pimpl.C (Dispatch): layout as layout
7198         (smartQuote): layout as layout
7199
7200         * BufferView2.C (unlockInset): layout as layout
7201
7202 2002-06-24  André Pönitz <poenitz@gmx.net>
7203
7204         * lyxfunc.C: fix #487
7205
7206 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7207
7208         * lyxrc.h:
7209         * lyxrc.C:
7210         * lyxfunc.C: remove display_shortcuts, show_banner
7211
7212 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7213
7214         * Buffer_pimpl.C: oops, update on resize
7215
7216 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7217
7218         * buffer.C:
7219         * converter.C:
7220         * exporter.C:
7221         * lyxfunc.C:
7222         * BufferView.h:
7223         * BufferView.C: use repaint()
7224
7225         * BufferView_pimpl.h:
7226         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7227           as it's a clearer description. Remove superfluous
7228           redraws.
7229
7230 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7231
7232         * text.C: fix bug 488. Not ideal, but getting
7233           getWord() to work properly for the insets that
7234           matter is more difficult ...
7235
7236 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7237
7238         * BufferView_pimpl.C:
7239         * LyXAction.C:
7240         * commandtags.h:
7241         * lyxfunc.C: remove the six million index lyxfuncs to just
7242           one, and DTRT (bug 458)
7243
7244 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7245
7246         * BufferView.h:
7247         * BufferView.C:
7248         * BufferView_pimpl.h:
7249         * BufferView_pimpl.C: clean up resize() stuff,
7250           and unnecessary updateScreen()s
7251
7252 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7253
7254         * BufferView.h:
7255         * BufferView.C:
7256         * BufferView_pimpl.h:
7257         * BufferView_pimpl.C:
7258         * lyxfind.h:
7259         * lyxfind.C:
7260         * minibuffer.C: remove focus management of workarea,
7261           not needed. Use screen's greyOut()
7262
7263 2002-06-17  Herbert Voss  <voss@lyx.org>
7264
7265         * converter.C: (convert) do not post a message, when converting
7266         fails, let the calling function decide what to do in this case
7267
7268 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7269
7270         * lyxfunc.C: tidy up a little
7271
7272 2002-06-16    <alstrup@diku.dk>
7273
7274         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7275         Got rid of FORMS_H_LOCATION include. Now we are
7276         GUII.
7277
7278 2002-06-15  LyX Development team  <lyx@rilke>
7279
7280         * buffer.[Ch] (sgmlOpenTag):
7281         (sgmlCloseTag): Added support for avoiding pernicious mixed
7282         content. Return number of lines written.
7283
7284         (makeLinuxDocFile):
7285         (makeDocBookFile): Fixed calls to sgml*Tag.
7286         Simple white space clean.
7287
7288         (simpleDocBookOnePar): Simple white space clean.
7289
7290         * tabular.[Ch] (docBook): Renamed to docbook and got another
7291         argument to related with the pernicious mixed content.
7292
7293         (docbookRow): Fixed calls for docbook inset method.
7294
7295 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7296
7297         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7298         so it's X11 independent.
7299
7300         * kb*.[Ch]: ditto.
7301
7302         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7303
7304 2002-06-15  Lyx Development team  <lyx@electronia>
7305
7306         * intl.h: Renamed getTrans to getTransManager.
7307
7308 2002-06-14  Angus Leeming  <leeming@lyx.org>
7309
7310         * Makefile.am: nuke forgotten stl_string_fwd.h.
7311
7312 2002-06-12  Angus Leeming  <leeming@lyx.org>
7313
7314         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7315
7316 2002-06-13  Angus Leeming  <leeming@lyx.org>
7317
7318         * LaTeX.C:
7319         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7320
7321 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7322
7323         * kbmap.C (getiso): add support for cyrillic and greek
7324
7325 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7326
7327         * BufferView.h:
7328         * BufferView.C:
7329         * BufferView_pimpl.h:
7330         * BufferView_pimpl.C: move bogus scrolling logic
7331           to xforms
7332
7333 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7334
7335         * lyxfunc.C:
7336         * BufferView_pimpl.C: view->resize() change
7337
7338 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7339
7340         * BufferView_pimpl.C: topCursorVisible
7341           prototype change
7342
7343 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7344
7345         * Makefile.am:
7346         * lyx_gui.h:
7347         * lyx_gui.C: move to frontends/
7348
7349         * main.C:
7350         * lyx_main.h:
7351         * lyx_main.C: changes from above
7352
7353 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7354
7355         * intl.C:
7356         * intl.h:
7357         * kbmap.C:
7358         * kbsequence.C:
7359         * lyx_cb.C:
7360         * lyx_main.C: minor tidy
7361
7362 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7363
7364         * BufferView_pimpl.h:
7365         * BufferView_pimpl.C:
7366         * BufferView.h:
7367         * BufferView.C: make painter() const,
7368           remove dead code
7369
7370         * BufferView2.C: use screen() accessor
7371
7372         * lyx_main.h:
7373         * lyx_main.C: some minor cleanup
7374
7375 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7376
7377         * BufferView_pimpl.h:
7378         * BufferView_pimpl.C: remove enter/leaveView,
7379           use workHeight()
7380
7381 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7382
7383         * BufferView.h:
7384         * BufferView.C:
7385         * BufferView2.C:
7386         * BufferView_pimpl.h:
7387         * BufferView_pimpl.C: only construct screen once,
7388           rename
7389
7390         * lyxrc.C: remove pointless comment
7391
7392 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * BufferView.h:
7395         * BufferView.C: remove active() and belowMouse()
7396
7397         * BufferView_pimpl.h:
7398         * BufferView_pimpl.C: use workarea() not workarea_,
7399           and make it use a scoped_ptr instead
7400
7401 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7402
7403         * lyx_gui.C: add debug message on BadWindow
7404
7405 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7406
7407         * sp_spell.C: fdopen is not part of the C++ standard.
7408
7409         * paragraph.C (InsetIterator): use >= instead of ==
7410
7411 2002-06-07  Angus Leeming  <leeming@lyx.org>
7412
7413         Fixes needed to compile with Compaq cxx 6.5.
7414         * BufferView_pimpl.C:
7415         * DepTable.C:
7416         * buffer.C:
7417         * converter.C:
7418         * encoding.C:
7419         * lyx_gui.C:
7420         * lyx_main.C:
7421         * lyxtextclasslist.C:
7422         * minibuffer.C:
7423         * sp_spell.C:
7424         * tabular_funcs.C:
7425         * vc-backend.C:
7426         all c-library variables have been moved into namespace std. Wrap
7427         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7428
7429         * lyxlength.C:
7430         * tabular-old.C:
7431         * tabular.C:
7432         Add a using std::abs declaration.
7433
7434         * kbmap.h (modifier_pair):
7435         * paragraph.h (InsetTable, InsetList):
7436         * lyxfont.h (FontBits):
7437         type definition made public.
7438
7439         * bufferlist.C (emergencyWriteAll): the compiler complains that
7440         there is more than one possible lyx::class_fun template to choose from.
7441         I re-named the void specialisation as lyx::void_class_fun.
7442
7443         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7444
7445         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7446         the compiler is is unable to find tostr in write_attribute.
7447
7448 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7449
7450         * buffer.C (sgmlError): hide #warning
7451
7452 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7453
7454         * xtl/*: get rid of xtl, which is not in use anyway
7455
7456         * LyXAction.C (init):
7457         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7458         were unimplemented xtl experimentation
7459
7460 2002-06-04  André Pönitz <poenitz@gmx.net>
7461
7462         * lyxfunc.C: disable array operation on simple formulae
7463
7464 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7465
7466         * converter.C: constify a bit
7467
7468 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7469
7470         * lyx_gui.C: check xforms version correctly
7471
7472 2002-04-30  Herbert Voss  <voss@lyx.org>
7473
7474         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7475         "keep" option
7476
7477 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7480           attempt to register it with a VCS)
7481
7482 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7483
7484         * lyx_main.C (init): honor variables LYX_DIR_13x and
7485         LYX_USERDIR_13x
7486
7487 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7488
7489         * buffer.h:
7490         * buffer.C:
7491         * lyx_main.C: fix a crash on bad command line,
7492           and give a useful exit status on error
7493
7494         * lyxfunc.C (doImport): allow -i lyx to work
7495
7496 2002-03-30  André Pönitz <poenitz@gmx.net>
7497
7498         * lyxfunc.C: mathed font changes
7499
7500 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7501
7502         * LaTeX.C:
7503         * importer.h:
7504         * importer.C:
7505         * lyx_sty.h:
7506         * lyx_sty.C:
7507         * lyxlex.C:
7508         * lyxrow.h:
7509         * lyxtext.h:
7510         * paragraph.h:
7511         * paragraph.C:
7512         * texrow.h:
7513         * texrow.C:
7514         * text.C:
7515         * trans_mgr.h: srcdocs, and some minor cleanups
7516
7517 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7520         call getFont all the time)
7521
7522 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7523
7524         * switch from SigC signals to boost::signals
7525
7526 2002-05-29  André Pönitz <poenitz@gmx.net>
7527
7528         * paragraph_pimpl.C (getChar): don't call size() too often...
7529
7530 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * paragraph_pimpl.C (insertChar): do not try to update tables when
7533         appending (pos == size())
7534
7535         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7536         in order to reduce drastically the number of comparisons needed to
7537         parse a large document
7538
7539 2002-05-29  André Pönitz <poenitz@gmx.net>
7540
7541         * text.C:
7542         * text2.C:
7543         * lyxtextclass.C:
7544         * sp_pspell.h:
7545         * textclasslist.[Ch]:
7546         * sp_ispell.h: whitespace change
7547
7548 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7549
7550         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7551         lyxaction directly now.
7552
7553 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7554
7555         * trans.C:
7556         * lyxfont.C:
7557         * lyxvc.C: remove unused headers
7558
7559 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * Makefile.am:
7562         * buffer.h:
7563         * undostack.h:
7564         * undostack.C:
7565         * undo_funcs.h:
7566         * undo_funcs.C: some cleanups. Use shared_ptr
7567           and a template for the undo stacks.
7568
7569 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7570
7571         * BufferView_pimpl.h:
7572         * BufferView_pimpl.C:
7573         * kbmap.h:
7574         * kbmap.C:
7575         * kbsequence.h:
7576         * kbsequence.C:
7577         * lyxfunc.h:
7578         * lyxfunc.C:
7579         * text2.C: use key_state/mouse_state
7580
7581 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7582
7583         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7584         and LSubstring
7585
7586         * chset.C: change include order
7587         (loadFile): use boost regex and get rid of LRegex and LSubstring
7588
7589         * Makefile.am (BOOST_LIBS): new variable
7590         (lyx_LDADD): use it
7591
7592         * LaTeX.C: change include order.
7593         (scanAuxFile): use boost regex and get rid of LRegex and
7594         LSubstring
7595         (deplog): ditto
7596
7597 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * ColorHandler.h:
7600         * ColorHandler.C:
7601         * FontInfo.h:
7602         * FontInfo.C: moved to frontends/xforms/
7603
7604         * FontLoader.h:
7605         * FontLoader.C: moved into frontends for GUIIzation
7606
7607         * Makefile.am:
7608         * lyx_gui.C:
7609         * lyxfont.C:
7610         * lyxfunc.C: changes from above
7611
7612 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * LColor.C: remove spurious X include
7615
7616         * BufferView_pimpl.C:
7617         * Makefile.am:
7618         * font.h:
7619         * font.C:
7620         * text.C:
7621         * text2.C: move font metrics to frontends/
7622
7623 2002-05-24  Juergen Vigna  <jug@sad.it>
7624
7625         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7626         setting the undo_cursor.
7627
7628         * ParagraphParameters.h: include local includes first.
7629
7630 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * BufferView_pimpl.C:
7633         * BufferView_pimpl.h:
7634         * Makefile.am:
7635         * WorkArea.h:
7636         * WorkArea.C:
7637         * screen.C: move WorkArea into frontends/
7638
7639         * lyxscreen.h:
7640         * screen.C:
7641         * text.C:
7642         * BufferView.C:
7643         * BufferView2.C: move LyXScreen into frontends/
7644
7645         * lyxlookup.h:
7646         * lyxlookup.C:
7647         * lyx_gui.C: move lyxlookup into frontends/xforms/
7648
7649 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7650
7651         * BufferView2.C:
7652         * BufferView_pimpl.C:
7653         * FontLoader.C:
7654         * LyXView.h:
7655         * LyXView.C:
7656         * Makefile.am:
7657         * WorkArea.C:
7658         * XFormsView.h:
7659         * XFormsView.C:
7660         * buffer.C:
7661         * bufferlist.C:
7662         * bufferview_funcs.C:
7663         * converter.C:
7664         * importer.C:
7665         * lyx_cb.C:
7666         * lyx_gui.C:
7667         * lyx_main.C:
7668         * lyx_find.C:
7669         * lyxfunc.C:
7670         * lyxvc.C:
7671         * minibuffer.C:
7672         * text.C:
7673         * text2.C:
7674         * trans.C:
7675         * vc-backend.C: move LyX/XFormsView into frontends/
7676
7677 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7678
7679         * Makefile.am:
7680         * PainterBase.C:
7681         * PainterBase.h:
7682         * Painter.C:
7683         * Painter.h:
7684         * WorkArea.C:
7685         * WorkArea.h:
7686         * screen.C:
7687         * tabular.C:
7688         * text.C:
7689         * text2.C: move Painter to frontends/
7690
7691 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7692
7693         * buffer.C: comment out some some code that depend upon lyx_format
7694         < 220
7695
7696         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7697         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7698
7699         * buffer.h (NO_COMPABILITY): turn off compability
7700
7701         * ColorHandler.C: include scoped_array.hpp
7702
7703         * font.C: Use more specific smart_ptr header.
7704         * Painter.C: ditto
7705         * gettext.C: ditto
7706         * ShareContainer.h: ditto
7707         * lyx_main.h: ditto
7708         * kbmap.h: ditto
7709         * FontInfo.h: ditto
7710         * BufferView_pimpl.h: ditto
7711         * ColorHandler.h: ditto
7712
7713         * kbmap.C (defkey): change call to shared_ptr::reset
7714
7715 2002-05-21  Juergen Vigna  <jug@sad.it>
7716
7717         * buffer.C (insertErtContents): fix to insert ert asis if it is
7718         non empty. Skip it completely if it contains only whitespaces.
7719
7720 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * BufferView_pimpl.C:
7723         * BufferView2.C: clear selection on paste (bug 393)
7724
7725 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7726
7727         * DepTable.C: include ctime
7728
7729 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7730
7731         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7732
7733 2002-05-14  Juergen Vigna  <jug@sad.it>
7734
7735         * text.C (breakParagraph): fixed function to honor the keepempty
7736         layout in the right maner and also to permit the right breaking
7737         algorithm on empty or non empyt keepempty paragraphs.
7738
7739         * paragraph.C (breakParagraph): we have to check also if the par
7740         is really empty (!size()) for isempty otherwise we do the wrong
7741         paragraph break.
7742
7743 2002-05-10  Juergen Vigna  <jug@sad.it>
7744
7745         * buffer.[Ch] : The following are only changes to the ert
7746         compatibility read reading old LaTeX layout and font stuff and
7747         convert it to ERTInsets.
7748
7749         * buffer.h: added isErtInset().
7750
7751         * buffer.C (struct ErtComp): add a fromlayout bool to check
7752         if we're inside a LaTeX layout.
7753         (isErtInset): new helper function.
7754         (insertErtContents): look for other ert insets before this one
7755         and insert the contents there, so that we don't have subsequent
7756         ERT insets with nothing between them. This way we create only one
7757         inset with multiple paragraphs. Also check if we don't insert only
7758         spaces ' ' as they are ignored anyway afterwards in the .tex file
7759         so if we have only spaces we will ignore this latex part in the
7760         new file.
7761         (parseSingleLyXformat2Token \\layout): better compatibility when
7762         reading layout-latex stuff.
7763         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7764         language tag.
7765         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7766         stuff after reading the inset only get the information back from
7767         the stack.
7768
7769 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7770
7771         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7772
7773         * LaTeXFeatures.C (getBabelOptions): New method.
7774
7775 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7776
7777         * BufferView_pimpl.C (Dispatch): work around missing argument for
7778         'layout'
7779
7780 2002-05-08  Juergen Vigna  <jug@sad.it>
7781
7782         * text.C (leftMargin): handle paragraph leftindent.
7783
7784         * paragraph.C (writeFile): write the new \\leftindent tag.
7785         (validate): handle leftindent code.
7786         (TeXEnvironment): handle paragraphleftindent code again.
7787
7788         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7789
7790         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7791         for paragrap_extra indent code and new token \\leftindent.
7792         (latexParagraphs): handle the leftindent as environment.
7793
7794         * ParameterStruct.h: added leftindent support.
7795
7796         * ParagraphParameters.C (leftIndent): added support functions for
7797         the paragraph left indent.
7798
7799         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7800         more appropriate.
7801
7802 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7803
7804         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7805         inside insetERT.
7806
7807         * text.C (computeBidiTables): No bidi in insetERT.
7808
7809         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7810         in RTL documents.
7811
7812 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7813
7814         * version.C.in: pre 5
7815
7816 2002-05-02  José Matos  <jamatos@fep.up.pt>
7817         * buffer.C (makeDocBookFile): white space changes, add newline to
7818         command styles.
7819         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7820
7821         * tabular.C (docBook): fix typo.
7822
7823 2002-05-03  Juergen Vigna  <jug@sad.it>
7824
7825         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7826         change in LyXText as we can not be sure it was not freed.
7827         (drawOneRow): remove unused code.
7828
7829         * text.C (drawInset): redo the calculation of the need_break_row as
7830         it could have a row which was already freed.
7831         (draw): look at the return value of drawInset and return false if
7832         it also returned false.
7833         (paintRowText): look at the return value of draw and return false if
7834         it also returned false.
7835
7836         * lyxtext.h: added bool return type to drawInset() and draw() so that
7837         if we have a change in the row so that the rowbreak has to be redone
7838         we abort drawing as it will be called again.
7839
7840 2002-05-02  Juergen Vigna  <jug@sad.it>
7841
7842         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7843         a change in the maintext also if we're inside an inset.
7844         (Dispatch): set the cursor again after a break line and after the
7845         screen has been updated as it could be we're in a different row.
7846
7847         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7848         to set the cursor behind the pargraph with > size().
7849         (setCursor): check also for the same paragraph when checking where
7850         to put the cursor if we have a NFR inset.
7851
7852         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7853         parts of layout read further up as it still was in the wrong
7854         position.
7855
7856 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7857
7858         * screen.C (drawFromTo): change sine fullRebreak always return
7859         true.
7860
7861         * buffer.C (parseSingleLyXformat2Token): reindent some
7862
7863         * BufferView_pimpl.C (update): change since fullRebreak always
7864         return true.
7865         (Dispatch): git rid of the last hardcoded "Standard"s.
7866
7867 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7868
7869         * text2.[Ch] (fullRebreak): make it return void now that we always
7870         returned true.
7871
7872 2002-04-30  Juergen Vigna  <jug@sad.it>
7873
7874         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7875         ert compatibility check for "latex" layout.
7876
7877 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7878
7879         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7880         minipages: use col% instead of p%, and also use the current font.
7881         (makeLaTeXFile): Fix use babel condition.
7882         (parseSingleLyXformat2Token): Correct font when reading old floats.
7883
7884 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7885
7886         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7887         inserting list of floats.
7888
7889 2002-04-25  Herbert Voss  <voss@lyx.org>
7890
7891         * MenuBackend.C (expand): don't add the graphics extensions to the
7892         export menu
7893
7894 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7895
7896         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7897         non-existing layout, do not complain if it was the default layout
7898         of the original class (bug #342)
7899
7900 2002-04-24  Juergen Vigna  <jug@sad.it>
7901
7902         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7903         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7904
7905 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7906
7907         * buffer.C (getBibkeyList): If using \bibliography, return the
7908         option field with the reference itself. Enables us to provide natbib
7909         support when using \bibliography.
7910
7911 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7912
7913         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7914
7915         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7916         natbib is provided by the LaTeX class.
7917
7918 2002-04-23  Juergen Vigna  <jug@sad.it>
7919
7920         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7921         Wakeup functions.
7922
7923         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7924
7925 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7928
7929         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7930         ensuremath around textordmasculine, textordfeminine and
7931         textdegree.
7932
7933 2002-04-19  Juergen Vigna  <jug@sad.it>
7934
7935         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7936         reinitializing the buffer otherwise row-dimensions may be wrong.
7937         (update): reset also the selection cursors if they do exits otherwise
7938         their x/y positions may be wrong.
7939
7940         * text2.C (cursorDown): don't enter the inset if we came from a row
7941         above and are one row over the inset.
7942
7943         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7944         really leaving an inset.
7945
7946 2002-04-18  Juergen Vigna  <jug@sad.it>
7947
7948         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7949         of the selected paragraph does not have the selected layout also if
7950         the last one had!
7951
7952         * text2.C (setLayout): fixed bug which did not change last selected
7953         paragraph.
7954
7955         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7956         changed the read and substituted \\end_float with \\end_inset!
7957
7958         * BufferView_pimpl.C (cursorPrevious):
7959         (cursorNext): fixed to make it work with rows heigher than the work
7960         area without moving the cursor only the draw of the row.
7961         (workAreaMotionNotify): fix jumping over high rows.
7962
7963 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7964
7965         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7966         Ressler.
7967
7968 2002-04-16  Juergen Vigna  <jug@sad.it>
7969
7970         * text2.C (setCursor): set also the irow().
7971         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7972         (cursorUp):
7973         (cursorDown): support for locking an inset if the x_fix value goes
7974         inside it. That way I can transverse insets too with cursor up/down.
7975
7976         * lyxrow.h: added irow helper function same as other (i) functions.
7977
7978         * BufferView_pimpl.C (cursorPrevious):
7979         (cursorNext): fixed for insets!
7980
7981 2002-04-15  Juergen Vigna  <jug@sad.it>
7982
7983         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7984         position otherwise it is wrong in some cases.
7985
7986         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7987         inside the inset before the call.
7988
7989 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7990
7991         * buffer.[Ch] (getBibkeyList): make it const.
7992
7993 2002-04-12  Juergen Vigna  <jug@sad.it>
7994
7995         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7996
7997         * text2.C (getCursorX): new helper function
7998         (setCursor): compute also ix_
7999         (setCursorFromCoordinates): set also ix.
8000
8001         * lyxcursor.h: added ix_ and helper functions.
8002
8003         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8004
8005         * buffer.C (insertStringAsLines): dont break paragraph if the this
8006         paragraph is inside an inset which does not permit it!
8007
8008         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8009         also with no chars on this paragraph.
8010         (paintRowText): only paint stuff if it's inside the workarea!
8011
8012         * paragraph.C (breakParagraph): honor keepempty flag and break the
8013         paragraph always below not above.
8014
8015         * BufferView2.C (unlockInset): update the paragraph layout on inset
8016         unlock as we changed paragraph in such a case.
8017
8018         * lyxfind.C (LyXFind): clear the former selection if not found!
8019
8020         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8021         again called in insertChar().
8022
8023         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8024         an inset which uses the whole row!
8025         (rightMargin): ditto.
8026         (insertChar): force a rebreak if we inserted an inset!
8027
8028 2002-03-28  Herbert Voss  <voss@lyx.org>
8029
8030         * lyxlength.[Ch]: add inBP() to get the right PS-point
8031         units (BigPoint). With inPixels we have rounding errors
8032
8033 2002-04-11  Juergen Vigna  <jug@sad.it>
8034
8035         * text2.C (setCursorFromCoordinates): set iy to the right value.
8036         (setCursor): add check if row->previous exists!
8037
8038         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8039         an old float_type as this was the case in the old code!
8040
8041         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8042
8043         * BufferView2.C (showLockedInsetCursor): use iy
8044         (fitLockedInsetCursor): ditto
8045
8046         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8047         locked insets as there we have the right value now.
8048
8049         * lyxcursor.C: added iy_ variable and iy functions to set to the
8050         baseline of cursor-y of the locked inset.
8051
8052         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8053         (setCursor): fixed for insets which need a full row.
8054
8055         * text.C (rowLastPrintable): don't ignore the last space when before
8056         an inset which needs a full row.
8057         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8058         as last character of a row when before a inset which needs a full row.
8059
8060 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8061
8062         * version.C.in: update date
8063
8064         * text2.C (fullRebreak): try to always return true and see what
8065         happens...
8066
8067 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8068
8069         * MenuBackend.C (expand): use Floating::listName
8070
8071         * FloatList.C (FloatList): add listName argument to the built-in
8072         floats
8073
8074         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8075         text associated with the float.
8076
8077 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8078
8079         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8080
8081 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8082
8083         * ShareContainer.h: add a couple of missing typenames.
8084
8085 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8086
8087         * lyxrc.C (getDescription): use _() correctly rather than N_().
8088
8089 2002-03-28  Herbert Voss  <voss@lyx.org>
8090
8091         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8092         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8093
8094 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8095
8096         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8097         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8098
8099 2002-03-29  Juergen Vigna  <jug@sad.it>
8100
8101         * lyxfunc.C (dispatch): add a missing fitCursor call.
8102
8103         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8104         it was scrolled by a cursor move, so return the bool status.
8105
8106         * BufferView.C (fitCursor): return the bool flag also to the outside
8107         world as this is needed.
8108
8109         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8110
8111         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8112         call the edit() as it is not needed (and wrong) IMO.
8113         (workAreaButtonPress): set the screen_first variable before evt.
8114         unlock the inset as this may change screen_first and then we have
8115         a wrong y position for the click!
8116
8117 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8118
8119         * MenuBackend.C (expand): another translation that I missed
8120
8121 2002-03-28  Juergen Vigna  <jug@sad.it>
8122
8123         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8124
8125         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8126
8127 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8128
8129         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8130
8131         * MenuBackend.C (expand): fix export/view/update when there is no
8132         document open.
8133
8134 2002-03-27  Herbert Voss  <voss@lyx.org>
8135
8136         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8137         and text%
8138
8139 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8140
8141         * bufferview_funcs.C (currentState): only show paragraph number
8142         for is DEVEL_VERSION is set.
8143
8144         * lyxfunc.C (dispatch): put warning in INFO channel
8145
8146         * MenuBackend.C (expand): translate the name of floats
8147
8148         * FloatList.C (FloatList): mark the float names for translation
8149
8150         * converter.C (convert): use LibScriptSearch
8151
8152 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8153
8154         * MenuBackend.C (defaults): fix default menu (we might as well get
8155         rid of it...)
8156
8157 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8158
8159         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8160         directory.
8161
8162 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8163
8164         * lyxvc.C: reorder includes.
8165
8166 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8167
8168         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8169           properly
8170
8171 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * CutAndPaste.C: change layouts earlier on paste
8174           to avoid crashing when calling getFont()
8175
8176 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8177
8178         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8179         irritating #error.
8180
8181 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8182
8183         * WorkArea.C: remove 'Pending' debug message.
8184
8185         * most files: ws cleanup
8186
8187         * buffer.[Ch]: ws changes
8188
8189         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8190
8191 2002-03-21  Juergen Vigna  <jug@sad.it>
8192
8193         * tabular.C (SetMultiColumn): collapse also the contents of the
8194         cells and set the last border right. Added a Buffer const * param.
8195
8196 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8197
8198         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8199         linking or not.
8200
8201 2002-03-19  Juergen Vigna  <jug@sad.it>
8202
8203         * text2.C (clearSelection): reset also xsel_cache.
8204
8205         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8206         where it needs to be called (John tells us to do so too :)
8207         (selectionLost): reset sel_cache.
8208
8209         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8210
8211 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8212
8213         * text2.C (setCursorIntern): put debuging code in INSETS channel
8214
8215 2002-03-19  André Pönitz <poenitz@gmx.net>
8216
8217         * lyxfunc.C: tiny whitespace change
8218
8219 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8220
8221         * ToolbarDefaults.C (init):
8222         * LyXAction.C (init):
8223         * commandtags.h:
8224         * BufferView_pimpl.C (Dispatch):
8225         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8226
8227 2002-03-19  Allan Rae  <rae@lyx.org>
8228
8229         * exporter.C (Export): removeAutoInsets before doing anything else.
8230         While I've just introduced a dependency on BufferView this really is
8231         the best place to clean the buffer otherwise you need to cleanup in
8232         a dozen places before calling export or cleanup in a dozen functions
8233         that export calls.
8234
8235         * converter.C (runLaTeX):
8236         (scanLog): Better handling of removeAutoInsets and screen updates.
8237
8238         * lyxfunc.C (dispatch): small whitespace changes
8239
8240 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * WorkArea.C (C_WorkAreaEvent): return a value.
8243         (event_cb): return 1 if we handled the event, 0 otherwise.
8244
8245         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8246
8247 2002-03-18  Juergen Vigna  <jug@sad.it>
8248
8249         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8250         (GetAdditionalWidth): ditto.
8251         (RightLine): ditto.
8252         (LeftLine): ditto.
8253
8254         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8255         inset if we're there actually (probably not used right now but this
8256         is the direction to go for unifying code).
8257         (paste): disable code to clear the selection.
8258
8259         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8260         inside an InsetText and move the check further up as it is in the
8261         wrong place.
8262
8263         * text2.C (pasteSelection): set a selection over the pasted text.
8264
8265 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8266
8267         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8268         and libgraphics to build on Cygwin.
8269
8270 2002-03-15  Juergen Vigna  <jug@sad.it>
8271
8272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8273         inserting an Inset into the paragraph. I know this is not the best
8274         fix but we already use current_view in CutAndPaste so we will remove
8275         all of it's using at the same time.
8276
8277         * buffer.C (sgmlError): deactivated function till it is rewritten in
8278         the right mode, now it can create problems.
8279
8280         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8281         before accessing it.
8282
8283 2002-03-14  Juergen Vigna  <jug@sad.it>
8284
8285         * undo_funcs.C (textHandleUndo): do the right thing when updating
8286         the inset after the undo/redo.
8287
8288         * text2.C (setCursor): just some testcode for #44 not ready yet.
8289
8290         * undo_funcs.C (textHandleUndo): set the next() and previous()
8291         pointers of the paragraph to 0 before deleting otherwise we have
8292         problems with the Paragraph::[destructor].
8293
8294         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8295         on a paragraph insertion.
8296
8297 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8298
8299         * buffer.C (asciiParagraph): use += operator for char append to
8300         string.
8301
8302         * paragraph.C (getFontSettings): compare >= not just >
8303         (highestFontInRange): ditto
8304         (setFont): ditto
8305
8306 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * paragraph.C: change several algorithm to be more appripriate for
8309         the problem domain. This is lookip in FontList and in the InsetList.
8310
8311 2002-03-13  André Pönitz <poenitz@gmx.net>
8312
8313         * commandtags.h:
8314         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8315
8316 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8317
8318         * commandtags.h:
8319         * LyXAction.C:
8320         * lyxfunc.C:
8321         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8322
8323 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8324
8325         * Painter.C (display): anon helper function, adjust code for this
8326         change.
8327         (pixmap): remove function.
8328
8329         * Painter.h: remove private display variable.
8330
8331         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8332
8333 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8334
8335         * WorkArea.[Ch]: remove figinset_canvas cruft.
8336
8337 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8338
8339         * lyxtextclass.C (operator): add one item cache optimization.
8340
8341         * bufferlist.h: doxy changes
8342
8343         * bufferlist.C: ws changes
8344
8345         * DepTable.[Ch] (ext_exist): place const in the right spot.
8346
8347         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8348         call resizeInsets.
8349         (workAreaExpose): call resizeInsets when the with BufferView changes.
8350         (Dispatch): adjust for protectedBlank removal
8351         (specialChar): call updateInset if the insert went ok.
8352
8353         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8354         specialChar instead.
8355
8356         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8357
8358         * BufferView.h: doxy change
8359
8360         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8361
8362         * lyxtextclass.C (operator[]): remove non-const version
8363         (defaultLayout): remove non-const version
8364
8365 2002-03-12  Juergen Vigna  <jug@sad.it>
8366
8367         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8368         did resize the LyXText too.
8369
8370         * buffer.C (readLyXformat2): set layout information on newly allocated
8371         paragraphs.
8372
8373         * tabular.C (OldFormatRead): set layout information on the paragraph.
8374
8375 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8376
8377         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8378
8379 2002-03-11  Juergen Vigna  <jug@sad.it>
8380
8381         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8382         plainly wrong.
8383         (resizeCurrentBuffer): force also the insets to resize themselfes.
8384         (moveCursorUpdate): fixed up for InsetText.
8385
8386 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8387
8388         * commandtags.h:
8389         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8390         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8391         value of Dialogs::tooltipsEnabled().
8392         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8393
8394 2002-03-08  Juergen Vigna  <jug@sad.it>
8395
8396         * BufferView_pimpl.C (updateInset): update inset inside inset also
8397         if it isn't inside theLockingInset().
8398
8399 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8400
8401         * buffer.C (asciiParagraph): redo some of the word and line length
8402         handling.
8403         (getLists): look for Caption instead of caption.
8404
8405 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8406
8407         * buffer.C (Buffer): initialize niceFile to true
8408         (makeLaTeXFile):
8409         (makeLinuxDocFile):
8410         (makeDocBookFile): make sure niceFile is true on exit
8411
8412 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8413
8414         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8415
8416 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8417
8418         * LyXSendto.C: remove.
8419         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8420         * lyx_gui.C: remove now-redundant comment.
8421         * ColorHandler.h: remove forward declaration of class WorkArea.
8422         * lyxfunc.C: remove #include "WorkArea.h".
8423
8424 2002-03-07  Juergen Vigna  <jug@sad.it>
8425
8426         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8427         got moved away with the DEPM and also set the inset_owner always
8428         right which before could have been omitted.
8429
8430 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8431
8432         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8433         wanted layout is not found.
8434
8435 2002-03-07  Juergen Vigna  <jug@sad.it>
8436
8437         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8438
8439 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8440
8441         * paragraph.C (breakParagraph): use default layout not layout of
8442         prev paragraph.
8443         (Paragraph): clear ParagraphParameters.
8444
8445 2002-03-06  Juergen Vigna  <jug@sad.it>
8446
8447         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8448         otherwise it would not be a valid lenght. Fixed a special case in
8449         the minipage compatibility read where we end the document with a
8450         minipage.
8451
8452         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8453         was set as it could be 0 for InsetTexts first entry.
8454
8455 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8456
8457         * paragraph.C (writeFile): if layout is empty write out
8458         defaultLayoutName().
8459
8460         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8461         file without named layout we set layout to defaultLayoutName().
8462
8463 2002-03-06  Juergen Vigna  <jug@sad.it>
8464
8465         * CutAndPaste.C (copySelection): set layout for new paragraph.
8466
8467         * text.C (prepareToPrint): leave ERT inset left aligned
8468         (leftMargin): don't indent paragraphs inside ERT insets
8469
8470 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * paragraph.C (breakParagraph): dont call clear do the work manually
8473
8474         * paragraph.[Ch] (clear): remove function
8475
8476 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8477
8478         * paragraph.C (Paragraph): dont call clear, the work has already
8479         been done.
8480
8481         * lyxtextclass.C (operator): assert if n is empty
8482
8483         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8484         work manually instead.
8485
8486 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8487
8488         * BufferView_pimpl.C: protect selectionLost against text == 0
8489
8490 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8491
8492         * text.C (breakParagraph): fix a setting layout to '0' problem.
8493
8494 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8495
8496         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8497         final location of file, for the included files, and graphics.
8498
8499 2002-03-05  Juergen Vigna  <jug@sad.it>
8500
8501         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8502
8503 2002-03-04  Juergen Vigna  <jug@sad.it>
8504
8505         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8506
8507         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8508         last column of multicolumn cells.
8509         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8510
8511 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8512
8513         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8514         file if it doesn't go to a temporary file.
8515
8516         * buffer.C (sgmlOpenTag):
8517         (sgmlCloseTag):  remove extra newline insertion.
8518
8519 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8520
8521         * text.C (getRowNearY): comment out debug msg
8522
8523 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8524
8525         * text2.C: first -> first_y
8526
8527         * text.C (getRowNearY): add some attemts at a possible
8528         optimization, not working.
8529
8530         * tabular.[Ch]: add BufferParams to several function so that newly
8531         created paragraph can be initialized to he default layotu for the
8532         buffers textclass.
8533
8534         * tabular-old.C (ReadOld): add buf->params to call of Init
8535
8536         * screen.C: rename text->first to text->first_y
8537
8538         * paragraph.C (breakParagraph): always set layout in the broken
8539         paragraph
8540
8541         * lyxtextclass.C (Read): remove lowercase
8542         (hasLayout): ditto
8543         (operator): ditto
8544         (delete_layout): ditto
8545
8546         * lyxtext.h: rename first -> first_y
8547
8548         * lyxlayout.C (Read): remove lowercase
8549         (name): ditto
8550         (setName): ditto
8551         (obsoleted_by): ditto
8552
8553         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8554
8555         * buffer.C (insertErtContents): add params are to InsetERT
8556         (parseSingleLyXformat2Token): add code to check if a paragraphs
8557         layout really exist.
8558         (parseSingleLyXformat2Token): add params to several inset
8559         constructors
8560         (asciiParagraph): remove lowercase, do the layout comparisons with
8561         no_case
8562
8563         * BufferView_pimpl.C (cursorNext): first -> first_y
8564         (resizeCurrentBuffer): first -> first_y
8565         (updateScrollbar): first -> first_y
8566         (scrollCB): first -> first_y
8567         (workAreaMotionNotify): first -> first_y
8568         (workAreaButtonPress): first -> first_y
8569         (checkInsetHit): first -> first_y
8570         (cursorPrevious): first -> first_y
8571         (cursorNext): first -> first_y
8572         (Dispatch): add buffer_->params to severl inset contructors
8573
8574 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8575
8576         * lyxlayout.C (Read): remove some debug info that I forgot.
8577
8578         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8579         clean up the code slightly.
8580         (makeLinuxDocFile): ditto
8581         (makeDocBookFile): ditto
8582
8583         * text2.C: layout as string
8584
8585         * text.C: layout as string
8586
8587         * paragraph_pimpl.C: layout as string
8588
8589         * paragraph.[Ch]: layout as string
8590
8591         * lyxtextclasslist.[Ch]: layout as string
8592
8593         * lyxtextclass.[Ch]: layout as string
8594
8595         * lyxtext.h: layout as string
8596
8597         * lyxlayout.[Ch]: layout as string
8598
8599         * lyx_cb.C: layout as string
8600
8601         * bufferview_funcs.C: layout as string
8602
8603         * bufferparams.C: layout as string
8604
8605         * buffer.C: layout as string
8606
8607         * LyXView.[Ch]: layout as string
8608
8609         * LaTeXFeatures.[Ch]: layout as string
8610
8611         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8612
8613         * BufferView_pimpl.C: change current_layout to string, remove
8614         lyx::layout_type.
8615         (Dispatch):
8616         (smartQuote):
8617         (insertInset):
8618         (workAreaButtonRelease): layout as string
8619
8620         * BufferView2.C (unlockInset): adjust
8621
8622         * vspace.C (asLatexCommand): use an explict temp variable.
8623
8624 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * Makefile.am: use FRONTEND_*
8627
8628 2002-03-01  Juergen Vigna  <jug@sad.it>
8629
8630         * tabular.C (SetWidthOfMulticolCell): changed to something better
8631         I hope but still work in progress.
8632         (recalculateMulticolumnsOfColumn): renamed function from
8633         recalculateMulticolCells as it is more appropriate now.
8634         (SetWidthOfCell): calculate multicols better.
8635
8636 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8637
8638         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8639
8640         * lyxfunc.C (processKeySym): print sequence also if it is
8641         `deleted' (complete)
8642
8643         * kbsequence.C (print): print sequence even if it is deleted
8644         (complete would be a better word, actually).
8645
8646         * lyxfunc.C (dispatch): print complete options after a prefix key
8647
8648         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8649
8650 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8651
8652         * text2.C (setCharFont): eliminate setCharFont code duplication.
8653
8654 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8655
8656         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8657         LFUN_TABULAR_FEATURE (bug #177)
8658
8659 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8660
8661         * Makefile.am: remove figure.h
8662
8663 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8664
8665         * Bufferview_pimpl.C:
8666         * CutAndPasteC:
8667         * LaTeX.C:
8668         * LyXSendto.C:
8669         * buffer.C:
8670         * bufferlist.C:
8671         * converter.C:
8672         * language.C:
8673         * lyxfunc.C:
8674         * lyxvc.C:
8675         * paragraph.C:
8676         * text.C:
8677         * text2.C: remove #include "lyx_gui_misc.h".
8678
8679         * LaTeX.C: added #include <cstdio>
8680
8681 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8684         that the paragraph following this one can have.
8685
8686         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8687
8688         * vspace.C (asLatexCommand): fix bogus gcc warning
8689
8690         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8691
8692 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8693
8694         * text2.C (setLayout): get rid of redundant code
8695
8696 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8697
8698         * text2.C (incDepth): make sure depth cannot be increased beyond
8699         reasonable values.
8700
8701 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8702
8703         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8704         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8705
8706         * PainterBase.h (image):
8707         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8708         a LyXImage const *.
8709
8710 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * BufferView.C:
8713         * BufferView.h:
8714         * BufferView_pimpl.C:
8715         * BufferView_pimpl.h:
8716         * LaTeXFeatures.C:
8717         * LyXAction.C:
8718         * LyXView.C:
8719         * Makefile.am:
8720         * UpdateList.h:
8721         * UpdateList.C:
8722         * buffer.C:
8723         * figure.h:
8724         * figureForm.C:
8725         * figureForm.h:
8726         * figure_form.C:
8727         * figure_form.h:
8728         * lyx_cb.C:
8729         * lyx_gui.C:
8730         * lyx_gui_misc.C:
8731         * lyxfunc.C:
8732         * sp_base.h:
8733         * sp_ispell.h:
8734         * sp_pspell.h:
8735         * sp_spell.C: remove fig inset, and the crap house of
8736           cards that follows it
8737
8738 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * Makefile.am:
8741         * lyxserver.C:
8742         * os2_defines.h:
8743         * os2_errortable.h:
8744         * nt_defines.h: move .h into support/
8745
8746         * vms_defines.h: remove
8747
8748         * WorkArea.C: add space in debug output
8749
8750         * text2.C:
8751         * paragraph.C:
8752         * buffer.C: add WITH_WARNINGS
8753
8754         * vc-backend.h:
8755         * vc-backend.C:
8756         * bufferlist.C: s/retrive/retrieve/, add docs
8757
8758         * vspace.h:
8759         * vspace.C:
8760         * kbmap.h:
8761         * lyxlength.h:
8762         * lyxgluelength.h:
8763         * length_common.h:
8764         * chset.h:
8765         * chset.C: add docs
8766
8767         * lyxgui.C: add ID to X error handler
8768
8769         * lyxtestclass.c: fix typo
8770
8771 2002-02-26  Juergen Vigna  <jug@sad.it>
8772
8773         * tabular_funcs.C (write_attribute): changed so that some default
8774         attributes are not written at all.
8775         (getTokenValue): set default values before trying to read the
8776         value so we have the return value always set as default if we don't
8777         find the token we search for.
8778
8779         * tabular.C (Write): write bools as bools not as strings!
8780
8781 2002-02-22  Juergen Vigna  <jug@sad.it>
8782
8783         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8784         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8785
8786         * text.C (leftMargin): don't add an indent for paragraphs inside
8787         tabular cells (fix #208).
8788
8789 2002-02-21  José Matos  <jamatos@fep.up.pt>
8790
8791         * tabular.C (docBook): fixed support for long tables.
8792
8793 2002-02-20  Juergen Vigna  <jug@sad.it>
8794
8795         * text2.C (getFont): get the drawing font of the Inset if this
8796         paragraph is inside an inset (only important for InsetERT for now).
8797
8798         * buffer.C (insertErtContents): use new lanugage params in ERT
8799         constructor.
8800
8801         * CutAndPaste.C: commenting out seemingly uneeded code.
8802
8803 2002-02-19  Allan Rae  <rae@lyx.org>
8804
8805         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8806         Iterators might be simple to use but they also get invalidated.
8807         (removeAutoInsets): renamed saved cursor tracking variables and added
8808         some comments to clarify what everything does.
8809
8810 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8811
8812         * Chktex.C:
8813         * LaTeX.C:
8814         * LyXSendto.C:
8815         * converter.C:
8816         * lyx_cb.C:
8817         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8818         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8819
8820         * lyxfunc.C:
8821         * vc-backend.h: remove #include "support/syscall.h"
8822
8823         * LaTeX.C:
8824         * LyXSendto.C:
8825         * converter.C: rearrange #includes in Lars' approved fashion.
8826
8827         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8828         forward declare class Timeout in the header file.
8829
8830         * XFormsView.C: changes due to the above.
8831
8832         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8833         similar to LyXView.
8834
8835         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8836         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8837
8838 2002-02-18  José Matos  <jamatos@fep.up.pt>
8839
8840         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8841         insets contents.
8842
8843 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8844
8845         * a lot of small ws changes
8846         * add a lot of using std::XXX
8847         * use std construcs some places where approp.
8848         * use some exisint stuff from lyxfunctional where approp.
8849         * Make file changes to use partial linking (lets test this now...)
8850
8851 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8852
8853         * Chktex.C:
8854         * buffer.C:
8855         remove #include "support/syscontr.h" as it's redundant. Always has been.
8856
8857         * Chktex.C:
8858         * LaTeX.C:
8859         * LyXSendto.C:
8860         * converter.C:
8861         * lyx_cb.C:
8862         * vc-backend.C:
8863         change Systemcalls::System to Systemcalls::Wait and
8864         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8865         No change of functionality, just reflects the stripped down Systemcalls
8866         class.
8867
8868 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8869
8870         * debug.[Ch]: add a GRAPHICS type to the enum.
8871
8872 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8873
8874         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8875
8876         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8877         there is an inset.
8878
8879 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8882         match the changes below.
8883
8884         * text2.C (toggleInset): if there is not editable inset at cursor
8885         position, try to see if cursor is _inside_ a collapsable inset
8886         and close it.
8887
8888 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8889
8890         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8891         document menu has a nice checkbox
8892
8893 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8894
8895         * lyxlength.C (asLatexString): change PW to output as percent of
8896         \textwidth.
8897
8898         * lengthcommon.C: change '%' to 't%'
8899
8900         * lyxfunc.C (dispatch): a few comments from Martin
8901
8902 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * WorkArea.h:
8905         * WorkArea.C:
8906         * BufferView_pimpl.h:
8907         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8908           the X selection.
8909
8910 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8911
8912         * vspace.C (inPixels): fix compiler warning
8913
8914 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * lyxfunc.C (getStatus): fix status message for disabled commands.
8917
8918 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * BufferView_pimpl.C: fix crash on close buffer
8921         during selection (#227)
8922
8923 2002-01-27  Herbert Voss  <voss@lyx.org>
8924
8925         * buffer.C: link old Figure to new graphic inset
8926
8927 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8928
8929         * FontLoader.C (getFontinfo): Change the latex font names in order
8930         to match the names of type1inst.
8931
8932 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8933
8934         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8935
8936         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8937         (extchanged): ditto
8938         (ext_exist): ditto
8939         (remove_files_with_extension): ditto
8940         (remove_file): ditto
8941         (write): ditto
8942
8943         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8944         document is smaller than the work area height. Do not initialize
8945         static variables to 0.
8946
8947 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8950
8951         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8952         LFUN_LAYOUT_PARAGRAPHS.
8953
8954         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8955         tabular. It is possible to provide a possible cell, which will
8956         typically be the actcell from the corresponding insettabular
8957
8958         * lyxfunc.C (getStatus): small cleanup; disable
8959         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8960         true
8961
8962 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8965
8966         * paragraph.C (startTeXParParams):
8967         (endTeXParParams): new methods. The LaTeX code to
8968         start/end paragraph formatting
8969         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8970         empty (fixes bug #200)
8971
8972         * vspace.C (inPixels): adapt to the change below
8973         (inPixels): [later] more cleanups (remove unused variables)
8974
8975         * lyxlength.C (inPixels): change to use a width and a height as
8976         parameter.
8977
8978 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8979
8980         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8981         Replaced with \paperwidth
8982
8983         * DepTable.C (insert): add std:: qualifier
8984
8985 2002-01-18  Allan Rae  <rae@lyx.org>
8986
8987         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8988         updated also?
8989
8990         * text.C (drawInset): Turned out I didn't know enough about how
8991         rebreaking worked.  This fixes most of the redraw problems.  I see
8992         an occasional cursor trail when a line is broken now and the cursor
8993         placement can seem out by a few pixels also after a rebreak.
8994
8995 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * buffer.C (parseSingleLyXformat2Token): update because minipage
8998         width is now a LyXLength
8999
9000         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9001
9002         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9003         math insets
9004
9005 2002-01-17  Juergen Vigna  <jug@sad.it>
9006
9007         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9008
9009         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9010         is set correctly and the inset is updated correctly.
9011
9012 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9013
9014         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9015         the beginning of the loop.
9016
9017 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * lyxrc.C: improve help for use_scalable_fonts
9020
9021 2002-01-17  Allan Rae  <rae@lyx.org>
9022
9023         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9024
9025 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9028         make sure to set their inset_owner to the right value (bug #171)
9029
9030 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9031
9032         * DepTable.h
9033         * DepTable.C: Implement mtime checking to reduce time spent doing
9034         CRCs.
9035
9036 2002-01-16  Juergen Vigna  <jug@sad.it>
9037
9038         * tabular.C (GetAdditionalHeight): one of error fixed.
9039
9040         * lyxrc.C (output): small fix in writing use_pspell.
9041
9042 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9043
9044         * sp_base.h: #include LString.h
9045
9046 2002-01-16  Allan Rae  <rae@lyx.org>
9047
9048         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9049         Can someone check this please?
9050
9051         * text.C (drawInset): It was possible that p.row would be removed by
9052         breakAgainOneRow upsetting a few other settings.  There may be another
9053         small tweak possible by setting need_break_row = 0 when p.row has been
9054         removed but I don't know enough about the logic here.
9055
9056 2002-01-15  Allan Rae  <rae@lyx.org>
9057
9058         * text.C (insertChar): removed conditional truism.
9059
9060         * BufferView2.C (removeAutoInsets): More tweaks.
9061         cur_par_prev could be a stray pointer.  Check for trailing empty line
9062         in case last line was cur_par and only had an error inset on it.
9063
9064 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9065
9066         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9067         absolute
9068
9069         * vc-backend.C (most methods):
9070         * exporter.C (Export):
9071         * converter.C (convert):
9072         (runLaTeX):
9073         * LyXSendto.C (SendtoApplyCB):
9074         * lyxfunc.C (dispatch):
9075         (menuNew):
9076         (open):
9077         (doImport):
9078         * lyx_cb.C (AutoSave):
9079         (InsertAsciiFile):
9080         * BufferView_pimpl.C (MenuInsertLyXFile):
9081         * buffer.C (runChktex): use Buffer::filePath().
9082
9083         * buffer.h: rename filename to filename_; rename filepath to
9084         filepath_ and make it private
9085         (filePath): new method
9086
9087         * buffer.C (writeFile): use fileName()
9088         (getLatexName):
9089
9090         * lyx_main.C (init): fix starting  of LyX when the binary is a
9091         link from so,ewhere else.
9092
9093         * minibuffer.C: include <cctype> for isprint
9094
9095 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9096
9097         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9098         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9099         name clash with InsetCollapsable's width function.
9100
9101 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * lastfiles.C: include <iterator>
9104
9105 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9106
9107         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9108         std::count.
9109
9110         * buffer.C (makeLaTeXFile): ditto.
9111         Also make loop operation more transparent.
9112
9113 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9114
9115         * ToolbarDefaults.C: remove trailing comma closing namespace.
9116
9117         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9118
9119         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9120         as in WorkArea.
9121
9122         * trans.C (Load): comment out unused variable, allowed.
9123
9124 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9125
9126         * minibuffer.[Ch] (append_char): new method to recieve input from the
9127         drop-down completion browser. If a key was pressed, then recieve this
9128         char and append it to the existing string.
9129         (peek_event): modify the positioning data passed to the completion
9130         browser so that it can be placed above the minibuffer rather than below.
9131 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * LyXAction.C (init): alloe error-next for readonly documents.
9134
9135         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9136         count.
9137
9138 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9139
9140         * bufferlist.C (readFile): create the buffer _after_ checking that
9141         the file exists.
9142
9143         * lyxfunc.C (verboseDispatch): fix handling of arguments
9144
9145         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9146
9147         * lyxrc.C: use string::erase() instead of initializing to "".
9148
9149
9150 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9151
9152         * BufferView_pimpl.h:
9153         * BufferView_pimpl.C:
9154         * WorkArea.h:
9155         * WorkArea.C:
9156         * text2.C: tell X when we have made a selection for copying
9157
9158 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * BufferView_pimpl.C (MenuInsertLyXFile):
9161         * lyxfunc.C (menuNew):
9162         (open):
9163         (doImport): add shortcuts to directory buttons
9164
9165         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9166         open a float)
9167
9168         * lyxfunc.C (setStatusMessage):
9169         (getStatusMessage): new methods
9170         (getStatus):use setStatusMessage instead of setErrorMessage
9171         (dispatch): when function is disabled, set error message here
9172         [instead of in getStatus previously]
9173
9174         * BufferView_pimpl.C (workAreaButtonRelease): update
9175         toolbar/menubar here too.
9176
9177 2002-01-13  Allan Rae  <rae@lyx.org>
9178
9179         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9180         Now seems indestructible.  Remaining task is to audit all other
9181         code affected by deleteEmptyParagraphMechanism.  One small quirk
9182         left is that an empty document with an error in the preamble can
9183         be made to report an error but no error box appears.  I don't know
9184         where it goes.
9185         (removeAutoInsets): Improved comments.
9186
9187 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * Thesaurus.h:
9190         * Thesaurus.C: update for Aiksaurus 0.14
9191
9192 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9193
9194         * text2.C (firstParagraph): removed member function, all uses
9195         replaces with ownerParagraph
9196         (redoParagraphs): here
9197         (updateInset): here
9198         (toggleAppendix): here
9199         * BufferView2.C (insertErrors): here
9200         (setCursorFromRow): here
9201
9202 2002-01-13  Allan Rae  <rae@lyx.org>
9203
9204         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9205         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9206         There is still a way to segfault this although you may have to do this
9207         multiple times: Have an InsetERT with an unknown command in it.
9208         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9209         <down-arrow>, <Enter> again, View->DVI, BANG!
9210
9211         * text2.C (setCursor):
9212         (deleteEmptyParagraphMechanism):
9213         * lyxtext.h (setCursor):
9214         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9215         Making use of the return value may help fix other bugs.
9216
9217 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9218
9219         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9220
9221         * LyXView.C (updateMenubar): call MenuBar::update here
9222         (updateToolbar): but not here
9223         (showState): do not update toolbar/menubar
9224
9225         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9226         should need to care about that.
9227
9228         * lyxfunc.C (verboseDispatch): simplify a bit
9229         (getStatus): have a version which takes a pseudoaction, and
9230         another which requires a (kb_action,string).
9231
9232         * LyXAction.C (retrieveActionArg): make it work also when action
9233         is not a pseudo-action.
9234         (getActionName): simplify a bit
9235         (helpText):
9236
9237 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9238
9239         * lyxfunc.C (verboseDispatch): new families of methods with
9240         several ways to specify a command and a bool to indicate whether
9241         the command name and shortcut should be displayed in minibuffer
9242         (eventually, we could extend that to a finer bitmask like
9243         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9244         (dispatch): the pristine dispatch command which just, well,
9245         dispatchs! Note it still sets its result to minibuffer; I'm not
9246         sure we want that.
9247
9248         * lyxfunc.h: remove setHintMessage
9249
9250         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9251
9252 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * BufferView_pimpl.C (specialChar): delete new inset if we have
9255         not been able to insert it.
9256
9257         * kbmap.C: revert to using int instead of kb_action, since all we
9258         are dealing with is pseudo-actions.
9259
9260         * LyXAction.C (searchActionArg): change to return int instead of
9261         kb_action, since the result is a pseudoaction.
9262
9263 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9264
9265         * buffer.C (insertErtContents): Fix (partially) the font bug.
9266
9267 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9268
9269         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9270         as the other one is broken on my machine!
9271
9272 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9273
9274         * commandtags.h:
9275         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9276
9277 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9278
9279         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9280         reflect their actual use. Provide compatibility code for older lyxrc
9281         files.
9282
9283         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9284         FL_NORMAL_STYLE.
9285         change names of popup font variables in line with the changes to lyxrc.C
9286
9287 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * buffer.C (asciiParagraph): avoid outputing a word twice after
9290         an inset.
9291
9292         * lyxrc.C (getDescription): document that document_path and
9293         template_path can be empty.
9294
9295 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9296
9297         * LaTeXFeatures.C (getMacros):
9298         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9299
9300         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9301
9302         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9303         getPackages.
9304         (getPackages): rename feature "floats" to "float". Use an array to
9305         iterate over 'simple' features (i.e. just a \usepackage). Add
9306         handling of "amsmath" (renamed from "amsstyle").
9307
9308 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9309
9310         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9311         features list.
9312
9313 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9314
9315         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9316         FuncStaus::FuncStatus & FuncStaus::some_method().
9317
9318 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9319
9320         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9321         of the func_satus stuff. Edited and massaged in various ways by
9322         JMarc.
9323
9324         * lyxfunc.C (getStatus): use FuncStatus
9325
9326 2002-01-08  Juergen Vigna  <jug@sad.it>
9327
9328         * text.C (nextBreakPoint): use function Inset::isChar().
9329
9330         * paragraph.C (TeXOnePar): use function
9331         Inset::forceDefaultParagraphs.
9332
9333         * buffer.C (latexParagraphs): use function
9334         Inset::forceDefaultParagraphs.
9335
9336 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9337
9338         * lyx_gui.C (init): set the style of the menu popups to
9339         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9340
9341 2002-01-07  Juergen Vigna  <jug@sad.it>
9342
9343         * text.C (setHeightOfRow): small fix
9344         (prepareToPrint): don't look at alignment if we don't have the place
9345         for doing it.
9346
9347 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9348
9349         * box.C: New file. Move the Box methods and functions out of box.h,
9350         following Lars' suggestion.
9351
9352 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9353
9354         * box.h: #include "support/LOstream.h", needed for inlined function.
9355
9356         * lyxtextclass.C:
9357         * lyxtextclasslist.C: added some using std declarations.
9358
9359 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9360
9361         * box.h: make signed dimensions to allow insets wider than
9362           the screen (bug #162)
9363
9364         * BufferView_pimpl.C: add some insetHit debug
9365
9366 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * vc-backend.C: add FIXME
9369
9370 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9371
9372         * lyxfunc.C (getStatus): enable code for showing math font status
9373         in toolbar/menu.
9374
9375 2002-01-07  Juergen Vigna  <jug@sad.it>
9376
9377         * text.C (nextBreakPoint): removed debug output not needed anymore.
9378
9379 2002-01-06  Juergen Vigna  <jug@sad.it>
9380
9381         * text.C (nextBreakPoint): fixed up this function we had this bug
9382         since ever but now hopefully we break row better.
9383         (insertChar): we have to check if an inset is the next char as it
9384         could now happen that a large inset is causing a break.
9385
9386 2002-01-05  Juergen Vigna  <jug@sad.it>
9387
9388         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9389         if it doesn't like to be drawed.
9390
9391 2002-01-04  Juergen Vigna  <jug@sad.it>
9392
9393         * BufferView2.C (lockInset): forgot to set a cursor.
9394
9395         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9396
9397 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9398
9399         * FormMathsPanel.C:
9400         * FormMathsPanel.h
9401         * MathsSymbols.C:
9402         * form_maths_panel.C:
9403         * form_maths_panel.h:
9404         * form_maths_panel.fd: implemented sub- and super- buttons in math
9405         panel.
9406
9407         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9408         (or ^ space) to be used as in TeX (req'd by André).
9409
9410         * lyxfunc.C: Allow ^ and _ again to be used both as
9411         super/subscript (mathed) and as themselves (in text).
9412
9413 2002-01-03  Allan Rae  <rae@lyx.org>
9414
9415         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9416         "LyX" or the filename of the current buffer if it has one.  This is a
9417         modified form of John Levon's patch.
9418
9419         * XFormsView.C (setWindowTitle): also set icon title.
9420
9421         * LyXView.h (setWindowTitle): signature changed.
9422         * XFormsView.h (setWindowTitle): ditto.
9423
9424 2002-01-02  Juergen Vigna  <jug@sad.it>
9425
9426         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9427
9428 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * screen.C (topCursorVisible): introduce a temp var for
9431         text->cursor.row(), handle the case where this row is null. (kindo
9432         hachish)
9433
9434         * text2.C (setCursor): add a couple of asserts.
9435
9436         * paragraph.h (inset_iterator): add -> operator
9437
9438         * paragraph.[Ch] (autoDeleteInsets): remove member function
9439
9440         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9441         cursor pos correctly and handle inset deletion by itself.
9442         (insertErrors): move iterator declaration out of for expression
9443
9444         * lyxtextclass.C: add <algorithm>
9445
9446         * Makefile.am: added the new files to sources, removed layout.C
9447
9448         * layout.C: removed file
9449
9450         * layout.h: remove LYX_DUMMY_LAYOUT
9451
9452         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9453         layout.
9454
9455         * lyxlayout.[Ch]:
9456         * lyxtextclass.[Ch]:
9457         * lyxtextclasslist.[Ch]: new files
9458
9459         * include order changes to a lot of files, also changes because of
9460         the six new files.
9461
9462 2001-12-27  Juergen Vigna  <jug@sad.it>
9463
9464         * buffer.C (asciiParagraph): more fixes.
9465
9466         * tabular.C (ascii): make ascii export support export of only the
9467         data separated by a column-delimiter.
9468         (ascii): better support for ascii export.
9469
9470         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9471
9472 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9473
9474         * tabular_funcs.C: use a "using std::getline" instead of the
9475         previous fix from Angus (necessary for cxx + lyxstring)
9476
9477 2001-12-24  Juergen Vigna  <jug@sad.it>
9478
9479         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9480
9481         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9482         problems. First check a minipage also if we have some ert-contents
9483         (not only on par->size(), second set the right depth of the paragraph
9484         on the relink to the root-paragraph-list!
9485
9486         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9487         which then did not anymore update the main paragraphs on undo/redo!
9488
9489 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9490
9491         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9492         code. Support all font-changing funcs (even those which are not in
9493         menu currently). Support for reporting font settings in
9494         mathed (disabled until Andre provides a function on mathed's side).
9495
9496         * func_status.h (toggle): small helper function to set toggle
9497         state on a flag.
9498
9499 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9500
9501         * tabular_funcs.C: getline -> std::getline
9502
9503 2001-12-21  Juergen Vigna  <jug@sad.it>
9504
9505         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9506         accessed and could be 0 (I couldn't generate this but it seems
9507         Michael could!).
9508
9509 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9510
9511         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9512         * tabular_funcs.h: here and include iosfwd
9513
9514 2001-12-20  Juergen Vigna  <jug@sad.it>
9515
9516         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9517         inside inset but undo_par was.
9518
9519 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9520
9521         * Thesaurus.C: always include <config.h> in sources.
9522
9523         * Painter.h:
9524         * lyxlookup.h:
9525         * box.h: do not include <config.h> in header files
9526
9527         * text.C (paintLastRow): remove unused variable
9528
9529         * text.C (transformChar):
9530         (insertChar):
9531         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9532
9533         * Painter.C (text):
9534         * font.C (width): rewrite to use uppercase() instead of
9535         islower/toupper.
9536
9537         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9538
9539 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9540
9541         * lyxfind.C: clean up of find failure position change
9542
9543 2001-12-20  Juergen Vigna  <jug@sad.it>
9544
9545         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9546
9547         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9548         (TeXRow): added to LaTeX a single tabular row.
9549         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9550         (Latex): simplified and finally good LT-h/f support.
9551         (various_functions): just small adaptions for LT-h/f support.
9552
9553         * tabular_funcs.[hC]: added and moved here all not classfunctions
9554         of LyXTabular.
9555
9556 2001-12-19  Juergen Vigna  <jug@sad.it>
9557
9558         * tabular.[Ch]: better support for longtabular options (not finished
9559         yet!)
9560
9561 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * text.C (paintLastRow): use the label font instead of the font of
9564         the last character to compute the size of *_BOX. This makes more
9565         sense and avoids a crash with empty paragraphs.
9566         Use Painter::rectangle to draw EMPTY_BOX.
9567
9568 2001-12-19  Juergen Vigna  <jug@sad.it>
9569
9570         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9571         the paragraphs if the replaced paragraph is not the first one!
9572         Tried to delete not used paragraphs but does not work yet so for
9573         now it's inside #ifdef's and by default off!
9574
9575 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9576
9577         * MenuBackend.C: include "lyx_main.h" instead of declaring
9578         lastfiles (actually was declared as LastFiles* instead of a
9579         scoped_ptr).
9580
9581 2001-12-17  Juergen Vigna  <jug@sad.it>
9582
9583         * tabular.C (AppendColumn): applied John's fix
9584
9585 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9586
9587         * BufferView.h:
9588         * BufferView.C:
9589         * BufferView_pimpl.h:
9590         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9591
9592         * Makefile.am:
9593         * box.h: new start of class for above
9594
9595         * lyxfunc.C: ignore space-only minibuffer dispatches.
9596           Show the command name when it doesn't exist
9597
9598         * minibuffer.C: don't add empty lines to the history
9599
9600         * minibuffer.C: add a space on dropdown completion
9601
9602 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9603
9604         * text.C: fix line above/below drawing in insets
9605
9606 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * lyxlength.C (LyXLength): Initialize private variables.
9609
9610 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9611
9612         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9613         when inserting error insets.
9614
9615 2001-12-13  Juergen Vigna  <jug@sad.it>
9616
9617         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9618         actually sometimes the before-paragraph.
9619         (setUndo): don't clear the redostack if we're not actually undoing!
9620
9621 2001-12-06  Juergen Vigna  <jug@sad.it>
9622
9623         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9624         and fixed redoing of main paragraph, so we can use it now ;)
9625
9626         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9627
9628 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9629
9630         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9631         Juergen's request
9632
9633 2001-12-13  André Pönitz <poenitz@gmx.net>
9634
9635         * undostack.[Ch]:
9636         * undo_func.C: minor cleanup
9637
9638 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9639
9640         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9641         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9642         font in urw-fonts package which is marked as -urw-fontspecific and
9643         does not work (incidentally, changing the encoding in the
9644         fonts.dir of this package to -adobe-fontspecific fixes the
9645         problem).
9646
9647         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9648         is a crash when undoing first paragraph (Juergen, please take a
9649         look). THis does not mean the undo fix is wrong, just that it
9650         uncovers problems.
9651
9652         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9653         the (Paragraph*) version when needed instead of duplicating the
9654         code.
9655
9656         * text.C (workWidth): use Inset::parOwner to find out where the
9657         inset has been inserted. This is a huge performance gain for large
9658         documents with lots of insets. If Inset::parOwner is not set, fall
9659         back on the brute force method
9660
9661         * paragraph_pimpl.C (insertInset):
9662         * paragraph.C (Paragraph):
9663         (cutIntoMinibuffer): set parOwner of insets when
9664         inserting/removing them
9665
9666         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9667
9668 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9669
9670         * commandtags.h:
9671         * LyXAction.C:
9672         * lyx_main.C:
9673         * lyxfunc.C:
9674         * mathed/formulabase.C:
9675         * mathed/math_cursor.[Ch]:
9676         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9677
9678
9679 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9680
9681         * lyxlength.[Ch] (operator!=): new function
9682
9683 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9684
9685         * text.C (workWidth): use Inset::parOwner to find out where the
9686         inset has been inserted. This is a huge performance gain for large
9687         documents with lots of insets. If Inset::parOwner is not set, fall
9688         back on the brute force method
9689
9690         * paragraph_pimpl.C (insertInset):
9691         * paragraph.C (Paragraph):
9692         (cutIntoMinibuffer): set parOwner of insets when
9693         inserting/removing them
9694
9695         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9696
9697 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * tabular-old.C (getTokenValue):
9700         * tabular.C (getTokenValue):
9701         (write_attribute): new versions for LyXLength
9702         (everywhere): adjust the use of widths
9703
9704         * tabular.h: change the type of widths from string to LyXLength
9705
9706 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9707
9708         * paragraph.C: fixed missing line number count when exporting
9709         Environments to LaTeX file
9710
9711         * buffer.C: added informational message for checking line numbers.
9712
9713 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9716         paragraph, do the 'double space' part, but not the 'empty
9717         paragraph' one.
9718
9719         * text.C (workWidth): small optimization
9720         (getLengthMarkerHeight): use minimal size for negative lengths.
9721
9722 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9723
9724         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9725
9726         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9727
9728 2001-12-11  André Pönitz <poenitz@gmx.net>
9729
9730         * FontLoader.C:
9731         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9732
9733 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * text2.C: keep selection on a setFont()
9736
9737 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * lyx_cb.C: another bv->text misuse, from insert label
9740
9741 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * kbsequence.h:
9744         * kbsequence.C: re-instate nmodifier mask
9745
9746 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9747
9748         * lyx_main.h: make lyxGUI private.
9749
9750 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * lyxfind.C: place the cursor correctly on failed search
9753
9754 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * text.C (getLengthMarkerHeight): for small heights, the arrows
9757         are not always on top/bottom of the text
9758         (drawLengthMarker): smaller arrows; take the left margin in
9759         account; draw also vfills.
9760         (paintFirstRow):
9761         (paintLastRow): remove special code for vfill and standard spaces,
9762         since everything is handled in drawLengthMarker now.
9763
9764 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * buffer.C (insertErtContents): try to handle font and language
9767         interaction a bit better.g
9768
9769         * ColorHandler.C (updateColor): change the hash to cover the whole
9770         LColor enum, ws cleanup
9771         (getGCLinepars): ditto
9772         (getGCLinepars): only lookup in the linecache once.
9773
9774 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9775
9776         * iterators.C (operator++): Make the iterator more robust
9777
9778         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9779         (John's patch)
9780         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9781
9782 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9783
9784         * lyxtext.h:
9785         * text.C: better added space drawing
9786
9787 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * LyXView.C:
9790         * BufferView2.C: fix layout combo update on inset unlock
9791
9792 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * Makefile.am: don't compile unused files
9795
9796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9797
9798         * lyxfunc.C:
9799         * commandtags.h:
9800         * LyXAction.C: remove old LFUN_LAYOUTNO
9801
9802 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * paragraph_pimpl.h:
9805         * paragraph_pimpl.C: isTextAt() doesn't need font param
9806
9807 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * lyxlex.h:
9810         * lyxlex.C: little cleanup
9811
9812 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * BufferView_pimpl.C: fix insertAscii for insets
9815
9816 2001-12-05  Juergen Vigna  <jug@sad.it>
9817
9818         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9819         set the right font on the "multi" paragraph paste!
9820
9821 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9822
9823         * trans_decl.h:
9824         * trans_mgr.[Ch]:
9825         * trans.[Ch]:
9826         * lyxgluelength.C:
9827         * lyxlength.C: remove out-commented code.
9828
9829         * BufferView_pimpl:
9830         * CutAndPaste.C:
9831         * DepTable.C:
9832         * buffer.C:
9833         * chset.C:
9834         * lastfiles.C:
9835         * lyxlex.C:
9836         * lyxlex_pimpl.C:
9837         * lyxserver.C:
9838         * screen.C:
9839         * tabular-old.C:
9840         * tabular.C:
9841         * text.C:
9842         * trans_mgr.C:
9843         * vc-backend.C: change "while(" to "while ("
9844
9845         * lyxlength.[Ch]: add zero function to check if length is zero or
9846         not
9847         * lyxgluelength.C: use it
9848
9849 2001-12-05  Allan Rae  <rae@lyx.org>
9850
9851         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9852         Works for 2.95.3, from what I understand of Garst's reports this should
9853         work for other g++ versions.  We're screwed if the abs(int) definition
9854         changed between bugfix releases of gcc.
9855
9856 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * text.C: fix chapter label offset !
9859
9860 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9861
9862         * lyxtext.h:
9863         * text.C: fix hfill at end of line, clean up
9864
9865 2001-12-04  Juergen Vigna  <jug@sad.it>
9866
9867         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9868         that we force an update of the inset and it's owners if neccessary.
9869
9870 2001-12-03  Juergen Vigna  <jug@sad.it>
9871
9872         * text.C (rowLast): simplified code
9873
9874 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * lyxfunc.C: fix show options on timeout
9877
9878 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9879
9880         * screen.C (topCursorVisible): scroll half a page when the cursor
9881         reached top of bottom of screen
9882
9883 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9884
9885         * minibuffer.C: deactivate on loss of focus
9886
9887 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * vspace.[Ch] (operator!=): add operator.
9890
9891 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * BufferView_pimpl.C: refuse to open an inset when
9894         there's a selection.
9895
9896 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * BufferView_pimpl.C: allow to click on RHS of full row insets
9899
9900 2001-11-30  Juergen Vigna  <jug@sad.it>
9901
9902         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9903         insets for undo reasons.
9904
9905 2001-11-28  André Pönitz <poenitz@gmx.net>
9906
9907         * vspace.[Ch]: cosmetical changes
9908
9909 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * LyXAction.h:
9912         * LyXAction.C:
9913         * lyxfunc.h:
9914         * lyxfunc.C:
9915         * kbmap.h:
9916         * kbmap.C:
9917         * lyxrc.C:
9918         * kbsequence.h:
9919         * kbsequence.C: part re-write of old kb code
9920
9921         * Painter.C:
9922         * WorkArea.C: remove Lgb_bug_find_hack
9923
9924 2001-11-30  José Matos <jamatos@fep.up.pt>
9925
9926         * buffer.C (makeDocBookFile): add a comment to point a hack.
9927         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9928         Fixed a double write of labels.
9929
9930 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9931
9932         * LaTeX.C:
9933         * LaTeX.h Fixed bug in LaTeX class where it would not
9934         re-run latex if no depfiles were changed, but the .dvi was removed.
9935
9936 2001-11-28  André Pönitz <poenitz@gmx.net>
9937
9938         * all the files from the change on 2001/11/26:
9939         use lyx::layout_type instead of LyXTextClass::size_type
9940         use lyx::textclass_type instead of LyXTextClassList::size_type
9941
9942 2001-11-29  Juergen Vigna  <jug@sad.it>
9943
9944         * text.C: added support for paragraph::isFreeSpacing()
9945
9946         * buffer.C: same as above
9947
9948         * paragraph.h: inserted isFreeSpacing() function to enable
9949         FreeSpacing inside InsetERT.
9950
9951         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9952         of the paragraph's in the cut/copy buffer to 0!
9953
9954         * text2.C (removeRow): remove the assert as it can!
9955
9956         * lyxtext.h: added helper function firstRow returning firstrow and
9957         made firstrow private again.
9958
9959         * BufferView2.C (lockInset): don't relock if we're already locked!
9960
9961         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9962         the only paragraph.
9963         (removeRow): added Assert::(firstrow)
9964
9965         * debug.C: forgot to add INSETTEXT here.
9966
9967 2001-11-28  Juergen Vigna  <jug@sad.it>
9968
9969         * sp_spell.C (initialize): changed error text to more general
9970         spellchecker command use (not only ispell!)
9971
9972         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9973
9974         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9975
9976 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * vspace.C: initialise lyxgluelength on failure
9979
9980 2001-11-28  Allan Rae  <rae@lyx.org>
9981
9982         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9983         declaration & definition that looks like a function declaration.
9984
9985 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9986
9987         * BufferView2.C (copy):
9988         (copyEnvironment): do not clear the selection when doing a copy.
9989
9990         * text.C (paintFirstRow): compilation fix
9991
9992 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9993
9994         * tabular.C (Latex): correct line count when writing latex.
9995
9996 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * paragraph_pimpl.h:
9999         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10000           bug a bit
10001
10002 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * text.C:
10005         * LColor.h:
10006         * LColor.C: change vfillline->added_space
10007
10008         * text.C: add markers and text for added space
10009
10010         * vspace.C: fix comment
10011
10012 2001-11-28  André Pönitz <poenitz@gmx.net>
10013
10014         * paragraph.C: whitespace changes
10015         * all the other files from the change on 2001/11/26:
10016         change *::pos_type into lyx::pos_type
10017
10018 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10019
10020         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10021         language of the document when inserting error insets.
10022
10023 2001-11-26  André Pönitz <poenitz@gmx.net>
10024
10025         * BufferView_pimpl.[Ch]:
10026         *       CutAndPaste.C:
10027         * buffer.[Ch]:
10028         * lyxcursor.[Ch]:
10029         * lyxfind.C:
10030         * lyxfunc.C:
10031         * lyxrow.[Ch]:
10032         * paragraph.[Ch]:
10033         * paragraph_pimpl.[Ch]:
10034         * sp_spell.C:
10035         * text.C:
10036         * text2.C: reduce header dependencies, introduce type for positions
10037
10038 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * <various>: change to use Alert.h
10041
10042 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10043
10044         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10045         when encountering an unknown token.
10046         (readLyXformat2): Show an error message if there were unknown tokens.
10047
10048 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * BufferView2.C:
10051         * BufferView_pimpl.C:
10052         * buffer.C:
10053         * paragraph.h:
10054         * text.C:
10055         * text2.C: use par->isInset()
10056
10057 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * paragraph_pimpl.h:
10060         * paragraph_pimpl.C: cleanup
10061
10062 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10063
10064         * text2.C (removeRow):
10065         * text.C (setHeightOfRow): remove useless (and costly) call to
10066         getRow.
10067
10068 2001-11-20  Allan Rae  <rae@lyx.org>
10069
10070         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10071         Now need Inset*::checkInsertChar() to return true for appropriate
10072         cases so that the characters in the minibuffer will actually be
10073         inserted.
10074
10075 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * text.C: change the order of the includes.
10078         (workWidth): initialize it at once.
10079         (workWidth): make maxw unsigned
10080         (setHeightOfRow): remove unused variable (inset)
10081         (selectSelectedWord): remove unused variable (inset)
10082         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10083
10084 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10085
10086         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10087         server is not running.
10088         (openConnection):
10089         (closeConnection): add debug info when server is disabled.
10090
10091         * ColorHandler.C (getGCForeground): send debug message to GUI
10092         channel.
10093
10094         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10095
10096         * kbmap.C (bind): modify because return conventions of
10097         kb_sequence::parse have changed.
10098
10099         * kbsequence.C (parse): only ignore spaces and not any stupid
10100         control character. This avoids tests like s[i] <= ' ', which are
10101         guaranteed to fail with 8bit characters and signed chars.
10102         Change return code to string::npos when there have been no error
10103         (0 was a bad idea when error is at first character)
10104
10105 2001-11-14  José Matos  <jamatos@fep.up.pt>
10106
10107         * buffer.h:
10108         * buffer.C (simpleDocBookOnePar): removed unused argument.
10109
10110 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10111
10112         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10113         insets which are part of a word. Paragraph::isLetter takes care of
10114         that now. Use Paragraph::isInset to identify insets.
10115         (selectSelectedWord): do not test for hyphenation break.
10116
10117         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10118         that protected spaces are considered as spaces.
10119
10120         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10121         Inset::isLetter.
10122
10123 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * lyxserver.h:
10126         * lyxserver.C: fix it. and small cleanup.
10127
10128 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * BufferView_pimpl.C: use inline helpers
10131
10132         * LaTeXFeatures.h:
10133         * LaTeXFeatures.C: fix typos
10134
10135         * Spacing.h:
10136         * Spacing.C: move spacing_string into class
10137
10138         * ToolbarDefaults.C: move stuff into namespace anon
10139
10140         * layout.h: update enum
10141
10142         * lyxfunc.C: use better debug
10143
10144         * minibuffer.h: fix typo
10145
10146         * debug.h:
10147         * debug.C:
10148         * WorkArea.C: add and use Debug::WORKAREA
10149
10150         * lyxtext.h:
10151         * text.C:
10152         * text2.C: code re-organisation, inline helpers
10153
10154 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10155
10156         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10157         std::vector.empty().
10158
10159 2001-11-09  Allan Rae  <rae@lyx.org>
10160
10161         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10162         '\n's after tables.  Tabular and ERT inset work now makes this no
10163         longer necessary.
10164
10165 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * minibuffer.h:
10168         * minibuffer.C: fix crash, improve drop-down completion
10169
10170 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * lyxserver.h:
10173         * lyxserver.C: invalidate fd's when doing endPipe()
10174
10175 2001-11-08  José Matos  <jamatos@fep.up.pt>
10176
10177         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10178         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10179
10180         * paragraph.h:
10181         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10182
10183 2001-11-07  José Matos  <jamatos@fep.up.pt>
10184
10185         * buffer.h:
10186         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10187         const qualifier.
10188
10189         * buffer.C (sgmlOpenTag):
10190         * buffer.C (sgmlCloseTag): removed debug info.
10191
10192         * buffer.h (sgmlOpenTag):
10193         * buffer.h (sgmlCloseTag): made public.
10194
10195 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10196
10197         * buffer.C (saveParamsAsDefaults):
10198         * lyx_cb.C (MenuLayoutSave): remove
10199
10200         * LyXAction.C (init):
10201         * commandtags.h:
10202         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10203
10204 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10205
10206         * buffer.C (setPaperStuff): removed from here...
10207
10208         * bufferparams.C (setPaperStuff): ... and moved there.
10209
10210 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * minibuffer.h:
10213         * minibuffer.C:
10214         * XFormsView.C: add support for drop-down completion
10215
10216 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10217
10218         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10219         commands.
10220
10221 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10222
10223         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10224         disabled.
10225
10226 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyx_main.C: change ref to known bugs
10229
10230 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10231
10232         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10233         to work around older babel problems.
10234
10235 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10236
10237         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10238
10239 2001-10-24  Juergen Vigna  <jug@sad.it>
10240
10241         * tabular-old.C (ReadOld): below variable changes reflected.
10242
10243         * tabular.[Ch]: added ltType struct for longtable header/footer
10244         defines and changed all instances where they are used. Added
10245         future support for double top/bottom rows.
10246
10247 2001-10-24  José Matos  <jamatos@fep.up.pt>
10248
10249         * buffer.h (docbookHandleCaption):
10250         * buffer.C (docbookHandleCaption): removed unused function.
10251         (makeDocBookFile): moved docbook supported version to v4.1.
10252
10253 2001-10-24  José Matos  <jamatos@fep.up.pt>
10254
10255         * tabular.h:
10256         * tabular.C (docbookRow): new function to export docbook code of a row.
10257         (DocBook): now honors the longtable flags.
10258
10259 2001-10-23  José Matos  <jamatos@fep.up.pt>
10260
10261         * LaTeXFeatures.h:
10262         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10263         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10264
10265         * buffer.C (makeLinuxDocFile):
10266         (makeDocBookFile): reworked the preamble, more clean, and with
10267         support for lyx defined entities. Changed the document declaration
10268         to be more XML friendly.
10269
10270         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10271         if we need to output XML that should be done with a filter.
10272
10273 2001-10-22  Juergen Vigna  <jug@sad.it>
10274
10275         * sp_pspell.h (class PSpell): add alive function needed in the
10276         controller to see if the spellchecker could be started.
10277
10278 2001-10-22  Juergen Vigna  <jug@sad.it>
10279
10280         * buffer.C (insertStringAsLines): modify the font for inserting
10281         chars in certain conditions by calling checkInsertChar(font).
10282
10283 2001-10-19  Juergen Vigna  <jug@sad.it>
10284
10285         * text.C (workWidth): use getRow instead of wrong algorithm.
10286         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10287
10288 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * lyxserver.h:
10291         * lyxserver.C:
10292         * lyx_main.h:
10293         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10294
10295 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10296
10297         * text.C (workWidth): do not search for the exact row when
10298         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10299         optimization for big documents.
10300
10301 2001-10-18  Juergen Vigna  <jug@sad.it>
10302
10303         * text.C (workWidth): new function with added Inset * parameter.
10304
10305 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10308
10309         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10310         change return type of getColumnNearX.
10311
10312
10313         * text.C (changeRegionCase): use uppercase/lowercase instead of
10314         toupper/tolower.
10315         (leftMargin):
10316         (rightMargin): simplify code by factoring out the uses of
10317         textclasslist.
10318         (labelFill):
10319         (numberOfHfills):
10320         (setHeightOfRow):
10321         (appendParagraph): use Paragraph::size_type
10322
10323 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10324
10325         * vspace.C (asLatexString): add a missing break
10326
10327 2001-10-15  Herbert Voss  <voss@perce.de>
10328
10329         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10330
10331 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10332
10333         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10334         is not available.
10335
10336 2001-10-10  André Pönitz <poenitz@gmx.net>
10337
10338         * lyxfunc.C: removed greek_kb_flag.
10339
10340 2001-10-10  Herbert Voss  <voss@perce.de>
10341
10342         * lyx_main.C: delete global string help_lyxdir.
10343
10344 2001-10-09  Herbert Voss  <voss@perce.de>
10345
10346         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10347
10348         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10349
10350         * lyx_main.C: added global string help_lyxdir.
10351
10352         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10353
10354 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10355
10356         * lyxrc.C (set_font_norm_type): support iso8859-4
10357
10358 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10359
10360         * LaTeX.C (deplog): add another regex for MikTeX
10361
10362 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10363
10364         * lyxrc.C (set_font_norm_type): support iso8859-3
10365
10366 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10367
10368         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10369
10370         * LaTeXFeatures.C: remove special case of french and index
10371
10372         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10373         before \begin{document}). This solves several incompatibilities.
10374
10375 2001-10-03  Garst Reese  <reese@isn.net>
10376
10377         * lyx_cb.C: change CheckTex error msg.
10378
10379 2001-10-03  José Matos  <jamatos@fep.up.pt>
10380
10381         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10382
10383 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * .cvsignore: update
10386
10387         * lyx_main.C (commandLineVersionInfo): use new style version info.
10388
10389         * buffer.C (writeFile):
10390         (makeLaTeXFile):
10391         (makeLinuxDocFile):
10392         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10393
10394         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10395
10396         * version.h: update to use stuff in version.C
10397
10398         * version.C.in: new file. Contains version information determined
10399         at compile time. This is a merging of version.h and
10400         version_info.h.in.
10401
10402 2001-10-03  Juergen Vigna  <jug@sad.it>
10403
10404         * BufferView_pimpl.C (update): don't change "dirty" status in
10405         updateInset call.
10406
10407 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10408
10409         * WorkArea.C (c-tor): re-position version string slightly.
10410
10411 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10412
10413         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10414         revert to previous code.
10415
10416         WorkArea.[Ch]: (show, destroySplash): methods removed.
10417
10418         WorkArea.C: rework code so that it's an amalgam of the codes before and
10419         after the splash screen was moved to WorkArea.
10420
10421 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * lyxrc.C (read):
10424         * vspace.C (inPixels):
10425         (lyx_advance):
10426         * kbmap.C (bind):
10427         * buffer.C (insertStringAsLines):
10428         (asciiParagraph): fix types to be large enough
10429
10430         * lyxlex_pimpl.h: change member status from short to int
10431
10432         * layout.h: fix type of endlabeltype
10433
10434         * kbmap.C (bind):
10435         * kbsequence.C (parse): change return type to string::size_type
10436
10437         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10438         variable
10439
10440         * Bullet.C (bulletSize):
10441         (bulletEntry): do not use short ints as parameters
10442
10443         * BufferView2.C (insertLyXFile): change a char to an int.
10444
10445         * WorkArea.C (WorkArea): remove unneeded floats in computation
10446
10447 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10448
10449         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10450
10451         * paragraph.C (asString): Do not ignore newline/hfill chars when
10452         copying to the clipboard.
10453
10454 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10455
10456         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10457         after a multi-line inset.
10458
10459 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10460
10461         * paragraph.C (validate): Set NeedLyXFootnoteCode
10462
10463 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10464
10465         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10466         and decrease-error to decrease.
10467
10468 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10471         it more readable (should be equivalent)
10472
10473 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10474
10475         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10476
10477 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10478
10479         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10480         of a cursor (row, etc.) after a character has been deleted
10481         (deleteEmptyParagraphMechanism): call the method above on _all_
10482         cursors held by the LyXText when a double space has been
10483         detected/deleted.
10484
10485 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10486
10487         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10488         pixmap.
10489         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10490
10491         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10492         background. Use greyOut() and the new show() methods to toggle between
10493         the foreground and background. Add code to remove the splash after
10494         its initial showing.
10495
10496         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10497         (create_forms): no longer call Dialogs::showSplash.
10498
10499 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10500
10501         * .cvsignore: add version_info.h
10502
10503 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10504
10505         * version_info.h.in: new file
10506
10507         * Makefile.am: add version_info.h.in
10508
10509         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10510         version_info.h instead of VERSION_INFO
10511
10512 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10513
10514         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10515         The ERT inset now returns string().
10516
10517 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10518
10519         * lyxtext.h, text.C (selectNextWord): renamed as
10520         selectNextWordToSpellcheck.
10521
10522         * text.C (selectNextWordToSpellcheck): Modified to not select
10523         words inside an ERT inset.
10524
10525 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10526
10527         * lyx_cb.C (MenuLayoutSave): change a bit the question
10528
10529         * sp_base.h: include <sys/types.h>
10530
10531 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10532
10533         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10534
10535 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10536
10537         * several files: fix typos in user-visible strings
10538
10539 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10540
10541         * text2.C (pasteSelection): do not set the selection, since it
10542         will be cleared later. Actually, the intent was to fix the way the
10543         selection was set, but I figured rmoving the code was just as good.
10544
10545 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10546
10547         * FontLoader.C (available): Check if font is available without
10548         loading the font.
10549
10550 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10551
10552         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10553
10554 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10555
10556         * lyxrc.[Ch]: added display_graphics variable and associated code.
10557
10558 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * bufferparams.C (hasClassDefaults): new method. Returns true if
10561         the buffer parameters correspond to known class defaults
10562
10563 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10564
10565         * XFormsView.C (show): set minimum size to the main window.
10566
10567 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10568
10569         * text2.C (copySelection):
10570         (cutSelection):
10571         * lyxfind.C (LyXReplace):
10572         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10573         LyXText::selectionAsString.
10574
10575         * paragraph.C (asString): add "label" argument to the second form
10576
10577         * text2.C (selectionAsString): add "label" argument and pass it to
10578         Paragraph::asString.
10579
10580 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10581
10582         * lyx_main.C (commandLineHelp): remove version information
10583
10584 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10585
10586         * lyx_main.C: add -version commandline option
10587
10588 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * paragraph.h: make the optional constructor arg required instead.
10591         some modifications to other files because of this.
10592
10593         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10594
10595         * lyxserver.C (C_LyXComm_callback): make it static
10596
10597         * lyx_main.C (error_handler): make it static
10598
10599         * lyx_gui.C (LyX_XErrHandler): make it static
10600
10601         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10602
10603         * WorkArea.C: make the extern "C" methods static.
10604
10605         * Makefile.am (lyx_LDADD): simplify
10606
10607 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10608
10609         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10610         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10611
10612         * LyXAction.C (init):
10613         * lyxfunc.C (dispatch): associated code removal.
10614
10615 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10616
10617         * lyxfont.h (isSymbolFont): shut off warning
10618
10619         * text.C (setHeightOfRow):
10620         (getVisibleRow): fix crash with empty paragraphs which have a
10621         bottom line
10622
10623 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10624
10625         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10626         code.
10627
10628 2001-09-04  José Matos  <jamatos@fep.up.pt>
10629         * buffer.C
10630         * buffer.h
10631         * tabular.C (docbook): rename docBook method to docbook.
10632
10633 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10634
10635         * Makefile.am: add dependencies to main.o.
10636
10637 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10638
10639         * FontLoader.C (available): Return false if !lyxrc.use_gui
10640
10641 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10642
10643         * FontInfo.C (query):
10644         * converter.C (view):
10645         * importer.C (Import):
10646         * exporter.C (Export): Can not -> cannot.
10647
10648 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * BufferView_pimpl.C: allow to create index inset even if
10651           string is empty
10652
10653 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10654
10655         * buffer.C (getLists): replace boost::tie code with an explicit pair
10656         as boost::tie can break some compilers.
10657
10658         * iterators.h: Added a std:: declaration to the return type of
10659         ParIterator::size.
10660
10661 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10664           case.
10665
10666 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10667
10668         * iterators.[Ch]: New files. Provide paragraph iterators.
10669
10670         * buffer.C (changeLanguage): Use paragraph iterators.
10671         (isMultiLingual): ditto
10672
10673         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10674
10675 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10676
10677         * FontLoader.C: Support for cmr font.
10678
10679 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10680
10681         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10682         (available): New method.
10683
10684         * FontInfo.C (getFontname): Use scalable fonts even when
10685         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10686         found.
10687
10688 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10689
10690         * converter.C (Formats::view): reverted! Incorrect fix.
10691
10692 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10693
10694         * converter.C (Formats::view): only output the -paper option
10695         if the dvi viewer is xdvi, thereby fixing bug #233429.
10696
10697 2001-08-23  Herbert Voss  <voss@perce>
10698
10699         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10700
10701 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10702
10703         * Spacing.h (Spacing): Set space to Default on in the default
10704         constructor.
10705
10706 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * vc-backend.h (RCS::versionString): add RCS to version
10709         (CVS::versionString): add CVS to version
10710
10711         * vc-backend.C (scanMaster): do not add CVS to version.
10712         (scanMaster): do not add RCS to version
10713
10714         * lyxvc.C (versionString): new method
10715
10716         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10717
10718 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * Spacing.C (set): initialize fval
10721
10722 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10725         " or \.
10726
10727 2001-08-16  Juergen Vigna  <jug@sad.it>
10728
10729         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10730
10731 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView_pimpl.C:
10734         * figureForm.C:
10735         * lyxtext.h:
10736         * text2.C: setParagraph takes linespacing now
10737
10738 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * LyxAction.C: add internal LFUN_CITATION_INSERT
10741
10742         * LyXView.C: actually apply fix
10743
10744         * bufferlist.C: fix open non-existent file
10745
10746         * lyxfind.C: fix indentation
10747
10748         * lyxfunc.C: remove unneeded assert, fix typo
10749
10750 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * MenuBackend.C: use "Floatname List"
10753
10754 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10757         when converting LaTeX layout to insetERT.
10758         Generate a non-collapsed float when reading old float
10759
10760 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10761
10762         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10763         ERT insets.
10764
10765 2001-08-13  Juergen Vigna  <jug@sad.it>
10766
10767         * text.C (fill): return 0 instead of 20 as this seems to be the more
10768         correct value.
10769
10770 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10773         lyxrc.font_norm.
10774
10775 2001-08-13  Juergen Vigna  <jug@sad.it>
10776
10777         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10778         casesensitive off.
10779         (SearchBackward): comment out the unlocking of the inset_owner this
10780         should not be needed!
10781
10782 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10783
10784         * Many files: Remove inherit_language, and add latex_language
10785
10786         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10787         collapsible insets.
10788
10789 2001-08-10  Juergen Vigna  <jug@sad.it>
10790
10791         * text.C (prepareToPrint): fixed hfill-width in draw!
10792
10793         * BufferView2.C (selectLastWord): save the selection cursor as this
10794         now is cleared in the function LyXText::clearSelection!
10795
10796 2001-08-08  Juergen Vigna  <jug@sad.it>
10797
10798         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10799         BACKSPACE type functions.
10800
10801         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10802         is only cutted from the document but not put in the cut-buffer, where
10803         still the old stuff should be.
10804
10805         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10806
10807         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10808
10809         * tabular.C (SetWidthOfCell): fixed special case where the width
10810         was not updated!
10811         (LeftLine): handle '|' in align_special.
10812         (RightLine): ditto
10813         (LeftAlreadyDrawed): ditto
10814         (SetWidthOfCell): ditto
10815
10816 2001-08-07  Juergen Vigna  <jug@sad.it>
10817
10818         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10819
10820 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10821
10822         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10823         * lyxlex.[hC]: ditto
10824
10825 2001-08-06  Juergen Vigna  <jug@sad.it>
10826
10827         * text.C (getVisibleRow): fix up row clearing a bit.
10828
10829 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10830
10831         * minibuffer.C: make sure the X server sees the changes in the input.
10832
10833 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * paragraph.C (getFont): split into...
10836         (getLabelFont): this
10837         (getLayoutFont): and this
10838         * paragraph_pimpl.C (realizeFont): calling this
10839
10840         * text2.C (getFont): split into...
10841         (getLayoutFont): this
10842         (getLabelFont): and this
10843         (realizeFont): all three calling this
10844
10845         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10846         files where used.
10847
10848 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10851
10852 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10853
10854         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10855         layouts from the Quote inset insertion.
10856
10857 2001-08-03  Juergen Vigna  <jug@sad.it>
10858
10859         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10860
10861         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10862         only if status not is already CHANGED_IN_DRAW (second level).
10863
10864         * text.C (draw): don't set the need_break_row when inside an
10865         InsetText LyXText.
10866
10867 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10868
10869         * buffer.C (parseSingleLyXformat2Token): handle more latex
10870         conversion cases.
10871
10872         * bufferview_funcs.[hC]: change function names to
10873         begin with small char, adjust other files.
10874
10875 2001-08-02  André Pönitz <poenitz@gmx.net>
10876
10877         * lyxfunc.C:
10878         BufferView_pimpl.C: remove broken special code for math-greek
10879
10880 2001-08-02  Juergen Vigna  <jug@sad.it>
10881
10882         * BufferView_pimpl.C (update): redone this function so that we
10883         update the text again if there was a CHANGE_IN_DRAW.
10884
10885         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10886         (drawFromTo): added a new internal bool which is used by draw() and
10887         redraw() function.
10888         (general): some cursor drawing problems fixed.
10889
10890 2001-08-01  Juergen Vigna  <jug@sad.it>
10891
10892         * lyxfind.C (LyXFind): fixed
10893         (SearchForward): ditto
10894         (SearchBackward): ditto
10895
10896         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10897         spurius drawing of the cursor in the main area.
10898
10899         * text2.C (status): small fix which could lead to a segfault!
10900         (clearSelection): remove unneeded BufferView param.
10901
10902 2001-08-01  André Pönitz <poenitz@gmx.net>
10903
10904         * lyxfunc.C: small change due to changed mathed interface
10905
10906 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10907
10908         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10909
10910 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10911
10912         * lyxfunc.c: fail gracefully if file doesn't exist
10913
10914         * LyXSendto.C:
10915         * buffer.C:
10916         * lyxfunc.C:
10917         * BufferView_pimpl.C: IsDirWriteable() proto changed
10918
10919         * LyXView.C: fix updateWindowTitle() to store the last title
10920
10921 2001-07-31  Juergen Vigna  <jug@sad.it>
10922
10923         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10924         the font (wrong since using of Paragraph::highestFontInRange).
10925
10926         * paragraph.C (highestFontInRange): added a default_size parameter.
10927
10928         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10929         (setHeightOfRow): reformat
10930
10931 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * converter.[hC] + affected files: move to (inital-char)lowercase
10934         function names.
10935
10936         * ParagraphParameters.C (ParagraphParameters): remove commented code
10937
10938         * PainterBase.[Ch]: remove commented code
10939
10940         * LaTeXFeatures.h: add "bool floats" for float.sty
10941
10942         * LaTeXFeatures.C (LaTeXFeatures): init floats
10943         (require): handle float
10944         (getPackages): do it with floats
10945
10946 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10947
10948         * BufferView_pimpl.C (Dispatch): improve handling of
10949         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10950
10951         * commandtags.h: #include lyxfont.h here temporarily to avoid
10952         keybinding bug.
10953
10954         * bufferlist.h: include LString.h here.
10955
10956 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * text2.C (getStringToIndex): new method.
10959
10960 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10961
10962         * *: Reduced header file dependencies all over.
10963
10964 2001-07-30  Baruch Even  <baruch@lyx.org>
10965
10966         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10967
10968 2001-07-29  Baruch Even  <baruch@lyx.org>
10969
10970         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10971
10972 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * ParameterStruct.h (endif): add a default constructor to make
10975         sure that all variables is initialized.
10976
10977         * ParagraphParameters.C (ParagraphParameters): adjust
10978
10979 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10982         index; also, check that there is something to index, and that it
10983         does not span over several paragraphs.
10984         (doubleClick): use WHOLE_WORD_STRICT for double click.
10985
10986         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10987
10988         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10989         scheme.
10990
10991 2001-07-26  Baruch Even  <baruch@lyx.org>
10992
10993         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10994         an InsetFig figure, backwards compatible reading of old figure code.
10995
10996 2001-07-27  Juergen Vigna  <jug@sad.it>
10997
10998         * text2.C: font.realize function adaption.
10999
11000         * text.C (draw): add a warnings lyxerr text if needed.
11001
11002         * layout.C: font.realize function adaption.
11003
11004         * language.C: add inherit_language and implement it's handlings
11005
11006         * bufferview_funcs.C (StyleReset): remove language parameter from
11007         font creation (should be language_inherit now).
11008
11009         * bufferparams.C (writeFile): handle ignore_language.
11010
11011         * paragraph.C (getFontSettings): the language has to be resolved
11012         otherwise we have problems in LyXFont!
11013
11014         * lyxfont.C (lyxWriteChanges): added document_language parameter
11015         (update): removed unneeded language parameter
11016
11017         * paragraph.C (validate): fixed wrong output of color-package when
11018         using interface colors for certain fonts in certain environments,
11019         which should not seen as that on the final output.
11020
11021 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * BufferView_pimpl.C:
11024         * Thesaurus.h:
11025         * Thesaurus.C:
11026         * Makefile.am:
11027         * commandtags.h:
11028         * LyXAction.C: add thesaurus support
11029
11030         * lyxfind.h:
11031         * lyxfind.C: add "once" parameter, for thesaurus, to not
11032           move to the next match
11033
11034 2001-07-26  Juergen Vigna  <jug@sad.it>
11035
11036         * lyxfont.C (realize): honor ignore_language too!
11037         (resolved): ditto.
11038
11039         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11040
11041         * text.C (draw): one place more for ignore_language to not draw
11042         itself!
11043
11044 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11045
11046         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11047
11048 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11049
11050         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11051         the minipage conversion problem.
11052
11053 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11054
11055         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11056         insert an inset.
11057
11058 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * BufferView.h: don't forward declare WorkArea
11061
11062         * BufferView.C: don't include WorkArea.h
11063
11064 2001-07-25  André Pönitz <poenitz@gmx.net>
11065
11066         * commandtags.h:
11067         * LyXAction.C:
11068         * lyxfunc.C:  new LFUN 'math-space'
11069
11070         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11071
11072 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * text2.C (toggleInset): call open/close
11075
11076 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11077
11078         * lyxfunc.C (dispatch): add debug for the disabled case
11079
11080         * font.C (buttonText): make similar to rectText
11081
11082         * buffer.C (readInset): comment out parsing of insetlist and
11083         insttheorem
11084
11085         * PainterBase.C (rectText): small correction
11086
11087         * BufferView_pimpl.C: comment out insettheorem and insetlist
11088         * LyXAction.C: ditto
11089         * commandtags.h: ditto
11090
11091 2001-07-24  Juergen Vigna  <jug@sad.it>
11092
11093         * text.C (draw): honor the ignore_language.
11094
11095         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11096
11097 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11100         char inset.
11101
11102 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11103
11104         * lyxtext.h: remove unused (and unimplemented) methods
11105
11106 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11107
11108         * text.C (getVisibleRow): honor background color
11109
11110         * PainterBase.h:
11111         * Painter.h: remove default color argument for fillRectangle
11112
11113         * text.C (backgroundColor): new method
11114
11115 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * text.C (getVisibleRow): adjust
11118
11119         * font.[Ch] (rectText): new method, metrics
11120         (buttonText): new method, metrics
11121
11122         * PainterBase.[hC]: make rectText and buttonText always draw and take
11123         fewer paramteres.
11124
11125 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11126
11127         * ToolbarDefaults.C (read):
11128         * MenuBackend.C (read): allow escaping in all strings
11129
11130         * BufferView_pimpl.C (insertAndEditInset): new method.
11131         (Dispatch): use insertAndEditInset whenever appropriate.
11132
11133         * BufferView_pimpl.C (insertNote): removed
11134
11135         * BufferView_pimpl.C (smartQuote): new method, moved from
11136         BufferView; if an insetquote cannot be inserted, insert a '"'
11137         character instead.
11138
11139         * BufferView2.C: remove insertCorrectQuote();
11140
11141         * lyxfunc.C (getStatus): Add support for all remaingin
11142         inset-insert lfuns.
11143
11144         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11145
11146         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11147         command (necessary to pass " as parameter of self-insert.
11148
11149         * text.C (selectWordWhenUnderCursor):
11150         (selectWord): add word_location parameter
11151         (selectWordWhenUnderCursor): same + remove special code for word
11152         boundary.
11153         (selectNextWord): use kind() to guess type of insetspecialchar,
11154         not latex().
11155
11156         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11157         (insertErtContents): create ert insets as collapsed.
11158         (readInset): better compatibility code for Info inset.
11159
11160 2001-07-20  Juergen Vigna  <jug@sad.it>
11161
11162         * lyxfunc.C (dispatch): use always LyXFind now!
11163
11164         * text2.C (init): add a reinit flag so that the LyXText can be
11165         reinited instead of deleted and reallocated (used in InsetText).
11166
11167         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11168
11169         * text.C: ditto
11170
11171         * text2.C: ditto
11172
11173 2001-07-18  Juergen Vigna  <jug@sad.it>
11174
11175         * text.C (selectNextWord): handle insets inside inset by calling
11176         always the bv->text functions so that we can go up the_locking_inset!
11177
11178         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11179         in strange locations when inside an inset!
11180
11181         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11182         handling to include insets.
11183
11184         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11185
11186 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * LyXAction.C (init):
11189         * commandtags.h:
11190         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11191         LIGATURE_BREAK, since the name is so stupid.
11192
11193 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11194
11195         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11196         InsetInfos.
11197
11198         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11199
11200         * sp_form.[Ch]: remove.
11201
11202         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11203
11204         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11205         InsetInfo.
11206
11207         * src/buffer.C (readInset): ditto.
11208
11209 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11210
11211         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11212         menuSeparator(), endOfSentenceDot(), ldots() and
11213         hyphenationPoint(), which are therefore removed.
11214         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11215
11216         * LyXAction.C (init):
11217         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11218
11219         * paragraph.C (getWord): removed.
11220
11221         * BufferView_pimpl.C (Dispatch): use last word or selection for
11222         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11223
11224         * lyx_main.C (queryUserLyXDir): do not ask before creating
11225         user_dir, except if it has been named explicitely.
11226
11227 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11228
11229         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11230         a document of zero size.
11231
11232 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11235         approriately in the c-tor and in require().
11236         (getPackages): output the appropriate LaTeX for natbib support.
11237
11238         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11239         variables "use_natbib" and "use_numerical_citations" when reading the
11240         LyX file.
11241         (readInset): read the various natbib cite commands.
11242         (validate): white-space change.
11243
11244         * bufferparams.[Ch]: new variables "bool use_natbib" and
11245         "bool use_numerical_citations".
11246         (writeFile): output them in the LyX file.
11247
11248 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11249
11250         * lyxfunc.C (getStatus): add support for all the inset insertion
11251         commands.
11252
11253         * text2.C (insertInset):
11254         * paragraph.C (insetAllowed):
11255         * BufferView_pimpl.C (insertInset): update to take in account the
11256         renaming of insertInsetAllowed
11257
11258         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11259
11260         * text2.C (getInset): new method. returns inset at cursor position.
11261
11262         * BufferView_pimpl.C (Dispatch): changes because of this.
11263
11264         * LyXAction.C (init): rename open-stuff to inset-toggle.
11265
11266         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11267
11268         * text2.C (toggleInset): renamed from openStuff; use
11269         Inset::open().
11270
11271 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11272
11273         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11274
11275         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11276
11277 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11278
11279         * buffer.C (readLyXformat2): Add filename to the error dialog
11280
11281 2001-07-18  Juergen Vigna  <jug@sad.it>
11282
11283         * tabular.C (GetCellNumber): put an assert here instead of the check!
11284
11285 2001-07-17  Juergen Vigna  <jug@sad.it>
11286
11287         * BufferView_pimpl.C (toggleSelection): adapted too.
11288
11289         * text.C (selectNextWord): adapted for use with insets.
11290         (selectSelectedWord): ditto
11291
11292 2001-07-17  Juergen Vigna  <jug@sad.it>
11293
11294         * sp_spell.C (PSpell): fix initialitation order.
11295
11296 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11297
11298         * paragraph.C: spacing
11299
11300 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11301
11302         * sp_spell.C: repair language selection for pspell
11303
11304 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11305
11306         * lyxfunc.h: change more methods to begin with lower char.
11307
11308 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11311         for unknown layouts.
11312
11313 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11314
11315         * buffer.C (readLyXformat2): Generate an error dialog if there are
11316         unknown layouts.
11317
11318 2001-07-16  Juergen Vigna  <jug@sad.it>
11319
11320         * sp_spell.C: always compile ISpell part.
11321
11322         * lyxrc.C: added use_pspell entry and it's handling.
11323
11324 2001-07-13  Juergen Vigna  <jug@sad.it>
11325
11326         * sp_spell.C: removed double includes.
11327
11328 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11329
11330         Consistent use of Lsstream.h:
11331         * Lsstream.h: added using std::stringstream for consistencies sake.
11332
11333         * buffer.C: removed using std::stringstream
11334
11335         * lyxfont.C (stateText):
11336         * paragraph.C (asString):
11337         * text.C (selectNextWord, selectSelectedWord):
11338         * text2.C (setCounter):
11339         * vspace.C (asString, asLatexString):
11340         std::ostringstream -> ostringstream.
11341
11342 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11343
11344         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11345         * commandtags.h: add LFUN_HELP_ABOUTLYX
11346         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11347
11348 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11349
11350         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11351         cursorToggle()
11352         * lyx_gui_misc.C: remove spellchecker
11353         * lyxfunc.C: showSpellchecker
11354         * sp_base.h: added
11355         * sp_ispell.h: added
11356         * sp_pspell.h: added
11357         * sp_spell.C: added
11358         * sp_form.[Ch]: removed
11359         * spellchecker.[Ch]: removed
11360
11361 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11362
11363         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11364         is set.
11365         (simpleTeXSpecialChars): Simply print the input character without
11366         any special translation if pass_thru is set.
11367
11368         * layout.h: Added bool pass_thru to layout class for being able to
11369         implement pass through of a paragraph for Literate Programming.
11370
11371         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11372         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11373         * layout.C (Read): add "passthru" to list of layout tags and add
11374         code to set the pass_thru boolean when it is read.
11375
11376 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * trans_decl.h: remove allowed from KmodInfo
11379
11380         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11381         remove allowed code
11382         (Load): adjust
11383
11384         * paragraph_pimpl.C (erase): use boost::prior
11385
11386         * Painter.C (text): use data() instead of c_str() when length is
11387         also provided.
11388         * WorkArea.C (putClipboard): ditto
11389         * font.h (width): ditto
11390
11391         * BufferView2.C: use it-> instead of (*it). for iterators
11392         * texrow.C: ditto
11393         * paragraph_pimpl.C: ditto
11394         * paragraph.C: ditto
11395         * minibuffer.C: ditto
11396         * language.C: ditto
11397         * kbmap.C: ditto
11398         * encoding.C: ditto
11399         * counters.C: ditto
11400         * converter.C: ditto
11401         * chset.C: ditto
11402         * Variables.C: ditto
11403         * TextCache.C: ditto
11404         * MenuBackend.C: ditto
11405         * LyXAction.C: ditto
11406         * LColor.C: ditto
11407         * FloatList.C: ditto
11408         * DepTable.C: ditto
11409         * ColorHandler.C (LyXColorHandler): ditto
11410
11411 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11412
11413         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11414
11415         * text2.C (openStuff): reintroduce this method (which had been
11416         nuked in NEW_INSETS frenzy).
11417
11418         * lyxfunc.C (Dispatch): when an action has not been handled, use
11419         its name in the error message, not its number.
11420
11421         * paragraph.C (inInset): change method name to begin with lowercase.
11422
11423         * undo_funcs.C:
11424         * text2.C: updates because of this.
11425
11426 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11427
11428         * ToolbarDefaults.C (add): add spaces in error message
11429
11430 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11433         (readLyXformat2): rename return_par to first_par, use lyxlex's
11434         pushToken and remove the manual push handling.
11435         (parseSingleLyXformat2Token): add another ert comp. variable:
11436         in_tabular, rename return_par to first_par. handle newlines better
11437
11438 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11441
11442 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * text2.C (getParFromID): removed
11445
11446         * buffer.C (getParFromID): new method moved form lyxtext.
11447         * BufferView2.C (insertErrors): adjust
11448         (setCursorFromRow): adjust
11449         * BufferView_pimpl.C (restorePosition): adjust
11450         * lyxfunc.C (Dispatch): adjust
11451         * undo_funcs.C (textUndo): adjust
11452         (textRedo): adjust
11453         (textHandleUndo): adjust
11454         (textHandleUndo): adjust
11455
11456 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * buffer.C: up' the LYX_FORMAT
11459
11460         * lyxfont.h: turn NO_LATEX on as default
11461
11462         * buffer.C (insertErtContents): new methods of tex style compability.
11463         (parseSingleLyXformat2Token): use it several places.
11464         * tabular.C (OldFormatRead): and here
11465
11466 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * text2.C: remove some commented code.
11469         reindent file.
11470
11471         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11472         * trans.C: changes because of the above.
11473
11474 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11475
11476         * text2.C (setCounter): Fix counters bug with bibliography layout.
11477
11478 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11481         own member functions
11482         (simpleTeXSpecialChars): ditto
11483
11484 2001-07-06  Juergen Vigna  <jug@sad.it>
11485
11486         * a lot of files: changed the access to LyXText::status and the
11487         call of undo-functions.
11488
11489         * undo.[Ch]: added a inset_id to the undo informations.
11490
11491         * undo_funcs.[Ch]: added and moved here all undo functions.
11492
11493         * lyxtext.h: give the status enum a weight, made status_ a private
11494         variable and made accessor functions for it, removed the whole bunch
11495         of undo-functions as they are now in their own file, make some
11496         functions publically available. Added function ownerParagraph with
11497         int parameter.
11498
11499         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11500         made InInset() a const function, added getParFromID() function.
11501
11502         * buffer.[Ch]: added const version for inset_iterator functions,
11503         added getInsetFromID() function.
11504
11505         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11506         changed undo functions for new version.
11507
11508 2001-07-05  Juergen Vigna  <jug@sad.it>
11509
11510         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11511         unknow mechanism does not call the proper constructor but only this
11512         one also if I request the other!?
11513
11514 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11517
11518         * text2.C (LyXText): use initialization lists.
11519
11520         * lyxtext.h (Selection): initialize set_ and mark_
11521         (init): remove method
11522
11523 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11526
11527 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * screen.[Ch]: change method names to begin with lowercase
11530
11531         * BufferView_pimpl.C (updateScrollbar): simplify further and
11532         hopefully make it a bit faster.
11533
11534 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11535
11536         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11537         calling directly xforms functions.
11538
11539         * Painter.C (Painter):
11540         * lyx_cb.C (MenuWrite):
11541         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11542         fl_display.
11543
11544         * lyx_gui.C: remove bogus guiruntime extern declaration.
11545
11546 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11549         in NEW_INSETS
11550         (redoDrawingOfParagraph): ditto
11551         (redoParagraphs): ditto
11552         (cutSelection): don't create a object for CutAndPaste use the
11553         static method directly
11554         (pasteSelection): ditto
11555
11556         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11557         LyXview (+ rename)
11558
11559 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11560
11561         * modifications to some other files because of this.
11562
11563         * Makefile.am (lyx_SOURCES): add XFormsView
11564
11565         * XFormsView.[Ch]: new files
11566
11567         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11568         the main window. Move the gui dependent stuff to XFormsView
11569
11570 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11571
11572         * tabular.C (GetCellInset): update cur_cell also in the row/col
11573         version of this function.
11574
11575         * lyxfunc.C: no need to include figure_form.h here.
11576
11577         * FontLoader.h:
11578         * lyxfunc.h:
11579         * lyxscreen.h:
11580         * text2.C:
11581         * lyxvc.C: no need to include forms.h here.
11582
11583 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11584
11585         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11586
11587         * lyxfunc.C (Dispatch):
11588         * Spacing.C (set):
11589         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11590         constructor argument.
11591
11592 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * paragraph.C (Paragraph): dont't clear, and just set layout.
11595         (makeSameLayout): use params's copy contructor.
11596
11597         * ParagraphParameters.[Ch] (makeSame): delete method
11598
11599 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * Variables.[Ch]: fix indentation, rename set to isSet
11602
11603 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * lyxfunc.C (Dispatch): fix typo
11606
11607 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11610         upper_bound.
11611
11612         * bufferlist.C: include assert.h for emergencyWrite().
11613
11614 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11617           give up at last (bug #425202) !
11618
11619 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyx_gui_misc.C:
11622         * sp_form.h:
11623         * sp_form.C:
11624         * spellchecker.h:
11625         * spellchecker.C: strip spellchecker options and bring up
11626           preferences tab instead
11627
11628 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11631         the istringstream constructor
11632
11633 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11634
11635         * paragraph.C (getLayout): fix return value
11636
11637         * paragraph.h: do not declare getLayout as inline.
11638
11639         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11640
11641 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * lyxcursor.h (operator<): new func
11644         (operator>): new func
11645         (operator>=): new func
11646         (operator<=): new func
11647
11648         * text.C (changeCase): use selection.start and selection.end
11649         (changeRegionCase): require from to be <= to. Require par to be a
11650         valid paragraph.
11651
11652         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11653
11654 2001-06-27  Juergen Vigna  <jug@sad.it>
11655
11656         * text.C (cursorLeftOneWord): changed to return the cursor and added
11657         overlay with BufferView * parameter which calls this one.
11658         (getWord): added
11659         (selectWord): use new getWord function.
11660         (changeCase): renamed from changeWordCase as and extended to work
11661         also on selections.
11662
11663         * lyxtext.h: added enum word_location
11664
11665         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11666         changeCase as this operates now also on selections.
11667
11668 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11669
11670         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11671
11672         * many files: send debug output to Debug::INFO instead of
11673         Debug::ANY.
11674
11675         * converter.C (View):
11676         (Convert):
11677         (Move): send debug output to Debug::FILES instead of console.
11678
11679 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11680
11681         * lyxfunc.C (getStatus): use func_status
11682
11683         * func_status.h: new header, describing the results of
11684         LyXFunc::getStatus;
11685
11686         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11687         LFUN_MATH_HALIGN.
11688
11689 2001-06-25  The LyX Project  <jug@sad.it>
11690
11691         * buffer.C (sgmlOpenTag):
11692         (sgmlCloseTag):
11693         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11694
11695 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11696
11697         * text2.C: remove some dead code
11698
11699         * tabular.C (GetCellInset): store the last cell checked (gotten)
11700
11701         * tabular.h: add the helper for the speedup
11702
11703         * lyxtext.h: remove some dead code
11704
11705 2001-06-26  The LyX Project  <Asger>
11706
11707         * paragraph.C: Change export to LaTeX of alignment to
11708         \begin{center} and family for better roundtrip work with reLyX.
11709
11710         * Tune the math drawing a bit.
11711
11712 2001-06-25  The LyX Project  <Asger>
11713
11714         * LColor.C (LColor): New color for math background. New color
11715         for buttons.
11716
11717 2001-06-25  The LyX Project  <jug@sad.it>
11718
11719         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11720
11721         * lyxfunc.C (Open):
11722         * bufferlist.C (newFile): do not restrict to files ending with
11723         .lyx
11724
11725         * BufferView_pimpl.C (MenuInsertLyXFile):
11726
11727 2001-06-24  The LyX Project  <jug@sad.it>
11728
11729         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11730         of compare_no_case
11731
11732 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * lyxtext.h: rename most methods to begin with a small char.
11735         Lots of changes because of this.
11736
11737         * paragraph.C (Paragraph): do not call fitToSize
11738         (erase): call Pimpl::erase
11739         (insertChar): call Pimpl::insertChar
11740         (insertInset): call Pipl::insertInset
11741         (breakParagraph): do not call fitToSize
11742         (breakParagraphConservative): do not call fitToSize
11743         (fitToSize): remove method
11744
11745         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11746
11747 2001-06-24  The LyX Project  <Asger>
11748
11749         * Fix Qt compilation^2
11750
11751 2001-06-24  The LyX Project  <jug@sad.it>
11752
11753         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11754         depthHook(getDepth()-1).
11755
11756         * paragraph.h:
11757         * ParagraphParameters.h:
11758         * ParameterStruct.h: change type of depth to unsigned int ==
11759         depth_type. Many adaptations to other files before of that.
11760
11761 2001-06-24  The LyX Project  <Asger>
11762
11763         * Fix Qt compilation.
11764
11765 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * paragraph.h: renamed several methods to begin with small letter.
11768         several changes to many parts of the code because of this.
11769
11770 2001-06-23  The LyX Project  <jug@sad.it>
11771
11772         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11773         rewritten to discard all double spaces when KeepEmpty is off
11774         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11775         to only handle newlines but not fiddle with spaces and friends.
11776
11777         * lyxfunc.C (MenuNew): when doing 'new from template', use
11778         template_path as default directory
11779
11780 2001-06-23  The LyX Project  <Asger>
11781
11782         * Clean-up of header file includes all over
11783         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11784
11785 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * paragraph.h: renamed from lyxparagraph.h
11788
11789 2001-06-23  Asger  <lyx@violet.home.sad.it>
11790
11791         * Buffer.h: Removed Buffer::resize
11792         * BufferList.h: Removed BufferList::resize
11793         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11794         the document lazily when we change the width, or the font settings.
11795
11796 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11799
11800 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * buffer.h: remove out of date comment
11803
11804 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * lyxscreen.h:
11807         * screen.C: fix "theoretical" GC leak
11808
11809 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * LaTeX.C (scanAuxFile):
11812         (deplog): remove trailing \r when reading stream (useful under
11813         win32)
11814
11815 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11816
11817         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11818         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11819         and BufferView::theLockingInset(Inset*), so should use them and not
11820         access bv_->text->the_locking_inset directly.
11821
11822         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11823
11824 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * Makefile.am:
11827         * tex-defs.h: remove old unused file
11828
11829 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * BufferView_pimpl.C: fix typo, remove minibuffer message
11832           when buffer has loaded
11833
11834 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * lyxfunc.C (Dispatch): use stringstream
11837         (MenuNew): use stringstream
11838         (Open): use stringstream
11839
11840         * importer.C (Import): use stringstream
11841
11842         * bufferview_funcs.C (CurrentState): use stringstream
11843
11844         * LaTeX.C (run): use stringstream
11845
11846         * BufferView_pimpl.C (savePosition): use stringstream
11847         (restorePosition): use stringstream
11848         (MenuInsertLyXFile): use stringstream
11849
11850 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11851
11852         * BufferView.C:
11853         * Bullet.C:
11854         * ColorHandler.C:
11855         * FontInfo.C:
11856         * FontLoader.C:
11857         * LColor.C:
11858         * LaTeXFeatures.C:
11859         * Painter.C:
11860         * gettext.C:
11861         * lyx_gui_misc.C:
11862         * lyxserver.C:
11863         * vspace.C: removed // -*- C++ -*- as first line.
11864
11865         * lyxfind.h:
11866         * version.h: added // -*- C++ -*- as first line.
11867
11868 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11871
11872         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11873         of string
11874
11875 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11878         of floats.
11879
11880 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11881
11882         * gettext.C: include LString.h even when --disable-nls is on.
11883
11884 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * converter.h (Get): changed argument type from int to
11887         FormatList::size_type to avoid unnecessary conversion.
11888
11889         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11890         before using it.
11891
11892 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * gettext.h: include LString.h even when --disable-nls is on.
11895
11896 2001-06-07  Juergen Vigna  <jug@sad.it>
11897
11898         * text.C (BreakAgain): subst spaces with tabs.
11899
11900         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11901         (resizeInsetsLyXText): set force on resizeLyXText.
11902
11903 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11904
11905         * gettext.h (gettext_init):
11906         (locale_init): use a real definition instead of a macro
11907
11908 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * Bufferview_pimpl.C:
11911         * LColor.h:
11912         * LColor.C: further lcolor tidies
11913
11914 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * BufferView_pimpl.C (updateScrollbar): simplify.
11917
11918         * BufferView2.C: don't include insets/insetinfo.h, change
11919         prototype for insertInset and call the Pimpl version. let
11920         updateInset call Pimpl version.
11921
11922         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11923         gotoInset to BufferView::Pimpl
11924
11925 2001-06-01  Juergen Vigna  <jug@sad.it>
11926
11927         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11928         inside a LockingInset (is the update needed at all?).
11929
11930 2001-05-31  Juergen Vigna  <jug@sad.it>
11931
11932         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11933         here not the old one otherwise how should we compare it afterwards
11934         if it's the same!
11935
11936 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11937
11938         * lyxfont.C:
11939         * tabular.C:
11940         * tabular-old.C:
11941         * FontInfo.C: bring C functions into global namespace when
11942         necessary
11943
11944 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11945
11946         * LString.h: make sure config.h has been loaded before LString.h.
11947
11948         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11949         (one for each char read by EatLine!).
11950
11951         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11952         variables.
11953
11954 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11957         to the same as the par we break from
11958
11959 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11962
11963         * MenuBackend.C (expand): also create menu entries for wide
11964         versions of the floats.
11965
11966         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11967
11968         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11969
11970         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11971         frontends/Makefile.am
11972
11973         * text2.C: adjust
11974         * text.C: adjust
11975
11976
11977         * tabular.C (getTokenValue): add std::
11978
11979         * tabular-old.C (getTokenValue): add std::
11980         (getTokenValue): ditto
11981         (getTokenValue): ditto
11982
11983         * screen.C (ToggleSelection): adjust
11984
11985         * lyxtext.h: put selection cursors inside a Selection struct.
11986
11987         * lyxfunc.C (moveCursorUpdate): adjust
11988
11989         * lyxfont.C (latexWriteStartChanges): add std::
11990
11991         * lyxfind.C: adjust
11992
11993         * font.h: delete with(char const *, LyXFont const &)
11994
11995         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11996
11997         * FontInfo.C (getFontname): add std::
11998
11999         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12000         (workAreaButtonPress): adjust
12001         (tripleClick): adjust
12002         (update): adjust
12003         (moveCursorUpdate): adjust
12004         (Dispatch): adjust
12005
12006         * BufferView2.C (gotoInset): adjust
12007
12008 2001-05-30  Juergen Vigna  <jug@sad.it>
12009
12010         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12011         to check pspell I add this as default as I now have new pspell
12012         libraries and they seem to use this.
12013
12014 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * text2.C (CutSelection): make the cursor valid before the call to
12017         ClearSelection.
12018
12019 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12022         relied on 0 terminated strings and other horrors. Bug found due to
12023         the new assert in lyxstring!
12024
12025         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12026         KP_ keys.
12027
12028 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12031         to latinkeys.bind.
12032
12033         * lyxfunc.C (processKeySym): change method of getting to the
12034         self-insert char.
12035
12036         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12037         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12038         * BufferView_pimpl.[Ch]: here as private methods.
12039
12040 2001-05-28  Juergen Vigna  <jug@sad.it>
12041
12042         * text.C (SetHeightOfRow): added the update() call again as it is
12043         needed to initialize inset dimensions!
12044
12045 2001-05-16  Juergen Vigna  <jug@sad.it>
12046
12047         * text2.C (SetCharFont): Add new function with BufferView * and
12048         bool toggleall parameters for setting insets internal fonts.
12049         (SetFont): Freeze the undo as we may change fonts in Insets and
12050         all this change should be inside only one Undo!
12051
12052         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12053         setting font's in insets as for them we have the SetFont function!
12054
12055 2001-05-15  Juergen Vigna  <jug@sad.it>
12056
12057         * text2.C (ClearSelection): to be sure we REALLY don't have any
12058         selection anymore!
12059
12060         * tabular.C (TeXCellPreamble): fixed the left border problem for
12061         multicolumn cells.
12062
12063 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12066         dependancy file
12067
12068 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12071         LFUN_BREAKPARAGRAPH.
12072
12073         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12074         help test to "internal only", similar for LFUN_INSERT_URL
12075
12076         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12077         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12078         auto_region_delete and deadkeys.
12079
12080 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * LColor.h:
12083         * LColor.C: remove some dead entries, tidy a little
12084
12085 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12088         commented code.
12089         (Dispatch): implement LFUN_ESCAPE
12090
12091         * commandtags.h: add LFUN_ESCAPE
12092
12093         * LyXAction.C (init): add entry for LFUN_ESCAPE
12094
12095         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12096         Remove commented code.
12097         (insertNote): moved here
12098         (open_new_inset): moved here
12099
12100         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12101         BufferView_pimpl
12102
12103 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12104
12105         * kbmap.C (findbinding): clean it up and make it work correctly.
12106
12107         * lyx_main.C (init): do not pass argc and argv as parameters
12108
12109 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12110
12111         * buffer.C: fix path for OS/2 & Win32
12112
12113         * lyx_gui.C:
12114         * lyx_main:
12115         * lyx_main.C: Added os:: class.
12116
12117         * os2_defines.h: update
12118
12119 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12122         better by trying again with reduced state.
12123
12124 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12125
12126         * lyxrc.C (read): print error about invalid key sequence only when
12127         debugging (because not all latinX keysyms are known to some X
12128         servers)
12129
12130         * kbsequence.C (getiso): add a few std:: qualifiers
12131         (getiso): comment out extra return statement.
12132
12133 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12136         handling.
12137         (Dispatch): enhance the accent inset a bit. (not perfect)
12138
12139 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12142
12143 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12144
12145         * bufferlist.C (emergencyWrite): fix assert() call
12146
12147 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12148
12149         * text.C (InsertChar): Added trivial patch to only send the "you
12150         can not do multiple spaces this way" message once during a
12151         session.
12152
12153 2001-05-08  Baruch Even  <baruch@lyx.org>
12154
12155         * Makefile.am: Changed order of libraries to get LyX to link properly
12156         with the gnome frontend.
12157
12158 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12159
12160         * LaTeXFeatures.h: add a std:: qualifier
12161
12162 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * paragraph.C (String): use stringstream
12165
12166 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * paragraph.C (writeFile): remove footflag arg
12169
12170         * buffer.C (makeLaTeXFile): use stringstream
12171         (latexParagraphs): remove footnot gurba
12172
12173         * LaTeXFeatures.C (getPackages): use stringstream
12174         (getMacros): likewise
12175         (getTClassPreamble): likewise
12176         (getFloatDefinitions): new method
12177
12178         * paragraph.C (writeFile): reindent
12179         (Erase): reindent
12180
12181         * WorkArea.h: revert the xpos + etc changes.
12182
12183         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12184
12185         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12186
12187         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12188         (pasteSelection): likewise
12189         * text2.C (CreateUndo): likewise
12190
12191 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12192
12193         * minibuffer.C (peek_event): temporarily reduce the functionality
12194         of the minibuffer (to allow args on lfuns)
12195
12196         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12197         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12198
12199         * buffer.C (readInset): add compability reading of old float
12200         lists, add reading of new style float list.
12201         (readInset): avoid reevaluation of inscmd.getCmdName()
12202         (getLists): reindent
12203
12204         * MenuBackend.C (MenuItem): implement parsing of
12205         md_floatlistinsert and md_floatinsert.
12206         (expand::LastFiles): move initalizaton of iterators out of loop,
12207         avoid reevaluation.
12208         (expand::Documents): introduce typdedef vector<string> Strings,
12209         and use it.
12210         (expand::ExportFormats): introduce typedef vector<Format const *>
12211         Formats, and use it.
12212         (expand): implement FloatListInsert and FloatInsert.
12213
12214         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12215         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12216         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12217
12218         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12219         handling.
12220         (Dispatch::LFUN_FLOAT_LIST): implement
12221
12222 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12223
12224         * LaTeX.C (run): Fix problem with --export code.
12225
12226 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12227
12228         * BufferView.[Ch] (workarea): removed.
12229         (getClipboard) new method; wrapper for workarea()->getClipboard()
12230
12231         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12232         bug.
12233
12234         * WorkArea.h (width, height, xpos, ypos): These methods all
12235         returned the dimensions of the work_area sub-area of WorkArea,
12236         resulting in a position error if the WorkArea were resized. Now
12237         return the dimensions of the entire WorkArea.
12238
12239         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12240
12241 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * LaTeX.C (deplog): correct the syntax of regex reg1
12244
12245 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * undo.C: remove !NEW_INSETS cruft
12248
12249 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * text2.C: remove !NEW_INSETS cruft
12252
12253         * text.C: remove !NEW_INSETS cruft
12254
12255         * tabular.C: remove !NEW_INSETS cruft
12256
12257         * spellchecker.C: remove !NEW_INSETS cruft
12258
12259         * lyxtext.h: remove !NEW_INSETS cruft
12260
12261         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12262
12263         * lyxfunc.C: remove !NEW_INSETS cruft
12264
12265         * lyxfind.C: remove !NEW_INSETS cruft
12266
12267         * lyx_cb.C: remove !NEW_INSETS cruft
12268
12269         * figureForm.C: remove  !NEW_INSETS cruft
12270
12271         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12272
12273         * buffer.[Ch]: remove !NEW_INSETS cruft
12274
12275         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12276
12277         * CutAndPaste.C: remove !NEW_INSETS cruft
12278
12279         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12280
12281         * BufferView2.C: remove !NEW_INSETS cruft
12282
12283         * BufferView.h: remove !NEW_INSETS cruft
12284
12285 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * Lsstream.h: include LString.h before the sstream headers to
12288         fix problem with gcc 2.95.3 and lyxstring
12289
12290 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * lyx_main.C: add using directives when needed for C functions
12293         declared in std:: namespace.
12294
12295 2001-04-27  Juergen Vigna  <jug@sad.it>
12296
12297         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12298         (SetHeightOfRow): comment out the update call should not be needed!
12299
12300 2001-04-13  Juergen Vigna  <jug@sad.it>
12301
12302         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12303         (LyXTabular): tried to minimize operator= operations (and realized
12304         hopfully Lars wish).
12305
12306 2001-04-27  Juergen Vigna  <jug@sad.it>
12307
12308         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12309
12310 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12313
12314         * buffer.C (readInset): hack to make listof algorithm work
12315
12316         * BufferView_pimpl.C: hack to make listof algorithm work
12317
12318 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * LyXAction.C: removed all !NEW_INSETS cruft
12321         (init): moved lfun_item in method
12322
12323         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12324
12325 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12326
12327         * BufferView2.C (theLockingInset): white space.
12328
12329 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12330
12331         * minibuffer.C: include <iostream>
12332
12333         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12334
12335         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12336
12337         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12338
12339         * text.[Ch] (TransposeChars): new method
12340
12341 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * call message directly through LyXView instead of through LyXFunc
12344         * BufferView2.C: adjust
12345         * BufferView_pimpl.C: adjust
12346         * FontLoader.C: adjust
12347         * buffer.C: adjust
12348         * bufferview_funcs.C: adjust
12349         * converter.C: adjust
12350         * figureForm.C: adjust
12351         * importer.C: adjust
12352         * lyx_cb.C: adjust
12353         * lyx_gui_misc.C: adjust
12354         * lyxfunc.C: adjust
12355         * lyxvc.C: adjust
12356         * text2.C: adjust
12357         + more files in subdirs
12358
12359         * lyxparagraph.h (size): move up int file
12360         (GetLayout): ditto
12361
12362         * adjust all uses of Assert to lyx::Assert.
12363
12364         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12365         lyxfunctional in namespace lyx
12366         * layout.C (hasLayout): ditto
12367         (GetLayout): ditto
12368         (GetLayout): ditto
12369         (delete_layout): ditto
12370         (NumberOfClass): ditto
12371         * converter.C (GetFormat): ditto
12372         (GetNumber): ditto
12373         (Add): ditto
12374         (Delete): ditto
12375         (SetViewer): ditto
12376         * bufferlist.C (getFileNames): ditto
12377         (emergencyWriteAll): ditto
12378         (exists): ditto
12379         (getBuffer): ditto
12380         * MenuBackend.C (hasSubmenu): ditto
12381         (hasMenu): ditto
12382         (getMenu): ditto
12383         * BufferView_pimpl.C (getInsetByCode): ditto
12384
12385 2001-04-18  Juergen Vigna  <jug@sad.it>
12386
12387         * vspace.C (asLatexString): fixed the 100% problem.
12388
12389 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * lyxfunc.C (Dispatch):
12392         * minibuffer.C:
12393         * minibuffer.h: add a few std:: qualifiers
12394
12395 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * minibuffer.[Ch]: reimplement so that commands is initiated and
12398         run from lyxfunc, simplified som handling, and made the completion
12399         and history code for complete. wip.
12400
12401         * lyxfunc.C (processKeySym): call message
12402         (miniDispatch): new temporary method
12403         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12404         (LFUN_MESSAGE): implement
12405         (LFUN_MESSAGE_PUSH): implement
12406         (LFUN_MESSAGE_POP): implement
12407         (initMiniBuffer): the initial/defualt minibuffer message.
12408
12409         * lyxfont.[Ch]: inline some more getters
12410
12411         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12412
12413         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12414
12415         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12416         (AutoSave): use LFUN_MESSAGE
12417         (Reconfigure): ditto
12418
12419         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12420
12421         * figureForm.C: use LFUN_MESSAGE
12422
12423         * converter.C (runLaTeX): use LFUN_MESSAGE
12424
12425         * bufferview_funcs.C: use LFUN_MESSAGE
12426         (Melt): ditto
12427         (changeDepth): ditto
12428
12429         * bufferparams.h: use boost::
12430
12431         * bufferlist.h: inherit privately from noncopyable
12432
12433         * bufferlist.C (loadLyXFile): remove some commented code.
12434
12435         * buffer.C (runChktex): use LFUN_MESSAGE
12436
12437         * ShareContainer.h: inherit privately from noncopyable
12438
12439         * ParagraphParameters.[hC] (depth): inline it.
12440
12441         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12442         methods.
12443         (message): new method
12444         (messagePush): ditto
12445         (messagePop): ditto
12446         (show): init minibuffer
12447         (showState): direct call
12448
12449         * LaTeX.[Ch]: inherit privately from noncopyable
12450         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12451         instead of WriteStatus.
12452
12453         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12454
12455         * BufferView_pimpl.C (buffer): don't init minibuffer
12456         (workAreaButtonPress): use LFUN_MESSAGE
12457         (workAreaButtonRelease): ditto
12458         (savePosition): ditto
12459         (restorePosition): ditto
12460         (MenuInsertLyXFile): ditto
12461         (workAreaExpose): don't init minibuffer
12462         (update): remove commented code, simplify
12463
12464         * BufferView2.C (openStuff): use LFUN_MESSAGE
12465         (toggleFloat): ditto
12466         (menuUndo): ditto
12467         (menuRedo): ditto
12468         (copyEnvironment): ditto
12469         (pasteEnvironment): ditto
12470         (copy): ditto
12471         (cut): ditto
12472         (paste): ditto
12473         (gotoInset): ditto
12474         (updateInset): remove some commented code
12475
12476         * lastfiles.h: inherit privately from noncopyable
12477         * layout.h: ditto
12478         * lyx_gui.h: ditto
12479         * lyx_main.h: ditto
12480         * lyxlex.h: ditto
12481         * lyxlex_pimpl.h: ditto
12482
12483         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12484         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12485         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12486
12487         * LyXAction.h: inherit privately from noncopyable, add methods
12488         func_begin, func_end, returning iterators to the func map.
12489
12490         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12491         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12492         (func_begin): new method
12493         (func_end): new method
12494
12495         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12496         and not)
12497         (copySelection): ditto
12498         (pasteSelection): ditto
12499
12500         * BufferView.C: whitespace change
12501         * BufferView.h: inherit privately from noncopyable
12502
12503 2001-04-16  Allan Rae  <rae@lyx.org>
12504
12505         * tabular-old.C (l_getline):
12506         * spellchecker.C (sc_check_word):
12507         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12508         an unrecognised preprocessor directive.  So ensure they're wrapped.
12509
12510 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * src/exporter.C (Export): Give an error message when path to file
12513         contains spaces.
12514
12515 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12516
12517         * LaTeX.C (deplog): Always check that foundfile exists.
12518
12519 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * lyx_main.h:
12522         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12523
12524 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * tabular.[Ch] (getLabelList): implement new method
12527
12528         * minibuffer.h: comment ouf setTiimer
12529
12530         * minibuffer.C (ExecutingCB): constify res
12531         (peek_event): constify s
12532         (Set): constify ntext
12533         (Init): constify nicename
12534
12535         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12536
12537         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12538         (savePosition): use two params to Minibuffer::Set
12539         (restorePosition): ditto
12540
12541 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * lyx_main.C: include language.h
12544
12545         * Makefile.am (lyx_main.o): add language.h
12546
12547 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12548
12549         * exporter.C:
12550         * paragraph.C:
12551         * screen.C:
12552         * tabular.C:
12553         * CutAndPaste.C: include gettext.h
12554
12555         * lyxfont.h: remove old hack with ON and OFF.
12556
12557         * lyxparagraph.h:
12558         * lyxfont.h: do not include language.h...
12559
12560         * BufferView2.C:
12561         * LaTeXFeatures.C:
12562         * Painter.C:
12563         * bufferview_funcs.C:
12564         * font.C:
12565         * lyxfont.C:
12566         * text.C:
12567         * text2.C:
12568         * trans_mgr.C:
12569         * paragraph.C: ... but do it here instead
12570
12571 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12574
12575         * tabular.C: small reformat
12576
12577         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12578         NEW_INSETS version
12579         (GetChar): ditto
12580         (BreakParagraph): ditto
12581         (SetOnlyLayout): ditto
12582         (SetLayout): ditto
12583
12584         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12585         with one arg less.
12586
12587         * lastfiles.C: removed most using decl, add std:: where needed
12588
12589         * buffer.C: ws changes
12590
12591         * MenuBackend.C (class compare_format): put into anon namespace
12592         (expand): constify label, names, action, action2
12593         (expand):
12594
12595         * text.C (SingleWidth): constify font
12596         (IsBoundary): constify rtl2
12597         (GetVisibleRow): constify ww
12598
12599         * LaTeX.C (deplog): constify logfile
12600
12601         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12602         start_x, end_x
12603         (workAreaExpose): constify widthChange, heightChange
12604
12605         * lyxrow.C (par): moved
12606         (height): moved
12607         (next): moved
12608         * lyxrow.h: as inlines here
12609
12610         * lyxfont.h (shape): moved from lyxfont.C
12611         (emph): moved from lyxfont.C
12612
12613         * lyxfont.C (LyXFont): use initialization list for all
12614         constructors
12615         (shape): move to lyxfont.h as inline
12616         (emph): move to lyxfont.h as inline
12617
12618
12619 2001-04-04  Juergen Vigna  <jug@sad.it>
12620
12621         * vspace.C: had to include stdio.h for use of sscanf
12622
12623 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12624
12625         * BufferView.h:
12626         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12627         independent of xforms.
12628
12629 2001-04-02  Juergen Vigna  <jug@sad.it>
12630
12631         * spellchecker.C: fixed namespace placing!
12632
12633 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12634
12635         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12636         the LyXParagraph * is 0.
12637
12638 2001-03-29  Juergen Vigna  <jug@sad.it>
12639
12640         * vspace.C: added support for %, c%, p%, l%.
12641         (stringFromUnit): added helper function.
12642         (asLatexString): changed to give right results for the %-values.
12643
12644         * buffer.C: convert the widthp in a width%.
12645
12646 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12647
12648         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12649         figureForm.[Ch].
12650
12651         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12652         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12653
12654         * lyx_cb.[Ch]: see above.
12655
12656         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12657         form1.[Ch].
12658
12659         * form1.[Ch]:
12660         * lyx.[Ch]: replaced by figure_form.[Ch].
12661
12662         * lyx_gui.C:
12663         * lyx_gui_misc.C:
12664         * lyxfunc.C: changed headers associated with above changes.
12665
12666 2001-03-27  Juergen Vigna  <jug@sad.it>
12667
12668         * BufferView_pimpl.C: set the temporary cursor right!
12669
12670 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12671
12672         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12673
12674 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12675
12676         * LString.h: removed "using std::getline"!
12677
12678         * BufferView_pimpl.C (Dispatch): changes due to changes in
12679         InsetInclude::Params.
12680
12681         * buffer.C (tag_name): removed redundant break statements as they were
12682         producing lots of warnings with my compiler.
12683
12684 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12685
12686         * LString.h: add "using std::getline" when using the real <string>.
12687
12688 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12689
12690         * buffer.C: removed bitset usage.
12691         PAR_TAG moved to an anonymous name space.
12692         (tag_name): new funtion, also in the anonymous namespace.
12693         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12694         (makeDocBookFile): clean code. Completed transition from string arrays
12695         to string vectors.
12696         (SimpleDocBookOnePar): code clean.
12697
12698 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12699
12700         * tabular.C: add some comments.
12701
12702 2001-03-22  Juergen Vigna  <jug@sad.it>
12703
12704         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12705         compatibility read a bit and fixed bug with minipage in different
12706         depth.
12707
12708 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12709
12710         * buffer.C (pop_tag): removed.
12711         (push_tag): removed.
12712         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12713         array replaced with vector. Added support for CDATA sections.
12714         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12715         at any nest level.
12716         (makeDocBookFile): XML conformant declaration of CDATA section,
12717         fixed bug related to <emphasis> in the first paragraph char.
12718         (sgmlOpenTag): exclude empty tags.
12719         (sgmlCloseTag): ditto.
12720
12721         * buffer.h (pop_tag): removed.
12722         (push_tag): removed.
12723
12724 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12725
12726         * language.h (Languages): added size_type and size().
12727
12728 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12729
12730         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12731         response on compability reading of minipages. One probliem is that
12732         the old usage of minipages was «flertydig»
12733
12734         * several files here and in subdirs: don't use static at file
12735         scope use anon namespaces instead.
12736
12737 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12738
12739         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12740         LaTeX output. This is necessary for Literate document
12741         processing.
12742
12743 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12744
12745         * buffer.C: insert hfill when needed.
12746
12747         * tabular.C (l_getline): use string::erase, small whitespace change.
12748
12749         * BufferView_pimpl.C: try the anon namespace.
12750         * WorkArea.C: ditto
12751
12752 2001-03-16  Juergen Vigna  <jug@sad.it>
12753
12754         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12755         otherwise it won't open options-dialogs.
12756
12757         * buffer.C: honor pextraWidth(p) on converting minipages.
12758
12759         * tabular.C (l_getline): changed the functions to strip trailing \r.
12760
12761 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12762
12763         * BufferView_pimpl.C:
12764         * minibuffer..C: added "using SigC::slot" declaration.
12765
12766 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12767
12768         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12769
12770         * text2.C: ditto
12771
12772         * text.C: ditto
12773
12774         * paragraph.C: ditto
12775
12776         * lyxtext.h: NO_PEXTRA
12777
12778         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12779
12780         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12781         * ParameterStruct.h: ditto
12782         * ParagraphParameters.h: ditto
12783         * lyxparagraph.h: ditto
12784
12785 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12786
12787         * buffer.C: add compability for minipage alignment.
12788         (latexParagraphs): remove unwanted pextra check.
12789
12790         * several files: remove CXX_WORKING_NAMESPACES
12791
12792         * buffer.C (pop_tag): tie is in namespace boost
12793
12794         * BufferView.h: noncopyable is in namespace boost
12795         * lyxlex.h: ditto
12796         * lyx_main.h: ditto
12797         * lyx_gui.h: ditto
12798         * layout.h: ditto
12799         * lastfiles.h: ditto
12800         * bufferlist.h: ditto
12801         * ShareContainer.h: ditto
12802         * LyXView.h: ditto
12803         * LyXAction.h: ditto
12804         * LaTeX.h: ditto
12805
12806 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12807
12808         * Merging changes from BRANCH_MVC back into HEAD.
12809
12810         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12811
12812 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12813
12814         * BufferView_pimpl.C: change from intl.C
12815
12816         * combox.h:
12817         * combox.C:
12818         * Makefile.am: move combox.*
12819
12820         * form1.h:
12821         * form1.C:
12822         * lyx_gui.C:
12823         * intl.h:
12824         * intl.C: remove dialog (covered by prefs)
12825
12826 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * lyxfunc.C (Dispatch): removed redundant break statement.
12829
12830 2001-03-14  Juergen Vigna  <jug@sad.it>
12831
12832         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12833
12834 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12835
12836         * buffer.C: add hack to fix compability reading of minipages.
12837
12838 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12839
12840         * buffer.C (getLists): Cleanup.
12841
12842 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * lyxfont.C (update): don't honor toggleall on font size.
12845
12846 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * bmtable.c:
12849         * bmtable.h:
12850         * Makefile.am: moved to frontends/xforms/
12851
12852         * lyx_gui_misc.C:
12853         * lyxfunc.C:
12854         * BufferView_pimpl.C: changes for moved mathpanel
12855
12856 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * gettext.h: fix gettext_init() in --disable-nls
12859
12860 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12861
12862         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12863
12864 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * lyx.C:
12867         * lyx.h: strip external form
12868
12869 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * BufferView_pimpl.C: add comment, destroySplash()
12872
12873 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * BufferView_pimpl.C:
12876         * LyXAction.C:
12877         * buffer.C:
12878         * commandtags.h:
12879         * lyxfunc.C: use re-worked insetinclude
12880
12881 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12882
12883         * buffer.C: add using std::stringstream.
12884
12885         * lyx_cb.C: readd using std::ios.
12886
12887         * buffer.C: add using std::map.
12888
12889         * BufferView_pimpl.C: add using std::vector.
12890
12891         * ShareContainer.h: add std:: to swap.
12892
12893         * buffer.h: add some typedefs
12894         * buffer.C (getLists): use them
12895         (getLists): renamed from getTocList.
12896         add a counter for the different float types and use it in the
12897         generated string.
12898         (getLists): use the same counter for the NEW_INSETS and the "non"
12899         NEW_INSETS
12900
12901         * lyx_cb.h: remove unused items, includes, using etc.
12902
12903         * ShareContainer.h: remove some commented code, add more comments
12904         and "documentation".
12905
12906 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12907
12908         * buffer.C (getTocList): make the list also when NEW_INSETS is
12909         defined.
12910
12911         * buffer.h: remove TocType
12912
12913         * buffer.C (getTocList): change to return a map<string,
12914         vector<TocItem> >, implement for dynamic number of list.
12915
12916         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12917         * text2.C (PasteSelection): adjust
12918         * CutAndPaste.C (pasteSelection): adjust
12919
12920         * FloatList.C (FloatList): update from the new_insets branch.
12921         * Floating.[Ch]: ditto
12922         * LaTeXFeatures.C: ditto
12923         * buffer.C: ditto
12924         * lyxlex_pimpl.C: ditto
12925
12926         * paragraph.C (Last): remove when NEW_INSETS is defined.
12927
12928         * other file: changes because of the above.
12929
12930 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12931
12932         * lyxparagraph.h: rename next to next_, previous to previous_,
12933         make them private for NEW_INSETS. Rename Next() to next(),
12934         Previous() to previous().
12935
12936         * other files: changes because of the above.
12937
12938 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * BufferView.h:
12941         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12942         problem.
12943
12944 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * main.C (main): pass lyx_localedir to gettext_init().
12947
12948         * gettext.h: remove locale_init and gettext_init macros
12949
12950         * gettext.C (locale_init): new function
12951         (gettext_init): new function
12952
12953         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12954         setlocale().
12955
12956 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12957
12958         * Moved credits to frontends:
12959         * credits.[Ch]: removed
12960         * credits_form.[Ch]: removed
12961         * lyx_gui_misc.C: remove credits stuff
12962         * Makefile.am:
12963
12964 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12965
12966         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12967
12968         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12969         unneeded destructor.
12970
12971         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12972         a standalone pointer again.
12973
12974         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12975
12976 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * Makefile.am:
12979         * filedlg.h:
12980         * filedlg.C:
12981         * LyXAction.C:
12982         * ToolbarDefaults.C:
12983         * bufferlist.C:
12984         * commandtags.h:
12985         * form1.C:
12986         * form1.h:
12987         * lyx_cb.C:
12988         * lyx_cb.h:
12989         * lyxfunc.h:
12990         * lyxfunc.C:
12991         * BufferView_pimpl.C: use new file dialog in GUII
12992
12993         * lyx_cb.h:
12994         * lyx_cb.C: remove LayoutsCB to Toolbar
12995
12996 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * ShareContainer.h (get): add std:: qualifier
12999
13000 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * ShareContainer.h: define a proper ShareContainer::value_type
13003         type (and use typename to please compaq cxx)
13004
13005 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13006
13007         * lyxparagraph.h: move serveral local vars to
13008         ParameterStruct/ParagraphParameters., use ShareContainer in
13009         FontTable., make vars in FontTable private and add getter and
13010         setter.
13011
13012         * paragraph.C: changes because of the above.
13013
13014         * lyxfont.h: remove copy constructor and copy assignment. (the
13015         default ones is ok), move number inside FontBits. move inlines to
13016         lyxfont.C
13017
13018         * lyxfont.C: add number to initializaton of statics, move several
13019         inlines here. constify several local vars. some whitespace
13020         cleanup. Dont hide outerscope variables.
13021
13022         * Spacing.h: add two new constructors to match the set methods.
13023
13024         * ShareContainer.h: new file, will perhaps be moved to support
13025
13026         * ParameterStruct.h: new file
13027
13028         * ParagraphParameters.h: new file
13029
13030         * ParagraphParameters.C: new file
13031
13032         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13033         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13034
13035         * BufferView_pimpl.C: ParagraphParameter changes.
13036         * buffer.C: Likewise.
13037         * bufferview_funcs.C: Likewise.
13038         * text.C: Likewise.
13039         * text2.C: Likewise.
13040
13041 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13042
13043         * lyxfind.C (LyXReplace): do not redefine default argument in
13044         implementation.
13045         (IsStringInText): ditto
13046         (SearchForward): ditto
13047         (SearchBackward): ditto
13048
13049 2001-03-06  Juergen Vigna  <jug@sad.it>
13050
13051         * lyxfind.C (IsStringInText): put parentes around expressions.
13052
13053 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13054
13055         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13056
13057 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13060
13061         * stl_string_fwd.h: add comment
13062
13063         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13064
13065         * tabular.h:
13066         * tabular.C: remove unused DocBook methods
13067
13068         * intl.C:
13069         * language.C:
13070         * paragraph.C:
13071         * buffer.C:
13072         killed DO_USE_DEFAULT_LANGUAGE
13073
13074 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * lyx_gui.C: do not include language.h.
13077
13078         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13079         arguments in function implementation.
13080
13081 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13082
13083         * BufferView_pimpl.C: add <ctime>
13084
13085 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13086
13087         * BufferView_pimpl.C: add using std::find_if
13088
13089 2001-02-27  José Matos  <jamatos@fep.up.pt>
13090
13091         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13092         by OnlyPath.
13093
13094 2001-02-11  José Matos  <jamatos@fep.up.pt>
13095
13096         * buffer.C (makeDocBookFile): command styles now have a parameter as
13097         "title" by default.
13098
13099 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13100
13101         * layout_forms.[Ch]: removed
13102         * lyx_cb.[Ch]: out character
13103         * lyx_gui.C: out character
13104         * lyx_gui_misc.C: out character
13105         * bufferview_funcs.C: : out character,
13106         added toggleall as parameter in ToggleAndShow
13107
13108 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13109
13110         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13111
13112         * text2.C (SetCurrentFont): Disable number property at boundary.
13113
13114 2001-02-26  Juergen Vigna  <jug@sad.it>
13115
13116         * lyxfunc.C (getStatus): added a string argument override function so
13117         that this is correctly called from LyXFunc::Dispatch if it contains a
13118         do_not_use_argument which is used!
13119         (Dispatch): added check for "custom" export and call appropriate func.
13120
13121 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13122
13123         * lyxrc.C: Add language_command_local, language_use_babel and
13124         language_global_options.
13125
13126         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13127
13128         * buffer.C (makeLaTeXFile): Use language_use_babel and
13129         language_global_options.
13130
13131 2001-02-23  Juergen Vigna  <jug@sad.it>
13132
13133         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13134         which works with LyXText and putted it inside BufferView. Here now we
13135         only call for that part the BufferView::Dispatch() function.
13136
13137         * BufferView.C (Dispatch): added.
13138
13139         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13140         functions which needs to use a LyXText over from LyXFunc.
13141         (MenuInsertLyXFile): added
13142         (getInsetByCode): added
13143         (moveCursorUpdate): added
13144         (static TEXT): added
13145
13146 2001-02-22  Juergen Vigna  <jug@sad.it>
13147
13148         * BufferView_pimpl.C (update): call a status update to see if LyXText
13149         needs it.
13150
13151 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13152
13153         * vc-backend.C (revert): implement for CVS
13154         (getLog): implement for CVS
13155
13156 2001-02-20  Juergen Vigna  <jug@sad.it>
13157
13158         * text2.C (ClearSelection): added BufferView param for inset_owner call
13159
13160         * lyxfunc.C (TEXT): added this function and use it instead of
13161         directly owner->view()-text of getLyXText().
13162
13163 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13164
13165         * src/layout_forms.C: out preamble
13166         * src/layout_forms.h: out preamble
13167         * src/lyx_cb.C: out preamble
13168         * src/lyx_cb.h: out preamble
13169         * src/lyx_gui.C: out preamble
13170         * src/lyx_gui_misc.C: out preamble
13171         * src/lyxfunc.C: connect with guii preamble
13172
13173 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13174
13175         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13176
13177 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13178
13179         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13180         whether to run bibtex.
13181
13182 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13185
13186 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13187
13188         * Makefile.am (lyx_SOURCES): removed bibforms.h
13189
13190         * vspace.h: doxygen
13191
13192         * text.C (GetVisibleRow): make several local vars const
13193
13194         * tabular.C: small cleanup.
13195
13196         * lyxserver.C (callback): use compare instead of strncmp
13197
13198         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13199         inlines to after class or to paragraph.C
13200
13201         * lyxfont.h: remove friend operator!=
13202
13203         * converter.h: move friend bool operator< to non friend and after
13204         class def.
13205
13206         * combox.h: small cleanup
13207
13208         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13209         to inlines after class def.
13210
13211         * buffer.C (pop_tag): use string operations instead of strcmp
13212
13213         * bmtable.c: doxygen, small cleanup
13214
13215         * LaTeX.h: remove friend operator==
13216
13217 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13218
13219         * screen.C:
13220         * lyxrc.[Ch]:
13221         * lyxfunc.C:
13222         * lyxfont.[Ch]:
13223         * lyx_cb.C:
13224         * intl.[Ch]:
13225         * commandtags.h:
13226         * buffer.C:
13227         * WorkArea.[Ch]:
13228         * LyXAction.C:
13229         * BufferView_pimpl.C:
13230         * BufferView.[Ch]: remove cruft
13231
13232 2001-02-14  Juergen Vigna  <jug@sad.it>
13233
13234         * lyxfunc.C: removed #if 0 unused code
13235
13236         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13237
13238         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13239
13240         * text2.C (SetSelection): added a BufferView * parameter
13241
13242 2001-02-13  Juergen Vigna  <jug@sad.it>
13243
13244         * lyxfunc.C (Dispatch): fixed protected blank problem.
13245         * BufferView2.C (protectedBlank): added LyxText * parameter.
13246
13247         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13248         (AppendColumn): same as above for column_info.
13249
13250         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13251         (moveCursorUpdate): use a LyXText param for support of InsetText.
13252
13253         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13254         (tripleClick): ditto
13255
13256         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13257
13258         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13259
13260         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13261
13262         * text2.C (SetSelection): set correct update status if inset_owner
13263         (ToggleFree): ditto
13264
13265 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13266
13267         * tabular.C: remove some commented code.
13268
13269 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * BufferView_pimpl.C: call hideSplash()
13272
13273         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13274
13275         * include_form.h:
13276         * bibforms.h: remove
13277
13278         * lyxfunc.C:
13279         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13280           add LFUN_CHILD_CREATE
13281
13282         * counters.h: fix tiny typo
13283
13284         * lyx_cb.C:
13285         * lyx.h:
13286         * lyx_gui.C:
13287         * lyx.C: move splash to frontends/xforms/
13288
13289         * lyx_gui_misc.C: move Include and Bibform to frontends
13290
13291         * lyxvc.h: clarify comment
13292
13293         * vspace.C: tiny housekeeping
13294
13295 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13296
13297         * text.C (PrepareToPrint): RTL Fix.
13298
13299         * paragraph.C (GetUChar): New method.
13300         (String):  Use GetUChar.
13301
13302         * buffer.C (asciiParagraph): Use GetUChar.
13303
13304 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13307
13308 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * buffer.h:
13311         * buffer.C: rename to getLogName(), handle
13312           build log / latex log nicely
13313
13314 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13315
13316         * MenuBackend.C:
13317         * MenuBackend.h: remove support for reference menuitem type.
13318
13319 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * BufferView_pimpl.C: housekeeping
13322         * BufferView_pimpl.h:
13323         * LyXView.h:
13324         * Makefile.am:
13325         * Timeout.C:
13326         * Timeout.h:
13327         * minibuffer.h: move Timeout GUI-I
13328
13329 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13330
13331         * lyxrc.C (read): Update converters data-structures.
13332
13333 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13334
13335         * LaTeX.h (operator!=): add operator != for Aux_Info
13336
13337 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13340
13341         * LaTeXLog.C: deleted, useful code moved to Buffer
13342
13343         * buffer.h:
13344         * buffer.C: new function getLatexLogName()
13345
13346         * lyx_gui_misc.C:
13347         * lyx_gui.C:
13348         * lyxvc.C:
13349         * lyxvc.h:
13350         * lyxfunc.C: use frontends for LaTeX and VC logs
13351
13352 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * LaTeX.h: yet another std:: that Allan forgot.
13355
13356         * Variables.C (set): renamed from isset(), because this clashes
13357         with some HP-UX macros (grr).
13358
13359 2001-02-06  Allan Rae  <rae@lyx.org>
13360
13361         * LaTeX.h: Another bug fix.  Missing std:: this time.
13362
13363 2001-02-04  Allan Rae  <rae@lyx.org>
13364
13365         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13366         floats problem. I've left it commented out because it's not quite
13367         correct.  It should also test that the current object is a table or
13368         figure inset.  But I haven't gotten around to figuring out how to do
13369         that.  I *think* it'll be something like: "table" == inset.type()
13370
13371         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13372         bool.
13373
13374 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13377         all the citation/databases/styles in the auxilary file.
13378         (run): Rerun latex if there was a babel language error.
13379
13380 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13381
13382         * text.C (Backspace): Preserve the font when changing newline char
13383         with a space.
13384         (BreakParagraph): If the cursor is before a space, delete the space.
13385
13386         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13387
13388 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13389
13390         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13391         new argument (code).
13392         (ChangeCitationsIfUnique): New method.
13393
13394         * paragraph.C (GetPositionOfInset): Handle bibkey.
13395
13396 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * BufferView_pimpl.h: change type of Position::par_pos to
13399         LyXParagraph::size_type.
13400
13401 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13402
13403         * BufferView_pimpl.C (savePosition, restorePosition): Write
13404         messages to minibuffer.
13405
13406 2001-01-28  José Matos  <jamatos@fep.up.pt>
13407
13408         * buffer.C (makeDocBookFile): adds support for document language.
13409         A silly restriction on the name of LatexCommand types where removed.
13410         Added support for CDATA sections, allows to chars unescaped, used
13411         among others in code, to avoid escape < and >.
13412
13413 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13414
13415         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13416         saved positions instrad of a stack. Furthermore, a position is
13417         stored using paragraph id/paragraph position.
13418
13419         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13420         Remove LFUN_REF_BACK.
13421
13422 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13423
13424         * converter.C (dvipdfm_options): New method.
13425
13426 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13427
13428         * vspace.C (isValidLength): Fix for empty input string.
13429
13430 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * LyXAction.C (init): change description of LFUN_FIGURE to
13433         "Insert Graphics"
13434
13435 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13436
13437         * LaTeX.C: add using directive
13438
13439 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13440
13441         * MenuBackend.C (expand): Fix the sorting of the formats.
13442
13443 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * lyx_main.C: tiny error message fix
13446
13447 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13450         calling fl_initialize(). This fixes the problem with ',' as
13451         decimal separator in text files.
13452
13453 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13454
13455         * trans.C (process): Fix the keymap bug.
13456
13457 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13458
13459         * LaTeX.C (scanAuxFiles): New method. Provides support for
13460         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13461         (scanLogFile) Scan for "run BibTeX" messages.
13462
13463         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13464         OT1 font encoding. Also, load the aecompl package if the ae
13465         package is loaded.
13466
13467         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13468
13469 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * texrow.C (increasePos): turn two error messages into debug
13472         messages.
13473
13474 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * LaTeX.C (scanAux): Handle the \@input macro.
13477         (runBibTeX): Use scanAux().
13478
13479         * language.C (latex_options_): New field.
13480
13481         * LaTeXFeatures.C (getMacros): Add language macros.
13482
13483         * buffer.C (makeLaTeXFile): Small fix.
13484
13485 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13488
13489         * text2.C: add a using directive.
13490
13491 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * BufferView2.C:
13494         * lyx_gui_misc.h:
13495         * lyxfr1.C:
13496         * lyxfunc.C: kill LyXBell.
13497
13498 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13499
13500         * text.C (IsBoundary): Remove the error message
13501
13502         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13503
13504         * lyxrc.C (setDefaults): Correct initialization value for
13505         font_norm_type.
13506
13507 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13508
13509         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13510         gotoError().
13511
13512         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13513         and GotoNextNote().
13514
13515         * src/LyXAction.C: Added reference-next.
13516
13517         * text.C (InsertChar): Use contains instead of strchr.
13518
13519         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13520
13521 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13522
13523         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13524         alignment commands (when needed).
13525
13526         * text.C (InsertChar): Add ':' to number separator chars.