]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
lots of small stuff
[lyx.git] / src / ChangeLog
1
2 2003-10-28  André Pönitz  <poenitz@gmx.net>
3
4         * lyxtext.h:
5         * metricsinfo.C:
6         * paragraph_funcs.C:
7         * rowpainter.C:
8         * text.C:
9         * text2.C: general cleanup (lots of small stuff)
10
11 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
12
13         * text2.C (cursorEnd): simple fix to the "end key goes to one
14         before the end on last row" bug
15
16 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
17
18         * text.C (backspace): fix the "zombie characters"
19
20 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
21
22         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
23
24 2003-10-27  André Pönitz  <poenitz@gmx.net>
25
26         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
27
28         * factory.C: handle new InsetPagebreak, InsetLine
29
30         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
31         and move handling into new InsetPagebreak, InsetLine
32
33         * BufferView_pimpl.C:
34         * LyXAction.C:
35         * ParagraphParameters.C:
36         * ParameterStruct.h:
37         * lyxfunc.C:
38         * lyxtext.h:
39         * paragraph.C:
40         * paragraph.h:
41         * paragraph_funcs.C:
42         * paragraph_pimpl.C:
43         * rowpainter.C:
44         * text.C:
45         * text2.C:
46         * text3.C: adjust
47
48 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
49
50         * text.C: 
51         * lyxrow_funcs.[Ch]: 
52         * Bidi.C: 
53         * paragraph.C: 
54         * lyxtext.h: 
55         * rowpainter.C: 
56         * text2.C: 
57         * text3.C: remove lastPos uses in favour of Row::endpos
58
59 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
60
61         * undo.C (performUndoOrRedo): fix two crashes by setting a
62         cursor by hand and reordering some calls. Use bv->lockInset instead
63         of inset->edit because the latter loses cursor information
64
65 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
66
67         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested 
68         by Martin
69         (rowBreakPoint): fix width. change point to point + 1. 
70         Add a missing check.
71
72 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
73
74         * MenuBackend.C:
75         * lyxfunc.C: fix (at least partly) the problems
76         with the Nav menu and headers inside branch insets
77         reported by Kayvan
78
79 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
80
81         * paragraph.C (getChar): add strong asserts
82
83         * lyxrow_funcs.C (lastPos): remove hideous hack
84
85         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
86         (fill): adjust to that (avoid an infinite loop)
87
88 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
89
90         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
91
92 2003-10-23  André Pönitz  <poenitz@gmx.net>
93         
94         * RowList_fwd.h: change list<> to vector<> to gain speed
95         after suggestion from Alfredo
96
97 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
98
99         * lyxtext.h: move the bidi stuff from here...
100         * text.C: and here
101         * text2.C: and here
102         * Bidi.[Ch]: ... to here
103
104 2003-10-23  André Pönitz  <poenitz@gmx.net>
105
106         * lyxtext.h:
107         * text.C (isLastRow, isFirstRow): new functions
108
109         * paragraph.h: new width cache member
110
111         * rowpainter.C: replace RowList::iterator with Row & where possible
112
113         * lyxfunc.C: replace several view()->text with a single call
114
115         * toc.C: fix 'unused' warning
116
117 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
118
119         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
120         when woring with stream::pos_type
121         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
122
123 2003-10-22  André Pönitz  <poenitz@gmx.net>
124
125         * lyxtext.h:
126         * text.C: use Row & instead of RowList::iterator
127
128         * lyxrow.h: rename end() to endpos()
129
130         * rowpainter.C:
131         * text.C:
132         * text2.C: adjust
133
134 2003-10-22  Angus Leeming  <leeming@lyx.org>
135
136         * buffer.[Ch] (fully_loaded): new member function, returning true
137         only when the file has been loaded fully.
138         Used to prevent the premature generation of previews and by the
139         citation inset to prevent computation of the natbib-style label.
140
141         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
142         templates are all set up.
143
144         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
145
146 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
147
148         * text.C: fixed an "oops" in the "is a bit silly"
149         bug fix
150
151 2003-10-21  André Pönitz  <poenitz@gmx.net>
152
153         * FuncStatus.[Ch]: small stuff, whitespace
154
155         * lyxfont.[Ch]: operator<<() for debug reasons
156
157         * lyxfunc.C:
158         * lyxrow_funcs.C:
159         * lyxtext.h: whitespace, spelling
160
161         * paragraph.C: naming of variables
162
163         * text.C:
164         * text2.C: small stuff
165
166
167 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
168
169         * text.C: (1) finish off the inset display() work;
170         (2) fix the "is a bit silly" bug (accessing char
171         past end of par).
172
173 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * text.C: re-introduce display() for insets, fixing the
176         various bugs (stretch of line above, math inset
177         positioning, ...)
178
179 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * text.C (rightMargin): remove spurious semicolon
182
183         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
184         1415)
185
186 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * text3.C: fix one crash due to wrong cursor def
189
190 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
191
192         * vc-backend.C (scanMaster): make the regex static
193
194         * LaTeX.C (scanAuxFile): make the regexs static
195
196         * text3.C (doInsertInset, dispatch, dispatch):
197         * text2.C (cursorUp, cursorDown):
198         * text.C (selectNextWordToSpellcheck):
199         * BufferView_pimpl.C (dispatch):
200         * lyxfunc.C (dispatch):  localDispatch -> dispatch
201
202 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * lyxsocket.C: include <cerrno>
205
206 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
207
208         * lyxfunc.C (dispatch): remove textcache stuff
209
210         * bufferlist.C (release): remove textcache stuff
211         (closeAll): ditto
212
213         * TextCache.C: delete file
214         * TextCache.h: delete file
215
216         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
217
218         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
219         delete of the bv_->text.
220         (resizeCurrentBuffer): remove texcache stuff
221         (workAreaResize): ditto
222
223 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
224
225         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
226         action.
227
228 2003-10-16  André Pönitz  <poenitz@gmx.net>
229
230         * lyxrow.[Ch]:
231         * paragraph.h:
232         * rowpainter.C:
233         * text.C:
234         * text2.C:
235         * text3.C: speed up by storing y positions per paragraph plus per-row
236         offset instead of having a 'full' y position in the row.
237
238 2003-10-15  André Pönitz  <poenitz@gmx.net>
239
240         * iterators.[Ch]:
241         * iterators.[Ch]:
242         * undo.[Ch]: make undo aware of inner insets
243
244 2003-10-14  Angus Leeming  <leeming@lyx.org>
245
246         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
247         static member functions LyX::ref() and LyX::cref.
248         (lastfiles): new accessor functions for the new lastfiles_ member var.
249         (addLyXView, views_): add a new LyXView to the list of views_.
250         (updateInset): loop over all LyXViews to call their own updateInset
251         member function, returning a pointer to the Buffer owning the inset.
252
253         * BufferView_pimpl.C (loadLyXFile):
254         * MenuBackend.C (expandLastfiles):
255         * bufferlist.C (MenuWrite, QuitLyX):
256         lastfiles is no longer a global variable.
257         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
258
259         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
260         static function. Access through LyX::cref().emergencyCleanup().
261
262 2003-10-14  André Pönitz  <poenitz@gmx.net>
263
264         * iterators.[Ch]: new direct access to innermost LyXText and Inset
265
266         * undo.[Ch]: restoring part of 'undo in insets'
267
268         * Makefile.am:
269         * undo_funcs.[Ch]: merge with undo.[Ch]
270
271         * tabular.C: small cleansing stuff
272
273 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
274
275         * paragraph_funcs.C (readParToken): report unknown insets as error
276         boxes. Use the outer paragraph as location (also for unknown
277         tokens).
278
279         * factory.C (readInset): do not abort on reading an unknown inset.
280         Eat it and return 0.
281
282 2003-10-13  Angus Leeming  <leeming@lyx.org>
283
284         * lyx_main.C (LyX): remove call to setDisplayTranslator().
285
286         * lyxrc.C: displayTranslator is now a function,
287         declared in GraphicsTypes.h.
288
289 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
290
291         * format.C: new placeholder $$a to pass the socket address.
292
293         * bufferlist.[Ch]: new function getBufferFromTmp.
294
295         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
296           files in the temporary dir.
297
298 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
299
300         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
301
302         * Makefile.am: add lyxsocket.[Ch].
303
304         * lyx_main.C (error_handler): handle SIGPIPE.
305
306 2003-10-13  André Pönitz  <poenitz@gmx.net>
307
308         * BufferView_pimpl.C:
309         * lyxtext.h:
310         * text.C:
311         * text2.C:
312         * text3.C:
313         * undo_funcs.[Ch]: use paroffset_type instead of
314           ParagraphList::iterators to prevent multiple conversion
315           (and get a more robust interface)
316
317 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
318
319         * lyxfunc.C (dispatch): RESULT -> dispatch_result
320         * lyxtext.h: ditto
321         * text3.C (dispatch): ditto
322
323 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
324
325         * LaTeX.C (handleFoundFile): move the static to smaller scope,
326         move the onlyfile, use onlyfile instead of foundfile in a couple
327         of places.
328
329         * DepTable.C (update): flush the error stream a bit more
330
331 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
332
333         * lyxserver.C (callback): adjust
334
335         * lyxfunc.C (getStatus): add a missing brace in commented code
336         (ensureBufferClean): reindent
337         (dispatch): delete version taking a string
338
339 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
340
341         * LaTeX.C (deplog): move found file handlig from here...
342         (handleFoundFile): .. to new function here.
343         (deplog): make sure to discover several files mentioned on the
344         same log line.
345
346 2003-10-10  André Pönitz  <poenitz@gmx.net>
347
348         * lyxfunc.C:
349         * lyxtext.h:
350         * tabular.C:
351         * text.C:
352         * text2.C:
353         * text3.C: fix some of the tabular crashes
354
355 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
356
357         * MenuBackend.C (binding): put debug message into Debug::KBMAP
358
359         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
360
361 2003-10-09  André Pönitz  <poenitz@gmx.net>
362
363         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
364
365         * BufferView.C:
366         * BufferView_pimpl.C:
367         * bufferview_funcs.C:
368         * lyx_cb.C:
369         * lyxcursor.C:
370         * lyxfind.C:
371         * lyxfunc.C:
372         * lyxtext.h:
373         * text.C:
374         * text2.C:
375         * text3.C:
376         * text_funcs.[Ch]:
377         * textcursor.[Ch]:
378         * undo_funcs.C: adjust
379
380 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
381
382         * text2.C (incrementItemDepth): new function, use a backtracking
383         algorithm to discover the correct item depth.
384         (resetEnumCounterIfNeeded): new function, use a backtracking
385         algorithm to discover if counter reset is needed.
386         (setCounter): use them. Simplify a bit. Add different labels for
387         different item depths for itemize.
388
389         * paragraph.C (Paragraph): remove initialization of enumdepth
390         (operator=): ditto
391
392         * paragraph.h: get rid of enumdepth, and use itemdepth both for
393         enumerate and itemize. Change the type of itemdepth to signed char.
394
395 2003-10-08  André Pönitz  <poenitz@gmx.net>
396
397         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
398           thing assignable.
399         * text.C:
400         * text2.C: adjust
401
402         * tabular.[Ch]: fix crash after 'row-insert'
403
404 2003-10-08  Angus Leeming  <leeming@lyx.org>
405
406         Fix doxygen warnings.
407
408         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
409         Remove CutAndPaste:: prefix from header file declaration.
410
411         * LColor.h (fill): remove LColor:: prefix from declaration.
412
413         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
414         use lyx::depth_type rather than Paragraph::depth_type so that
415         header file and .C file match.
416
417         * converter.h (intToFormat): remove Converters:: prefix from declaration.
418
419         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
420         * aspell.C: \file aspell_local.C -> \file aspell.C
421         * gettext.C: \file gettext.C -> \file src/gettext.C
422         * gettext.h: \file gettext.h -> \file src/gettext.h
423         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
424         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
425         * text.C: \file text.C -> \file src/text.C
426
427         * toc.C: move comment so that doxygen is not confused.
428
429 2003-10-07  Angus Leeming  <leeming@lyx.org>
430
431         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
432
433 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434
435         * aspell.C:
436         * aspell_local.h: add forgotten std::string's.
437
438 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
439
440         * LaTeXFeatures.C:
441         * LyXAction.C:
442         * factory.C:
443         * lfuns.h:
444         * lyxfunc.C:
445         * text3.C: The Box patch. Fancybox support, minipage, parbox
446
447 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
448
449         * CutAndPaste.h:
450         * DepTable.h:
451         * FloatList.h:
452         * LaTeXFeatures.h:
453         * ParagraphParameters.h:
454         * TextCache.h:
455         * Thesaurus.h:
456         * bufferlist.h:
457         * exporter.h:
458         * importer.h:
459         * lastfiles.h:
460         * lyxfind.h:
461         * lyxfont.h:
462         * lyxlex.h:
463         * lyxtextclasslist.h:
464         * messages.h:
465         * paragraph.h:
466         * paragraph_pimpl.C:
467         * textcursor.h: add <string> and other small fixes to make Lars'
468         std::string patch compile with STLport.
469
470 2003-10-06  Angus Leeming  <leeming@lyx.org>
471
472         * LColor.h: Add missing #include <string>.
473
474 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
475
476         * All most all file in all subdirs: Make <string> be the prefered
477         way of getting to std::string, add using declarations.
478
479 2003-10-06  André Pönitz  <poenitz@gmx.net>
480
481         * metricsinfo.C: initialize LyXFont before changing attribute.
482         (fixes the 'math in \emph is upright' bug)
483
484 2003-10-06  André Pönitz  <poenitz@gmx.net>
485
486         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
487
488 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * graph.C:
491         * paragraph_pimpl.C: Small fixes to build using STLport
492
493 2003-10-02  André Pönitz  <poenitz@gmx.net>
494
495         * lyxfunc.C:
496         * text3.C: move handling of LFUN_DEPTH *; fix #1360
497
498 2003-10-01  André Pönitz  <poenitz@gmx.net>
499
500         * factory.C: assert early
501
502 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
503
504         * lyx_main.C: remove the global debug object
505
506         * debug.h: adjust for new debugstream
507
508         * debug.C: adjust for new debugstream and keep the global debug
509         object here.
510
511 2003-09-22  Angus Leeming  <leeming@lyx.org>
512
513         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
514         of g++ which otherwise complain that the scoped_ptr destructor can't delete
515         an incomplete class LyXFont.
516
517 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * factory.C: bug fix in branches
520
521 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
522
523         * lyxfunc.C (processKeySym): adjust
524         (dispatch): adjust
525         (dispatch): change arg name from ev to func, adjust
526         (sendDispatchMessage): ditto
527
528         * lyx_main.C (defaultKeyBindings): adjust keybindings
529         (deadKeyBindings): ditto
530
531         * kbsequence.C (addkey): return a FuncRequest
532
533         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
534
535         * kbmap.C (bind): take a FuncRequest as arg, adjust
536         (read): adjust
537         (lookup): adjust
538         (defkey): change to take a FuncRequest as arg, adjust
539         (findbinding): take a FuncRequest as arg, adjust.
540
541         * funcrequest.h (operator=): added
542
543         * funcrequest.C (FuncRequest): default kb_action changed from
544         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
545
546         * buffer.C (dispatch): simplify
547         (dispatch): adjust to take a FuncRequest as arg, adjust
548
549         * boost.C (assertion_failed): change assertion message slightly
550
551         * ToolbarBackend.C (read): simplify
552
553         * MenuBackend.C (binding): adjust call to findbinding, add a
554         message if no binding is found.
555         (read): simplify
556         (expandToc): correct by adding a empty FuncRequest
557
558         * LyXAction.C: include <boost/assert.hpp>
559         (isPseudoAction): delete function
560         (LookupFunc): change name to...
561         (lookupFunc): this. change return type to FuncRequest.
562         (getActionName): take kb_action as arg, simplify
563         (funcHasFlag): add an assert, simplify.
564
565 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
566
567         * toc.C (action): return a FuncRequest, simplify
568
569         * lyxfunc.C (processKeySym): adjust
570         (getStatus): delete version that takes an int.
571         (getStatus): adjust
572         (dispatch): delete version that takes action as int
573         (dispatch): adjust
574         (sendDispatchMessage): simplify and adjust
575
576         * funcrequest.C (getArg): take unsigned int as arg
577
578         * ToolbarBackend.C (read): adjust
579         (add): delete version that takes func as a string.
580         (getIton): take a FuncRequest as arg
581
582         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
583         action.
584
585         * MenuBackend.C (MenuItem): add a new construct that only takes a
586         Kind, simplify the constructor use for submenus.
587         (add): adjust
588         (expandLastfiles): adjust
589         (expandDocuments): adjust
590         (expandFormats): adjust
591         (expandFloatListInsert): adjust
592         (expandFloatInsert): adjust
593         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
594
595         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
596         Remove class variables lyx_pseudo_map and lyx_arg_map
597
598         * LyXAction.C (searchActionArg): delete function
599         (getPseudoAction): delete function
600         (retrieveActionArg): delete function
601         (LookupFunc): make it return kb_action, simplify.
602         (getActionName): simplify
603
604         * factory.C (createInset): fix new bug
605
606 2003-09-19  Angus Leeming  <leeming@lyx.org>
607
608         * CutAndPaste.C (pasteSelection): remove fudge used to set the
609         masterFilename_ parameter in the include inset.
610
611         * factory.C (createInset): changes due to the changes to InsetInclude.
612
613 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
614
615         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
616
617 2003-09-18  Angus Leeming  <leeming@lyx.org>
618
619         * buffer.C:
620         * BufferView.C: pass the buffer when calling Inset::getLabelList,
621         Inset::fillWithBibKeys.
622         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
623
624 2003-09-18  Angus Leeming  <leeming@lyx.org>
625
626         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
627         variables.
628         (ctor): pass and store a 'Buffer const &'
629         (buffer): new member function.
630
631         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
632         '*this' to the LaTeXFeatures ctor.
633
634 2003-09-18  Angus Leeming  <leeming@lyx.org>
635
636         * LColor.h:
637         * lyxfont.C:
638         * lyxfont.h:
639         * lyxtext.h:
640         * text.C: rename EnumLColor as LColor_color.
641
642 2003-09-18  Angus Leeming  <leeming@lyx.org>
643
644         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
645         remove #include "insets/insetbase.h" from cursor.h.
646
647 2003-09-18  Angus Leeming  <leeming@lyx.org>
648
649         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
650         InsetOld_code to remove #include "inset.h".
651
652         * iterators.C: add #include "insets/inset.h"
653
654 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
655
656         * BufferView.C: remove more locking stuff that apparently doesn't
657         do anything sensible.
658
659 2003-09-16  André Pönitz  <poenitz@gmx.net>
660
661         * paragraph.[Ch]:
662         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
663           performance boost.
664
665 2003-09-16  Angus Leeming  <leeming@lyx.org>
666
667         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
668
669         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
670         arg/return type.
671
672         * paragraph.h: remove #include "lyxfont.h". Forward declare
673         LyXFont_size.
674
675 2003-09-16  Angus Leeming  <leeming@lyx.org>
676
677         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
678         of support/textutils.h.
679         (isWord): move the contents of support/textutils.h's IsWordChar here.
680
681         * buffer.C:
682         * lyxfind.C:
683         * rowpainter.C:
684         * text.C:
685         * text2.C: add #include "paragraph.h".
686
687         * rowpainter.C:
688         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
689
690 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
691
692         * main.C:
693         * lyx_main.C:
694         * lyx_cb.C:
695         * buffer.C:
696         * LaTeX.C: use namespace alias for lyx::support::os
697
698 2003-09-16  Angus Leeming  <leeming@lyx.org>
699
700         * bufferparams.C:
701         * bufferview_funcs.C:
702         * factory.C:
703         * lyxfunc.C:
704         * paragraph_pimpl.C:
705         * rowpainter.C:
706         * text.C: add #include "LColor.h".
707
708 2003-09-16  Angus Leeming  <leeming@lyx.org>
709
710         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
711         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
712         return LyXFont &.
713         Store the FontBits::color variable as an int rather than as an
714         LColor::colorso that we can move LColor.h out of the lyxfont.h header
715         file.
716
717         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
718         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
719         string calls together.
720
721         * lyxrc.C: add #include "LColor.h".
722
723 2003-09-15  Angus Leeming  <leeming@lyx.org>
724
725         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
726         a cow_ptr.
727
728 2003-09-15  Angus Leeming  <leeming@lyx.org>
729
730         * LColor.h: add an EnumLColor wrapper for LColor::color.
731
732         * lyxfont.[Ch] (color, setColor, realColor):
733         * lyxtext.h, text.C (backgroundColor):
734         pass EnumLColor args to/from the functions, rather than LColor::color
735         ones.
736
737         * lyxfont.h:
738         * lyxtext.h: forward declare EnumLColor.
739
740         * lyx_main.C: add #include "LColor.h".
741
742 2003-09-15  Angus Leeming  <leeming@lyx.org>
743
744         * .cvsignore: add lyx-gtk.
745
746 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
747
748         * Chktex.C
749         * LaTeX.C
750         * LaTeXFeatures.C
751         * ParagraphParameters.C
752         * Spacing.C
753         * buffer.C
754         * bufferparams.C
755         * bufferview_funcs.C
756         * chset.C
757         * counters.C
758         * funcrequest.C
759         * lyxfont.C
760         * lyxgluelength.C
761         * lyxlength.C
762         * paragraph.C
763         * paragraph_funcs.C
764         * text3.C
765         * vc-backend.C: remove usage of STRCONV
766
767 2003-09-15  Angus Leeming  <leeming@lyx.org>
768
769         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
770         explicitly define the color passed to the painter.
771
772 2003-09-15  Angus Leeming  <leeming@lyx.org>
773
774         * bufferparams.C (BufferParams): reorder member initializers to avoid
775         compiler warning.
776
777 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
778
779         * CutAndPaste.C (pasteSelection): remove an outdated #warning
780         * text.C (updateRowPositions): remove an unusual nop
781
782 2003-09-12  André Pönitz  <poenitz@gmx.net>
783
784         * BufferView_pimpl.C:
785         * Bullet.C:
786         * layout.h:
787         * lyxfunc.C:
788         * lyxlayout.[Ch]:
789         * lyxtextclass.C:
790         * rowpainter.C:
791         * text.C:
792         * text2.C:
793         * Counters.[Ch]: finish the 'automatic counters' job
794
795 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
796
797         * aspell.C: include <boost/assert.cpp> (compile fix)
798
799 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
800
801         * boost.C (assertion_failed): use lyx::support::abort instead of
802         assert.
803
804 2003-09-10  Angus Leeming  <leeming@lyx.org>
805
806         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
807         with their _fwd progeny.
808
809 2003-09-09  Angus Leeming  <leeming@lyx.org>
810
811         134 files throughtout the source tree: replace 'using namespace abc;'
812         directives with the appropriate 'using abc::xyz;' declarations.
813
814 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
815
816         * boost.C (emergencyCleanup): moved here from LAssert.c
817         (assertion_failed): new function, called by BOOST_ASSERT
818
819         * several files: change Assert to BOOST_ASSERT
820
821 2003-09-09  Angus Leeming  <leeming@lyx.org>
822
823         * buffer.[Ch]: Add an Impl class and move Buffer's member
824         variables into it. As a result move several header files out of
825         buffer.h.
826
827         Add header files to lots of .C files all over the tree as a result.
828
829 2003-09-09  Angus Leeming  <leeming@lyx.org>
830
831         * buffer.[Ch]: make Buffer's member variables private. Add
832         accessor functions.
833
834         Lots of changes all over the tree as a result.
835
836 2003-09-08  Angus Leeming  <leeming@lyx.org>
837
838         * graph.C: #include <config.h>.
839
840 2003-09-08  Angus Leeming  <leeming@lyx.org>
841
842         * BranchList.C:
843         * BufferView.C:
844         * BufferView_pimpl.C:
845         * CutAndPaste.C:
846         * DepTable.C:
847         * LaTeX.C:
848         * LaTeXFeatures.C:
849         * LyXAction.C:
850         * MenuBackend.C:
851         * TextCache.C:
852         * aspell.C:
853         * buffer.C:
854         * bufferlist.C:
855         * changes.C:
856         * chset.C:
857         * converter.C:
858         * counters.C:
859         * debug.C:
860         * graph.C:
861         * ispell.C:
862         * lyx_cb.C:
863         * lyxfind.C:
864         * lyxfunc.C:
865         * lyxlex_pimpl.C:
866         * lyxrc.C:
867         * lyxrow.C:
868         * paragraph.C:
869         * rowpainter.C:
870         * texrow.C:
871         * text.C:
872         * text2.C:
873         * toc.C: remove redundant using directives.
874
875 2003-09-07  Angus Leeming  <leeming@lyx.org>
876
877         * LaTeXFeatures.h: remove #include "support/types.h".
878         * ToolbarBackend.h: remove #include <algorithm>.
879         * changes.h: remove #include <ctime>.
880         * debug.h: remove #include <iosfwd>.
881         * graph.h: remove #include "support/std_string.h".
882         * lyx_main.h: remove #include <csignal>.
883         * lyxlex_pimpl.h: remove #include <fstream>.
884         * sgml.h: remove #include <algorithm>, <utility>.
885         * toc.h: remove #include "support/std_ostream.h".
886         Add #include <iosfwd>.
887
888 2003-09-07  Angus Leeming  <leeming@lyx.org>
889
890         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
891
892         * converter.h: forward declare LatexRunParams.
893         * encoding.h: remove #include "lyxrc.h".
894         * lyxtext.h: remove #include "LColor.h".
895         * lyxtextclass.h: remove #include "support/types.h".
896         * trans.h: remove #include "tex-accent.h".
897         * trans_mgr.h: remove #include "tex-accent.h".
898         * insets/inset.h: remove #include "support/types.h", <vector>.
899         * insets/insetcollapsable.h: remove #include "LColor.h".
900         * insets/insetinclude.h: remove #include "dimension.h".
901         * insets/insetlatexaccent.h: remove #include "dimension.h".
902         * insets/insetoptarg.h:: remove #include "insettext.h".
903         * insets/insettext.h: remove #include "dimension.h",
904         <boost/shared_ptr.hpp>
905
906         * insets/renderers.h: add #include "dimension.h".
907         * insets/updatableinset.h: add #include "support/types.h".
908
909         * many .C files: Associated changes.
910
911 2003-09-06  Angus Leeming  <leeming@lyx.org>
912
913         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
914         one, inside testInvariant.
915
916         * PrinterParams.C: new file.
917         * PrinterParams.[Ch]: move the function bodies out of line.
918
919 2003-09-06  Angus Leeming  <leeming@lyx.org>
920
921         * ParagraphParameters.h: forward declare ParameterStruct rather than
922         including its header file.
923         (depth): moved out-of-line.
924
925 2003-09-06  Angus Leeming  <leeming@lyx.org>
926
927         * BufferView_pimpl.h:
928         * kbmap.h:
929         * kbsequence.h:
930         * lyxfunc.h: forward declare LyXKeySym rather than
931         #include "frontends/LyXKeySym.h".
932
933         * BufferView_pimpl.C:
934         * kbmap.C:
935         * kbsequence.C:
936         * lyxfunc.C: associated changes.
937
938 2003-09-06  Angus Leeming  <leeming@lyx.org>
939
940         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
941         As a result, can remove the #include "insets/inset.h" from BufferView.h
942
943 2003-09-06  Angus Leeming  <leeming@lyx.org>
944
945         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
946         As a result, can remove the #include "insets/inset.h" from BufferView.h
947
948 2003-09-06  Angus Leeming  <leeming@lyx.org>
949
950         * buffer_funcs.C:
951         * buffer.h:
952         * bufferlist.C:
953         * BufferView.C:
954         * bufferview_funcs.C:
955         * BufferView_pimpl.C:
956         * CutAndPaste.C:
957         * lyx_cb.C:
958         * lyxfunc.C:
959         * paragraph.h:
960         * ParagraphParameters.C:
961         * tabular.C:
962         * text3.C:
963         * toc.C:
964         * undo_funcs.C:
965         * frontends/controllers/ControlDocument.C:
966         * insets/insetcaption.C: rearrange the #includes into some sort of
967         coherent order.
968
969         * buffer.h: remove #includes ErrorList.h, undo.h
970
971 2003-09-06  Angus Leeming  <leeming@lyx.org>
972
973         * support/types.h: add a 'depth_type' typedef, used to store the
974         nesting depth of a paragraph.
975
976         * paragraph.h:
977         * ParameterStruct.h: use this lyx::depth_type typedef rather than
978         defining explicitly.
979
980         * buffer.h:
981         * paragraph_funcs.h:
982         * ParagraphParameters.h:
983         * sgml.h: use lyx::depth_type rather than Paragraph or
984         ParameterStruct's depth_type.
985
986         * buffer.h
987         * paragraph_funcs.h: no need to #include paragraph.h anymore.
988
989         * BufferView.C:
990         * BufferView_pimpl.C:
991         * CutAndPaste.C:
992         * ParagraphParameters.C:
993         * buffer_funcs.C:
994         * bufferlist.C:
995         * bufferview_funcs.C:
996         * lyx_cb.C:
997         * lyxfunc.C:
998         * tabular.C:
999         * text3.C:
1000         * toc.C:
1001         * undo_funcs.C:
1002         * frontends/LyXView.C:
1003         * frontends/controllers/ControlDocument.C:
1004         * frontends/controllers/ControlErrorList.C:
1005         * insets/insetbibitem.C:
1006         * insets/insetbranch.C:
1007         * insets/insetcaption.C:
1008         * insets/insetcollapsable.C:
1009         * insets/insetenv.C:
1010         * insets/insetert.C:
1011         * insets/insetfloat.C:
1012         * insets/insetfoot.C:
1013         * insets/insetfootlike.C:
1014         * insets/insetnewline.C:
1015         * insets/insetquotes.C:
1016         * insets/insettabular.C:
1017         * insets/insettext.C:
1018         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1019
1020         * frontends/controllers/ControlChanges.C: #include "changes.h".
1021
1022 2003-09-06  Angus Leeming  <leeming@lyx.org>
1023
1024         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1025         than #including paragraph.h.
1026
1027         * ParagraphList.h:
1028         * RowList.h: deleted. Superfluous.
1029
1030         * CutAndPaste.h:
1031         * iterators.h:
1032         * lyxcursor.h:
1033         * lyxtext.h:
1034         * text_funcs.h:
1035         * undo.h:
1036         * undo_funcs.h:
1037         * insets/inset.h:
1038         * insets/insettext.h: use ParagraphList_fwd.h rather than
1039         ParagraphList.h.
1040
1041         * paragraph.h: don't forward declare ParagraphList.
1042
1043         * buffer.h:
1044         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1045         rather than ParagraphList.h. paragraph.h is still needed for the
1046         Paragraph::depth_type parameters.
1047
1048         * textcursor.h: enable it to compile stand-alone in light of the
1049         above changes.
1050
1051         * bufferview_funcs.C:
1052         * iterators.C:
1053         * lyxfunc.C:
1054         * lyxrow_funcs.C:
1055         * paragraph.C:
1056         * rowpainter.C:
1057         * text.C:
1058         * text2.C:
1059         * text3.C:
1060         * text_funcs.C:
1061         * textcursor.C:
1062         * undo.C:
1063         * frontends/controllers/ControlParagraph.C:
1064         * frontends/controllers/ControlTabular.C:
1065         * insets/insetmarginal.C:
1066         * insets/insetminipage.C:
1067         * insets/insetnote.C:
1068         * insets/insetoptarg.C: add header files needed to compile again.
1069
1070 2003-09-06  Angus Leeming  <leeming@lyx.org>
1071
1072         * RowList_fwd.h: new file, forward-declaring Row rather than
1073         #including lyxrow.h.
1074
1075         * lyxrow_funcs.h:
1076         * lyxtext.h:
1077         * paragraph.h:
1078         * insets/insettext.h: use it instead of RowList.h
1079
1080         * bufferview_funcs.C:
1081         * lyxfunc.C:
1082         * lyxrow_funcs.C:
1083         * paragraph.C:
1084         * rowpainter.C:
1085         * text.C:
1086         * text2.C:
1087         * text3.C: #include "RowList.h".
1088
1089 2003-09-05  Angus Leeming  <leeming@lyx.org>
1090
1091         * factory.C (createInset):
1092         * vspace.C (c-tor): replace sscanf call with an istringstream.
1093         * ispell.C: re-add missing HP/UX headers.
1094         * lyxserver.C: re-add missing  os2 headers.
1095
1096 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * BranchList.C:
1099         * graph.C:
1100         * ispell.C:
1101         * lastfiles.C:
1102         * lyx_cb.C:
1103         * lyxserver.C:
1104         * texrow.C:
1105         * text3.C: re-add missing system headers, needed for 2.95.2.
1106
1107 2003-09-05  Angus Leeming  <leeming@lyx.org>
1108
1109         Changes most place everywhere due to the removal of using directives
1110         from support/std_sstream.h.
1111
1112 2003-09-05  Angus Leeming  <leeming@lyx.org>
1113
1114         Replace LString.h with support/std_string.h,
1115         Lsstream.h with support/std_sstream.h,
1116         support/LIstream.h with support/std_istream.h,
1117         support/LOstream.h with support/std_ostream.h.
1118
1119         Changes resulting throughout the tree.
1120
1121 2003-09-05  Angus Leeming  <leeming@lyx.org>
1122
1123         * sgml.h: ensure that the header file can be compiled stand-alone.
1124         * *.C: strip out redundant #includes. (320 in total.)
1125
1126 2003-09-04  Angus Leeming  <leeming@lyx.org>
1127
1128         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1129         here (from getPackages).
1130
1131         * debug.[Ch]: add a new EXTERNAL tag.
1132
1133 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1134
1135         * text2.C (cursorEnd): simplify
1136         (setCursor): adjust
1137         (getColumnNearX): adjust
1138
1139         * text.C (computeBidiTables): adjust
1140         (fill): adjust
1141
1142         * rowpainter.C (paintChars): adjust
1143         (paintSelection): adjust
1144         (paintChangeBar): adjust
1145         (paintText): adjust
1146
1147         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1148         lastPos instead.
1149         (numberOfSeparators): adjust
1150
1151 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * LyXAction.C:
1154         * box.[Ch]:
1155         * lfuns.h:
1156         * lyxfunc.C:
1157         * text3.C: Restricts the mouse click functionality
1158         of insets like bibtex, include, toc and floatlist to the visible
1159         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1160         up the dialogs. Cursor has to be in front of the inset (i.e.
1161         start of row) for this to function.
1162
1163 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1164
1165         * bufferview_funcs.C (currentState): output row information
1166
1167 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1168
1169         * bufferview_funcs.C (currentState): output paragraph position
1170
1171 2003-09-04  Angus Leeming  <leeming@lyx.org>
1172
1173         * FloatList.h: move out #include "Floating.h".
1174         * LaTeX.h: move out #include "DepTable.h".
1175         * LyXAction.h: move out #include "funcrequest.h".
1176         * buffer.h: move out #include "author.h", "iterators.h".
1177         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1178         * lyx_main.h: move out #include "errorlist.h".
1179         * lyxfunc.h: move out #include "FuncStatus.h".
1180         * lyxtext: move out #include "lyxcursor.h".
1181         * paragraph_pimpl.h: move out #include "counters.h".
1182
1183 2003-09-03  Angus Leeming  <leeming@lyx.org>
1184
1185         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1186         preamble_snippets list, enabling us to add snippets to the preamble
1187         only if the snippet was not there already.
1188
1189 2003-09-04  Angus Leeming  <leeming@lyx.org>
1190
1191         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1192
1193 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1194
1195         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1196         update
1197
1198 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1199
1200         * BranchList.C: point fix, earlier forgotten
1201
1202 2003-09-02  Angus Leeming  <leeming@lyx.org>
1203
1204         * box.C (contains): renamed from 'contained' after a fantastic
1205         amount of hot air.
1206
1207 2003-09-02  John Levon  <levon@movementarian.org>
1208
1209         * BufferView.C:
1210         * lyxcursor.h:
1211         * lyxcursor.C:
1212         * lyxfunc.C:
1213         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1214
1215 2003-09-02  John Levon  <levon@movementarian.org>
1216
1217         * text2.C: simplification of cursorEnd(), including partial
1218         fix for bug 1376
1219
1220 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * buffer.C (readFile): add a space
1223
1224 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1225
1226         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1227
1228 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1229
1230         * buffer.C (readFile): new function, take a filename and a
1231         ParagraphList::iterator
1232         (readFile): adjust
1233         (readFile): adjust, make it private. don't use setStream, make
1234         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1235         always contain the filename.
1236
1237         * BufferView.C (insertLyXFile): simplify and make it work for
1238         gzipped files.
1239
1240 2003-08-30  John Levon  <levon@movementarian.org>
1241
1242         * Makefile.am: fix dist (from Kayvan)
1243
1244 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1245
1246         * most files: change to use const Buffer refs
1247
1248 2003-08-27  André Pönitz  <poenitz@gmx.net>
1249
1250         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1251         on top of ownerPar().
1252
1253 2003-08-27  John Levon  <levon@movementarian.org>
1254
1255         * funcrequest.C: properly initialise POD members
1256
1257 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1258
1259         * lyxtext.h (top_y): move top_y from here
1260         * text.C:
1261         * text2.C:
1262         * text3.C:
1263         * BufferView.[Ch]:
1264         * BufferView_pimpl.[Ch]: to here
1265         * frontends/screen.C:
1266         * insets/insettabular.C:
1267         * insets/insettext.C: adjust
1268         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1269
1270 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1271
1272         * BufferView.[Ch]:
1273         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1274
1275 2003-08-26  André Pönitz  <poenitz@gmx.net>
1276
1277         * paragraph_func.[Ch] (outerPar): new function
1278
1279         * paragraph.C:
1280         * paragraph_funcs.C:
1281         * paragraph_funcs.h:
1282         * paragraph_pimpl.C:
1283         * text2.C: remove Inset::par_owner
1284
1285 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * lyxrow_funcs.C:
1288         * lyxtext.h:
1289         * text.C:
1290         * text2.C: eliminates the needFullRow/display() stuff
1291         altogether, putting the logic in metrics/draw in the insets.
1292
1293 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1294
1295         * text2.C (redoParagraphInternal, redoParagraphs):
1296         * text.C (redoParagraph): add a call to updateRowPositions at the
1297         end of each 'metrics-like' call. Remove all others.
1298         (getRow): remove the 'y-computing' version.
1299         (getRowNearY): do not compute nor return the real y. Solve the
1300         'y < 0' problem and simplify.
1301
1302 2003-08-22  Angus Leeming  <leeming@lyx.org>
1303
1304         * *.[Ch]: clean-up of licence and author blurbs.
1305         Also move config.h out of a few .h files and into a few .C files.
1306
1307 2003-08-22  André Pönitz  <poenitz@gmx.net>
1308
1309         * lyxrow.[Ch]: add x_ and *fill_ members
1310
1311         * lyxtext.h:
1312         * text.C:
1313         * rowpainter.C:
1314         * text2.C: adjust/remove prepareToPrint() calls
1315
1316 2003-08-22  André Pönitz  <poenitz@gmx.net>
1317
1318         * lyxrow.[Ch]: add  end_ member
1319
1320         * lyxrow_funcs.C: use LyXRow::end_
1321
1322         * lyxtext.h (singleWidth): add LyXFont parameter
1323
1324         * rowpainter.C:
1325         * text2.C: adjust LyXText::singleWidth() calls
1326
1327         * text.C (redoParagraph): simplify row breaking logic
1328
1329
1330 2003-08-19  André Pönitz  <poenitz@gmx.net>
1331
1332         * funcrequest.C: initialize button_ member
1333
1334         * text3.C:
1335         * rowpainter.[Ch]: interface consolidation
1336
1337 2003-08-18  André Pönitz  <poenitz@gmx.net>
1338
1339         * BufferView.C:
1340         * BufferView_pimpl.C:
1341         * lyxfind.C:
1342         * paragraph_funcs.C:
1343         * rowpainter.C:
1344         * text3.C: remove LyXScreen::draw() and fitCursor calls
1345
1346         * BranchList.h: remove spurious semicolons
1347
1348         * MenuBackend.C: fix branchlist related crash
1349
1350 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1351
1352         * BranchList.[Ch]:
1353         * InsetList.[Ch]:
1354         * LColor.[Ch]:
1355         * LyXAction.C:
1356         * Makefile.am:
1357         * MenuBackend.[Ch]:
1358         * bufferparams.[Ch]:
1359         * factory.C:
1360         * lfuns.h:
1361         * lyxfunc.C:
1362         * text3.C: implements the 'branch inset'
1363         idea. This allows the output of various versions of a document
1364         from a single source version, selectively outputing or suppressing
1365         output of parts of the text.
1366         This implementation contains a 'branch list editor' in a separate
1367         tab of the document settings dialog. Branches are user definable
1368         and have a "display colour" to distinguish them on-screen.
1369
1370         ColorHandler was somewhat cleaned up.
1371         (1) make possible a dynamically growing LColor list by allowing
1372         the graphic context cache to grow along (vector);
1373         (2) eliminate an IMHO unnecessary step in colour allocation.
1374
1375 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1376
1377         * BufferView_pimpl.C: compile fix
1378
1379 2003-08-15  André Pönitz  <poenitz@gmx.net>
1380
1381         * rowpainter.C: remove extra metrics calls
1382
1383         * lyxtext.h: merge the two constructors into a single one,
1384           pass reference to owner's par list
1385
1386         * BufferView_pimpl.C:
1387         * text.C:
1388         * text2.C: adjust
1389
1390 2003-08-15  André Pönitz  <poenitz@gmx.net>
1391
1392         * lyxrow_funcs.[Ch]:
1393         * lyxtext.h:
1394         * paragraph.h:
1395         * paragraph_funcs.C:
1396         * rowpainter.C:
1397         * text.C:
1398         * text2.C:
1399         * text3.C:
1400         * text_funcs.C: split LyXText::rowlist_ into individual
1401         Paragraph::rows_ chunks
1402
1403         * BufferView.[Ch]:
1404         * BufferView_pimpl.[Ch]:
1405         * lyxfind.C:
1406         * lyxtext.h:
1407         * text3.C: remove toggleSelection()
1408
1409 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1410
1411         * bufferlist.C: beautify two alerts (shorter text of buttons)
1412         * buffer.C: Remove redundant ' ' from message
1413         * tabular.h:
1414         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1415         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1416         rename VALIGN_CENTER to VALIGN_MIDDLE
1417
1418 2003-08-11  André Pönitz  <poenitz@gmx.net>
1419
1420         * lyxtext.h (getPar):
1421         * text.C: new function
1422
1423 2003-08-11  André Pönitz  <poenitz@gmx.net>
1424
1425         * Makefile.am:
1426         * tracer.[Ch]: remove unneeded files
1427
1428         * InsetList.[Ch]: remove resizeInsetsLyXText()
1429
1430         * lyxtext.h:
1431         * text.C:
1432         * text2.C:
1433         * text3.C: merge insertParagraphs() and appendParagraph()
1434         remove breakAgain(), update()
1435
1436         * BufferView_pimpl.[Ch]:
1437         * bufferview_funcs.[Ch]:
1438         * lyxfunc.C:
1439         * paragraph.[Ch]:
1440         * rowpainter.C:
1441         * tabular.C: adjust after text & InsetList changes.
1442
1443 2003-08-08  André Pönitz  <poenitz@gmx.net>
1444
1445         * text.C (insertChar, backspace): replace rowlist fiddling
1446         with rebreak of full par
1447
1448         * lyxtext.h:
1449         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1450         checkParagraph, updateInset): removed
1451
1452 2003-08-07  André Pönitz  <poenitz@gmx.net>
1453
1454         * paragraph.C:
1455         * text3.C: merge some LFUN handlers, remove dead code
1456
1457 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1460
1461 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1462
1463         * text2.C (DEPM): fix part of bug 1255 and 1256
1464
1465 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * BufferView_pimpl.C (workAreaDispatch): change to use
1468         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1469         that are no mouse related.
1470
1471 2003-08-05  André Pönitz  <poenitz@gmx.net>
1472
1473         * BufferView.[Ch]:
1474         * BufferView_pimpl.[Ch]:
1475         * bufferview_funcs.C:
1476         * text2.C:
1477         * text3.C: rip out "deep update"
1478
1479         * textcursor.[Ch] (last_sel_cursor): remove unused member
1480
1481 2003-08-04  André Pönitz  <poenitz@gmx.net>
1482
1483         * BufferView.[Ch]:
1484         * BufferView_pimpl.[Ch]:
1485         * ParagraphParameters.C:
1486         * bufferview_funcs.C:
1487         * lyx_cb.C:
1488         * lyxfind.C:
1489         * lyxfunc.C:
1490         * text.C:
1491         * text2.C:
1492         * text3.C: replace "complicated" BufferView::update(...) calls with
1493         simpler ones.
1494
1495         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1496
1497 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1498
1499         * Makefile.am (lyx_SOURCES): add paper.h
1500
1501 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1502
1503         * Makefile.am: move things around so that both lyx-qt and
1504         lyx-xforms can be built (according to --with-frontend). Then lyx
1505         is a symbolic link to lyx-[firstfrontend]
1506
1507 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1508
1509         * Always use std::endl with lyxerr
1510
1511 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1512
1513         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1514
1515 2003-08-01  André Pönitz  <poenitz@gmx.net>
1516
1517         * BufferView.[Ch]:
1518         * BufferView_pimpl.[Ch]:
1519         * lyxfunc.C:
1520         * text3.C: merge BufferView::repaint() and BufferView::update()
1521
1522 2003-08-01  José Matos  <jamatos@lyx.org>
1523
1524         * buffer.[Ch]: file_format is no longer a buffer data element.
1525
1526 2003-08-01  André Pönitz  <poenitz@gmx.net>
1527
1528         * BufferView.C:
1529         * lyxtext.h:
1530         * text.C:
1531         * text2.C: make redoParagraph more independent of current cursor
1532
1533         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1534         * text.C:
1535         * text2.C: remove unneeded members
1536
1537 2003-07-30  André Pönitz  <poenitz@gmx.net>
1538
1539         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1540
1541         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1542           create a single function...
1543
1544         * paragraph_funcs.C (moveItem): ... here.
1545
1546         * text.C:
1547           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1548
1549 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1550
1551         * LColor.[Ch]: Add comment and greyedout logical colors.
1552
1553 2003-07-30  André Pönitz  <poenitz@gmx.net>
1554
1555         * tabular.C: don't use Assert too heavily. This crashes where it
1556           shouldn't
1557
1558 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1561         is disabled (bug 1232)
1562
1563 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1564
1565         * factory.C: limited 'arg' scope
1566
1567 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1568
1569         * factory.C: fixed Note submenu issues
1570
1571 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1572
1573         * factory.C: submenu for Note/Comment/Greyedout
1574
1575 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1576
1577         * lyx_main.C (LyX):
1578         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1579
1580 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1581
1582         * LaTeXFeatures.C:
1583         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1584         greyedout. Patch provided by Jürgen Spitzmüller.
1585
1586 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587
1588         * kbmap.C (read): fix error message when reading bind files
1589
1590 2003-07-29  Angus Leeming  <leeming@lyx.org>
1591
1592         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1593         certainly does not do what it purports to do. I am doing it, and
1594         us, a favour by killing it.
1595
1596 2003-07-28  José Matos  <jamatos@lyx.org>
1597
1598         * buffer.C (readBody, do_writeFile):
1599         * paragraph.C(readParagraph): \end_document replaces \the_end.
1600
1601 2003-07-29  André Pönitz  <poenitz@gmx.net>
1602
1603         * BufferView.[Ch]:
1604         * BufferView_pimpl.[Ch]:
1605         * lyxfunc.C:
1606         * text2.C:
1607         * text3.C:
1608         * textcursor.[Ch]: remove toggleToggle & Co
1609
1610 2003-07-28  José Matos  <jamatos@fep.up.pt>
1611
1612         * buffer.C (readParagraph):
1613         * params_func (readParToken, readParagraph):
1614         * paragraph.C (write): \layout -> \begin_layout.
1615
1616 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * lyxlex_pimpl.C (setFile): clean up slightly.
1619
1620         * bufferparams.h: add compressed var
1621
1622         * buffer_funcs.C (readFile): adjust for LyXLex change
1623         (newFile): ditto + simplify
1624
1625         * buffer.C (writeFile): handle writing of compressed files
1626
1627         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1628         Check if the file is compressed and set a bufferparm if so.
1629
1630         * Makefile.am (lyx_LDADD): remove explicit -lz
1631
1632 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1635         makeDocBookFile): put the real LyX version in the first line of
1636         the file
1637
1638         * version.h:
1639         * version.C.in: remove lyx_docversion
1640
1641         * tabular.C (write_attribute): add a template-based version to
1642         write enums properly
1643
1644 2003-07-28  André Pönitz  <poenitz@gmx.net>
1645
1646         * lyxtext.h:
1647         * text.C:
1648         * text2.C:
1649         * text3.C: use doubles again for x-coordinates. They are needed.
1650
1651 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1652
1653         * messages.C (getLocaleDir): use lyx_localedir()
1654
1655         * lyxlex_pimpl.C (setFile): compress stuff
1656
1657         * buffer.C (writeFile): add some compression stuff
1658         (do_writeFile): new func, dont call expliti close... will this
1659         breake anything?
1660
1661         * Makefile.am (lyx_LDADD): add -lz
1662
1663 2003-07-28  José Matos  <jamatos@fep.up.pt>
1664
1665         * buffer.C: increment file format.
1666         * paragraph_funcs (readParagraph, readParToken):
1667         * paragraph.C (readParagraph): add \end_layout.
1668
1669 2003-07-27  Angus Leeming  <leeming@lyx.org>
1670
1671         * Makefile.am: remove special casing for configure-time setting of
1672         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1673
1674         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1675         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1676
1677 2003-07-26  André Pönitz  <poenitz@gmx.net>
1678
1679         * paragraph_func.[Ch]:
1680         * paragraph.C (realizeFont): inline it whereever it is used
1681
1682         * rowpainter.C:
1683         * text.C:
1684         * text2.C:
1685         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1686
1687
1688 2003-07-26  André Pönitz  <poenitz@gmx.net>
1689
1690         *       lyxtext.h:
1691         * text.C:
1692         * text2.C: get rid of LyXText::need_break_row
1693
1694 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1695
1696         * toc.[Ch]: put namespace toc inside namespace lyx
1697
1698         * MenuBackend.C (expandToc2): adjust for lyx::toc
1699         (expandToc): ditto
1700
1701         * lyxfunc.C (dispatch): adjust for lyx::find
1702
1703         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1704         lyx::find instead. Reorganize a bit.
1705         (LyXReplace): rename to replace
1706         (LyXFind): rename to find
1707
1708         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1709         (dispatch): ditto
1710
1711 2003-07-26  André Pönitz  <poenitz@gmx.net>
1712
1713         * text.C (setHeightOfRow): restrict scope of temporary variable
1714
1715         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1716           code (never has been used?)
1717
1718 2003-07-27  Asger Alstrup  <alstrup@local>
1719
1720         * text.C (fill): Optimise algorithm to exploit that we can reuse
1721         the LyXFont for many characters.
1722         (setHeightOfRow): Same thing.
1723         (rowBreakPoint): Same thing.
1724
1725 2003-07-26  Asger Alstrup  <alstrup@local>
1726
1727         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1728
1729         * text.C (singleWidth): Spurious font copying in hot-spot
1730         singleWidth avoided. Reorder tests for arabic for efficiency.
1731
1732         * text.C (fill): handle empty paragraphs better.
1733
1734 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1735
1736         * ispell.C:
1737         * encoding.h: add includes
1738
1739         * lyxrc.C: remove reading of bind files
1740
1741         * lyx_main.C (init): setup bindings and menus only if we have a
1742         gui.
1743
1744         * kbmap.C (read): new method. Do the actual reading of bind
1745         files.
1746
1747         * converter.C (dvipdfm_options):
1748         * bufferparams.C:
1749         * lyxrc.C (read):
1750         (output): adapt PAPER_* enums.
1751
1752         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1753
1754         * bufferparams.h: remove paper-related enums from there
1755
1756         * paper.h: New file. A trivial header file to hold paper-related
1757         enums. It should later expand to contain many paper-related
1758         horrors access.
1759
1760         * lyxrc.C: declare extern displayTranslator
1761
1762 2003-07-27  José Matos  <jamatos@fep.up.pt>
1763
1764         * tabular.[Ch] (linuxdoc): add support for tables and figures
1765         (linuxdoc).
1766
1767 2003-07-27  José Matos  <jamatos@fep.up.pt>
1768
1769         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1770         consistency in both functions.
1771         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1772
1773 2003-07-26  Asger Alstrup  <alstrup@local>
1774
1775         * rowpainter.C (paintRows): Change algorithm to work directly on
1776         the insets rather than asking every character in the document
1777         whether its an inset.
1778
1779 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * buffer.C (openFileWrite): factorize some code
1782
1783 2003-07-26  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyx_cb.C:
1786         * lyx_main.[Ch]: replace occurances of system_tempdir with
1787         os::getTmpDir().
1788
1789 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1790
1791         * rename Inset to InsetOld
1792
1793 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1794
1795         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1796         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1797         which I think is a bit clearer. EDIT is gone, since it was
1798         premature optimisation, and broken for mathed anyway.
1799         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1800         with cursor positioning in insets as well (math insets still do not
1801         work, but that's a different story anyway.) It mysteriously
1802         crashes sometimes with undo in the first paragraph, but I'm fairly
1803         confident that this is a compiler bug.
1804
1805 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1806
1807         * paragraph.C (Paragraph): adjust for new clone return type
1808         (operator==): ditto
1809         (copyIntoMinibuffer): ditto
1810
1811 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1812
1813         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1814         by not having a special case, and always doing a full rebreak of
1815         the document after undo.
1816
1817 2003-07-23  Angus Leeming  <leeming@lyx.org>
1818
1819         * factory.C (createInset): InsetExternal::setParams now takes a
1820         Buffer const * arg.
1821
1822 2003-07-23  Angus Leeming  <leeming@lyx.org>
1823
1824         * factory.C (createInset): changed interface to the external and
1825         graphics mailers' string2params functions.
1826
1827 2003-07-23  Angus Leeming  <leeming@lyx.org>
1828
1829         * factory.C (createInset): pass a
1830         Buffer const * parameter to InsetExternalMailer's string2params.
1831
1832 2003-07-22  John Levon  <levon@movementarian.org>
1833
1834         * Thesaurus.h: include the right aiksaurus header
1835
1836 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837
1838         * MenuBackend.C (expand): check menu shortcuts unconditionally
1839
1840 2003-07-21  Angus Leeming  <leeming@lyx.org>
1841
1842         * factory.C (createInset): pass a
1843         buffer_path parameter to InsetGraphicsMailer's string2params.
1844
1845 2003-07-21  Angus Leeming  <leeming@lyx.org>
1846
1847         * BufferView_pimpl.C (buffer):
1848         * buffer.C (d-tor):
1849         * lyx_main.C (LyX):
1850         * lyxfunc.C (dispatch):
1851         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1852         rather than the grfx shortcut.
1853
1854 2003-07-21  André Pönitz  <poenitz@gmx.net>
1855
1856         * rowpainter.C: remove unused variables
1857
1858         * tabular_funcs.C:
1859         * tabular_funcs.h: move to tabular.C
1860         * Makefile.am: adjust
1861
1862         * tabular.[Ch]: basic optical cleaning
1863
1864         * author.h: pass references, not values
1865
1866 2003-07-18  André Pönitz  <poenitz@gmx.net>
1867
1868         * lyxtext.h:
1869         * metricsinfo.C:
1870         * metricsinfo.h:
1871         * rowpainter.C:
1872         * text.C:
1873         * text2.C:
1874         * text3.C: two-phase drawing for InsetText and InsetTabular
1875         some float -> int changes.
1876
1877 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1878
1879         * lyx_main.C: fix the fix
1880
1881 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1882
1883         * lyx_main.C: fix a crash in batch mode if no files specified
1884         * converter.C: ws
1885
1886 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1887
1888         * format.[Ch] (papersize): moved to BufferParams
1889         * converter.[Ch] (dvips_options): moved to BufferParams
1890         (dvipdfm_options): moved to anon namespace
1891         * bufferparams.[Ch]: added above functions.
1892
1893 2003-07-17  André Pönitz  <poenitz@gmx.net>
1894
1895         * lyxtext.h:
1896         * rowpainter.C:
1897         * text2.C: don't call inset->update() anymore
1898
1899         * metricsinfo.[Ch]: add convenience constructor
1900
1901 2003-07-16  André Pönitz  <poenitz@gmx.net>
1902
1903         * lyxcursor.[Ch]:
1904         * lyxfunc.[Ch]:
1905         * text.C:
1906         * text2.C: replace the LyXCursor::irow_ member with
1907          on-demand computation of the value
1908
1909 2003-07-16  John Levon  <levon@movementarian.org>
1910
1911         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1912
1913 2003-07-15  André Pönitz  <poenitz@gmx.net>
1914
1915         * text.C:
1916         * text2.C: remove no more needed refresh_row
1917
1918 2003-07-15  André Pönitz  <poenitz@gmx.net>
1919
1920         * lyxtext.h:
1921         * rowpainter.C:
1922         * text2.C:
1923         * text3.C: refresh_status tristate -> need_update bool
1924
1925 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1926
1927         * lyxtext.h (init): remove reinit argument (act as if always true)
1928         * text2.C: adjust to that
1929
1930 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1931
1932         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1933         * text3.C: use it to delete selections in some cases
1934         (bugs 441, 673, 702, 954).
1935
1936 2003-07-14  André Pönitz  <poenitz@gmx.net>
1937
1938         * rowpainter.[Ch]: reduce interface
1939
1940 2003-07-14  André Pönitz  <poenitz@gmx.net>
1941
1942         * BufferView_pimpl.C:
1943         * text2.C: adjust after removing unused BufferView * argument
1944
1945 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1946
1947         * text2.C (init): fix a crash fired on resize
1948
1949 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1950
1951         * buffer.[Ch]: added new closing signal
1952         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1953         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1954         BufferView::Pimpl via the closing the signal
1955
1956 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1957
1958         * buffer.[Ch]: take out all bv-related from buffer
1959         * BufferView.C:
1960         * BufferView_pimpl.[Ch]: connect to new signals
1961         * CutAndPaste.C: removed useless asserts
1962         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1963         * lyxvc.[Ch]:
1964         * vc-backend.[Ch]:
1965         * lyxfunc.C: moved view-related funciontality from vc here
1966         * paragraph.C: removed outdated comments
1967         * text.C: ws
1968
1969 2003-07-10  André Pönitz  <poenitz@gmx.net>
1970
1971         * BufferView_pimpl.C:
1972         * tabular.h:
1973         * tabular_funcs.C:
1974         * text.C:
1975         * text2.C: remove InsetText::InnerCache, clean up consequences
1976
1977 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1978
1979         * ispell.C: fix two typos in error messages
1980
1981 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1982
1983         * Extend Note inset to other forms of annotation like Comment
1984         and Greyedout. Right button click gives dialog.
1985
1986         Files modified or added (+):
1987
1988         * insetnote.[Ch]
1989         * FormNote.[Ch]      +
1990         * ControlNote.[Ch]   +
1991         * form_note.fd       +
1992         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1993         frontends/controllers
1994         * xforms/Dialogs.C
1995         * factory.C
1996
1997 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1998
1999         * aspell.C: add missing namespace lyx::support
2000
2001 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2002
2003         * BufferView.[Ch] (newFile): Add
2004         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2005         * LaTeX.[Ch] (message): added this signal and use it
2006         * buffer.[Ch] (busy, message): added these signals and use them
2007         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2008         * converter.C:
2009         * exporter.C:
2010         * format.C:
2011         * importer.C: use buffer signals instead of direct bv calling
2012         * lyx_cb.[Ch] (ShowMessage): removed
2013         * lyx_main.C:
2014         * lyxfunc.C:
2015         * paragraph_funcs.C:
2016         * text2.C: use buffer signals
2017
2018 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2019
2020         * introduce namespace lyx::graphics
2021
2022 2003-07-02  André Pönitz  <poenitz@gmx.net>
2023
2024         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2025
2026 2003-07-01  André Pönitz  <poenitz@gmx.net>
2027
2028         * text.C:
2029         * text2.C:
2030         * text3.C:
2031         * text_funcs.[Ch]:
2032         * textcursor.h:
2033         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2034           text*.C to text_func.C
2035
2036 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * introduce namespace lyx::support
2039
2040 2003-06-30  André Pönitz  <poenitz@gmx.net>
2041
2042         * Chktex.C:
2043         * funcrequest.C:
2044         * lyxtext.h:
2045         * text.C: re-enable --with-included-string
2046
2047 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2048
2049         * textcursor.C: add <config.h>
2050
2051         * text.C (getWord): remove const from word_location arg
2052
2053         * lyxvc.C (getLogFile): fix const type order
2054
2055         * lyxtext.h: remove const from word_location arg, add arg name
2056
2057         * lyxlayout.h: currect type on labeltype.
2058
2059         * importer.C: correct \file
2060
2061         * converter.C (intToFormat): use std:: on ret val, ws changes
2062
2063         * bufferlist.h: correct \file
2064
2065         * buffer.C (makeLinuxDocFile): fix const type order
2066         (makeDocBookFile): ditto
2067         (fillWithBibKeys): use std:: on stdlib args.
2068
2069         * CutAndPaste.C: fix authors.
2070         (availableSelections): use std:: on return vector
2071
2072 2003-06-27  André Pönitz  <poenitz@gmx.net>
2073
2074         * BufferView_pimpl.C:
2075         * bufferview_funcs.C:
2076         * lyxcursor.C:
2077         * lyxcursor.h:
2078         * lyxfunc.C:
2079         * lyxtext.h:
2080         * rowpainter.C:
2081         * text.C:
2082         * text2.C:
2083         * text3.C: remove LyXCursor::row_ member
2084
2085         * lyxtext.h:
2086         * text.C: rename fullRebreak() to partialRebreak() and implement
2087           a fullRebreak() that really bereks fully
2088
2089         * textcursor.h: new struct for cursor-related data
2090
2091 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2092
2093         * lyx_main.C (LyX): get full path of document loaded on the
2094         command line
2095
2096 2003-06-26  André Pönitz  <poenitz@gmx.net>
2097
2098         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2099           remove unused/broken operator>,<,>=.
2100
2101         *       text.C: remove only use of broken operator<= in an Assert().
2102
2103 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2104
2105         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2106         moved errorlist_.clear to showErrorList
2107
2108 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * converter.C (scanLog, runLaTeX):
2111         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2112         move the bv->showErrorList call to the callers
2113         * lyxfunc.C: i.e. here...
2114         * text2.C: and here
2115         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2116         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2117         namespace, the second to...
2118         * buffer_funcs (BufferFormat, parseErrors): added
2119         * errorlist.C (ErrorList(TeXErrors const &)): removed
2120
2121 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2124
2125 2003-06-24  "Garst R. Reese" <reese@isn.net>
2126
2127         * debug.C: fix typo
2128
2129 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2130
2131         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2132
2133         * version.C.in: change docversion to 1.4
2134
2135 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2136
2137         * buffer.C: fix a bug just introduced
2138
2139 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2140
2141         * buffer.[Ch]: added the parseError signal and use it, removed
2142         sgmlError
2143         * BufferView.[Ch] (addError): moved to ...
2144         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2145         to the Buffer::parseError signal to catch (guess what) parse errors
2146         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2147
2148 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2149
2150         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2151         ability to create a buffer and to return an existing one from
2152         the list. Moved these functions to...
2153         * buffer_funcs.[Ch]: added
2154         * BufferView.[Ch] (loadLyXFile): added
2155         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2156         job removed from bufferlist::loadLyXFile.
2157         * buffer.C (setReadOnly): make it work without view
2158         (i.e added an if (users))
2159
2160 2003-06-19  Angus Leeming  <leeming@lyx.org>
2161
2162         * lfuns.h:
2163         * LyXAction.C (init):
2164         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2165         with LFUN_DIALOG_SHOW <name> <data>.
2166
2167 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * CutAndPaste.C (availableSelections): small compilation fix for
2170         ancient (gcc 2.9x) compilers
2171
2172 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * text3.C (cursorNext): add tmp var
2175
2176         * text2.C (updateCounters): for function calling out of for clause
2177         (replaceSelectionWithString): ditto
2178         (insertStringAsParagraphs): ditto
2179         (getColumnNearX): add tmp var
2180         (setCursorFromCoordinates): add tmp var
2181         (cursorDownParagraph): add tmp var
2182         (deleteEmptyParagraphMechanism): add tmp var
2183
2184         * text.C (insertChar): add tmp var
2185
2186         * rowpainter.C (paintDepthBar): add tmp var
2187
2188         * CutAndPaste.C (availableSelections): potentially check all
2189         paragraphs in a cut to fill the shown strings.
2190
2191 2003-06-18  André Pönitz  <poenitz@gmx.net>
2192
2193         * kbmap.[Ch]: use vector<> instead of list<>
2194
2195 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2196
2197         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2198         pasteSelection with index
2199
2200         * text2.C (pasteSelection): modify, call pasteSelection with index
2201
2202         * paragraph.C (asString): reimplement version with no interval to
2203         call the one with interval.
2204
2205         * lyxtext.h: add index arg to pasteSelection
2206
2207         * MenuBackend.C (MenuItem): handle PasteRecent
2208         (Menu::read::Menutags): add md_pasterecent
2209         (read): handle it
2210         (expandPasteRecent): new function
2211         (expand): use it
2212
2213         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2214
2215         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2216         the limited stack
2217         (availableSelections): new function
2218
2219 2003-06-17  Angus Leeming  <leeming@lyx.org>
2220
2221         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2222
2223 2003-06-17  Angus Leeming  <leeming@lyx.org>
2224
2225         * lfuns.h:
2226         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2227
2228         * lyxfunc.C (dispatch): invoke it.
2229
2230 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         * iterators.C (operator++, ParPosition): reintroduce some
2233         const_cast for the benefit of older compilers.
2234
2235 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236
2237         * text3.C (dispatch): do not modify clipboard when doing
2238         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2239         LFUN_DELETE_SKIP on a selection selection
2240
2241 2003-06-16  André Pönitz  <poenitz@gmx.net>
2242
2243         * BufferView.C:
2244         * buffer.C:
2245         * buffer.h:
2246         * paragraph.C:
2247         * tabular.[Ch]: IU of clone() and getLabelList();
2248
2249 2003-06-13  André Pönitz  <poenitz@gmx.net>
2250
2251         * tabular.h: compactification
2252
2253 2003-06-12  André Pönitz  <poenitz@gmx.net>
2254
2255         * tabular.C:
2256         * tabular.h:
2257         * tabular_funcs.h: some renaming plus whitespace
2258
2259 2003-06-12  André Pönitz  <poenitz@gmx.net>
2260
2261         * BufferView.C:
2262         * BufferView_pimpl.C:
2263         * CutAndPaste.C:
2264         * buffer.C:
2265         * iterators.[Ch]:
2266         * lyxfunc.C:
2267         * text.C:
2268         * toc.C: Return a Paragraph & for ParIterator::operator*()
2269
2270 2003-06-11  John Levon  <levon@movementarian.org>
2271
2272         * lyx_main.C:
2273         * ToolbarBackend.h:
2274         * ToolbarBackend.C: add "Toolbars" section and
2275         put the flags there
2276
2277 2003-06-10  Angus Leeming  <leeming@lyx.org>
2278
2279         * lfuns.h:
2280         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2281
2282         * lyxfunc.C (dispatch): invoke it.
2283
2284 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2285
2286         * main.C: protect <ios> with HAVE_IOS
2287         (main): protect sync_with_stdio with HAVE_IOS
2288
2289 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2290
2291         * text2.C (cutSelection): adjust
2292         (pasteSelection): adjust
2293
2294         * messages.C: handle get of empty string
2295
2296         * main.C (main): use sync_with_stdio(false)
2297
2298         * lyxfunc.C (dispatch): adjust
2299
2300         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2301         (WriteAs): remove unneeded BufferView arg.
2302
2303         * bufferparams.h: use correct types on papersize, papersize2 and
2304         paperpackage.
2305
2306         * bufferparams.C (readToken): adjust for type
2307         (writeLaTeX): add missing cases to switch.
2308
2309         * bufferlist.C (quitWriteBuffer): adjust
2310         (close): adjust
2311
2312         * buffer.C (asciiParagraph): remove some commented code.
2313
2314         * CutAndPaste.C: remove current_view extern variable.
2315         (cutSelection): add BufferParams arg.
2316         (eraseSelection): add BufferParams arg.
2317         (pasteSelection): add Buffer const & arg
2318
2319 2003-06-07  John Levon  <levon@movementarian.org>
2320
2321         * buffer.C:
2322         * paragraph_funcs.C:
2323         * paragraph_pimpl.C:
2324         * text.C:
2325         * text2.C:
2326         * paragraph.h:
2327         * paragraph.C: allow InsetERT to freely space lines,
2328         and some consolidation of code
2329
2330 2003-06-06  José Matos  <jamatos@fep.up.pt>
2331
2332         * buffer.C (makeDocBookFile): fix bug #821
2333
2334 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2335
2336         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2337
2338 2003-06-04  Angus Leeming  <leeming@lyx.org>
2339
2340         * buffer.C: bump format to 224.
2341
2342 2003-06-05  André Pönitz  <poenitz@gmx.net>
2343
2344         * text2.C (redoParagraphs): remove two const_cast<>
2345
2346 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2347
2348         * ParagraphList.h: remove last remnants of NO_STD_LIST
2349
2350 2003-06-03  Angus Leeming  <leeming@lyx.org>
2351
2352         * factory.C (createInset): small change to the way InsetExternal's params
2353         are set.
2354
2355 2003-06-04  André Pönitz  <poenitz@gmx.net>
2356
2357         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2358
2359         * paragraph_pimpl.h:
2360         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2361
2362         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2363
2364         * undo_funcs.C: make some simple cases of undo work again
2365
2366 2003-06-03  John Levon  <levon@movementarian.org>
2367
2368         * ispell.C: HPUX doesn't have sys/select.h
2369         (from Albert Chin)
2370
2371 2003-06-03  John Levon  <levon@movementarian.org>
2372
2373         * CutAndPaste.C: update tabular and include inset
2374         buffer references
2375
2376         * buffer.h:
2377         * paragraph.h:
2378         * paragraph.C: remove owningBuffer(), don't pass Buffer
2379         to clone()
2380
2381         * factory.C: insetGraphicsParams changed
2382
2383 2003-06-02  John Levon  <levon@movementarian.org>
2384
2385         * LyXAction.C:
2386         * factory.C:
2387         * lfuns.h:
2388         * lyxfunc.C:
2389         * text3.C: remove insetparent
2390
2391 2003-06-02  John Levon  <levon@movementarian.org>
2392
2393         * buffer.h:
2394         * buffer.C: fix inset_iterator.end(), move out of line
2395         (bug 1149)
2396
2397 2003-06-01  John Levon  <levon@movementarian.org>
2398
2399         * text3.C: use a proper cut/paste when doing inset
2400         insert (from Jürgen Spitzmüller)
2401
2402 2003-06-01  John Levon  <levon@movementarian.org>
2403
2404         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2405
2406 2003-05-30  André Pönitz  <poenitz@gmx.net>
2407
2408         * rowpainter.C: unify second drawing phase
2409
2410 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2411
2412         * trans_mgr.C: remove one case of current_view
2413
2414         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2415
2416         * paragraph_funcs.h: remove paragraph.h include
2417
2418         * paragraph.h: delete NO_STD_LIST stuff
2419
2420         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2421
2422         * buffer.h: remove paragraph.h include
2423
2424         * ParagraphList.C: delete file
2425
2426         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2427
2428         * toc.C (getTocList): adjust
2429
2430         * paragraph_pimpl.C (validate): adjust
2431
2432         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2433
2434         * paragraph.C (Paragraph): adjust
2435         (getPositionOfInset): use const_iterator, adjust
2436         (bibitem): use const_iterator, adjust
2437         (setInsetOwner): adjust
2438
2439         * iterators.C (operator++): adjust
2440
2441         * InsetList.[Ch]: Replace selfmade iterator with standard
2442         vector::iterator also introduce const_iterator. Remove getPos,
2443         getInset and setInset from InsetTable. Adjust accordingly.
2444
2445         * BufferView.C (lockInset): adjust
2446         (ChangeInsets): adjust
2447
2448         * tabular.[Ch]: delete commented same_id functions
2449
2450 2003-05-28  John Levon  <levon@movementarian.org>
2451
2452         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2453
2454 2003-05-28  André Pönitz  <poenitz@gmx.net>
2455
2456         * metricsinfo.[Ch]: remove 'fullredraw' member
2457
2458 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2459
2460         * lyxtextclass.C (operator): remove caching.
2461
2462 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * text3.C: adjust
2465
2466         * text2.C (cursorBottom): adjust
2467         (setCounter): use ParagraphList::find, adjust
2468
2469         * text.C (workWidth): use ParagraphList::find, adjust
2470
2471         * lyxcursor.C (LyXCursor): adjust
2472
2473         * buffer.C (inset_iterator): adjust
2474
2475         * ParagraphList.h: make iterator(value_type) private, make
2476         ParagraphList a friend of iterator.
2477
2478         * ParagraphList.C (find): new function
2479
2480         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2481
2482 2003-05-27  André Pönitz  <poenitz@gmx.net>
2483
2484         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2485
2486 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2487
2488         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2489
2490 2003-05-26  John Levon  <levon@movementarian.org>
2491
2492         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2493
2494 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * remove same_id from function signatures, adjust.
2497
2498 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2501
2502         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2503
2504         * paragraph.C (Paragraph): get rid of same_ids parameter
2505
2506         * ParagraphList.C (insert): adjust
2507         (push_back): adjust
2508
2509 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * paragraph_funcs.C (breakParagraph): adjust
2512         (breakParagraphConservative): adjust
2513
2514         * buffer.C (readParagraph): adjust
2515
2516         * ParagraphList.C (insert): take a reference instead of a pointer
2517         (insert): adjust
2518
2519         * paragraph.[Ch] (id): new function
2520
2521         * bufferlist.C (newFile): adjust
2522
2523         * ParagraphList.C (ParagraphList): adjust
2524         (assign): adjust
2525         (push_back): take a reference instead of a pointer.
2526
2527         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2528
2529         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2530         instead.
2531
2532         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2533         set else use old code.
2534
2535         * ParagraphList.C: remove all NO_NEXT code and only compile this
2536         code of NO_STD_LIST is set.
2537
2538 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2539
2540         * BufferView_pimpl.C:
2541         * TextCache.C:
2542         * TextCache.h:
2543         * bufferlist.C:
2544         * errorlist.h:
2545         * format.C:
2546         * format.h:
2547         * graph.C:
2548         * lyxfunc.C:
2549         * lyxrc.C:
2550         * graphics/GraphicsConverter.C:
2551         * graphics/PreviewLoader.C: header adjustment
2552
2553 2003-05-23  Angus Leeming  <leeming@lyx.org>
2554
2555         * LaTeXFeatures.[Ch] (useBabel): new method.
2556         * bufferparams.C (writeLaTeX): use it.
2557
2558 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2559
2560         * ParagraphList.h (set): remove unused function.
2561
2562 2003-05-23  André Pönitz  <poenitz@gmx.net>
2563
2564         * BufferView.C:
2565         * BufferView_pimpl.C:
2566         * buffer.C:
2567         * buffer.h:
2568         * lyxfunc.C:
2569         * undo_funcs.C: setUndo reworked
2570
2571         * iterators.[Ch]: add access to topmost ParagraphList
2572
2573         * lyxtext.[Ch] (workWidth): add a const
2574
2575 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * texrow.[Ch] (increasePos): remove function
2578         * exporter.C (export): removed unused var and outdated comment
2579
2580 2003-05-23  Angus Leeming  <leeming@lyx.org>
2581
2582         * latexrunparams.h: rename fragile as moving_arg.
2583         * paragraph.C (simpleTeXOnePar): ditto.
2584         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2585
2586 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2589         (createUndo): ditto
2590         (textUndoOrRedo): comment out a currently unused var.
2591
2592         * paragraph.h (NO_NEXT): enable NO_NEXT
2593
2594         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2595
2596         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2597
2598         * exporter.C (Export): adjust for removeAutoInsets removal.
2599
2600         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2601
2602         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2603
2604         * BufferView.[Ch] (removeAutoInsets): delete function
2605
2606 2003-05-22  Angus Leeming  <leeming@lyx.org>
2607
2608         * latexrunparams.h: add a free_spacing variable.
2609
2610         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2611         to pass moving_arg, as the data is stored in runparams.fragile.
2612
2613         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2614         to Inset::latexOptional or to simpleTeXOnePar.
2615
2616         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2617         free_spacing arg to Inset::latexOptional.
2618
2619         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2620         free_spacing arg.
2621
2622 2003-05-22  Angus Leeming  <leeming@lyx.org>
2623
2624         * latexrunparams.h: add fragile and use_babel variables.
2625
2626         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2627         * buffer.C (makeLaTeXFile): store this returned value in
2628         runparams.use_babel, thus passing it to the inset::latex methods.
2629
2630         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2631         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2632
2633         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2634         longer has a fragile arg, as it is stored in runparams.fragile.
2635
2636         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2637         moving_arg parameter as the data is stored in runparams.fragile.
2638
2639         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2640         a fragile parameter as the data is stored in runparams.fragile.
2641
2642 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2645
2646 2003-05-22  Angus Leeming  <leeming@lyx.org>
2647
2648         * latexrunparams.h: add a 'bool nice' which defaults to false.
2649
2650         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2651         now encapsulated within runparams.
2652
2653         * bufferlist.C (updateIncludedTeXfiles):
2654         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2655
2656 2003-05-22  Angus Leeming  <leeming@lyx.org>
2657
2658         * latexrunparams.h: new file containing struct LatexRunParams.
2659         * Makefile.am: add new file.
2660
2661         * LaTeX.[Ch] (c-tor, run):
2662         * buffer.[Ch] (makeLaTeXFile):
2663         * bufferlist.[Ch] (updateIncludedTeXfiles):
2664         * converter.C (convert, scanLog):
2665         * converter.[Ch] (runLaTeX):
2666         * exporter.C (Export):
2667         * paragraph.[Ch] (simpleTeXOnePar):
2668         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2669         * paragraph_funcs.[Ch] (latexParagraphs):
2670         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2671         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2672         pass around a LatexRunParams parameter.
2673
2674 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * paragraph.[Ch]: remove unused constructor
2677
2678         * ParagraphList.C (erase): new function, taking two iterators
2679
2680 2003-05-22  André Pönitz  <poenitz@gmx.net>
2681
2682         * undo_funcs.C: remove duplicated code
2683
2684         * iterator.[Ch]: operator=
2685
2686 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2687
2688         * tabular.C (SetMultiColumn): ws changes
2689
2690         * rowpainter.C (paintFirst): get rid of a ->previous
2691
2692         * lyx_cb.C (getPossibleLabel): parlist simplification
2693
2694         * BufferView.C (ChangeInsets): simplify slightly.
2695
2696 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2697
2698         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2699         * lfuns.h: new LFUN_SPACE
2700         * lyxfunc.C: protected space has a new lfun
2701         * paragraph_funcs.C: read new space insets
2702         * text3.C:
2703         * factory.C: handle new space insets
2704
2705 2003-05-22  André Pönitz  <poenitz@gmx.net>
2706
2707         * BufferView.C:
2708         * BufferView_pimpl.C:
2709         * buffer.[Ch]:
2710         * lyxfunc.C:
2711         * undo_funcs.C: return a ParIterator from getParFromID.
2712
2713         * iterators.[Ch]: add two const's
2714
2715 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * toc.C (getTocList): adjust
2718
2719         * iterators.[Ch]: rework for parlist
2720
2721         * buffer.C (par_iterator_begin): adjust
2722         (par_iterator_end): adjust
2723
2724         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2725
2726         * BufferView.C (removeAutoInsets): adjust
2727         (ChangeInsets): adjust
2728
2729 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2730
2731         * text.C (top_y): fix bug 1110
2732
2733 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * errorlist.[Ch]: added
2736         * buffer.C:
2737         * BufferView.[Ch]:
2738         * BufferView_pimpl.C:
2739         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2740         instead
2741
2742 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2743
2744         * Makefile.am: ensure that lyx is relinked upon changes to the
2745         various "convenience" libs.
2746
2747 2003-05-20  Angus Leeming  <leeming@lyx.org>
2748
2749         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2750         files are compiled in alphabetical order again.
2751
2752         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2753
2754 2003-05-19  Angus Leeming  <leeming@lyx.org>
2755
2756         * gettext.[Ch]: remove "char const * _(char const *)".
2757
2758 2003-05-19  André Pönitz  <poenitz@gmx.net>
2759
2760         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2761
2762         * Makefile.am:
2763         * BufferView.C:
2764         * DepTable.h:
2765         * LaTeXFeatures.C:
2766         * buffer.C:
2767         * lyxfont.C:
2768         * lyxlex.h:
2769         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2770
2771 2003-05-19  André Pönitz  <poenitz@gmx.net>
2772
2773         * buffer.C:
2774         * lyxlayout.[Ch]:
2775         * lyxtextclass.[Ch]:
2776         * paragraph.C:
2777         * paragraph_funcs.[Ch]:
2778         * text2.C:
2779         * text3.C: more insetenv work
2780
2781 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * ParagraphParameters.C (params2string): small bug fixed
2784
2785 2003-05-16  André Pönitz  <poenitz@gmx.net>
2786
2787         * debug.C:
2788         * bufferview_funcs.C: patch from Kornel Benko to prevent
2789           crash when _(...) is called twice in a statement
2790
2791 2003-05-16  André Pönitz  <poenitz@gmx.net>
2792
2793         * BufferView.C:
2794         * lyxfunc.C:
2795         * text.C:
2796         * text2.C:
2797         * text3.C:
2798         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2799
2800 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2801
2802         * lyx_main.C (init): remove spurious static_cast
2803
2804 2003-05-14  André Pönitz  <poenitz@gmx.net>
2805
2806         * BufferView.C: fix format string
2807
2808 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * BufferView.[Ch] (insertErrors): removed
2811         * BufferView.[Ch] (showErrorList): added
2812         * buffer.C (runChkTeX):
2813         * converter.C (scanLog): call showErrorList instead of inserterrors
2814
2815 2003-05-13  André Pönitz  <poenitz@gmx.net>
2816
2817         * BufferView_pimpl.C:
2818         * buffer.C:
2819         * bufferview_func.C:
2820         * MenuBackend.C:
2821         * lyxfunc.C:
2822         * lyxrc.C:
2823         * tex-accent.C:
2824         * text3.C:
2825         * toc.C:
2826         * tabular_funcs.h: tostr() from its own header
2827
2828         * ParagraphParameters.C:
2829         * ToolbarBackend.C:
2830         * bufferparams.C:
2831         * format.C:
2832         * lyxlex_pimpl.C:
2833         * text3.C: STRCONV()
2834
2835 2003-05-12  André Pönitz  <poenitz@gmx.net>
2836
2837         * BufferView.C:
2838         * BufferView_pimpl.C:
2839         * CutAndPaste.C:
2840         * LaTeX.C:
2841         * LaTeXFeatures.C:
2842         * ParagraphParameters.C:
2843         * buffer.C:
2844         * bufferlist.C:
2845         * bufferparams.C:
2846         * bufferview_funcs.C:
2847         * converter.C:
2848         * counters.C:
2849         * debug.C:
2850         * exporter.C:
2851         * format.C:
2852         * importer.C:
2853         * lyx_cb.C:
2854         * lyx_main.C:
2855         * lyxfont.C:
2856         * lyxfunc.C:
2857         * lyxvc.C:
2858         * paragraph.C:
2859         * paragraph_funcs.C:
2860         * tabular.C:
2861         * tabular_funcs.C:
2862         * text2.C:
2863         * text3.C:  boost::format -> bformat  all over the place
2864
2865
2866 2003-05-09  André Pönitz  <poenitz@gmx.net>
2867
2868         * LColor.[Ch]: Pimpl the #include <map> away
2869
2870 2003-05-09  John Levon  <levon@movementarian.org>
2871
2872         * bufferlist.C: never remove emergency saves
2873
2874 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2875
2876         * Makefile.am: better lib building
2877
2878 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2879
2880         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2881         instead.
2882         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2883         (simpleTeXSpecialChars): adjust
2884         (simpleTeXSpecialChars): adjust
2885         * paragraph.C (simpleTeXOnePar): adjust
2886         * buffer.C (makeLaTeXFile): adjust
2887
2888         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2889
2890         * text2.C (changeDepth): parlist cleanup
2891         (getColumnNearX): ditto
2892
2893         * rowpainter.C (getLabelFont): parlist cleanup
2894
2895         * bufferlist.C (newFile): parlist cleanup
2896
2897         * CutAndPaste.C (eraseSelection): parlist cleanup
2898
2899         * BufferView_pimpl.C (trackChanges): parlist cleanup
2900         (dispatch): ditto
2901
2902         * BufferView.C (lockInset): parlist cleanup.
2903         (ChangeInsets): ditto
2904
2905 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * CutAndPaste.h: Update file header.
2908
2909         * CutAndPaste.C: Update file header.
2910         Store the parts cut out of the Document in a limited_stack.
2911         (copySelection): adjust
2912         (pasteSelection): new function, takes the index in the limited stack.
2913         (nrOfParagraphs): adjust
2914         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2915         simplify error inset insertion.
2916         (checkPastePossible): adjust
2917
2918 2003-05-06  John Levon  <levon@movementarian.org>
2919
2920         * text2.C: don't cast wrap inset to float
2921
2922 2003-05-05  André Pönitz  <poenitz@gmx.net>
2923
2924         * iterator.C:
2925         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2926
2927         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2928           few naked Paragraph *.
2929
2930 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2931
2932         * bufferparams.C: Output warning if a document with missing
2933         TeX document class is loaded
2934         * exporter.C: Disable TeX exports if the document class is missing
2935         * lyxtextclass.C:
2936         * lyxtextclass.h:
2937         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2938         isTeXClassAvailable()
2939
2940 2003-05-03  John Levon  <levon@movementarian.org>
2941
2942         * BufferView.h:
2943         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2944         explicit cursor show/hide
2945
2946         * BufferView_pimpl.h:
2947         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2948         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2949
2950         * lyxfunc.C: hide cursor before dispatching.
2951
2952         * lyx_cb.C:
2953         * lyxfind.C:
2954         * text.C:
2955         * text3.C: remove explicit cursor hides
2956
2957 2003-05-02  André Pönitz  <poenitz@gmx.net>
2958
2959         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2960
2961         * undo_funcs.C:
2962         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2963           linked lists
2964
2965         * text2.C: tiny whitespace
2966
2967 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * undo_funcs.C: almost only ws changes.
2970
2971         * ParagraphList.C (splice): just return if pl is empty.
2972
2973 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * ParagraphList.C (splice): new function.
2976
2977         * CutAndPaste.C (pasteSelection): use it
2978
2979 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2980
2981         * CutAndPaste.C (pasteSelection): remove the last next and
2982         previous from this file.
2983
2984 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2985
2986         * CutAndPaste.C (pasteSelection): more clean up, user proper
2987         ParagraphList functions for pasteing.
2988
2989         * ParagraphList.C (insert): new function, three arg insert
2990
2991 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * ParagraphList.C (insert): new function, three arg insert
2994
2995         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2996         not on paragraphs.
2997
2998 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2999
3000         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3001
3002 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3005
3006 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3009         (copySelection): clean up a bit.
3010         (pasteSelection): use make_pair
3011
3012         * ParagraphList.C (ParagraphList): implement copy constructor
3013         (operator=): implement, base on copy constructor.
3014         (assign): new func
3015
3016         * paragraph.C (erase): return a bool
3017
3018         * paragraph_pimpl.C (erasePos): remove function, move contents...
3019         (erase): ... here. Return a bool.
3020         (erase): call erase instead of erasePos.
3021
3022 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * ParagraphList.h: define PitPosPair
3025         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3026         ParagraphList, fix a bug on pasting multiple pars
3027         * text2.C: change interface to C&P
3028
3029 2003-04-30  André Pönitz  <poenitz@gmx.net>
3030
3031         * undo_func.C: revert part of yesterday's patch 2
3032
3033 2003-04-30  John Levon  <levon@movementarian.org>
3034
3035         * LColor.C: s/tabular/table/
3036
3037 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * text3.C (dispatch): do not convert iterator -> pointer
3040         * undo_funcs.C (setCursorParUndo): ditto
3041         * text_funcs.C (transposeChars): ditto
3042
3043         * text2.C (setLayout): ws changes only
3044
3045         * text.C (breakParagraph): do not convert iterator -> pointer
3046         (insertChar): ditto
3047         (acceptChange): ditto
3048         (rejectChange): ditto
3049         (changeCase): ditto
3050         (Delete): ditto
3051         (backspace): ditto
3052
3053         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3054         pointer
3055
3056 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3057
3058         * text3.C (gotoInset): YABG (yet another bad getChar)
3059
3060 2003-04-29  André Pönitz  <poenitz@gmx.net>
3061
3062         * paragraph.h: make operator= private unimplemented as long as
3063           it is unusable
3064
3065         * ParagraphList.C: whitespace
3066
3067         * paragraph.[Ch]:
3068         * paragraph_pimpl.[Ch]:
3069         * paragraph_funcs.C:
3070         * CutAndPaste.C:
3071         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3072
3073         * text2.C:
3074           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3075
3076 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3077
3078         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3079         * paragraph.[Ch] (erase):
3080         * paragraph_pimpl.[Ch] (erase): change return type and value
3081         * text2.C (cutSelection): some rework
3082
3083 2003-04-28  John Levon  <levon@movementarian.org>
3084
3085         * bufferlist.C: changes for unsaved changes dialog
3086
3087 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3088
3089         * bufferlist.C (newFile): set language (messages_) for new
3090         documents also.
3091
3092         * buffer.C (readFile): ws changes only.
3093
3094 2003-04-28  André Pönitz  <poenitz@gmx.net>
3095
3096         * undo_funcs.C:
3097         * lyxfunc.C:
3098         * buffer.[Ch]:
3099         * BufferView_pimpl.C:
3100         * BufferView.C: getParFromID related ParagraphList::iterator changes
3101
3102 2003-04-28  André Pönitz  <poenitz@gmx.net>
3103
3104         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3105           Changes
3106
3107 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * messages.C: remove one more localedir class variable.
3110
3111 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * messages.C (getLocaleDir): singleton generation function
3114         (Pimpl): use it.
3115         (Messages): add a default constructor.
3116
3117         * main.C (main): do not setup localedir here, do not call
3118         gettext_init.
3119
3120         * gettext.C (_): use it.
3121         (gettext_init): delete funciton
3122
3123 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * gettext.C (getLyXMessages): new singleton generating function.
3126
3127         * buffer.C (updateDocLang): adjust
3128
3129         * Makefile.am (messages.o): add target
3130         (main.o): remove target
3131
3132 2003-04-27  John Levon  <levon@movementarian.org>
3133
3134         * bufferlist.C:
3135         * lyx_cb.C:
3136         * lyxfunc.C:
3137         * lyxvc.C: specify cancel button in Alert::prompt
3138
3139 2003-04-26  John Levon  <levon@movementarian.org>
3140
3141         * text3.C:
3142         * lyxfunc.C:
3143         * lfuns.h:
3144         * LyXAction.C: add LFUN_INSET_SETTINGS
3145
3146         * lyxfunc.C: don't enable tabular-feature when there's
3147         just any locking inset
3148
3149 2003-04-26  John Levon  <levon@movementarian.org>
3150
3151         * bufferlist.C: re-add Cancel to buffer close question
3152
3153         * lyxfunc.C: fix import UI a bit
3154
3155 2003-04-25  John Levon  <levon@movementarian.org>
3156
3157         * gettext.C: remove the broken asserts for now
3158
3159 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * messages.C: make case where setlocale cannot comply work better.
3162
3163         * buffer.C (updateDocLang): new function
3164         (changeLanguage): use it
3165         (readFile): use it
3166
3167         * text2.C (setCounter): use B_ a bit.
3168
3169         * lyxlayout.C (Read): be sure to trim the label strings.
3170
3171         * messages.C (Messages): fix typo in comment
3172
3173         * buffer.C (readFile): set message_ after file is loaded.
3174         (makeDocBookFile): remove double return
3175         (changeLanguage): reset message_ upon language change.
3176         (B_): new func, use this to get translated buffer strings.
3177
3178         * main.C: add myself and Jean Marc as authors.
3179
3180 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * messages.[hC]: pimplify Messages, and three different pimpls to be
3183         used in different circumstances.
3184
3185         * gettext.[Ch]: change for use with new message code.
3186
3187 2003-04-24 André Pönitz <poenitz@gmx.net>
3188
3189         * factory.C: support for eqref
3190
3191 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * messages.[Ch]: add missing char
3194
3195         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3196
3197         * messages.[Ch]: New files
3198
3199 2003-04-18  John Levon  <levon@movementarian.org>
3200
3201         * BufferView.h:
3202         * BufferView.C:
3203         * BufferView_pimpl.C:
3204         * lfuns.h:
3205         * LyXAction.C:
3206         * lyxtext.h:
3207         * text2.C: remove layout-copy/paste (bug 778)
3208
3209 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3212
3213 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3214
3215         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3216         if they succeed. Act accordingly.
3217
3218 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3219
3220         * text2.C (setCharFont): adjust
3221         (setCounter): adjust
3222         (insertStringAsLines): adjust
3223
3224         * text.C (leftMargin): adjust
3225         (setHeightOfRow): adjust
3226
3227         * rowpainter.C (paintFirst): adjust
3228         (paintLast): adjust
3229
3230         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3231         (outerHook): ditto
3232         (isFirstInSequence): ditto
3233         (getEndLabel): ditto
3234         (outerFont): adjust
3235
3236         * paragraph.C (getParLanguage): comment out some hard stuff.
3237
3238         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3239         (sgmlError): ditto
3240         (simpleDocBookOnePar): ditto
3241         (makeDocBookFile): use ParagraphList::iterator
3242
3243         * CutAndPaste.C (pasteSelection): adjust
3244
3245 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * text2.C (getFont): adjust
3248         (getLayoutFont): adjust
3249         (getLabelFont): adjust
3250
3251         * paragraph_funcs.C (TeXOnePar): adjust
3252
3253         * buffer.C (simpleLinuxDocOnePar): adjust
3254         (simpleDocBookOnePar): adjust
3255
3256         * CutAndPaste.C (pasteSelection): adjust
3257
3258         * BufferView.C (getEncoding): adjust
3259
3260         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3261
3262 2003-04-16  John Levon  <levon@movementarian.org>
3263
3264         * lyxfind.C: use parlist stuff for search/changes
3265
3266 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3269
3270         * text2.C (deleteEmptyParagraphMechanism): adjust
3271
3272         * text2.[Ch] (ownerParagraph): delete func (both of them
3273
3274 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3277
3278 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * ParagraphList.C: prepare for NO_NEXT
3281
3282 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * text2.C (getFont): adjust
3285         (getLayoutFont): adjust
3286         (getLabelFont): adjust
3287
3288         * paragraph.C (getFont): adjust
3289         (getLabelFont): adjust
3290         (getLayoutFont): adjust
3291
3292         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3293
3294 2003-04-15  John Levon  <levon@movementarian.org>
3295
3296         From Angus Leeming
3297
3298         * lyx_main.C: handle Include in .ui files
3299
3300 2003-04-15  John Levon  <levon@movementarian.org>
3301
3302         * MenuBackend.C: make the doc files length shorter
3303
3304         * ToolbarBackend.h:
3305         * ToolbarBackend.C: handle toolbar placement flags,
3306         Minibuffer
3307
3308 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3311         adjust
3312
3313         * paragraph_funcs.C (TeXOnePar): adjust
3314
3315         * paragraph.C (getLabelFont): add outerfont arg, adjust
3316         (getLayoutFont): ditto
3317         (simpleTeXOnePar): adjust
3318
3319         * paragraph_pimpl.C (realizeFont): delete func
3320
3321 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3324         row argument, constify cur argument.
3325
3326 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * text2.C (getFont): adjust
3329         (getLayoutFont): adjust
3330         (getLabelFont): adjust
3331
3332         * paragraph_funcs.C (TeXOnePar): adjust
3333         (outerFont): new func...
3334         (realizeFont): ...moved out from here, changed this to facilitate
3335         transition
3336
3337         * paragraph.C (getFont): take outerfont as arg, adjust
3338         (simpleTeXOnePar): add outerfont arg, adjust
3339
3340         * buffer.C (simpleLinuxDocOnePar): adjust
3341         (simpleDocBookOnePar): adjust
3342
3343         * CutAndPaste.C (pasteSelection): adjust
3344
3345         * BufferView.C (getEncoding): adjust
3346
3347 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3348
3349         * text2.C (setCharFont): adjust
3350         (setCounter): adjust
3351
3352         * text.C (leftMargin): adjust
3353         (setHeightOfRow): adjust
3354
3355         * rowpainter.C (paintFirst): adjust
3356         (paintLast): adjust
3357
3358         * paragraph_pimpl.C (realizeFont): adjust
3359
3360         * paragraph.C (isFirstInSequence): move from here...
3361         * paragraph_funcs.C (isFirstInSequence): ...to here
3362
3363         * paragraph.C (outerHook): move from here...
3364         * paragraph_funcs.C (outerHook): ...to here
3365
3366         * paragraph.C (depthHook): move from here...
3367         * paragraph_funcs.C (depthHook): ...to here
3368
3369         * paragraph.C (getEndLabel): move from here...
3370         * paragraph_funcs.C (getEndLabel): ...to here
3371
3372         * text2.C (realizeFont): move from here...
3373         * paragraph_funcs.C (realizeFont): ...to here
3374
3375 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3378
3379 2003-04-14  Angus Leeming  <leeming@lyx.org>
3380
3381         * LColor.[Ch]: scrap LColor mathcursor.
3382
3383 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * lyxlex.[Ch] (text): delete function
3386         * trans.C (Load): adjust
3387         * paragraph_funcs.C (readParToken): adjust
3388
3389 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3392         vector<char> instead of a char[].
3393
3394         * lyxlex_pimpl.C (getString): adjust
3395         (next): adjust
3396         (lex): use getString
3397         (eatLine): adjust
3398         (nextToken): adjust
3399
3400         * lyxlex.C (text): use pimpl_->getString()
3401         (getBool): ditto
3402         (findToken): ditto
3403
3404 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3407         (makeFontEntriesLayoutSpecific): temp var for par.size()
3408         (setLayout): temp var for ownerParagraphs().end()
3409         (fullRebreak): temp var for rows().end()
3410         (selectionAsString): temp var for boost::next(startpit), realize
3411         that the while really is a regular for loop.
3412         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3413         setCursor in one place.
3414         (setParagraph): temp vr for ownerParagraphs().end()
3415         (updateCounters): make the while loop a for loop
3416         (cutSelection): temp var for ownerParagraphs().end()
3417         (updateInset): make the do {} while() a regular for loop
3418         (getCursorX): use temp vars
3419         (setCurrentFont): use temp vars
3420         (getColumnNearX): use temp vars
3421
3422 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text.C (transformChar): use temp var for getChar
3425         (computeBidiTables): use temp var for row->par()
3426         (fill): move temp vars for row->par() and pit->layout() earlier in
3427         the function.
3428         (labelFill): use temp var for row->par()
3429         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3430         asc and desc, realize that pit never changes and that firstpit is
3431         just a duplicate and not needed. Exchange rit->par() with pit in a
3432         lot of places.
3433         (breakAgain): use a temp var for boost::next(rit)
3434         (breakAgainOneRow): ditto
3435         (breakParagraph): use a temp var for rows().begin()
3436         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3437         (cursorRightOneWord): use temp var for cursor.par() and
3438         cursor.pos(), remove usage of tmpcursor.
3439         (cursorLeftOneWord): use temp var for cursor.par() and
3440         cursor.pos() only set cur at end of function.
3441
3442 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3443
3444         * text.C, text2.C: exchange all usage of Paragraph::next with
3445         boost::next(ParagraphList::iterator)
3446
3447         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3448
3449         * text2.C (cursorTop): simplify implementation
3450         (cursorBottom): ditto
3451         (setParagraph): use ParagraphList::iterator
3452         (setCurrentFont): adjust
3453         (getColumnNearX): adjust
3454         (cursorRight): adjust
3455         (cursorLeft): remove usage of Paragraph::previous
3456         (cursorUpParagraph): ditto
3457         (deleteEmptyParagraphMechanism): slight cleanup
3458
3459         * text.C (isBoundary): take a Paragraph const & instead of a
3460         pointer as arg.
3461         (addressBreakPoint): ditto
3462         (leftMargin): remove usage of Paragraph::previous.
3463         (setHeightOfRow): ditto
3464         (cursorLeftOneWord): ditto
3465         (selectNextWordToSpellcheck): ditto
3466         (Delete): ditto
3467         (backspace): ditto
3468         (breakParagraph): remove one usage of Paragraph::next
3469         (redoParagraph): ditto
3470         (acceptChange): ditto
3471         (insertChar): adjust
3472         (rowBreakPoint): adjust
3473
3474         * bufferview_funcs.C (toggleAndShow): adjust
3475
3476 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3479         methods to access it.
3480         * lyxtext.h:
3481         * text.C: Added updateRowPositions to compute all row positions.
3482         Make top_y and getRowNearY() to use the cached y position
3483
3484 2003-04-11  John Levon  <levon@movementarian.org>
3485
3486         * text.C (rowBreakPoint): reintroduce the labelEnd
3487         checks, code copied from the row fill stuff. Deep voodoo.
3488
3489         * text.C (fill): add a comment and debugging for the
3490         next poor soul.
3491
3492 2003-04-11  John Levon  <levon@movementarian.org>
3493
3494         * text.C: make sure fullrow insets get wrapped to the next line,
3495         even when they're in a manual label
3496
3497 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3498
3499         * text2.C (insertParagraph): make it take ParagraphList::iterator
3500         as arg.
3501         (setLayout): make it return ParagraphList::iterator
3502         (redoParagraphs): ditto
3503         (setCounter): ditto
3504         (checkParagraph): ditto
3505
3506         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3507
3508         * text2.C: adjust several funcs.
3509         (realizeFont): take a ParagraphList::iterator as arg.
3510         (getLayoutFont): ditto
3511         (getLabelFont): ditto
3512         (setCharFont): ditto
3513
3514         * text.C: adjust several funcs.
3515
3516 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * text.C (selectNextWordToSpellcheck): don't accidentally
3519         skip insets
3520
3521 2003-04-10  John Levon  <levon@movementarian.org>
3522
3523         * ToolbarBackend.C (getIcon): special handling for
3524         LFUN_MATH_DELIM
3525
3526 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3527
3528         * text2.C (cursorRight): a getChar assert fixed
3529
3530 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * text2.C (getFont): change to take a ParagraphList::iterator
3533         instead of Paragraph*
3534         Adjust several functions.
3535
3536         * text.C (transformChar): change to take a ParagraphList::iterator
3537         instead of Paragraph*
3538         (singleWidth): ditto
3539         Adjust several functions.
3540
3541         * rowpainter.C: adjust several functions
3542         * rowpainter.h:store a ParagraphList::iterator and not a
3543         Paragraph&.
3544
3545
3546 2003-04-09  John Levon  <levon@movementarian.org>
3547
3548         * lyxfunc.C:
3549         * lfuns.h:
3550         * LyXAction.h:
3551         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3552         and the "help" bits as well
3553
3554 2003-04-09  John Levon  <levon@movementarian.org>
3555
3556         * ToolbarBackend.h:
3557         * ToolbarBackend.C: allow multiple toolbars
3558
3559 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * undo_funcs.C (setCursorParUndo): adjust
3562
3563         * text_funcs.C (transposeChars): adjust
3564
3565         * text3.C (gotoNextInset): adjust
3566         (dispatch): adjust
3567
3568         * text2.C (setLayout): adjust
3569         (changeDepth): adjust
3570         (setFont): adjust
3571         (redoParagraphs): adjust
3572         (selectionAsString): adjust
3573         (setParagraph): adjust
3574         (insertInset): adjust
3575         (cutSelection): adjust
3576         (copySelection): adjust
3577         (pasteSelection): adjust
3578         (insertStringAsLines): adjust
3579         (updateInset): adjust
3580         (setCursor): change to take a ParagraphList::iterator parameter
3581         (setCursorIntern): change to take a ParagraphList::iterator parameter
3582         (setCurrentFont): adjust
3583         (cursorLeft): adjust
3584         (cursorRight): adjust
3585         (deleteEmptyParagraphMechanism): adjust
3586
3587         * text.C (breakParagraph): adjust
3588         (insertChar): adjust
3589         (acceptChange): adjust
3590         (rejectChange): adjust
3591         (selectNextWordToSpellcheck): adjust
3592         (changeCase): adjust
3593         (Delete): adjust
3594         (backspace): adjust
3595
3596         * lyxfind.C (SearchForward): adjust
3597         (SearchBackward): adjust
3598         (nextChange): adjust
3599
3600         * lyxcursor.C (par): adjust
3601
3602         * lyxcursor.h: store a ParagraphList::iterator instead of a
3603         Paragraph*
3604
3605         * lyx_cb.C (getPossibleLabel): adjust
3606
3607         * bufferview_funcs.C (toggleAndShow): adjust
3608
3609         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3610         (dispatch): adjust
3611
3612         * BufferView.C (removeAutoInsets): adjust
3613         (lockedInsetStoreUndo): adjust
3614
3615 2003-04-09  John Levon  <levon@movementarian.org>
3616
3617         * ToolbarBackend.C: try icon without argument
3618         if with argument fails
3619
3620 2003-04-08  John Levon  <levon@movementarian.org>
3621
3622         * ToolbarBackend.h:
3623         * ToolbarBackend.C: add getIcon(), handle tooltip,
3624         and change from "Icon" to "Item".
3625
3626 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * BufferView.C (lockInset): another bad getchar crunched
3629
3630 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3631
3632         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3633         again)
3634
3635 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3636
3637         * lyxfind.C (searchForward, searchBackwards): bug 782
3638
3639 2003-04-07  John Levon  <levon@movementarian.org>
3640
3641         * paragraph.C: remove dead comment
3642
3643         * text.C: remove troublesome depth-fiddling code
3644         in leftMargin() and rightMargin() (bug 1017)
3645
3646         * text.C: fix breaking of rows in nested lists
3647         (bug 1004)
3648
3649         * text2.C (updateCounters): fix up depth values
3650         (bug 1013)
3651
3652 2003-04-07  John Levon  <levon@movementarian.org>
3653
3654         * BufferView_pimpl.C: clear message when doc finishes resizing,
3655         and after a mouse event
3656
3657         * lyxfunc.C: clear message after exiting inset
3658
3659 2003-04-07  John Levon  <levon@movementarian.org>
3660
3661         * bufferview_funcs.C: show math status not outside
3662         status in the statusbar
3663
3664 2003-04-07  John Levon  <levon@movementarian.org>
3665
3666         * lyxfunc.C: note status changed after a depth change
3667
3668 2003-04-04  Angus Leeming  <leeming@lyx.org>
3669
3670         * LaTeX.h: move AuxInfo operator==, != out of line.
3671         Remove LaTeX virtual destructor; nothing derives from it.
3672         Move operator()() out of public area and rename it startscript().
3673         Change protected for private.
3674
3675 2003-04-04  Angus Leeming  <leeming@lyx.org>
3676
3677         * lyxfunc.C:
3678         * text2.C: remove unneeded #includes.
3679
3680 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3681
3682         * text2.C (dEPM): fix the heigth of the next row
3683
3684 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3685
3686         * text.C: squashed an invalid getChar requester + some ws changes
3687
3688 2003-04-03  John Levon  <levon@movementarian.org>
3689
3690         * bufferview_funcs.h:
3691         * bufferview_funcs.C:
3692         * lyxfunc.C:
3693         * lyxtext.h:
3694         * text2.C: make getStatus work for the env depth lfuns
3695
3696 2003-04-03  John Levon  <levon@movementarian.org>
3697
3698         * bufferview_funcs.h:
3699         * bufferview_funcs.C:
3700         * lyxfunc.C:
3701         * lyxtext.h:
3702         * text2.C: parlistize decDepth(), by merging it with incDepth()
3703
3704 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * lyxrow.h: store a ParagraphList::iterator instead of a
3707         Paragraph* and adjust other class functions to suit.
3708
3709         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3710         above.
3711
3712 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3713
3714         * text2.C (setCursor): do not anchor to cursor row for the time being
3715
3716 2003-04-02  John Levon  <levon@movementarian.org>
3717
3718         * LyXAction.C:
3719         * lfuns.h:
3720         * lyx_main.C:
3721         * lyxtext.h:
3722         * text.C:
3723         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3724
3725 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * paragraph.h: make ParagraphList and ParagraphList::iterator
3728         friends of Paragraph.
3729
3730         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3731
3732         * ParagraphList.C: Use the private next_ and previous_ from
3733         Paragraph.
3734
3735 2003-04-01  John Levon  <levon@movementarian.org>
3736
3737         * ToolbarBackend.h:
3738         * ToolbarBackend.C:
3739         * Makefile.am: rename, remove defaults gunk
3740
3741         * MenuBackend.h:
3742         * MenuBackend.C: remove defaults gunk
3743
3744         * Languages.h:
3745         * Languages.C: remove defaults gunk
3746
3747         * lyx_main.h:
3748         * lyx_main.C: error out if files couldn't be found.
3749
3750 2003-04-02  John Levon  <levon@movementarian.org>
3751
3752         * text2.C: make incDepth() use parlist
3753
3754 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * undo_funcs.C (firstUndoParagraph): adjust
3757
3758         * text3.C (gotoInset): adjust
3759         (dispatch): adjust, and rewrite loop.
3760
3761         * text2.C (init): adjust, and rewrite loop.
3762         (redoParagraphs): adjust
3763         (updateInset): adjust, and rewrite loop.
3764         (deleteEmptyParagraphMechanism): adjust
3765
3766         * tabular.C (LyXTabular): adjust
3767         (SetMultiColumn): adjust
3768         (TeXRow): adjust
3769
3770         * lyxtext.[Ch] (ownerParagraph): delete function
3771         (ownerParagraphs): new function returns a ParagraphList.
3772
3773         * BufferView.C (removeAutoInsets): adjust
3774         (insertErrors): adjust
3775         (setCursorFromRow): adjust
3776
3777 2003-04-01  Angus Leeming  <leeming@lyx.org>
3778
3779         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3780         in the frontends.
3781
3782 2003-04-02  John Levon  <levon@movementarian.org>
3783
3784         * lyxtext.h:
3785         * text.C:
3786         * Makefile.am:
3787         * text_funcs.h:
3788         * text_funcs.C: make transposeChars a free function
3789
3790         * lyxrow_funcs.C: remove wrong comment
3791
3792 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * lyxtext.h: adjust
3795         * rowpainter.C: adjust
3796         * text.C: adjust
3797         * text2.C: adjust
3798         * text3.C: adjust
3799
3800         * lyxrow_funcs. [Ch]: new files
3801
3802         * lyxrow.[Ch]: remove next and previous pointers
3803         (next,previous): remove accessor functions
3804         (isParEnd): move to lyxrow_funcs
3805         (lastPos): move to lyxrow_funcs
3806         (nextRowIsAllInset): move to lyxrow_funcs
3807         (lastPrintablePos): move to lyxrow_funcs
3808         (numberOfSeparators): move to lyxrow_funcs
3809         (numberOfHfills): move to lyxrow_funcs
3810         (numberOfLabelHfills): move to lyxrow_funcs
3811         (hfillExpansion): move to lyxrow_funcs
3812
3813         * lyxfunc.C: adjust
3814
3815         * bufferview_funcs.C (toggleAndShow): adjust
3816
3817         * RowList.h: Remove class RowList from file leave just a
3818         std::list<Row>.
3819
3820         * RowList.C: delete file
3821
3822         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3823         and lyxrow_funcs.h
3824
3825 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * text3.C (cursorPrevious): adjust
3828         (cursorNext): adjust
3829         (dispatch): adjust
3830
3831         * text2.C (redoHeightOfParagraph): adjust
3832         (redoDrawingOfParagraph): adjust
3833         (setCursor): adjust
3834
3835         * text.C (breakParagraph): adjust
3836         (insertChar): adjust
3837         (backspace): adjust
3838
3839         * rowpainter.C (RowPainter): adjust
3840         (leftMargin): simplify and adjust
3841         (most rowpainter functions): adjust.
3842
3843         * rowpainter.h: store the row as RowList::iterator not as Row*
3844
3845         * lyxcursor.C (row): taka RowList::iterator as arg
3846         (irow): ditto
3847
3848         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3849         of Row*.
3850
3851 2003-04-01  Angus Leeming  <leeming@lyx.org>
3852
3853         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3854         stuff like bool Bool.
3855
3856 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3857
3858         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3859         rewrite a loop
3860
3861 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3864         RowList::iterator.
3865
3866         * lyxtext.h (rows): drop one version and leve a const variant that
3867         returns a RowList::iterator.
3868
3869 2003-03-31  Angus Leeming  <leeming@lyx.org>
3870
3871         * text.C (fill): ensure that the signature is the same as that in the
3872         header file.
3873
3874 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3875
3876         * text2.C (redoParagraphs): adjust
3877         (updateCounters): adjust
3878         (checkParagraph): adjust
3879         (getColumnNearX): adjust and reformat a bit.
3880
3881         * text.C (top_y): adjust
3882         (workWidth): adjust
3883         (leftMargin): adjust
3884         (prepareToPrint): adjust
3885         (getRow): adjust
3886         (getRowNearY): adjust
3887
3888         * lyxtext.h: make rowlist_ mutable.
3889
3890         * RowList.h: add const_iterator
3891         * RowList.C: adjust for RowList::const_iterator.
3892
3893         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3894         adjust.
3895
3896 2003-03-31  John Levon  <levon@movementarian.org>
3897
3898         * lyxrc.h:
3899         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3900
3901         * lyx_main.C: set default fonts from using lyx_gui funcs
3902
3903         * exporter.C: pdf_mode moved from lyxrc
3904
3905         * lyx_cb.C:
3906         * lyxfunc.C: changes from above
3907
3908 2003-03-31  John Levon  <levon@movementarian.org>
3909
3910         * lyx_main.C: fix to the last fix
3911
3912 2003-03-31  John Levon  <levon@movementarian.org>
3913
3914         * bufferlist.C: "Load original" -> "Load Original"
3915
3916         * converter.C:
3917         * exporter.C:
3918         * importer.C:
3919         * lyx_main.C:
3920         * format.C: more Alert cleanups
3921
3922 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * text2.C (removeParagraph): make it take a RowList::iterator as
3925         arg, adjust.
3926         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3927         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3928
3929         * text.C (anchor_row): make it take a RowList::iterator as arg,
3930         adjust.
3931         (computeBidiTables): make it take a const reference to Row instead
3932         of Row pointer, adjust.
3933         (leftMargin): make it take a RowList::iterator as arg, adjust.
3934         (rowBreakPoint): adjust
3935         (breakAgainOneRow): make it take a RowList::iterator as arg,
3936         adjust.
3937         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3938
3939         * bufferview_funcs.C (toggleAndShow): adjust
3940
3941 2003-03-30  John Levon  <levon@movementarian.org>
3942
3943         * Makefile.am:
3944         * BoostFormat.h:
3945         * boost-inst.C: moved to support
3946
3947         * several files: changes as a result
3948
3949 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * text2.C (LyXText): adjust.
3952         (init): adjust
3953         (removeRow): make it take a RowList::iterator as arg, adjust.
3954         (fullRebreak): adjust
3955         (deleteEmptyParagraphMechanism): adjust
3956         (clearPaint): adjust
3957         (postPaint): adjust
3958
3959         * text.C (top_y): adjust
3960         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3961         (breakAgain): make it take a RowList::iterator as arg, adjust.
3962         (breakParagraph): adjust
3963         (insertChar): adjust
3964         (backspace): adjust
3965
3966         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3967         need_break_row, and refresh_row.
3968
3969         * text3.C (dispatch): adjust
3970
3971         * text2.C (checkParagraph): adjust
3972         (setCursor): adjust
3973         (setCursorFromCoordinates): adjust
3974
3975         * text.C (top_y): adjust
3976         (workWidth): adjust
3977         (getRow): make it return a RowList::iterator, adjust
3978         (getRowNearY): make it return a RowList::iterator, adjust
3979
3980         * text2.C (init): adjust
3981         (insertRow): remove function
3982         (insertParagraph): adjust
3983         (redoParagraphs): adjust
3984         (fullRebreak): adjust
3985         (updateCounters): adjust
3986
3987         * text.C (top_y): rewrite to use RowList iterators.
3988         (top_y): adjust
3989         (setHeightOfRow): rewrite to sue RowList iterators.
3990         (appendParagraph): adjust
3991         (breakAgain): adjust
3992         (breakAgainOneRow): adjust
3993         (breakParagraph): adjust
3994         (getRow): adjust
3995         (getRowNearY): adjust, and remove commented code.
3996
3997         * lyxtext.h (firstRow): delete function
3998         (lastRow): delete function
3999         (rows): new function (const and non-const versions.)
4000         (insertRow): delete function
4001
4002         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4003
4004 2003-03-29  John Levon  <levon@movementarian.org>
4005
4006         * BufferView_pimpl.C: always update scrollbar top
4007         because pasting text when we're anchored could mean we
4008         miss an update altogether
4009
4010 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * text2.C (init): use rowlist_.end() and not 0.
4013         (insertRow): change to take a RowList::iterator as arg, adjust
4014         for this.
4015         (insertParagraph): change to take a RowList::iterator as arg,
4016         adjust for this.
4017         (redoParagraphs): remove some debug msgs.
4018
4019         * text.C (appendParagraph): change to take a RowList::iterator
4020         arg, adjust for this.
4021         (breakAgain): add an assert
4022         (breakAgainOneRow): ditto
4023
4024 2003-03-29  John Levon  <levon@movementarian.org>
4025
4026         * text2.C: do not clear selection after inc/decDepth
4027         (bug 550)
4028
4029 2003-03-29  John Levon  <levon@movementarian.org>
4030
4031         * BufferView.C:
4032         * buffer.C: fix broken strerrors according to Lars
4033
4034 2003-03-29  John Levon  <levon@movementarian.org>
4035
4036         * converters.C: more Alert cleanups
4037
4038 2003-03-29  John Levon  <levon@movementarian.org>
4039
4040         * bufferview_funcs.C: remove pointless Alert
4041
4042         * buffer.C: fix confusing error message when
4043         a template is chmoded 000
4044
4045 2003-03-29  John Levon  <levon@movementarian.org>
4046
4047         * BufferView.C:
4048         * BufferView.h:
4049         * BufferView_pimpl.C: Alert fixes
4050
4051         * Makefile.am:
4052         * tabular.C:
4053         * tabular-old.C: remove unused table compat reading
4054
4055 2003-03-29  John Levon  <levon@movementarian.org>
4056
4057         * BufferView.C:
4058         * buffer.C:
4059         * lyx_cb.h:
4060         * lyx_cb.C: more Alert cleanups
4061
4062         * lyxfunc.C: don't allow chktex if not latex document
4063
4064 2003-03-29  John Levon  <levon@movementarian.org>
4065
4066         * lyx_cb.C:
4067         * BufferView.C:
4068         * buffer.C: warnings pushed down from support/,
4069         kill err_alert
4070
4071 2003-03-29  John Levon  <levon@movementarian.org>
4072
4073         * lyxfunc.C: safety check for C-r (revert)
4074
4075 2003-03-29  John Levon  <levon@movementarian.org>
4076
4077         * bufferlist.h:
4078         * bufferlist.C: several UI fixes using Alert::prompt.
4079         Fix the pointless looping quit code. Fix stupid revert
4080         behaviour (bug 938)
4081
4082         * lyxvc.h:
4083         * lyxvc.C:
4084         * lyx_cb.C: use Alert::prompt
4085
4086         * lyx_main.C: remove a silly question
4087
4088         * lyxfunc.C: remove a couple of silly questions,
4089         use Alert::prompt
4090
4091 2003-03-28  John Levon  <levon@movementarian.org>
4092
4093         * text2.C: fix bug 974 (End on empty par)
4094
4095 2003-03-28  John Levon  <levon@movementarian.org>
4096
4097         * BufferView_pimpl.C:
4098         * LyXAction.C:
4099         * lfuns.h: remove do-nothing math greek lfuns
4100
4101 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * lyxgluelength.h (isValidGlueLength): add default arg on
4104         parameter 2. Remove default arg from friend in class.
4105
4106         * lyxlength.h (isValidLength): add default arg on parameter 2.
4107         Remove default arg from friend in class.
4108
4109         * text2.C (LyXText): adjust, initialize refresh_row.
4110         (init): adjust
4111         (removeRow): adjust
4112         (insertRow): adjust
4113         (insertParagraph): adjst
4114         (redoParagraphs): adjust
4115         (fullRebreak): adjust
4116         (updateCounters): adjust
4117         (deleteEmptyParagraphMechanism): first attempt at fixing a
4118         crashing bug.
4119
4120         * text.C (top_y): adjust
4121         (setHeightOfRow): adjust
4122         (getRow): adjust
4123         (getRowNearY): adjust
4124
4125         * lyxtext.h: include RowList.h
4126         (~LyXText): not needed anymore, deleted.
4127         (firstRow): modify for RowList
4128         (lastRow): new function
4129         Delete firstrow and lastrow class variables, add a Rowlist
4130         rowlist_ class variable.
4131
4132         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4133         paragraph is empty.
4134
4135         * RowList.C (insert): fix case where it == begin().
4136
4137 2003-03-26  Angus Leeming  <leeming@lyx.org>
4138
4139         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4140         the thesaurus dialog.
4141
4142 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4145
4146         * RowList.[Ch]: new files
4147
4148         * ParagraphList.C (erase): handle the case where it == begin
4149         correctly.
4150
4151 2003-03-25  John Levon  <levon@movementarian.org>
4152
4153         * Makefile.am:
4154         * aspell_local.h:
4155         * aspell.C: add new aspell support
4156
4157         * lyxrc.h:
4158         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4159         have it accessible.
4160
4161 2003-03-25  Angus Leeming  <leeming@lyx.org>
4162
4163         * lfuns.h:
4164         * LyXAction.C (init): new LFUN_INSET_INSERT.
4165
4166         * BufferView_pimpl.C (dispatch): split out part of the
4167         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4168
4169         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4170         LFUN_INSET_APPLY.
4171
4172 2003-03-25  Angus Leeming  <leeming@lyx.org>
4173
4174         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4175
4176 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * text2.C:
4179         * text3.C: remove useless row->height(0)
4180
4181 2003-03-25  John Levon  <levon@movementarian.org>
4182
4183         * lyxtext.h:
4184         * text2.C:
4185         * text3.C: rename the refreshing stuff to better names
4186
4187 2003-03-24  John Levon  <levon@movementarian.org>
4188
4189         * BufferView_pimpl.h:
4190         * BufferView_pimpl.C: update layout choice on a mouse
4191         press/release
4192
4193 2003-03-23  John Levon  <levon@movementarian.org>
4194
4195         * Makefile.am: fix commandtags.h reference
4196
4197 2003-03-22  John Levon  <levon@movementarian.org>
4198
4199         * BufferView_pimpl.C:
4200         * lyxtext.h:
4201         * rowpainter.C:
4202         * rowpainter.h:
4203         * text.C:
4204         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4205
4206 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * lyxtext.h:
4209         * text.C: take the rtl methods out of line
4210
4211 2003-03-21 André Pönitz <poenitz@gmx.net>
4212
4213         * metricsinfo.[Ch]: new files containing structures to be passed around
4214         during the two-phase-drawing...
4215
4216 2003-03-21 André Pönitz <poenitz@gmx.net>
4217
4218         * lyxtextclass.C: read 'environment' tag.
4219
4220 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * text2.C (removeRow): fix bug 964
4223
4224 2003-03-20  John Levon  <levon@movementarian.org>
4225
4226         * rowpainter.C:
4227         * text.C:
4228         * text2.C: paint cleanups. Inset::update() dropped font
4229         parameter
4230
4231 2003-03-19  John Levon  <levon@movementarian.org>
4232
4233         * lyxfunc.C: only fitcursor/markDirty if available()
4234
4235 2003-03-19  John Levon  <levon@movementarian.org>
4236
4237         * commandtags.h: rename to ...
4238
4239         * lfuns.h: ... this, and renumber / cleanup
4240
4241 2003-03-19  John Levon  <levon@movementarian.org>
4242
4243         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4244         fit the cursor after an lfun
4245
4246         * BufferView.h:
4247         * BufferView.C:
4248         * BufferView_pimpl.h:
4249         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4250
4251         * LyXAction.C: layout-character should have ReadOnly
4252
4253         * ParagraphParameters.C:
4254         * buffer.C:
4255         * bufferview_funcs.C:
4256         * lyx_cb.C:
4257         * lyxfind.C:
4258         * lyxtext.h:
4259         * text.C:
4260         * text2.C:
4261         * text3.C:
4262         * undo_funcs.C: changes from above
4263
4264 2003-03-18  John Levon  <levon@movementarian.org>
4265
4266         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4267         remove it from update()
4268
4269         * lyxfunc.C: update layout choice after an lfun
4270
4271         * text3.C: remove extra updateLayoutChoice()s
4272
4273 2003-03-18  John Levon  <levon@movementarian.org>
4274
4275         * text.C: top_y change means full repaint, fix
4276         a drawing bug with cursor movement
4277
4278 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4279
4280         * lyxtext.h:
4281         * text.C:
4282         * text2.C: anchor row on setCursor
4283
4284 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4285
4286         * lyxtext.h: remove almost all mutable keywords
4287         * text.C:
4288         * text2.C:
4289         * text3.C: remove const keywords accordingly
4290
4291 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4294         anon namespace
4295         (TeXEnvironment): ditto
4296         (TeXOnePar): ditto
4297
4298 2003-03-17  John Levon  <levon@movementarian.org>
4299
4300         * text.C (rowBreakPoint): remove attempt to fix displayed
4301         math insets inside a manual label
4302
4303 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * lyxtext.h: remove BufferView* as first arg from almost all class
4306         functions.
4307         * other files: adjust.
4308
4309 2003-03-17  John Levon  <levon@movementarian.org>
4310
4311         * lyxtext.h:
4312         * undo_funcs.C:
4313         * text2.C: more paint cleanups
4314
4315         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4316
4317         * rowpainter.h:
4318         * rowpainter.C: remove "smart" background painting code
4319
4320 2003-03-16  John Levon  <levon@movementarian.org>
4321
4322         * lyxtext.h:
4323         * text.C:
4324         * text2.C:
4325         * text3.C: add helper functions for setting refresh_row/y
4326
4327 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4328
4329         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4330         newline inset which *can* get inserted in the pass_thru layouts.
4331         This is primarily for literate documents.
4332
4333 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4334
4335         * buffer.C: increment LYX_FORMAT to 223
4336
4337 2003-03-14 André Pönitz <poenitz@gmx.net>
4338
4339         * textclass.h: prepare for environment handling, ws changes
4340         * lyxlayout.C: read latexheader and latexfooter tags
4341
4342 2003-03-14  John Levon  <levon@movementarian.org>
4343
4344         * text2.C: rewrite ::status() a bit
4345
4346 2003-03-13  John Levon  <levon@movementarian.org>
4347
4348         * lyxtext.h: add some docs
4349
4350 2003-03-13  John Levon  <levon@movementarian.org>
4351
4352         * lyxtext.h:
4353         * text.C:
4354         * text2.C:
4355         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4356
4357 2003-03-13  John Levon  <levon@movementarian.org>
4358
4359         * text3.C: fix appendix redrawing
4360
4361 2003-03-13  John Levon  <levon@movementarian.org>
4362
4363         * text.C (setHeightOfRow):
4364         * rowpainter.h:
4365         * rowpainter.C: make appendix mark have the text
4366           "Appendix" so the user knows what it is
4367
4368         * LColor.h:
4369         * LColor.C: s/appendixline/appendix/ from above
4370
4371 2003-03-13  John Levon  <levon@movementarian.org>
4372
4373         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4374
4375         * text.C: fix a getChar(pos) bug properly
4376
4377 2003-03-13  Angus Leeming  <leeming@lyx.org>
4378
4379         * commandtags.h:
4380         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4381         Probably only temporary. Let's see how things pan out.
4382
4383         * BufferView.C (unlockInset):
4384         * BufferView_pimpl.C (fitCursor):
4385         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4386
4387         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4388         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4389
4390         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4391         new functions that convert ParagraphParameters to and from a string.
4392
4393         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4394         BufferView::Pimpl's dispatch.
4395         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4396
4397 2003-03-13 André Pönitz <poenitz@gmx.net>
4398
4399         * lyxfunc.C:
4400         * text3.C:
4401         * factory.C: make it aware of InsetEnv
4402
4403 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * text2.C (setCursor): never ask for one past last
4406         (setCursor): add some debugging messages.
4407
4408         * text.C (singleWidth): never ask for one past last
4409         (singleWidth): ditto
4410         (leftMargin): ditto
4411         (rightMargin): ditto
4412         (rowBreakPoint): ditto
4413         (setHeightOfRow): ditto
4414         (prepareToPrint): ditto
4415
4416         * rowpainter.C (paintBackground): never ask for one past last
4417         (paintText): never ask for one past last
4418
4419         * paragraph_pimpl.C (getChar): make the assert stricter, never
4420         allow the one past last pos to be taken
4421
4422         * paragraph.C (getChar): ws changes only
4423
4424         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4425         (numberOfSeparators): ditto
4426         (numberOfHfills): ditto
4427
4428 2003-03-12  John Levon  <levon@movementarian.org>
4429
4430         * author.h:
4431         * author.C:
4432         * bufferparams.h:
4433         * bufferparams.C:
4434         * paragraph_funcs.C: fix per-buffer authorlists
4435
4436 2003-03-12  John Levon  <levon@movementarian.org>
4437
4438         * text.C: fix newline in right address
4439
4440 2003-03-12  Angus Leeming  <leeming@lyx.org>
4441
4442         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4443         duplicate those in LyXFunc::dispatch.
4444
4445         * commandtags.h:
4446         * LyXAction.C:
4447         * ToolbarDefaults.C:
4448         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4449         Add LFUN_FONTFREE_UPDATE.
4450
4451         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4452         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4453
4454         * bufferview_func.[Ch]: several new functions to facilliate
4455         transfer of data to and from the character dialog.
4456
4457 2003-03-12  John Levon  <levon@movementarian.org>
4458
4459         * buffer.C:
4460         * paragraph.h:
4461         * paragraph.C:
4462         * paragraph_funcs.C:
4463         * paragraph_pimpl.C:
4464         * sgml.C:
4465         * tabular.C:
4466         * text.C:
4467         * text3.C: remove META_NEWLINE in favour of an inset
4468
4469         * rowpainter.h:
4470         * rowpainter.C: remove paintNewline (done by inset)
4471
4472 2003-03-12  John Levon  <levon@movementarian.org>
4473
4474         * paragraph_pimpl.C: complain about bad getChar()s
4475         for a while at least
4476
4477 2003-03-12  John Levon  <levon@movementarian.org>
4478
4479         * buffer.h:
4480         * buffer.C: move paragraph read into a separate function,
4481         a little renaming to reflect that.
4482
4483         * bufferparams.h:
4484         * bufferparams.C: remove the author_ids map, not necessary now
4485
4486         * factory.h:
4487         * factory.C: moved Buffer::readInset to here
4488
4489         * paragraph_funcs.h:
4490         * paragraph_funcs.C: readParagraph free function moved from
4491         buffer.C
4492
4493         * tabular.C: name change
4494
4495 2003-03-12  John Levon  <levon@movementarian.org>
4496
4497         * buffer.C:
4498         * ParagraphParameters.C: move par params input to
4499         a read() method
4500
4501         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4502         behave like a normal read from the stream wrt reading
4503         a line vs. a \\token
4504
4505 2003-03-12  John Levon  <levon@movementarian.org>
4506
4507         * paragraph.C:
4508         * ParagraphParameters.h:
4509         * ParagraphParameters.C: move output code to a
4510         ::write() method
4511
4512 2003-03-12  John Levon  <levon@movementarian.org>
4513
4514         * BufferView.C (insertLyXFile):
4515         * buffer.h:
4516         * buffer.C:
4517         * tabular.C: use a parlist iterator for creating the
4518           document.
4519
4520 2003-03-12  John Levon  <levon@movementarian.org>
4521
4522         * buffer.C: make current_change static local not
4523           static file-scope
4524
4525 2003-03-12  John Levon  <levon@movementarian.org>
4526
4527         * buffer.C: fix insertStringAsLines for change tracking
4528
4529 2003-03-12  John Levon  <levon@movementarian.org>
4530
4531         * BufferView.C:
4532         * tabular.C:
4533         * buffer.h:
4534         * buffer.C:
4535         * bufferparams.h:
4536         * bufferparams.C: move author list into params. Rename some
4537           functions. Move the header reading into a separate token
4538           loop. Move the header token reading into BufferParams.
4539
4540 2003-03-12  John Levon  <levon@movementarian.org>
4541
4542         * changes.C: put debug inside lyxerr.debugging() checks
4543
4544 2003-03-11 André Pönitz <poenitz@gmx.net>
4545
4546         * factory.C: make it aware of InsetHFill
4547
4548 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4549
4550         * buffer.C (latexParagraphs): move function from here...
4551         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4552         args.
4553
4554 2003-03-10  Angus Leeming  <leeming@lyx.org>
4555
4556         * LyXAction.C (init): fix bug in poplating array with multiple entries
4557         with the same LFUN (spotted by JMarc).
4558
4559 2003-03-10  John Levon  <levon@movementarian.org>
4560
4561         * text.C:
4562         * text2.C: move getColumnNearX() near its
4563         only call site
4564
4565 2003-03-10  John Levon  <levon@movementarian.org>
4566
4567         * text.C: fix break before a minipage
4568
4569 2003-03-10  John Levon  <levon@movementarian.org>
4570
4571         * text.C: fix the last commit
4572
4573 2003-03-09  John Levon  <levon@movementarian.org>
4574
4575         * lyxtext.h:
4576         * text.C:
4577         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4578         bug 365 (don't break before insets unless needed). Don't
4579         return a value > last under any circumstances.
4580
4581 2003-03-09  Angus Leeming  <leeming@lyx.org>
4582
4583         * BufferView_pimpl.C (trackChanges, dispatch): call
4584         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4585
4586 2003-03-09  Angus Leeming  <leeming@lyx.org>
4587
4588         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4589         than Dialogs::showAboutlyx().
4590
4591 2003-03-09  Angus Leeming  <leeming@lyx.org>
4592
4593         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4594         than Dialogs::showTabularCreate().
4595
4596 2003-03-09  John Levon  <levon@movementarian.org>
4597
4598         * lyxtext.h:
4599         * text.C:
4600         * text2.C: 3rd arg to nextBreakPoint was always the same.
4601           Use references.
4602
4603 2003-03-08  John Levon  <levon@movementarian.org>
4604
4605         * lyxrow.C:
4606         * paragraph.C:
4607         * paragraph.h:
4608         * rowpainter.C:
4609         * text.C:
4610         * text2.C: Remove the "main" bit from the "main body"
4611           notion.
4612
4613 2003-03-08  John Levon  <levon@movementarian.org>
4614
4615         * text.C (leftMargin): The left margin of an empty
4616         manual label paragraph should not include the label width
4617         string length.
4618
4619         * text.C (prepareToPrint): don't attempt to measure hfills
4620         for empty manual label paragraphs - the answer should be 0
4621
4622 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * CutAndPaste.C: remove commented code and reindent.
4625
4626 2003-03-08  John Levon  <levon@movementarian.org>
4627
4628         * lyxfunc.h:
4629         * lyxfunc.C: move reloadBuffer()
4630
4631         * BufferView.h:
4632         * BufferView.C: to here
4633
4634         * lyxvc.C: add comment
4635
4636         * vc-backend.h:
4637         * vc-backend.C: call bv->reload() to avoid
4638           getStatus() check on MENURELOAD
4639
4640 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4641
4642         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4643         to an old format .dep file.
4644
4645 2003-03-07  Angus Leeming  <leeming@lyx.org>
4646
4647         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4648         when the LFUN_MOUSE_RELEASE should have been handled by
4649         inset->localDispatch.
4650
4651 2003-03-07  Angus Leeming  <leeming@lyx.org>
4652
4653         * BufferView_pimpl.C (dispatch):
4654         * LyXAction.C (init):
4655         * ToolbarDefaults.C (init):
4656         * commandtags.h:
4657         * lyxfunc.C (getStatus):
4658         remove LFUN_INSET_GRAPHICS.
4659
4660         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4661
4662 2003-03-07  Angus Leeming  <leeming@lyx.org>
4663
4664         * commandtags.h:
4665         * LyXAction.C (init):
4666         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4667
4668         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4669
4670         * commandtags.h:
4671         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4672
4673         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4674         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4675
4676 2003-03-07  Angus Leeming  <leeming@lyx.org>
4677
4678         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4679         remove "ert".
4680
4681 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * ParagraphList.C (front): new function
4684         (back): implement
4685
4686 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4689         and top_row_offset_. removed var first_y.
4690         * text.C (top_y):
4691         * text2.C (LyXText, removeRow):
4692         * text3.C:
4693         * BufferView_pimpl.C:
4694         use these methods instead of using first_y
4695
4696 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * text2.C (pasteSelection): adjust for checkPastePossible
4699
4700         * CutAndPaste.C: remove Paragraph * buf and replace with
4701         ParagraphList paragraphs.
4702         (DeleteBuffer): delete
4703         (cutSelection): change the tc type to textclass_type
4704         (copySelection): change the tc type to textclass_type
4705         (copySelection): adjust for ParagraphList
4706         (pasteSelection): change the tc type to textclass_type
4707         (pasteSelection): adjust for Paragraphlist
4708         (nrOfParagraphs): simplify for ParagraphList
4709         (checkPastePossible): simplify for ParagraphList
4710         (checkPastePossible): remove unused arg
4711
4712         * ParagraphList.C (insert): handle the case where there are no
4713         paragraphs yet.
4714
4715         * CutAndPaste.h: make CutAndPaste a namespace.
4716
4717         * text3.C (dispatch): adjust
4718
4719         * text.C (breakParagraph): add a ParagraphList as arg
4720
4721         * paragraph_funcs.C (breakParagraph): change to take a
4722         BufferParams and a ParagraphList as args.
4723         (breakParagraphConservative): ditto
4724         (mergeParagraph): ditto
4725         (TeXDeeper): add a ParagraphList arg
4726         (TeXEnvironment): ditto
4727         (TeXOnePar): ditto
4728
4729         * buffer.C (readLyXformat2): adjust
4730         (insertStringAsLines): adjust
4731         (latexParagraphs): adjust
4732
4733         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4734         (cutSelection): adjust
4735         (pasteSelection): adjust
4736
4737         * BufferView_pimpl.C (insertInset): adjust
4738
4739 2003-03-05  Angus Leeming  <leeming@lyx.org>
4740
4741         * commandtags.h:
4742         * LyXAction.C (init):
4743         * BufferView_pimpl.C (dispatch):
4744         * lyxfunc.C (getStatus):
4745         remove LFUN_CHILD_INSERT.
4746
4747         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4748
4749 2003-03-05  Angus Leeming  <leeming@lyx.org>
4750
4751         * commandtags.h:
4752         * LyXAction.C (init):
4753         * src/factory.C (createInset):
4754         * lyxfunc.C (getStatus):
4755         * text3.C (dispatch):
4756         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4757
4758         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4759
4760 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * ParagraphList.C (insert): handle insert right before end()
4763         (erase): fix cases where it can be first or last paragraph.
4764
4765 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4768         Paragraph::next and Paragraph::previous
4769         (TeXOnePar): ditto
4770
4771         * text.C (breakParagraph): adjust
4772
4773         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4774         BufferParams& as arg.
4775         (breakParagraph): use ParagraphList::insert
4776         (breakParagraphConservative): take a Buffer* instead of a
4777         BufferParams& as arg.
4778         (breakParagraphConservative): use ParagraphList::insert.
4779
4780         * buffer.C (insertStringAsLines): un-const it
4781         (insertStringAsLines): adjust
4782
4783         * ParagraphList.C (insert): new function
4784
4785         * CutAndPaste.C (pasteSelection): adjust
4786
4787         * text.C (backspace): adjust
4788
4789         * tabular.C (SetMultiColumn): adjust
4790
4791         * CutAndPaste.C (cutSelection): adjust
4792         (pasteSelection): adjust
4793
4794         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4795         Buffer const * as arg
4796
4797         * ParagraphList.C (erase): new function
4798         * paragraph_funcs.C (mergeParagraph): use it
4799         (mergeParagraph): make it take a Buffer* instead of a
4800         BufferParams* as arg
4801
4802         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4803         as arg
4804         (breakParagraphConservative): ditto
4805
4806         * paragraph.h: remove the breakParagraph friend
4807
4808         * paragraph.C (eraseIntern): new function
4809         (setChange): new function
4810
4811         * paragraph_funcs.C (mergeParagraph): make it take a
4812         ParagraphList::iterator instead of a Paragraph *, adjust
4813         accordingly.
4814
4815         * paragraph.h: move an #endif so that the change tracking stuff
4816         also works in the NO_NEXT case.
4817
4818 2003-03-04  Angus Leeming  <leeming@lyx.org>
4819
4820         * commandtags.h:
4821         * LyXAction.C: new LFUN_INSET_MODIFY.
4822
4823         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4824         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4825
4826 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * several files: ws changes only
4829
4830         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4831         (TeXEnvironment): ditto
4832         (TeXDeeper): ditto
4833
4834         * buffer.C (makeLaTeXFile): adjust
4835         (latexParagraphs): make it take ParagraphList::iterator as args
4836
4837 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * buffer.C (latexParagraphs): adjust
4840
4841         * paragraph.C (TeXOnePar): move function...
4842         (optArgInset): move function...
4843         (TeXEnvironment): move function...
4844         * paragraph_pimpl.C (TeXDeeper): move function...
4845         * paragraph_funcs.C: ...here
4846
4847         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4848
4849 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * buffer.C (readInset): remove compability code for old Figure and
4852         InsetInfo insets
4853
4854 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * buffer.C: ws changes
4857         (readInset):
4858
4859         * BufferView_pimpl.C: ditto
4860         * author.C: ditto
4861         * buffer.h: ditto
4862         * bufferlist.h: ditto
4863         * changes.h: ditto
4864         * lyxfunc.C: ditto
4865
4866 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4867
4868         * converter.[Ch]: split into itself +
4869         * graph.[Ch]
4870         * format.[Ch]
4871         * Makefile.am: += graph.[Ch] + format.[Ch]
4872         * MenuBackend.C
4873         * buffer.C
4874         * exporter.C
4875         * importer.C
4876         * lyx_main.C
4877         * lyxfunc.C
4878         * lyxrc.C: added #include "format.h"
4879
4880 2003-02-27  Angus Leeming  <leeming@lyx.org>
4881
4882         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4883           a label.
4884
4885         * factory.C (createInset): add "label" to the factory.
4886
4887         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4888           string and do no more.
4889
4890 2003-02-27  Angus Leeming  <leeming@lyx.org>
4891
4892         * commandtags.h:
4893         * LyXAction.C (init):
4894         * factory.C (createInset):
4895         * BufferView_pimpl.C (dispatch):
4896           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4897
4898         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4899
4900         * lyxfunc.C (dispatch):
4901         * text3.C (dispatch): pass name to params2string.
4902
4903 2003-02-26  Angus Leeming  <leeming@lyx.org>
4904
4905         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4906           blocks together.
4907           Rearrange the ~includes. Strip out the unnecessary ones.
4908
4909         * factory.C (createInset): reformat.
4910           create new insets for the various LFUN_XYZ_APPLY lfuns.
4911
4912 2003-02-26  John Levon  <levon@movementarian.org>
4913
4914         * lyxrow.h:
4915         * lyxrow.C: add isParStart,isParEnd helpers
4916
4917         * paragraph.h: make isInserted/DeletedText take refs
4918
4919         * paragraph_funcs.h:
4920         * paragraph_funcs.C: remove #if 0'd code
4921
4922         * lyxtext.h:
4923         * text3.C:
4924         * text2.C:
4925         * text.C: use lyxrow helpers above.
4926           Move draw and paint routines to RowPainter.
4927           Make several methods use refs not pointers.
4928           Make backgroundColor() const.
4929           Add markChangeInDraw(), isInInset().
4930           Merge changeRegionCase into changeCase.
4931           Make workWidth() shouldn't-happen code into an Assert.
4932
4933         * rowpainter.h:
4934         * rowpainter.C: new class for painting a row.
4935
4936         * vspace.h:
4937         * vspace.C: make inPixels take a ref
4938
4939 2003-02-26  Angus Leeming  <leeming@lyx.org>
4940
4941         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4942         LFUN_REF_APPLY.
4943
4944 2003-02-25  John Levon  <levon@movementarian.org>
4945
4946         * ispell.C: give the forked command a more accurate name
4947
4948 2003-02-22  John Levon  <levon@movementarian.org>
4949
4950         * toc.h:
4951         * toc.C: make TocItem store an id not a Paragraph *
4952           (bug #913)
4953
4954 2003-02-21  Angus Leeming  <leeming@lyx.org>
4955
4956         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4957           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4958           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4959           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4960           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4961           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4962
4963         * BufferView_pimpl.C (dispatch):
4964         * LyXAction.C (init):
4965         * factory.C (createInset):
4966         * lyxfunc.C (getStatus, dispatch):
4967         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4968
4969 2003-02-21  Angus Leeming  <leeming@lyx.org>
4970
4971         * BufferView_pimpl.C (MenuInsertLyXFile):
4972         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4973         * lyxfunc.C (menuNew, open, doImport):
4974           no longer pass a LyXView & to fileDlg.
4975
4976 2003-02-21  Angus Leeming  <leeming@lyx.org>
4977
4978         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4979         * LyXAction.C: change, BIBKEY to BIBITEM.
4980         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4981         Change InsetBibKey to InsetBibitem.
4982         Change BIBKEY_CODE to BIBITEM_CODE.
4983         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4984         * factory.C: replace insetbib.h with insetbibitem.h.
4985         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4986         * paragraph.C: replace insetbib.h with insetbibitem.h.
4987         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4988         Change bibkey() to bibitem().
4989         * text.C: remove insetbib.h.
4990         * text2.C: replace insetbib.h with insetbibitem.h.
4991         change bibkey() to bibitem().
4992         * text3.C: remove insetbib.h.
4993         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4994
4995 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4996
4997         * lyxrc.C (output): enclose user email in quotes (in case there are
4998         several words)
4999
5000 2003-02-18  John Levon  <levon@movementarian.org>
5001
5002         * buffer.h: add std::
5003
5004 2003-02-17  John Levon  <levon@movementarian.org>
5005
5006         * SpellBase.h:
5007         * ispell.h:
5008         * ispell.C:
5009         * pspell.h:
5010         * pspell.C: reworking. Especially in ispell, a large
5011           number of clean ups and bug fixes.
5012
5013         * lyxfunc.C: fix revert to behave sensibly
5014
5015 2003-02-17 André Pönitz <poenitz@gmx.net>
5016
5017         * LyXAction.C:
5018         * commandtags.h: new LFUN_INSERT_BIBKEY
5019
5020         * layout.h:
5021         * lyxlayout.C:
5022         * buffer.C:
5023         * factory.C:
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * paragraph.[Ch]:
5028         * paragraph_func.C: remove special bibkey handling
5029
5030 2003-02-17  John Levon  <levon@movementarian.org>
5031
5032         * text.C (Delete): fix case where delete at the end of
5033           the very first paragraph would not merge the pars
5034
5035 2003-02-17  John Levon  <levon@movementarian.org>
5036
5037         * lyxrow.C: fix lastPrintablePos()
5038
5039 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5040
5041         * bufferparams.C (writeLaTeX): add a std:here
5042
5043         * buffer.C: and remove a using directive there
5044
5045 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5046
5047         * buffer.C (makeLaTeXFile): move the code that generates the
5048           preamble...
5049
5050         * bufferparams.C (writeLaTeX): ... in this new method
5051
5052         * LaTeXFeatures.C (getEncodingSet): make const
5053           (getLanguages): make const
5054
5055         * MenuBackend.C (binding): returns the binding associated to this
5056           action
5057           (add): sets the status of each item by calling getStatus. Adds
5058           some intelligence.
5059           (read): add support for OptSubMenu
5060           (expand): remove extra separator at the end of expanded menu
5061
5062 2003-02-15  John Levon  <levon@movementarian.org>
5063
5064         * BufferView.C:
5065         * BufferView_pimpl.C:
5066         * bufferlist.h:
5067         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5068           inset code that had no actual effect. Remove unneeded status
5069           code.
5070
5071 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5072
5073         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5074           in preamble
5075
5076 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5077
5078         * text.C (drawLengthMarker): also draw an arrow marker for
5079           symbolic lengths (medskip...)
5080
5081 2003-02-14  John Levon  <levon@movementarian.org>
5082
5083         * tabular.h:
5084         * tabular.C: better method names
5085
5086 2003-02-14  John Levon  <levon@movementarian.org>
5087
5088         * BufferView_pimpl.C:
5089         * bufferlist.C:
5090         * buffer.C:
5091         * converter.C:
5092         * lyx_cb.C:
5093         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5094           it's a more accurate name. Remove some pointless uses.
5095
5096 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5097
5098         * text2.C (LyXText): change order of initilizers to shut off
5099           warnings
5100
5101 2003-02-14  John Levon  <levon@movementarian.org>
5102
5103         * buffer.C: use ParIterator for getParFromID()
5104
5105         * paragraph.h:
5106         * paragraph.C:
5107         * paragraph_pimpl.h:
5108         * paragraph_pimpl.C: remove unused getParFromID()
5109
5110 2003-02-14  John Levon  <levon@movementarian.org>
5111
5112         * buffer.C: remove some very old #if 0'd parse code
5113
5114 2003-02-13  John Levon  <levon@movementarian.org>
5115
5116         * text.h:
5117         * text.C:
5118         * text2.C: move hfillExpansion(), numberOfSeparators(),
5119           rowLast(), rowLastPrintable(), numberofHfills(),
5120           numberOfLabelHfills() ...
5121
5122         * lyxrow.h:
5123         * lyxrow.C: ... to member functions here.
5124
5125         * paragraph.h:
5126         * paragraph.C:
5127         * lyxtext.h:
5128         * text.C: remove LyXText::beginningOfMainBody(), and call
5129           p->beginningOfMainBody() directly. Move the check for
5130           LABEL_MANUAL into the latter.
5131
5132         * text.h:
5133         * text.C:
5134         * text2.C:
5135         * vspace.C:
5136         * BufferView.h:
5137         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5138
5139         * text.h:
5140         * text.C:
5141         * text2.C:
5142         * text3.C:
5143         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5144           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5145
5146 2003-02-13  John Levon  <levon@movementarian.org>
5147
5148         * CutAndPaste.C: remove debug
5149
5150 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5151
5152         * paragraph.C (asString): remove two unused variables
5153
5154         * lyxtextclass.C (readTitleType):
5155           (Read):
5156           (LyXTextClass): handle new members titletype_ and titlename_
5157
5158         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5159
5160 2003-02-09  John Levon  <levon@movementarian.org>
5161
5162         * buffer.h:
5163         * buffer.C: replace hand-coded list with a map for the dep clean
5164
5165 2003-02-08  John Levon  <levon@movementarian.org>
5166
5167         * LaTeX.C: consolidate code into showRunMessage() helper
5168
5169 2003-02-08  John Levon  <levon@movementarian.org>
5170
5171         * lyxfind.C:
5172         * lyxtext.h:
5173         * text2.C:
5174         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5175           and pass the size in explicitly
5176
5177         * BufferView_pimpl.h:
5178         * BufferView_pimpl.C:
5179         * BufferView.h:
5180         * BufferView.C: add getCurrentChange()
5181
5182         * BufferView_pimpl.h:
5183         * BufferView_pimpl.C: handle change lfuns
5184
5185         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5186           for changes. Mark pasted paragraphs as new.
5187
5188         * support/lyxtime.h:
5189         * support/lyxtime.C:
5190         * DepTable.C: abstract time_t as lyx::time_type
5191
5192         * LColor.h:
5193         * LColor.C: add colours for new text, deleted text, changebars
5194
5195         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5196           package use "usenames" option.
5197
5198         * commandtags.h:
5199         * lyxfunc.C:
5200         * LyXAction.C: add change lfuns
5201
5202         * Makefile.am:
5203         * author.h:
5204         * author.C: author handling
5205
5206         * buffer.h:
5207         * buffer.C: add a per-buffer author list, with first entry as
5208           current author. Handle new .lyx tokens for change tracking. Output
5209           author list to .lyx file. Output dvipost stuff to .tex preamble.
5210           Bump lyx format to 222.
5211
5212         * bufferlist.h:
5213         * bufferlist.C: add setCurrentAuthor() to reset current author details
5214           in all buffers.
5215
5216         * bufferparams.h:
5217         * bufferparams.C: add param for tracking
5218
5219         * bufferview_funcs.C: output change info in minibuffer
5220
5221         * Makefile.am:
5222         * changes.h:
5223         * changes.C: add change-tracking structure
5224
5225         * debug.h:
5226         * debug.C: add CHANGES debug flag
5227
5228         * lyxfind.h:
5229         * lyxfind.C: add code for finding the next change piece
5230
5231         * lyxrc.h:
5232         * lyxrc.C: add user_name and user_email
5233
5234         * lyxrow.h:
5235         * lyxrow.C: add a metric for the top of the text line
5236
5237         * lyxtext.h:
5238         * text.C: implement accept/rejectChange()
5239
5240         * lyxtext.h:
5241         * text.C: paint changebars. Paint new/deleted text in the chosen
5242         colours. Strike through deleted text.
5243
5244         * paragraph.h:
5245         * paragraph.C:
5246         * paragraph_pimpl.h:
5247         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5248           in the current change to the insert functions. Rework erase to
5249           mark text as deleted, adding an eraseIntern() and a range-based
5250           erase(). Implement per-paragraph change lookup and
5251           accept/reject.
5252
5253         * paragraph_funcs.C: Fixup paste for change tracking.
5254
5255         * tabular.C: mark added row/columns as new.
5256
5257         * text.C: fix rowLast() to never return -1. Don't allow
5258           spellchecking of deleted text. Track transpose changes. Don't
5259           allow paragraph break or merge where appropriate.
5260
5261         * text2.C: leave cursor at end of selection after a cut.
5262
5263 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5264
5265         * text.C (getLengthMarkerHeight):
5266         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5267         visible on screen too.
5268
5269 2003-02-07  John Levon  <levon@movementarian.org>
5270
5271         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5272
5273 2003-02-05  Angus Leeming  <leeming@lyx.org>
5274
5275         * lyxserver.C (read_ready): revert my patch of 11 September last year
5276         as it sends PC cpu through the roof. Presumably this means that
5277         the lyxserver will no longer run on an Alpha...
5278
5279 2003-01-30  Angus Leeming  <leeming@lyx.org>
5280
5281         * factory.C (createInset): create an InsetCommandParam of type "index"
5282         and use it to 'do the right thing'.
5283
5284         * text2.C (getStringToIndex): ensure that cursor position is always
5285         reset to the reset_cursor position.
5286
5287 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5288
5289         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5290         disabled.
5291
5292 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5293
5294         * bufferview.C:
5295         * lyxcb.C:
5296         * lyxfunc.C: Output messages with identical spelling, punctuation,
5297         and spaces
5298
5299 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5300
5301         * MenuBackend.C (expandFormats): List only viewable export formats
5302         in "View" menu
5303
5304         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5305         message
5306
5307         * lyxfunc.C (getStatus): Make sure that formats other than
5308         "fax" can also be disabled
5309
5310 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5311
5312         * text3.C (dispatch): put the lfuns that insert insets in 3
5313         groups, and call doInsertInset with appropriate arguments.
5314         (doInsertInset): new function, that creates an inset and inserts
5315         it according to some boolean parameters.
5316
5317 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * buffer.C (readFile): remember to pass on 'par' when calling
5320         readFile recursively.
5321
5322 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5323
5324         * MenuBackend.C (expandFormats): add "..." to import formats.
5325
5326 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5327
5328         * paragraph.C (asString): Remove XForms RTL hacks.
5329
5330 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5331         * buffer.C: fix typo
5332
5333 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * Makefile.am (LIBS): delete var
5336         (lyx_LDADD): add @LIBS@ here instead.
5337
5338 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5339
5340         * Clarify the meaning of "wheel mouse jump"
5341
5342 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5343
5344         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5345         tabular in a float
5346
5347 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5348
5349         * importer.C (Loaders): do not preallocate 3 elements in the
5350         vector, since one ends up with 6 elements otherwise
5351
5352 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5353
5354         * DepTable.C (write): write the file name as last element of the
5355         .dep file (because it may contain spaces)
5356         (read): read info in the right order
5357
5358 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5359
5360         * paragraph_pimpl.C (simpleTeXBlanks):
5361         (simpleTeXSpecialChars):
5362         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5363
5364         * tabular.C (latex): add some missing case statements. Reindent.
5365
5366         * MenuBackend.C (expandToc): remove unused variable.
5367
5368 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5369
5370         * LColor.C:
5371         * LaTeX.C:
5372         * LyXAction.C:
5373         * MenuBackend.C:
5374         * buffer.C:
5375         * exporter.C:
5376         * lyxfunc.C:
5377         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5378         and the like.
5379
5380 2003-01-05  John Levon  <levon@movementarian.org>
5381
5382         * BufferView.h:
5383         * BufferView.C: add getEncoding()
5384
5385         * kbsequence.h:
5386         * kbsequence.C: do not store last keypress
5387
5388         * lyxfunc.h:
5389         * lyxfunc.C: store last keypress here instead. Pass encoding
5390           to getISOEncoded()
5391
5392 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5393
5394         * lyx_main.C (init): remove annoying error message when following
5395         symbolic links (bug #780)
5396
5397 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5398
5399         * text.C (insertChar):
5400         * lyxrc.C (getDescription): remove extra spaces
5401
5402 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5403
5404         * lyxrc.C (getDescription): remove extra spaces
5405
5406 2002-12-20  John Levon  <levon@movementarian.org>
5407
5408         * text3.C: hack fix for page up/down across tall rows
5409
5410 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5411
5412         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5413         not been invoked
5414
5415 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5416
5417         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5418         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5419         thesaurus is not compiled in
5420
5421 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5422
5423         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5424
5425 2002-12-16  Angus Leeming  <leeming@lyx.org>
5426
5427         * lyxrc.[Ch]:
5428         * lyx_main.C (init): remove override_x_deadkeys stuff.
5429
5430 2002-12-12  John Levon  <levon@movementarian.org>
5431
5432         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5433           insert. Only remove shift modifier under strict
5434           circumstances.
5435
5436 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * MenuBackend.C (expandToc): fix crash.
5439
5440 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * MenuBackend.C (expandToc): gettext on float names.
5443
5444 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5445
5446         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5447         implement bool empty() [bug 490]
5448
5449 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5452
5453 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * several files: ws changes
5456
5457 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * text2.C (setCounter): clean up a bit, use boost.format.
5460         (updateCounters): initialize par upon declaration.
5461
5462         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5463         if the layout exists. We do not just store the layout any more.
5464         (SwitchLayoutsBetweenClasses): use boost.format
5465
5466 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5467
5468         * converter.C (convert): if from and to files are the same, use a
5469         temporary files as intermediary
5470
5471 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5472
5473         * commandtags.h:
5474         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5475
5476 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5477
5478         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5479
5480 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * tabular.C (asciiPrintCell): use string(size, char) instead of
5483         explicit loop.
5484
5485         * sgml.C (openTag): fix order of arguments to string constructor
5486         (closeTag): ditto
5487
5488         * lyxfunc.C (dispatch): use boost.format
5489
5490         * lots of files: change "c" -> 'c'
5491
5492 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5493
5494         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5495
5496 2002-11-25  Angus Leeming  <leeming@lyx.org>
5497
5498         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5499
5500         * lyx_main.C (init): compile fix.
5501
5502 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * lyx_cb.C (start): boost.formatify
5505         do not include <iostream>
5506
5507         * lengthcommon.C: ws only
5508
5509         * boost-inst.C,BoostFormat.h: add more explict instantations
5510
5511 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * lots of files: handle USE_BOOST_FORMAT
5514
5515 2002-11-21  John Levon  <levon@movementarian.org>
5516
5517         * pspell.C: fix compile
5518
5519 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5520
5521         * lyxfunc.C (dispatch): use boost::format
5522         (open): ditto
5523         (doImport): ditto
5524
5525         * lyxfont.C (stateText): use boost::format
5526
5527         * lyx_main.C (LyX): use boost::format
5528         (init): ditto
5529         (queryUserLyXDir): ditto
5530         (readRcFile): ditto
5531         (parse_dbg): ditto
5532         (typedef boost::function): use the recommened syntax.
5533
5534         * importer.C (Import): use boost::format
5535
5536         * debug.C (showLevel): use boost::format
5537
5538         * converter.C (view): use boost::format
5539         (convert): ditto
5540         (move): ditto
5541         (scanLog): ditto
5542
5543         * bufferview_funcs.C (currentState): use boost::format
5544
5545         * bufferlist.C (emergencyWrite): use boost::format
5546
5547         * buffer.C (readLyXformat2): use boost::format
5548         (parseSingleLyXformat2Token): ditto
5549
5550         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5551
5552         * LaTeX.C (run): use boost::format
5553
5554         * Chktex.C (scanLogFile): use boost::format
5555
5556         * BufferView_pimpl.C (savePosition): use boost::format
5557         (restorePosition): ditto
5558         (MenuInsertLyXFile): ditto
5559
5560         * BoostFormat.h: help file for explicit instation.
5561
5562 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5563
5564         * tabular.C (latex): Support for block alignment in fixed width
5565         columns.
5566
5567 2002-11-17  John Levon  <levon@movementarian.org>
5568
5569         * BufferView_pimpl.C:
5570         * lyx_cb.C:
5571         * lyxfunc.C: split filedialog into open/save
5572
5573 2002-11-08  Juergen Vigna  <jug@sad.it>
5574
5575         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5576         by my last patch (hopefully).
5577
5578 2002-11-08  John Levon  <levon@movementarian.org>
5579
5580         * iterators.h:
5581         * iterators.C:
5582         * buffer.h:
5583         * buffer.C:
5584         * paragraph.h:
5585         * paragraph.C:
5586         * toc.h:
5587         * toc.C: ParConstIterator, and use it (from Lars)
5588
5589 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5590
5591         * lyxtextclass.[Ch]: revise and add doxygen comments
5592
5593 2002-11-07  John Levon  <levon@movementarian.org>
5594
5595         * text.C: fix progress value for spellchecker
5596
5597         * toc.C: fix navigate menu for insetwrap inside minipage
5598
5599         * paragraph_funcs.C: added FIXME for suspect code
5600
5601 2002-11-07  John Levon  <levon@movementarian.org>
5602
5603         * BufferView_pimpl.C: fix redrawing of insets
5604           on buffer switch
5605
5606 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5607
5608         * text2.C (updateCounters): fix bug 668
5609
5610 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5611
5612         * text3.C (dispatch): Do not make the buffer dirty when moving the
5613         cursor.
5614
5615 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * vc-backend.C: STRCONV
5618         (scanMaster): ditto
5619
5620         * text2.C (setCounter): STRCONV
5621
5622         * paragraph.C (asString): STRCONV
5623
5624         * lyxlength.C (asString): STRCONV
5625         (asLatexString): ditto
5626
5627         * lyxgluelength.C (asString): STRCONV
5628         (asLatexString): ditto
5629
5630         * lyxfunc.C (dispatch): STRCONV
5631         (open): ditto
5632
5633         * lyxfont.C (stateText): STRCONV
5634
5635         * importer.C (Import): STRCONV
5636
5637         * counters.C (labelItem): STRCONV
5638         (numberLabel): ditto
5639         (numberLabel): remove unused ostringstream o
5640
5641         * chset.C: STRCONV
5642         (loadFile): ditto
5643
5644         * bufferview_funcs.C (currentState): STRCONV
5645
5646         * buffer.C (readFile): STRCONV
5647         (asciiParagraph): ditto
5648         (makeLaTeXFile): ditto
5649
5650         * Spacing.C (writeEnvirBegin): STRCONV
5651
5652         * LaTeXFeatures.C (getLanguages): STRCONV
5653         (getPackages): ditto
5654         (getMacros): ditto
5655         (getBabelOptions): ditto
5656         (getTClassPreamble): ditto
5657         (getLyXSGMLEntities): ditto
5658         (getIncludedFiles): ditto
5659
5660         * LaTeX.C: STRCONV
5661         (run): ditto
5662         (scanAuxFile): ditto
5663         (deplog): ditto
5664
5665         * LString.h: add the STRCONV macros
5666
5667         * BufferView_pimpl.C (savePosition): STRCONV
5668         (restorePosition): ditto
5669         (MenuInsertLyXFile): ditto
5670
5671         * vc-backend.C (scanMaster): change from submatch[...] to
5672         submatch.str(...)
5673
5674         * funcrequest.C: include config.h
5675
5676         * factory.C: include config.h
5677
5678         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5679
5680         * box.C: include config.h
5681
5682         * LaTeX.C (scanAuxFile): change from submatch[...] to
5683         submatch.str(...)
5684         (deplog): ditto
5685
5686 2002-10-25  Angus Leeming  <leeming@lyx.org>
5687
5688         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5689
5690         * ispell.[Ch] (setError): new method.
5691         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5692         Use setError() insetead of goto END.
5693
5694         * lyx_cb.C (AutoSave): move out child process into new class
5695         AutoSaveBuffer.
5696
5697 2002-10-30  John Levon  <levon@movementarian.org>
5698
5699         * text3.C: make start appendix undoable
5700
5701 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5702
5703         * lyxlength.C (inPixels): Fix returned value.
5704
5705         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5706         environment.
5707
5708 2002-10-24  Angus Leeming  <leeming@lyx.org>
5709
5710         * lyxgluelength.h: no need to forward declare BufferParams
5711         or BufferView, so don't.
5712
5713 2002-10-21  John Levon  <levon@movementarian.org>
5714
5715         * BufferView.C: menuUndo ->undo, redo
5716
5717         * BufferView.h: document, remove dead, make some methods private
5718
5719         * paragraph_funcs.h:
5720         * paragraph_funcs.C:
5721         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5722
5723         * buffer.h:
5724         * buffer.C:
5725         * sgml.h:
5726         * sgml.C: move sgml open/close tag into sgml.C
5727
5728         * bufferview_funcs.h: unused prototype
5729
5730         * lyxfunc.h:
5731         * lyxfunc.C: remove unused
5732
5733         * lyxtext.h:
5734         * text.C: remove unused
5735
5736 2002-10-21  John Levon  <levon@movementarian.org>
5737
5738         * BufferView.h:
5739         * BufferView.C:
5740         * BufferView_pimpl.h:
5741         * BufferView_pimpl.C: fix mouse wheel handling based on
5742           patch from Darren Freeman
5743
5744 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5745
5746         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5747
5748 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5749
5750         * lyxlength.C (inPixels): Fix hanfling of negative length.
5751         Fix LyXLength::MU case.
5752
5753 2002-10-16  John Levon  <levon@movementarian.org>
5754
5755         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5756
5757 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5758
5759         * converter.C (view): add support for $$i (file name) and $$p
5760         (file path) for the viewer command. If $$i is not specified, then
5761         it is appended to the command (for compatibility with old syntax)
5762
5763 2002-10-14  Juergen Vigna  <jug@sad.it>
5764
5765         * undo_funcs.C (textHandleUndo): alter the order in which the
5766         new undopar is added to the LyXText, as we have to set first
5767         the right prev/next and then add it as otherwise the rebuild of
5768         LyXText is not correct. Also reset the cursor to the right paragraph,
5769         with this IMO we could remove the hack in "redoParagraphs()".
5770
5771 2002-10-09  Angus Leeming  <leeming@lyx.org>
5772
5773         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5774         to turn off an optimisation if a new inset is to be inserted.
5775
5776 2002-10-11 André Pönitz <poenitz@gmx.net>
5777
5778         * lyxtext.h: make some functions public to allow access
5779         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5780
5781 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5782
5783         * text3.C (dispatch): when changing layout, avoid an infinite loop
5784         [bug #652]
5785
5786 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5787
5788         * lyxrc.C (read): treat a viewer or converter command of "none" as
5789         if it were empty.
5790
5791         * MenuBackend.C (expandFormats): for an update, also allow the
5792         formats that are not viewable
5793
5794         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5795         script if it is newer than the lyxrc.defaults in user directory
5796
5797 2002-10-07 André Pönitz <poenitz@gmx.net>
5798
5799         * text.C: Vitaly Lipatov's small i18n fix
5800
5801 2002-09-25  Angus Leeming  <leeming@lyx.org>
5802
5803         * ispell.h: doxygen fix.
5804
5805 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5806
5807         * buffer.h (readFile): Add a new argument to the method, to allow
5808         reading of old-format templates.
5809
5810 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5811
5812         * toc.C (getTocList): Get TOC from InsetWrap.
5813
5814 2002-09-16  John Levon  <levon@movementarian.org>
5815
5816         * lyxfunc.C: check tabular for cut/copy too
5817
5818 2002-09-12  John Levon  <levon@movementarian.org>
5819
5820         * LyXAction.C: tidy
5821
5822         * factory.h:
5823         * factory.C: add header
5824
5825         * paragraph_funcs.h:
5826         * paragraph_funcs.C: cleanup
5827
5828 2002-09-11  John Levon  <levon@movementarian.org>
5829
5830         * PrinterParams.h: odd/even default to true
5831
5832 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5833
5834         * PrinterParams.h: update printer parameters for new xforms dialog
5835
5836 2002-09-11  Angus Leeming  <leeming@lyx.org>
5837
5838         * lyxserver.C (read_ready): re-write to make it more transparent
5839         and to make it work in coherent fashion under Tru64 Unix.
5840
5841 2002-09-11  André Pönitz <poenitz@gmx.net>
5842
5843         * commandtags.h:
5844         * LyXAction.C:
5845         * text3.C: implement LFUN_WORDSEL
5846
5847 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5850         make floatlist_ a boost::shared_ptr<FloatList>
5851
5852         * lyxtextclass.C: include FloatList.h
5853         (LyXTextClass): initialize floatlist_
5854         (TextClassTags): add TC_NOFLOAT
5855         (Read): match "nofloat" to TC_NOFLOAT and use it.
5856         (readFloat): modify call to floatlist_
5857         (floats): ditto
5858         (floats): ditto
5859
5860         * FloatList.[Ch] (FloatList): remove commented out float
5861         initialization.
5862         (erase): new function
5863
5864 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5865
5866         * MenuBackend.C (expandToc): fix crash when there is no document
5867         open
5868
5869 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5870
5871         * many files: Add insetwrap.
5872
5873 2002-09-09  John Levon  <levon@movementarian.org>
5874
5875         * text2.C: remove confusing and awkward depth wraparound
5876
5877 2002-09-09  John Levon  <levon@movementarian.org>
5878
5879         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5880
5881         * buffer.h:
5882         * buffer.C: remove getIncludeonlyList()
5883
5884         * paragraph.C:
5885         * lyxfunc.C: remove headers
5886
5887 2002-09-09  Juergen Vigna  <jug@sad.it>
5888
5889         * text.C (getColumnNearX): fix form Michael this is most
5890         probably a cut&paste bug.
5891
5892 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5895
5896         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5897         references, ws changes.
5898
5899         * text2.C (init): update counters after init
5900         (insertParagraph): no need to set counter on idividual paragraphs.
5901         (setCounter): access the counters object in the textclass object
5902         on in the buffer object.
5903         (updateCounters): ditto
5904
5905         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5906         shared_ptr<Counters> to avoid loading counters.h in all
5907         compilation units.
5908         (LyXTextClass): initialize ctrs_
5909         (TextClassTags): add TC_COUNTER, and ...
5910         (Read): use it here.
5911         (CounterTags): new tags
5912         (readCounter): new function
5913         (counters): new funtion
5914         (defaultLayoutName): return a const reference
5915
5916         * counters.C (Counters): remove contructor
5917         (newCounter): remove a couple of unneeded statements.
5918         (newCounter): simplify a bit.
5919         (numberLabel): some small formatting changes.
5920
5921         * buffer.[Ch]: remove all traces of counters, move the Counters
5922         object to the LyXTextClass.
5923
5924 2002-09-06  Alain Castera  <castera@in2p3.fr>
5925
5926         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5927         package to set the horizontal alignment on fixed width columns.
5928
5929         * lyx_sty.C:
5930         * lyx_sty.h: added tabularnewline macro def.
5931
5932         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5933
5934 2002-09-06  John Levon  <levon@movementarian.org>
5935
5936         * LyXAction.C: tooltips for sub/superscript
5937
5938         * MenuBackend.C: a bit more verbose
5939
5940         * lyxfunc.C: tiny clean
5941
5942         * undo_funcs.C: document undo_frozen
5943
5944 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * counters.C (Counters): add missing algorithm counter.
5947
5948         * text2.C (setCounter): lookup the counter with layouts latexname
5949         instead of by section number.
5950         (setCounter): use a hackish way to lookup the correct enum
5951         counter.
5952         a float name->type change
5953         reset enum couners with counter name directly instead of depth value.
5954
5955         * counters.C (Counters): remove the push_backs, change to use the
5956         float type not the float name.
5957         (labelItem): remove unused string, float name->type change
5958
5959         * counters.h: don't include vector, loose the enums and sects vectors
5960
5961 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5964         (Read): add float->TC_FLOAT to textclassTags
5965         (Read): and handle it in the switch
5966         (readFloat): new function
5967
5968         * FloatList.C (FloatList): comment out the hardcoded float
5969         definitions.
5970
5971         * lyxlayout.h: ws change.
5972
5973 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5974
5975         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5976
5977 2002-09-03  Angus Leeming  <leeming@lyx.org>
5978
5979         * BufferView_pimpl.h: qualified name is not allowed in member
5980         declaration: WorkArea & Pimpl::workarea() const;
5981
5982         * factory.C: added using std::endl directive.
5983
5984         * text3.C: added using std::find and std::vector directives.
5985
5986 2002-08-29  André Pönitz <poenitz@gmx.net>
5987
5988         * lyxtext.h:
5989         * text2.C: remove unused member number_of_rows
5990
5991         * Makefile.am:
5992         * BufferView2.C: remove file, move contents to...
5993         * BufferView.C: ... here
5994
5995         * BufferView_pimpl.C:
5996         * factory.C: move more inset creation to factory
5997
5998         * vspace.C: avoid direct usage of LyXText, ws changes
5999
6000         * BufferView.[Ch]:
6001                 don't provide direct access to WorkArea, use two simple
6002                 acessors haveSelction() and workHeight() instead
6003
6004
6005 2002-08-29  John Levon  <levon@movementarian.org>
6006
6007         * BufferView_pimpl.C (dispatch): do not continue when
6008           no buffer
6009
6010 2002-08-28  André Pönitz <poenitz@gmx.net>
6011
6012         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6013
6014         * BufferView.h:
6015         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6016
6017 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6018
6019         * buffer.C: increment LYX_FORMAT to 221
6020
6021         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6022         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6023
6024         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6025
6026         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6027
6028 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6029
6030         * factory.C (createInset): use LyXTextClass::floats
6031
6032         * MenuBackend.C (expandFloatListInsert):
6033         (expandFloatInsert):
6034         (expandToc):
6035
6036         * text2.C (setCounter):
6037
6038         * LaTeXFeatures.C (useFloat):
6039         (getFloatDefinitions):
6040
6041         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6042
6043         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6044         floatlist_, with accessor floats().
6045
6046         * FloatList.h: remove global FloatList
6047
6048 2002-08-26  André Pönitz <poenitz@gmx.net>
6049
6050         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6051
6052         * BufferView.h:
6053         * BufferView2.C:
6054         * BufferView_pimpl.C:
6055         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6056
6057 2002-08-25  John Levon  <levon@movementarian.org>
6058
6059         * LyXAction.C: fix margin note description
6060
6061 2002-08-24  John Levon  <levon@movementarian.org>
6062
6063         * buffer.C:
6064         * bufferlist.C:
6065         * bufferview_funcs.C:
6066         * lyxfont.C:
6067         * undo_funcs.C: cleanups
6068
6069         * lyxfunc.C: disable CUT/COPY when no selection
6070
6071 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6072
6073         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6074         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6075
6076         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6077         Add backward compatibility to "mono", "gray" and "no".
6078
6079 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6080
6081         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6082         (and file_format >= 200).
6083
6084 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6085
6086         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6087
6088 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6089
6090         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6091
6092 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6093
6094         * BufferView_pimpl.C:
6095         * LyXAction.C:
6096         * buffer.C:
6097         * commandtags.h:
6098         * lyxfunc.C:
6099         * paragraph.[Ch]:
6100         * text2.C:
6101         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6102         inset and code to make it  work with the paragraph code. The inset
6103         can be anywhere in the paragraph, but will only do the expected
6104         thing in LaTeX if the layout file contains the parameter line
6105                         OptionalArgs    1
6106         (or more generally, a nonzero value) for that layout.
6107
6108 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * paragraph.h: remove the declaration of undefined counters class
6111         function.
6112
6113 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6114
6115         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6116         Dr. Richard Hawkins.
6117
6118 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6119
6120         * paragraph_funcs.h: remove some unneeded includes
6121
6122         * text.C (backspace): pasteParagraph now in global scipe
6123
6124         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6125         (pasteSelection): ditto
6126
6127         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6128         * paragraph_funcs.C (pasteParagraph): ... here
6129
6130 2002-08-20  André Pönitz <poenitz@gmx.net>
6131
6132         * commandtags.h: new LFUNs for swapping/copying table row/colums
6133
6134         * LyXAction.C:
6135         * lyxfunc.C: support for new lfuns
6136
6137 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * tabular.C:
6140         * buffer.[Ch]: remove NO_COMPABILITY stuff
6141
6142 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * boost.C (throw_exception): new file, with helper function for
6145         boost compiled without exceptions.
6146
6147         * paragraph.h:
6148         * lyxlength.C:
6149         * buffer.C:
6150         * ParameterStruct.h:
6151         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6152
6153         * bufferlist.C (emergencyWriteAll): use boost bind
6154
6155         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6156
6157         * text.C: include paragraph_funcs.h
6158         (breakParagraph): breakParagraph is now in global scope
6159
6160         * paragraph_funcs.[Ch]: new files
6161
6162         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6163         global scope
6164
6165         * buffer.C: include paragraph_funcs.h
6166         (insertStringAsLines): breakParagraph is now in global scope
6167
6168         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6169         paragraph_funcs.C
6170
6171         * CutAndPaste.C: include paragraph_funcs.h
6172         (cutSelection): breakParagraphConservative is now in global scope
6173         (pasteSelection): ditto
6174
6175         * buffer.h: declare oprator== and operator!= for
6176         Buffer::inset_iterator
6177
6178         * bufferlist.C (emergencyWrite): don't use fmt(...)
6179
6180         * text3.C: add using std::endl
6181
6182         * BufferView.C (moveCursorUpdate): remove default arg
6183
6184 2002-08-20  André Pönitz <poenitz@gmx.net>
6185
6186         * buffer.[Ch]: move inline functions to .C
6187
6188         * BufferView2.C:
6189         * BufferView_pimpl.C:
6190         * text.C:
6191         * buffer.[Ch]: use improved inset_iterator
6192
6193         * buffer.C:
6194         * paragraph.[Ch]: write one paragraph at a time
6195
6196 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6197
6198         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6199         style if style is not specified.
6200
6201 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6202
6203         * text2.C (setCounter): when searching for right label for a
6204         caption, make sure to recurse to parent insets (so that a caption
6205         in a minipage in a figure float works) (bug #568)
6206
6207 2002-08-20  André Pönitz <poenitz@gmx.net>
6208
6209         * text3.C: new file for LyXText::dispatch() and helpers
6210
6211         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6212
6213         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6214
6215 2002-08-19  André Pönitz <poenitz@gmx.net>
6216
6217         * lyxtext.h:
6218         * text.C: new LyXText::dispatch()
6219
6220         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6221
6222 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6223
6224         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6225
6226         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6227         Hebrew text.
6228
6229 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6230
6231         * Makefile.am: use $(variables) instead of @substitutions@
6232
6233 2002-08-15  André Pönitz <poenitz@gmx.net>
6234
6235         * lyxfunc.C:
6236         * BufferView_pimpl.C: streamlining mathed <-> outer world
6237         interaction
6238
6239         * commandtags.h:
6240         * LyXAction.C: remove unused LFUN_MATH
6241
6242 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6245
6246 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * paragraph.C (Paragraph): reformat a bit
6249         (cutIntoMinibuffer): use builtin InsetList function instad of
6250         doing it manually.
6251         (getInset): ditto
6252
6253         * buffer.C: include boost/bind.hpp, add using std::for_each
6254         (writeFileAscii): use ParagraphList iterators
6255         (validate): use for_each for validate traversal of paragraphs
6256         (getBibkeyList): use ParagraphList iterators
6257         (resizeInsets): use for_each to resizeInsetsLyXText for all
6258         paragraphs.
6259         (getParFromID): use ParagraphList iterators
6260
6261         * BufferView2.C (lockInset): use paragraph list and iterators
6262
6263 2002-08-14  John Levon  <levon@movementarian.org>
6264
6265         * lyxserver.C: remove spurious xforms include
6266
6267 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6268
6269         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6270
6271 2002-08-13  André Pönitz <poenitz@gmx.net>
6272
6273         * LyXAction.[Ch]:
6274         * lyxfunc.C: further cleaning
6275
6276 2002-08-13  André Pönitz <poenitz@gmx.net>
6277
6278         * funcrequest.h: new constructor
6279
6280         * funcrequest.C: move stuff here from .h
6281
6282         * Makefile.am:
6283         * BufferView_pimpl.C:
6284         * LyXAction.C:
6285         * toc.C:
6286         * lyxfunc.C: subsequent changes
6287
6288         * lyxfunc.h: new view() member function
6289
6290         * lyxfunc.C: subsequent changes
6291
6292 2002-08-13  Angus Leeming  <leeming@lyx.org>
6293
6294         * BufferView2.C:
6295         * BufferView_pimpl.C:
6296         * buffer.C:
6297         * converter.C:
6298         * importer.C:
6299         * lyxfunc.C:
6300         * lyxvc.C:
6301         * toc.C:
6302         * vc-backend.C:
6303         changes due to the changed LyXView interface that now returns references
6304         to member variables not pointers.
6305
6306 2002-08-13  Angus Leeming  <leeming@lyx.org>
6307
6308         * WordLangTuple (word, lang_code): return references to strings,
6309         not strings.
6310
6311         * BufferView.h:
6312         * SpellBase.h:
6313         * lyxtext.h: forward-declare WordLangTuple.
6314
6315         * BufferView2.C:
6316         * ispell.C:
6317         * pspell.C:
6318         * text.C: #include "WordLangTuple.h".
6319
6320         * lyxtext.h:
6321         * text.C: (selectNextWordToSpellcheck): constify return type.
6322
6323 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6324
6325         * buffer.C:
6326         * buffer.h:
6327         * lyxtext.h:
6328         * paragraph.C:
6329         * paragraph_pimpl.h:
6330         * text.C:
6331         * text2.C:
6332         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6333         suggested by Angus.
6334         Made updateCounter always count from start of buffer, and removed
6335         second argument (par).
6336         Reverted floats number display to '#'. Perhaps I'll try again when the
6337         code base is sanitized a bit.
6338
6339 2002-08-12  Angus Leeming  <leeming@lyx.org>
6340
6341         * buffer.[Ch] (getLabelList): constify.
6342
6343 2002-08-07  André Pönitz <poenitz@gmx.net>
6344
6345         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6346
6347         * funcrequest.h: extension to keep mouse (x,y) position
6348
6349 2002-08-12  Juergen Vigna  <jug@sad.it>
6350
6351         * BufferView2.C (insertErrors): forbid undo when inserting error
6352         insets.
6353
6354         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6355
6356 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6357
6358         * ParagraphList.[Ch]: new files
6359
6360         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6361
6362         * BufferView2.C (lockInset): ParagraphList changes
6363         * toc.C: ditto
6364         * text2.C: ditto
6365         * bufferlist.C: ditto
6366         * buffer.h: ditto
6367         * buffer.C: ditto
6368
6369 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6372         unused class variable counter_,
6373
6374         * paragraph.[Ch] (getFirstCounter): delete unused function
6375
6376         * counters.C: include LAssert.h
6377         (reset): add a new function with no arg, change other version to
6378         not have def. arg and to not allow empty arg.
6379
6380         * text2.C (setCounter): remove empty arg from call to Counters::reset
6381
6382 2002-08-11  John Levon  <levon@movementarian.org>
6383
6384         * Makefile.am: add WordLangTuple.h
6385
6386 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6389         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6390
6391         * insets/insettext.C: InsetList changes
6392
6393         * graphics/GraphicsSupport.C (operator()): InsetList changes
6394
6395         * toc.C (getTocList): InsetList changes
6396
6397         * paragraph_pimpl.[Ch]: InsetList changes
6398
6399         * paragraph.[Ch]: InsetList changes
6400
6401         * buffer.C (inset_iterator): InsetList changes
6402         (setParagraph): ditto
6403         * buffer.h (inset_iterator): ditto
6404         * iterators.C (operator++): ditto
6405         * iterators.h: ditto
6406
6407         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6408
6409         * InsetList.[Ch]: new files, most InsetList handling moved out of
6410         paragraph.C.
6411
6412         * BufferView2.C (removeAutoInsets): InsetList changes
6413         (lockInset): ditto
6414         (ChangeInsets): ditto
6415
6416 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * paragraph_pimpl.h (empty): new function
6419
6420         * paragraph.[Ch] (empty): new function
6421
6422         * other files: use the new Paragraph::empty function
6423
6424 2002-08-09  John Levon  <levon@movementarian.org>
6425
6426         * lyxtext.h: remove unused refresh_height
6427
6428 2002-08-09  John Levon  <levon@movementarian.org>
6429
6430         * Makefile.am:
6431         * sgml.h:
6432         * sgml.C:
6433         * buffer.C:
6434         * paragraph.h:
6435         * paragraph.C: move sgml char escaping out of paragraph
6436
6437         * paragraph.h:
6438         * paragraph.C: remove id setter
6439
6440         * buffer.C:
6441         * paragraph.C:
6442         * paragraph_pimpl.C: remove dead tex_code_break_column
6443
6444         * bufferview_funcs.C: small cleanup
6445
6446         * lyxfunc.C: remove dead proto
6447
6448         * lyxtext.h: make some stuff private. Remove some dead stuff.
6449
6450         * lyxgluelength.C: make as[LyX]String() readable
6451
6452 2002-08-08  John Levon  <levon@movementarian.org>
6453
6454         * LyXAction.h:
6455         * LyXAction.C:
6456         * MenuBackend.C:
6457         * ToolbarDefaults.C:
6458         * lyxfunc.C:
6459         * lyxrc.C:
6460         * toc.C: lyxaction cleanup
6461
6462 2002-08-08  John Levon  <levon@movementarian.org>
6463
6464         * BufferView2.C: small cleanup
6465
6466         * lyxfind.h:
6467         * lyxfind.C: move unnecessary header into the .C
6468
6469 2002-08-08  John Levon  <levon@movementarian.org>
6470
6471         * funcrequest.h: just tedious nonsense
6472
6473         * lyx_main.h:
6474         * lyx_main.C: cleanups
6475
6476         * buffer.C:
6477         * vspace.C: remove dead header lyx_main.h
6478
6479 2002-08-07  Angus Leeming  <leeming@lyx.org>
6480
6481         * Paragraph.[Ch]:
6482         * paragraph_pimpl.h:
6483         Forward declare class Counters in paragraph.h by moving the ctrs member
6484         variable into Paragraph::Pimpl.
6485         (counters): new method, returning a reference to pimpl_->ctrs.
6486
6487         * text2.C: ensuing changes.
6488
6489 2002-08-07  John Levon  <levon@movementarian.org>
6490
6491         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6492
6493         * BufferView_pimpl.C: announce X selection on double/triple
6494           click
6495
6496         * lyx_main.C: use correct bool in batch dispatch
6497
6498         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6499
6500 2002-08-07  André Pönitz <poenitz@gmx.net>
6501
6502         * funcrequest.h: new class to wrap a kb_action and its argument
6503
6504         * BufferView.[Ch]:
6505         * BufferView_pimpl[Ch]:
6506         * LaTeX.C:
6507         * LyXAction.[Ch]:
6508         * lyxfunc.[Ch]:
6509         * lyxrc.C: subsequent changes
6510
6511
6512 2002-08-07  John Levon  <levon@movementarian.org>
6513
6514         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6515           document options change.
6516
6517 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6518
6519         * counters.[Ch]
6520         * text2.C
6521         * paragraph.[Ch]
6522         * makefile.am: move counters functionality over from
6523         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6524
6525 2002-08-06  John Levon  <levon@movementarian.org>
6526
6527         * WordLangTuple.h: new file for word + language code tuple
6528
6529         * SpellBase.h:
6530         * pspell.h:
6531         * pspell.C:
6532         * ispell.h:
6533         * ispell.C:
6534         * lyxtext.h:
6535         * text.C:
6536         * text2.C:
6537         * BufferView.h:
6538         * BufferView2.C: use WordLangTuple
6539
6540         * layout.h:
6541         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6542
6543 2002-08-06  John Levon  <levon@movementarian.org>
6544
6545         * lyx_main.C: fix cmdline batch handling
6546
6547 2002-08-06  André Pönitz <poenitz@gmx.net>
6548
6549         * lyxrc.C: set default for show_banner to true
6550
6551 2002-08-06  John Levon  <levon@movementarian.org>
6552
6553         * pspell.C: fix a crash, and allow new aspell to work
6554
6555 2002-08-06  John Levon  <levon@movementarian.org>
6556
6557         * lyxfunc.C:
6558         * kbmap.C: small cleanup
6559
6560         * vspace.h:
6561         * vspace.C: add const
6562
6563 2002-08-05  John Levon  <levon@movementarian.org>
6564
6565         * LyXAction.C: back to tabular-insert
6566
6567 2002-08-04  John Levon  <levon@movementarian.org>
6568
6569         * BufferView.h:
6570         * BufferView.C: cosmetic change
6571
6572         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6573
6574         * bufferlist.C:
6575         * buffer.h:
6576         * buffer.C:
6577         * lyxcb.h:
6578         * lyxcb.C:
6579         * lyxserver.C:
6580         * lyxvc.C:
6581         * vc-backend.C:
6582         * BufferView2.C: purge all "Lyx" not "LyX" strings
6583
6584         * lyxcursor.h:
6585         * lyxcursor.C: attempt to add some documentation
6586
6587         * lyxfunc.C:
6588         * commandtags.h:
6589         * LyXAction.C:
6590         * ToolbarDefaults.C:
6591         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6592           merge with LFUN_TABULAR_INSERT
6593
6594         * Makefile.am:
6595         * SpellBase.h:
6596         * ispell.h:
6597         * ispell.C:
6598         * pspell.h:
6599         * pspell.C: split up i/pspell implementations into separate
6600           files, many cleanups
6601
6602         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6603
6604         * text2.C: some cleanup
6605
6606         * lyxfunc.C: don't check for isp_command == "none" any more, it
6607           didn't make any sense
6608
6609 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6610
6611         * counters.[Ch]
6612         * text2.C
6613         * paragraph.[Ch]
6614         * makefile.am: move counters functionality over
6615         from text2.C/paragraph.[Ch] to counters.[Ch], and
6616         make proper C++.
6617 2002-08-02  John Levon  <levon@movementarian.org>
6618
6619         * buffer.C: s/lyxconvert/lyx2lyx/
6620
6621 2002-08-02  Angus Leeming  <leeming@lyx.org>
6622
6623         * lyxlex.C: revert John's change as it breaks reading of the user
6624         preamble.
6625
6626 2002-08-02  Angus Leeming  <leeming@lyx.org>
6627
6628         * importer.C (Import):
6629         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6630         changes due to LyXView::view() now returning a boost::shared_ptr.
6631
6632 2002-08-02  John Levon  <levon@movementarian.org>
6633
6634         * lyxlex.C: small cleanup
6635
6636 2002-08-02  John Levon  <levon@movementarian.org>
6637
6638         * text2.C (status): small cleanup, no logic change
6639
6640 2002-08-01  John Levon  <levon@movementarian.org>
6641
6642         * buffer.h:
6643         * buffer.C (writeFile): don't output alerts, caller
6644           handles this
6645
6646         * bufferlist.C:
6647         * lyx_cb.C: from above
6648
6649         * lyxfunc.C: allow to open non-existent files
6650
6651 2002-07-31  John Levon  <levon@movementarian.org>
6652
6653         * lyxserver.C: don't let incidental errors get
6654           in the way (errno)
6655
6656 2002-07-30  John Levon  <levon@movementarian.org>
6657
6658         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6659
6660 2002-07-30  John Levon  <levon@movementarian.org>
6661
6662         * lyxserver.h:
6663         * lyxserver.C: remove I/O callback too
6664
6665 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6666
6667         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6668         log.
6669
6670 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * many files: strip,frontStrip -> trim,ltrim,rtrim
6673
6674 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * PrinterParams.h: remove extern containsOnly, and include
6677         support/lstrings.h instead.
6678
6679         * LaTeX.C (scanAuxFile): modify because of strip changes
6680         (deplog): ditto
6681         * buffer.C (makeLaTeXFile): ditto
6682         * bufferparams.C (writeFile): ditt
6683         * lyxfont.C (stateText): ditto
6684         * lyxserver.C (read_ready): ditto
6685         * vc-backend.C (scanMaster): ditto
6686
6687         * BufferView_pimpl.h: ws changes
6688
6689         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6690
6691 2002-07-26  André Pönitz <poenitz@gmx.net>
6692
6693         * kb_sequence.C: remove unnedred usings
6694
6695 2002-07-26  Juergen Vigna  <jug@sad.it>
6696
6697         * lyxfind.C (LyXReplace): we have to check better if the returned
6698         text is not of theLockingInset()->getLockingInset().
6699
6700 2002-07-25  Juergen Vigna  <jug@sad.it>
6701
6702         * lyxfind.C (LyXReplace): don't replace if we don't get the
6703         right LyXText.
6704
6705         * undo_funcs.C (createUndo): remove debugging code.
6706
6707 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6708
6709         * buffer.C (parseSingleLyXformat2Token): Use default placement
6710         when reading old floats.
6711
6712         * FloatList.C (FloatList): Change the default placement of figure
6713         and tables to "tbp".
6714
6715 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6716
6717         * MenuBackend.C: using std::max
6718
6719 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6720
6721         * MenuBackend.C (expandToc):
6722         (expandToc2): code moved from xforms menu frontend. It is now
6723         generic and TOCs are transparent to menu frontends.
6724
6725 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6726
6727         * toc.C (getTocList): protect against buf=0
6728
6729         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6730         Menu as first parameter. Now, this calls itself recursively to
6731         expand a whole tree (this will be useful for TOC handling)
6732         (expandFloatInsert): remove 'wide' version of floats
6733
6734         * MenuBackend.h (submenuname): returns the name of the submenu.
6735         (submenu): returns the submenu itself, provided it has been
6736         created by MenuBackend::expand
6737
6738 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6739
6740         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6741         insets which have noFontChange == true. (bug #172)
6742
6743 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6744
6745         * BufferView_pimpl.C: add connection objects and use them...
6746         (Pimpl): here.
6747
6748 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6749
6750         * MenuBackend.C (expandLastfiles):
6751         (expandDocuments):
6752         (expandFormats):
6753         (expandFloatListInsert):
6754         (expandFloatInsert):
6755         (expand): split expand in parts
6756
6757 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6758
6759         * lyx_gui.C: use lyx_gui::exit()
6760
6761 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6762
6763         * LyXAction.C: show the failing pseudo action
6764
6765 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6766
6767         * buffer.C (readFile): Run the lyxconvert script in order to read
6768         old files.
6769
6770 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6771
6772         * LyXAction.C:
6773         * commandtags.h:
6774         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6775
6776 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6777
6778         * LyXAction.C:
6779         * commandtags.h:
6780         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6781
6782 2002-07-22  Herbert Voss  <voss@lyx.org>
6783
6784         * lengthcommon.C:
6785         * lyxlength.[Ch]: add support for the vertical lengths
6786
6787 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6788
6789         * toc.[Ch]: std:: fixes
6790
6791 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6792
6793         * lyxrc.C: do not include lyx_main.h
6794
6795         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6796         for layouts
6797
6798         * lyxrc.C:
6799         * encoding.C:
6800         * bufferlist.C:
6801         * BufferView2.C: include "lyxlex.h"
6802
6803         * tabular.h:
6804         * bufferparams.h: do not #include "lyxlex.h"
6805
6806         * lyxtextclasslist.C (Add): remove method
6807         (classlist): renamed to classlist_
6808
6809         * paragraph_pimpl.C:
6810         * paragraph.C:
6811         * text2.C:
6812         * CutAndPaste.C:
6813         * bufferview_funcs.C:
6814         * bufferlist.C:
6815         * text.C:
6816         * LaTeXFeatures.C:
6817         * buffer.C:
6818         * toc.C (getTocList): use BufferParams::getLyXTextClass
6819
6820         * toc.C (getTocList): use InsetFloat::addToToc
6821
6822         * toc.[Ch]: new files, containing helper functions to handle table
6823         of contents
6824
6825         * lyxfunc.C (dispatch): no need to remove spaces around command
6826         given as a string
6827         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6828         first command of the sequence; it is not very clever, but I do not
6829         have a better idea, actually
6830
6831         * LyXAction.C (LookupFunc): make sure to remove space at the
6832         beginning and end of the command
6833
6834 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6835
6836         * MenuBackend.C (getMenubar): new method: return the menubar of
6837         this menu set
6838         (read): treat differently reading of menu and menubar (in
6839         particular, the menubar has no name now)
6840         (Menu::menubar): remove
6841
6842         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6843         saving is finished
6844
6845 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6846
6847         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6848         a bibitem inset in a RTL paragraph.
6849
6850 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6851
6852         * paragraph_pimpl.C: constify
6853
6854         * BufferView_pimpl.C:
6855         * LaTeX.C:
6856         * lyxfunc.C: fix dispatch in a nicer way
6857
6858 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6859
6860         * lyxfunc.C (dispatch):
6861         * BufferView_pimpl.C:
6862         * BufferView_pimpl.h:
6863         * BufferView.C:
6864         * BufferView.h: rename Dispatch() to dispatch()
6865
6866         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6867
6868         * lyxlayout.C (Read): honor DependsOn tag
6869
6870         * lyxlayout.[Ch] (depends_on): new method
6871
6872         * version.C.in: update lyx_docversion
6873
6874         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6875
6876         * paragraph.C (validate): remove from here...
6877         * paragraph_pimpl.C (validate): ... and move here
6878         (isTextAt): make it const
6879
6880         * buffer.C (getLists): ws cleanup
6881
6882 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6883
6884         * language.C (read): Use iso8859-1 encoding in latex_lang
6885         (this prevents LyX from crashing when using iso10646-1 encoding).
6886
6887 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6888
6889         * text2.C (toggleInset): if cursor is inside an inset, close the
6890         inset and leave cursor _after_ it
6891
6892 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6893
6894         * lyxfunc.C: move minibuffer completion handling out of here
6895
6896 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6897
6898         * BufferView_pimpl.C:
6899         * LaTeX.C: fix dispatch calls
6900
6901 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6902
6903         * text.C (drawChars): Fix Arabic text rendering.
6904
6905 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * LyXAction.C:
6908         * commandtags.h:
6909         * lyxfunc.C: remove message-push/pop
6910
6911         * lyxserver.C:
6912         * lyxfunc.h:
6913         * lyxfunc.C: rationalise some code by removing verboseDispatch
6914           in favour of a bool argument to dispatch()
6915
6916 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6917
6918         * lyx_main.C (init): make sure to read symlinks as absolute paths
6919
6920 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6921
6922         * lyxfunc.h:
6923         * lyxfunc.C: no need for commandshortcut to be a member
6924
6925 2002-07-15  André Pönitz <poenitz@gmx.net>
6926
6927         * converter.C: add support for $$s (scripts from lib/scripts dir)
6928         * lyx_main.C: white space
6929
6930 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6931
6932         * bufferlist.C:
6933         * lyxrc.h:
6934         * lyxrc.C: remove second exit confirmation
6935
6936 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6937
6938         * BufferView.h:
6939         * BufferView.C:
6940         * BufferView2.C:
6941         * BufferView_pimpl.h:
6942         * BufferView_pimpl.C:
6943         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6944
6945 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6946
6947         * MenuBackend.C (expand): add numeric shortcuts to document menu
6948
6949         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6950
6951 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6952
6953         * lyxfont.C (setLyXFamily):
6954         (setLyXSeries):
6955         (setLyXShape):
6956         (setLyXSize):
6957         (setLyXMisc):
6958         (lyxRead):
6959         * debug.C (value):
6960         * buffer.C (asciiParagraph): use ascii_lowercase
6961
6962 2002-07-15  Mike Fabian  <mfabian@suse.de>
6963
6964         * lyxlex_pimpl.C (search_kw):
6965         * lyxlex.C (getLongString):
6966         * converter.h (operator<):
6967         * converter.C (operator<):
6968         * buffer.C (parseSingleLyXformat2Token):
6969         (asciiParagraph):
6970         * ToolbarDefaults.C (read):
6971         * MenuBackend.C (checkShortcuts):
6972         (read):
6973         * LColor.C (getFromGUIName):
6974         (getFromLyXName): use the compare_ascii_no_case instead of
6975         compare_no_case, because in turkish, 'i' is not the lowercase
6976         version of 'I', and thus turkish locale breaks parsing of tags.
6977
6978 2002-07-16  Angus Leeming  <leeming@lyx.org>
6979
6980         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6981         now takes a Buffer const & argument.
6982
6983 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6984
6985         * BufferView.C (resize): check there's a buffer to resize
6986
6987 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6988
6989         * lyxfunc.C: remove dead code
6990
6991         * lyxserver.h:
6992         * lyxserver.C: use lyx_guii::set_read_callback
6993
6994 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6995
6996         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6997         an inset in a RTL paragraph.
6998
6999 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7000
7001         * lyxfunc.C: repaint after a font size update
7002
7003 2002-07-15  André Pönitz <poenitz@gmx.net>
7004
7005         * lyxlength.C: inBP should be able to return negative values
7006
7007 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7008
7009         * lyxfunc.C: use lyx_gui::update_fonts()
7010
7011 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7012
7013         * lyxfunc.C: use lyx_gui::update_color()
7014
7015 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7016
7017         * bufferlist.C:
7018         * lyxfunc.h:
7019         * lyxfunc.C:
7020         * lyxrc.h:
7021         * lyxrc.C: remove file->new asks for name option, and let
7022           buffer-new take an argument
7023
7024 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7025
7026         * BufferView_pimpl.C: remove unneeded extra repaint()
7027
7028 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * LyXAction.C: allow command-sequence with NoBuffer
7031
7032         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7033
7034 2002-07-10  Angus Leeming  <leeming@lyx.org>
7035
7036         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7037
7038 2002-07-09  Angus Leeming  <leeming@lyx.org>
7039
7040         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7041
7042 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7043
7044         * lengthcommon.h: whitespace
7045
7046         * lyxfunc.C: update scrollbar after goto paragraph
7047
7048         * lyxtext.h: factor out page break drawing, and fix it so
7049           page break/added space paints as selected nicely
7050
7051 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7052
7053         * BufferView_pimpl.C: add FIXMEs, clean up a little
7054
7055 2002-07-09  André Pönitz <poenitz@gmx.net>
7056
7057         * lyxfont.[Ch]: support for wasy symbols
7058
7059 2002-07-08  André Pönitz <poenitz@gmx.net>
7060
7061         * BufferView_pimpl.C: apply John's patch for #93.
7062
7063 2002-07-05  Angus Leeming  <leeming@lyx.org>
7064
7065         * BufferView_pimpl.C (buffer): generate previews if desired.
7066
7067         * LColor.h: add "preview" to the color enum.
7068
7069         * LColor.C (LColor): add a corresponding entry to the items array.
7070
7071         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7072         with this buffer.
7073
7074 2002-07-05  Angus Leeming  <leeming@lyx.org>
7075
7076         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7077         The body of the code is now in the method that is passed an ostream &
7078         rather than a file name.
7079         Pass an additional only_preamble parameter, useful for the forthcoming
7080         preview stuff.
7081
7082 2002-07-03  André Pönitz <poenitz@gmx.net>
7083
7084         * lyxfunc.C: simplify getStatus() a bit for math stuff
7085
7086 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7087
7088         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7089
7090 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7091
7092         * text.C (changeRegionCase): do not change case of all the
7093         document when region ends at paragraph end (bug #461)
7094
7095 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7096
7097         * paragraph.C (startTeXParParams):
7098         (endTeXParParams): add \protect when necessary
7099
7100 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7101
7102         * BufferView_pimpl.C (workAreaExpose): remove warning
7103
7104 2002-06-27  Angus Leeming  <leeming@lyx.org>
7105
7106         * Makefile.am: add lyxlayout_ptr_fwd.h.
7107
7108 2002-06-26  André Pönitz <poenitz@gmx.net>
7109
7110         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7111
7112 2002-06-25  Angus Leeming  <leeming@lyx.org>
7113
7114         * lyxfunc.C (dispatch): Comment out the call to
7115         grfx::GCache::changeDisplay. The method no longer exists now that the
7116         pixmap generation part of the graphics loader has been moved into
7117         InsetGraphics.
7118
7119 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7120
7121         * text2.C: layout as layout
7122
7123         * text.C: layout as layout
7124
7125         * tabular.C (OldFormatRead): layout as layout
7126
7127         * paragraph_pimpl.C (TeXDeeper): layout as layout
7128         (realizeFont): layout as layout
7129
7130         * paragraph.C (writeFile): layout as layout
7131         (validate): layout as layout
7132         (getFont): layout as layout
7133         (getLabelFont): layout as layout
7134         (getLayoutFont): layout as layout
7135         (breakParagraph): layout as layout
7136         (stripLeadingSpaces): layout as layout
7137         (getEndLabel): layout as layout
7138         (getMaxDepthAfter): layout as layout
7139         (applyLayout): layout as layout
7140         (TeXOnePar): layout as layout
7141         (simpleTeXOnePar): layout as layout
7142         (TeXEnvironment): layout as layout
7143         (layout): layout as layout
7144         (layout): layout as layout
7145
7146         * lyxtextclass.C (compare_name): new functor to work with
7147         shared_ptr, layout as layout
7148         (Read): layout as layout
7149         (hasLayout): layout as layout
7150         (operator): layout as layout
7151         (delete_layout): layout as layout
7152         (defaultLayout): layout as layout
7153
7154         * lyxlayout_ptr_fwd.h: new file
7155
7156         * lyxlayout.C (Read): layout as layout
7157
7158         * lyx_cb.C (MenuInsertLabel): layout as layout
7159
7160         * bufferlist.C (newFile): layout as layout
7161
7162         * buffer.C (readLyXformat2): layout as layout
7163         (parseSingleLyXformat2Token): layout as layout
7164         (insertStringAsLines): layout as layout
7165         (asciiParagraph): layout as layout
7166         (latexParagraphs): layout as layout
7167         (makeLinuxDocFile): layout as layout
7168         (simpleLinuxDocOnePar): layout as layout
7169         (makeDocBookFile): layout as layout
7170         (simpleDocBookOnePar): layout as layout
7171         (getLists): layout as layout
7172
7173         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7174
7175         * CutAndPaste.C (cutSelection): layout as layout
7176         (pasteSelection): layout as layout
7177         (SwitchLayoutsBetweenClasses): layout as layout
7178
7179         * BufferView_pimpl.C (Dispatch): layout as layout
7180         (smartQuote): layout as layout
7181
7182         * BufferView2.C (unlockInset): layout as layout
7183
7184 2002-06-24  André Pönitz <poenitz@gmx.net>
7185
7186         * lyxfunc.C: fix #487
7187
7188 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7189
7190         * lyxrc.h:
7191         * lyxrc.C:
7192         * lyxfunc.C: remove display_shortcuts, show_banner
7193
7194 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7195
7196         * Buffer_pimpl.C: oops, update on resize
7197
7198 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7199
7200         * buffer.C:
7201         * converter.C:
7202         * exporter.C:
7203         * lyxfunc.C:
7204         * BufferView.h:
7205         * BufferView.C: use repaint()
7206
7207         * BufferView_pimpl.h:
7208         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7209           as it's a clearer description. Remove superfluous
7210           redraws.
7211
7212 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7213
7214         * text.C: fix bug 488. Not ideal, but getting
7215           getWord() to work properly for the insets that
7216           matter is more difficult ...
7217
7218 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7219
7220         * BufferView_pimpl.C:
7221         * LyXAction.C:
7222         * commandtags.h:
7223         * lyxfunc.C: remove the six million index lyxfuncs to just
7224           one, and DTRT (bug 458)
7225
7226 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7227
7228         * BufferView.h:
7229         * BufferView.C:
7230         * BufferView_pimpl.h:
7231         * BufferView_pimpl.C: clean up resize() stuff,
7232           and unnecessary updateScreen()s
7233
7234 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7235
7236         * BufferView.h:
7237         * BufferView.C:
7238         * BufferView_pimpl.h:
7239         * BufferView_pimpl.C:
7240         * lyxfind.h:
7241         * lyxfind.C:
7242         * minibuffer.C: remove focus management of workarea,
7243           not needed. Use screen's greyOut()
7244
7245 2002-06-17  Herbert Voss  <voss@lyx.org>
7246
7247         * converter.C: (convert) do not post a message, when converting
7248         fails, let the calling function decide what to do in this case
7249
7250 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7251
7252         * lyxfunc.C: tidy up a little
7253
7254 2002-06-16    <alstrup@diku.dk>
7255
7256         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7257         Got rid of FORMS_H_LOCATION include. Now we are
7258         GUII.
7259
7260 2002-06-15  LyX Development team  <lyx@rilke>
7261
7262         * buffer.[Ch] (sgmlOpenTag):
7263         (sgmlCloseTag): Added support for avoiding pernicious mixed
7264         content. Return number of lines written.
7265
7266         (makeLinuxDocFile):
7267         (makeDocBookFile): Fixed calls to sgml*Tag.
7268         Simple white space clean.
7269
7270         (simpleDocBookOnePar): Simple white space clean.
7271
7272         * tabular.[Ch] (docBook): Renamed to docbook and got another
7273         argument to related with the pernicious mixed content.
7274
7275         (docbookRow): Fixed calls for docbook inset method.
7276
7277 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7278
7279         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7280         so it's X11 independent.
7281
7282         * kb*.[Ch]: ditto.
7283
7284         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7285
7286 2002-06-15  Lyx Development team  <lyx@electronia>
7287
7288         * intl.h: Renamed getTrans to getTransManager.
7289
7290 2002-06-14  Angus Leeming  <leeming@lyx.org>
7291
7292         * Makefile.am: nuke forgotten stl_string_fwd.h.
7293
7294 2002-06-12  Angus Leeming  <leeming@lyx.org>
7295
7296         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7297
7298 2002-06-13  Angus Leeming  <leeming@lyx.org>
7299
7300         * LaTeX.C:
7301         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7302
7303 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7304
7305         * kbmap.C (getiso): add support for cyrillic and greek
7306
7307 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7308
7309         * BufferView.h:
7310         * BufferView.C:
7311         * BufferView_pimpl.h:
7312         * BufferView_pimpl.C: move bogus scrolling logic
7313           to xforms
7314
7315 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * lyxfunc.C:
7318         * BufferView_pimpl.C: view->resize() change
7319
7320 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7321
7322         * BufferView_pimpl.C: topCursorVisible
7323           prototype change
7324
7325 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7326
7327         * Makefile.am:
7328         * lyx_gui.h:
7329         * lyx_gui.C: move to frontends/
7330
7331         * main.C:
7332         * lyx_main.h:
7333         * lyx_main.C: changes from above
7334
7335 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7336
7337         * intl.C:
7338         * intl.h:
7339         * kbmap.C:
7340         * kbsequence.C:
7341         * lyx_cb.C:
7342         * lyx_main.C: minor tidy
7343
7344 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7345
7346         * BufferView_pimpl.h:
7347         * BufferView_pimpl.C:
7348         * BufferView.h:
7349         * BufferView.C: make painter() const,
7350           remove dead code
7351
7352         * BufferView2.C: use screen() accessor
7353
7354         * lyx_main.h:
7355         * lyx_main.C: some minor cleanup
7356
7357 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7358
7359         * BufferView_pimpl.h:
7360         * BufferView_pimpl.C: remove enter/leaveView,
7361           use workHeight()
7362
7363 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7364
7365         * BufferView.h:
7366         * BufferView.C:
7367         * BufferView2.C:
7368         * BufferView_pimpl.h:
7369         * BufferView_pimpl.C: only construct screen once,
7370           rename
7371
7372         * lyxrc.C: remove pointless comment
7373
7374 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7375
7376         * BufferView.h:
7377         * BufferView.C: remove active() and belowMouse()
7378
7379         * BufferView_pimpl.h:
7380         * BufferView_pimpl.C: use workarea() not workarea_,
7381           and make it use a scoped_ptr instead
7382
7383 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * lyx_gui.C: add debug message on BadWindow
7386
7387 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7388
7389         * sp_spell.C: fdopen is not part of the C++ standard.
7390
7391         * paragraph.C (InsetIterator): use >= instead of ==
7392
7393 2002-06-07  Angus Leeming  <leeming@lyx.org>
7394
7395         Fixes needed to compile with Compaq cxx 6.5.
7396         * BufferView_pimpl.C:
7397         * DepTable.C:
7398         * buffer.C:
7399         * converter.C:
7400         * encoding.C:
7401         * lyx_gui.C:
7402         * lyx_main.C:
7403         * lyxtextclasslist.C:
7404         * minibuffer.C:
7405         * sp_spell.C:
7406         * tabular_funcs.C:
7407         * vc-backend.C:
7408         all c-library variables have been moved into namespace std. Wrap
7409         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7410
7411         * lyxlength.C:
7412         * tabular-old.C:
7413         * tabular.C:
7414         Add a using std::abs declaration.
7415
7416         * kbmap.h (modifier_pair):
7417         * paragraph.h (InsetTable, InsetList):
7418         * lyxfont.h (FontBits):
7419         type definition made public.
7420
7421         * bufferlist.C (emergencyWriteAll): the compiler complains that
7422         there is more than one possible lyx::class_fun template to choose from.
7423         I re-named the void specialisation as lyx::void_class_fun.
7424
7425         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7426
7427         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7428         the compiler is is unable to find tostr in write_attribute.
7429
7430 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7431
7432         * buffer.C (sgmlError): hide #warning
7433
7434 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * xtl/*: get rid of xtl, which is not in use anyway
7437
7438         * LyXAction.C (init):
7439         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7440         were unimplemented xtl experimentation
7441
7442 2002-06-04  André Pönitz <poenitz@gmx.net>
7443
7444         * lyxfunc.C: disable array operation on simple formulae
7445
7446 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * converter.C: constify a bit
7449
7450 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7451
7452         * lyx_gui.C: check xforms version correctly
7453
7454 2002-04-30  Herbert Voss  <voss@lyx.org>
7455
7456         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7457         "keep" option
7458
7459 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7460
7461         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7462           attempt to register it with a VCS)
7463
7464 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7465
7466         * lyx_main.C (init): honor variables LYX_DIR_13x and
7467         LYX_USERDIR_13x
7468
7469 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7470
7471         * buffer.h:
7472         * buffer.C:
7473         * lyx_main.C: fix a crash on bad command line,
7474           and give a useful exit status on error
7475
7476         * lyxfunc.C (doImport): allow -i lyx to work
7477
7478 2002-03-30  André Pönitz <poenitz@gmx.net>
7479
7480         * lyxfunc.C: mathed font changes
7481
7482 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * LaTeX.C:
7485         * importer.h:
7486         * importer.C:
7487         * lyx_sty.h:
7488         * lyx_sty.C:
7489         * lyxlex.C:
7490         * lyxrow.h:
7491         * lyxtext.h:
7492         * paragraph.h:
7493         * paragraph.C:
7494         * texrow.h:
7495         * texrow.C:
7496         * text.C:
7497         * trans_mgr.h: srcdocs, and some minor cleanups
7498
7499 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7500
7501         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7502         call getFont all the time)
7503
7504 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7505
7506         * switch from SigC signals to boost::signals
7507
7508 2002-05-29  André Pönitz <poenitz@gmx.net>
7509
7510         * paragraph_pimpl.C (getChar): don't call size() too often...
7511
7512 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7513
7514         * paragraph_pimpl.C (insertChar): do not try to update tables when
7515         appending (pos == size())
7516
7517         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7518         in order to reduce drastically the number of comparisons needed to
7519         parse a large document
7520
7521 2002-05-29  André Pönitz <poenitz@gmx.net>
7522
7523         * text.C:
7524         * text2.C:
7525         * lyxtextclass.C:
7526         * sp_pspell.h:
7527         * textclasslist.[Ch]:
7528         * sp_ispell.h: whitespace change
7529
7530 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7533         lyxaction directly now.
7534
7535 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * trans.C:
7538         * lyxfont.C:
7539         * lyxvc.C: remove unused headers
7540
7541 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * Makefile.am:
7544         * buffer.h:
7545         * undostack.h:
7546         * undostack.C:
7547         * undo_funcs.h:
7548         * undo_funcs.C: some cleanups. Use shared_ptr
7549           and a template for the undo stacks.
7550
7551 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7552
7553         * BufferView_pimpl.h:
7554         * BufferView_pimpl.C:
7555         * kbmap.h:
7556         * kbmap.C:
7557         * kbsequence.h:
7558         * kbsequence.C:
7559         * lyxfunc.h:
7560         * lyxfunc.C:
7561         * text2.C: use key_state/mouse_state
7562
7563 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7564
7565         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7566         and LSubstring
7567
7568         * chset.C: change include order
7569         (loadFile): use boost regex and get rid of LRegex and LSubstring
7570
7571         * Makefile.am (BOOST_LIBS): new variable
7572         (lyx_LDADD): use it
7573
7574         * LaTeX.C: change include order.
7575         (scanAuxFile): use boost regex and get rid of LRegex and
7576         LSubstring
7577         (deplog): ditto
7578
7579 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7580
7581         * ColorHandler.h:
7582         * ColorHandler.C:
7583         * FontInfo.h:
7584         * FontInfo.C: moved to frontends/xforms/
7585
7586         * FontLoader.h:
7587         * FontLoader.C: moved into frontends for GUIIzation
7588
7589         * Makefile.am:
7590         * lyx_gui.C:
7591         * lyxfont.C:
7592         * lyxfunc.C: changes from above
7593
7594 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * LColor.C: remove spurious X include
7597
7598         * BufferView_pimpl.C:
7599         * Makefile.am:
7600         * font.h:
7601         * font.C:
7602         * text.C:
7603         * text2.C: move font metrics to frontends/
7604
7605 2002-05-24  Juergen Vigna  <jug@sad.it>
7606
7607         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7608         setting the undo_cursor.
7609
7610         * ParagraphParameters.h: include local includes first.
7611
7612 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * BufferView_pimpl.C:
7615         * BufferView_pimpl.h:
7616         * Makefile.am:
7617         * WorkArea.h:
7618         * WorkArea.C:
7619         * screen.C: move WorkArea into frontends/
7620
7621         * lyxscreen.h:
7622         * screen.C:
7623         * text.C:
7624         * BufferView.C:
7625         * BufferView2.C: move LyXScreen into frontends/
7626
7627         * lyxlookup.h:
7628         * lyxlookup.C:
7629         * lyx_gui.C: move lyxlookup into frontends/xforms/
7630
7631 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7632
7633         * BufferView2.C:
7634         * BufferView_pimpl.C:
7635         * FontLoader.C:
7636         * LyXView.h:
7637         * LyXView.C:
7638         * Makefile.am:
7639         * WorkArea.C:
7640         * XFormsView.h:
7641         * XFormsView.C:
7642         * buffer.C:
7643         * bufferlist.C:
7644         * bufferview_funcs.C:
7645         * converter.C:
7646         * importer.C:
7647         * lyx_cb.C:
7648         * lyx_gui.C:
7649         * lyx_main.C:
7650         * lyx_find.C:
7651         * lyxfunc.C:
7652         * lyxvc.C:
7653         * minibuffer.C:
7654         * text.C:
7655         * text2.C:
7656         * trans.C:
7657         * vc-backend.C: move LyX/XFormsView into frontends/
7658
7659 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7660
7661         * Makefile.am:
7662         * PainterBase.C:
7663         * PainterBase.h:
7664         * Painter.C:
7665         * Painter.h:
7666         * WorkArea.C:
7667         * WorkArea.h:
7668         * screen.C:
7669         * tabular.C:
7670         * text.C:
7671         * text2.C: move Painter to frontends/
7672
7673 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7674
7675         * buffer.C: comment out some some code that depend upon lyx_format
7676         < 220
7677
7678         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7679         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7680
7681         * buffer.h (NO_COMPABILITY): turn off compability
7682
7683         * ColorHandler.C: include scoped_array.hpp
7684
7685         * font.C: Use more specific smart_ptr header.
7686         * Painter.C: ditto
7687         * gettext.C: ditto
7688         * ShareContainer.h: ditto
7689         * lyx_main.h: ditto
7690         * kbmap.h: ditto
7691         * FontInfo.h: ditto
7692         * BufferView_pimpl.h: ditto
7693         * ColorHandler.h: ditto
7694
7695         * kbmap.C (defkey): change call to shared_ptr::reset
7696
7697 2002-05-21  Juergen Vigna  <jug@sad.it>
7698
7699         * buffer.C (insertErtContents): fix to insert ert asis if it is
7700         non empty. Skip it completely if it contains only whitespaces.
7701
7702 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * BufferView_pimpl.C:
7705         * BufferView2.C: clear selection on paste (bug 393)
7706
7707 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7708
7709         * DepTable.C: include ctime
7710
7711 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7712
7713         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7714
7715 2002-05-14  Juergen Vigna  <jug@sad.it>
7716
7717         * text.C (breakParagraph): fixed function to honor the keepempty
7718         layout in the right maner and also to permit the right breaking
7719         algorithm on empty or non empyt keepempty paragraphs.
7720
7721         * paragraph.C (breakParagraph): we have to check also if the par
7722         is really empty (!size()) for isempty otherwise we do the wrong
7723         paragraph break.
7724
7725 2002-05-10  Juergen Vigna  <jug@sad.it>
7726
7727         * buffer.[Ch] : The following are only changes to the ert
7728         compatibility read reading old LaTeX layout and font stuff and
7729         convert it to ERTInsets.
7730
7731         * buffer.h: added isErtInset().
7732
7733         * buffer.C (struct ErtComp): add a fromlayout bool to check
7734         if we're inside a LaTeX layout.
7735         (isErtInset): new helper function.
7736         (insertErtContents): look for other ert insets before this one
7737         and insert the contents there, so that we don't have subsequent
7738         ERT insets with nothing between them. This way we create only one
7739         inset with multiple paragraphs. Also check if we don't insert only
7740         spaces ' ' as they are ignored anyway afterwards in the .tex file
7741         so if we have only spaces we will ignore this latex part in the
7742         new file.
7743         (parseSingleLyXformat2Token \\layout): better compatibility when
7744         reading layout-latex stuff.
7745         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7746         language tag.
7747         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7748         stuff after reading the inset only get the information back from
7749         the stack.
7750
7751 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7752
7753         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7754
7755         * LaTeXFeatures.C (getBabelOptions): New method.
7756
7757 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7758
7759         * BufferView_pimpl.C (Dispatch): work around missing argument for
7760         'layout'
7761
7762 2002-05-08  Juergen Vigna  <jug@sad.it>
7763
7764         * text.C (leftMargin): handle paragraph leftindent.
7765
7766         * paragraph.C (writeFile): write the new \\leftindent tag.
7767         (validate): handle leftindent code.
7768         (TeXEnvironment): handle paragraphleftindent code again.
7769
7770         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7771
7772         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7773         for paragrap_extra indent code and new token \\leftindent.
7774         (latexParagraphs): handle the leftindent as environment.
7775
7776         * ParameterStruct.h: added leftindent support.
7777
7778         * ParagraphParameters.C (leftIndent): added support functions for
7779         the paragraph left indent.
7780
7781         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7782         more appropriate.
7783
7784 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7785
7786         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7787         inside insetERT.
7788
7789         * text.C (computeBidiTables): No bidi in insetERT.
7790
7791         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7792         in RTL documents.
7793
7794 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7795
7796         * version.C.in: pre 5
7797
7798 2002-05-02  José Matos  <jamatos@fep.up.pt>
7799         * buffer.C (makeDocBookFile): white space changes, add newline to
7800         command styles.
7801         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7802
7803         * tabular.C (docBook): fix typo.
7804
7805 2002-05-03  Juergen Vigna  <jug@sad.it>
7806
7807         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7808         change in LyXText as we can not be sure it was not freed.
7809         (drawOneRow): remove unused code.
7810
7811         * text.C (drawInset): redo the calculation of the need_break_row as
7812         it could have a row which was already freed.
7813         (draw): look at the return value of drawInset and return false if
7814         it also returned false.
7815         (paintRowText): look at the return value of draw and return false if
7816         it also returned false.
7817
7818         * lyxtext.h: added bool return type to drawInset() and draw() so that
7819         if we have a change in the row so that the rowbreak has to be redone
7820         we abort drawing as it will be called again.
7821
7822 2002-05-02  Juergen Vigna  <jug@sad.it>
7823
7824         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7825         a change in the maintext also if we're inside an inset.
7826         (Dispatch): set the cursor again after a break line and after the
7827         screen has been updated as it could be we're in a different row.
7828
7829         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7830         to set the cursor behind the pargraph with > size().
7831         (setCursor): check also for the same paragraph when checking where
7832         to put the cursor if we have a NFR inset.
7833
7834         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7835         parts of layout read further up as it still was in the wrong
7836         position.
7837
7838 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7839
7840         * screen.C (drawFromTo): change sine fullRebreak always return
7841         true.
7842
7843         * buffer.C (parseSingleLyXformat2Token): reindent some
7844
7845         * BufferView_pimpl.C (update): change since fullRebreak always
7846         return true.
7847         (Dispatch): git rid of the last hardcoded "Standard"s.
7848
7849 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7850
7851         * text2.[Ch] (fullRebreak): make it return void now that we always
7852         returned true.
7853
7854 2002-04-30  Juergen Vigna  <jug@sad.it>
7855
7856         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7857         ert compatibility check for "latex" layout.
7858
7859 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7860
7861         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7862         minipages: use col% instead of p%, and also use the current font.
7863         (makeLaTeXFile): Fix use babel condition.
7864         (parseSingleLyXformat2Token): Correct font when reading old floats.
7865
7866 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7867
7868         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7869         inserting list of floats.
7870
7871 2002-04-25  Herbert Voss  <voss@lyx.org>
7872
7873         * MenuBackend.C (expand): don't add the graphics extensions to the
7874         export menu
7875
7876 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7877
7878         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7879         non-existing layout, do not complain if it was the default layout
7880         of the original class (bug #342)
7881
7882 2002-04-24  Juergen Vigna  <jug@sad.it>
7883
7884         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7885         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7886
7887 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7888
7889         * buffer.C (getBibkeyList): If using \bibliography, return the
7890         option field with the reference itself. Enables us to provide natbib
7891         support when using \bibliography.
7892
7893 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7894
7895         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7896
7897         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7898         natbib is provided by the LaTeX class.
7899
7900 2002-04-23  Juergen Vigna  <jug@sad.it>
7901
7902         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7903         Wakeup functions.
7904
7905         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7906
7907 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7908
7909         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7910
7911         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7912         ensuremath around textordmasculine, textordfeminine and
7913         textdegree.
7914
7915 2002-04-19  Juergen Vigna  <jug@sad.it>
7916
7917         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7918         reinitializing the buffer otherwise row-dimensions may be wrong.
7919         (update): reset also the selection cursors if they do exits otherwise
7920         their x/y positions may be wrong.
7921
7922         * text2.C (cursorDown): don't enter the inset if we came from a row
7923         above and are one row over the inset.
7924
7925         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7926         really leaving an inset.
7927
7928 2002-04-18  Juergen Vigna  <jug@sad.it>
7929
7930         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7931         of the selected paragraph does not have the selected layout also if
7932         the last one had!
7933
7934         * text2.C (setLayout): fixed bug which did not change last selected
7935         paragraph.
7936
7937         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7938         changed the read and substituted \\end_float with \\end_inset!
7939
7940         * BufferView_pimpl.C (cursorPrevious):
7941         (cursorNext): fixed to make it work with rows heigher than the work
7942         area without moving the cursor only the draw of the row.
7943         (workAreaMotionNotify): fix jumping over high rows.
7944
7945 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7946
7947         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7948         Ressler.
7949
7950 2002-04-16  Juergen Vigna  <jug@sad.it>
7951
7952         * text2.C (setCursor): set also the irow().
7953         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7954         (cursorUp):
7955         (cursorDown): support for locking an inset if the x_fix value goes
7956         inside it. That way I can transverse insets too with cursor up/down.
7957
7958         * lyxrow.h: added irow helper function same as other (i) functions.
7959
7960         * BufferView_pimpl.C (cursorPrevious):
7961         (cursorNext): fixed for insets!
7962
7963 2002-04-15  Juergen Vigna  <jug@sad.it>
7964
7965         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7966         position otherwise it is wrong in some cases.
7967
7968         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7969         inside the inset before the call.
7970
7971 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7972
7973         * buffer.[Ch] (getBibkeyList): make it const.
7974
7975 2002-04-12  Juergen Vigna  <jug@sad.it>
7976
7977         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7978
7979         * text2.C (getCursorX): new helper function
7980         (setCursor): compute also ix_
7981         (setCursorFromCoordinates): set also ix.
7982
7983         * lyxcursor.h: added ix_ and helper functions.
7984
7985         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7986
7987         * buffer.C (insertStringAsLines): dont break paragraph if the this
7988         paragraph is inside an inset which does not permit it!
7989
7990         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7991         also with no chars on this paragraph.
7992         (paintRowText): only paint stuff if it's inside the workarea!
7993
7994         * paragraph.C (breakParagraph): honor keepempty flag and break the
7995         paragraph always below not above.
7996
7997         * BufferView2.C (unlockInset): update the paragraph layout on inset
7998         unlock as we changed paragraph in such a case.
7999
8000         * lyxfind.C (LyXFind): clear the former selection if not found!
8001
8002         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8003         again called in insertChar().
8004
8005         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8006         an inset which uses the whole row!
8007         (rightMargin): ditto.
8008         (insertChar): force a rebreak if we inserted an inset!
8009
8010 2002-03-28  Herbert Voss  <voss@lyx.org>
8011
8012         * lyxlength.[Ch]: add inBP() to get the right PS-point
8013         units (BigPoint). With inPixels we have rounding errors
8014
8015 2002-04-11  Juergen Vigna  <jug@sad.it>
8016
8017         * text2.C (setCursorFromCoordinates): set iy to the right value.
8018         (setCursor): add check if row->previous exists!
8019
8020         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8021         an old float_type as this was the case in the old code!
8022
8023         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8024
8025         * BufferView2.C (showLockedInsetCursor): use iy
8026         (fitLockedInsetCursor): ditto
8027
8028         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8029         locked insets as there we have the right value now.
8030
8031         * lyxcursor.C: added iy_ variable and iy functions to set to the
8032         baseline of cursor-y of the locked inset.
8033
8034         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8035         (setCursor): fixed for insets which need a full row.
8036
8037         * text.C (rowLastPrintable): don't ignore the last space when before
8038         an inset which needs a full row.
8039         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8040         as last character of a row when before a inset which needs a full row.
8041
8042 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8043
8044         * version.C.in: update date
8045
8046         * text2.C (fullRebreak): try to always return true and see what
8047         happens...
8048
8049 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8050
8051         * MenuBackend.C (expand): use Floating::listName
8052
8053         * FloatList.C (FloatList): add listName argument to the built-in
8054         floats
8055
8056         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8057         text associated with the float.
8058
8059 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8060
8061         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8062
8063 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8064
8065         * ShareContainer.h: add a couple of missing typenames.
8066
8067 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8068
8069         * lyxrc.C (getDescription): use _() correctly rather than N_().
8070
8071 2002-03-28  Herbert Voss  <voss@lyx.org>
8072
8073         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8074         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8075
8076 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8077
8078         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8079         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8080
8081 2002-03-29  Juergen Vigna  <jug@sad.it>
8082
8083         * lyxfunc.C (dispatch): add a missing fitCursor call.
8084
8085         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8086         it was scrolled by a cursor move, so return the bool status.
8087
8088         * BufferView.C (fitCursor): return the bool flag also to the outside
8089         world as this is needed.
8090
8091         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8092
8093         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8094         call the edit() as it is not needed (and wrong) IMO.
8095         (workAreaButtonPress): set the screen_first variable before evt.
8096         unlock the inset as this may change screen_first and then we have
8097         a wrong y position for the click!
8098
8099 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8100
8101         * MenuBackend.C (expand): another translation that I missed
8102
8103 2002-03-28  Juergen Vigna  <jug@sad.it>
8104
8105         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8106
8107         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8108
8109 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8110
8111         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8112
8113         * MenuBackend.C (expand): fix export/view/update when there is no
8114         document open.
8115
8116 2002-03-27  Herbert Voss  <voss@lyx.org>
8117
8118         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8119         and text%
8120
8121 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8122
8123         * bufferview_funcs.C (currentState): only show paragraph number
8124         for is DEVEL_VERSION is set.
8125
8126         * lyxfunc.C (dispatch): put warning in INFO channel
8127
8128         * MenuBackend.C (expand): translate the name of floats
8129
8130         * FloatList.C (FloatList): mark the float names for translation
8131
8132         * converter.C (convert): use LibScriptSearch
8133
8134 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * MenuBackend.C (defaults): fix default menu (we might as well get
8137         rid of it...)
8138
8139 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8140
8141         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8142         directory.
8143
8144 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8145
8146         * lyxvc.C: reorder includes.
8147
8148 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8151           properly
8152
8153 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8154
8155         * CutAndPaste.C: change layouts earlier on paste
8156           to avoid crashing when calling getFont()
8157
8158 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8159
8160         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8161         irritating #error.
8162
8163 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8164
8165         * WorkArea.C: remove 'Pending' debug message.
8166
8167         * most files: ws cleanup
8168
8169         * buffer.[Ch]: ws changes
8170
8171         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8172
8173 2002-03-21  Juergen Vigna  <jug@sad.it>
8174
8175         * tabular.C (SetMultiColumn): collapse also the contents of the
8176         cells and set the last border right. Added a Buffer const * param.
8177
8178 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8179
8180         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8181         linking or not.
8182
8183 2002-03-19  Juergen Vigna  <jug@sad.it>
8184
8185         * text2.C (clearSelection): reset also xsel_cache.
8186
8187         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8188         where it needs to be called (John tells us to do so too :)
8189         (selectionLost): reset sel_cache.
8190
8191         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8192
8193 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8194
8195         * text2.C (setCursorIntern): put debuging code in INSETS channel
8196
8197 2002-03-19  André Pönitz <poenitz@gmx.net>
8198
8199         * lyxfunc.C: tiny whitespace change
8200
8201 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8202
8203         * ToolbarDefaults.C (init):
8204         * LyXAction.C (init):
8205         * commandtags.h:
8206         * BufferView_pimpl.C (Dispatch):
8207         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8208
8209 2002-03-19  Allan Rae  <rae@lyx.org>
8210
8211         * exporter.C (Export): removeAutoInsets before doing anything else.
8212         While I've just introduced a dependency on BufferView this really is
8213         the best place to clean the buffer otherwise you need to cleanup in
8214         a dozen places before calling export or cleanup in a dozen functions
8215         that export calls.
8216
8217         * converter.C (runLaTeX):
8218         (scanLog): Better handling of removeAutoInsets and screen updates.
8219
8220         * lyxfunc.C (dispatch): small whitespace changes
8221
8222 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8223
8224         * WorkArea.C (C_WorkAreaEvent): return a value.
8225         (event_cb): return 1 if we handled the event, 0 otherwise.
8226
8227         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8228
8229 2002-03-18  Juergen Vigna  <jug@sad.it>
8230
8231         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8232         (GetAdditionalWidth): ditto.
8233         (RightLine): ditto.
8234         (LeftLine): ditto.
8235
8236         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8237         inset if we're there actually (probably not used right now but this
8238         is the direction to go for unifying code).
8239         (paste): disable code to clear the selection.
8240
8241         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8242         inside an InsetText and move the check further up as it is in the
8243         wrong place.
8244
8245         * text2.C (pasteSelection): set a selection over the pasted text.
8246
8247 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8248
8249         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8250         and libgraphics to build on Cygwin.
8251
8252 2002-03-15  Juergen Vigna  <jug@sad.it>
8253
8254         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8255         inserting an Inset into the paragraph. I know this is not the best
8256         fix but we already use current_view in CutAndPaste so we will remove
8257         all of it's using at the same time.
8258
8259         * buffer.C (sgmlError): deactivated function till it is rewritten in
8260         the right mode, now it can create problems.
8261
8262         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8263         before accessing it.
8264
8265 2002-03-14  Juergen Vigna  <jug@sad.it>
8266
8267         * undo_funcs.C (textHandleUndo): do the right thing when updating
8268         the inset after the undo/redo.
8269
8270         * text2.C (setCursor): just some testcode for #44 not ready yet.
8271
8272         * undo_funcs.C (textHandleUndo): set the next() and previous()
8273         pointers of the paragraph to 0 before deleting otherwise we have
8274         problems with the Paragraph::[destructor].
8275
8276         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8277         on a paragraph insertion.
8278
8279 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * buffer.C (asciiParagraph): use += operator for char append to
8282         string.
8283
8284         * paragraph.C (getFontSettings): compare >= not just >
8285         (highestFontInRange): ditto
8286         (setFont): ditto
8287
8288 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8289
8290         * paragraph.C: change several algorithm to be more appripriate for
8291         the problem domain. This is lookip in FontList and in the InsetList.
8292
8293 2002-03-13  André Pönitz <poenitz@gmx.net>
8294
8295         * commandtags.h:
8296         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8297
8298 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * commandtags.h:
8301         * LyXAction.C:
8302         * lyxfunc.C:
8303         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8304
8305 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8306
8307         * Painter.C (display): anon helper function, adjust code for this
8308         change.
8309         (pixmap): remove function.
8310
8311         * Painter.h: remove private display variable.
8312
8313         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8314
8315 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8316
8317         * WorkArea.[Ch]: remove figinset_canvas cruft.
8318
8319 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8320
8321         * lyxtextclass.C (operator): add one item cache optimization.
8322
8323         * bufferlist.h: doxy changes
8324
8325         * bufferlist.C: ws changes
8326
8327         * DepTable.[Ch] (ext_exist): place const in the right spot.
8328
8329         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8330         call resizeInsets.
8331         (workAreaExpose): call resizeInsets when the with BufferView changes.
8332         (Dispatch): adjust for protectedBlank removal
8333         (specialChar): call updateInset if the insert went ok.
8334
8335         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8336         specialChar instead.
8337
8338         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8339
8340         * BufferView.h: doxy change
8341
8342         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8343
8344         * lyxtextclass.C (operator[]): remove non-const version
8345         (defaultLayout): remove non-const version
8346
8347 2002-03-12  Juergen Vigna  <jug@sad.it>
8348
8349         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8350         did resize the LyXText too.
8351
8352         * buffer.C (readLyXformat2): set layout information on newly allocated
8353         paragraphs.
8354
8355         * tabular.C (OldFormatRead): set layout information on the paragraph.
8356
8357 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8358
8359         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8360
8361 2002-03-11  Juergen Vigna  <jug@sad.it>
8362
8363         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8364         plainly wrong.
8365         (resizeCurrentBuffer): force also the insets to resize themselfes.
8366         (moveCursorUpdate): fixed up for InsetText.
8367
8368 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8369
8370         * commandtags.h:
8371         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8372         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8373         value of Dialogs::tooltipsEnabled().
8374         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8375
8376 2002-03-08  Juergen Vigna  <jug@sad.it>
8377
8378         * BufferView_pimpl.C (updateInset): update inset inside inset also
8379         if it isn't inside theLockingInset().
8380
8381 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8382
8383         * buffer.C (asciiParagraph): redo some of the word and line length
8384         handling.
8385         (getLists): look for Caption instead of caption.
8386
8387 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8388
8389         * buffer.C (Buffer): initialize niceFile to true
8390         (makeLaTeXFile):
8391         (makeLinuxDocFile):
8392         (makeDocBookFile): make sure niceFile is true on exit
8393
8394 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8395
8396         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8397
8398 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8399
8400         * LyXSendto.C: remove.
8401         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8402         * lyx_gui.C: remove now-redundant comment.
8403         * ColorHandler.h: remove forward declaration of class WorkArea.
8404         * lyxfunc.C: remove #include "WorkArea.h".
8405
8406 2002-03-07  Juergen Vigna  <jug@sad.it>
8407
8408         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8409         got moved away with the DEPM and also set the inset_owner always
8410         right which before could have been omitted.
8411
8412 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8413
8414         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8415         wanted layout is not found.
8416
8417 2002-03-07  Juergen Vigna  <jug@sad.it>
8418
8419         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8420
8421 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8422
8423         * paragraph.C (breakParagraph): use default layout not layout of
8424         prev paragraph.
8425         (Paragraph): clear ParagraphParameters.
8426
8427 2002-03-06  Juergen Vigna  <jug@sad.it>
8428
8429         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8430         otherwise it would not be a valid lenght. Fixed a special case in
8431         the minipage compatibility read where we end the document with a
8432         minipage.
8433
8434         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8435         was set as it could be 0 for InsetTexts first entry.
8436
8437 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8438
8439         * paragraph.C (writeFile): if layout is empty write out
8440         defaultLayoutName().
8441
8442         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8443         file without named layout we set layout to defaultLayoutName().
8444
8445 2002-03-06  Juergen Vigna  <jug@sad.it>
8446
8447         * CutAndPaste.C (copySelection): set layout for new paragraph.
8448
8449         * text.C (prepareToPrint): leave ERT inset left aligned
8450         (leftMargin): don't indent paragraphs inside ERT insets
8451
8452 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8453
8454         * paragraph.C (breakParagraph): dont call clear do the work manually
8455
8456         * paragraph.[Ch] (clear): remove function
8457
8458 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8459
8460         * paragraph.C (Paragraph): dont call clear, the work has already
8461         been done.
8462
8463         * lyxtextclass.C (operator): assert if n is empty
8464
8465         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8466         work manually instead.
8467
8468 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * BufferView_pimpl.C: protect selectionLost against text == 0
8471
8472 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8473
8474         * text.C (breakParagraph): fix a setting layout to '0' problem.
8475
8476 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8477
8478         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8479         final location of file, for the included files, and graphics.
8480
8481 2002-03-05  Juergen Vigna  <jug@sad.it>
8482
8483         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8484
8485 2002-03-04  Juergen Vigna  <jug@sad.it>
8486
8487         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8488
8489         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8490         last column of multicolumn cells.
8491         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8492
8493 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8494
8495         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8496         file if it doesn't go to a temporary file.
8497
8498         * buffer.C (sgmlOpenTag):
8499         (sgmlCloseTag):  remove extra newline insertion.
8500
8501 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8502
8503         * text.C (getRowNearY): comment out debug msg
8504
8505 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8506
8507         * text2.C: first -> first_y
8508
8509         * text.C (getRowNearY): add some attemts at a possible
8510         optimization, not working.
8511
8512         * tabular.[Ch]: add BufferParams to several function so that newly
8513         created paragraph can be initialized to he default layotu for the
8514         buffers textclass.
8515
8516         * tabular-old.C (ReadOld): add buf->params to call of Init
8517
8518         * screen.C: rename text->first to text->first_y
8519
8520         * paragraph.C (breakParagraph): always set layout in the broken
8521         paragraph
8522
8523         * lyxtextclass.C (Read): remove lowercase
8524         (hasLayout): ditto
8525         (operator): ditto
8526         (delete_layout): ditto
8527
8528         * lyxtext.h: rename first -> first_y
8529
8530         * lyxlayout.C (Read): remove lowercase
8531         (name): ditto
8532         (setName): ditto
8533         (obsoleted_by): ditto
8534
8535         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8536
8537         * buffer.C (insertErtContents): add params are to InsetERT
8538         (parseSingleLyXformat2Token): add code to check if a paragraphs
8539         layout really exist.
8540         (parseSingleLyXformat2Token): add params to several inset
8541         constructors
8542         (asciiParagraph): remove lowercase, do the layout comparisons with
8543         no_case
8544
8545         * BufferView_pimpl.C (cursorNext): first -> first_y
8546         (resizeCurrentBuffer): first -> first_y
8547         (updateScrollbar): first -> first_y
8548         (scrollCB): first -> first_y
8549         (workAreaMotionNotify): first -> first_y
8550         (workAreaButtonPress): first -> first_y
8551         (checkInsetHit): first -> first_y
8552         (cursorPrevious): first -> first_y
8553         (cursorNext): first -> first_y
8554         (Dispatch): add buffer_->params to severl inset contructors
8555
8556 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8557
8558         * lyxlayout.C (Read): remove some debug info that I forgot.
8559
8560         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8561         clean up the code slightly.
8562         (makeLinuxDocFile): ditto
8563         (makeDocBookFile): ditto
8564
8565         * text2.C: layout as string
8566
8567         * text.C: layout as string
8568
8569         * paragraph_pimpl.C: layout as string
8570
8571         * paragraph.[Ch]: layout as string
8572
8573         * lyxtextclasslist.[Ch]: layout as string
8574
8575         * lyxtextclass.[Ch]: layout as string
8576
8577         * lyxtext.h: layout as string
8578
8579         * lyxlayout.[Ch]: layout as string
8580
8581         * lyx_cb.C: layout as string
8582
8583         * bufferview_funcs.C: layout as string
8584
8585         * bufferparams.C: layout as string
8586
8587         * buffer.C: layout as string
8588
8589         * LyXView.[Ch]: layout as string
8590
8591         * LaTeXFeatures.[Ch]: layout as string
8592
8593         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8594
8595         * BufferView_pimpl.C: change current_layout to string, remove
8596         lyx::layout_type.
8597         (Dispatch):
8598         (smartQuote):
8599         (insertInset):
8600         (workAreaButtonRelease): layout as string
8601
8602         * BufferView2.C (unlockInset): adjust
8603
8604         * vspace.C (asLatexCommand): use an explict temp variable.
8605
8606 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * Makefile.am: use FRONTEND_*
8609
8610 2002-03-01  Juergen Vigna  <jug@sad.it>
8611
8612         * tabular.C (SetWidthOfMulticolCell): changed to something better
8613         I hope but still work in progress.
8614         (recalculateMulticolumnsOfColumn): renamed function from
8615         recalculateMulticolCells as it is more appropriate now.
8616         (SetWidthOfCell): calculate multicols better.
8617
8618 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8619
8620         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8621
8622         * lyxfunc.C (processKeySym): print sequence also if it is
8623         `deleted' (complete)
8624
8625         * kbsequence.C (print): print sequence even if it is deleted
8626         (complete would be a better word, actually).
8627
8628         * lyxfunc.C (dispatch): print complete options after a prefix key
8629
8630         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8631
8632 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8633
8634         * text2.C (setCharFont): eliminate setCharFont code duplication.
8635
8636 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8637
8638         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8639         LFUN_TABULAR_FEATURE (bug #177)
8640
8641 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8642
8643         * Makefile.am: remove figure.h
8644
8645 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8646
8647         * Bufferview_pimpl.C:
8648         * CutAndPasteC:
8649         * LaTeX.C:
8650         * LyXSendto.C:
8651         * buffer.C:
8652         * bufferlist.C:
8653         * converter.C:
8654         * language.C:
8655         * lyxfunc.C:
8656         * lyxvc.C:
8657         * paragraph.C:
8658         * text.C:
8659         * text2.C: remove #include "lyx_gui_misc.h".
8660
8661         * LaTeX.C: added #include <cstdio>
8662
8663 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8666         that the paragraph following this one can have.
8667
8668         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8669
8670         * vspace.C (asLatexCommand): fix bogus gcc warning
8671
8672         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8673
8674 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8675
8676         * text2.C (setLayout): get rid of redundant code
8677
8678 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8679
8680         * text2.C (incDepth): make sure depth cannot be increased beyond
8681         reasonable values.
8682
8683 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8684
8685         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8686         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8687
8688         * PainterBase.h (image):
8689         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8690         a LyXImage const *.
8691
8692 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8693
8694         * BufferView.C:
8695         * BufferView.h:
8696         * BufferView_pimpl.C:
8697         * BufferView_pimpl.h:
8698         * LaTeXFeatures.C:
8699         * LyXAction.C:
8700         * LyXView.C:
8701         * Makefile.am:
8702         * UpdateList.h:
8703         * UpdateList.C:
8704         * buffer.C:
8705         * figure.h:
8706         * figureForm.C:
8707         * figureForm.h:
8708         * figure_form.C:
8709         * figure_form.h:
8710         * lyx_cb.C:
8711         * lyx_gui.C:
8712         * lyx_gui_misc.C:
8713         * lyxfunc.C:
8714         * sp_base.h:
8715         * sp_ispell.h:
8716         * sp_pspell.h:
8717         * sp_spell.C: remove fig inset, and the crap house of
8718           cards that follows it
8719
8720 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8721
8722         * Makefile.am:
8723         * lyxserver.C:
8724         * os2_defines.h:
8725         * os2_errortable.h:
8726         * nt_defines.h: move .h into support/
8727
8728         * vms_defines.h: remove
8729
8730         * WorkArea.C: add space in debug output
8731
8732         * text2.C:
8733         * paragraph.C:
8734         * buffer.C: add WITH_WARNINGS
8735
8736         * vc-backend.h:
8737         * vc-backend.C:
8738         * bufferlist.C: s/retrive/retrieve/, add docs
8739
8740         * vspace.h:
8741         * vspace.C:
8742         * kbmap.h:
8743         * lyxlength.h:
8744         * lyxgluelength.h:
8745         * length_common.h:
8746         * chset.h:
8747         * chset.C: add docs
8748
8749         * lyxgui.C: add ID to X error handler
8750
8751         * lyxtestclass.c: fix typo
8752
8753 2002-02-26  Juergen Vigna  <jug@sad.it>
8754
8755         * tabular_funcs.C (write_attribute): changed so that some default
8756         attributes are not written at all.
8757         (getTokenValue): set default values before trying to read the
8758         value so we have the return value always set as default if we don't
8759         find the token we search for.
8760
8761         * tabular.C (Write): write bools as bools not as strings!
8762
8763 2002-02-22  Juergen Vigna  <jug@sad.it>
8764
8765         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8766         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8767
8768         * text.C (leftMargin): don't add an indent for paragraphs inside
8769         tabular cells (fix #208).
8770
8771 2002-02-21  José Matos  <jamatos@fep.up.pt>
8772
8773         * tabular.C (docBook): fixed support for long tables.
8774
8775 2002-02-20  Juergen Vigna  <jug@sad.it>
8776
8777         * text2.C (getFont): get the drawing font of the Inset if this
8778         paragraph is inside an inset (only important for InsetERT for now).
8779
8780         * buffer.C (insertErtContents): use new lanugage params in ERT
8781         constructor.
8782
8783         * CutAndPaste.C: commenting out seemingly uneeded code.
8784
8785 2002-02-19  Allan Rae  <rae@lyx.org>
8786
8787         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8788         Iterators might be simple to use but they also get invalidated.
8789         (removeAutoInsets): renamed saved cursor tracking variables and added
8790         some comments to clarify what everything does.
8791
8792 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8793
8794         * Chktex.C:
8795         * LaTeX.C:
8796         * LyXSendto.C:
8797         * converter.C:
8798         * lyx_cb.C:
8799         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8800         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8801
8802         * lyxfunc.C:
8803         * vc-backend.h: remove #include "support/syscall.h"
8804
8805         * LaTeX.C:
8806         * LyXSendto.C:
8807         * converter.C: rearrange #includes in Lars' approved fashion.
8808
8809         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8810         forward declare class Timeout in the header file.
8811
8812         * XFormsView.C: changes due to the above.
8813
8814         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8815         similar to LyXView.
8816
8817         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8818         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8819
8820 2002-02-18  José Matos  <jamatos@fep.up.pt>
8821
8822         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8823         insets contents.
8824
8825 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8826
8827         * a lot of small ws changes
8828         * add a lot of using std::XXX
8829         * use std construcs some places where approp.
8830         * use some exisint stuff from lyxfunctional where approp.
8831         * Make file changes to use partial linking (lets test this now...)
8832
8833 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8834
8835         * Chktex.C:
8836         * buffer.C:
8837         remove #include "support/syscontr.h" as it's redundant. Always has been.
8838
8839         * Chktex.C:
8840         * LaTeX.C:
8841         * LyXSendto.C:
8842         * converter.C:
8843         * lyx_cb.C:
8844         * vc-backend.C:
8845         change Systemcalls::System to Systemcalls::Wait and
8846         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8847         No change of functionality, just reflects the stripped down Systemcalls
8848         class.
8849
8850 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8851
8852         * debug.[Ch]: add a GRAPHICS type to the enum.
8853
8854 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8855
8856         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8857
8858         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8859         there is an inset.
8860
8861 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8864         match the changes below.
8865
8866         * text2.C (toggleInset): if there is not editable inset at cursor
8867         position, try to see if cursor is _inside_ a collapsable inset
8868         and close it.
8869
8870 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8871
8872         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8873         document menu has a nice checkbox
8874
8875 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * lyxlength.C (asLatexString): change PW to output as percent of
8878         \textwidth.
8879
8880         * lengthcommon.C: change '%' to 't%'
8881
8882         * lyxfunc.C (dispatch): a few comments from Martin
8883
8884 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * WorkArea.h:
8887         * WorkArea.C:
8888         * BufferView_pimpl.h:
8889         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8890           the X selection.
8891
8892 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * vspace.C (inPixels): fix compiler warning
8895
8896 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * lyxfunc.C (getStatus): fix status message for disabled commands.
8899
8900 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8901
8902         * BufferView_pimpl.C: fix crash on close buffer
8903         during selection (#227)
8904
8905 2002-01-27  Herbert Voss  <voss@lyx.org>
8906
8907         * buffer.C: link old Figure to new graphic inset
8908
8909 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8910
8911         * FontLoader.C (getFontinfo): Change the latex font names in order
8912         to match the names of type1inst.
8913
8914 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8915
8916         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8917
8918         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8919         (extchanged): ditto
8920         (ext_exist): ditto
8921         (remove_files_with_extension): ditto
8922         (remove_file): ditto
8923         (write): ditto
8924
8925         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8926         document is smaller than the work area height. Do not initialize
8927         static variables to 0.
8928
8929 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8932
8933         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8934         LFUN_LAYOUT_PARAGRAPHS.
8935
8936         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8937         tabular. It is possible to provide a possible cell, which will
8938         typically be the actcell from the corresponding insettabular
8939
8940         * lyxfunc.C (getStatus): small cleanup; disable
8941         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8942         true
8943
8944 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8945
8946         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8947
8948         * paragraph.C (startTeXParParams):
8949         (endTeXParParams): new methods. The LaTeX code to
8950         start/end paragraph formatting
8951         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8952         empty (fixes bug #200)
8953
8954         * vspace.C (inPixels): adapt to the change below
8955         (inPixels): [later] more cleanups (remove unused variables)
8956
8957         * lyxlength.C (inPixels): change to use a width and a height as
8958         parameter.
8959
8960 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8961
8962         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8963         Replaced with \paperwidth
8964
8965         * DepTable.C (insert): add std:: qualifier
8966
8967 2002-01-18  Allan Rae  <rae@lyx.org>
8968
8969         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8970         updated also?
8971
8972         * text.C (drawInset): Turned out I didn't know enough about how
8973         rebreaking worked.  This fixes most of the redraw problems.  I see
8974         an occasional cursor trail when a line is broken now and the cursor
8975         placement can seem out by a few pixels also after a rebreak.
8976
8977 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * buffer.C (parseSingleLyXformat2Token): update because minipage
8980         width is now a LyXLength
8981
8982         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8983
8984         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8985         math insets
8986
8987 2002-01-17  Juergen Vigna  <jug@sad.it>
8988
8989         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8990
8991         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8992         is set correctly and the inset is updated correctly.
8993
8994 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8995
8996         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8997         the beginning of the loop.
8998
8999 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9000
9001         * lyxrc.C: improve help for use_scalable_fonts
9002
9003 2002-01-17  Allan Rae  <rae@lyx.org>
9004
9005         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9006
9007 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9008
9009         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9010         make sure to set their inset_owner to the right value (bug #171)
9011
9012 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9013
9014         * DepTable.h
9015         * DepTable.C: Implement mtime checking to reduce time spent doing
9016         CRCs.
9017
9018 2002-01-16  Juergen Vigna  <jug@sad.it>
9019
9020         * tabular.C (GetAdditionalHeight): one of error fixed.
9021
9022         * lyxrc.C (output): small fix in writing use_pspell.
9023
9024 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9025
9026         * sp_base.h: #include LString.h
9027
9028 2002-01-16  Allan Rae  <rae@lyx.org>
9029
9030         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9031         Can someone check this please?
9032
9033         * text.C (drawInset): It was possible that p.row would be removed by
9034         breakAgainOneRow upsetting a few other settings.  There may be another
9035         small tweak possible by setting need_break_row = 0 when p.row has been
9036         removed but I don't know enough about the logic here.
9037
9038 2002-01-15  Allan Rae  <rae@lyx.org>
9039
9040         * text.C (insertChar): removed conditional truism.
9041
9042         * BufferView2.C (removeAutoInsets): More tweaks.
9043         cur_par_prev could be a stray pointer.  Check for trailing empty line
9044         in case last line was cur_par and only had an error inset on it.
9045
9046 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9049         absolute
9050
9051         * vc-backend.C (most methods):
9052         * exporter.C (Export):
9053         * converter.C (convert):
9054         (runLaTeX):
9055         * LyXSendto.C (SendtoApplyCB):
9056         * lyxfunc.C (dispatch):
9057         (menuNew):
9058         (open):
9059         (doImport):
9060         * lyx_cb.C (AutoSave):
9061         (InsertAsciiFile):
9062         * BufferView_pimpl.C (MenuInsertLyXFile):
9063         * buffer.C (runChktex): use Buffer::filePath().
9064
9065         * buffer.h: rename filename to filename_; rename filepath to
9066         filepath_ and make it private
9067         (filePath): new method
9068
9069         * buffer.C (writeFile): use fileName()
9070         (getLatexName):
9071
9072         * lyx_main.C (init): fix starting  of LyX when the binary is a
9073         link from so,ewhere else.
9074
9075         * minibuffer.C: include <cctype> for isprint
9076
9077 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9078
9079         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9080         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9081         name clash with InsetCollapsable's width function.
9082
9083 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9084
9085         * lastfiles.C: include <iterator>
9086
9087 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9088
9089         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9090         std::count.
9091
9092         * buffer.C (makeLaTeXFile): ditto.
9093         Also make loop operation more transparent.
9094
9095 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9096
9097         * ToolbarDefaults.C: remove trailing comma closing namespace.
9098
9099         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9100
9101         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9102         as in WorkArea.
9103
9104         * trans.C (Load): comment out unused variable, allowed.
9105
9106 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9107
9108         * minibuffer.[Ch] (append_char): new method to recieve input from the
9109         drop-down completion browser. If a key was pressed, then recieve this
9110         char and append it to the existing string.
9111         (peek_event): modify the positioning data passed to the completion
9112         browser so that it can be placed above the minibuffer rather than below.
9113 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9114
9115         * LyXAction.C (init): alloe error-next for readonly documents.
9116
9117         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9118         count.
9119
9120 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9121
9122         * bufferlist.C (readFile): create the buffer _after_ checking that
9123         the file exists.
9124
9125         * lyxfunc.C (verboseDispatch): fix handling of arguments
9126
9127         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9128
9129         * lyxrc.C: use string::erase() instead of initializing to "".
9130
9131
9132 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9133
9134         * BufferView_pimpl.h:
9135         * BufferView_pimpl.C:
9136         * WorkArea.h:
9137         * WorkArea.C:
9138         * text2.C: tell X when we have made a selection for copying
9139
9140 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9141
9142         * BufferView_pimpl.C (MenuInsertLyXFile):
9143         * lyxfunc.C (menuNew):
9144         (open):
9145         (doImport): add shortcuts to directory buttons
9146
9147         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9148         open a float)
9149
9150         * lyxfunc.C (setStatusMessage):
9151         (getStatusMessage): new methods
9152         (getStatus):use setStatusMessage instead of setErrorMessage
9153         (dispatch): when function is disabled, set error message here
9154         [instead of in getStatus previously]
9155
9156         * BufferView_pimpl.C (workAreaButtonRelease): update
9157         toolbar/menubar here too.
9158
9159 2002-01-13  Allan Rae  <rae@lyx.org>
9160
9161         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9162         Now seems indestructible.  Remaining task is to audit all other
9163         code affected by deleteEmptyParagraphMechanism.  One small quirk
9164         left is that an empty document with an error in the preamble can
9165         be made to report an error but no error box appears.  I don't know
9166         where it goes.
9167         (removeAutoInsets): Improved comments.
9168
9169 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * Thesaurus.h:
9172         * Thesaurus.C: update for Aiksaurus 0.14
9173
9174 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9175
9176         * text2.C (firstParagraph): removed member function, all uses
9177         replaces with ownerParagraph
9178         (redoParagraphs): here
9179         (updateInset): here
9180         (toggleAppendix): here
9181         * BufferView2.C (insertErrors): here
9182         (setCursorFromRow): here
9183
9184 2002-01-13  Allan Rae  <rae@lyx.org>
9185
9186         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9187         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9188         There is still a way to segfault this although you may have to do this
9189         multiple times: Have an InsetERT with an unknown command in it.
9190         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9191         <down-arrow>, <Enter> again, View->DVI, BANG!
9192
9193         * text2.C (setCursor):
9194         (deleteEmptyParagraphMechanism):
9195         * lyxtext.h (setCursor):
9196         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9197         Making use of the return value may help fix other bugs.
9198
9199 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9202
9203         * LyXView.C (updateMenubar): call MenuBar::update here
9204         (updateToolbar): but not here
9205         (showState): do not update toolbar/menubar
9206
9207         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9208         should need to care about that.
9209
9210         * lyxfunc.C (verboseDispatch): simplify a bit
9211         (getStatus): have a version which takes a pseudoaction, and
9212         another which requires a (kb_action,string).
9213
9214         * LyXAction.C (retrieveActionArg): make it work also when action
9215         is not a pseudo-action.
9216         (getActionName): simplify a bit
9217         (helpText):
9218
9219 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * lyxfunc.C (verboseDispatch): new families of methods with
9222         several ways to specify a command and a bool to indicate whether
9223         the command name and shortcut should be displayed in minibuffer
9224         (eventually, we could extend that to a finer bitmask like
9225         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9226         (dispatch): the pristine dispatch command which just, well,
9227         dispatchs! Note it still sets its result to minibuffer; I'm not
9228         sure we want that.
9229
9230         * lyxfunc.h: remove setHintMessage
9231
9232         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9233
9234 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9235
9236         * BufferView_pimpl.C (specialChar): delete new inset if we have
9237         not been able to insert it.
9238
9239         * kbmap.C: revert to using int instead of kb_action, since all we
9240         are dealing with is pseudo-actions.
9241
9242         * LyXAction.C (searchActionArg): change to return int instead of
9243         kb_action, since the result is a pseudoaction.
9244
9245 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9246
9247         * buffer.C (insertErtContents): Fix (partially) the font bug.
9248
9249 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9250
9251         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9252         as the other one is broken on my machine!
9253
9254 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9255
9256         * commandtags.h:
9257         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9258
9259 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9260
9261         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9262         reflect their actual use. Provide compatibility code for older lyxrc
9263         files.
9264
9265         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9266         FL_NORMAL_STYLE.
9267         change names of popup font variables in line with the changes to lyxrc.C
9268
9269 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * buffer.C (asciiParagraph): avoid outputing a word twice after
9272         an inset.
9273
9274         * lyxrc.C (getDescription): document that document_path and
9275         template_path can be empty.
9276
9277 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9278
9279         * LaTeXFeatures.C (getMacros):
9280         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9281
9282         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9283
9284         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9285         getPackages.
9286         (getPackages): rename feature "floats" to "float". Use an array to
9287         iterate over 'simple' features (i.e. just a \usepackage). Add
9288         handling of "amsmath" (renamed from "amsstyle").
9289
9290 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9291
9292         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9293         features list.
9294
9295 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9296
9297         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9298         FuncStaus::FuncStatus & FuncStaus::some_method().
9299
9300 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9301
9302         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9303         of the func_satus stuff. Edited and massaged in various ways by
9304         JMarc.
9305
9306         * lyxfunc.C (getStatus): use FuncStatus
9307
9308 2002-01-08  Juergen Vigna  <jug@sad.it>
9309
9310         * text.C (nextBreakPoint): use function Inset::isChar().
9311
9312         * paragraph.C (TeXOnePar): use function
9313         Inset::forceDefaultParagraphs.
9314
9315         * buffer.C (latexParagraphs): use function
9316         Inset::forceDefaultParagraphs.
9317
9318 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9319
9320         * lyx_gui.C (init): set the style of the menu popups to
9321         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9322
9323 2002-01-07  Juergen Vigna  <jug@sad.it>
9324
9325         * text.C (setHeightOfRow): small fix
9326         (prepareToPrint): don't look at alignment if we don't have the place
9327         for doing it.
9328
9329 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9330
9331         * box.C: New file. Move the Box methods and functions out of box.h,
9332         following Lars' suggestion.
9333
9334 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9335
9336         * box.h: #include "support/LOstream.h", needed for inlined function.
9337
9338         * lyxtextclass.C:
9339         * lyxtextclasslist.C: added some using std declarations.
9340
9341 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * box.h: make signed dimensions to allow insets wider than
9344           the screen (bug #162)
9345
9346         * BufferView_pimpl.C: add some insetHit debug
9347
9348 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * vc-backend.C: add FIXME
9351
9352 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9353
9354         * lyxfunc.C (getStatus): enable code for showing math font status
9355         in toolbar/menu.
9356
9357 2002-01-07  Juergen Vigna  <jug@sad.it>
9358
9359         * text.C (nextBreakPoint): removed debug output not needed anymore.
9360
9361 2002-01-06  Juergen Vigna  <jug@sad.it>
9362
9363         * text.C (nextBreakPoint): fixed up this function we had this bug
9364         since ever but now hopefully we break row better.
9365         (insertChar): we have to check if an inset is the next char as it
9366         could now happen that a large inset is causing a break.
9367
9368 2002-01-05  Juergen Vigna  <jug@sad.it>
9369
9370         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9371         if it doesn't like to be drawed.
9372
9373 2002-01-04  Juergen Vigna  <jug@sad.it>
9374
9375         * BufferView2.C (lockInset): forgot to set a cursor.
9376
9377         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9378
9379 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9380
9381         * FormMathsPanel.C:
9382         * FormMathsPanel.h
9383         * MathsSymbols.C:
9384         * form_maths_panel.C:
9385         * form_maths_panel.h:
9386         * form_maths_panel.fd: implemented sub- and super- buttons in math
9387         panel.
9388
9389         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9390         (or ^ space) to be used as in TeX (req'd by André).
9391
9392         * lyxfunc.C: Allow ^ and _ again to be used both as
9393         super/subscript (mathed) and as themselves (in text).
9394
9395 2002-01-03  Allan Rae  <rae@lyx.org>
9396
9397         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9398         "LyX" or the filename of the current buffer if it has one.  This is a
9399         modified form of John Levon's patch.
9400
9401         * XFormsView.C (setWindowTitle): also set icon title.
9402
9403         * LyXView.h (setWindowTitle): signature changed.
9404         * XFormsView.h (setWindowTitle): ditto.
9405
9406 2002-01-02  Juergen Vigna  <jug@sad.it>
9407
9408         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9409
9410 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9411
9412         * screen.C (topCursorVisible): introduce a temp var for
9413         text->cursor.row(), handle the case where this row is null. (kindo
9414         hachish)
9415
9416         * text2.C (setCursor): add a couple of asserts.
9417
9418         * paragraph.h (inset_iterator): add -> operator
9419
9420         * paragraph.[Ch] (autoDeleteInsets): remove member function
9421
9422         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9423         cursor pos correctly and handle inset deletion by itself.
9424         (insertErrors): move iterator declaration out of for expression
9425
9426         * lyxtextclass.C: add <algorithm>
9427
9428         * Makefile.am: added the new files to sources, removed layout.C
9429
9430         * layout.C: removed file
9431
9432         * layout.h: remove LYX_DUMMY_LAYOUT
9433
9434         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9435         layout.
9436
9437         * lyxlayout.[Ch]:
9438         * lyxtextclass.[Ch]:
9439         * lyxtextclasslist.[Ch]: new files
9440
9441         * include order changes to a lot of files, also changes because of
9442         the six new files.
9443
9444 2001-12-27  Juergen Vigna  <jug@sad.it>
9445
9446         * buffer.C (asciiParagraph): more fixes.
9447
9448         * tabular.C (ascii): make ascii export support export of only the
9449         data separated by a column-delimiter.
9450         (ascii): better support for ascii export.
9451
9452         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9453
9454 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9455
9456         * tabular_funcs.C: use a "using std::getline" instead of the
9457         previous fix from Angus (necessary for cxx + lyxstring)
9458
9459 2001-12-24  Juergen Vigna  <jug@sad.it>
9460
9461         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9462
9463         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9464         problems. First check a minipage also if we have some ert-contents
9465         (not only on par->size(), second set the right depth of the paragraph
9466         on the relink to the root-paragraph-list!
9467
9468         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9469         which then did not anymore update the main paragraphs on undo/redo!
9470
9471 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9474         code. Support all font-changing funcs (even those which are not in
9475         menu currently). Support for reporting font settings in
9476         mathed (disabled until Andre provides a function on mathed's side).
9477
9478         * func_status.h (toggle): small helper function to set toggle
9479         state on a flag.
9480
9481 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9482
9483         * tabular_funcs.C: getline -> std::getline
9484
9485 2001-12-21  Juergen Vigna  <jug@sad.it>
9486
9487         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9488         accessed and could be 0 (I couldn't generate this but it seems
9489         Michael could!).
9490
9491 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9494         * tabular_funcs.h: here and include iosfwd
9495
9496 2001-12-20  Juergen Vigna  <jug@sad.it>
9497
9498         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9499         inside inset but undo_par was.
9500
9501 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * Thesaurus.C: always include <config.h> in sources.
9504
9505         * Painter.h:
9506         * lyxlookup.h:
9507         * box.h: do not include <config.h> in header files
9508
9509         * text.C (paintLastRow): remove unused variable
9510
9511         * text.C (transformChar):
9512         (insertChar):
9513         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9514
9515         * Painter.C (text):
9516         * font.C (width): rewrite to use uppercase() instead of
9517         islower/toupper.
9518
9519         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9520
9521 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * lyxfind.C: clean up of find failure position change
9524
9525 2001-12-20  Juergen Vigna  <jug@sad.it>
9526
9527         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9528
9529         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9530         (TeXRow): added to LaTeX a single tabular row.
9531         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9532         (Latex): simplified and finally good LT-h/f support.
9533         (various_functions): just small adaptions for LT-h/f support.
9534
9535         * tabular_funcs.[hC]: added and moved here all not classfunctions
9536         of LyXTabular.
9537
9538 2001-12-19  Juergen Vigna  <jug@sad.it>
9539
9540         * tabular.[Ch]: better support for longtabular options (not finished
9541         yet!)
9542
9543 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9544
9545         * text.C (paintLastRow): use the label font instead of the font of
9546         the last character to compute the size of *_BOX. This makes more
9547         sense and avoids a crash with empty paragraphs.
9548         Use Painter::rectangle to draw EMPTY_BOX.
9549
9550 2001-12-19  Juergen Vigna  <jug@sad.it>
9551
9552         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9553         the paragraphs if the replaced paragraph is not the first one!
9554         Tried to delete not used paragraphs but does not work yet so for
9555         now it's inside #ifdef's and by default off!
9556
9557 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * MenuBackend.C: include "lyx_main.h" instead of declaring
9560         lastfiles (actually was declared as LastFiles* instead of a
9561         scoped_ptr).
9562
9563 2001-12-17  Juergen Vigna  <jug@sad.it>
9564
9565         * tabular.C (AppendColumn): applied John's fix
9566
9567 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * BufferView.h:
9570         * BufferView.C:
9571         * BufferView_pimpl.h:
9572         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9573
9574         * Makefile.am:
9575         * box.h: new start of class for above
9576
9577         * lyxfunc.C: ignore space-only minibuffer dispatches.
9578           Show the command name when it doesn't exist
9579
9580         * minibuffer.C: don't add empty lines to the history
9581
9582         * minibuffer.C: add a space on dropdown completion
9583
9584 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9585
9586         * text.C: fix line above/below drawing in insets
9587
9588 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * lyxlength.C (LyXLength): Initialize private variables.
9591
9592 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9593
9594         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9595         when inserting error insets.
9596
9597 2001-12-13  Juergen Vigna  <jug@sad.it>
9598
9599         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9600         actually sometimes the before-paragraph.
9601         (setUndo): don't clear the redostack if we're not actually undoing!
9602
9603 2001-12-06  Juergen Vigna  <jug@sad.it>
9604
9605         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9606         and fixed redoing of main paragraph, so we can use it now ;)
9607
9608         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9609
9610 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9611
9612         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9613         Juergen's request
9614
9615 2001-12-13  André Pönitz <poenitz@gmx.net>
9616
9617         * undostack.[Ch]:
9618         * undo_func.C: minor cleanup
9619
9620 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9621
9622         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9623         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9624         font in urw-fonts package which is marked as -urw-fontspecific and
9625         does not work (incidentally, changing the encoding in the
9626         fonts.dir of this package to -adobe-fontspecific fixes the
9627         problem).
9628
9629         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9630         is a crash when undoing first paragraph (Juergen, please take a
9631         look). THis does not mean the undo fix is wrong, just that it
9632         uncovers problems.
9633
9634         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9635         the (Paragraph*) version when needed instead of duplicating the
9636         code.
9637
9638         * text.C (workWidth): use Inset::parOwner to find out where the
9639         inset has been inserted. This is a huge performance gain for large
9640         documents with lots of insets. If Inset::parOwner is not set, fall
9641         back on the brute force method
9642
9643         * paragraph_pimpl.C (insertInset):
9644         * paragraph.C (Paragraph):
9645         (cutIntoMinibuffer): set parOwner of insets when
9646         inserting/removing them
9647
9648         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9649
9650 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9651
9652         * commandtags.h:
9653         * LyXAction.C:
9654         * lyx_main.C:
9655         * lyxfunc.C:
9656         * mathed/formulabase.C:
9657         * mathed/math_cursor.[Ch]:
9658         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9659
9660
9661 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9662
9663         * lyxlength.[Ch] (operator!=): new function
9664
9665 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * text.C (workWidth): use Inset::parOwner to find out where the
9668         inset has been inserted. This is a huge performance gain for large
9669         documents with lots of insets. If Inset::parOwner is not set, fall
9670         back on the brute force method
9671
9672         * paragraph_pimpl.C (insertInset):
9673         * paragraph.C (Paragraph):
9674         (cutIntoMinibuffer): set parOwner of insets when
9675         inserting/removing them
9676
9677         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9678
9679 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * tabular-old.C (getTokenValue):
9682         * tabular.C (getTokenValue):
9683         (write_attribute): new versions for LyXLength
9684         (everywhere): adjust the use of widths
9685
9686         * tabular.h: change the type of widths from string to LyXLength
9687
9688 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9689
9690         * paragraph.C: fixed missing line number count when exporting
9691         Environments to LaTeX file
9692
9693         * buffer.C: added informational message for checking line numbers.
9694
9695 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9696
9697         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9698         paragraph, do the 'double space' part, but not the 'empty
9699         paragraph' one.
9700
9701         * text.C (workWidth): small optimization
9702         (getLengthMarkerHeight): use minimal size for negative lengths.
9703
9704 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9705
9706         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9707
9708         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9709
9710 2001-12-11  André Pönitz <poenitz@gmx.net>
9711
9712         * FontLoader.C:
9713         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9714
9715 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * text2.C: keep selection on a setFont()
9718
9719 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * lyx_cb.C: another bv->text misuse, from insert label
9722
9723 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * kbsequence.h:
9726         * kbsequence.C: re-instate nmodifier mask
9727
9728 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9729
9730         * lyx_main.h: make lyxGUI private.
9731
9732 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * lyxfind.C: place the cursor correctly on failed search
9735
9736 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * text.C (getLengthMarkerHeight): for small heights, the arrows
9739         are not always on top/bottom of the text
9740         (drawLengthMarker): smaller arrows; take the left margin in
9741         account; draw also vfills.
9742         (paintFirstRow):
9743         (paintLastRow): remove special code for vfill and standard spaces,
9744         since everything is handled in drawLengthMarker now.
9745
9746 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9747
9748         * buffer.C (insertErtContents): try to handle font and language
9749         interaction a bit better.g
9750
9751         * ColorHandler.C (updateColor): change the hash to cover the whole
9752         LColor enum, ws cleanup
9753         (getGCLinepars): ditto
9754         (getGCLinepars): only lookup in the linecache once.
9755
9756 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * iterators.C (operator++): Make the iterator more robust
9759
9760         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9761         (John's patch)
9762         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9763
9764 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lyxtext.h:
9767         * text.C: better added space drawing
9768
9769 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * LyXView.C:
9772         * BufferView2.C: fix layout combo update on inset unlock
9773
9774 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * Makefile.am: don't compile unused files
9777
9778 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * lyxfunc.C:
9781         * commandtags.h:
9782         * LyXAction.C: remove old LFUN_LAYOUTNO
9783
9784 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9785
9786         * paragraph_pimpl.h:
9787         * paragraph_pimpl.C: isTextAt() doesn't need font param
9788
9789 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * lyxlex.h:
9792         * lyxlex.C: little cleanup
9793
9794 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * BufferView_pimpl.C: fix insertAscii for insets
9797
9798 2001-12-05  Juergen Vigna  <jug@sad.it>
9799
9800         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9801         set the right font on the "multi" paragraph paste!
9802
9803 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9804
9805         * trans_decl.h:
9806         * trans_mgr.[Ch]:
9807         * trans.[Ch]:
9808         * lyxgluelength.C:
9809         * lyxlength.C: remove out-commented code.
9810
9811         * BufferView_pimpl:
9812         * CutAndPaste.C:
9813         * DepTable.C:
9814         * buffer.C:
9815         * chset.C:
9816         * lastfiles.C:
9817         * lyxlex.C:
9818         * lyxlex_pimpl.C:
9819         * lyxserver.C:
9820         * screen.C:
9821         * tabular-old.C:
9822         * tabular.C:
9823         * text.C:
9824         * trans_mgr.C:
9825         * vc-backend.C: change "while(" to "while ("
9826
9827         * lyxlength.[Ch]: add zero function to check if length is zero or
9828         not
9829         * lyxgluelength.C: use it
9830
9831 2001-12-05  Allan Rae  <rae@lyx.org>
9832
9833         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9834         Works for 2.95.3, from what I understand of Garst's reports this should
9835         work for other g++ versions.  We're screwed if the abs(int) definition
9836         changed between bugfix releases of gcc.
9837
9838 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * text.C: fix chapter label offset !
9841
9842 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxtext.h:
9845         * text.C: fix hfill at end of line, clean up
9846
9847 2001-12-04  Juergen Vigna  <jug@sad.it>
9848
9849         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9850         that we force an update of the inset and it's owners if neccessary.
9851
9852 2001-12-03  Juergen Vigna  <jug@sad.it>
9853
9854         * text.C (rowLast): simplified code
9855
9856 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * lyxfunc.C: fix show options on timeout
9859
9860 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * screen.C (topCursorVisible): scroll half a page when the cursor
9863         reached top of bottom of screen
9864
9865 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9866
9867         * minibuffer.C: deactivate on loss of focus
9868
9869 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * vspace.[Ch] (operator!=): add operator.
9872
9873 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * BufferView_pimpl.C: refuse to open an inset when
9876         there's a selection.
9877
9878 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * BufferView_pimpl.C: allow to click on RHS of full row insets
9881
9882 2001-11-30  Juergen Vigna  <jug@sad.it>
9883
9884         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9885         insets for undo reasons.
9886
9887 2001-11-28  André Pönitz <poenitz@gmx.net>
9888
9889         * vspace.[Ch]: cosmetical changes
9890
9891 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * LyXAction.h:
9894         * LyXAction.C:
9895         * lyxfunc.h:
9896         * lyxfunc.C:
9897         * kbmap.h:
9898         * kbmap.C:
9899         * lyxrc.C:
9900         * kbsequence.h:
9901         * kbsequence.C: part re-write of old kb code
9902
9903         * Painter.C:
9904         * WorkArea.C: remove Lgb_bug_find_hack
9905
9906 2001-11-30  José Matos <jamatos@fep.up.pt>
9907
9908         * buffer.C (makeDocBookFile): add a comment to point a hack.
9909         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9910         Fixed a double write of labels.
9911
9912 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9913
9914         * LaTeX.C:
9915         * LaTeX.h Fixed bug in LaTeX class where it would not
9916         re-run latex if no depfiles were changed, but the .dvi was removed.
9917
9918 2001-11-28  André Pönitz <poenitz@gmx.net>
9919
9920         * all the files from the change on 2001/11/26:
9921         use lyx::layout_type instead of LyXTextClass::size_type
9922         use lyx::textclass_type instead of LyXTextClassList::size_type
9923
9924 2001-11-29  Juergen Vigna  <jug@sad.it>
9925
9926         * text.C: added support for paragraph::isFreeSpacing()
9927
9928         * buffer.C: same as above
9929
9930         * paragraph.h: inserted isFreeSpacing() function to enable
9931         FreeSpacing inside InsetERT.
9932
9933         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9934         of the paragraph's in the cut/copy buffer to 0!
9935
9936         * text2.C (removeRow): remove the assert as it can!
9937
9938         * lyxtext.h: added helper function firstRow returning firstrow and
9939         made firstrow private again.
9940
9941         * BufferView2.C (lockInset): don't relock if we're already locked!
9942
9943         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9944         the only paragraph.
9945         (removeRow): added Assert::(firstrow)
9946
9947         * debug.C: forgot to add INSETTEXT here.
9948
9949 2001-11-28  Juergen Vigna  <jug@sad.it>
9950
9951         * sp_spell.C (initialize): changed error text to more general
9952         spellchecker command use (not only ispell!)
9953
9954         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9955
9956         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9957
9958 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * vspace.C: initialise lyxgluelength on failure
9961
9962 2001-11-28  Allan Rae  <rae@lyx.org>
9963
9964         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9965         declaration & definition that looks like a function declaration.
9966
9967 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * BufferView2.C (copy):
9970         (copyEnvironment): do not clear the selection when doing a copy.
9971
9972         * text.C (paintFirstRow): compilation fix
9973
9974 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9975
9976         * tabular.C (Latex): correct line count when writing latex.
9977
9978 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * paragraph_pimpl.h:
9981         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9982           bug a bit
9983
9984 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * text.C:
9987         * LColor.h:
9988         * LColor.C: change vfillline->added_space
9989
9990         * text.C: add markers and text for added space
9991
9992         * vspace.C: fix comment
9993
9994 2001-11-28  André Pönitz <poenitz@gmx.net>
9995
9996         * paragraph.C: whitespace changes
9997         * all the other files from the change on 2001/11/26:
9998         change *::pos_type into lyx::pos_type
9999
10000 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10001
10002         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10003         language of the document when inserting error insets.
10004
10005 2001-11-26  André Pönitz <poenitz@gmx.net>
10006
10007         * BufferView_pimpl.[Ch]:
10008         *       CutAndPaste.C:
10009         * buffer.[Ch]:
10010         * lyxcursor.[Ch]:
10011         * lyxfind.C:
10012         * lyxfunc.C:
10013         * lyxrow.[Ch]:
10014         * paragraph.[Ch]:
10015         * paragraph_pimpl.[Ch]:
10016         * sp_spell.C:
10017         * text.C:
10018         * text2.C: reduce header dependencies, introduce type for positions
10019
10020 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * <various>: change to use Alert.h
10023
10024 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10025
10026         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10027         when encountering an unknown token.
10028         (readLyXformat2): Show an error message if there were unknown tokens.
10029
10030 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * BufferView2.C:
10033         * BufferView_pimpl.C:
10034         * buffer.C:
10035         * paragraph.h:
10036         * text.C:
10037         * text2.C: use par->isInset()
10038
10039 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * paragraph_pimpl.h:
10042         * paragraph_pimpl.C: cleanup
10043
10044 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10045
10046         * text2.C (removeRow):
10047         * text.C (setHeightOfRow): remove useless (and costly) call to
10048         getRow.
10049
10050 2001-11-20  Allan Rae  <rae@lyx.org>
10051
10052         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10053         Now need Inset*::checkInsertChar() to return true for appropriate
10054         cases so that the characters in the minibuffer will actually be
10055         inserted.
10056
10057 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10058
10059         * text.C: change the order of the includes.
10060         (workWidth): initialize it at once.
10061         (workWidth): make maxw unsigned
10062         (setHeightOfRow): remove unused variable (inset)
10063         (selectSelectedWord): remove unused variable (inset)
10064         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10065
10066 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10067
10068         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10069         server is not running.
10070         (openConnection):
10071         (closeConnection): add debug info when server is disabled.
10072
10073         * ColorHandler.C (getGCForeground): send debug message to GUI
10074         channel.
10075
10076         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10077
10078         * kbmap.C (bind): modify because return conventions of
10079         kb_sequence::parse have changed.
10080
10081         * kbsequence.C (parse): only ignore spaces and not any stupid
10082         control character. This avoids tests like s[i] <= ' ', which are
10083         guaranteed to fail with 8bit characters and signed chars.
10084         Change return code to string::npos when there have been no error
10085         (0 was a bad idea when error is at first character)
10086
10087 2001-11-14  José Matos  <jamatos@fep.up.pt>
10088
10089         * buffer.h:
10090         * buffer.C (simpleDocBookOnePar): removed unused argument.
10091
10092 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10093
10094         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10095         insets which are part of a word. Paragraph::isLetter takes care of
10096         that now. Use Paragraph::isInset to identify insets.
10097         (selectSelectedWord): do not test for hyphenation break.
10098
10099         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10100         that protected spaces are considered as spaces.
10101
10102         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10103         Inset::isLetter.
10104
10105 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * lyxserver.h:
10108         * lyxserver.C: fix it. and small cleanup.
10109
10110 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10111
10112         * BufferView_pimpl.C: use inline helpers
10113
10114         * LaTeXFeatures.h:
10115         * LaTeXFeatures.C: fix typos
10116
10117         * Spacing.h:
10118         * Spacing.C: move spacing_string into class
10119
10120         * ToolbarDefaults.C: move stuff into namespace anon
10121
10122         * layout.h: update enum
10123
10124         * lyxfunc.C: use better debug
10125
10126         * minibuffer.h: fix typo
10127
10128         * debug.h:
10129         * debug.C:
10130         * WorkArea.C: add and use Debug::WORKAREA
10131
10132         * lyxtext.h:
10133         * text.C:
10134         * text2.C: code re-organisation, inline helpers
10135
10136 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10137
10138         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10139         std::vector.empty().
10140
10141 2001-11-09  Allan Rae  <rae@lyx.org>
10142
10143         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10144         '\n's after tables.  Tabular and ERT inset work now makes this no
10145         longer necessary.
10146
10147 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * minibuffer.h:
10150         * minibuffer.C: fix crash, improve drop-down completion
10151
10152 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10153
10154         * lyxserver.h:
10155         * lyxserver.C: invalidate fd's when doing endPipe()
10156
10157 2001-11-08  José Matos  <jamatos@fep.up.pt>
10158
10159         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10160         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10161
10162         * paragraph.h:
10163         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10164
10165 2001-11-07  José Matos  <jamatos@fep.up.pt>
10166
10167         * buffer.h:
10168         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10169         const qualifier.
10170
10171         * buffer.C (sgmlOpenTag):
10172         * buffer.C (sgmlCloseTag): removed debug info.
10173
10174         * buffer.h (sgmlOpenTag):
10175         * buffer.h (sgmlCloseTag): made public.
10176
10177 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * buffer.C (saveParamsAsDefaults):
10180         * lyx_cb.C (MenuLayoutSave): remove
10181
10182         * LyXAction.C (init):
10183         * commandtags.h:
10184         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10185
10186 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10187
10188         * buffer.C (setPaperStuff): removed from here...
10189
10190         * bufferparams.C (setPaperStuff): ... and moved there.
10191
10192 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10193
10194         * minibuffer.h:
10195         * minibuffer.C:
10196         * XFormsView.C: add support for drop-down completion
10197
10198 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10199
10200         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10201         commands.
10202
10203 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10206         disabled.
10207
10208 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10209
10210         * lyx_main.C: change ref to known bugs
10211
10212 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10213
10214         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10215         to work around older babel problems.
10216
10217 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10218
10219         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10220
10221 2001-10-24  Juergen Vigna  <jug@sad.it>
10222
10223         * tabular-old.C (ReadOld): below variable changes reflected.
10224
10225         * tabular.[Ch]: added ltType struct for longtable header/footer
10226         defines and changed all instances where they are used. Added
10227         future support for double top/bottom rows.
10228
10229 2001-10-24  José Matos  <jamatos@fep.up.pt>
10230
10231         * buffer.h (docbookHandleCaption):
10232         * buffer.C (docbookHandleCaption): removed unused function.
10233         (makeDocBookFile): moved docbook supported version to v4.1.
10234
10235 2001-10-24  José Matos  <jamatos@fep.up.pt>
10236
10237         * tabular.h:
10238         * tabular.C (docbookRow): new function to export docbook code of a row.
10239         (DocBook): now honors the longtable flags.
10240
10241 2001-10-23  José Matos  <jamatos@fep.up.pt>
10242
10243         * LaTeXFeatures.h:
10244         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10245         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10246
10247         * buffer.C (makeLinuxDocFile):
10248         (makeDocBookFile): reworked the preamble, more clean, and with
10249         support for lyx defined entities. Changed the document declaration
10250         to be more XML friendly.
10251
10252         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10253         if we need to output XML that should be done with a filter.
10254
10255 2001-10-22  Juergen Vigna  <jug@sad.it>
10256
10257         * sp_pspell.h (class PSpell): add alive function needed in the
10258         controller to see if the spellchecker could be started.
10259
10260 2001-10-22  Juergen Vigna  <jug@sad.it>
10261
10262         * buffer.C (insertStringAsLines): modify the font for inserting
10263         chars in certain conditions by calling checkInsertChar(font).
10264
10265 2001-10-19  Juergen Vigna  <jug@sad.it>
10266
10267         * text.C (workWidth): use getRow instead of wrong algorithm.
10268         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10269
10270 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * lyxserver.h:
10273         * lyxserver.C:
10274         * lyx_main.h:
10275         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10276
10277 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10278
10279         * text.C (workWidth): do not search for the exact row when
10280         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10281         optimization for big documents.
10282
10283 2001-10-18  Juergen Vigna  <jug@sad.it>
10284
10285         * text.C (workWidth): new function with added Inset * parameter.
10286
10287 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10288
10289         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10290
10291         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10292         change return type of getColumnNearX.
10293
10294
10295         * text.C (changeRegionCase): use uppercase/lowercase instead of
10296         toupper/tolower.
10297         (leftMargin):
10298         (rightMargin): simplify code by factoring out the uses of
10299         textclasslist.
10300         (labelFill):
10301         (numberOfHfills):
10302         (setHeightOfRow):
10303         (appendParagraph): use Paragraph::size_type
10304
10305 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * vspace.C (asLatexString): add a missing break
10308
10309 2001-10-15  Herbert Voss  <voss@perce.de>
10310
10311         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10312
10313 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10314
10315         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10316         is not available.
10317
10318 2001-10-10  André Pönitz <poenitz@gmx.net>
10319
10320         * lyxfunc.C: removed greek_kb_flag.
10321
10322 2001-10-10  Herbert Voss  <voss@perce.de>
10323
10324         * lyx_main.C: delete global string help_lyxdir.
10325
10326 2001-10-09  Herbert Voss  <voss@perce.de>
10327
10328         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10329
10330         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10331
10332         * lyx_main.C: added global string help_lyxdir.
10333
10334         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10335
10336 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10337
10338         * lyxrc.C (set_font_norm_type): support iso8859-4
10339
10340 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10341
10342         * LaTeX.C (deplog): add another regex for MikTeX
10343
10344 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10345
10346         * lyxrc.C (set_font_norm_type): support iso8859-3
10347
10348 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10351
10352         * LaTeXFeatures.C: remove special case of french and index
10353
10354         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10355         before \begin{document}). This solves several incompatibilities.
10356
10357 2001-10-03  Garst Reese  <reese@isn.net>
10358
10359         * lyx_cb.C: change CheckTex error msg.
10360
10361 2001-10-03  José Matos  <jamatos@fep.up.pt>
10362
10363         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10364
10365 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10366
10367         * .cvsignore: update
10368
10369         * lyx_main.C (commandLineVersionInfo): use new style version info.
10370
10371         * buffer.C (writeFile):
10372         (makeLaTeXFile):
10373         (makeLinuxDocFile):
10374         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10375
10376         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10377
10378         * version.h: update to use stuff in version.C
10379
10380         * version.C.in: new file. Contains version information determined
10381         at compile time. This is a merging of version.h and
10382         version_info.h.in.
10383
10384 2001-10-03  Juergen Vigna  <jug@sad.it>
10385
10386         * BufferView_pimpl.C (update): don't change "dirty" status in
10387         updateInset call.
10388
10389 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10390
10391         * WorkArea.C (c-tor): re-position version string slightly.
10392
10393 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10394
10395         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10396         revert to previous code.
10397
10398         WorkArea.[Ch]: (show, destroySplash): methods removed.
10399
10400         WorkArea.C: rework code so that it's an amalgam of the codes before and
10401         after the splash screen was moved to WorkArea.
10402
10403 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10404
10405         * lyxrc.C (read):
10406         * vspace.C (inPixels):
10407         (lyx_advance):
10408         * kbmap.C (bind):
10409         * buffer.C (insertStringAsLines):
10410         (asciiParagraph): fix types to be large enough
10411
10412         * lyxlex_pimpl.h: change member status from short to int
10413
10414         * layout.h: fix type of endlabeltype
10415
10416         * kbmap.C (bind):
10417         * kbsequence.C (parse): change return type to string::size_type
10418
10419         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10420         variable
10421
10422         * Bullet.C (bulletSize):
10423         (bulletEntry): do not use short ints as parameters
10424
10425         * BufferView2.C (insertLyXFile): change a char to an int.
10426
10427         * WorkArea.C (WorkArea): remove unneeded floats in computation
10428
10429 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10430
10431         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10432
10433         * paragraph.C (asString): Do not ignore newline/hfill chars when
10434         copying to the clipboard.
10435
10436 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10437
10438         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10439         after a multi-line inset.
10440
10441 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10442
10443         * paragraph.C (validate): Set NeedLyXFootnoteCode
10444
10445 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10446
10447         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10448         and decrease-error to decrease.
10449
10450 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10451
10452         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10453         it more readable (should be equivalent)
10454
10455 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10456
10457         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10458
10459 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10460
10461         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10462         of a cursor (row, etc.) after a character has been deleted
10463         (deleteEmptyParagraphMechanism): call the method above on _all_
10464         cursors held by the LyXText when a double space has been
10465         detected/deleted.
10466
10467 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10468
10469         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10470         pixmap.
10471         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10472
10473         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10474         background. Use greyOut() and the new show() methods to toggle between
10475         the foreground and background. Add code to remove the splash after
10476         its initial showing.
10477
10478         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10479         (create_forms): no longer call Dialogs::showSplash.
10480
10481 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10482
10483         * .cvsignore: add version_info.h
10484
10485 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10486
10487         * version_info.h.in: new file
10488
10489         * Makefile.am: add version_info.h.in
10490
10491         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10492         version_info.h instead of VERSION_INFO
10493
10494 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10495
10496         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10497         The ERT inset now returns string().
10498
10499 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10500
10501         * lyxtext.h, text.C (selectNextWord): renamed as
10502         selectNextWordToSpellcheck.
10503
10504         * text.C (selectNextWordToSpellcheck): Modified to not select
10505         words inside an ERT inset.
10506
10507 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10508
10509         * lyx_cb.C (MenuLayoutSave): change a bit the question
10510
10511         * sp_base.h: include <sys/types.h>
10512
10513 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10516
10517 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10518
10519         * several files: fix typos in user-visible strings
10520
10521 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10522
10523         * text2.C (pasteSelection): do not set the selection, since it
10524         will be cleared later. Actually, the intent was to fix the way the
10525         selection was set, but I figured rmoving the code was just as good.
10526
10527 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10528
10529         * FontLoader.C (available): Check if font is available without
10530         loading the font.
10531
10532 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10533
10534         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10535
10536 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10537
10538         * lyxrc.[Ch]: added display_graphics variable and associated code.
10539
10540 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10541
10542         * bufferparams.C (hasClassDefaults): new method. Returns true if
10543         the buffer parameters correspond to known class defaults
10544
10545 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10546
10547         * XFormsView.C (show): set minimum size to the main window.
10548
10549 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10550
10551         * text2.C (copySelection):
10552         (cutSelection):
10553         * lyxfind.C (LyXReplace):
10554         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10555         LyXText::selectionAsString.
10556
10557         * paragraph.C (asString): add "label" argument to the second form
10558
10559         * text2.C (selectionAsString): add "label" argument and pass it to
10560         Paragraph::asString.
10561
10562 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10563
10564         * lyx_main.C (commandLineHelp): remove version information
10565
10566 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10567
10568         * lyx_main.C: add -version commandline option
10569
10570 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10571
10572         * paragraph.h: make the optional constructor arg required instead.
10573         some modifications to other files because of this.
10574
10575         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10576
10577         * lyxserver.C (C_LyXComm_callback): make it static
10578
10579         * lyx_main.C (error_handler): make it static
10580
10581         * lyx_gui.C (LyX_XErrHandler): make it static
10582
10583         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10584
10585         * WorkArea.C: make the extern "C" methods static.
10586
10587         * Makefile.am (lyx_LDADD): simplify
10588
10589 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10590
10591         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10592         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10593
10594         * LyXAction.C (init):
10595         * lyxfunc.C (dispatch): associated code removal.
10596
10597 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10598
10599         * lyxfont.h (isSymbolFont): shut off warning
10600
10601         * text.C (setHeightOfRow):
10602         (getVisibleRow): fix crash with empty paragraphs which have a
10603         bottom line
10604
10605 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10606
10607         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10608         code.
10609
10610 2001-09-04  José Matos  <jamatos@fep.up.pt>
10611         * buffer.C
10612         * buffer.h
10613         * tabular.C (docbook): rename docBook method to docbook.
10614
10615 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10616
10617         * Makefile.am: add dependencies to main.o.
10618
10619 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * FontLoader.C (available): Return false if !lyxrc.use_gui
10622
10623 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10624
10625         * FontInfo.C (query):
10626         * converter.C (view):
10627         * importer.C (Import):
10628         * exporter.C (Export): Can not -> cannot.
10629
10630 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * BufferView_pimpl.C: allow to create index inset even if
10633           string is empty
10634
10635 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10636
10637         * buffer.C (getLists): replace boost::tie code with an explicit pair
10638         as boost::tie can break some compilers.
10639
10640         * iterators.h: Added a std:: declaration to the return type of
10641         ParIterator::size.
10642
10643 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10646           case.
10647
10648 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10649
10650         * iterators.[Ch]: New files. Provide paragraph iterators.
10651
10652         * buffer.C (changeLanguage): Use paragraph iterators.
10653         (isMultiLingual): ditto
10654
10655         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10656
10657 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10658
10659         * FontLoader.C: Support for cmr font.
10660
10661 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10662
10663         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10664         (available): New method.
10665
10666         * FontInfo.C (getFontname): Use scalable fonts even when
10667         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10668         found.
10669
10670 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10671
10672         * converter.C (Formats::view): reverted! Incorrect fix.
10673
10674 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10675
10676         * converter.C (Formats::view): only output the -paper option
10677         if the dvi viewer is xdvi, thereby fixing bug #233429.
10678
10679 2001-08-23  Herbert Voss  <voss@perce>
10680
10681         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10682
10683 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * Spacing.h (Spacing): Set space to Default on in the default
10686         constructor.
10687
10688 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * vc-backend.h (RCS::versionString): add RCS to version
10691         (CVS::versionString): add CVS to version
10692
10693         * vc-backend.C (scanMaster): do not add CVS to version.
10694         (scanMaster): do not add RCS to version
10695
10696         * lyxvc.C (versionString): new method
10697
10698         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10699
10700 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * Spacing.C (set): initialize fval
10703
10704 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10705
10706         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10707         " or \.
10708
10709 2001-08-16  Juergen Vigna  <jug@sad.it>
10710
10711         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10712
10713 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * BufferView_pimpl.C:
10716         * figureForm.C:
10717         * lyxtext.h:
10718         * text2.C: setParagraph takes linespacing now
10719
10720 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * LyxAction.C: add internal LFUN_CITATION_INSERT
10723
10724         * LyXView.C: actually apply fix
10725
10726         * bufferlist.C: fix open non-existent file
10727
10728         * lyxfind.C: fix indentation
10729
10730         * lyxfunc.C: remove unneeded assert, fix typo
10731
10732 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * MenuBackend.C: use "Floatname List"
10735
10736 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10737
10738         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10739         when converting LaTeX layout to insetERT.
10740         Generate a non-collapsed float when reading old float
10741
10742 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10743
10744         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10745         ERT insets.
10746
10747 2001-08-13  Juergen Vigna  <jug@sad.it>
10748
10749         * text.C (fill): return 0 instead of 20 as this seems to be the more
10750         correct value.
10751
10752 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10753
10754         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10755         lyxrc.font_norm.
10756
10757 2001-08-13  Juergen Vigna  <jug@sad.it>
10758
10759         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10760         casesensitive off.
10761         (SearchBackward): comment out the unlocking of the inset_owner this
10762         should not be needed!
10763
10764 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * Many files: Remove inherit_language, and add latex_language
10767
10768         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10769         collapsible insets.
10770
10771 2001-08-10  Juergen Vigna  <jug@sad.it>
10772
10773         * text.C (prepareToPrint): fixed hfill-width in draw!
10774
10775         * BufferView2.C (selectLastWord): save the selection cursor as this
10776         now is cleared in the function LyXText::clearSelection!
10777
10778 2001-08-08  Juergen Vigna  <jug@sad.it>
10779
10780         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10781         BACKSPACE type functions.
10782
10783         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10784         is only cutted from the document but not put in the cut-buffer, where
10785         still the old stuff should be.
10786
10787         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10788
10789         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10790
10791         * tabular.C (SetWidthOfCell): fixed special case where the width
10792         was not updated!
10793         (LeftLine): handle '|' in align_special.
10794         (RightLine): ditto
10795         (LeftAlreadyDrawed): ditto
10796         (SetWidthOfCell): ditto
10797
10798 2001-08-07  Juergen Vigna  <jug@sad.it>
10799
10800         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10801
10802 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10805         * lyxlex.[hC]: ditto
10806
10807 2001-08-06  Juergen Vigna  <jug@sad.it>
10808
10809         * text.C (getVisibleRow): fix up row clearing a bit.
10810
10811 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * minibuffer.C: make sure the X server sees the changes in the input.
10814
10815 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * paragraph.C (getFont): split into...
10818         (getLabelFont): this
10819         (getLayoutFont): and this
10820         * paragraph_pimpl.C (realizeFont): calling this
10821
10822         * text2.C (getFont): split into...
10823         (getLayoutFont): this
10824         (getLabelFont): and this
10825         (realizeFont): all three calling this
10826
10827         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10828         files where used.
10829
10830 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10831
10832         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10833
10834 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10835
10836         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10837         layouts from the Quote inset insertion.
10838
10839 2001-08-03  Juergen Vigna  <jug@sad.it>
10840
10841         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10842
10843         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10844         only if status not is already CHANGED_IN_DRAW (second level).
10845
10846         * text.C (draw): don't set the need_break_row when inside an
10847         InsetText LyXText.
10848
10849 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * buffer.C (parseSingleLyXformat2Token): handle more latex
10852         conversion cases.
10853
10854         * bufferview_funcs.[hC]: change function names to
10855         begin with small char, adjust other files.
10856
10857 2001-08-02  André Pönitz <poenitz@gmx.net>
10858
10859         * lyxfunc.C:
10860         BufferView_pimpl.C: remove broken special code for math-greek
10861
10862 2001-08-02  Juergen Vigna  <jug@sad.it>
10863
10864         * BufferView_pimpl.C (update): redone this function so that we
10865         update the text again if there was a CHANGE_IN_DRAW.
10866
10867         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10868         (drawFromTo): added a new internal bool which is used by draw() and
10869         redraw() function.
10870         (general): some cursor drawing problems fixed.
10871
10872 2001-08-01  Juergen Vigna  <jug@sad.it>
10873
10874         * lyxfind.C (LyXFind): fixed
10875         (SearchForward): ditto
10876         (SearchBackward): ditto
10877
10878         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10879         spurius drawing of the cursor in the main area.
10880
10881         * text2.C (status): small fix which could lead to a segfault!
10882         (clearSelection): remove unneeded BufferView param.
10883
10884 2001-08-01  André Pönitz <poenitz@gmx.net>
10885
10886         * lyxfunc.C: small change due to changed mathed interface
10887
10888 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10889
10890         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10891
10892 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * lyxfunc.c: fail gracefully if file doesn't exist
10895
10896         * LyXSendto.C:
10897         * buffer.C:
10898         * lyxfunc.C:
10899         * BufferView_pimpl.C: IsDirWriteable() proto changed
10900
10901         * LyXView.C: fix updateWindowTitle() to store the last title
10902
10903 2001-07-31  Juergen Vigna  <jug@sad.it>
10904
10905         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10906         the font (wrong since using of Paragraph::highestFontInRange).
10907
10908         * paragraph.C (highestFontInRange): added a default_size parameter.
10909
10910         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10911         (setHeightOfRow): reformat
10912
10913 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * converter.[hC] + affected files: move to (inital-char)lowercase
10916         function names.
10917
10918         * ParagraphParameters.C (ParagraphParameters): remove commented code
10919
10920         * PainterBase.[Ch]: remove commented code
10921
10922         * LaTeXFeatures.h: add "bool floats" for float.sty
10923
10924         * LaTeXFeatures.C (LaTeXFeatures): init floats
10925         (require): handle float
10926         (getPackages): do it with floats
10927
10928 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10929
10930         * BufferView_pimpl.C (Dispatch): improve handling of
10931         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10932
10933         * commandtags.h: #include lyxfont.h here temporarily to avoid
10934         keybinding bug.
10935
10936         * bufferlist.h: include LString.h here.
10937
10938 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * text2.C (getStringToIndex): new method.
10941
10942 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10943
10944         * *: Reduced header file dependencies all over.
10945
10946 2001-07-30  Baruch Even  <baruch@lyx.org>
10947
10948         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10949
10950 2001-07-29  Baruch Even  <baruch@lyx.org>
10951
10952         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10953
10954 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10955
10956         * ParameterStruct.h (endif): add a default constructor to make
10957         sure that all variables is initialized.
10958
10959         * ParagraphParameters.C (ParagraphParameters): adjust
10960
10961 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10962
10963         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10964         index; also, check that there is something to index, and that it
10965         does not span over several paragraphs.
10966         (doubleClick): use WHOLE_WORD_STRICT for double click.
10967
10968         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10969
10970         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10971         scheme.
10972
10973 2001-07-26  Baruch Even  <baruch@lyx.org>
10974
10975         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10976         an InsetFig figure, backwards compatible reading of old figure code.
10977
10978 2001-07-27  Juergen Vigna  <jug@sad.it>
10979
10980         * text2.C: font.realize function adaption.
10981
10982         * text.C (draw): add a warnings lyxerr text if needed.
10983
10984         * layout.C: font.realize function adaption.
10985
10986         * language.C: add inherit_language and implement it's handlings
10987
10988         * bufferview_funcs.C (StyleReset): remove language parameter from
10989         font creation (should be language_inherit now).
10990
10991         * bufferparams.C (writeFile): handle ignore_language.
10992
10993         * paragraph.C (getFontSettings): the language has to be resolved
10994         otherwise we have problems in LyXFont!
10995
10996         * lyxfont.C (lyxWriteChanges): added document_language parameter
10997         (update): removed unneeded language parameter
10998
10999         * paragraph.C (validate): fixed wrong output of color-package when
11000         using interface colors for certain fonts in certain environments,
11001         which should not seen as that on the final output.
11002
11003 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * BufferView_pimpl.C:
11006         * Thesaurus.h:
11007         * Thesaurus.C:
11008         * Makefile.am:
11009         * commandtags.h:
11010         * LyXAction.C: add thesaurus support
11011
11012         * lyxfind.h:
11013         * lyxfind.C: add "once" parameter, for thesaurus, to not
11014           move to the next match
11015
11016 2001-07-26  Juergen Vigna  <jug@sad.it>
11017
11018         * lyxfont.C (realize): honor ignore_language too!
11019         (resolved): ditto.
11020
11021         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11022
11023         * text.C (draw): one place more for ignore_language to not draw
11024         itself!
11025
11026 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11027
11028         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11029
11030 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11031
11032         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11033         the minipage conversion problem.
11034
11035 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11036
11037         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11038         insert an inset.
11039
11040 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11041
11042         * BufferView.h: don't forward declare WorkArea
11043
11044         * BufferView.C: don't include WorkArea.h
11045
11046 2001-07-25  André Pönitz <poenitz@gmx.net>
11047
11048         * commandtags.h:
11049         * LyXAction.C:
11050         * lyxfunc.C:  new LFUN 'math-space'
11051
11052         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11053
11054 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11055
11056         * text2.C (toggleInset): call open/close
11057
11058 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * lyxfunc.C (dispatch): add debug for the disabled case
11061
11062         * font.C (buttonText): make similar to rectText
11063
11064         * buffer.C (readInset): comment out parsing of insetlist and
11065         insttheorem
11066
11067         * PainterBase.C (rectText): small correction
11068
11069         * BufferView_pimpl.C: comment out insettheorem and insetlist
11070         * LyXAction.C: ditto
11071         * commandtags.h: ditto
11072
11073 2001-07-24  Juergen Vigna  <jug@sad.it>
11074
11075         * text.C (draw): honor the ignore_language.
11076
11077         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11078
11079 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11082         char inset.
11083
11084 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11085
11086         * lyxtext.h: remove unused (and unimplemented) methods
11087
11088 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11089
11090         * text.C (getVisibleRow): honor background color
11091
11092         * PainterBase.h:
11093         * Painter.h: remove default color argument for fillRectangle
11094
11095         * text.C (backgroundColor): new method
11096
11097 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * text.C (getVisibleRow): adjust
11100
11101         * font.[Ch] (rectText): new method, metrics
11102         (buttonText): new method, metrics
11103
11104         * PainterBase.[hC]: make rectText and buttonText always draw and take
11105         fewer paramteres.
11106
11107 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11108
11109         * ToolbarDefaults.C (read):
11110         * MenuBackend.C (read): allow escaping in all strings
11111
11112         * BufferView_pimpl.C (insertAndEditInset): new method.
11113         (Dispatch): use insertAndEditInset whenever appropriate.
11114
11115         * BufferView_pimpl.C (insertNote): removed
11116
11117         * BufferView_pimpl.C (smartQuote): new method, moved from
11118         BufferView; if an insetquote cannot be inserted, insert a '"'
11119         character instead.
11120
11121         * BufferView2.C: remove insertCorrectQuote();
11122
11123         * lyxfunc.C (getStatus): Add support for all remaingin
11124         inset-insert lfuns.
11125
11126         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11127
11128         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11129         command (necessary to pass " as parameter of self-insert.
11130
11131         * text.C (selectWordWhenUnderCursor):
11132         (selectWord): add word_location parameter
11133         (selectWordWhenUnderCursor): same + remove special code for word
11134         boundary.
11135         (selectNextWord): use kind() to guess type of insetspecialchar,
11136         not latex().
11137
11138         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11139         (insertErtContents): create ert insets as collapsed.
11140         (readInset): better compatibility code for Info inset.
11141
11142 2001-07-20  Juergen Vigna  <jug@sad.it>
11143
11144         * lyxfunc.C (dispatch): use always LyXFind now!
11145
11146         * text2.C (init): add a reinit flag so that the LyXText can be
11147         reinited instead of deleted and reallocated (used in InsetText).
11148
11149         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11150
11151         * text.C: ditto
11152
11153         * text2.C: ditto
11154
11155 2001-07-18  Juergen Vigna  <jug@sad.it>
11156
11157         * text.C (selectNextWord): handle insets inside inset by calling
11158         always the bv->text functions so that we can go up the_locking_inset!
11159
11160         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11161         in strange locations when inside an inset!
11162
11163         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11164         handling to include insets.
11165
11166         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11167
11168 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11169
11170         * LyXAction.C (init):
11171         * commandtags.h:
11172         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11173         LIGATURE_BREAK, since the name is so stupid.
11174
11175 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11176
11177         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11178         InsetInfos.
11179
11180         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11181
11182         * sp_form.[Ch]: remove.
11183
11184         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11185
11186         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11187         InsetInfo.
11188
11189         * src/buffer.C (readInset): ditto.
11190
11191 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11192
11193         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11194         menuSeparator(), endOfSentenceDot(), ldots() and
11195         hyphenationPoint(), which are therefore removed.
11196         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11197
11198         * LyXAction.C (init):
11199         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11200
11201         * paragraph.C (getWord): removed.
11202
11203         * BufferView_pimpl.C (Dispatch): use last word or selection for
11204         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11205
11206         * lyx_main.C (queryUserLyXDir): do not ask before creating
11207         user_dir, except if it has been named explicitely.
11208
11209 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11212         a document of zero size.
11213
11214 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11217         approriately in the c-tor and in require().
11218         (getPackages): output the appropriate LaTeX for natbib support.
11219
11220         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11221         variables "use_natbib" and "use_numerical_citations" when reading the
11222         LyX file.
11223         (readInset): read the various natbib cite commands.
11224         (validate): white-space change.
11225
11226         * bufferparams.[Ch]: new variables "bool use_natbib" and
11227         "bool use_numerical_citations".
11228         (writeFile): output them in the LyX file.
11229
11230 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11231
11232         * lyxfunc.C (getStatus): add support for all the inset insertion
11233         commands.
11234
11235         * text2.C (insertInset):
11236         * paragraph.C (insetAllowed):
11237         * BufferView_pimpl.C (insertInset): update to take in account the
11238         renaming of insertInsetAllowed
11239
11240         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11241
11242         * text2.C (getInset): new method. returns inset at cursor position.
11243
11244         * BufferView_pimpl.C (Dispatch): changes because of this.
11245
11246         * LyXAction.C (init): rename open-stuff to inset-toggle.
11247
11248         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11249
11250         * text2.C (toggleInset): renamed from openStuff; use
11251         Inset::open().
11252
11253 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11254
11255         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11256
11257         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11258
11259 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * buffer.C (readLyXformat2): Add filename to the error dialog
11262
11263 2001-07-18  Juergen Vigna  <jug@sad.it>
11264
11265         * tabular.C (GetCellNumber): put an assert here instead of the check!
11266
11267 2001-07-17  Juergen Vigna  <jug@sad.it>
11268
11269         * BufferView_pimpl.C (toggleSelection): adapted too.
11270
11271         * text.C (selectNextWord): adapted for use with insets.
11272         (selectSelectedWord): ditto
11273
11274 2001-07-17  Juergen Vigna  <jug@sad.it>
11275
11276         * sp_spell.C (PSpell): fix initialitation order.
11277
11278 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * paragraph.C: spacing
11281
11282 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11283
11284         * sp_spell.C: repair language selection for pspell
11285
11286 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * lyxfunc.h: change more methods to begin with lower char.
11289
11290 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11291
11292         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11293         for unknown layouts.
11294
11295 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11296
11297         * buffer.C (readLyXformat2): Generate an error dialog if there are
11298         unknown layouts.
11299
11300 2001-07-16  Juergen Vigna  <jug@sad.it>
11301
11302         * sp_spell.C: always compile ISpell part.
11303
11304         * lyxrc.C: added use_pspell entry and it's handling.
11305
11306 2001-07-13  Juergen Vigna  <jug@sad.it>
11307
11308         * sp_spell.C: removed double includes.
11309
11310 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11311
11312         Consistent use of Lsstream.h:
11313         * Lsstream.h: added using std::stringstream for consistencies sake.
11314
11315         * buffer.C: removed using std::stringstream
11316
11317         * lyxfont.C (stateText):
11318         * paragraph.C (asString):
11319         * text.C (selectNextWord, selectSelectedWord):
11320         * text2.C (setCounter):
11321         * vspace.C (asString, asLatexString):
11322         std::ostringstream -> ostringstream.
11323
11324 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11325
11326         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11327         * commandtags.h: add LFUN_HELP_ABOUTLYX
11328         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11329
11330 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11331
11332         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11333         cursorToggle()
11334         * lyx_gui_misc.C: remove spellchecker
11335         * lyxfunc.C: showSpellchecker
11336         * sp_base.h: added
11337         * sp_ispell.h: added
11338         * sp_pspell.h: added
11339         * sp_spell.C: added
11340         * sp_form.[Ch]: removed
11341         * spellchecker.[Ch]: removed
11342
11343 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11344
11345         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11346         is set.
11347         (simpleTeXSpecialChars): Simply print the input character without
11348         any special translation if pass_thru is set.
11349
11350         * layout.h: Added bool pass_thru to layout class for being able to
11351         implement pass through of a paragraph for Literate Programming.
11352
11353         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11354         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11355         * layout.C (Read): add "passthru" to list of layout tags and add
11356         code to set the pass_thru boolean when it is read.
11357
11358 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11359
11360         * trans_decl.h: remove allowed from KmodInfo
11361
11362         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11363         remove allowed code
11364         (Load): adjust
11365
11366         * paragraph_pimpl.C (erase): use boost::prior
11367
11368         * Painter.C (text): use data() instead of c_str() when length is
11369         also provided.
11370         * WorkArea.C (putClipboard): ditto
11371         * font.h (width): ditto
11372
11373         * BufferView2.C: use it-> instead of (*it). for iterators
11374         * texrow.C: ditto
11375         * paragraph_pimpl.C: ditto
11376         * paragraph.C: ditto
11377         * minibuffer.C: ditto
11378         * language.C: ditto
11379         * kbmap.C: ditto
11380         * encoding.C: ditto
11381         * counters.C: ditto
11382         * converter.C: ditto
11383         * chset.C: ditto
11384         * Variables.C: ditto
11385         * TextCache.C: ditto
11386         * MenuBackend.C: ditto
11387         * LyXAction.C: ditto
11388         * LColor.C: ditto
11389         * FloatList.C: ditto
11390         * DepTable.C: ditto
11391         * ColorHandler.C (LyXColorHandler): ditto
11392
11393 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11396
11397         * text2.C (openStuff): reintroduce this method (which had been
11398         nuked in NEW_INSETS frenzy).
11399
11400         * lyxfunc.C (Dispatch): when an action has not been handled, use
11401         its name in the error message, not its number.
11402
11403         * paragraph.C (inInset): change method name to begin with lowercase.
11404
11405         * undo_funcs.C:
11406         * text2.C: updates because of this.
11407
11408 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11409
11410         * ToolbarDefaults.C (add): add spaces in error message
11411
11412 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11415         (readLyXformat2): rename return_par to first_par, use lyxlex's
11416         pushToken and remove the manual push handling.
11417         (parseSingleLyXformat2Token): add another ert comp. variable:
11418         in_tabular, rename return_par to first_par. handle newlines better
11419
11420 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11421
11422         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11423
11424 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11425
11426         * text2.C (getParFromID): removed
11427
11428         * buffer.C (getParFromID): new method moved form lyxtext.
11429         * BufferView2.C (insertErrors): adjust
11430         (setCursorFromRow): adjust
11431         * BufferView_pimpl.C (restorePosition): adjust
11432         * lyxfunc.C (Dispatch): adjust
11433         * undo_funcs.C (textUndo): adjust
11434         (textRedo): adjust
11435         (textHandleUndo): adjust
11436         (textHandleUndo): adjust
11437
11438 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * buffer.C: up' the LYX_FORMAT
11441
11442         * lyxfont.h: turn NO_LATEX on as default
11443
11444         * buffer.C (insertErtContents): new methods of tex style compability.
11445         (parseSingleLyXformat2Token): use it several places.
11446         * tabular.C (OldFormatRead): and here
11447
11448 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * text2.C: remove some commented code.
11451         reindent file.
11452
11453         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11454         * trans.C: changes because of the above.
11455
11456 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * text2.C (setCounter): Fix counters bug with bibliography layout.
11459
11460 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11463         own member functions
11464         (simpleTeXSpecialChars): ditto
11465
11466 2001-07-06  Juergen Vigna  <jug@sad.it>
11467
11468         * a lot of files: changed the access to LyXText::status and the
11469         call of undo-functions.
11470
11471         * undo.[Ch]: added a inset_id to the undo informations.
11472
11473         * undo_funcs.[Ch]: added and moved here all undo functions.
11474
11475         * lyxtext.h: give the status enum a weight, made status_ a private
11476         variable and made accessor functions for it, removed the whole bunch
11477         of undo-functions as they are now in their own file, make some
11478         functions publically available. Added function ownerParagraph with
11479         int parameter.
11480
11481         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11482         made InInset() a const function, added getParFromID() function.
11483
11484         * buffer.[Ch]: added const version for inset_iterator functions,
11485         added getInsetFromID() function.
11486
11487         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11488         changed undo functions for new version.
11489
11490 2001-07-05  Juergen Vigna  <jug@sad.it>
11491
11492         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11493         unknow mechanism does not call the proper constructor but only this
11494         one also if I request the other!?
11495
11496 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11499
11500         * text2.C (LyXText): use initialization lists.
11501
11502         * lyxtext.h (Selection): initialize set_ and mark_
11503         (init): remove method
11504
11505 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11506
11507         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11508
11509 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * screen.[Ch]: change method names to begin with lowercase
11512
11513         * BufferView_pimpl.C (updateScrollbar): simplify further and
11514         hopefully make it a bit faster.
11515
11516 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11517
11518         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11519         calling directly xforms functions.
11520
11521         * Painter.C (Painter):
11522         * lyx_cb.C (MenuWrite):
11523         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11524         fl_display.
11525
11526         * lyx_gui.C: remove bogus guiruntime extern declaration.
11527
11528 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11531         in NEW_INSETS
11532         (redoDrawingOfParagraph): ditto
11533         (redoParagraphs): ditto
11534         (cutSelection): don't create a object for CutAndPaste use the
11535         static method directly
11536         (pasteSelection): ditto
11537
11538         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11539         LyXview (+ rename)
11540
11541 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * modifications to some other files because of this.
11544
11545         * Makefile.am (lyx_SOURCES): add XFormsView
11546
11547         * XFormsView.[Ch]: new files
11548
11549         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11550         the main window. Move the gui dependent stuff to XFormsView
11551
11552 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11553
11554         * tabular.C (GetCellInset): update cur_cell also in the row/col
11555         version of this function.
11556
11557         * lyxfunc.C: no need to include figure_form.h here.
11558
11559         * FontLoader.h:
11560         * lyxfunc.h:
11561         * lyxscreen.h:
11562         * text2.C:
11563         * lyxvc.C: no need to include forms.h here.
11564
11565 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11568
11569         * lyxfunc.C (Dispatch):
11570         * Spacing.C (set):
11571         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11572         constructor argument.
11573
11574 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * paragraph.C (Paragraph): dont't clear, and just set layout.
11577         (makeSameLayout): use params's copy contructor.
11578
11579         * ParagraphParameters.[Ch] (makeSame): delete method
11580
11581 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11582
11583         * Variables.[Ch]: fix indentation, rename set to isSet
11584
11585 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * lyxfunc.C (Dispatch): fix typo
11588
11589 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11590
11591         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11592         upper_bound.
11593
11594         * bufferlist.C: include assert.h for emergencyWrite().
11595
11596 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11599           give up at last (bug #425202) !
11600
11601 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * lyx_gui_misc.C:
11604         * sp_form.h:
11605         * sp_form.C:
11606         * spellchecker.h:
11607         * spellchecker.C: strip spellchecker options and bring up
11608           preferences tab instead
11609
11610 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11611
11612         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11613         the istringstream constructor
11614
11615 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11616
11617         * paragraph.C (getLayout): fix return value
11618
11619         * paragraph.h: do not declare getLayout as inline.
11620
11621         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11622
11623 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11624
11625         * lyxcursor.h (operator<): new func
11626         (operator>): new func
11627         (operator>=): new func
11628         (operator<=): new func
11629
11630         * text.C (changeCase): use selection.start and selection.end
11631         (changeRegionCase): require from to be <= to. Require par to be a
11632         valid paragraph.
11633
11634         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11635
11636 2001-06-27  Juergen Vigna  <jug@sad.it>
11637
11638         * text.C (cursorLeftOneWord): changed to return the cursor and added
11639         overlay with BufferView * parameter which calls this one.
11640         (getWord): added
11641         (selectWord): use new getWord function.
11642         (changeCase): renamed from changeWordCase as and extended to work
11643         also on selections.
11644
11645         * lyxtext.h: added enum word_location
11646
11647         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11648         changeCase as this operates now also on selections.
11649
11650 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11651
11652         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11653
11654         * many files: send debug output to Debug::INFO instead of
11655         Debug::ANY.
11656
11657         * converter.C (View):
11658         (Convert):
11659         (Move): send debug output to Debug::FILES instead of console.
11660
11661 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11662
11663         * lyxfunc.C (getStatus): use func_status
11664
11665         * func_status.h: new header, describing the results of
11666         LyXFunc::getStatus;
11667
11668         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11669         LFUN_MATH_HALIGN.
11670
11671 2001-06-25  The LyX Project  <jug@sad.it>
11672
11673         * buffer.C (sgmlOpenTag):
11674         (sgmlCloseTag):
11675         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11676
11677 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * text2.C: remove some dead code
11680
11681         * tabular.C (GetCellInset): store the last cell checked (gotten)
11682
11683         * tabular.h: add the helper for the speedup
11684
11685         * lyxtext.h: remove some dead code
11686
11687 2001-06-26  The LyX Project  <Asger>
11688
11689         * paragraph.C: Change export to LaTeX of alignment to
11690         \begin{center} and family for better roundtrip work with reLyX.
11691
11692         * Tune the math drawing a bit.
11693
11694 2001-06-25  The LyX Project  <Asger>
11695
11696         * LColor.C (LColor): New color for math background. New color
11697         for buttons.
11698
11699 2001-06-25  The LyX Project  <jug@sad.it>
11700
11701         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11702
11703         * lyxfunc.C (Open):
11704         * bufferlist.C (newFile): do not restrict to files ending with
11705         .lyx
11706
11707         * BufferView_pimpl.C (MenuInsertLyXFile):
11708
11709 2001-06-24  The LyX Project  <jug@sad.it>
11710
11711         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11712         of compare_no_case
11713
11714 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * lyxtext.h: rename most methods to begin with a small char.
11717         Lots of changes because of this.
11718
11719         * paragraph.C (Paragraph): do not call fitToSize
11720         (erase): call Pimpl::erase
11721         (insertChar): call Pimpl::insertChar
11722         (insertInset): call Pipl::insertInset
11723         (breakParagraph): do not call fitToSize
11724         (breakParagraphConservative): do not call fitToSize
11725         (fitToSize): remove method
11726
11727         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11728
11729 2001-06-24  The LyX Project  <Asger>
11730
11731         * Fix Qt compilation^2
11732
11733 2001-06-24  The LyX Project  <jug@sad.it>
11734
11735         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11736         depthHook(getDepth()-1).
11737
11738         * paragraph.h:
11739         * ParagraphParameters.h:
11740         * ParameterStruct.h: change type of depth to unsigned int ==
11741         depth_type. Many adaptations to other files before of that.
11742
11743 2001-06-24  The LyX Project  <Asger>
11744
11745         * Fix Qt compilation.
11746
11747 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * paragraph.h: renamed several methods to begin with small letter.
11750         several changes to many parts of the code because of this.
11751
11752 2001-06-23  The LyX Project  <jug@sad.it>
11753
11754         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11755         rewritten to discard all double spaces when KeepEmpty is off
11756         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11757         to only handle newlines but not fiddle with spaces and friends.
11758
11759         * lyxfunc.C (MenuNew): when doing 'new from template', use
11760         template_path as default directory
11761
11762 2001-06-23  The LyX Project  <Asger>
11763
11764         * Clean-up of header file includes all over
11765         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11766
11767 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11768
11769         * paragraph.h: renamed from lyxparagraph.h
11770
11771 2001-06-23  Asger  <lyx@violet.home.sad.it>
11772
11773         * Buffer.h: Removed Buffer::resize
11774         * BufferList.h: Removed BufferList::resize
11775         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11776         the document lazily when we change the width, or the font settings.
11777
11778 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11781
11782 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * buffer.h: remove out of date comment
11785
11786 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxscreen.h:
11789         * screen.C: fix "theoretical" GC leak
11790
11791 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11792
11793         * LaTeX.C (scanAuxFile):
11794         (deplog): remove trailing \r when reading stream (useful under
11795         win32)
11796
11797 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11800         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11801         and BufferView::theLockingInset(Inset*), so should use them and not
11802         access bv_->text->the_locking_inset directly.
11803
11804         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11805
11806 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * Makefile.am:
11809         * tex-defs.h: remove old unused file
11810
11811 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * BufferView_pimpl.C: fix typo, remove minibuffer message
11814           when buffer has loaded
11815
11816 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11817
11818         * lyxfunc.C (Dispatch): use stringstream
11819         (MenuNew): use stringstream
11820         (Open): use stringstream
11821
11822         * importer.C (Import): use stringstream
11823
11824         * bufferview_funcs.C (CurrentState): use stringstream
11825
11826         * LaTeX.C (run): use stringstream
11827
11828         * BufferView_pimpl.C (savePosition): use stringstream
11829         (restorePosition): use stringstream
11830         (MenuInsertLyXFile): use stringstream
11831
11832 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11833
11834         * BufferView.C:
11835         * Bullet.C:
11836         * ColorHandler.C:
11837         * FontInfo.C:
11838         * FontLoader.C:
11839         * LColor.C:
11840         * LaTeXFeatures.C:
11841         * Painter.C:
11842         * gettext.C:
11843         * lyx_gui_misc.C:
11844         * lyxserver.C:
11845         * vspace.C: removed // -*- C++ -*- as first line.
11846
11847         * lyxfind.h:
11848         * version.h: added // -*- C++ -*- as first line.
11849
11850 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11853
11854         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11855         of string
11856
11857 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11860         of floats.
11861
11862 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11863
11864         * gettext.C: include LString.h even when --disable-nls is on.
11865
11866 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11867
11868         * converter.h (Get): changed argument type from int to
11869         FormatList::size_type to avoid unnecessary conversion.
11870
11871         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11872         before using it.
11873
11874 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11875
11876         * gettext.h: include LString.h even when --disable-nls is on.
11877
11878 2001-06-07  Juergen Vigna  <jug@sad.it>
11879
11880         * text.C (BreakAgain): subst spaces with tabs.
11881
11882         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11883         (resizeInsetsLyXText): set force on resizeLyXText.
11884
11885 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * gettext.h (gettext_init):
11888         (locale_init): use a real definition instead of a macro
11889
11890 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * Bufferview_pimpl.C:
11893         * LColor.h:
11894         * LColor.C: further lcolor tidies
11895
11896 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * BufferView_pimpl.C (updateScrollbar): simplify.
11899
11900         * BufferView2.C: don't include insets/insetinfo.h, change
11901         prototype for insertInset and call the Pimpl version. let
11902         updateInset call Pimpl version.
11903
11904         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11905         gotoInset to BufferView::Pimpl
11906
11907 2001-06-01  Juergen Vigna  <jug@sad.it>
11908
11909         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11910         inside a LockingInset (is the update needed at all?).
11911
11912 2001-05-31  Juergen Vigna  <jug@sad.it>
11913
11914         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11915         here not the old one otherwise how should we compare it afterwards
11916         if it's the same!
11917
11918 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11919
11920         * lyxfont.C:
11921         * tabular.C:
11922         * tabular-old.C:
11923         * FontInfo.C: bring C functions into global namespace when
11924         necessary
11925
11926 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11927
11928         * LString.h: make sure config.h has been loaded before LString.h.
11929
11930         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11931         (one for each char read by EatLine!).
11932
11933         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11934         variables.
11935
11936 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11939         to the same as the par we break from
11940
11941 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11944
11945         * MenuBackend.C (expand): also create menu entries for wide
11946         versions of the floats.
11947
11948         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11949
11950         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11951
11952         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11953         frontends/Makefile.am
11954
11955         * text2.C: adjust
11956         * text.C: adjust
11957
11958
11959         * tabular.C (getTokenValue): add std::
11960
11961         * tabular-old.C (getTokenValue): add std::
11962         (getTokenValue): ditto
11963         (getTokenValue): ditto
11964
11965         * screen.C (ToggleSelection): adjust
11966
11967         * lyxtext.h: put selection cursors inside a Selection struct.
11968
11969         * lyxfunc.C (moveCursorUpdate): adjust
11970
11971         * lyxfont.C (latexWriteStartChanges): add std::
11972
11973         * lyxfind.C: adjust
11974
11975         * font.h: delete with(char const *, LyXFont const &)
11976
11977         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11978
11979         * FontInfo.C (getFontname): add std::
11980
11981         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11982         (workAreaButtonPress): adjust
11983         (tripleClick): adjust
11984         (update): adjust
11985         (moveCursorUpdate): adjust
11986         (Dispatch): adjust
11987
11988         * BufferView2.C (gotoInset): adjust
11989
11990 2001-05-30  Juergen Vigna  <jug@sad.it>
11991
11992         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11993         to check pspell I add this as default as I now have new pspell
11994         libraries and they seem to use this.
11995
11996 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * text2.C (CutSelection): make the cursor valid before the call to
11999         ClearSelection.
12000
12001 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12002
12003         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12004         relied on 0 terminated strings and other horrors. Bug found due to
12005         the new assert in lyxstring!
12006
12007         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12008         KP_ keys.
12009
12010 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12013         to latinkeys.bind.
12014
12015         * lyxfunc.C (processKeySym): change method of getting to the
12016         self-insert char.
12017
12018         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12019         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12020         * BufferView_pimpl.[Ch]: here as private methods.
12021
12022 2001-05-28  Juergen Vigna  <jug@sad.it>
12023
12024         * text.C (SetHeightOfRow): added the update() call again as it is
12025         needed to initialize inset dimensions!
12026
12027 2001-05-16  Juergen Vigna  <jug@sad.it>
12028
12029         * text2.C (SetCharFont): Add new function with BufferView * and
12030         bool toggleall parameters for setting insets internal fonts.
12031         (SetFont): Freeze the undo as we may change fonts in Insets and
12032         all this change should be inside only one Undo!
12033
12034         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12035         setting font's in insets as for them we have the SetFont function!
12036
12037 2001-05-15  Juergen Vigna  <jug@sad.it>
12038
12039         * text2.C (ClearSelection): to be sure we REALLY don't have any
12040         selection anymore!
12041
12042         * tabular.C (TeXCellPreamble): fixed the left border problem for
12043         multicolumn cells.
12044
12045 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12046
12047         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12048         dependancy file
12049
12050 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12053         LFUN_BREAKPARAGRAPH.
12054
12055         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12056         help test to "internal only", similar for LFUN_INSERT_URL
12057
12058         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12059         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12060         auto_region_delete and deadkeys.
12061
12062 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * LColor.h:
12065         * LColor.C: remove some dead entries, tidy a little
12066
12067 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12070         commented code.
12071         (Dispatch): implement LFUN_ESCAPE
12072
12073         * commandtags.h: add LFUN_ESCAPE
12074
12075         * LyXAction.C (init): add entry for LFUN_ESCAPE
12076
12077         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12078         Remove commented code.
12079         (insertNote): moved here
12080         (open_new_inset): moved here
12081
12082         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12083         BufferView_pimpl
12084
12085 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12086
12087         * kbmap.C (findbinding): clean it up and make it work correctly.
12088
12089         * lyx_main.C (init): do not pass argc and argv as parameters
12090
12091 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12092
12093         * buffer.C: fix path for OS/2 & Win32
12094
12095         * lyx_gui.C:
12096         * lyx_main:
12097         * lyx_main.C: Added os:: class.
12098
12099         * os2_defines.h: update
12100
12101 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12104         better by trying again with reduced state.
12105
12106 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * lyxrc.C (read): print error about invalid key sequence only when
12109         debugging (because not all latinX keysyms are known to some X
12110         servers)
12111
12112         * kbsequence.C (getiso): add a few std:: qualifiers
12113         (getiso): comment out extra return statement.
12114
12115 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12118         handling.
12119         (Dispatch): enhance the accent inset a bit. (not perfect)
12120
12121 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12124
12125 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * bufferlist.C (emergencyWrite): fix assert() call
12128
12129 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12130
12131         * text.C (InsertChar): Added trivial patch to only send the "you
12132         can not do multiple spaces this way" message once during a
12133         session.
12134
12135 2001-05-08  Baruch Even  <baruch@lyx.org>
12136
12137         * Makefile.am: Changed order of libraries to get LyX to link properly
12138         with the gnome frontend.
12139
12140 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12141
12142         * LaTeXFeatures.h: add a std:: qualifier
12143
12144 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * paragraph.C (String): use stringstream
12147
12148 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * paragraph.C (writeFile): remove footflag arg
12151
12152         * buffer.C (makeLaTeXFile): use stringstream
12153         (latexParagraphs): remove footnot gurba
12154
12155         * LaTeXFeatures.C (getPackages): use stringstream
12156         (getMacros): likewise
12157         (getTClassPreamble): likewise
12158         (getFloatDefinitions): new method
12159
12160         * paragraph.C (writeFile): reindent
12161         (Erase): reindent
12162
12163         * WorkArea.h: revert the xpos + etc changes.
12164
12165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12166
12167         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12168
12169         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12170         (pasteSelection): likewise
12171         * text2.C (CreateUndo): likewise
12172
12173 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12174
12175         * minibuffer.C (peek_event): temporarily reduce the functionality
12176         of the minibuffer (to allow args on lfuns)
12177
12178         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12179         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12180
12181         * buffer.C (readInset): add compability reading of old float
12182         lists, add reading of new style float list.
12183         (readInset): avoid reevaluation of inscmd.getCmdName()
12184         (getLists): reindent
12185
12186         * MenuBackend.C (MenuItem): implement parsing of
12187         md_floatlistinsert and md_floatinsert.
12188         (expand::LastFiles): move initalizaton of iterators out of loop,
12189         avoid reevaluation.
12190         (expand::Documents): introduce typdedef vector<string> Strings,
12191         and use it.
12192         (expand::ExportFormats): introduce typedef vector<Format const *>
12193         Formats, and use it.
12194         (expand): implement FloatListInsert and FloatInsert.
12195
12196         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12197         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12198         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12199
12200         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12201         handling.
12202         (Dispatch::LFUN_FLOAT_LIST): implement
12203
12204 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12205
12206         * LaTeX.C (run): Fix problem with --export code.
12207
12208 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12209
12210         * BufferView.[Ch] (workarea): removed.
12211         (getClipboard) new method; wrapper for workarea()->getClipboard()
12212
12213         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12214         bug.
12215
12216         * WorkArea.h (width, height, xpos, ypos): These methods all
12217         returned the dimensions of the work_area sub-area of WorkArea,
12218         resulting in a position error if the WorkArea were resized. Now
12219         return the dimensions of the entire WorkArea.
12220
12221         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12222
12223 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * LaTeX.C (deplog): correct the syntax of regex reg1
12226
12227 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * undo.C: remove !NEW_INSETS cruft
12230
12231 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * text2.C: remove !NEW_INSETS cruft
12234
12235         * text.C: remove !NEW_INSETS cruft
12236
12237         * tabular.C: remove !NEW_INSETS cruft
12238
12239         * spellchecker.C: remove !NEW_INSETS cruft
12240
12241         * lyxtext.h: remove !NEW_INSETS cruft
12242
12243         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12244
12245         * lyxfunc.C: remove !NEW_INSETS cruft
12246
12247         * lyxfind.C: remove !NEW_INSETS cruft
12248
12249         * lyx_cb.C: remove !NEW_INSETS cruft
12250
12251         * figureForm.C: remove  !NEW_INSETS cruft
12252
12253         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12254
12255         * buffer.[Ch]: remove !NEW_INSETS cruft
12256
12257         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12258
12259         * CutAndPaste.C: remove !NEW_INSETS cruft
12260
12261         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12262
12263         * BufferView2.C: remove !NEW_INSETS cruft
12264
12265         * BufferView.h: remove !NEW_INSETS cruft
12266
12267 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * Lsstream.h: include LString.h before the sstream headers to
12270         fix problem with gcc 2.95.3 and lyxstring
12271
12272 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * lyx_main.C: add using directives when needed for C functions
12275         declared in std:: namespace.
12276
12277 2001-04-27  Juergen Vigna  <jug@sad.it>
12278
12279         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12280         (SetHeightOfRow): comment out the update call should not be needed!
12281
12282 2001-04-13  Juergen Vigna  <jug@sad.it>
12283
12284         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12285         (LyXTabular): tried to minimize operator= operations (and realized
12286         hopfully Lars wish).
12287
12288 2001-04-27  Juergen Vigna  <jug@sad.it>
12289
12290         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12291
12292 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12295
12296         * buffer.C (readInset): hack to make listof algorithm work
12297
12298         * BufferView_pimpl.C: hack to make listof algorithm work
12299
12300 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * LyXAction.C: removed all !NEW_INSETS cruft
12303         (init): moved lfun_item in method
12304
12305         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12306
12307 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12308
12309         * BufferView2.C (theLockingInset): white space.
12310
12311 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * minibuffer.C: include <iostream>
12314
12315         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12316
12317         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12318
12319         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12320
12321         * text.[Ch] (TransposeChars): new method
12322
12323 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * call message directly through LyXView instead of through LyXFunc
12326         * BufferView2.C: adjust
12327         * BufferView_pimpl.C: adjust
12328         * FontLoader.C: adjust
12329         * buffer.C: adjust
12330         * bufferview_funcs.C: adjust
12331         * converter.C: adjust
12332         * figureForm.C: adjust
12333         * importer.C: adjust
12334         * lyx_cb.C: adjust
12335         * lyx_gui_misc.C: adjust
12336         * lyxfunc.C: adjust
12337         * lyxvc.C: adjust
12338         * text2.C: adjust
12339         + more files in subdirs
12340
12341         * lyxparagraph.h (size): move up int file
12342         (GetLayout): ditto
12343
12344         * adjust all uses of Assert to lyx::Assert.
12345
12346         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12347         lyxfunctional in namespace lyx
12348         * layout.C (hasLayout): ditto
12349         (GetLayout): ditto
12350         (GetLayout): ditto
12351         (delete_layout): ditto
12352         (NumberOfClass): ditto
12353         * converter.C (GetFormat): ditto
12354         (GetNumber): ditto
12355         (Add): ditto
12356         (Delete): ditto
12357         (SetViewer): ditto
12358         * bufferlist.C (getFileNames): ditto
12359         (emergencyWriteAll): ditto
12360         (exists): ditto
12361         (getBuffer): ditto
12362         * MenuBackend.C (hasSubmenu): ditto
12363         (hasMenu): ditto
12364         (getMenu): ditto
12365         * BufferView_pimpl.C (getInsetByCode): ditto
12366
12367 2001-04-18  Juergen Vigna  <jug@sad.it>
12368
12369         * vspace.C (asLatexString): fixed the 100% problem.
12370
12371 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * lyxfunc.C (Dispatch):
12374         * minibuffer.C:
12375         * minibuffer.h: add a few std:: qualifiers
12376
12377 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * minibuffer.[Ch]: reimplement so that commands is initiated and
12380         run from lyxfunc, simplified som handling, and made the completion
12381         and history code for complete. wip.
12382
12383         * lyxfunc.C (processKeySym): call message
12384         (miniDispatch): new temporary method
12385         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12386         (LFUN_MESSAGE): implement
12387         (LFUN_MESSAGE_PUSH): implement
12388         (LFUN_MESSAGE_POP): implement
12389         (initMiniBuffer): the initial/defualt minibuffer message.
12390
12391         * lyxfont.[Ch]: inline some more getters
12392
12393         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12394
12395         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12396
12397         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12398         (AutoSave): use LFUN_MESSAGE
12399         (Reconfigure): ditto
12400
12401         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12402
12403         * figureForm.C: use LFUN_MESSAGE
12404
12405         * converter.C (runLaTeX): use LFUN_MESSAGE
12406
12407         * bufferview_funcs.C: use LFUN_MESSAGE
12408         (Melt): ditto
12409         (changeDepth): ditto
12410
12411         * bufferparams.h: use boost::
12412
12413         * bufferlist.h: inherit privately from noncopyable
12414
12415         * bufferlist.C (loadLyXFile): remove some commented code.
12416
12417         * buffer.C (runChktex): use LFUN_MESSAGE
12418
12419         * ShareContainer.h: inherit privately from noncopyable
12420
12421         * ParagraphParameters.[hC] (depth): inline it.
12422
12423         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12424         methods.
12425         (message): new method
12426         (messagePush): ditto
12427         (messagePop): ditto
12428         (show): init minibuffer
12429         (showState): direct call
12430
12431         * LaTeX.[Ch]: inherit privately from noncopyable
12432         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12433         instead of WriteStatus.
12434
12435         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12436
12437         * BufferView_pimpl.C (buffer): don't init minibuffer
12438         (workAreaButtonPress): use LFUN_MESSAGE
12439         (workAreaButtonRelease): ditto
12440         (savePosition): ditto
12441         (restorePosition): ditto
12442         (MenuInsertLyXFile): ditto
12443         (workAreaExpose): don't init minibuffer
12444         (update): remove commented code, simplify
12445
12446         * BufferView2.C (openStuff): use LFUN_MESSAGE
12447         (toggleFloat): ditto
12448         (menuUndo): ditto
12449         (menuRedo): ditto
12450         (copyEnvironment): ditto
12451         (pasteEnvironment): ditto
12452         (copy): ditto
12453         (cut): ditto
12454         (paste): ditto
12455         (gotoInset): ditto
12456         (updateInset): remove some commented code
12457
12458         * lastfiles.h: inherit privately from noncopyable
12459         * layout.h: ditto
12460         * lyx_gui.h: ditto
12461         * lyx_main.h: ditto
12462         * lyxlex.h: ditto
12463         * lyxlex_pimpl.h: ditto
12464
12465         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12466         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12467         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12468
12469         * LyXAction.h: inherit privately from noncopyable, add methods
12470         func_begin, func_end, returning iterators to the func map.
12471
12472         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12473         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12474         (func_begin): new method
12475         (func_end): new method
12476
12477         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12478         and not)
12479         (copySelection): ditto
12480         (pasteSelection): ditto
12481
12482         * BufferView.C: whitespace change
12483         * BufferView.h: inherit privately from noncopyable
12484
12485 2001-04-16  Allan Rae  <rae@lyx.org>
12486
12487         * tabular-old.C (l_getline):
12488         * spellchecker.C (sc_check_word):
12489         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12490         an unrecognised preprocessor directive.  So ensure they're wrapped.
12491
12492 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12493
12494         * src/exporter.C (Export): Give an error message when path to file
12495         contains spaces.
12496
12497 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12498
12499         * LaTeX.C (deplog): Always check that foundfile exists.
12500
12501 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * lyx_main.h:
12504         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12505
12506 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * tabular.[Ch] (getLabelList): implement new method
12509
12510         * minibuffer.h: comment ouf setTiimer
12511
12512         * minibuffer.C (ExecutingCB): constify res
12513         (peek_event): constify s
12514         (Set): constify ntext
12515         (Init): constify nicename
12516
12517         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12518
12519         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12520         (savePosition): use two params to Minibuffer::Set
12521         (restorePosition): ditto
12522
12523 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12524
12525         * lyx_main.C: include language.h
12526
12527         * Makefile.am (lyx_main.o): add language.h
12528
12529 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12530
12531         * exporter.C:
12532         * paragraph.C:
12533         * screen.C:
12534         * tabular.C:
12535         * CutAndPaste.C: include gettext.h
12536
12537         * lyxfont.h: remove old hack with ON and OFF.
12538
12539         * lyxparagraph.h:
12540         * lyxfont.h: do not include language.h...
12541
12542         * BufferView2.C:
12543         * LaTeXFeatures.C:
12544         * Painter.C:
12545         * bufferview_funcs.C:
12546         * font.C:
12547         * lyxfont.C:
12548         * text.C:
12549         * text2.C:
12550         * trans_mgr.C:
12551         * paragraph.C: ... but do it here instead
12552
12553 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12556
12557         * tabular.C: small reformat
12558
12559         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12560         NEW_INSETS version
12561         (GetChar): ditto
12562         (BreakParagraph): ditto
12563         (SetOnlyLayout): ditto
12564         (SetLayout): ditto
12565
12566         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12567         with one arg less.
12568
12569         * lastfiles.C: removed most using decl, add std:: where needed
12570
12571         * buffer.C: ws changes
12572
12573         * MenuBackend.C (class compare_format): put into anon namespace
12574         (expand): constify label, names, action, action2
12575         (expand):
12576
12577         * text.C (SingleWidth): constify font
12578         (IsBoundary): constify rtl2
12579         (GetVisibleRow): constify ww
12580
12581         * LaTeX.C (deplog): constify logfile
12582
12583         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12584         start_x, end_x
12585         (workAreaExpose): constify widthChange, heightChange
12586
12587         * lyxrow.C (par): moved
12588         (height): moved
12589         (next): moved
12590         * lyxrow.h: as inlines here
12591
12592         * lyxfont.h (shape): moved from lyxfont.C
12593         (emph): moved from lyxfont.C
12594
12595         * lyxfont.C (LyXFont): use initialization list for all
12596         constructors
12597         (shape): move to lyxfont.h as inline
12598         (emph): move to lyxfont.h as inline
12599
12600
12601 2001-04-04  Juergen Vigna  <jug@sad.it>
12602
12603         * vspace.C: had to include stdio.h for use of sscanf
12604
12605 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12606
12607         * BufferView.h:
12608         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12609         independent of xforms.
12610
12611 2001-04-02  Juergen Vigna  <jug@sad.it>
12612
12613         * spellchecker.C: fixed namespace placing!
12614
12615 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12616
12617         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12618         the LyXParagraph * is 0.
12619
12620 2001-03-29  Juergen Vigna  <jug@sad.it>
12621
12622         * vspace.C: added support for %, c%, p%, l%.
12623         (stringFromUnit): added helper function.
12624         (asLatexString): changed to give right results for the %-values.
12625
12626         * buffer.C: convert the widthp in a width%.
12627
12628 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12629
12630         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12631         figureForm.[Ch].
12632
12633         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12634         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12635
12636         * lyx_cb.[Ch]: see above.
12637
12638         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12639         form1.[Ch].
12640
12641         * form1.[Ch]:
12642         * lyx.[Ch]: replaced by figure_form.[Ch].
12643
12644         * lyx_gui.C:
12645         * lyx_gui_misc.C:
12646         * lyxfunc.C: changed headers associated with above changes.
12647
12648 2001-03-27  Juergen Vigna  <jug@sad.it>
12649
12650         * BufferView_pimpl.C: set the temporary cursor right!
12651
12652 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12655
12656 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12657
12658         * LString.h: removed "using std::getline"!
12659
12660         * BufferView_pimpl.C (Dispatch): changes due to changes in
12661         InsetInclude::Params.
12662
12663         * buffer.C (tag_name): removed redundant break statements as they were
12664         producing lots of warnings with my compiler.
12665
12666 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12667
12668         * LString.h: add "using std::getline" when using the real <string>.
12669
12670 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12671
12672         * buffer.C: removed bitset usage.
12673         PAR_TAG moved to an anonymous name space.
12674         (tag_name): new funtion, also in the anonymous namespace.
12675         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12676         (makeDocBookFile): clean code. Completed transition from string arrays
12677         to string vectors.
12678         (SimpleDocBookOnePar): code clean.
12679
12680 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12681
12682         * tabular.C: add some comments.
12683
12684 2001-03-22  Juergen Vigna  <jug@sad.it>
12685
12686         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12687         compatibility read a bit and fixed bug with minipage in different
12688         depth.
12689
12690 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12691
12692         * buffer.C (pop_tag): removed.
12693         (push_tag): removed.
12694         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12695         array replaced with vector. Added support for CDATA sections.
12696         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12697         at any nest level.
12698         (makeDocBookFile): XML conformant declaration of CDATA section,
12699         fixed bug related to <emphasis> in the first paragraph char.
12700         (sgmlOpenTag): exclude empty tags.
12701         (sgmlCloseTag): ditto.
12702
12703         * buffer.h (pop_tag): removed.
12704         (push_tag): removed.
12705
12706 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12707
12708         * language.h (Languages): added size_type and size().
12709
12710 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12711
12712         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12713         response on compability reading of minipages. One probliem is that
12714         the old usage of minipages was «flertydig»
12715
12716         * several files here and in subdirs: don't use static at file
12717         scope use anon namespaces instead.
12718
12719 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12720
12721         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12722         LaTeX output. This is necessary for Literate document
12723         processing.
12724
12725 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12726
12727         * buffer.C: insert hfill when needed.
12728
12729         * tabular.C (l_getline): use string::erase, small whitespace change.
12730
12731         * BufferView_pimpl.C: try the anon namespace.
12732         * WorkArea.C: ditto
12733
12734 2001-03-16  Juergen Vigna  <jug@sad.it>
12735
12736         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12737         otherwise it won't open options-dialogs.
12738
12739         * buffer.C: honor pextraWidth(p) on converting minipages.
12740
12741         * tabular.C (l_getline): changed the functions to strip trailing \r.
12742
12743 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * BufferView_pimpl.C:
12746         * minibuffer..C: added "using SigC::slot" declaration.
12747
12748 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12749
12750         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12751
12752         * text2.C: ditto
12753
12754         * text.C: ditto
12755
12756         * paragraph.C: ditto
12757
12758         * lyxtext.h: NO_PEXTRA
12759
12760         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12761
12762         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12763         * ParameterStruct.h: ditto
12764         * ParagraphParameters.h: ditto
12765         * lyxparagraph.h: ditto
12766
12767 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12768
12769         * buffer.C: add compability for minipage alignment.
12770         (latexParagraphs): remove unwanted pextra check.
12771
12772         * several files: remove CXX_WORKING_NAMESPACES
12773
12774         * buffer.C (pop_tag): tie is in namespace boost
12775
12776         * BufferView.h: noncopyable is in namespace boost
12777         * lyxlex.h: ditto
12778         * lyx_main.h: ditto
12779         * lyx_gui.h: ditto
12780         * layout.h: ditto
12781         * lastfiles.h: ditto
12782         * bufferlist.h: ditto
12783         * ShareContainer.h: ditto
12784         * LyXView.h: ditto
12785         * LyXAction.h: ditto
12786         * LaTeX.h: ditto
12787
12788 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * Merging changes from BRANCH_MVC back into HEAD.
12791
12792         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12793
12794 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * BufferView_pimpl.C: change from intl.C
12797
12798         * combox.h:
12799         * combox.C:
12800         * Makefile.am: move combox.*
12801
12802         * form1.h:
12803         * form1.C:
12804         * lyx_gui.C:
12805         * intl.h:
12806         * intl.C: remove dialog (covered by prefs)
12807
12808 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12809
12810         * lyxfunc.C (Dispatch): removed redundant break statement.
12811
12812 2001-03-14  Juergen Vigna  <jug@sad.it>
12813
12814         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12815
12816 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12817
12818         * buffer.C: add hack to fix compability reading of minipages.
12819
12820 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12821
12822         * buffer.C (getLists): Cleanup.
12823
12824 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * lyxfont.C (update): don't honor toggleall on font size.
12827
12828 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * bmtable.c:
12831         * bmtable.h:
12832         * Makefile.am: moved to frontends/xforms/
12833
12834         * lyx_gui_misc.C:
12835         * lyxfunc.C:
12836         * BufferView_pimpl.C: changes for moved mathpanel
12837
12838 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12839
12840         * gettext.h: fix gettext_init() in --disable-nls
12841
12842 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12845
12846 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * lyx.C:
12849         * lyx.h: strip external form
12850
12851 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * BufferView_pimpl.C: add comment, destroySplash()
12854
12855 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12856
12857         * BufferView_pimpl.C:
12858         * LyXAction.C:
12859         * buffer.C:
12860         * commandtags.h:
12861         * lyxfunc.C: use re-worked insetinclude
12862
12863 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12864
12865         * buffer.C: add using std::stringstream.
12866
12867         * lyx_cb.C: readd using std::ios.
12868
12869         * buffer.C: add using std::map.
12870
12871         * BufferView_pimpl.C: add using std::vector.
12872
12873         * ShareContainer.h: add std:: to swap.
12874
12875         * buffer.h: add some typedefs
12876         * buffer.C (getLists): use them
12877         (getLists): renamed from getTocList.
12878         add a counter for the different float types and use it in the
12879         generated string.
12880         (getLists): use the same counter for the NEW_INSETS and the "non"
12881         NEW_INSETS
12882
12883         * lyx_cb.h: remove unused items, includes, using etc.
12884
12885         * ShareContainer.h: remove some commented code, add more comments
12886         and "documentation".
12887
12888 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12889
12890         * buffer.C (getTocList): make the list also when NEW_INSETS is
12891         defined.
12892
12893         * buffer.h: remove TocType
12894
12895         * buffer.C (getTocList): change to return a map<string,
12896         vector<TocItem> >, implement for dynamic number of list.
12897
12898         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12899         * text2.C (PasteSelection): adjust
12900         * CutAndPaste.C (pasteSelection): adjust
12901
12902         * FloatList.C (FloatList): update from the new_insets branch.
12903         * Floating.[Ch]: ditto
12904         * LaTeXFeatures.C: ditto
12905         * buffer.C: ditto
12906         * lyxlex_pimpl.C: ditto
12907
12908         * paragraph.C (Last): remove when NEW_INSETS is defined.
12909
12910         * other file: changes because of the above.
12911
12912 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12913
12914         * lyxparagraph.h: rename next to next_, previous to previous_,
12915         make them private for NEW_INSETS. Rename Next() to next(),
12916         Previous() to previous().
12917
12918         * other files: changes because of the above.
12919
12920 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * BufferView.h:
12923         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12924         problem.
12925
12926 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12927
12928         * main.C (main): pass lyx_localedir to gettext_init().
12929
12930         * gettext.h: remove locale_init and gettext_init macros
12931
12932         * gettext.C (locale_init): new function
12933         (gettext_init): new function
12934
12935         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12936         setlocale().
12937
12938 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12939
12940         * Moved credits to frontends:
12941         * credits.[Ch]: removed
12942         * credits_form.[Ch]: removed
12943         * lyx_gui_misc.C: remove credits stuff
12944         * Makefile.am:
12945
12946 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12947
12948         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12949
12950         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12951         unneeded destructor.
12952
12953         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12954         a standalone pointer again.
12955
12956         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12957
12958 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * Makefile.am:
12961         * filedlg.h:
12962         * filedlg.C:
12963         * LyXAction.C:
12964         * ToolbarDefaults.C:
12965         * bufferlist.C:
12966         * commandtags.h:
12967         * form1.C:
12968         * form1.h:
12969         * lyx_cb.C:
12970         * lyx_cb.h:
12971         * lyxfunc.h:
12972         * lyxfunc.C:
12973         * BufferView_pimpl.C: use new file dialog in GUII
12974
12975         * lyx_cb.h:
12976         * lyx_cb.C: remove LayoutsCB to Toolbar
12977
12978 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * ShareContainer.h (get): add std:: qualifier
12981
12982 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12983
12984         * ShareContainer.h: define a proper ShareContainer::value_type
12985         type (and use typename to please compaq cxx)
12986
12987 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12988
12989         * lyxparagraph.h: move serveral local vars to
12990         ParameterStruct/ParagraphParameters., use ShareContainer in
12991         FontTable., make vars in FontTable private and add getter and
12992         setter.
12993
12994         * paragraph.C: changes because of the above.
12995
12996         * lyxfont.h: remove copy constructor and copy assignment. (the
12997         default ones is ok), move number inside FontBits. move inlines to
12998         lyxfont.C
12999
13000         * lyxfont.C: add number to initializaton of statics, move several
13001         inlines here. constify several local vars. some whitespace
13002         cleanup. Dont hide outerscope variables.
13003
13004         * Spacing.h: add two new constructors to match the set methods.
13005
13006         * ShareContainer.h: new file, will perhaps be moved to support
13007
13008         * ParameterStruct.h: new file
13009
13010         * ParagraphParameters.h: new file
13011
13012         * ParagraphParameters.C: new file
13013
13014         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13015         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13016
13017         * BufferView_pimpl.C: ParagraphParameter changes.
13018         * buffer.C: Likewise.
13019         * bufferview_funcs.C: Likewise.
13020         * text.C: Likewise.
13021         * text2.C: Likewise.
13022
13023 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * lyxfind.C (LyXReplace): do not redefine default argument in
13026         implementation.
13027         (IsStringInText): ditto
13028         (SearchForward): ditto
13029         (SearchBackward): ditto
13030
13031 2001-03-06  Juergen Vigna  <jug@sad.it>
13032
13033         * lyxfind.C (IsStringInText): put parentes around expressions.
13034
13035 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13036
13037         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13038
13039 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13042
13043         * stl_string_fwd.h: add comment
13044
13045         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13046
13047         * tabular.h:
13048         * tabular.C: remove unused DocBook methods
13049
13050         * intl.C:
13051         * language.C:
13052         * paragraph.C:
13053         * buffer.C:
13054         killed DO_USE_DEFAULT_LANGUAGE
13055
13056 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * lyx_gui.C: do not include language.h.
13059
13060         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13061         arguments in function implementation.
13062
13063 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13064
13065         * BufferView_pimpl.C: add <ctime>
13066
13067 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13068
13069         * BufferView_pimpl.C: add using std::find_if
13070
13071 2001-02-27  José Matos  <jamatos@fep.up.pt>
13072
13073         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13074         by OnlyPath.
13075
13076 2001-02-11  José Matos  <jamatos@fep.up.pt>
13077
13078         * buffer.C (makeDocBookFile): command styles now have a parameter as
13079         "title" by default.
13080
13081 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13082
13083         * layout_forms.[Ch]: removed
13084         * lyx_cb.[Ch]: out character
13085         * lyx_gui.C: out character
13086         * lyx_gui_misc.C: out character
13087         * bufferview_funcs.C: : out character,
13088         added toggleall as parameter in ToggleAndShow
13089
13090 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13091
13092         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13093
13094         * text2.C (SetCurrentFont): Disable number property at boundary.
13095
13096 2001-02-26  Juergen Vigna  <jug@sad.it>
13097
13098         * lyxfunc.C (getStatus): added a string argument override function so
13099         that this is correctly called from LyXFunc::Dispatch if it contains a
13100         do_not_use_argument which is used!
13101         (Dispatch): added check for "custom" export and call appropriate func.
13102
13103 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13104
13105         * lyxrc.C: Add language_command_local, language_use_babel and
13106         language_global_options.
13107
13108         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13109
13110         * buffer.C (makeLaTeXFile): Use language_use_babel and
13111         language_global_options.
13112
13113 2001-02-23  Juergen Vigna  <jug@sad.it>
13114
13115         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13116         which works with LyXText and putted it inside BufferView. Here now we
13117         only call for that part the BufferView::Dispatch() function.
13118
13119         * BufferView.C (Dispatch): added.
13120
13121         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13122         functions which needs to use a LyXText over from LyXFunc.
13123         (MenuInsertLyXFile): added
13124         (getInsetByCode): added
13125         (moveCursorUpdate): added
13126         (static TEXT): added
13127
13128 2001-02-22  Juergen Vigna  <jug@sad.it>
13129
13130         * BufferView_pimpl.C (update): call a status update to see if LyXText
13131         needs it.
13132
13133 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13134
13135         * vc-backend.C (revert): implement for CVS
13136         (getLog): implement for CVS
13137
13138 2001-02-20  Juergen Vigna  <jug@sad.it>
13139
13140         * text2.C (ClearSelection): added BufferView param for inset_owner call
13141
13142         * lyxfunc.C (TEXT): added this function and use it instead of
13143         directly owner->view()-text of getLyXText().
13144
13145 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13146
13147         * src/layout_forms.C: out preamble
13148         * src/layout_forms.h: out preamble
13149         * src/lyx_cb.C: out preamble
13150         * src/lyx_cb.h: out preamble
13151         * src/lyx_gui.C: out preamble
13152         * src/lyx_gui_misc.C: out preamble
13153         * src/lyxfunc.C: connect with guii preamble
13154
13155 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13156
13157         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13158
13159 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13162         whether to run bibtex.
13163
13164 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13165
13166         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13167
13168 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13169
13170         * Makefile.am (lyx_SOURCES): removed bibforms.h
13171
13172         * vspace.h: doxygen
13173
13174         * text.C (GetVisibleRow): make several local vars const
13175
13176         * tabular.C: small cleanup.
13177
13178         * lyxserver.C (callback): use compare instead of strncmp
13179
13180         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13181         inlines to after class or to paragraph.C
13182
13183         * lyxfont.h: remove friend operator!=
13184
13185         * converter.h: move friend bool operator< to non friend and after
13186         class def.
13187
13188         * combox.h: small cleanup
13189
13190         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13191         to inlines after class def.
13192
13193         * buffer.C (pop_tag): use string operations instead of strcmp
13194
13195         * bmtable.c: doxygen, small cleanup
13196
13197         * LaTeX.h: remove friend operator==
13198
13199 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13200
13201         * screen.C:
13202         * lyxrc.[Ch]:
13203         * lyxfunc.C:
13204         * lyxfont.[Ch]:
13205         * lyx_cb.C:
13206         * intl.[Ch]:
13207         * commandtags.h:
13208         * buffer.C:
13209         * WorkArea.[Ch]:
13210         * LyXAction.C:
13211         * BufferView_pimpl.C:
13212         * BufferView.[Ch]: remove cruft
13213
13214 2001-02-14  Juergen Vigna  <jug@sad.it>
13215
13216         * lyxfunc.C: removed #if 0 unused code
13217
13218         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13219
13220         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13221
13222         * text2.C (SetSelection): added a BufferView * parameter
13223
13224 2001-02-13  Juergen Vigna  <jug@sad.it>
13225
13226         * lyxfunc.C (Dispatch): fixed protected blank problem.
13227         * BufferView2.C (protectedBlank): added LyxText * parameter.
13228
13229         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13230         (AppendColumn): same as above for column_info.
13231
13232         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13233         (moveCursorUpdate): use a LyXText param for support of InsetText.
13234
13235         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13236         (tripleClick): ditto
13237
13238         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13239
13240         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13241
13242         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13243
13244         * text2.C (SetSelection): set correct update status if inset_owner
13245         (ToggleFree): ditto
13246
13247 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13248
13249         * tabular.C: remove some commented code.
13250
13251 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * BufferView_pimpl.C: call hideSplash()
13254
13255         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13256
13257         * include_form.h:
13258         * bibforms.h: remove
13259
13260         * lyxfunc.C:
13261         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13262           add LFUN_CHILD_CREATE
13263
13264         * counters.h: fix tiny typo
13265
13266         * lyx_cb.C:
13267         * lyx.h:
13268         * lyx_gui.C:
13269         * lyx.C: move splash to frontends/xforms/
13270
13271         * lyx_gui_misc.C: move Include and Bibform to frontends
13272
13273         * lyxvc.h: clarify comment
13274
13275         * vspace.C: tiny housekeeping
13276
13277 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13278
13279         * text.C (PrepareToPrint): RTL Fix.
13280
13281         * paragraph.C (GetUChar): New method.
13282         (String):  Use GetUChar.
13283
13284         * buffer.C (asciiParagraph): Use GetUChar.
13285
13286 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13287
13288         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13289
13290 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * buffer.h:
13293         * buffer.C: rename to getLogName(), handle
13294           build log / latex log nicely
13295
13296 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13297
13298         * MenuBackend.C:
13299         * MenuBackend.h: remove support for reference menuitem type.
13300
13301 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13302
13303         * BufferView_pimpl.C: housekeeping
13304         * BufferView_pimpl.h:
13305         * LyXView.h:
13306         * Makefile.am:
13307         * Timeout.C:
13308         * Timeout.h:
13309         * minibuffer.h: move Timeout GUI-I
13310
13311 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * lyxrc.C (read): Update converters data-structures.
13314
13315 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13316
13317         * LaTeX.h (operator!=): add operator != for Aux_Info
13318
13319 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13322
13323         * LaTeXLog.C: deleted, useful code moved to Buffer
13324
13325         * buffer.h:
13326         * buffer.C: new function getLatexLogName()
13327
13328         * lyx_gui_misc.C:
13329         * lyx_gui.C:
13330         * lyxvc.C:
13331         * lyxvc.h:
13332         * lyxfunc.C: use frontends for LaTeX and VC logs
13333
13334 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * LaTeX.h: yet another std:: that Allan forgot.
13337
13338         * Variables.C (set): renamed from isset(), because this clashes
13339         with some HP-UX macros (grr).
13340
13341 2001-02-06  Allan Rae  <rae@lyx.org>
13342
13343         * LaTeX.h: Another bug fix.  Missing std:: this time.
13344
13345 2001-02-04  Allan Rae  <rae@lyx.org>
13346
13347         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13348         floats problem. I've left it commented out because it's not quite
13349         correct.  It should also test that the current object is a table or
13350         figure inset.  But I haven't gotten around to figuring out how to do
13351         that.  I *think* it'll be something like: "table" == inset.type()
13352
13353         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13354         bool.
13355
13356 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13359         all the citation/databases/styles in the auxilary file.
13360         (run): Rerun latex if there was a babel language error.
13361
13362 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * text.C (Backspace): Preserve the font when changing newline char
13365         with a space.
13366         (BreakParagraph): If the cursor is before a space, delete the space.
13367
13368         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13369
13370 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13371
13372         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13373         new argument (code).
13374         (ChangeCitationsIfUnique): New method.
13375
13376         * paragraph.C (GetPositionOfInset): Handle bibkey.
13377
13378 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13379
13380         * BufferView_pimpl.h: change type of Position::par_pos to
13381         LyXParagraph::size_type.
13382
13383 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13384
13385         * BufferView_pimpl.C (savePosition, restorePosition): Write
13386         messages to minibuffer.
13387
13388 2001-01-28  José Matos  <jamatos@fep.up.pt>
13389
13390         * buffer.C (makeDocBookFile): adds support for document language.
13391         A silly restriction on the name of LatexCommand types where removed.
13392         Added support for CDATA sections, allows to chars unescaped, used
13393         among others in code, to avoid escape < and >.
13394
13395 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13396
13397         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13398         saved positions instrad of a stack. Furthermore, a position is
13399         stored using paragraph id/paragraph position.
13400
13401         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13402         Remove LFUN_REF_BACK.
13403
13404 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13405
13406         * converter.C (dvipdfm_options): New method.
13407
13408 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13409
13410         * vspace.C (isValidLength): Fix for empty input string.
13411
13412 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13413
13414         * LyXAction.C (init): change description of LFUN_FIGURE to
13415         "Insert Graphics"
13416
13417 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * LaTeX.C: add using directive
13420
13421 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * MenuBackend.C (expand): Fix the sorting of the formats.
13424
13425 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * lyx_main.C: tiny error message fix
13428
13429 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13432         calling fl_initialize(). This fixes the problem with ',' as
13433         decimal separator in text files.
13434
13435 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13436
13437         * trans.C (process): Fix the keymap bug.
13438
13439 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13440
13441         * LaTeX.C (scanAuxFiles): New method. Provides support for
13442         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13443         (scanLogFile) Scan for "run BibTeX" messages.
13444
13445         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13446         OT1 font encoding. Also, load the aecompl package if the ae
13447         package is loaded.
13448
13449         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13450
13451 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * texrow.C (increasePos): turn two error messages into debug
13454         messages.
13455
13456 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13457
13458         * LaTeX.C (scanAux): Handle the \@input macro.
13459         (runBibTeX): Use scanAux().
13460
13461         * language.C (latex_options_): New field.
13462
13463         * LaTeXFeatures.C (getMacros): Add language macros.
13464
13465         * buffer.C (makeLaTeXFile): Small fix.
13466
13467 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13468
13469         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13470
13471         * text2.C: add a using directive.
13472
13473 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * BufferView2.C:
13476         * lyx_gui_misc.h:
13477         * lyxfr1.C:
13478         * lyxfunc.C: kill LyXBell.
13479
13480 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13481
13482         * text.C (IsBoundary): Remove the error message
13483
13484         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13485
13486         * lyxrc.C (setDefaults): Correct initialization value for
13487         font_norm_type.
13488
13489 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13490
13491         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13492         gotoError().
13493
13494         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13495         and GotoNextNote().
13496
13497         * src/LyXAction.C: Added reference-next.
13498
13499         * text.C (InsertChar): Use contains instead of strchr.
13500
13501         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13502
13503 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13504
13505         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13506         alignment commands (when needed).
13507
13508         * text.C (InsertChar): Add ':' to number separator chars.