]> git.lyx.org Git - features.git/blob - src/ChangeLog
* lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
[features.git] / src / ChangeLog
1 2003-10-27  André Pönitz  <poenitz@gmx.net>
2
3         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4
5         * factory.C: handle new InsetPagebreak, InsetLine
6
7         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
8         and move handling into new InsetPagebreak, InsetLine
9
10         * BufferView_pimpl.C:
11         * LyXAction.C:
12         * ParagraphParameters.C:
13         * ParameterStruct.h:
14         * lyxfunc.C:
15         * lyxtext.h:
16         * paragraph.C:
17         * paragraph.h:
18         * paragraph_funcs.C:
19         * paragraph_pimpl.C:
20         * rowpainter.C:
21         * text.C:
22         * text2.C:
23         * text3.C: adjust
24
25 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
26
27         * text.C: 
28         * lyxrow_funcs.[Ch]: 
29         * Bidi.C: 
30         * paragraph.C: 
31         * lyxtext.h: 
32         * rowpainter.C: 
33         * text2.C: 
34         * text3.C: remove lastPos uses in favour of Row::endpos
35
36 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
37
38         * undo.C (performUndoOrRedo): fix two crashes by setting a
39         cursor by hand and reordering some calls. Use bv->lockInset instead
40         of inset->edit because the latter loses cursor information
41
42 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
43
44         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested 
45         by Martin
46         (rowBreakPoint): fix width. change point to point + 1. 
47         Add a missing check.
48
49 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
50
51         * MenuBackend.C:
52         * lyxfunc.C: fix (at least partly) the problems
53         with the Nav menu and headers inside branch insets
54         reported by Kayvan
55
56 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
57
58         * paragraph.C (getChar): add strong asserts
59
60         * lyxrow_funcs.C (lastPos): remove hideous hack
61
62         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
63         (fill): adjust to that (avoid an infinite loop)
64
65 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
66
67         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
68
69 2003-10-23  André Pönitz  <poenitz@gmx.net>
70         
71         * RowList_fwd.h: change list<> to vector<> to gain speed
72         after suggestion from Alfredo
73
74 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
75
76         * lyxtext.h: move the bidi stuff from here...
77         * text.C: and here
78         * text2.C: and here
79         * Bidi.[Ch]: ... to here
80
81 2003-10-23  André Pönitz  <poenitz@gmx.net>
82
83         * lyxtext.h:
84         * text.C (isLastRow, isFirstRow): new functions
85
86         * paragraph.h: new width cache member
87
88         * rowpainter.C: replace RowList::iterator with Row & where possible
89
90         * lyxfunc.C: replace several view()->text with a single call
91
92         * toc.C: fix 'unused' warning
93
94 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
95
96         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
97         when woring with stream::pos_type
98         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
99
100 2003-10-22  André Pönitz  <poenitz@gmx.net>
101
102         * lyxtext.h:
103         * text.C: use Row & instead of RowList::iterator
104
105         * lyxrow.h: rename end() to endpos()
106
107         * rowpainter.C:
108         * text.C:
109         * text2.C: adjust
110
111 2003-10-22  Angus Leeming  <leeming@lyx.org>
112
113         * buffer.[Ch] (fully_loaded): new member function, returning true
114         only when the file has been loaded fully.
115         Used to prevent the premature generation of previews and by the
116         citation inset to prevent computation of the natbib-style label.
117
118         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
119         templates are all set up.
120
121         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
122
123 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
124
125         * text.C: fixed an "oops" in the "is a bit silly"
126         bug fix
127
128 2003-10-21  André Pönitz  <poenitz@gmx.net>
129
130         * FuncStatus.[Ch]: small stuff, whitespace
131
132         * lyxfont.[Ch]: operator<<() for debug reasons
133
134         * lyxfunc.C:
135         * lyxrow_funcs.C:
136         * lyxtext.h: whitespace, spelling
137
138         * paragraph.C: naming of variables
139
140         * text.C:
141         * text2.C: small stuff
142
143
144 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
145
146         * text.C: (1) finish off the inset display() work;
147         (2) fix the "is a bit silly" bug (accessing char
148         past end of par).
149
150 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * text.C: re-introduce display() for insets, fixing the
153         various bugs (stretch of line above, math inset
154         positioning, ...)
155
156 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * text.C (rightMargin): remove spurious semicolon
159
160         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
161         1415)
162
163 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
164
165         * text3.C: fix one crash due to wrong cursor def
166
167 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
168
169         * vc-backend.C (scanMaster): make the regex static
170
171         * LaTeX.C (scanAuxFile): make the regexs static
172
173         * text3.C (doInsertInset, dispatch, dispatch):
174         * text2.C (cursorUp, cursorDown):
175         * text.C (selectNextWordToSpellcheck):
176         * BufferView_pimpl.C (dispatch):
177         * lyxfunc.C (dispatch):  localDispatch -> dispatch
178
179 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * lyxsocket.C: include <cerrno>
182
183 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
184
185         * lyxfunc.C (dispatch): remove textcache stuff
186
187         * bufferlist.C (release): remove textcache stuff
188         (closeAll): ditto
189
190         * TextCache.C: delete file
191         * TextCache.h: delete file
192
193         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
194
195         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
196         delete of the bv_->text.
197         (resizeCurrentBuffer): remove texcache stuff
198         (workAreaResize): ditto
199
200 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
201
202         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
203         action.
204
205 2003-10-16  André Pönitz  <poenitz@gmx.net>
206
207         * lyxrow.[Ch]:
208         * paragraph.h:
209         * rowpainter.C:
210         * text.C:
211         * text2.C:
212         * text3.C: speed up by storing y positions per paragraph plus per-row
213         offset instead of having a 'full' y position in the row.
214
215 2003-10-15  André Pönitz  <poenitz@gmx.net>
216
217         * iterators.[Ch]:
218         * iterators.[Ch]:
219         * undo.[Ch]: make undo aware of inner insets
220
221 2003-10-14  Angus Leeming  <leeming@lyx.org>
222
223         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
224         static member functions LyX::ref() and LyX::cref.
225         (lastfiles): new accessor functions for the new lastfiles_ member var.
226         (addLyXView, views_): add a new LyXView to the list of views_.
227         (updateInset): loop over all LyXViews to call their own updateInset
228         member function, returning a pointer to the Buffer owning the inset.
229
230         * BufferView_pimpl.C (loadLyXFile):
231         * MenuBackend.C (expandLastfiles):
232         * bufferlist.C (MenuWrite, QuitLyX):
233         lastfiles is no longer a global variable.
234         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
235
236         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
237         static function. Access through LyX::cref().emergencyCleanup().
238
239 2003-10-14  André Pönitz  <poenitz@gmx.net>
240
241         * iterators.[Ch]: new direct access to innermost LyXText and Inset
242
243         * undo.[Ch]: restoring part of 'undo in insets'
244
245         * Makefile.am:
246         * undo_funcs.[Ch]: merge with undo.[Ch]
247
248         * tabular.C: small cleansing stuff
249
250 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
251
252         * paragraph_funcs.C (readParToken): report unknown insets as error
253         boxes. Use the outer paragraph as location (also for unknown
254         tokens).
255
256         * factory.C (readInset): do not abort on reading an unknown inset.
257         Eat it and return 0.
258
259 2003-10-13  Angus Leeming  <leeming@lyx.org>
260
261         * lyx_main.C (LyX): remove call to setDisplayTranslator().
262
263         * lyxrc.C: displayTranslator is now a function,
264         declared in GraphicsTypes.h.
265
266 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
267
268         * format.C: new placeholder $$a to pass the socket address.
269
270         * bufferlist.[Ch]: new function getBufferFromTmp.
271
272         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
273           files in the temporary dir.
274
275 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
276
277         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
278
279         * Makefile.am: add lyxsocket.[Ch].
280
281         * lyx_main.C (error_handler): handle SIGPIPE.
282
283 2003-10-13  André Pönitz  <poenitz@gmx.net>
284
285         * BufferView_pimpl.C:
286         * lyxtext.h:
287         * text.C:
288         * text2.C:
289         * text3.C:
290         * undo_funcs.[Ch]: use paroffset_type instead of
291           ParagraphList::iterators to prevent multiple conversion
292           (and get a more robust interface)
293
294 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
295
296         * lyxfunc.C (dispatch): RESULT -> dispatch_result
297         * lyxtext.h: ditto
298         * text3.C (dispatch): ditto
299
300 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
301
302         * LaTeX.C (handleFoundFile): move the static to smaller scope,
303         move the onlyfile, use onlyfile instead of foundfile in a couple
304         of places.
305
306         * DepTable.C (update): flush the error stream a bit more
307
308 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
309
310         * lyxserver.C (callback): adjust
311
312         * lyxfunc.C (getStatus): add a missing brace in commented code
313         (ensureBufferClean): reindent
314         (dispatch): delete version taking a string
315
316 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
317
318         * LaTeX.C (deplog): move found file handlig from here...
319         (handleFoundFile): .. to new function here.
320         (deplog): make sure to discover several files mentioned on the
321         same log line.
322
323 2003-10-10  André Pönitz  <poenitz@gmx.net>
324
325         * lyxfunc.C:
326         * lyxtext.h:
327         * tabular.C:
328         * text.C:
329         * text2.C:
330         * text3.C: fix some of the tabular crashes
331
332 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
333
334         * MenuBackend.C (binding): put debug message into Debug::KBMAP
335
336         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
337
338 2003-10-09  André Pönitz  <poenitz@gmx.net>
339
340         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
341
342         * BufferView.C:
343         * BufferView_pimpl.C:
344         * bufferview_funcs.C:
345         * lyx_cb.C:
346         * lyxcursor.C:
347         * lyxfind.C:
348         * lyxfunc.C:
349         * lyxtext.h:
350         * text.C:
351         * text2.C:
352         * text3.C:
353         * text_funcs.[Ch]:
354         * textcursor.[Ch]:
355         * undo_funcs.C: adjust
356
357 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
358
359         * text2.C (incrementItemDepth): new function, use a backtracking
360         algorithm to discover the correct item depth.
361         (resetEnumCounterIfNeeded): new function, use a backtracking
362         algorithm to discover if counter reset is needed.
363         (setCounter): use them. Simplify a bit. Add different labels for
364         different item depths for itemize.
365
366         * paragraph.C (Paragraph): remove initialization of enumdepth
367         (operator=): ditto
368
369         * paragraph.h: get rid of enumdepth, and use itemdepth both for
370         enumerate and itemize. Change the type of itemdepth to signed char.
371
372 2003-10-08  André Pönitz  <poenitz@gmx.net>
373
374         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
375           thing assignable.
376         * text.C:
377         * text2.C: adjust
378
379         * tabular.[Ch]: fix crash after 'row-insert'
380
381 2003-10-08  Angus Leeming  <leeming@lyx.org>
382
383         Fix doxygen warnings.
384
385         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
386         Remove CutAndPaste:: prefix from header file declaration.
387
388         * LColor.h (fill): remove LColor:: prefix from declaration.
389
390         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
391         use lyx::depth_type rather than Paragraph::depth_type so that
392         header file and .C file match.
393
394         * converter.h (intToFormat): remove Converters:: prefix from declaration.
395
396         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
397         * aspell.C: \file aspell_local.C -> \file aspell.C
398         * gettext.C: \file gettext.C -> \file src/gettext.C
399         * gettext.h: \file gettext.h -> \file src/gettext.h
400         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
401         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
402         * text.C: \file text.C -> \file src/text.C
403
404         * toc.C: move comment so that doxygen is not confused.
405
406 2003-10-07  Angus Leeming  <leeming@lyx.org>
407
408         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
409
410 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411
412         * aspell.C:
413         * aspell_local.h: add forgotten std::string's.
414
415 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
416
417         * LaTeXFeatures.C:
418         * LyXAction.C:
419         * factory.C:
420         * lfuns.h:
421         * lyxfunc.C:
422         * text3.C: The Box patch. Fancybox support, minipage, parbox
423
424 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
425
426         * CutAndPaste.h:
427         * DepTable.h:
428         * FloatList.h:
429         * LaTeXFeatures.h:
430         * ParagraphParameters.h:
431         * TextCache.h:
432         * Thesaurus.h:
433         * bufferlist.h:
434         * exporter.h:
435         * importer.h:
436         * lastfiles.h:
437         * lyxfind.h:
438         * lyxfont.h:
439         * lyxlex.h:
440         * lyxtextclasslist.h:
441         * messages.h:
442         * paragraph.h:
443         * paragraph_pimpl.C:
444         * textcursor.h: add <string> and other small fixes to make Lars'
445         std::string patch compile with STLport.
446
447 2003-10-06  Angus Leeming  <leeming@lyx.org>
448
449         * LColor.h: Add missing #include <string>.
450
451 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
452
453         * All most all file in all subdirs: Make <string> be the prefered
454         way of getting to std::string, add using declarations.
455
456 2003-10-06  André Pönitz  <poenitz@gmx.net>
457
458         * metricsinfo.C: initialize LyXFont before changing attribute.
459         (fixes the 'math in \emph is upright' bug)
460
461 2003-10-06  André Pönitz  <poenitz@gmx.net>
462
463         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
464
465 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
466
467         * graph.C:
468         * paragraph_pimpl.C: Small fixes to build using STLport
469
470 2003-10-02  André Pönitz  <poenitz@gmx.net>
471
472         * lyxfunc.C:
473         * text3.C: move handling of LFUN_DEPTH *; fix #1360
474
475 2003-10-01  André Pönitz  <poenitz@gmx.net>
476
477         * factory.C: assert early
478
479 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
480
481         * lyx_main.C: remove the global debug object
482
483         * debug.h: adjust for new debugstream
484
485         * debug.C: adjust for new debugstream and keep the global debug
486         object here.
487
488 2003-09-22  Angus Leeming  <leeming@lyx.org>
489
490         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
491         of g++ which otherwise complain that the scoped_ptr destructor can't delete
492         an incomplete class LyXFont.
493
494 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * factory.C: bug fix in branches
497
498 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
499
500         * lyxfunc.C (processKeySym): adjust
501         (dispatch): adjust
502         (dispatch): change arg name from ev to func, adjust
503         (sendDispatchMessage): ditto
504
505         * lyx_main.C (defaultKeyBindings): adjust keybindings
506         (deadKeyBindings): ditto
507
508         * kbsequence.C (addkey): return a FuncRequest
509
510         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
511
512         * kbmap.C (bind): take a FuncRequest as arg, adjust
513         (read): adjust
514         (lookup): adjust
515         (defkey): change to take a FuncRequest as arg, adjust
516         (findbinding): take a FuncRequest as arg, adjust.
517
518         * funcrequest.h (operator=): added
519
520         * funcrequest.C (FuncRequest): default kb_action changed from
521         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
522
523         * buffer.C (dispatch): simplify
524         (dispatch): adjust to take a FuncRequest as arg, adjust
525
526         * boost.C (assertion_failed): change assertion message slightly
527
528         * ToolbarBackend.C (read): simplify
529
530         * MenuBackend.C (binding): adjust call to findbinding, add a
531         message if no binding is found.
532         (read): simplify
533         (expandToc): correct by adding a empty FuncRequest
534
535         * LyXAction.C: include <boost/assert.hpp>
536         (isPseudoAction): delete function
537         (LookupFunc): change name to...
538         (lookupFunc): this. change return type to FuncRequest.
539         (getActionName): take kb_action as arg, simplify
540         (funcHasFlag): add an assert, simplify.
541
542 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
543
544         * toc.C (action): return a FuncRequest, simplify
545
546         * lyxfunc.C (processKeySym): adjust
547         (getStatus): delete version that takes an int.
548         (getStatus): adjust
549         (dispatch): delete version that takes action as int
550         (dispatch): adjust
551         (sendDispatchMessage): simplify and adjust
552
553         * funcrequest.C (getArg): take unsigned int as arg
554
555         * ToolbarBackend.C (read): adjust
556         (add): delete version that takes func as a string.
557         (getIton): take a FuncRequest as arg
558
559         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
560         action.
561
562         * MenuBackend.C (MenuItem): add a new construct that only takes a
563         Kind, simplify the constructor use for submenus.
564         (add): adjust
565         (expandLastfiles): adjust
566         (expandDocuments): adjust
567         (expandFormats): adjust
568         (expandFloatListInsert): adjust
569         (expandFloatInsert): adjust
570         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
571
572         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
573         Remove class variables lyx_pseudo_map and lyx_arg_map
574
575         * LyXAction.C (searchActionArg): delete function
576         (getPseudoAction): delete function
577         (retrieveActionArg): delete function
578         (LookupFunc): make it return kb_action, simplify.
579         (getActionName): simplify
580
581         * factory.C (createInset): fix new bug
582
583 2003-09-19  Angus Leeming  <leeming@lyx.org>
584
585         * CutAndPaste.C (pasteSelection): remove fudge used to set the
586         masterFilename_ parameter in the include inset.
587
588         * factory.C (createInset): changes due to the changes to InsetInclude.
589
590 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
591
592         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
593
594 2003-09-18  Angus Leeming  <leeming@lyx.org>
595
596         * buffer.C:
597         * BufferView.C: pass the buffer when calling Inset::getLabelList,
598         Inset::fillWithBibKeys.
599         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
600
601 2003-09-18  Angus Leeming  <leeming@lyx.org>
602
603         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
604         variables.
605         (ctor): pass and store a 'Buffer const &'
606         (buffer): new member function.
607
608         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
609         '*this' to the LaTeXFeatures ctor.
610
611 2003-09-18  Angus Leeming  <leeming@lyx.org>
612
613         * LColor.h:
614         * lyxfont.C:
615         * lyxfont.h:
616         * lyxtext.h:
617         * text.C: rename EnumLColor as LColor_color.
618
619 2003-09-18  Angus Leeming  <leeming@lyx.org>
620
621         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
622         remove #include "insets/insetbase.h" from cursor.h.
623
624 2003-09-18  Angus Leeming  <leeming@lyx.org>
625
626         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
627         InsetOld_code to remove #include "inset.h".
628
629         * iterators.C: add #include "insets/inset.h"
630
631 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
632
633         * BufferView.C: remove more locking stuff that apparently doesn't
634         do anything sensible.
635
636 2003-09-16  André Pönitz  <poenitz@gmx.net>
637
638         * paragraph.[Ch]:
639         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
640           performance boost.
641
642 2003-09-16  Angus Leeming  <leeming@lyx.org>
643
644         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
645
646         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
647         arg/return type.
648
649         * paragraph.h: remove #include "lyxfont.h". Forward declare
650         LyXFont_size.
651
652 2003-09-16  Angus Leeming  <leeming@lyx.org>
653
654         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
655         of support/textutils.h.
656         (isWord): move the contents of support/textutils.h's IsWordChar here.
657
658         * buffer.C:
659         * lyxfind.C:
660         * rowpainter.C:
661         * text.C:
662         * text2.C: add #include "paragraph.h".
663
664         * rowpainter.C:
665         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
666
667 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
668
669         * main.C:
670         * lyx_main.C:
671         * lyx_cb.C:
672         * buffer.C:
673         * LaTeX.C: use namespace alias for lyx::support::os
674
675 2003-09-16  Angus Leeming  <leeming@lyx.org>
676
677         * bufferparams.C:
678         * bufferview_funcs.C:
679         * factory.C:
680         * lyxfunc.C:
681         * paragraph_pimpl.C:
682         * rowpainter.C:
683         * text.C: add #include "LColor.h".
684
685 2003-09-16  Angus Leeming  <leeming@lyx.org>
686
687         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
688         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
689         return LyXFont &.
690         Store the FontBits::color variable as an int rather than as an
691         LColor::colorso that we can move LColor.h out of the lyxfont.h header
692         file.
693
694         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
695         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
696         string calls together.
697
698         * lyxrc.C: add #include "LColor.h".
699
700 2003-09-15  Angus Leeming  <leeming@lyx.org>
701
702         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
703         a cow_ptr.
704
705 2003-09-15  Angus Leeming  <leeming@lyx.org>
706
707         * LColor.h: add an EnumLColor wrapper for LColor::color.
708
709         * lyxfont.[Ch] (color, setColor, realColor):
710         * lyxtext.h, text.C (backgroundColor):
711         pass EnumLColor args to/from the functions, rather than LColor::color
712         ones.
713
714         * lyxfont.h:
715         * lyxtext.h: forward declare EnumLColor.
716
717         * lyx_main.C: add #include "LColor.h".
718
719 2003-09-15  Angus Leeming  <leeming@lyx.org>
720
721         * .cvsignore: add lyx-gtk.
722
723 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
724
725         * Chktex.C
726         * LaTeX.C
727         * LaTeXFeatures.C
728         * ParagraphParameters.C
729         * Spacing.C
730         * buffer.C
731         * bufferparams.C
732         * bufferview_funcs.C
733         * chset.C
734         * counters.C
735         * funcrequest.C
736         * lyxfont.C
737         * lyxgluelength.C
738         * lyxlength.C
739         * paragraph.C
740         * paragraph_funcs.C
741         * text3.C
742         * vc-backend.C: remove usage of STRCONV
743
744 2003-09-15  Angus Leeming  <leeming@lyx.org>
745
746         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
747         explicitly define the color passed to the painter.
748
749 2003-09-15  Angus Leeming  <leeming@lyx.org>
750
751         * bufferparams.C (BufferParams): reorder member initializers to avoid
752         compiler warning.
753
754 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
755
756         * CutAndPaste.C (pasteSelection): remove an outdated #warning
757         * text.C (updateRowPositions): remove an unusual nop
758
759 2003-09-12  André Pönitz  <poenitz@gmx.net>
760
761         * BufferView_pimpl.C:
762         * Bullet.C:
763         * layout.h:
764         * lyxfunc.C:
765         * lyxlayout.[Ch]:
766         * lyxtextclass.C:
767         * rowpainter.C:
768         * text.C:
769         * text2.C:
770         * Counters.[Ch]: finish the 'automatic counters' job
771
772 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
773
774         * aspell.C: include <boost/assert.cpp> (compile fix)
775
776 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
777
778         * boost.C (assertion_failed): use lyx::support::abort instead of
779         assert.
780
781 2003-09-10  Angus Leeming  <leeming@lyx.org>
782
783         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
784         with their _fwd progeny.
785
786 2003-09-09  Angus Leeming  <leeming@lyx.org>
787
788         134 files throughtout the source tree: replace 'using namespace abc;'
789         directives with the appropriate 'using abc::xyz;' declarations.
790
791 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
792
793         * boost.C (emergencyCleanup): moved here from LAssert.c
794         (assertion_failed): new function, called by BOOST_ASSERT
795
796         * several files: change Assert to BOOST_ASSERT
797
798 2003-09-09  Angus Leeming  <leeming@lyx.org>
799
800         * buffer.[Ch]: Add an Impl class and move Buffer's member
801         variables into it. As a result move several header files out of
802         buffer.h.
803
804         Add header files to lots of .C files all over the tree as a result.
805
806 2003-09-09  Angus Leeming  <leeming@lyx.org>
807
808         * buffer.[Ch]: make Buffer's member variables private. Add
809         accessor functions.
810
811         Lots of changes all over the tree as a result.
812
813 2003-09-08  Angus Leeming  <leeming@lyx.org>
814
815         * graph.C: #include <config.h>.
816
817 2003-09-08  Angus Leeming  <leeming@lyx.org>
818
819         * BranchList.C:
820         * BufferView.C:
821         * BufferView_pimpl.C:
822         * CutAndPaste.C:
823         * DepTable.C:
824         * LaTeX.C:
825         * LaTeXFeatures.C:
826         * LyXAction.C:
827         * MenuBackend.C:
828         * TextCache.C:
829         * aspell.C:
830         * buffer.C:
831         * bufferlist.C:
832         * changes.C:
833         * chset.C:
834         * converter.C:
835         * counters.C:
836         * debug.C:
837         * graph.C:
838         * ispell.C:
839         * lyx_cb.C:
840         * lyxfind.C:
841         * lyxfunc.C:
842         * lyxlex_pimpl.C:
843         * lyxrc.C:
844         * lyxrow.C:
845         * paragraph.C:
846         * rowpainter.C:
847         * texrow.C:
848         * text.C:
849         * text2.C:
850         * toc.C: remove redundant using directives.
851
852 2003-09-07  Angus Leeming  <leeming@lyx.org>
853
854         * LaTeXFeatures.h: remove #include "support/types.h".
855         * ToolbarBackend.h: remove #include <algorithm>.
856         * changes.h: remove #include <ctime>.
857         * debug.h: remove #include <iosfwd>.
858         * graph.h: remove #include "support/std_string.h".
859         * lyx_main.h: remove #include <csignal>.
860         * lyxlex_pimpl.h: remove #include <fstream>.
861         * sgml.h: remove #include <algorithm>, <utility>.
862         * toc.h: remove #include "support/std_ostream.h".
863         Add #include <iosfwd>.
864
865 2003-09-07  Angus Leeming  <leeming@lyx.org>
866
867         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
868
869         * converter.h: forward declare LatexRunParams.
870         * encoding.h: remove #include "lyxrc.h".
871         * lyxtext.h: remove #include "LColor.h".
872         * lyxtextclass.h: remove #include "support/types.h".
873         * trans.h: remove #include "tex-accent.h".
874         * trans_mgr.h: remove #include "tex-accent.h".
875         * insets/inset.h: remove #include "support/types.h", <vector>.
876         * insets/insetcollapsable.h: remove #include "LColor.h".
877         * insets/insetinclude.h: remove #include "dimension.h".
878         * insets/insetlatexaccent.h: remove #include "dimension.h".
879         * insets/insetoptarg.h:: remove #include "insettext.h".
880         * insets/insettext.h: remove #include "dimension.h",
881         <boost/shared_ptr.hpp>
882
883         * insets/renderers.h: add #include "dimension.h".
884         * insets/updatableinset.h: add #include "support/types.h".
885
886         * many .C files: Associated changes.
887
888 2003-09-06  Angus Leeming  <leeming@lyx.org>
889
890         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
891         one, inside testInvariant.
892
893         * PrinterParams.C: new file.
894         * PrinterParams.[Ch]: move the function bodies out of line.
895
896 2003-09-06  Angus Leeming  <leeming@lyx.org>
897
898         * ParagraphParameters.h: forward declare ParameterStruct rather than
899         including its header file.
900         (depth): moved out-of-line.
901
902 2003-09-06  Angus Leeming  <leeming@lyx.org>
903
904         * BufferView_pimpl.h:
905         * kbmap.h:
906         * kbsequence.h:
907         * lyxfunc.h: forward declare LyXKeySym rather than
908         #include "frontends/LyXKeySym.h".
909
910         * BufferView_pimpl.C:
911         * kbmap.C:
912         * kbsequence.C:
913         * lyxfunc.C: associated changes.
914
915 2003-09-06  Angus Leeming  <leeming@lyx.org>
916
917         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
918         As a result, can remove the #include "insets/inset.h" from BufferView.h
919
920 2003-09-06  Angus Leeming  <leeming@lyx.org>
921
922         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
923         As a result, can remove the #include "insets/inset.h" from BufferView.h
924
925 2003-09-06  Angus Leeming  <leeming@lyx.org>
926
927         * buffer_funcs.C:
928         * buffer.h:
929         * bufferlist.C:
930         * BufferView.C:
931         * bufferview_funcs.C:
932         * BufferView_pimpl.C:
933         * CutAndPaste.C:
934         * lyx_cb.C:
935         * lyxfunc.C:
936         * paragraph.h:
937         * ParagraphParameters.C:
938         * tabular.C:
939         * text3.C:
940         * toc.C:
941         * undo_funcs.C:
942         * frontends/controllers/ControlDocument.C:
943         * insets/insetcaption.C: rearrange the #includes into some sort of
944         coherent order.
945
946         * buffer.h: remove #includes ErrorList.h, undo.h
947
948 2003-09-06  Angus Leeming  <leeming@lyx.org>
949
950         * support/types.h: add a 'depth_type' typedef, used to store the
951         nesting depth of a paragraph.
952
953         * paragraph.h:
954         * ParameterStruct.h: use this lyx::depth_type typedef rather than
955         defining explicitly.
956
957         * buffer.h:
958         * paragraph_funcs.h:
959         * ParagraphParameters.h:
960         * sgml.h: use lyx::depth_type rather than Paragraph or
961         ParameterStruct's depth_type.
962
963         * buffer.h
964         * paragraph_funcs.h: no need to #include paragraph.h anymore.
965
966         * BufferView.C:
967         * BufferView_pimpl.C:
968         * CutAndPaste.C:
969         * ParagraphParameters.C:
970         * buffer_funcs.C:
971         * bufferlist.C:
972         * bufferview_funcs.C:
973         * lyx_cb.C:
974         * lyxfunc.C:
975         * tabular.C:
976         * text3.C:
977         * toc.C:
978         * undo_funcs.C:
979         * frontends/LyXView.C:
980         * frontends/controllers/ControlDocument.C:
981         * frontends/controllers/ControlErrorList.C:
982         * insets/insetbibitem.C:
983         * insets/insetbranch.C:
984         * insets/insetcaption.C:
985         * insets/insetcollapsable.C:
986         * insets/insetenv.C:
987         * insets/insetert.C:
988         * insets/insetfloat.C:
989         * insets/insetfoot.C:
990         * insets/insetfootlike.C:
991         * insets/insetnewline.C:
992         * insets/insetquotes.C:
993         * insets/insettabular.C:
994         * insets/insettext.C:
995         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
996
997         * frontends/controllers/ControlChanges.C: #include "changes.h".
998
999 2003-09-06  Angus Leeming  <leeming@lyx.org>
1000
1001         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1002         than #including paragraph.h.
1003
1004         * ParagraphList.h:
1005         * RowList.h: deleted. Superfluous.
1006
1007         * CutAndPaste.h:
1008         * iterators.h:
1009         * lyxcursor.h:
1010         * lyxtext.h:
1011         * text_funcs.h:
1012         * undo.h:
1013         * undo_funcs.h:
1014         * insets/inset.h:
1015         * insets/insettext.h: use ParagraphList_fwd.h rather than
1016         ParagraphList.h.
1017
1018         * paragraph.h: don't forward declare ParagraphList.
1019
1020         * buffer.h:
1021         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1022         rather than ParagraphList.h. paragraph.h is still needed for the
1023         Paragraph::depth_type parameters.
1024
1025         * textcursor.h: enable it to compile stand-alone in light of the
1026         above changes.
1027
1028         * bufferview_funcs.C:
1029         * iterators.C:
1030         * lyxfunc.C:
1031         * lyxrow_funcs.C:
1032         * paragraph.C:
1033         * rowpainter.C:
1034         * text.C:
1035         * text2.C:
1036         * text3.C:
1037         * text_funcs.C:
1038         * textcursor.C:
1039         * undo.C:
1040         * frontends/controllers/ControlParagraph.C:
1041         * frontends/controllers/ControlTabular.C:
1042         * insets/insetmarginal.C:
1043         * insets/insetminipage.C:
1044         * insets/insetnote.C:
1045         * insets/insetoptarg.C: add header files needed to compile again.
1046
1047 2003-09-06  Angus Leeming  <leeming@lyx.org>
1048
1049         * RowList_fwd.h: new file, forward-declaring Row rather than
1050         #including lyxrow.h.
1051
1052         * lyxrow_funcs.h:
1053         * lyxtext.h:
1054         * paragraph.h:
1055         * insets/insettext.h: use it instead of RowList.h
1056
1057         * bufferview_funcs.C:
1058         * lyxfunc.C:
1059         * lyxrow_funcs.C:
1060         * paragraph.C:
1061         * rowpainter.C:
1062         * text.C:
1063         * text2.C:
1064         * text3.C: #include "RowList.h".
1065
1066 2003-09-05  Angus Leeming  <leeming@lyx.org>
1067
1068         * factory.C (createInset):
1069         * vspace.C (c-tor): replace sscanf call with an istringstream.
1070         * ispell.C: re-add missing HP/UX headers.
1071         * lyxserver.C: re-add missing  os2 headers.
1072
1073 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * BranchList.C:
1076         * graph.C:
1077         * ispell.C:
1078         * lastfiles.C:
1079         * lyx_cb.C:
1080         * lyxserver.C:
1081         * texrow.C:
1082         * text3.C: re-add missing system headers, needed for 2.95.2.
1083
1084 2003-09-05  Angus Leeming  <leeming@lyx.org>
1085
1086         Changes most place everywhere due to the removal of using directives
1087         from support/std_sstream.h.
1088
1089 2003-09-05  Angus Leeming  <leeming@lyx.org>
1090
1091         Replace LString.h with support/std_string.h,
1092         Lsstream.h with support/std_sstream.h,
1093         support/LIstream.h with support/std_istream.h,
1094         support/LOstream.h with support/std_ostream.h.
1095
1096         Changes resulting throughout the tree.
1097
1098 2003-09-05  Angus Leeming  <leeming@lyx.org>
1099
1100         * sgml.h: ensure that the header file can be compiled stand-alone.
1101         * *.C: strip out redundant #includes. (320 in total.)
1102
1103 2003-09-04  Angus Leeming  <leeming@lyx.org>
1104
1105         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1106         here (from getPackages).
1107
1108         * debug.[Ch]: add a new EXTERNAL tag.
1109
1110 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1111
1112         * text2.C (cursorEnd): simplify
1113         (setCursor): adjust
1114         (getColumnNearX): adjust
1115
1116         * text.C (computeBidiTables): adjust
1117         (fill): adjust
1118
1119         * rowpainter.C (paintChars): adjust
1120         (paintSelection): adjust
1121         (paintChangeBar): adjust
1122         (paintText): adjust
1123
1124         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1125         lastPos instead.
1126         (numberOfSeparators): adjust
1127
1128 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1129
1130         * LyXAction.C:
1131         * box.[Ch]:
1132         * lfuns.h:
1133         * lyxfunc.C:
1134         * text3.C: Restricts the mouse click functionality
1135         of insets like bibtex, include, toc and floatlist to the visible
1136         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1137         up the dialogs. Cursor has to be in front of the inset (i.e.
1138         start of row) for this to function.
1139
1140 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1141
1142         * bufferview_funcs.C (currentState): output row information
1143
1144 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1145
1146         * bufferview_funcs.C (currentState): output paragraph position
1147
1148 2003-09-04  Angus Leeming  <leeming@lyx.org>
1149
1150         * FloatList.h: move out #include "Floating.h".
1151         * LaTeX.h: move out #include "DepTable.h".
1152         * LyXAction.h: move out #include "funcrequest.h".
1153         * buffer.h: move out #include "author.h", "iterators.h".
1154         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1155         * lyx_main.h: move out #include "errorlist.h".
1156         * lyxfunc.h: move out #include "FuncStatus.h".
1157         * lyxtext: move out #include "lyxcursor.h".
1158         * paragraph_pimpl.h: move out #include "counters.h".
1159
1160 2003-09-03  Angus Leeming  <leeming@lyx.org>
1161
1162         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1163         preamble_snippets list, enabling us to add snippets to the preamble
1164         only if the snippet was not there already.
1165
1166 2003-09-04  Angus Leeming  <leeming@lyx.org>
1167
1168         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1169
1170 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1173         update
1174
1175 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * BranchList.C: point fix, earlier forgotten
1178
1179 2003-09-02  Angus Leeming  <leeming@lyx.org>
1180
1181         * box.C (contains): renamed from 'contained' after a fantastic
1182         amount of hot air.
1183
1184 2003-09-02  John Levon  <levon@movementarian.org>
1185
1186         * BufferView.C:
1187         * lyxcursor.h:
1188         * lyxcursor.C:
1189         * lyxfunc.C:
1190         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1191
1192 2003-09-02  John Levon  <levon@movementarian.org>
1193
1194         * text2.C: simplification of cursorEnd(), including partial
1195         fix for bug 1376
1196
1197 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1198
1199         * buffer.C (readFile): add a space
1200
1201 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1202
1203         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1204
1205 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1206
1207         * buffer.C (readFile): new function, take a filename and a
1208         ParagraphList::iterator
1209         (readFile): adjust
1210         (readFile): adjust, make it private. don't use setStream, make
1211         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1212         always contain the filename.
1213
1214         * BufferView.C (insertLyXFile): simplify and make it work for
1215         gzipped files.
1216
1217 2003-08-30  John Levon  <levon@movementarian.org>
1218
1219         * Makefile.am: fix dist (from Kayvan)
1220
1221 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1222
1223         * most files: change to use const Buffer refs
1224
1225 2003-08-27  André Pönitz  <poenitz@gmx.net>
1226
1227         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1228         on top of ownerPar().
1229
1230 2003-08-27  John Levon  <levon@movementarian.org>
1231
1232         * funcrequest.C: properly initialise POD members
1233
1234 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1235
1236         * lyxtext.h (top_y): move top_y from here
1237         * text.C:
1238         * text2.C:
1239         * text3.C:
1240         * BufferView.[Ch]:
1241         * BufferView_pimpl.[Ch]: to here
1242         * frontends/screen.C:
1243         * insets/insettabular.C:
1244         * insets/insettext.C: adjust
1245         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1246
1247 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1248
1249         * BufferView.[Ch]:
1250         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1251
1252 2003-08-26  André Pönitz  <poenitz@gmx.net>
1253
1254         * paragraph_func.[Ch] (outerPar): new function
1255
1256         * paragraph.C:
1257         * paragraph_funcs.C:
1258         * paragraph_funcs.h:
1259         * paragraph_pimpl.C:
1260         * text2.C: remove Inset::par_owner
1261
1262 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1263
1264         * lyxrow_funcs.C:
1265         * lyxtext.h:
1266         * text.C:
1267         * text2.C: eliminates the needFullRow/display() stuff
1268         altogether, putting the logic in metrics/draw in the insets.
1269
1270 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1271
1272         * text2.C (redoParagraphInternal, redoParagraphs):
1273         * text.C (redoParagraph): add a call to updateRowPositions at the
1274         end of each 'metrics-like' call. Remove all others.
1275         (getRow): remove the 'y-computing' version.
1276         (getRowNearY): do not compute nor return the real y. Solve the
1277         'y < 0' problem and simplify.
1278
1279 2003-08-22  Angus Leeming  <leeming@lyx.org>
1280
1281         * *.[Ch]: clean-up of licence and author blurbs.
1282         Also move config.h out of a few .h files and into a few .C files.
1283
1284 2003-08-22  André Pönitz  <poenitz@gmx.net>
1285
1286         * lyxrow.[Ch]: add x_ and *fill_ members
1287
1288         * lyxtext.h:
1289         * text.C:
1290         * rowpainter.C:
1291         * text2.C: adjust/remove prepareToPrint() calls
1292
1293 2003-08-22  André Pönitz  <poenitz@gmx.net>
1294
1295         * lyxrow.[Ch]: add  end_ member
1296
1297         * lyxrow_funcs.C: use LyXRow::end_
1298
1299         * lyxtext.h (singleWidth): add LyXFont parameter
1300
1301         * rowpainter.C:
1302         * text2.C: adjust LyXText::singleWidth() calls
1303
1304         * text.C (redoParagraph): simplify row breaking logic
1305
1306
1307 2003-08-19  André Pönitz  <poenitz@gmx.net>
1308
1309         * funcrequest.C: initialize button_ member
1310
1311         * text3.C:
1312         * rowpainter.[Ch]: interface consolidation
1313
1314 2003-08-18  André Pönitz  <poenitz@gmx.net>
1315
1316         * BufferView.C:
1317         * BufferView_pimpl.C:
1318         * lyxfind.C:
1319         * paragraph_funcs.C:
1320         * rowpainter.C:
1321         * text3.C: remove LyXScreen::draw() and fitCursor calls
1322
1323         * BranchList.h: remove spurious semicolons
1324
1325         * MenuBackend.C: fix branchlist related crash
1326
1327 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * BranchList.[Ch]:
1330         * InsetList.[Ch]:
1331         * LColor.[Ch]:
1332         * LyXAction.C:
1333         * Makefile.am:
1334         * MenuBackend.[Ch]:
1335         * bufferparams.[Ch]:
1336         * factory.C:
1337         * lfuns.h:
1338         * lyxfunc.C:
1339         * text3.C: implements the 'branch inset'
1340         idea. This allows the output of various versions of a document
1341         from a single source version, selectively outputing or suppressing
1342         output of parts of the text.
1343         This implementation contains a 'branch list editor' in a separate
1344         tab of the document settings dialog. Branches are user definable
1345         and have a "display colour" to distinguish them on-screen.
1346
1347         ColorHandler was somewhat cleaned up.
1348         (1) make possible a dynamically growing LColor list by allowing
1349         the graphic context cache to grow along (vector);
1350         (2) eliminate an IMHO unnecessary step in colour allocation.
1351
1352 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1353
1354         * BufferView_pimpl.C: compile fix
1355
1356 2003-08-15  André Pönitz  <poenitz@gmx.net>
1357
1358         * rowpainter.C: remove extra metrics calls
1359
1360         * lyxtext.h: merge the two constructors into a single one,
1361           pass reference to owner's par list
1362
1363         * BufferView_pimpl.C:
1364         * text.C:
1365         * text2.C: adjust
1366
1367 2003-08-15  André Pönitz  <poenitz@gmx.net>
1368
1369         * lyxrow_funcs.[Ch]:
1370         * lyxtext.h:
1371         * paragraph.h:
1372         * paragraph_funcs.C:
1373         * rowpainter.C:
1374         * text.C:
1375         * text2.C:
1376         * text3.C:
1377         * text_funcs.C: split LyXText::rowlist_ into individual
1378         Paragraph::rows_ chunks
1379
1380         * BufferView.[Ch]:
1381         * BufferView_pimpl.[Ch]:
1382         * lyxfind.C:
1383         * lyxtext.h:
1384         * text3.C: remove toggleSelection()
1385
1386 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1387
1388         * bufferlist.C: beautify two alerts (shorter text of buttons)
1389         * buffer.C: Remove redundant ' ' from message
1390         * tabular.h:
1391         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1392         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1393         rename VALIGN_CENTER to VALIGN_MIDDLE
1394
1395 2003-08-11  André Pönitz  <poenitz@gmx.net>
1396
1397         * lyxtext.h (getPar):
1398         * text.C: new function
1399
1400 2003-08-11  André Pönitz  <poenitz@gmx.net>
1401
1402         * Makefile.am:
1403         * tracer.[Ch]: remove unneeded files
1404
1405         * InsetList.[Ch]: remove resizeInsetsLyXText()
1406
1407         * lyxtext.h:
1408         * text.C:
1409         * text2.C:
1410         * text3.C: merge insertParagraphs() and appendParagraph()
1411         remove breakAgain(), update()
1412
1413         * BufferView_pimpl.[Ch]:
1414         * bufferview_funcs.[Ch]:
1415         * lyxfunc.C:
1416         * paragraph.[Ch]:
1417         * rowpainter.C:
1418         * tabular.C: adjust after text & InsetList changes.
1419
1420 2003-08-08  André Pönitz  <poenitz@gmx.net>
1421
1422         * text.C (insertChar, backspace): replace rowlist fiddling
1423         with rebreak of full par
1424
1425         * lyxtext.h:
1426         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1427         checkParagraph, updateInset): removed
1428
1429 2003-08-07  André Pönitz  <poenitz@gmx.net>
1430
1431         * paragraph.C:
1432         * text3.C: merge some LFUN handlers, remove dead code
1433
1434 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1437
1438 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1439
1440         * text2.C (DEPM): fix part of bug 1255 and 1256
1441
1442 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * BufferView_pimpl.C (workAreaDispatch): change to use
1445         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1446         that are no mouse related.
1447
1448 2003-08-05  André Pönitz  <poenitz@gmx.net>
1449
1450         * BufferView.[Ch]:
1451         * BufferView_pimpl.[Ch]:
1452         * bufferview_funcs.C:
1453         * text2.C:
1454         * text3.C: rip out "deep update"
1455
1456         * textcursor.[Ch] (last_sel_cursor): remove unused member
1457
1458 2003-08-04  André Pönitz  <poenitz@gmx.net>
1459
1460         * BufferView.[Ch]:
1461         * BufferView_pimpl.[Ch]:
1462         * ParagraphParameters.C:
1463         * bufferview_funcs.C:
1464         * lyx_cb.C:
1465         * lyxfind.C:
1466         * lyxfunc.C:
1467         * text.C:
1468         * text2.C:
1469         * text3.C: replace "complicated" BufferView::update(...) calls with
1470         simpler ones.
1471
1472         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1473
1474 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1475
1476         * Makefile.am (lyx_SOURCES): add paper.h
1477
1478 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1479
1480         * Makefile.am: move things around so that both lyx-qt and
1481         lyx-xforms can be built (according to --with-frontend). Then lyx
1482         is a symbolic link to lyx-[firstfrontend]
1483
1484 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1485
1486         * Always use std::endl with lyxerr
1487
1488 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1489
1490         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1491
1492 2003-08-01  André Pönitz  <poenitz@gmx.net>
1493
1494         * BufferView.[Ch]:
1495         * BufferView_pimpl.[Ch]:
1496         * lyxfunc.C:
1497         * text3.C: merge BufferView::repaint() and BufferView::update()
1498
1499 2003-08-01  José Matos  <jamatos@lyx.org>
1500
1501         * buffer.[Ch]: file_format is no longer a buffer data element.
1502
1503 2003-08-01  André Pönitz  <poenitz@gmx.net>
1504
1505         * BufferView.C:
1506         * lyxtext.h:
1507         * text.C:
1508         * text2.C: make redoParagraph more independent of current cursor
1509
1510         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1511         * text.C:
1512         * text2.C: remove unneeded members
1513
1514 2003-07-30  André Pönitz  <poenitz@gmx.net>
1515
1516         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1517
1518         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1519           create a single function...
1520
1521         * paragraph_funcs.C (moveItem): ... here.
1522
1523         * text.C:
1524           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1525
1526 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1527
1528         * LColor.[Ch]: Add comment and greyedout logical colors.
1529
1530 2003-07-30  André Pönitz  <poenitz@gmx.net>
1531
1532         * tabular.C: don't use Assert too heavily. This crashes where it
1533           shouldn't
1534
1535 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1536
1537         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1538         is disabled (bug 1232)
1539
1540 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1541
1542         * factory.C: limited 'arg' scope
1543
1544 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1545
1546         * factory.C: fixed Note submenu issues
1547
1548 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1549
1550         * factory.C: submenu for Note/Comment/Greyedout
1551
1552 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1553
1554         * lyx_main.C (LyX):
1555         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1556
1557 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1558
1559         * LaTeXFeatures.C:
1560         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1561         greyedout. Patch provided by Jürgen Spitzmüller.
1562
1563 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1564
1565         * kbmap.C (read): fix error message when reading bind files
1566
1567 2003-07-29  Angus Leeming  <leeming@lyx.org>
1568
1569         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1570         certainly does not do what it purports to do. I am doing it, and
1571         us, a favour by killing it.
1572
1573 2003-07-28  José Matos  <jamatos@lyx.org>
1574
1575         * buffer.C (readBody, do_writeFile):
1576         * paragraph.C(readParagraph): \end_document replaces \the_end.
1577
1578 2003-07-29  André Pönitz  <poenitz@gmx.net>
1579
1580         * BufferView.[Ch]:
1581         * BufferView_pimpl.[Ch]:
1582         * lyxfunc.C:
1583         * text2.C:
1584         * text3.C:
1585         * textcursor.[Ch]: remove toggleToggle & Co
1586
1587 2003-07-28  José Matos  <jamatos@fep.up.pt>
1588
1589         * buffer.C (readParagraph):
1590         * params_func (readParToken, readParagraph):
1591         * paragraph.C (write): \layout -> \begin_layout.
1592
1593 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1594
1595         * lyxlex_pimpl.C (setFile): clean up slightly.
1596
1597         * bufferparams.h: add compressed var
1598
1599         * buffer_funcs.C (readFile): adjust for LyXLex change
1600         (newFile): ditto + simplify
1601
1602         * buffer.C (writeFile): handle writing of compressed files
1603
1604         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1605         Check if the file is compressed and set a bufferparm if so.
1606
1607         * Makefile.am (lyx_LDADD): remove explicit -lz
1608
1609 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1612         makeDocBookFile): put the real LyX version in the first line of
1613         the file
1614
1615         * version.h:
1616         * version.C.in: remove lyx_docversion
1617
1618         * tabular.C (write_attribute): add a template-based version to
1619         write enums properly
1620
1621 2003-07-28  André Pönitz  <poenitz@gmx.net>
1622
1623         * lyxtext.h:
1624         * text.C:
1625         * text2.C:
1626         * text3.C: use doubles again for x-coordinates. They are needed.
1627
1628 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1629
1630         * messages.C (getLocaleDir): use lyx_localedir()
1631
1632         * lyxlex_pimpl.C (setFile): compress stuff
1633
1634         * buffer.C (writeFile): add some compression stuff
1635         (do_writeFile): new func, dont call expliti close... will this
1636         breake anything?
1637
1638         * Makefile.am (lyx_LDADD): add -lz
1639
1640 2003-07-28  José Matos  <jamatos@fep.up.pt>
1641
1642         * buffer.C: increment file format.
1643         * paragraph_funcs (readParagraph, readParToken):
1644         * paragraph.C (readParagraph): add \end_layout.
1645
1646 2003-07-27  Angus Leeming  <leeming@lyx.org>
1647
1648         * Makefile.am: remove special casing for configure-time setting of
1649         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1650
1651         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1652         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1653
1654 2003-07-26  André Pönitz  <poenitz@gmx.net>
1655
1656         * paragraph_func.[Ch]:
1657         * paragraph.C (realizeFont): inline it whereever it is used
1658
1659         * rowpainter.C:
1660         * text.C:
1661         * text2.C:
1662         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1663
1664
1665 2003-07-26  André Pönitz  <poenitz@gmx.net>
1666
1667         *       lyxtext.h:
1668         * text.C:
1669         * text2.C: get rid of LyXText::need_break_row
1670
1671 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1672
1673         * toc.[Ch]: put namespace toc inside namespace lyx
1674
1675         * MenuBackend.C (expandToc2): adjust for lyx::toc
1676         (expandToc): ditto
1677
1678         * lyxfunc.C (dispatch): adjust for lyx::find
1679
1680         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1681         lyx::find instead. Reorganize a bit.
1682         (LyXReplace): rename to replace
1683         (LyXFind): rename to find
1684
1685         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1686         (dispatch): ditto
1687
1688 2003-07-26  André Pönitz  <poenitz@gmx.net>
1689
1690         * text.C (setHeightOfRow): restrict scope of temporary variable
1691
1692         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1693           code (never has been used?)
1694
1695 2003-07-27  Asger Alstrup  <alstrup@local>
1696
1697         * text.C (fill): Optimise algorithm to exploit that we can reuse
1698         the LyXFont for many characters.
1699         (setHeightOfRow): Same thing.
1700         (rowBreakPoint): Same thing.
1701
1702 2003-07-26  Asger Alstrup  <alstrup@local>
1703
1704         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1705
1706         * text.C (singleWidth): Spurious font copying in hot-spot
1707         singleWidth avoided. Reorder tests for arabic for efficiency.
1708
1709         * text.C (fill): handle empty paragraphs better.
1710
1711 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * ispell.C:
1714         * encoding.h: add includes
1715
1716         * lyxrc.C: remove reading of bind files
1717
1718         * lyx_main.C (init): setup bindings and menus only if we have a
1719         gui.
1720
1721         * kbmap.C (read): new method. Do the actual reading of bind
1722         files.
1723
1724         * converter.C (dvipdfm_options):
1725         * bufferparams.C:
1726         * lyxrc.C (read):
1727         (output): adapt PAPER_* enums.
1728
1729         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1730
1731         * bufferparams.h: remove paper-related enums from there
1732
1733         * paper.h: New file. A trivial header file to hold paper-related
1734         enums. It should later expand to contain many paper-related
1735         horrors access.
1736
1737         * lyxrc.C: declare extern displayTranslator
1738
1739 2003-07-27  José Matos  <jamatos@fep.up.pt>
1740
1741         * tabular.[Ch] (linuxdoc): add support for tables and figures
1742         (linuxdoc).
1743
1744 2003-07-27  José Matos  <jamatos@fep.up.pt>
1745
1746         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1747         consistency in both functions.
1748         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1749
1750 2003-07-26  Asger Alstrup  <alstrup@local>
1751
1752         * rowpainter.C (paintRows): Change algorithm to work directly on
1753         the insets rather than asking every character in the document
1754         whether its an inset.
1755
1756 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1757
1758         * buffer.C (openFileWrite): factorize some code
1759
1760 2003-07-26  Angus Leeming  <leeming@lyx.org>
1761
1762         * lyx_cb.C:
1763         * lyx_main.[Ch]: replace occurances of system_tempdir with
1764         os::getTmpDir().
1765
1766 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1767
1768         * rename Inset to InsetOld
1769
1770 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1771
1772         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1773         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1774         which I think is a bit clearer. EDIT is gone, since it was
1775         premature optimisation, and broken for mathed anyway.
1776         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1777         with cursor positioning in insets as well (math insets still do not
1778         work, but that's a different story anyway.) It mysteriously
1779         crashes sometimes with undo in the first paragraph, but I'm fairly
1780         confident that this is a compiler bug.
1781
1782 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1783
1784         * paragraph.C (Paragraph): adjust for new clone return type
1785         (operator==): ditto
1786         (copyIntoMinibuffer): ditto
1787
1788 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1789
1790         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1791         by not having a special case, and always doing a full rebreak of
1792         the document after undo.
1793
1794 2003-07-23  Angus Leeming  <leeming@lyx.org>
1795
1796         * factory.C (createInset): InsetExternal::setParams now takes a
1797         Buffer const * arg.
1798
1799 2003-07-23  Angus Leeming  <leeming@lyx.org>
1800
1801         * factory.C (createInset): changed interface to the external and
1802         graphics mailers' string2params functions.
1803
1804 2003-07-23  Angus Leeming  <leeming@lyx.org>
1805
1806         * factory.C (createInset): pass a
1807         Buffer const * parameter to InsetExternalMailer's string2params.
1808
1809 2003-07-22  John Levon  <levon@movementarian.org>
1810
1811         * Thesaurus.h: include the right aiksaurus header
1812
1813 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * MenuBackend.C (expand): check menu shortcuts unconditionally
1816
1817 2003-07-21  Angus Leeming  <leeming@lyx.org>
1818
1819         * factory.C (createInset): pass a
1820         buffer_path parameter to InsetGraphicsMailer's string2params.
1821
1822 2003-07-21  Angus Leeming  <leeming@lyx.org>
1823
1824         * BufferView_pimpl.C (buffer):
1825         * buffer.C (d-tor):
1826         * lyx_main.C (LyX):
1827         * lyxfunc.C (dispatch):
1828         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1829         rather than the grfx shortcut.
1830
1831 2003-07-21  André Pönitz  <poenitz@gmx.net>
1832
1833         * rowpainter.C: remove unused variables
1834
1835         * tabular_funcs.C:
1836         * tabular_funcs.h: move to tabular.C
1837         * Makefile.am: adjust
1838
1839         * tabular.[Ch]: basic optical cleaning
1840
1841         * author.h: pass references, not values
1842
1843 2003-07-18  André Pönitz  <poenitz@gmx.net>
1844
1845         * lyxtext.h:
1846         * metricsinfo.C:
1847         * metricsinfo.h:
1848         * rowpainter.C:
1849         * text.C:
1850         * text2.C:
1851         * text3.C: two-phase drawing for InsetText and InsetTabular
1852         some float -> int changes.
1853
1854 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1855
1856         * lyx_main.C: fix the fix
1857
1858 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * lyx_main.C: fix a crash in batch mode if no files specified
1861         * converter.C: ws
1862
1863 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1864
1865         * format.[Ch] (papersize): moved to BufferParams
1866         * converter.[Ch] (dvips_options): moved to BufferParams
1867         (dvipdfm_options): moved to anon namespace
1868         * bufferparams.[Ch]: added above functions.
1869
1870 2003-07-17  André Pönitz  <poenitz@gmx.net>
1871
1872         * lyxtext.h:
1873         * rowpainter.C:
1874         * text2.C: don't call inset->update() anymore
1875
1876         * metricsinfo.[Ch]: add convenience constructor
1877
1878 2003-07-16  André Pönitz  <poenitz@gmx.net>
1879
1880         * lyxcursor.[Ch]:
1881         * lyxfunc.[Ch]:
1882         * text.C:
1883         * text2.C: replace the LyXCursor::irow_ member with
1884          on-demand computation of the value
1885
1886 2003-07-16  John Levon  <levon@movementarian.org>
1887
1888         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1889
1890 2003-07-15  André Pönitz  <poenitz@gmx.net>
1891
1892         * text.C:
1893         * text2.C: remove no more needed refresh_row
1894
1895 2003-07-15  André Pönitz  <poenitz@gmx.net>
1896
1897         * lyxtext.h:
1898         * rowpainter.C:
1899         * text2.C:
1900         * text3.C: refresh_status tristate -> need_update bool
1901
1902 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1903
1904         * lyxtext.h (init): remove reinit argument (act as if always true)
1905         * text2.C: adjust to that
1906
1907 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1908
1909         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1910         * text3.C: use it to delete selections in some cases
1911         (bugs 441, 673, 702, 954).
1912
1913 2003-07-14  André Pönitz  <poenitz@gmx.net>
1914
1915         * rowpainter.[Ch]: reduce interface
1916
1917 2003-07-14  André Pönitz  <poenitz@gmx.net>
1918
1919         * BufferView_pimpl.C:
1920         * text2.C: adjust after removing unused BufferView * argument
1921
1922 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1923
1924         * text2.C (init): fix a crash fired on resize
1925
1926 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1927
1928         * buffer.[Ch]: added new closing signal
1929         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1930         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1931         BufferView::Pimpl via the closing the signal
1932
1933 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1934
1935         * buffer.[Ch]: take out all bv-related from buffer
1936         * BufferView.C:
1937         * BufferView_pimpl.[Ch]: connect to new signals
1938         * CutAndPaste.C: removed useless asserts
1939         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1940         * lyxvc.[Ch]:
1941         * vc-backend.[Ch]:
1942         * lyxfunc.C: moved view-related funciontality from vc here
1943         * paragraph.C: removed outdated comments
1944         * text.C: ws
1945
1946 2003-07-10  André Pönitz  <poenitz@gmx.net>
1947
1948         * BufferView_pimpl.C:
1949         * tabular.h:
1950         * tabular_funcs.C:
1951         * text.C:
1952         * text2.C: remove InsetText::InnerCache, clean up consequences
1953
1954 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1955
1956         * ispell.C: fix two typos in error messages
1957
1958 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1959
1960         * Extend Note inset to other forms of annotation like Comment
1961         and Greyedout. Right button click gives dialog.
1962
1963         Files modified or added (+):
1964
1965         * insetnote.[Ch]
1966         * FormNote.[Ch]      +
1967         * ControlNote.[Ch]   +
1968         * form_note.fd       +
1969         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1970         frontends/controllers
1971         * xforms/Dialogs.C
1972         * factory.C
1973
1974 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1975
1976         * aspell.C: add missing namespace lyx::support
1977
1978 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1979
1980         * BufferView.[Ch] (newFile): Add
1981         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1982         * LaTeX.[Ch] (message): added this signal and use it
1983         * buffer.[Ch] (busy, message): added these signals and use them
1984         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1985         * converter.C:
1986         * exporter.C:
1987         * format.C:
1988         * importer.C: use buffer signals instead of direct bv calling
1989         * lyx_cb.[Ch] (ShowMessage): removed
1990         * lyx_main.C:
1991         * lyxfunc.C:
1992         * paragraph_funcs.C:
1993         * text2.C: use buffer signals
1994
1995 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1996
1997         * introduce namespace lyx::graphics
1998
1999 2003-07-02  André Pönitz  <poenitz@gmx.net>
2000
2001         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2002
2003 2003-07-01  André Pönitz  <poenitz@gmx.net>
2004
2005         * text.C:
2006         * text2.C:
2007         * text3.C:
2008         * text_funcs.[Ch]:
2009         * textcursor.h:
2010         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2011           text*.C to text_func.C
2012
2013 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2014
2015         * introduce namespace lyx::support
2016
2017 2003-06-30  André Pönitz  <poenitz@gmx.net>
2018
2019         * Chktex.C:
2020         * funcrequest.C:
2021         * lyxtext.h:
2022         * text.C: re-enable --with-included-string
2023
2024 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2025
2026         * textcursor.C: add <config.h>
2027
2028         * text.C (getWord): remove const from word_location arg
2029
2030         * lyxvc.C (getLogFile): fix const type order
2031
2032         * lyxtext.h: remove const from word_location arg, add arg name
2033
2034         * lyxlayout.h: currect type on labeltype.
2035
2036         * importer.C: correct \file
2037
2038         * converter.C (intToFormat): use std:: on ret val, ws changes
2039
2040         * bufferlist.h: correct \file
2041
2042         * buffer.C (makeLinuxDocFile): fix const type order
2043         (makeDocBookFile): ditto
2044         (fillWithBibKeys): use std:: on stdlib args.
2045
2046         * CutAndPaste.C: fix authors.
2047         (availableSelections): use std:: on return vector
2048
2049 2003-06-27  André Pönitz  <poenitz@gmx.net>
2050
2051         * BufferView_pimpl.C:
2052         * bufferview_funcs.C:
2053         * lyxcursor.C:
2054         * lyxcursor.h:
2055         * lyxfunc.C:
2056         * lyxtext.h:
2057         * rowpainter.C:
2058         * text.C:
2059         * text2.C:
2060         * text3.C: remove LyXCursor::row_ member
2061
2062         * lyxtext.h:
2063         * text.C: rename fullRebreak() to partialRebreak() and implement
2064           a fullRebreak() that really bereks fully
2065
2066         * textcursor.h: new struct for cursor-related data
2067
2068 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * lyx_main.C (LyX): get full path of document loaded on the
2071         command line
2072
2073 2003-06-26  André Pönitz  <poenitz@gmx.net>
2074
2075         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2076           remove unused/broken operator>,<,>=.
2077
2078         *       text.C: remove only use of broken operator<= in an Assert().
2079
2080 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2083         moved errorlist_.clear to showErrorList
2084
2085 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * converter.C (scanLog, runLaTeX):
2088         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2089         move the bv->showErrorList call to the callers
2090         * lyxfunc.C: i.e. here...
2091         * text2.C: and here
2092         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2093         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2094         namespace, the second to...
2095         * buffer_funcs (BufferFormat, parseErrors): added
2096         * errorlist.C (ErrorList(TeXErrors const &)): removed
2097
2098 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2099
2100         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2101
2102 2003-06-24  "Garst R. Reese" <reese@isn.net>
2103
2104         * debug.C: fix typo
2105
2106 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2109
2110         * version.C.in: change docversion to 1.4
2111
2112 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2113
2114         * buffer.C: fix a bug just introduced
2115
2116 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2117
2118         * buffer.[Ch]: added the parseError signal and use it, removed
2119         sgmlError
2120         * BufferView.[Ch] (addError): moved to ...
2121         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2122         to the Buffer::parseError signal to catch (guess what) parse errors
2123         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2124
2125 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2126
2127         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2128         ability to create a buffer and to return an existing one from
2129         the list. Moved these functions to...
2130         * buffer_funcs.[Ch]: added
2131         * BufferView.[Ch] (loadLyXFile): added
2132         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2133         job removed from bufferlist::loadLyXFile.
2134         * buffer.C (setReadOnly): make it work without view
2135         (i.e added an if (users))
2136
2137 2003-06-19  Angus Leeming  <leeming@lyx.org>
2138
2139         * lfuns.h:
2140         * LyXAction.C (init):
2141         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2142         with LFUN_DIALOG_SHOW <name> <data>.
2143
2144 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * CutAndPaste.C (availableSelections): small compilation fix for
2147         ancient (gcc 2.9x) compilers
2148
2149 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2150
2151         * text3.C (cursorNext): add tmp var
2152
2153         * text2.C (updateCounters): for function calling out of for clause
2154         (replaceSelectionWithString): ditto
2155         (insertStringAsParagraphs): ditto
2156         (getColumnNearX): add tmp var
2157         (setCursorFromCoordinates): add tmp var
2158         (cursorDownParagraph): add tmp var
2159         (deleteEmptyParagraphMechanism): add tmp var
2160
2161         * text.C (insertChar): add tmp var
2162
2163         * rowpainter.C (paintDepthBar): add tmp var
2164
2165         * CutAndPaste.C (availableSelections): potentially check all
2166         paragraphs in a cut to fill the shown strings.
2167
2168 2003-06-18  André Pönitz  <poenitz@gmx.net>
2169
2170         * kbmap.[Ch]: use vector<> instead of list<>
2171
2172 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2173
2174         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2175         pasteSelection with index
2176
2177         * text2.C (pasteSelection): modify, call pasteSelection with index
2178
2179         * paragraph.C (asString): reimplement version with no interval to
2180         call the one with interval.
2181
2182         * lyxtext.h: add index arg to pasteSelection
2183
2184         * MenuBackend.C (MenuItem): handle PasteRecent
2185         (Menu::read::Menutags): add md_pasterecent
2186         (read): handle it
2187         (expandPasteRecent): new function
2188         (expand): use it
2189
2190         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2191
2192         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2193         the limited stack
2194         (availableSelections): new function
2195
2196 2003-06-17  Angus Leeming  <leeming@lyx.org>
2197
2198         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2199
2200 2003-06-17  Angus Leeming  <leeming@lyx.org>
2201
2202         * lfuns.h:
2203         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2204
2205         * lyxfunc.C (dispatch): invoke it.
2206
2207 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * iterators.C (operator++, ParPosition): reintroduce some
2210         const_cast for the benefit of older compilers.
2211
2212 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * text3.C (dispatch): do not modify clipboard when doing
2215         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2216         LFUN_DELETE_SKIP on a selection selection
2217
2218 2003-06-16  André Pönitz  <poenitz@gmx.net>
2219
2220         * BufferView.C:
2221         * buffer.C:
2222         * buffer.h:
2223         * paragraph.C:
2224         * tabular.[Ch]: IU of clone() and getLabelList();
2225
2226 2003-06-13  André Pönitz  <poenitz@gmx.net>
2227
2228         * tabular.h: compactification
2229
2230 2003-06-12  André Pönitz  <poenitz@gmx.net>
2231
2232         * tabular.C:
2233         * tabular.h:
2234         * tabular_funcs.h: some renaming plus whitespace
2235
2236 2003-06-12  André Pönitz  <poenitz@gmx.net>
2237
2238         * BufferView.C:
2239         * BufferView_pimpl.C:
2240         * CutAndPaste.C:
2241         * buffer.C:
2242         * iterators.[Ch]:
2243         * lyxfunc.C:
2244         * text.C:
2245         * toc.C: Return a Paragraph & for ParIterator::operator*()
2246
2247 2003-06-11  John Levon  <levon@movementarian.org>
2248
2249         * lyx_main.C:
2250         * ToolbarBackend.h:
2251         * ToolbarBackend.C: add "Toolbars" section and
2252         put the flags there
2253
2254 2003-06-10  Angus Leeming  <leeming@lyx.org>
2255
2256         * lfuns.h:
2257         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2258
2259         * lyxfunc.C (dispatch): invoke it.
2260
2261 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * main.C: protect <ios> with HAVE_IOS
2264         (main): protect sync_with_stdio with HAVE_IOS
2265
2266 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2267
2268         * text2.C (cutSelection): adjust
2269         (pasteSelection): adjust
2270
2271         * messages.C: handle get of empty string
2272
2273         * main.C (main): use sync_with_stdio(false)
2274
2275         * lyxfunc.C (dispatch): adjust
2276
2277         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2278         (WriteAs): remove unneeded BufferView arg.
2279
2280         * bufferparams.h: use correct types on papersize, papersize2 and
2281         paperpackage.
2282
2283         * bufferparams.C (readToken): adjust for type
2284         (writeLaTeX): add missing cases to switch.
2285
2286         * bufferlist.C (quitWriteBuffer): adjust
2287         (close): adjust
2288
2289         * buffer.C (asciiParagraph): remove some commented code.
2290
2291         * CutAndPaste.C: remove current_view extern variable.
2292         (cutSelection): add BufferParams arg.
2293         (eraseSelection): add BufferParams arg.
2294         (pasteSelection): add Buffer const & arg
2295
2296 2003-06-07  John Levon  <levon@movementarian.org>
2297
2298         * buffer.C:
2299         * paragraph_funcs.C:
2300         * paragraph_pimpl.C:
2301         * text.C:
2302         * text2.C:
2303         * paragraph.h:
2304         * paragraph.C: allow InsetERT to freely space lines,
2305         and some consolidation of code
2306
2307 2003-06-06  José Matos  <jamatos@fep.up.pt>
2308
2309         * buffer.C (makeDocBookFile): fix bug #821
2310
2311 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2312
2313         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2314
2315 2003-06-04  Angus Leeming  <leeming@lyx.org>
2316
2317         * buffer.C: bump format to 224.
2318
2319 2003-06-05  André Pönitz  <poenitz@gmx.net>
2320
2321         * text2.C (redoParagraphs): remove two const_cast<>
2322
2323 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2324
2325         * ParagraphList.h: remove last remnants of NO_STD_LIST
2326
2327 2003-06-03  Angus Leeming  <leeming@lyx.org>
2328
2329         * factory.C (createInset): small change to the way InsetExternal's params
2330         are set.
2331
2332 2003-06-04  André Pönitz  <poenitz@gmx.net>
2333
2334         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2335
2336         * paragraph_pimpl.h:
2337         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2338
2339         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2340
2341         * undo_funcs.C: make some simple cases of undo work again
2342
2343 2003-06-03  John Levon  <levon@movementarian.org>
2344
2345         * ispell.C: HPUX doesn't have sys/select.h
2346         (from Albert Chin)
2347
2348 2003-06-03  John Levon  <levon@movementarian.org>
2349
2350         * CutAndPaste.C: update tabular and include inset
2351         buffer references
2352
2353         * buffer.h:
2354         * paragraph.h:
2355         * paragraph.C: remove owningBuffer(), don't pass Buffer
2356         to clone()
2357
2358         * factory.C: insetGraphicsParams changed
2359
2360 2003-06-02  John Levon  <levon@movementarian.org>
2361
2362         * LyXAction.C:
2363         * factory.C:
2364         * lfuns.h:
2365         * lyxfunc.C:
2366         * text3.C: remove insetparent
2367
2368 2003-06-02  John Levon  <levon@movementarian.org>
2369
2370         * buffer.h:
2371         * buffer.C: fix inset_iterator.end(), move out of line
2372         (bug 1149)
2373
2374 2003-06-01  John Levon  <levon@movementarian.org>
2375
2376         * text3.C: use a proper cut/paste when doing inset
2377         insert (from Jürgen Spitzmüller)
2378
2379 2003-06-01  John Levon  <levon@movementarian.org>
2380
2381         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2382
2383 2003-05-30  André Pönitz  <poenitz@gmx.net>
2384
2385         * rowpainter.C: unify second drawing phase
2386
2387 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2388
2389         * trans_mgr.C: remove one case of current_view
2390
2391         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2392
2393         * paragraph_funcs.h: remove paragraph.h include
2394
2395         * paragraph.h: delete NO_STD_LIST stuff
2396
2397         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2398
2399         * buffer.h: remove paragraph.h include
2400
2401         * ParagraphList.C: delete file
2402
2403         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2404
2405         * toc.C (getTocList): adjust
2406
2407         * paragraph_pimpl.C (validate): adjust
2408
2409         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2410
2411         * paragraph.C (Paragraph): adjust
2412         (getPositionOfInset): use const_iterator, adjust
2413         (bibitem): use const_iterator, adjust
2414         (setInsetOwner): adjust
2415
2416         * iterators.C (operator++): adjust
2417
2418         * InsetList.[Ch]: Replace selfmade iterator with standard
2419         vector::iterator also introduce const_iterator. Remove getPos,
2420         getInset and setInset from InsetTable. Adjust accordingly.
2421
2422         * BufferView.C (lockInset): adjust
2423         (ChangeInsets): adjust
2424
2425         * tabular.[Ch]: delete commented same_id functions
2426
2427 2003-05-28  John Levon  <levon@movementarian.org>
2428
2429         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2430
2431 2003-05-28  André Pönitz  <poenitz@gmx.net>
2432
2433         * metricsinfo.[Ch]: remove 'fullredraw' member
2434
2435 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2436
2437         * lyxtextclass.C (operator): remove caching.
2438
2439 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2440
2441         * text3.C: adjust
2442
2443         * text2.C (cursorBottom): adjust
2444         (setCounter): use ParagraphList::find, adjust
2445
2446         * text.C (workWidth): use ParagraphList::find, adjust
2447
2448         * lyxcursor.C (LyXCursor): adjust
2449
2450         * buffer.C (inset_iterator): adjust
2451
2452         * ParagraphList.h: make iterator(value_type) private, make
2453         ParagraphList a friend of iterator.
2454
2455         * ParagraphList.C (find): new function
2456
2457         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2458
2459 2003-05-27  André Pönitz  <poenitz@gmx.net>
2460
2461         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2462
2463 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2466
2467 2003-05-26  John Levon  <levon@movementarian.org>
2468
2469         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2470
2471 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * remove same_id from function signatures, adjust.
2474
2475 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2476
2477         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2478
2479         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2480
2481         * paragraph.C (Paragraph): get rid of same_ids parameter
2482
2483         * ParagraphList.C (insert): adjust
2484         (push_back): adjust
2485
2486 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2487
2488         * paragraph_funcs.C (breakParagraph): adjust
2489         (breakParagraphConservative): adjust
2490
2491         * buffer.C (readParagraph): adjust
2492
2493         * ParagraphList.C (insert): take a reference instead of a pointer
2494         (insert): adjust
2495
2496         * paragraph.[Ch] (id): new function
2497
2498         * bufferlist.C (newFile): adjust
2499
2500         * ParagraphList.C (ParagraphList): adjust
2501         (assign): adjust
2502         (push_back): take a reference instead of a pointer.
2503
2504         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2505
2506         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2507         instead.
2508
2509         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2510         set else use old code.
2511
2512         * ParagraphList.C: remove all NO_NEXT code and only compile this
2513         code of NO_STD_LIST is set.
2514
2515 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * BufferView_pimpl.C:
2518         * TextCache.C:
2519         * TextCache.h:
2520         * bufferlist.C:
2521         * errorlist.h:
2522         * format.C:
2523         * format.h:
2524         * graph.C:
2525         * lyxfunc.C:
2526         * lyxrc.C:
2527         * graphics/GraphicsConverter.C:
2528         * graphics/PreviewLoader.C: header adjustment
2529
2530 2003-05-23  Angus Leeming  <leeming@lyx.org>
2531
2532         * LaTeXFeatures.[Ch] (useBabel): new method.
2533         * bufferparams.C (writeLaTeX): use it.
2534
2535 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * ParagraphList.h (set): remove unused function.
2538
2539 2003-05-23  André Pönitz  <poenitz@gmx.net>
2540
2541         * BufferView.C:
2542         * BufferView_pimpl.C:
2543         * buffer.C:
2544         * buffer.h:
2545         * lyxfunc.C:
2546         * undo_funcs.C: setUndo reworked
2547
2548         * iterators.[Ch]: add access to topmost ParagraphList
2549
2550         * lyxtext.[Ch] (workWidth): add a const
2551
2552 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2553
2554         * texrow.[Ch] (increasePos): remove function
2555         * exporter.C (export): removed unused var and outdated comment
2556
2557 2003-05-23  Angus Leeming  <leeming@lyx.org>
2558
2559         * latexrunparams.h: rename fragile as moving_arg.
2560         * paragraph.C (simpleTeXOnePar): ditto.
2561         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2562
2563 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2564
2565         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2566         (createUndo): ditto
2567         (textUndoOrRedo): comment out a currently unused var.
2568
2569         * paragraph.h (NO_NEXT): enable NO_NEXT
2570
2571         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2572
2573         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2574
2575         * exporter.C (Export): adjust for removeAutoInsets removal.
2576
2577         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2578
2579         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2580
2581         * BufferView.[Ch] (removeAutoInsets): delete function
2582
2583 2003-05-22  Angus Leeming  <leeming@lyx.org>
2584
2585         * latexrunparams.h: add a free_spacing variable.
2586
2587         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2588         to pass moving_arg, as the data is stored in runparams.fragile.
2589
2590         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2591         to Inset::latexOptional or to simpleTeXOnePar.
2592
2593         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2594         free_spacing arg to Inset::latexOptional.
2595
2596         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2597         free_spacing arg.
2598
2599 2003-05-22  Angus Leeming  <leeming@lyx.org>
2600
2601         * latexrunparams.h: add fragile and use_babel variables.
2602
2603         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2604         * buffer.C (makeLaTeXFile): store this returned value in
2605         runparams.use_babel, thus passing it to the inset::latex methods.
2606
2607         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2608         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2609
2610         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2611         longer has a fragile arg, as it is stored in runparams.fragile.
2612
2613         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2614         moving_arg parameter as the data is stored in runparams.fragile.
2615
2616         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2617         a fragile parameter as the data is stored in runparams.fragile.
2618
2619 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2622
2623 2003-05-22  Angus Leeming  <leeming@lyx.org>
2624
2625         * latexrunparams.h: add a 'bool nice' which defaults to false.
2626
2627         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2628         now encapsulated within runparams.
2629
2630         * bufferlist.C (updateIncludedTeXfiles):
2631         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2632
2633 2003-05-22  Angus Leeming  <leeming@lyx.org>
2634
2635         * latexrunparams.h: new file containing struct LatexRunParams.
2636         * Makefile.am: add new file.
2637
2638         * LaTeX.[Ch] (c-tor, run):
2639         * buffer.[Ch] (makeLaTeXFile):
2640         * bufferlist.[Ch] (updateIncludedTeXfiles):
2641         * converter.C (convert, scanLog):
2642         * converter.[Ch] (runLaTeX):
2643         * exporter.C (Export):
2644         * paragraph.[Ch] (simpleTeXOnePar):
2645         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2646         * paragraph_funcs.[Ch] (latexParagraphs):
2647         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2648         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2649         pass around a LatexRunParams parameter.
2650
2651 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * paragraph.[Ch]: remove unused constructor
2654
2655         * ParagraphList.C (erase): new function, taking two iterators
2656
2657 2003-05-22  André Pönitz  <poenitz@gmx.net>
2658
2659         * undo_funcs.C: remove duplicated code
2660
2661         * iterator.[Ch]: operator=
2662
2663 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * tabular.C (SetMultiColumn): ws changes
2666
2667         * rowpainter.C (paintFirst): get rid of a ->previous
2668
2669         * lyx_cb.C (getPossibleLabel): parlist simplification
2670
2671         * BufferView.C (ChangeInsets): simplify slightly.
2672
2673 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2674
2675         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2676         * lfuns.h: new LFUN_SPACE
2677         * lyxfunc.C: protected space has a new lfun
2678         * paragraph_funcs.C: read new space insets
2679         * text3.C:
2680         * factory.C: handle new space insets
2681
2682 2003-05-22  André Pönitz  <poenitz@gmx.net>
2683
2684         * BufferView.C:
2685         * BufferView_pimpl.C:
2686         * buffer.[Ch]:
2687         * lyxfunc.C:
2688         * undo_funcs.C: return a ParIterator from getParFromID.
2689
2690         * iterators.[Ch]: add two const's
2691
2692 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * toc.C (getTocList): adjust
2695
2696         * iterators.[Ch]: rework for parlist
2697
2698         * buffer.C (par_iterator_begin): adjust
2699         (par_iterator_end): adjust
2700
2701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2702
2703         * BufferView.C (removeAutoInsets): adjust
2704         (ChangeInsets): adjust
2705
2706 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * text.C (top_y): fix bug 1110
2709
2710 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * errorlist.[Ch]: added
2713         * buffer.C:
2714         * BufferView.[Ch]:
2715         * BufferView_pimpl.C:
2716         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2717         instead
2718
2719 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2720
2721         * Makefile.am: ensure that lyx is relinked upon changes to the
2722         various "convenience" libs.
2723
2724 2003-05-20  Angus Leeming  <leeming@lyx.org>
2725
2726         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2727         files are compiled in alphabetical order again.
2728
2729         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2730
2731 2003-05-19  Angus Leeming  <leeming@lyx.org>
2732
2733         * gettext.[Ch]: remove "char const * _(char const *)".
2734
2735 2003-05-19  André Pönitz  <poenitz@gmx.net>
2736
2737         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2738
2739         * Makefile.am:
2740         * BufferView.C:
2741         * DepTable.h:
2742         * LaTeXFeatures.C:
2743         * buffer.C:
2744         * lyxfont.C:
2745         * lyxlex.h:
2746         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2747
2748 2003-05-19  André Pönitz  <poenitz@gmx.net>
2749
2750         * buffer.C:
2751         * lyxlayout.[Ch]:
2752         * lyxtextclass.[Ch]:
2753         * paragraph.C:
2754         * paragraph_funcs.[Ch]:
2755         * text2.C:
2756         * text3.C: more insetenv work
2757
2758 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2759
2760         * ParagraphParameters.C (params2string): small bug fixed
2761
2762 2003-05-16  André Pönitz  <poenitz@gmx.net>
2763
2764         * debug.C:
2765         * bufferview_funcs.C: patch from Kornel Benko to prevent
2766           crash when _(...) is called twice in a statement
2767
2768 2003-05-16  André Pönitz  <poenitz@gmx.net>
2769
2770         * BufferView.C:
2771         * lyxfunc.C:
2772         * text.C:
2773         * text2.C:
2774         * text3.C:
2775         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2776
2777 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2778
2779         * lyx_main.C (init): remove spurious static_cast
2780
2781 2003-05-14  André Pönitz  <poenitz@gmx.net>
2782
2783         * BufferView.C: fix format string
2784
2785 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * BufferView.[Ch] (insertErrors): removed
2788         * BufferView.[Ch] (showErrorList): added
2789         * buffer.C (runChkTeX):
2790         * converter.C (scanLog): call showErrorList instead of inserterrors
2791
2792 2003-05-13  André Pönitz  <poenitz@gmx.net>
2793
2794         * BufferView_pimpl.C:
2795         * buffer.C:
2796         * bufferview_func.C:
2797         * MenuBackend.C:
2798         * lyxfunc.C:
2799         * lyxrc.C:
2800         * tex-accent.C:
2801         * text3.C:
2802         * toc.C:
2803         * tabular_funcs.h: tostr() from its own header
2804
2805         * ParagraphParameters.C:
2806         * ToolbarBackend.C:
2807         * bufferparams.C:
2808         * format.C:
2809         * lyxlex_pimpl.C:
2810         * text3.C: STRCONV()
2811
2812 2003-05-12  André Pönitz  <poenitz@gmx.net>
2813
2814         * BufferView.C:
2815         * BufferView_pimpl.C:
2816         * CutAndPaste.C:
2817         * LaTeX.C:
2818         * LaTeXFeatures.C:
2819         * ParagraphParameters.C:
2820         * buffer.C:
2821         * bufferlist.C:
2822         * bufferparams.C:
2823         * bufferview_funcs.C:
2824         * converter.C:
2825         * counters.C:
2826         * debug.C:
2827         * exporter.C:
2828         * format.C:
2829         * importer.C:
2830         * lyx_cb.C:
2831         * lyx_main.C:
2832         * lyxfont.C:
2833         * lyxfunc.C:
2834         * lyxvc.C:
2835         * paragraph.C:
2836         * paragraph_funcs.C:
2837         * tabular.C:
2838         * tabular_funcs.C:
2839         * text2.C:
2840         * text3.C:  boost::format -> bformat  all over the place
2841
2842
2843 2003-05-09  André Pönitz  <poenitz@gmx.net>
2844
2845         * LColor.[Ch]: Pimpl the #include <map> away
2846
2847 2003-05-09  John Levon  <levon@movementarian.org>
2848
2849         * bufferlist.C: never remove emergency saves
2850
2851 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * Makefile.am: better lib building
2854
2855 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2858         instead.
2859         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2860         (simpleTeXSpecialChars): adjust
2861         (simpleTeXSpecialChars): adjust
2862         * paragraph.C (simpleTeXOnePar): adjust
2863         * buffer.C (makeLaTeXFile): adjust
2864
2865         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2866
2867         * text2.C (changeDepth): parlist cleanup
2868         (getColumnNearX): ditto
2869
2870         * rowpainter.C (getLabelFont): parlist cleanup
2871
2872         * bufferlist.C (newFile): parlist cleanup
2873
2874         * CutAndPaste.C (eraseSelection): parlist cleanup
2875
2876         * BufferView_pimpl.C (trackChanges): parlist cleanup
2877         (dispatch): ditto
2878
2879         * BufferView.C (lockInset): parlist cleanup.
2880         (ChangeInsets): ditto
2881
2882 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * CutAndPaste.h: Update file header.
2885
2886         * CutAndPaste.C: Update file header.
2887         Store the parts cut out of the Document in a limited_stack.
2888         (copySelection): adjust
2889         (pasteSelection): new function, takes the index in the limited stack.
2890         (nrOfParagraphs): adjust
2891         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2892         simplify error inset insertion.
2893         (checkPastePossible): adjust
2894
2895 2003-05-06  John Levon  <levon@movementarian.org>
2896
2897         * text2.C: don't cast wrap inset to float
2898
2899 2003-05-05  André Pönitz  <poenitz@gmx.net>
2900
2901         * iterator.C:
2902         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2903
2904         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2905           few naked Paragraph *.
2906
2907 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2908
2909         * bufferparams.C: Output warning if a document with missing
2910         TeX document class is loaded
2911         * exporter.C: Disable TeX exports if the document class is missing
2912         * lyxtextclass.C:
2913         * lyxtextclass.h:
2914         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2915         isTeXClassAvailable()
2916
2917 2003-05-03  John Levon  <levon@movementarian.org>
2918
2919         * BufferView.h:
2920         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2921         explicit cursor show/hide
2922
2923         * BufferView_pimpl.h:
2924         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2925         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2926
2927         * lyxfunc.C: hide cursor before dispatching.
2928
2929         * lyx_cb.C:
2930         * lyxfind.C:
2931         * text.C:
2932         * text3.C: remove explicit cursor hides
2933
2934 2003-05-02  André Pönitz  <poenitz@gmx.net>
2935
2936         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2937
2938         * undo_funcs.C:
2939         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2940           linked lists
2941
2942         * text2.C: tiny whitespace
2943
2944 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * undo_funcs.C: almost only ws changes.
2947
2948         * ParagraphList.C (splice): just return if pl is empty.
2949
2950 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * ParagraphList.C (splice): new function.
2953
2954         * CutAndPaste.C (pasteSelection): use it
2955
2956 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2957
2958         * CutAndPaste.C (pasteSelection): remove the last next and
2959         previous from this file.
2960
2961 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2962
2963         * CutAndPaste.C (pasteSelection): more clean up, user proper
2964         ParagraphList functions for pasteing.
2965
2966         * ParagraphList.C (insert): new function, three arg insert
2967
2968 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2969
2970         * ParagraphList.C (insert): new function, three arg insert
2971
2972         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2973         not on paragraphs.
2974
2975 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2978
2979 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2980
2981         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2982
2983 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2984
2985         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2986         (copySelection): clean up a bit.
2987         (pasteSelection): use make_pair
2988
2989         * ParagraphList.C (ParagraphList): implement copy constructor
2990         (operator=): implement, base on copy constructor.
2991         (assign): new func
2992
2993         * paragraph.C (erase): return a bool
2994
2995         * paragraph_pimpl.C (erasePos): remove function, move contents...
2996         (erase): ... here. Return a bool.
2997         (erase): call erase instead of erasePos.
2998
2999 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3000
3001         * ParagraphList.h: define PitPosPair
3002         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3003         ParagraphList, fix a bug on pasting multiple pars
3004         * text2.C: change interface to C&P
3005
3006 2003-04-30  André Pönitz  <poenitz@gmx.net>
3007
3008         * undo_func.C: revert part of yesterday's patch 2
3009
3010 2003-04-30  John Levon  <levon@movementarian.org>
3011
3012         * LColor.C: s/tabular/table/
3013
3014 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * text3.C (dispatch): do not convert iterator -> pointer
3017         * undo_funcs.C (setCursorParUndo): ditto
3018         * text_funcs.C (transposeChars): ditto
3019
3020         * text2.C (setLayout): ws changes only
3021
3022         * text.C (breakParagraph): do not convert iterator -> pointer
3023         (insertChar): ditto
3024         (acceptChange): ditto
3025         (rejectChange): ditto
3026         (changeCase): ditto
3027         (Delete): ditto
3028         (backspace): ditto
3029
3030         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3031         pointer
3032
3033 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * text3.C (gotoInset): YABG (yet another bad getChar)
3036
3037 2003-04-29  André Pönitz  <poenitz@gmx.net>
3038
3039         * paragraph.h: make operator= private unimplemented as long as
3040           it is unusable
3041
3042         * ParagraphList.C: whitespace
3043
3044         * paragraph.[Ch]:
3045         * paragraph_pimpl.[Ch]:
3046         * paragraph_funcs.C:
3047         * CutAndPaste.C:
3048         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3049
3050         * text2.C:
3051           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3052
3053 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3056         * paragraph.[Ch] (erase):
3057         * paragraph_pimpl.[Ch] (erase): change return type and value
3058         * text2.C (cutSelection): some rework
3059
3060 2003-04-28  John Levon  <levon@movementarian.org>
3061
3062         * bufferlist.C: changes for unsaved changes dialog
3063
3064 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * bufferlist.C (newFile): set language (messages_) for new
3067         documents also.
3068
3069         * buffer.C (readFile): ws changes only.
3070
3071 2003-04-28  André Pönitz  <poenitz@gmx.net>
3072
3073         * undo_funcs.C:
3074         * lyxfunc.C:
3075         * buffer.[Ch]:
3076         * BufferView_pimpl.C:
3077         * BufferView.C: getParFromID related ParagraphList::iterator changes
3078
3079 2003-04-28  André Pönitz  <poenitz@gmx.net>
3080
3081         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3082           Changes
3083
3084 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * messages.C: remove one more localedir class variable.
3087
3088 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * messages.C (getLocaleDir): singleton generation function
3091         (Pimpl): use it.
3092         (Messages): add a default constructor.
3093
3094         * main.C (main): do not setup localedir here, do not call
3095         gettext_init.
3096
3097         * gettext.C (_): use it.
3098         (gettext_init): delete funciton
3099
3100 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * gettext.C (getLyXMessages): new singleton generating function.
3103
3104         * buffer.C (updateDocLang): adjust
3105
3106         * Makefile.am (messages.o): add target
3107         (main.o): remove target
3108
3109 2003-04-27  John Levon  <levon@movementarian.org>
3110
3111         * bufferlist.C:
3112         * lyx_cb.C:
3113         * lyxfunc.C:
3114         * lyxvc.C: specify cancel button in Alert::prompt
3115
3116 2003-04-26  John Levon  <levon@movementarian.org>
3117
3118         * text3.C:
3119         * lyxfunc.C:
3120         * lfuns.h:
3121         * LyXAction.C: add LFUN_INSET_SETTINGS
3122
3123         * lyxfunc.C: don't enable tabular-feature when there's
3124         just any locking inset
3125
3126 2003-04-26  John Levon  <levon@movementarian.org>
3127
3128         * bufferlist.C: re-add Cancel to buffer close question
3129
3130         * lyxfunc.C: fix import UI a bit
3131
3132 2003-04-25  John Levon  <levon@movementarian.org>
3133
3134         * gettext.C: remove the broken asserts for now
3135
3136 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * messages.C: make case where setlocale cannot comply work better.
3139
3140         * buffer.C (updateDocLang): new function
3141         (changeLanguage): use it
3142         (readFile): use it
3143
3144         * text2.C (setCounter): use B_ a bit.
3145
3146         * lyxlayout.C (Read): be sure to trim the label strings.
3147
3148         * messages.C (Messages): fix typo in comment
3149
3150         * buffer.C (readFile): set message_ after file is loaded.
3151         (makeDocBookFile): remove double return
3152         (changeLanguage): reset message_ upon language change.
3153         (B_): new func, use this to get translated buffer strings.
3154
3155         * main.C: add myself and Jean Marc as authors.
3156
3157 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3158
3159         * messages.[hC]: pimplify Messages, and three different pimpls to be
3160         used in different circumstances.
3161
3162         * gettext.[Ch]: change for use with new message code.
3163
3164 2003-04-24 André Pönitz <poenitz@gmx.net>
3165
3166         * factory.C: support for eqref
3167
3168 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * messages.[Ch]: add missing char
3171
3172         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3173
3174         * messages.[Ch]: New files
3175
3176 2003-04-18  John Levon  <levon@movementarian.org>
3177
3178         * BufferView.h:
3179         * BufferView.C:
3180         * BufferView_pimpl.C:
3181         * lfuns.h:
3182         * LyXAction.C:
3183         * lyxtext.h:
3184         * text2.C: remove layout-copy/paste (bug 778)
3185
3186 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3187
3188         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3189
3190 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3193         if they succeed. Act accordingly.
3194
3195 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * text2.C (setCharFont): adjust
3198         (setCounter): adjust
3199         (insertStringAsLines): adjust
3200
3201         * text.C (leftMargin): adjust
3202         (setHeightOfRow): adjust
3203
3204         * rowpainter.C (paintFirst): adjust
3205         (paintLast): adjust
3206
3207         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3208         (outerHook): ditto
3209         (isFirstInSequence): ditto
3210         (getEndLabel): ditto
3211         (outerFont): adjust
3212
3213         * paragraph.C (getParLanguage): comment out some hard stuff.
3214
3215         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3216         (sgmlError): ditto
3217         (simpleDocBookOnePar): ditto
3218         (makeDocBookFile): use ParagraphList::iterator
3219
3220         * CutAndPaste.C (pasteSelection): adjust
3221
3222 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * text2.C (getFont): adjust
3225         (getLayoutFont): adjust
3226         (getLabelFont): adjust
3227
3228         * paragraph_funcs.C (TeXOnePar): adjust
3229
3230         * buffer.C (simpleLinuxDocOnePar): adjust
3231         (simpleDocBookOnePar): adjust
3232
3233         * CutAndPaste.C (pasteSelection): adjust
3234
3235         * BufferView.C (getEncoding): adjust
3236
3237         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3238
3239 2003-04-16  John Levon  <levon@movementarian.org>
3240
3241         * lyxfind.C: use parlist stuff for search/changes
3242
3243 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3246
3247         * text2.C (deleteEmptyParagraphMechanism): adjust
3248
3249         * text2.[Ch] (ownerParagraph): delete func (both of them
3250
3251 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3254
3255 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * ParagraphList.C: prepare for NO_NEXT
3258
3259 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * text2.C (getFont): adjust
3262         (getLayoutFont): adjust
3263         (getLabelFont): adjust
3264
3265         * paragraph.C (getFont): adjust
3266         (getLabelFont): adjust
3267         (getLayoutFont): adjust
3268
3269         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3270
3271 2003-04-15  John Levon  <levon@movementarian.org>
3272
3273         From Angus Leeming
3274
3275         * lyx_main.C: handle Include in .ui files
3276
3277 2003-04-15  John Levon  <levon@movementarian.org>
3278
3279         * MenuBackend.C: make the doc files length shorter
3280
3281         * ToolbarBackend.h:
3282         * ToolbarBackend.C: handle toolbar placement flags,
3283         Minibuffer
3284
3285 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3288         adjust
3289
3290         * paragraph_funcs.C (TeXOnePar): adjust
3291
3292         * paragraph.C (getLabelFont): add outerfont arg, adjust
3293         (getLayoutFont): ditto
3294         (simpleTeXOnePar): adjust
3295
3296         * paragraph_pimpl.C (realizeFont): delete func
3297
3298 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3299
3300         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3301         row argument, constify cur argument.
3302
3303 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * text2.C (getFont): adjust
3306         (getLayoutFont): adjust
3307         (getLabelFont): adjust
3308
3309         * paragraph_funcs.C (TeXOnePar): adjust
3310         (outerFont): new func...
3311         (realizeFont): ...moved out from here, changed this to facilitate
3312         transition
3313
3314         * paragraph.C (getFont): take outerfont as arg, adjust
3315         (simpleTeXOnePar): add outerfont arg, adjust
3316
3317         * buffer.C (simpleLinuxDocOnePar): adjust
3318         (simpleDocBookOnePar): adjust
3319
3320         * CutAndPaste.C (pasteSelection): adjust
3321
3322         * BufferView.C (getEncoding): adjust
3323
3324 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * text2.C (setCharFont): adjust
3327         (setCounter): adjust
3328
3329         * text.C (leftMargin): adjust
3330         (setHeightOfRow): adjust
3331
3332         * rowpainter.C (paintFirst): adjust
3333         (paintLast): adjust
3334
3335         * paragraph_pimpl.C (realizeFont): adjust
3336
3337         * paragraph.C (isFirstInSequence): move from here...
3338         * paragraph_funcs.C (isFirstInSequence): ...to here
3339
3340         * paragraph.C (outerHook): move from here...
3341         * paragraph_funcs.C (outerHook): ...to here
3342
3343         * paragraph.C (depthHook): move from here...
3344         * paragraph_funcs.C (depthHook): ...to here
3345
3346         * paragraph.C (getEndLabel): move from here...
3347         * paragraph_funcs.C (getEndLabel): ...to here
3348
3349         * text2.C (realizeFont): move from here...
3350         * paragraph_funcs.C (realizeFont): ...to here
3351
3352 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3355
3356 2003-04-14  Angus Leeming  <leeming@lyx.org>
3357
3358         * LColor.[Ch]: scrap LColor mathcursor.
3359
3360 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * lyxlex.[Ch] (text): delete function
3363         * trans.C (Load): adjust
3364         * paragraph_funcs.C (readParToken): adjust
3365
3366 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3369         vector<char> instead of a char[].
3370
3371         * lyxlex_pimpl.C (getString): adjust
3372         (next): adjust
3373         (lex): use getString
3374         (eatLine): adjust
3375         (nextToken): adjust
3376
3377         * lyxlex.C (text): use pimpl_->getString()
3378         (getBool): ditto
3379         (findToken): ditto
3380
3381 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3384         (makeFontEntriesLayoutSpecific): temp var for par.size()
3385         (setLayout): temp var for ownerParagraphs().end()
3386         (fullRebreak): temp var for rows().end()
3387         (selectionAsString): temp var for boost::next(startpit), realize
3388         that the while really is a regular for loop.
3389         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3390         setCursor in one place.
3391         (setParagraph): temp vr for ownerParagraphs().end()
3392         (updateCounters): make the while loop a for loop
3393         (cutSelection): temp var for ownerParagraphs().end()
3394         (updateInset): make the do {} while() a regular for loop
3395         (getCursorX): use temp vars
3396         (setCurrentFont): use temp vars
3397         (getColumnNearX): use temp vars
3398
3399 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3400
3401         * text.C (transformChar): use temp var for getChar
3402         (computeBidiTables): use temp var for row->par()
3403         (fill): move temp vars for row->par() and pit->layout() earlier in
3404         the function.
3405         (labelFill): use temp var for row->par()
3406         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3407         asc and desc, realize that pit never changes and that firstpit is
3408         just a duplicate and not needed. Exchange rit->par() with pit in a
3409         lot of places.
3410         (breakAgain): use a temp var for boost::next(rit)
3411         (breakAgainOneRow): ditto
3412         (breakParagraph): use a temp var for rows().begin()
3413         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3414         (cursorRightOneWord): use temp var for cursor.par() and
3415         cursor.pos(), remove usage of tmpcursor.
3416         (cursorLeftOneWord): use temp var for cursor.par() and
3417         cursor.pos() only set cur at end of function.
3418
3419 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * text.C, text2.C: exchange all usage of Paragraph::next with
3422         boost::next(ParagraphList::iterator)
3423
3424         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3425
3426         * text2.C (cursorTop): simplify implementation
3427         (cursorBottom): ditto
3428         (setParagraph): use ParagraphList::iterator
3429         (setCurrentFont): adjust
3430         (getColumnNearX): adjust
3431         (cursorRight): adjust
3432         (cursorLeft): remove usage of Paragraph::previous
3433         (cursorUpParagraph): ditto
3434         (deleteEmptyParagraphMechanism): slight cleanup
3435
3436         * text.C (isBoundary): take a Paragraph const & instead of a
3437         pointer as arg.
3438         (addressBreakPoint): ditto
3439         (leftMargin): remove usage of Paragraph::previous.
3440         (setHeightOfRow): ditto
3441         (cursorLeftOneWord): ditto
3442         (selectNextWordToSpellcheck): ditto
3443         (Delete): ditto
3444         (backspace): ditto
3445         (breakParagraph): remove one usage of Paragraph::next
3446         (redoParagraph): ditto
3447         (acceptChange): ditto
3448         (insertChar): adjust
3449         (rowBreakPoint): adjust
3450
3451         * bufferview_funcs.C (toggleAndShow): adjust
3452
3453 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3456         methods to access it.
3457         * lyxtext.h:
3458         * text.C: Added updateRowPositions to compute all row positions.
3459         Make top_y and getRowNearY() to use the cached y position
3460
3461 2003-04-11  John Levon  <levon@movementarian.org>
3462
3463         * text.C (rowBreakPoint): reintroduce the labelEnd
3464         checks, code copied from the row fill stuff. Deep voodoo.
3465
3466         * text.C (fill): add a comment and debugging for the
3467         next poor soul.
3468
3469 2003-04-11  John Levon  <levon@movementarian.org>
3470
3471         * text.C: make sure fullrow insets get wrapped to the next line,
3472         even when they're in a manual label
3473
3474 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * text2.C (insertParagraph): make it take ParagraphList::iterator
3477         as arg.
3478         (setLayout): make it return ParagraphList::iterator
3479         (redoParagraphs): ditto
3480         (setCounter): ditto
3481         (checkParagraph): ditto
3482
3483         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3484
3485         * text2.C: adjust several funcs.
3486         (realizeFont): take a ParagraphList::iterator as arg.
3487         (getLayoutFont): ditto
3488         (getLabelFont): ditto
3489         (setCharFont): ditto
3490
3491         * text.C: adjust several funcs.
3492
3493 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3494
3495         * text.C (selectNextWordToSpellcheck): don't accidentally
3496         skip insets
3497
3498 2003-04-10  John Levon  <levon@movementarian.org>
3499
3500         * ToolbarBackend.C (getIcon): special handling for
3501         LFUN_MATH_DELIM
3502
3503 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * text2.C (cursorRight): a getChar assert fixed
3506
3507 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * text2.C (getFont): change to take a ParagraphList::iterator
3510         instead of Paragraph*
3511         Adjust several functions.
3512
3513         * text.C (transformChar): change to take a ParagraphList::iterator
3514         instead of Paragraph*
3515         (singleWidth): ditto
3516         Adjust several functions.
3517
3518         * rowpainter.C: adjust several functions
3519         * rowpainter.h:store a ParagraphList::iterator and not a
3520         Paragraph&.
3521
3522
3523 2003-04-09  John Levon  <levon@movementarian.org>
3524
3525         * lyxfunc.C:
3526         * lfuns.h:
3527         * LyXAction.h:
3528         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3529         and the "help" bits as well
3530
3531 2003-04-09  John Levon  <levon@movementarian.org>
3532
3533         * ToolbarBackend.h:
3534         * ToolbarBackend.C: allow multiple toolbars
3535
3536 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * undo_funcs.C (setCursorParUndo): adjust
3539
3540         * text_funcs.C (transposeChars): adjust
3541
3542         * text3.C (gotoNextInset): adjust
3543         (dispatch): adjust
3544
3545         * text2.C (setLayout): adjust
3546         (changeDepth): adjust
3547         (setFont): adjust
3548         (redoParagraphs): adjust
3549         (selectionAsString): adjust
3550         (setParagraph): adjust
3551         (insertInset): adjust
3552         (cutSelection): adjust
3553         (copySelection): adjust
3554         (pasteSelection): adjust
3555         (insertStringAsLines): adjust
3556         (updateInset): adjust
3557         (setCursor): change to take a ParagraphList::iterator parameter
3558         (setCursorIntern): change to take a ParagraphList::iterator parameter
3559         (setCurrentFont): adjust
3560         (cursorLeft): adjust
3561         (cursorRight): adjust
3562         (deleteEmptyParagraphMechanism): adjust
3563
3564         * text.C (breakParagraph): adjust
3565         (insertChar): adjust
3566         (acceptChange): adjust
3567         (rejectChange): adjust
3568         (selectNextWordToSpellcheck): adjust
3569         (changeCase): adjust
3570         (Delete): adjust
3571         (backspace): adjust
3572
3573         * lyxfind.C (SearchForward): adjust
3574         (SearchBackward): adjust
3575         (nextChange): adjust
3576
3577         * lyxcursor.C (par): adjust
3578
3579         * lyxcursor.h: store a ParagraphList::iterator instead of a
3580         Paragraph*
3581
3582         * lyx_cb.C (getPossibleLabel): adjust
3583
3584         * bufferview_funcs.C (toggleAndShow): adjust
3585
3586         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3587         (dispatch): adjust
3588
3589         * BufferView.C (removeAutoInsets): adjust
3590         (lockedInsetStoreUndo): adjust
3591
3592 2003-04-09  John Levon  <levon@movementarian.org>
3593
3594         * ToolbarBackend.C: try icon without argument
3595         if with argument fails
3596
3597 2003-04-08  John Levon  <levon@movementarian.org>
3598
3599         * ToolbarBackend.h:
3600         * ToolbarBackend.C: add getIcon(), handle tooltip,
3601         and change from "Icon" to "Item".
3602
3603 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3604
3605         * BufferView.C (lockInset): another bad getchar crunched
3606
3607 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3610         again)
3611
3612 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3613
3614         * lyxfind.C (searchForward, searchBackwards): bug 782
3615
3616 2003-04-07  John Levon  <levon@movementarian.org>
3617
3618         * paragraph.C: remove dead comment
3619
3620         * text.C: remove troublesome depth-fiddling code
3621         in leftMargin() and rightMargin() (bug 1017)
3622
3623         * text.C: fix breaking of rows in nested lists
3624         (bug 1004)
3625
3626         * text2.C (updateCounters): fix up depth values
3627         (bug 1013)
3628
3629 2003-04-07  John Levon  <levon@movementarian.org>
3630
3631         * BufferView_pimpl.C: clear message when doc finishes resizing,
3632         and after a mouse event
3633
3634         * lyxfunc.C: clear message after exiting inset
3635
3636 2003-04-07  John Levon  <levon@movementarian.org>
3637
3638         * bufferview_funcs.C: show math status not outside
3639         status in the statusbar
3640
3641 2003-04-07  John Levon  <levon@movementarian.org>
3642
3643         * lyxfunc.C: note status changed after a depth change
3644
3645 2003-04-04  Angus Leeming  <leeming@lyx.org>
3646
3647         * LaTeX.h: move AuxInfo operator==, != out of line.
3648         Remove LaTeX virtual destructor; nothing derives from it.
3649         Move operator()() out of public area and rename it startscript().
3650         Change protected for private.
3651
3652 2003-04-04  Angus Leeming  <leeming@lyx.org>
3653
3654         * lyxfunc.C:
3655         * text2.C: remove unneeded #includes.
3656
3657 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3658
3659         * text2.C (dEPM): fix the heigth of the next row
3660
3661 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3662
3663         * text.C: squashed an invalid getChar requester + some ws changes
3664
3665 2003-04-03  John Levon  <levon@movementarian.org>
3666
3667         * bufferview_funcs.h:
3668         * bufferview_funcs.C:
3669         * lyxfunc.C:
3670         * lyxtext.h:
3671         * text2.C: make getStatus work for the env depth lfuns
3672
3673 2003-04-03  John Levon  <levon@movementarian.org>
3674
3675         * bufferview_funcs.h:
3676         * bufferview_funcs.C:
3677         * lyxfunc.C:
3678         * lyxtext.h:
3679         * text2.C: parlistize decDepth(), by merging it with incDepth()
3680
3681 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * lyxrow.h: store a ParagraphList::iterator instead of a
3684         Paragraph* and adjust other class functions to suit.
3685
3686         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3687         above.
3688
3689 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * text2.C (setCursor): do not anchor to cursor row for the time being
3692
3693 2003-04-02  John Levon  <levon@movementarian.org>
3694
3695         * LyXAction.C:
3696         * lfuns.h:
3697         * lyx_main.C:
3698         * lyxtext.h:
3699         * text.C:
3700         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3701
3702 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3703
3704         * paragraph.h: make ParagraphList and ParagraphList::iterator
3705         friends of Paragraph.
3706
3707         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3708
3709         * ParagraphList.C: Use the private next_ and previous_ from
3710         Paragraph.
3711
3712 2003-04-01  John Levon  <levon@movementarian.org>
3713
3714         * ToolbarBackend.h:
3715         * ToolbarBackend.C:
3716         * Makefile.am: rename, remove defaults gunk
3717
3718         * MenuBackend.h:
3719         * MenuBackend.C: remove defaults gunk
3720
3721         * Languages.h:
3722         * Languages.C: remove defaults gunk
3723
3724         * lyx_main.h:
3725         * lyx_main.C: error out if files couldn't be found.
3726
3727 2003-04-02  John Levon  <levon@movementarian.org>
3728
3729         * text2.C: make incDepth() use parlist
3730
3731 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3732
3733         * undo_funcs.C (firstUndoParagraph): adjust
3734
3735         * text3.C (gotoInset): adjust
3736         (dispatch): adjust, and rewrite loop.
3737
3738         * text2.C (init): adjust, and rewrite loop.
3739         (redoParagraphs): adjust
3740         (updateInset): adjust, and rewrite loop.
3741         (deleteEmptyParagraphMechanism): adjust
3742
3743         * tabular.C (LyXTabular): adjust
3744         (SetMultiColumn): adjust
3745         (TeXRow): adjust
3746
3747         * lyxtext.[Ch] (ownerParagraph): delete function
3748         (ownerParagraphs): new function returns a ParagraphList.
3749
3750         * BufferView.C (removeAutoInsets): adjust
3751         (insertErrors): adjust
3752         (setCursorFromRow): adjust
3753
3754 2003-04-01  Angus Leeming  <leeming@lyx.org>
3755
3756         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3757         in the frontends.
3758
3759 2003-04-02  John Levon  <levon@movementarian.org>
3760
3761         * lyxtext.h:
3762         * text.C:
3763         * Makefile.am:
3764         * text_funcs.h:
3765         * text_funcs.C: make transposeChars a free function
3766
3767         * lyxrow_funcs.C: remove wrong comment
3768
3769 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3770
3771         * lyxtext.h: adjust
3772         * rowpainter.C: adjust
3773         * text.C: adjust
3774         * text2.C: adjust
3775         * text3.C: adjust
3776
3777         * lyxrow_funcs. [Ch]: new files
3778
3779         * lyxrow.[Ch]: remove next and previous pointers
3780         (next,previous): remove accessor functions
3781         (isParEnd): move to lyxrow_funcs
3782         (lastPos): move to lyxrow_funcs
3783         (nextRowIsAllInset): move to lyxrow_funcs
3784         (lastPrintablePos): move to lyxrow_funcs
3785         (numberOfSeparators): move to lyxrow_funcs
3786         (numberOfHfills): move to lyxrow_funcs
3787         (numberOfLabelHfills): move to lyxrow_funcs
3788         (hfillExpansion): move to lyxrow_funcs
3789
3790         * lyxfunc.C: adjust
3791
3792         * bufferview_funcs.C (toggleAndShow): adjust
3793
3794         * RowList.h: Remove class RowList from file leave just a
3795         std::list<Row>.
3796
3797         * RowList.C: delete file
3798
3799         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3800         and lyxrow_funcs.h
3801
3802 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * text3.C (cursorPrevious): adjust
3805         (cursorNext): adjust
3806         (dispatch): adjust
3807
3808         * text2.C (redoHeightOfParagraph): adjust
3809         (redoDrawingOfParagraph): adjust
3810         (setCursor): adjust
3811
3812         * text.C (breakParagraph): adjust
3813         (insertChar): adjust
3814         (backspace): adjust
3815
3816         * rowpainter.C (RowPainter): adjust
3817         (leftMargin): simplify and adjust
3818         (most rowpainter functions): adjust.
3819
3820         * rowpainter.h: store the row as RowList::iterator not as Row*
3821
3822         * lyxcursor.C (row): taka RowList::iterator as arg
3823         (irow): ditto
3824
3825         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3826         of Row*.
3827
3828 2003-04-01  Angus Leeming  <leeming@lyx.org>
3829
3830         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3831         stuff like bool Bool.
3832
3833 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3834
3835         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3836         rewrite a loop
3837
3838 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3841         RowList::iterator.
3842
3843         * lyxtext.h (rows): drop one version and leve a const variant that
3844         returns a RowList::iterator.
3845
3846 2003-03-31  Angus Leeming  <leeming@lyx.org>
3847
3848         * text.C (fill): ensure that the signature is the same as that in the
3849         header file.
3850
3851 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * text2.C (redoParagraphs): adjust
3854         (updateCounters): adjust
3855         (checkParagraph): adjust
3856         (getColumnNearX): adjust and reformat a bit.
3857
3858         * text.C (top_y): adjust
3859         (workWidth): adjust
3860         (leftMargin): adjust
3861         (prepareToPrint): adjust
3862         (getRow): adjust
3863         (getRowNearY): adjust
3864
3865         * lyxtext.h: make rowlist_ mutable.
3866
3867         * RowList.h: add const_iterator
3868         * RowList.C: adjust for RowList::const_iterator.
3869
3870         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3871         adjust.
3872
3873 2003-03-31  John Levon  <levon@movementarian.org>
3874
3875         * lyxrc.h:
3876         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3877
3878         * lyx_main.C: set default fonts from using lyx_gui funcs
3879
3880         * exporter.C: pdf_mode moved from lyxrc
3881
3882         * lyx_cb.C:
3883         * lyxfunc.C: changes from above
3884
3885 2003-03-31  John Levon  <levon@movementarian.org>
3886
3887         * lyx_main.C: fix to the last fix
3888
3889 2003-03-31  John Levon  <levon@movementarian.org>
3890
3891         * bufferlist.C: "Load original" -> "Load Original"
3892
3893         * converter.C:
3894         * exporter.C:
3895         * importer.C:
3896         * lyx_main.C:
3897         * format.C: more Alert cleanups
3898
3899 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * text2.C (removeParagraph): make it take a RowList::iterator as
3902         arg, adjust.
3903         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3904         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3905
3906         * text.C (anchor_row): make it take a RowList::iterator as arg,
3907         adjust.
3908         (computeBidiTables): make it take a const reference to Row instead
3909         of Row pointer, adjust.
3910         (leftMargin): make it take a RowList::iterator as arg, adjust.
3911         (rowBreakPoint): adjust
3912         (breakAgainOneRow): make it take a RowList::iterator as arg,
3913         adjust.
3914         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3915
3916         * bufferview_funcs.C (toggleAndShow): adjust
3917
3918 2003-03-30  John Levon  <levon@movementarian.org>
3919
3920         * Makefile.am:
3921         * BoostFormat.h:
3922         * boost-inst.C: moved to support
3923
3924         * several files: changes as a result
3925
3926 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * text2.C (LyXText): adjust.
3929         (init): adjust
3930         (removeRow): make it take a RowList::iterator as arg, adjust.
3931         (fullRebreak): adjust
3932         (deleteEmptyParagraphMechanism): adjust
3933         (clearPaint): adjust
3934         (postPaint): adjust
3935
3936         * text.C (top_y): adjust
3937         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3938         (breakAgain): make it take a RowList::iterator as arg, adjust.
3939         (breakParagraph): adjust
3940         (insertChar): adjust
3941         (backspace): adjust
3942
3943         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3944         need_break_row, and refresh_row.
3945
3946         * text3.C (dispatch): adjust
3947
3948         * text2.C (checkParagraph): adjust
3949         (setCursor): adjust
3950         (setCursorFromCoordinates): adjust
3951
3952         * text.C (top_y): adjust
3953         (workWidth): adjust
3954         (getRow): make it return a RowList::iterator, adjust
3955         (getRowNearY): make it return a RowList::iterator, adjust
3956
3957         * text2.C (init): adjust
3958         (insertRow): remove function
3959         (insertParagraph): adjust
3960         (redoParagraphs): adjust
3961         (fullRebreak): adjust
3962         (updateCounters): adjust
3963
3964         * text.C (top_y): rewrite to use RowList iterators.
3965         (top_y): adjust
3966         (setHeightOfRow): rewrite to sue RowList iterators.
3967         (appendParagraph): adjust
3968         (breakAgain): adjust
3969         (breakAgainOneRow): adjust
3970         (breakParagraph): adjust
3971         (getRow): adjust
3972         (getRowNearY): adjust, and remove commented code.
3973
3974         * lyxtext.h (firstRow): delete function
3975         (lastRow): delete function
3976         (rows): new function (const and non-const versions.)
3977         (insertRow): delete function
3978
3979         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3980
3981 2003-03-29  John Levon  <levon@movementarian.org>
3982
3983         * BufferView_pimpl.C: always update scrollbar top
3984         because pasting text when we're anchored could mean we
3985         miss an update altogether
3986
3987 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * text2.C (init): use rowlist_.end() and not 0.
3990         (insertRow): change to take a RowList::iterator as arg, adjust
3991         for this.
3992         (insertParagraph): change to take a RowList::iterator as arg,
3993         adjust for this.
3994         (redoParagraphs): remove some debug msgs.
3995
3996         * text.C (appendParagraph): change to take a RowList::iterator
3997         arg, adjust for this.
3998         (breakAgain): add an assert
3999         (breakAgainOneRow): ditto
4000
4001 2003-03-29  John Levon  <levon@movementarian.org>
4002
4003         * text2.C: do not clear selection after inc/decDepth
4004         (bug 550)
4005
4006 2003-03-29  John Levon  <levon@movementarian.org>
4007
4008         * BufferView.C:
4009         * buffer.C: fix broken strerrors according to Lars
4010
4011 2003-03-29  John Levon  <levon@movementarian.org>
4012
4013         * converters.C: more Alert cleanups
4014
4015 2003-03-29  John Levon  <levon@movementarian.org>
4016
4017         * bufferview_funcs.C: remove pointless Alert
4018
4019         * buffer.C: fix confusing error message when
4020         a template is chmoded 000
4021
4022 2003-03-29  John Levon  <levon@movementarian.org>
4023
4024         * BufferView.C:
4025         * BufferView.h:
4026         * BufferView_pimpl.C: Alert fixes
4027
4028         * Makefile.am:
4029         * tabular.C:
4030         * tabular-old.C: remove unused table compat reading
4031
4032 2003-03-29  John Levon  <levon@movementarian.org>
4033
4034         * BufferView.C:
4035         * buffer.C:
4036         * lyx_cb.h:
4037         * lyx_cb.C: more Alert cleanups
4038
4039         * lyxfunc.C: don't allow chktex if not latex document
4040
4041 2003-03-29  John Levon  <levon@movementarian.org>
4042
4043         * lyx_cb.C:
4044         * BufferView.C:
4045         * buffer.C: warnings pushed down from support/,
4046         kill err_alert
4047
4048 2003-03-29  John Levon  <levon@movementarian.org>
4049
4050         * lyxfunc.C: safety check for C-r (revert)
4051
4052 2003-03-29  John Levon  <levon@movementarian.org>
4053
4054         * bufferlist.h:
4055         * bufferlist.C: several UI fixes using Alert::prompt.
4056         Fix the pointless looping quit code. Fix stupid revert
4057         behaviour (bug 938)
4058
4059         * lyxvc.h:
4060         * lyxvc.C:
4061         * lyx_cb.C: use Alert::prompt
4062
4063         * lyx_main.C: remove a silly question
4064
4065         * lyxfunc.C: remove a couple of silly questions,
4066         use Alert::prompt
4067
4068 2003-03-28  John Levon  <levon@movementarian.org>
4069
4070         * text2.C: fix bug 974 (End on empty par)
4071
4072 2003-03-28  John Levon  <levon@movementarian.org>
4073
4074         * BufferView_pimpl.C:
4075         * LyXAction.C:
4076         * lfuns.h: remove do-nothing math greek lfuns
4077
4078 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4079
4080         * lyxgluelength.h (isValidGlueLength): add default arg on
4081         parameter 2. Remove default arg from friend in class.
4082
4083         * lyxlength.h (isValidLength): add default arg on parameter 2.
4084         Remove default arg from friend in class.
4085
4086         * text2.C (LyXText): adjust, initialize refresh_row.
4087         (init): adjust
4088         (removeRow): adjust
4089         (insertRow): adjust
4090         (insertParagraph): adjst
4091         (redoParagraphs): adjust
4092         (fullRebreak): adjust
4093         (updateCounters): adjust
4094         (deleteEmptyParagraphMechanism): first attempt at fixing a
4095         crashing bug.
4096
4097         * text.C (top_y): adjust
4098         (setHeightOfRow): adjust
4099         (getRow): adjust
4100         (getRowNearY): adjust
4101
4102         * lyxtext.h: include RowList.h
4103         (~LyXText): not needed anymore, deleted.
4104         (firstRow): modify for RowList
4105         (lastRow): new function
4106         Delete firstrow and lastrow class variables, add a Rowlist
4107         rowlist_ class variable.
4108
4109         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4110         paragraph is empty.
4111
4112         * RowList.C (insert): fix case where it == begin().
4113
4114 2003-03-26  Angus Leeming  <leeming@lyx.org>
4115
4116         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4117         the thesaurus dialog.
4118
4119 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4122
4123         * RowList.[Ch]: new files
4124
4125         * ParagraphList.C (erase): handle the case where it == begin
4126         correctly.
4127
4128 2003-03-25  John Levon  <levon@movementarian.org>
4129
4130         * Makefile.am:
4131         * aspell_local.h:
4132         * aspell.C: add new aspell support
4133
4134         * lyxrc.h:
4135         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4136         have it accessible.
4137
4138 2003-03-25  Angus Leeming  <leeming@lyx.org>
4139
4140         * lfuns.h:
4141         * LyXAction.C (init): new LFUN_INSET_INSERT.
4142
4143         * BufferView_pimpl.C (dispatch): split out part of the
4144         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4145
4146         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4147         LFUN_INSET_APPLY.
4148
4149 2003-03-25  Angus Leeming  <leeming@lyx.org>
4150
4151         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4152
4153 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4154
4155         * text2.C:
4156         * text3.C: remove useless row->height(0)
4157
4158 2003-03-25  John Levon  <levon@movementarian.org>
4159
4160         * lyxtext.h:
4161         * text2.C:
4162         * text3.C: rename the refreshing stuff to better names
4163
4164 2003-03-24  John Levon  <levon@movementarian.org>
4165
4166         * BufferView_pimpl.h:
4167         * BufferView_pimpl.C: update layout choice on a mouse
4168         press/release
4169
4170 2003-03-23  John Levon  <levon@movementarian.org>
4171
4172         * Makefile.am: fix commandtags.h reference
4173
4174 2003-03-22  John Levon  <levon@movementarian.org>
4175
4176         * BufferView_pimpl.C:
4177         * lyxtext.h:
4178         * rowpainter.C:
4179         * rowpainter.h:
4180         * text.C:
4181         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4182
4183 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * lyxtext.h:
4186         * text.C: take the rtl methods out of line
4187
4188 2003-03-21 André Pönitz <poenitz@gmx.net>
4189
4190         * metricsinfo.[Ch]: new files containing structures to be passed around
4191         during the two-phase-drawing...
4192
4193 2003-03-21 André Pönitz <poenitz@gmx.net>
4194
4195         * lyxtextclass.C: read 'environment' tag.
4196
4197 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4198
4199         * text2.C (removeRow): fix bug 964
4200
4201 2003-03-20  John Levon  <levon@movementarian.org>
4202
4203         * rowpainter.C:
4204         * text.C:
4205         * text2.C: paint cleanups. Inset::update() dropped font
4206         parameter
4207
4208 2003-03-19  John Levon  <levon@movementarian.org>
4209
4210         * lyxfunc.C: only fitcursor/markDirty if available()
4211
4212 2003-03-19  John Levon  <levon@movementarian.org>
4213
4214         * commandtags.h: rename to ...
4215
4216         * lfuns.h: ... this, and renumber / cleanup
4217
4218 2003-03-19  John Levon  <levon@movementarian.org>
4219
4220         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4221         fit the cursor after an lfun
4222
4223         * BufferView.h:
4224         * BufferView.C:
4225         * BufferView_pimpl.h:
4226         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4227
4228         * LyXAction.C: layout-character should have ReadOnly
4229
4230         * ParagraphParameters.C:
4231         * buffer.C:
4232         * bufferview_funcs.C:
4233         * lyx_cb.C:
4234         * lyxfind.C:
4235         * lyxtext.h:
4236         * text.C:
4237         * text2.C:
4238         * text3.C:
4239         * undo_funcs.C: changes from above
4240
4241 2003-03-18  John Levon  <levon@movementarian.org>
4242
4243         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4244         remove it from update()
4245
4246         * lyxfunc.C: update layout choice after an lfun
4247
4248         * text3.C: remove extra updateLayoutChoice()s
4249
4250 2003-03-18  John Levon  <levon@movementarian.org>
4251
4252         * text.C: top_y change means full repaint, fix
4253         a drawing bug with cursor movement
4254
4255 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * lyxtext.h:
4258         * text.C:
4259         * text2.C: anchor row on setCursor
4260
4261 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4262
4263         * lyxtext.h: remove almost all mutable keywords
4264         * text.C:
4265         * text2.C:
4266         * text3.C: remove const keywords accordingly
4267
4268 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4271         anon namespace
4272         (TeXEnvironment): ditto
4273         (TeXOnePar): ditto
4274
4275 2003-03-17  John Levon  <levon@movementarian.org>
4276
4277         * text.C (rowBreakPoint): remove attempt to fix displayed
4278         math insets inside a manual label
4279
4280 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * lyxtext.h: remove BufferView* as first arg from almost all class
4283         functions.
4284         * other files: adjust.
4285
4286 2003-03-17  John Levon  <levon@movementarian.org>
4287
4288         * lyxtext.h:
4289         * undo_funcs.C:
4290         * text2.C: more paint cleanups
4291
4292         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4293
4294         * rowpainter.h:
4295         * rowpainter.C: remove "smart" background painting code
4296
4297 2003-03-16  John Levon  <levon@movementarian.org>
4298
4299         * lyxtext.h:
4300         * text.C:
4301         * text2.C:
4302         * text3.C: add helper functions for setting refresh_row/y
4303
4304 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4305
4306         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4307         newline inset which *can* get inserted in the pass_thru layouts.
4308         This is primarily for literate documents.
4309
4310 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4311
4312         * buffer.C: increment LYX_FORMAT to 223
4313
4314 2003-03-14 André Pönitz <poenitz@gmx.net>
4315
4316         * textclass.h: prepare for environment handling, ws changes
4317         * lyxlayout.C: read latexheader and latexfooter tags
4318
4319 2003-03-14  John Levon  <levon@movementarian.org>
4320
4321         * text2.C: rewrite ::status() a bit
4322
4323 2003-03-13  John Levon  <levon@movementarian.org>
4324
4325         * lyxtext.h: add some docs
4326
4327 2003-03-13  John Levon  <levon@movementarian.org>
4328
4329         * lyxtext.h:
4330         * text.C:
4331         * text2.C:
4332         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4333
4334 2003-03-13  John Levon  <levon@movementarian.org>
4335
4336         * text3.C: fix appendix redrawing
4337
4338 2003-03-13  John Levon  <levon@movementarian.org>
4339
4340         * text.C (setHeightOfRow):
4341         * rowpainter.h:
4342         * rowpainter.C: make appendix mark have the text
4343           "Appendix" so the user knows what it is
4344
4345         * LColor.h:
4346         * LColor.C: s/appendixline/appendix/ from above
4347
4348 2003-03-13  John Levon  <levon@movementarian.org>
4349
4350         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4351
4352         * text.C: fix a getChar(pos) bug properly
4353
4354 2003-03-13  Angus Leeming  <leeming@lyx.org>
4355
4356         * commandtags.h:
4357         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4358         Probably only temporary. Let's see how things pan out.
4359
4360         * BufferView.C (unlockInset):
4361         * BufferView_pimpl.C (fitCursor):
4362         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4363
4364         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4365         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4366
4367         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4368         new functions that convert ParagraphParameters to and from a string.
4369
4370         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4371         BufferView::Pimpl's dispatch.
4372         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4373
4374 2003-03-13 André Pönitz <poenitz@gmx.net>
4375
4376         * lyxfunc.C:
4377         * text3.C:
4378         * factory.C: make it aware of InsetEnv
4379
4380 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * text2.C (setCursor): never ask for one past last
4383         (setCursor): add some debugging messages.
4384
4385         * text.C (singleWidth): never ask for one past last
4386         (singleWidth): ditto
4387         (leftMargin): ditto
4388         (rightMargin): ditto
4389         (rowBreakPoint): ditto
4390         (setHeightOfRow): ditto
4391         (prepareToPrint): ditto
4392
4393         * rowpainter.C (paintBackground): never ask for one past last
4394         (paintText): never ask for one past last
4395
4396         * paragraph_pimpl.C (getChar): make the assert stricter, never
4397         allow the one past last pos to be taken
4398
4399         * paragraph.C (getChar): ws changes only
4400
4401         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4402         (numberOfSeparators): ditto
4403         (numberOfHfills): ditto
4404
4405 2003-03-12  John Levon  <levon@movementarian.org>
4406
4407         * author.h:
4408         * author.C:
4409         * bufferparams.h:
4410         * bufferparams.C:
4411         * paragraph_funcs.C: fix per-buffer authorlists
4412
4413 2003-03-12  John Levon  <levon@movementarian.org>
4414
4415         * text.C: fix newline in right address
4416
4417 2003-03-12  Angus Leeming  <leeming@lyx.org>
4418
4419         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4420         duplicate those in LyXFunc::dispatch.
4421
4422         * commandtags.h:
4423         * LyXAction.C:
4424         * ToolbarDefaults.C:
4425         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4426         Add LFUN_FONTFREE_UPDATE.
4427
4428         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4429         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4430
4431         * bufferview_func.[Ch]: several new functions to facilliate
4432         transfer of data to and from the character dialog.
4433
4434 2003-03-12  John Levon  <levon@movementarian.org>
4435
4436         * buffer.C:
4437         * paragraph.h:
4438         * paragraph.C:
4439         * paragraph_funcs.C:
4440         * paragraph_pimpl.C:
4441         * sgml.C:
4442         * tabular.C:
4443         * text.C:
4444         * text3.C: remove META_NEWLINE in favour of an inset
4445
4446         * rowpainter.h:
4447         * rowpainter.C: remove paintNewline (done by inset)
4448
4449 2003-03-12  John Levon  <levon@movementarian.org>
4450
4451         * paragraph_pimpl.C: complain about bad getChar()s
4452         for a while at least
4453
4454 2003-03-12  John Levon  <levon@movementarian.org>
4455
4456         * buffer.h:
4457         * buffer.C: move paragraph read into a separate function,
4458         a little renaming to reflect that.
4459
4460         * bufferparams.h:
4461         * bufferparams.C: remove the author_ids map, not necessary now
4462
4463         * factory.h:
4464         * factory.C: moved Buffer::readInset to here
4465
4466         * paragraph_funcs.h:
4467         * paragraph_funcs.C: readParagraph free function moved from
4468         buffer.C
4469
4470         * tabular.C: name change
4471
4472 2003-03-12  John Levon  <levon@movementarian.org>
4473
4474         * buffer.C:
4475         * ParagraphParameters.C: move par params input to
4476         a read() method
4477
4478         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4479         behave like a normal read from the stream wrt reading
4480         a line vs. a \\token
4481
4482 2003-03-12  John Levon  <levon@movementarian.org>
4483
4484         * paragraph.C:
4485         * ParagraphParameters.h:
4486         * ParagraphParameters.C: move output code to a
4487         ::write() method
4488
4489 2003-03-12  John Levon  <levon@movementarian.org>
4490
4491         * BufferView.C (insertLyXFile):
4492         * buffer.h:
4493         * buffer.C:
4494         * tabular.C: use a parlist iterator for creating the
4495           document.
4496
4497 2003-03-12  John Levon  <levon@movementarian.org>
4498
4499         * buffer.C: make current_change static local not
4500           static file-scope
4501
4502 2003-03-12  John Levon  <levon@movementarian.org>
4503
4504         * buffer.C: fix insertStringAsLines for change tracking
4505
4506 2003-03-12  John Levon  <levon@movementarian.org>
4507
4508         * BufferView.C:
4509         * tabular.C:
4510         * buffer.h:
4511         * buffer.C:
4512         * bufferparams.h:
4513         * bufferparams.C: move author list into params. Rename some
4514           functions. Move the header reading into a separate token
4515           loop. Move the header token reading into BufferParams.
4516
4517 2003-03-12  John Levon  <levon@movementarian.org>
4518
4519         * changes.C: put debug inside lyxerr.debugging() checks
4520
4521 2003-03-11 André Pönitz <poenitz@gmx.net>
4522
4523         * factory.C: make it aware of InsetHFill
4524
4525 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4526
4527         * buffer.C (latexParagraphs): move function from here...
4528         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4529         args.
4530
4531 2003-03-10  Angus Leeming  <leeming@lyx.org>
4532
4533         * LyXAction.C (init): fix bug in poplating array with multiple entries
4534         with the same LFUN (spotted by JMarc).
4535
4536 2003-03-10  John Levon  <levon@movementarian.org>
4537
4538         * text.C:
4539         * text2.C: move getColumnNearX() near its
4540         only call site
4541
4542 2003-03-10  John Levon  <levon@movementarian.org>
4543
4544         * text.C: fix break before a minipage
4545
4546 2003-03-10  John Levon  <levon@movementarian.org>
4547
4548         * text.C: fix the last commit
4549
4550 2003-03-09  John Levon  <levon@movementarian.org>
4551
4552         * lyxtext.h:
4553         * text.C:
4554         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4555         bug 365 (don't break before insets unless needed). Don't
4556         return a value > last under any circumstances.
4557
4558 2003-03-09  Angus Leeming  <leeming@lyx.org>
4559
4560         * BufferView_pimpl.C (trackChanges, dispatch): call
4561         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4562
4563 2003-03-09  Angus Leeming  <leeming@lyx.org>
4564
4565         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4566         than Dialogs::showAboutlyx().
4567
4568 2003-03-09  Angus Leeming  <leeming@lyx.org>
4569
4570         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4571         than Dialogs::showTabularCreate().
4572
4573 2003-03-09  John Levon  <levon@movementarian.org>
4574
4575         * lyxtext.h:
4576         * text.C:
4577         * text2.C: 3rd arg to nextBreakPoint was always the same.
4578           Use references.
4579
4580 2003-03-08  John Levon  <levon@movementarian.org>
4581
4582         * lyxrow.C:
4583         * paragraph.C:
4584         * paragraph.h:
4585         * rowpainter.C:
4586         * text.C:
4587         * text2.C: Remove the "main" bit from the "main body"
4588           notion.
4589
4590 2003-03-08  John Levon  <levon@movementarian.org>
4591
4592         * text.C (leftMargin): The left margin of an empty
4593         manual label paragraph should not include the label width
4594         string length.
4595
4596         * text.C (prepareToPrint): don't attempt to measure hfills
4597         for empty manual label paragraphs - the answer should be 0
4598
4599 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4600
4601         * CutAndPaste.C: remove commented code and reindent.
4602
4603 2003-03-08  John Levon  <levon@movementarian.org>
4604
4605         * lyxfunc.h:
4606         * lyxfunc.C: move reloadBuffer()
4607
4608         * BufferView.h:
4609         * BufferView.C: to here
4610
4611         * lyxvc.C: add comment
4612
4613         * vc-backend.h:
4614         * vc-backend.C: call bv->reload() to avoid
4615           getStatus() check on MENURELOAD
4616
4617 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4618
4619         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4620         to an old format .dep file.
4621
4622 2003-03-07  Angus Leeming  <leeming@lyx.org>
4623
4624         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4625         when the LFUN_MOUSE_RELEASE should have been handled by
4626         inset->localDispatch.
4627
4628 2003-03-07  Angus Leeming  <leeming@lyx.org>
4629
4630         * BufferView_pimpl.C (dispatch):
4631         * LyXAction.C (init):
4632         * ToolbarDefaults.C (init):
4633         * commandtags.h:
4634         * lyxfunc.C (getStatus):
4635         remove LFUN_INSET_GRAPHICS.
4636
4637         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4638
4639 2003-03-07  Angus Leeming  <leeming@lyx.org>
4640
4641         * commandtags.h:
4642         * LyXAction.C (init):
4643         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4644
4645         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4646
4647         * commandtags.h:
4648         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4649
4650         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4651         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4652
4653 2003-03-07  Angus Leeming  <leeming@lyx.org>
4654
4655         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4656         remove "ert".
4657
4658 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4659
4660         * ParagraphList.C (front): new function
4661         (back): implement
4662
4663 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4666         and top_row_offset_. removed var first_y.
4667         * text.C (top_y):
4668         * text2.C (LyXText, removeRow):
4669         * text3.C:
4670         * BufferView_pimpl.C:
4671         use these methods instead of using first_y
4672
4673 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * text2.C (pasteSelection): adjust for checkPastePossible
4676
4677         * CutAndPaste.C: remove Paragraph * buf and replace with
4678         ParagraphList paragraphs.
4679         (DeleteBuffer): delete
4680         (cutSelection): change the tc type to textclass_type
4681         (copySelection): change the tc type to textclass_type
4682         (copySelection): adjust for ParagraphList
4683         (pasteSelection): change the tc type to textclass_type
4684         (pasteSelection): adjust for Paragraphlist
4685         (nrOfParagraphs): simplify for ParagraphList
4686         (checkPastePossible): simplify for ParagraphList
4687         (checkPastePossible): remove unused arg
4688
4689         * ParagraphList.C (insert): handle the case where there are no
4690         paragraphs yet.
4691
4692         * CutAndPaste.h: make CutAndPaste a namespace.
4693
4694         * text3.C (dispatch): adjust
4695
4696         * text.C (breakParagraph): add a ParagraphList as arg
4697
4698         * paragraph_funcs.C (breakParagraph): change to take a
4699         BufferParams and a ParagraphList as args.
4700         (breakParagraphConservative): ditto
4701         (mergeParagraph): ditto
4702         (TeXDeeper): add a ParagraphList arg
4703         (TeXEnvironment): ditto
4704         (TeXOnePar): ditto
4705
4706         * buffer.C (readLyXformat2): adjust
4707         (insertStringAsLines): adjust
4708         (latexParagraphs): adjust
4709
4710         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4711         (cutSelection): adjust
4712         (pasteSelection): adjust
4713
4714         * BufferView_pimpl.C (insertInset): adjust
4715
4716 2003-03-05  Angus Leeming  <leeming@lyx.org>
4717
4718         * commandtags.h:
4719         * LyXAction.C (init):
4720         * BufferView_pimpl.C (dispatch):
4721         * lyxfunc.C (getStatus):
4722         remove LFUN_CHILD_INSERT.
4723
4724         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4725
4726 2003-03-05  Angus Leeming  <leeming@lyx.org>
4727
4728         * commandtags.h:
4729         * LyXAction.C (init):
4730         * src/factory.C (createInset):
4731         * lyxfunc.C (getStatus):
4732         * text3.C (dispatch):
4733         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4734
4735         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4736
4737 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * ParagraphList.C (insert): handle insert right before end()
4740         (erase): fix cases where it can be first or last paragraph.
4741
4742 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4745         Paragraph::next and Paragraph::previous
4746         (TeXOnePar): ditto
4747
4748         * text.C (breakParagraph): adjust
4749
4750         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4751         BufferParams& as arg.
4752         (breakParagraph): use ParagraphList::insert
4753         (breakParagraphConservative): take a Buffer* instead of a
4754         BufferParams& as arg.
4755         (breakParagraphConservative): use ParagraphList::insert.
4756
4757         * buffer.C (insertStringAsLines): un-const it
4758         (insertStringAsLines): adjust
4759
4760         * ParagraphList.C (insert): new function
4761
4762         * CutAndPaste.C (pasteSelection): adjust
4763
4764         * text.C (backspace): adjust
4765
4766         * tabular.C (SetMultiColumn): adjust
4767
4768         * CutAndPaste.C (cutSelection): adjust
4769         (pasteSelection): adjust
4770
4771         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4772         Buffer const * as arg
4773
4774         * ParagraphList.C (erase): new function
4775         * paragraph_funcs.C (mergeParagraph): use it
4776         (mergeParagraph): make it take a Buffer* instead of a
4777         BufferParams* as arg
4778
4779         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4780         as arg
4781         (breakParagraphConservative): ditto
4782
4783         * paragraph.h: remove the breakParagraph friend
4784
4785         * paragraph.C (eraseIntern): new function
4786         (setChange): new function
4787
4788         * paragraph_funcs.C (mergeParagraph): make it take a
4789         ParagraphList::iterator instead of a Paragraph *, adjust
4790         accordingly.
4791
4792         * paragraph.h: move an #endif so that the change tracking stuff
4793         also works in the NO_NEXT case.
4794
4795 2003-03-04  Angus Leeming  <leeming@lyx.org>
4796
4797         * commandtags.h:
4798         * LyXAction.C: new LFUN_INSET_MODIFY.
4799
4800         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4801         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4802
4803 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * several files: ws changes only
4806
4807         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4808         (TeXEnvironment): ditto
4809         (TeXDeeper): ditto
4810
4811         * buffer.C (makeLaTeXFile): adjust
4812         (latexParagraphs): make it take ParagraphList::iterator as args
4813
4814 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * buffer.C (latexParagraphs): adjust
4817
4818         * paragraph.C (TeXOnePar): move function...
4819         (optArgInset): move function...
4820         (TeXEnvironment): move function...
4821         * paragraph_pimpl.C (TeXDeeper): move function...
4822         * paragraph_funcs.C: ...here
4823
4824         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4825
4826 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * buffer.C (readInset): remove compability code for old Figure and
4829         InsetInfo insets
4830
4831 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * buffer.C: ws changes
4834         (readInset):
4835
4836         * BufferView_pimpl.C: ditto
4837         * author.C: ditto
4838         * buffer.h: ditto
4839         * bufferlist.h: ditto
4840         * changes.h: ditto
4841         * lyxfunc.C: ditto
4842
4843 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4844
4845         * converter.[Ch]: split into itself +
4846         * graph.[Ch]
4847         * format.[Ch]
4848         * Makefile.am: += graph.[Ch] + format.[Ch]
4849         * MenuBackend.C
4850         * buffer.C
4851         * exporter.C
4852         * importer.C
4853         * lyx_main.C
4854         * lyxfunc.C
4855         * lyxrc.C: added #include "format.h"
4856
4857 2003-02-27  Angus Leeming  <leeming@lyx.org>
4858
4859         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4860           a label.
4861
4862         * factory.C (createInset): add "label" to the factory.
4863
4864         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4865           string and do no more.
4866
4867 2003-02-27  Angus Leeming  <leeming@lyx.org>
4868
4869         * commandtags.h:
4870         * LyXAction.C (init):
4871         * factory.C (createInset):
4872         * BufferView_pimpl.C (dispatch):
4873           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4874
4875         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4876
4877         * lyxfunc.C (dispatch):
4878         * text3.C (dispatch): pass name to params2string.
4879
4880 2003-02-26  Angus Leeming  <leeming@lyx.org>
4881
4882         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4883           blocks together.
4884           Rearrange the ~includes. Strip out the unnecessary ones.
4885
4886         * factory.C (createInset): reformat.
4887           create new insets for the various LFUN_XYZ_APPLY lfuns.
4888
4889 2003-02-26  John Levon  <levon@movementarian.org>
4890
4891         * lyxrow.h:
4892         * lyxrow.C: add isParStart,isParEnd helpers
4893
4894         * paragraph.h: make isInserted/DeletedText take refs
4895
4896         * paragraph_funcs.h:
4897         * paragraph_funcs.C: remove #if 0'd code
4898
4899         * lyxtext.h:
4900         * text3.C:
4901         * text2.C:
4902         * text.C: use lyxrow helpers above.
4903           Move draw and paint routines to RowPainter.
4904           Make several methods use refs not pointers.
4905           Make backgroundColor() const.
4906           Add markChangeInDraw(), isInInset().
4907           Merge changeRegionCase into changeCase.
4908           Make workWidth() shouldn't-happen code into an Assert.
4909
4910         * rowpainter.h:
4911         * rowpainter.C: new class for painting a row.
4912
4913         * vspace.h:
4914         * vspace.C: make inPixels take a ref
4915
4916 2003-02-26  Angus Leeming  <leeming@lyx.org>
4917
4918         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4919         LFUN_REF_APPLY.
4920
4921 2003-02-25  John Levon  <levon@movementarian.org>
4922
4923         * ispell.C: give the forked command a more accurate name
4924
4925 2003-02-22  John Levon  <levon@movementarian.org>
4926
4927         * toc.h:
4928         * toc.C: make TocItem store an id not a Paragraph *
4929           (bug #913)
4930
4931 2003-02-21  Angus Leeming  <leeming@lyx.org>
4932
4933         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4934           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4935           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4936           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4937           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4938           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4939
4940         * BufferView_pimpl.C (dispatch):
4941         * LyXAction.C (init):
4942         * factory.C (createInset):
4943         * lyxfunc.C (getStatus, dispatch):
4944         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4945
4946 2003-02-21  Angus Leeming  <leeming@lyx.org>
4947
4948         * BufferView_pimpl.C (MenuInsertLyXFile):
4949         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4950         * lyxfunc.C (menuNew, open, doImport):
4951           no longer pass a LyXView & to fileDlg.
4952
4953 2003-02-21  Angus Leeming  <leeming@lyx.org>
4954
4955         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4956         * LyXAction.C: change, BIBKEY to BIBITEM.
4957         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4958         Change InsetBibKey to InsetBibitem.
4959         Change BIBKEY_CODE to BIBITEM_CODE.
4960         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4961         * factory.C: replace insetbib.h with insetbibitem.h.
4962         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4963         * paragraph.C: replace insetbib.h with insetbibitem.h.
4964         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4965         Change bibkey() to bibitem().
4966         * text.C: remove insetbib.h.
4967         * text2.C: replace insetbib.h with insetbibitem.h.
4968         change bibkey() to bibitem().
4969         * text3.C: remove insetbib.h.
4970         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4971
4972 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4973
4974         * lyxrc.C (output): enclose user email in quotes (in case there are
4975         several words)
4976
4977 2003-02-18  John Levon  <levon@movementarian.org>
4978
4979         * buffer.h: add std::
4980
4981 2003-02-17  John Levon  <levon@movementarian.org>
4982
4983         * SpellBase.h:
4984         * ispell.h:
4985         * ispell.C:
4986         * pspell.h:
4987         * pspell.C: reworking. Especially in ispell, a large
4988           number of clean ups and bug fixes.
4989
4990         * lyxfunc.C: fix revert to behave sensibly
4991
4992 2003-02-17 André Pönitz <poenitz@gmx.net>
4993
4994         * LyXAction.C:
4995         * commandtags.h: new LFUN_INSERT_BIBKEY
4996
4997         * layout.h:
4998         * lyxlayout.C:
4999         * buffer.C:
5000         * factory.C:
5001         * text.C:
5002         * text2.C:
5003         * text3.C:
5004         * paragraph.[Ch]:
5005         * paragraph_func.C: remove special bibkey handling
5006
5007 2003-02-17  John Levon  <levon@movementarian.org>
5008
5009         * text.C (Delete): fix case where delete at the end of
5010           the very first paragraph would not merge the pars
5011
5012 2003-02-17  John Levon  <levon@movementarian.org>
5013
5014         * lyxrow.C: fix lastPrintablePos()
5015
5016 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5017
5018         * bufferparams.C (writeLaTeX): add a std:here
5019
5020         * buffer.C: and remove a using directive there
5021
5022 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5023
5024         * buffer.C (makeLaTeXFile): move the code that generates the
5025           preamble...
5026
5027         * bufferparams.C (writeLaTeX): ... in this new method
5028
5029         * LaTeXFeatures.C (getEncodingSet): make const
5030           (getLanguages): make const
5031
5032         * MenuBackend.C (binding): returns the binding associated to this
5033           action
5034           (add): sets the status of each item by calling getStatus. Adds
5035           some intelligence.
5036           (read): add support for OptSubMenu
5037           (expand): remove extra separator at the end of expanded menu
5038
5039 2003-02-15  John Levon  <levon@movementarian.org>
5040
5041         * BufferView.C:
5042         * BufferView_pimpl.C:
5043         * bufferlist.h:
5044         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5045           inset code that had no actual effect. Remove unneeded status
5046           code.
5047
5048 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5049
5050         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5051           in preamble
5052
5053 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5054
5055         * text.C (drawLengthMarker): also draw an arrow marker for
5056           symbolic lengths (medskip...)
5057
5058 2003-02-14  John Levon  <levon@movementarian.org>
5059
5060         * tabular.h:
5061         * tabular.C: better method names
5062
5063 2003-02-14  John Levon  <levon@movementarian.org>
5064
5065         * BufferView_pimpl.C:
5066         * bufferlist.C:
5067         * buffer.C:
5068         * converter.C:
5069         * lyx_cb.C:
5070         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5071           it's a more accurate name. Remove some pointless uses.
5072
5073 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5074
5075         * text2.C (LyXText): change order of initilizers to shut off
5076           warnings
5077
5078 2003-02-14  John Levon  <levon@movementarian.org>
5079
5080         * buffer.C: use ParIterator for getParFromID()
5081
5082         * paragraph.h:
5083         * paragraph.C:
5084         * paragraph_pimpl.h:
5085         * paragraph_pimpl.C: remove unused getParFromID()
5086
5087 2003-02-14  John Levon  <levon@movementarian.org>
5088
5089         * buffer.C: remove some very old #if 0'd parse code
5090
5091 2003-02-13  John Levon  <levon@movementarian.org>
5092
5093         * text.h:
5094         * text.C:
5095         * text2.C: move hfillExpansion(), numberOfSeparators(),
5096           rowLast(), rowLastPrintable(), numberofHfills(),
5097           numberOfLabelHfills() ...
5098
5099         * lyxrow.h:
5100         * lyxrow.C: ... to member functions here.
5101
5102         * paragraph.h:
5103         * paragraph.C:
5104         * lyxtext.h:
5105         * text.C: remove LyXText::beginningOfMainBody(), and call
5106           p->beginningOfMainBody() directly. Move the check for
5107           LABEL_MANUAL into the latter.
5108
5109         * text.h:
5110         * text.C:
5111         * text2.C:
5112         * vspace.C:
5113         * BufferView.h:
5114         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5115
5116         * text.h:
5117         * text.C:
5118         * text2.C:
5119         * text3.C:
5120         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5121           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5122
5123 2003-02-13  John Levon  <levon@movementarian.org>
5124
5125         * CutAndPaste.C: remove debug
5126
5127 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5128
5129         * paragraph.C (asString): remove two unused variables
5130
5131         * lyxtextclass.C (readTitleType):
5132           (Read):
5133           (LyXTextClass): handle new members titletype_ and titlename_
5134
5135         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5136
5137 2003-02-09  John Levon  <levon@movementarian.org>
5138
5139         * buffer.h:
5140         * buffer.C: replace hand-coded list with a map for the dep clean
5141
5142 2003-02-08  John Levon  <levon@movementarian.org>
5143
5144         * LaTeX.C: consolidate code into showRunMessage() helper
5145
5146 2003-02-08  John Levon  <levon@movementarian.org>
5147
5148         * lyxfind.C:
5149         * lyxtext.h:
5150         * text2.C:
5151         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5152           and pass the size in explicitly
5153
5154         * BufferView_pimpl.h:
5155         * BufferView_pimpl.C:
5156         * BufferView.h:
5157         * BufferView.C: add getCurrentChange()
5158
5159         * BufferView_pimpl.h:
5160         * BufferView_pimpl.C: handle change lfuns
5161
5162         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5163           for changes. Mark pasted paragraphs as new.
5164
5165         * support/lyxtime.h:
5166         * support/lyxtime.C:
5167         * DepTable.C: abstract time_t as lyx::time_type
5168
5169         * LColor.h:
5170         * LColor.C: add colours for new text, deleted text, changebars
5171
5172         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5173           package use "usenames" option.
5174
5175         * commandtags.h:
5176         * lyxfunc.C:
5177         * LyXAction.C: add change lfuns
5178
5179         * Makefile.am:
5180         * author.h:
5181         * author.C: author handling
5182
5183         * buffer.h:
5184         * buffer.C: add a per-buffer author list, with first entry as
5185           current author. Handle new .lyx tokens for change tracking. Output
5186           author list to .lyx file. Output dvipost stuff to .tex preamble.
5187           Bump lyx format to 222.
5188
5189         * bufferlist.h:
5190         * bufferlist.C: add setCurrentAuthor() to reset current author details
5191           in all buffers.
5192
5193         * bufferparams.h:
5194         * bufferparams.C: add param for tracking
5195
5196         * bufferview_funcs.C: output change info in minibuffer
5197
5198         * Makefile.am:
5199         * changes.h:
5200         * changes.C: add change-tracking structure
5201
5202         * debug.h:
5203         * debug.C: add CHANGES debug flag
5204
5205         * lyxfind.h:
5206         * lyxfind.C: add code for finding the next change piece
5207
5208         * lyxrc.h:
5209         * lyxrc.C: add user_name and user_email
5210
5211         * lyxrow.h:
5212         * lyxrow.C: add a metric for the top of the text line
5213
5214         * lyxtext.h:
5215         * text.C: implement accept/rejectChange()
5216
5217         * lyxtext.h:
5218         * text.C: paint changebars. Paint new/deleted text in the chosen
5219         colours. Strike through deleted text.
5220
5221         * paragraph.h:
5222         * paragraph.C:
5223         * paragraph_pimpl.h:
5224         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5225           in the current change to the insert functions. Rework erase to
5226           mark text as deleted, adding an eraseIntern() and a range-based
5227           erase(). Implement per-paragraph change lookup and
5228           accept/reject.
5229
5230         * paragraph_funcs.C: Fixup paste for change tracking.
5231
5232         * tabular.C: mark added row/columns as new.
5233
5234         * text.C: fix rowLast() to never return -1. Don't allow
5235           spellchecking of deleted text. Track transpose changes. Don't
5236           allow paragraph break or merge where appropriate.
5237
5238         * text2.C: leave cursor at end of selection after a cut.
5239
5240 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5241
5242         * text.C (getLengthMarkerHeight):
5243         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5244         visible on screen too.
5245
5246 2003-02-07  John Levon  <levon@movementarian.org>
5247
5248         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5249
5250 2003-02-05  Angus Leeming  <leeming@lyx.org>
5251
5252         * lyxserver.C (read_ready): revert my patch of 11 September last year
5253         as it sends PC cpu through the roof. Presumably this means that
5254         the lyxserver will no longer run on an Alpha...
5255
5256 2003-01-30  Angus Leeming  <leeming@lyx.org>
5257
5258         * factory.C (createInset): create an InsetCommandParam of type "index"
5259         and use it to 'do the right thing'.
5260
5261         * text2.C (getStringToIndex): ensure that cursor position is always
5262         reset to the reset_cursor position.
5263
5264 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5265
5266         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5267         disabled.
5268
5269 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5270
5271         * bufferview.C:
5272         * lyxcb.C:
5273         * lyxfunc.C: Output messages with identical spelling, punctuation,
5274         and spaces
5275
5276 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5277
5278         * MenuBackend.C (expandFormats): List only viewable export formats
5279         in "View" menu
5280
5281         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5282         message
5283
5284         * lyxfunc.C (getStatus): Make sure that formats other than
5285         "fax" can also be disabled
5286
5287 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5288
5289         * text3.C (dispatch): put the lfuns that insert insets in 3
5290         groups, and call doInsertInset with appropriate arguments.
5291         (doInsertInset): new function, that creates an inset and inserts
5292         it according to some boolean parameters.
5293
5294 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * buffer.C (readFile): remember to pass on 'par' when calling
5297         readFile recursively.
5298
5299 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5300
5301         * MenuBackend.C (expandFormats): add "..." to import formats.
5302
5303 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5304
5305         * paragraph.C (asString): Remove XForms RTL hacks.
5306
5307 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5308         * buffer.C: fix typo
5309
5310 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * Makefile.am (LIBS): delete var
5313         (lyx_LDADD): add @LIBS@ here instead.
5314
5315 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5316
5317         * Clarify the meaning of "wheel mouse jump"
5318
5319 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5320
5321         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5322         tabular in a float
5323
5324 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5325
5326         * importer.C (Loaders): do not preallocate 3 elements in the
5327         vector, since one ends up with 6 elements otherwise
5328
5329 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5330
5331         * DepTable.C (write): write the file name as last element of the
5332         .dep file (because it may contain spaces)
5333         (read): read info in the right order
5334
5335 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5336
5337         * paragraph_pimpl.C (simpleTeXBlanks):
5338         (simpleTeXSpecialChars):
5339         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5340
5341         * tabular.C (latex): add some missing case statements. Reindent.
5342
5343         * MenuBackend.C (expandToc): remove unused variable.
5344
5345 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5346
5347         * LColor.C:
5348         * LaTeX.C:
5349         * LyXAction.C:
5350         * MenuBackend.C:
5351         * buffer.C:
5352         * exporter.C:
5353         * lyxfunc.C:
5354         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5355         and the like.
5356
5357 2003-01-05  John Levon  <levon@movementarian.org>
5358
5359         * BufferView.h:
5360         * BufferView.C: add getEncoding()
5361
5362         * kbsequence.h:
5363         * kbsequence.C: do not store last keypress
5364
5365         * lyxfunc.h:
5366         * lyxfunc.C: store last keypress here instead. Pass encoding
5367           to getISOEncoded()
5368
5369 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5370
5371         * lyx_main.C (init): remove annoying error message when following
5372         symbolic links (bug #780)
5373
5374 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5375
5376         * text.C (insertChar):
5377         * lyxrc.C (getDescription): remove extra spaces
5378
5379 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5380
5381         * lyxrc.C (getDescription): remove extra spaces
5382
5383 2002-12-20  John Levon  <levon@movementarian.org>
5384
5385         * text3.C: hack fix for page up/down across tall rows
5386
5387 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5388
5389         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5390         not been invoked
5391
5392 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5393
5394         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5395         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5396         thesaurus is not compiled in
5397
5398 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5399
5400         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5401
5402 2002-12-16  Angus Leeming  <leeming@lyx.org>
5403
5404         * lyxrc.[Ch]:
5405         * lyx_main.C (init): remove override_x_deadkeys stuff.
5406
5407 2002-12-12  John Levon  <levon@movementarian.org>
5408
5409         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5410           insert. Only remove shift modifier under strict
5411           circumstances.
5412
5413 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * MenuBackend.C (expandToc): fix crash.
5416
5417 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * MenuBackend.C (expandToc): gettext on float names.
5420
5421 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5422
5423         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5424         implement bool empty() [bug 490]
5425
5426 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5429
5430 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * several files: ws changes
5433
5434 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * text2.C (setCounter): clean up a bit, use boost.format.
5437         (updateCounters): initialize par upon declaration.
5438
5439         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5440         if the layout exists. We do not just store the layout any more.
5441         (SwitchLayoutsBetweenClasses): use boost.format
5442
5443 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5444
5445         * converter.C (convert): if from and to files are the same, use a
5446         temporary files as intermediary
5447
5448 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5449
5450         * commandtags.h:
5451         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5452
5453 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5454
5455         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5456
5457 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * tabular.C (asciiPrintCell): use string(size, char) instead of
5460         explicit loop.
5461
5462         * sgml.C (openTag): fix order of arguments to string constructor
5463         (closeTag): ditto
5464
5465         * lyxfunc.C (dispatch): use boost.format
5466
5467         * lots of files: change "c" -> 'c'
5468
5469 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5470
5471         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5472
5473 2002-11-25  Angus Leeming  <leeming@lyx.org>
5474
5475         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5476
5477         * lyx_main.C (init): compile fix.
5478
5479 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * lyx_cb.C (start): boost.formatify
5482         do not include <iostream>
5483
5484         * lengthcommon.C: ws only
5485
5486         * boost-inst.C,BoostFormat.h: add more explict instantations
5487
5488 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * lots of files: handle USE_BOOST_FORMAT
5491
5492 2002-11-21  John Levon  <levon@movementarian.org>
5493
5494         * pspell.C: fix compile
5495
5496 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5497
5498         * lyxfunc.C (dispatch): use boost::format
5499         (open): ditto
5500         (doImport): ditto
5501
5502         * lyxfont.C (stateText): use boost::format
5503
5504         * lyx_main.C (LyX): use boost::format
5505         (init): ditto
5506         (queryUserLyXDir): ditto
5507         (readRcFile): ditto
5508         (parse_dbg): ditto
5509         (typedef boost::function): use the recommened syntax.
5510
5511         * importer.C (Import): use boost::format
5512
5513         * debug.C (showLevel): use boost::format
5514
5515         * converter.C (view): use boost::format
5516         (convert): ditto
5517         (move): ditto
5518         (scanLog): ditto
5519
5520         * bufferview_funcs.C (currentState): use boost::format
5521
5522         * bufferlist.C (emergencyWrite): use boost::format
5523
5524         * buffer.C (readLyXformat2): use boost::format
5525         (parseSingleLyXformat2Token): ditto
5526
5527         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5528
5529         * LaTeX.C (run): use boost::format
5530
5531         * Chktex.C (scanLogFile): use boost::format
5532
5533         * BufferView_pimpl.C (savePosition): use boost::format
5534         (restorePosition): ditto
5535         (MenuInsertLyXFile): ditto
5536
5537         * BoostFormat.h: help file for explicit instation.
5538
5539 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5540
5541         * tabular.C (latex): Support for block alignment in fixed width
5542         columns.
5543
5544 2002-11-17  John Levon  <levon@movementarian.org>
5545
5546         * BufferView_pimpl.C:
5547         * lyx_cb.C:
5548         * lyxfunc.C: split filedialog into open/save
5549
5550 2002-11-08  Juergen Vigna  <jug@sad.it>
5551
5552         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5553         by my last patch (hopefully).
5554
5555 2002-11-08  John Levon  <levon@movementarian.org>
5556
5557         * iterators.h:
5558         * iterators.C:
5559         * buffer.h:
5560         * buffer.C:
5561         * paragraph.h:
5562         * paragraph.C:
5563         * toc.h:
5564         * toc.C: ParConstIterator, and use it (from Lars)
5565
5566 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5567
5568         * lyxtextclass.[Ch]: revise and add doxygen comments
5569
5570 2002-11-07  John Levon  <levon@movementarian.org>
5571
5572         * text.C: fix progress value for spellchecker
5573
5574         * toc.C: fix navigate menu for insetwrap inside minipage
5575
5576         * paragraph_funcs.C: added FIXME for suspect code
5577
5578 2002-11-07  John Levon  <levon@movementarian.org>
5579
5580         * BufferView_pimpl.C: fix redrawing of insets
5581           on buffer switch
5582
5583 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5584
5585         * text2.C (updateCounters): fix bug 668
5586
5587 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5588
5589         * text3.C (dispatch): Do not make the buffer dirty when moving the
5590         cursor.
5591
5592 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * vc-backend.C: STRCONV
5595         (scanMaster): ditto
5596
5597         * text2.C (setCounter): STRCONV
5598
5599         * paragraph.C (asString): STRCONV
5600
5601         * lyxlength.C (asString): STRCONV
5602         (asLatexString): ditto
5603
5604         * lyxgluelength.C (asString): STRCONV
5605         (asLatexString): ditto
5606
5607         * lyxfunc.C (dispatch): STRCONV
5608         (open): ditto
5609
5610         * lyxfont.C (stateText): STRCONV
5611
5612         * importer.C (Import): STRCONV
5613
5614         * counters.C (labelItem): STRCONV
5615         (numberLabel): ditto
5616         (numberLabel): remove unused ostringstream o
5617
5618         * chset.C: STRCONV
5619         (loadFile): ditto
5620
5621         * bufferview_funcs.C (currentState): STRCONV
5622
5623         * buffer.C (readFile): STRCONV
5624         (asciiParagraph): ditto
5625         (makeLaTeXFile): ditto
5626
5627         * Spacing.C (writeEnvirBegin): STRCONV
5628
5629         * LaTeXFeatures.C (getLanguages): STRCONV
5630         (getPackages): ditto
5631         (getMacros): ditto
5632         (getBabelOptions): ditto
5633         (getTClassPreamble): ditto
5634         (getLyXSGMLEntities): ditto
5635         (getIncludedFiles): ditto
5636
5637         * LaTeX.C: STRCONV
5638         (run): ditto
5639         (scanAuxFile): ditto
5640         (deplog): ditto
5641
5642         * LString.h: add the STRCONV macros
5643
5644         * BufferView_pimpl.C (savePosition): STRCONV
5645         (restorePosition): ditto
5646         (MenuInsertLyXFile): ditto
5647
5648         * vc-backend.C (scanMaster): change from submatch[...] to
5649         submatch.str(...)
5650
5651         * funcrequest.C: include config.h
5652
5653         * factory.C: include config.h
5654
5655         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5656
5657         * box.C: include config.h
5658
5659         * LaTeX.C (scanAuxFile): change from submatch[...] to
5660         submatch.str(...)
5661         (deplog): ditto
5662
5663 2002-10-25  Angus Leeming  <leeming@lyx.org>
5664
5665         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5666
5667         * ispell.[Ch] (setError): new method.
5668         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5669         Use setError() insetead of goto END.
5670
5671         * lyx_cb.C (AutoSave): move out child process into new class
5672         AutoSaveBuffer.
5673
5674 2002-10-30  John Levon  <levon@movementarian.org>
5675
5676         * text3.C: make start appendix undoable
5677
5678 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5679
5680         * lyxlength.C (inPixels): Fix returned value.
5681
5682         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5683         environment.
5684
5685 2002-10-24  Angus Leeming  <leeming@lyx.org>
5686
5687         * lyxgluelength.h: no need to forward declare BufferParams
5688         or BufferView, so don't.
5689
5690 2002-10-21  John Levon  <levon@movementarian.org>
5691
5692         * BufferView.C: menuUndo ->undo, redo
5693
5694         * BufferView.h: document, remove dead, make some methods private
5695
5696         * paragraph_funcs.h:
5697         * paragraph_funcs.C:
5698         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5699
5700         * buffer.h:
5701         * buffer.C:
5702         * sgml.h:
5703         * sgml.C: move sgml open/close tag into sgml.C
5704
5705         * bufferview_funcs.h: unused prototype
5706
5707         * lyxfunc.h:
5708         * lyxfunc.C: remove unused
5709
5710         * lyxtext.h:
5711         * text.C: remove unused
5712
5713 2002-10-21  John Levon  <levon@movementarian.org>
5714
5715         * BufferView.h:
5716         * BufferView.C:
5717         * BufferView_pimpl.h:
5718         * BufferView_pimpl.C: fix mouse wheel handling based on
5719           patch from Darren Freeman
5720
5721 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5722
5723         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5724
5725 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5726
5727         * lyxlength.C (inPixels): Fix hanfling of negative length.
5728         Fix LyXLength::MU case.
5729
5730 2002-10-16  John Levon  <levon@movementarian.org>
5731
5732         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5733
5734 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5735
5736         * converter.C (view): add support for $$i (file name) and $$p
5737         (file path) for the viewer command. If $$i is not specified, then
5738         it is appended to the command (for compatibility with old syntax)
5739
5740 2002-10-14  Juergen Vigna  <jug@sad.it>
5741
5742         * undo_funcs.C (textHandleUndo): alter the order in which the
5743         new undopar is added to the LyXText, as we have to set first
5744         the right prev/next and then add it as otherwise the rebuild of
5745         LyXText is not correct. Also reset the cursor to the right paragraph,
5746         with this IMO we could remove the hack in "redoParagraphs()".
5747
5748 2002-10-09  Angus Leeming  <leeming@lyx.org>
5749
5750         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5751         to turn off an optimisation if a new inset is to be inserted.
5752
5753 2002-10-11 André Pönitz <poenitz@gmx.net>
5754
5755         * lyxtext.h: make some functions public to allow access
5756         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5757
5758 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5759
5760         * text3.C (dispatch): when changing layout, avoid an infinite loop
5761         [bug #652]
5762
5763 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5764
5765         * lyxrc.C (read): treat a viewer or converter command of "none" as
5766         if it were empty.
5767
5768         * MenuBackend.C (expandFormats): for an update, also allow the
5769         formats that are not viewable
5770
5771         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5772         script if it is newer than the lyxrc.defaults in user directory
5773
5774 2002-10-07 André Pönitz <poenitz@gmx.net>
5775
5776         * text.C: Vitaly Lipatov's small i18n fix
5777
5778 2002-09-25  Angus Leeming  <leeming@lyx.org>
5779
5780         * ispell.h: doxygen fix.
5781
5782 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5783
5784         * buffer.h (readFile): Add a new argument to the method, to allow
5785         reading of old-format templates.
5786
5787 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5788
5789         * toc.C (getTocList): Get TOC from InsetWrap.
5790
5791 2002-09-16  John Levon  <levon@movementarian.org>
5792
5793         * lyxfunc.C: check tabular for cut/copy too
5794
5795 2002-09-12  John Levon  <levon@movementarian.org>
5796
5797         * LyXAction.C: tidy
5798
5799         * factory.h:
5800         * factory.C: add header
5801
5802         * paragraph_funcs.h:
5803         * paragraph_funcs.C: cleanup
5804
5805 2002-09-11  John Levon  <levon@movementarian.org>
5806
5807         * PrinterParams.h: odd/even default to true
5808
5809 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5810
5811         * PrinterParams.h: update printer parameters for new xforms dialog
5812
5813 2002-09-11  Angus Leeming  <leeming@lyx.org>
5814
5815         * lyxserver.C (read_ready): re-write to make it more transparent
5816         and to make it work in coherent fashion under Tru64 Unix.
5817
5818 2002-09-11  André Pönitz <poenitz@gmx.net>
5819
5820         * commandtags.h:
5821         * LyXAction.C:
5822         * text3.C: implement LFUN_WORDSEL
5823
5824 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5827         make floatlist_ a boost::shared_ptr<FloatList>
5828
5829         * lyxtextclass.C: include FloatList.h
5830         (LyXTextClass): initialize floatlist_
5831         (TextClassTags): add TC_NOFLOAT
5832         (Read): match "nofloat" to TC_NOFLOAT and use it.
5833         (readFloat): modify call to floatlist_
5834         (floats): ditto
5835         (floats): ditto
5836
5837         * FloatList.[Ch] (FloatList): remove commented out float
5838         initialization.
5839         (erase): new function
5840
5841 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5842
5843         * MenuBackend.C (expandToc): fix crash when there is no document
5844         open
5845
5846 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5847
5848         * many files: Add insetwrap.
5849
5850 2002-09-09  John Levon  <levon@movementarian.org>
5851
5852         * text2.C: remove confusing and awkward depth wraparound
5853
5854 2002-09-09  John Levon  <levon@movementarian.org>
5855
5856         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5857
5858         * buffer.h:
5859         * buffer.C: remove getIncludeonlyList()
5860
5861         * paragraph.C:
5862         * lyxfunc.C: remove headers
5863
5864 2002-09-09  Juergen Vigna  <jug@sad.it>
5865
5866         * text.C (getColumnNearX): fix form Michael this is most
5867         probably a cut&paste bug.
5868
5869 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5872
5873         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5874         references, ws changes.
5875
5876         * text2.C (init): update counters after init
5877         (insertParagraph): no need to set counter on idividual paragraphs.
5878         (setCounter): access the counters object in the textclass object
5879         on in the buffer object.
5880         (updateCounters): ditto
5881
5882         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5883         shared_ptr<Counters> to avoid loading counters.h in all
5884         compilation units.
5885         (LyXTextClass): initialize ctrs_
5886         (TextClassTags): add TC_COUNTER, and ...
5887         (Read): use it here.
5888         (CounterTags): new tags
5889         (readCounter): new function
5890         (counters): new funtion
5891         (defaultLayoutName): return a const reference
5892
5893         * counters.C (Counters): remove contructor
5894         (newCounter): remove a couple of unneeded statements.
5895         (newCounter): simplify a bit.
5896         (numberLabel): some small formatting changes.
5897
5898         * buffer.[Ch]: remove all traces of counters, move the Counters
5899         object to the LyXTextClass.
5900
5901 2002-09-06  Alain Castera  <castera@in2p3.fr>
5902
5903         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5904         package to set the horizontal alignment on fixed width columns.
5905
5906         * lyx_sty.C:
5907         * lyx_sty.h: added tabularnewline macro def.
5908
5909         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5910
5911 2002-09-06  John Levon  <levon@movementarian.org>
5912
5913         * LyXAction.C: tooltips for sub/superscript
5914
5915         * MenuBackend.C: a bit more verbose
5916
5917         * lyxfunc.C: tiny clean
5918
5919         * undo_funcs.C: document undo_frozen
5920
5921 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * counters.C (Counters): add missing algorithm counter.
5924
5925         * text2.C (setCounter): lookup the counter with layouts latexname
5926         instead of by section number.
5927         (setCounter): use a hackish way to lookup the correct enum
5928         counter.
5929         a float name->type change
5930         reset enum couners with counter name directly instead of depth value.
5931
5932         * counters.C (Counters): remove the push_backs, change to use the
5933         float type not the float name.
5934         (labelItem): remove unused string, float name->type change
5935
5936         * counters.h: don't include vector, loose the enums and sects vectors
5937
5938 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5941         (Read): add float->TC_FLOAT to textclassTags
5942         (Read): and handle it in the switch
5943         (readFloat): new function
5944
5945         * FloatList.C (FloatList): comment out the hardcoded float
5946         definitions.
5947
5948         * lyxlayout.h: ws change.
5949
5950 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5951
5952         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5953
5954 2002-09-03  Angus Leeming  <leeming@lyx.org>
5955
5956         * BufferView_pimpl.h: qualified name is not allowed in member
5957         declaration: WorkArea & Pimpl::workarea() const;
5958
5959         * factory.C: added using std::endl directive.
5960
5961         * text3.C: added using std::find and std::vector directives.
5962
5963 2002-08-29  André Pönitz <poenitz@gmx.net>
5964
5965         * lyxtext.h:
5966         * text2.C: remove unused member number_of_rows
5967
5968         * Makefile.am:
5969         * BufferView2.C: remove file, move contents to...
5970         * BufferView.C: ... here
5971
5972         * BufferView_pimpl.C:
5973         * factory.C: move more inset creation to factory
5974
5975         * vspace.C: avoid direct usage of LyXText, ws changes
5976
5977         * BufferView.[Ch]:
5978                 don't provide direct access to WorkArea, use two simple
5979                 acessors haveSelction() and workHeight() instead
5980
5981
5982 2002-08-29  John Levon  <levon@movementarian.org>
5983
5984         * BufferView_pimpl.C (dispatch): do not continue when
5985           no buffer
5986
5987 2002-08-28  André Pönitz <poenitz@gmx.net>
5988
5989         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5990
5991         * BufferView.h:
5992         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5993
5994 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5995
5996         * buffer.C: increment LYX_FORMAT to 221
5997
5998         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5999         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6000
6001         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6002
6003         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6004
6005 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6006
6007         * factory.C (createInset): use LyXTextClass::floats
6008
6009         * MenuBackend.C (expandFloatListInsert):
6010         (expandFloatInsert):
6011         (expandToc):
6012
6013         * text2.C (setCounter):
6014
6015         * LaTeXFeatures.C (useFloat):
6016         (getFloatDefinitions):
6017
6018         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6019
6020         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6021         floatlist_, with accessor floats().
6022
6023         * FloatList.h: remove global FloatList
6024
6025 2002-08-26  André Pönitz <poenitz@gmx.net>
6026
6027         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6028
6029         * BufferView.h:
6030         * BufferView2.C:
6031         * BufferView_pimpl.C:
6032         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6033
6034 2002-08-25  John Levon  <levon@movementarian.org>
6035
6036         * LyXAction.C: fix margin note description
6037
6038 2002-08-24  John Levon  <levon@movementarian.org>
6039
6040         * buffer.C:
6041         * bufferlist.C:
6042         * bufferview_funcs.C:
6043         * lyxfont.C:
6044         * undo_funcs.C: cleanups
6045
6046         * lyxfunc.C: disable CUT/COPY when no selection
6047
6048 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6049
6050         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6051         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6052
6053         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6054         Add backward compatibility to "mono", "gray" and "no".
6055
6056 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6057
6058         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6059         (and file_format >= 200).
6060
6061 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6062
6063         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6064
6065 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6066
6067         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6068
6069 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6070
6071         * BufferView_pimpl.C:
6072         * LyXAction.C:
6073         * buffer.C:
6074         * commandtags.h:
6075         * lyxfunc.C:
6076         * paragraph.[Ch]:
6077         * text2.C:
6078         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6079         inset and code to make it  work with the paragraph code. The inset
6080         can be anywhere in the paragraph, but will only do the expected
6081         thing in LaTeX if the layout file contains the parameter line
6082                         OptionalArgs    1
6083         (or more generally, a nonzero value) for that layout.
6084
6085 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * paragraph.h: remove the declaration of undefined counters class
6088         function.
6089
6090 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6091
6092         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6093         Dr. Richard Hawkins.
6094
6095 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6096
6097         * paragraph_funcs.h: remove some unneeded includes
6098
6099         * text.C (backspace): pasteParagraph now in global scipe
6100
6101         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6102         (pasteSelection): ditto
6103
6104         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6105         * paragraph_funcs.C (pasteParagraph): ... here
6106
6107 2002-08-20  André Pönitz <poenitz@gmx.net>
6108
6109         * commandtags.h: new LFUNs for swapping/copying table row/colums
6110
6111         * LyXAction.C:
6112         * lyxfunc.C: support for new lfuns
6113
6114 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * tabular.C:
6117         * buffer.[Ch]: remove NO_COMPABILITY stuff
6118
6119 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * boost.C (throw_exception): new file, with helper function for
6122         boost compiled without exceptions.
6123
6124         * paragraph.h:
6125         * lyxlength.C:
6126         * buffer.C:
6127         * ParameterStruct.h:
6128         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6129
6130         * bufferlist.C (emergencyWriteAll): use boost bind
6131
6132         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6133
6134         * text.C: include paragraph_funcs.h
6135         (breakParagraph): breakParagraph is now in global scope
6136
6137         * paragraph_funcs.[Ch]: new files
6138
6139         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6140         global scope
6141
6142         * buffer.C: include paragraph_funcs.h
6143         (insertStringAsLines): breakParagraph is now in global scope
6144
6145         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6146         paragraph_funcs.C
6147
6148         * CutAndPaste.C: include paragraph_funcs.h
6149         (cutSelection): breakParagraphConservative is now in global scope
6150         (pasteSelection): ditto
6151
6152         * buffer.h: declare oprator== and operator!= for
6153         Buffer::inset_iterator
6154
6155         * bufferlist.C (emergencyWrite): don't use fmt(...)
6156
6157         * text3.C: add using std::endl
6158
6159         * BufferView.C (moveCursorUpdate): remove default arg
6160
6161 2002-08-20  André Pönitz <poenitz@gmx.net>
6162
6163         * buffer.[Ch]: move inline functions to .C
6164
6165         * BufferView2.C:
6166         * BufferView_pimpl.C:
6167         * text.C:
6168         * buffer.[Ch]: use improved inset_iterator
6169
6170         * buffer.C:
6171         * paragraph.[Ch]: write one paragraph at a time
6172
6173 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6174
6175         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6176         style if style is not specified.
6177
6178 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6179
6180         * text2.C (setCounter): when searching for right label for a
6181         caption, make sure to recurse to parent insets (so that a caption
6182         in a minipage in a figure float works) (bug #568)
6183
6184 2002-08-20  André Pönitz <poenitz@gmx.net>
6185
6186         * text3.C: new file for LyXText::dispatch() and helpers
6187
6188         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6189
6190         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6191
6192 2002-08-19  André Pönitz <poenitz@gmx.net>
6193
6194         * lyxtext.h:
6195         * text.C: new LyXText::dispatch()
6196
6197         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6198
6199 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6200
6201         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6202
6203         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6204         Hebrew text.
6205
6206 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6207
6208         * Makefile.am: use $(variables) instead of @substitutions@
6209
6210 2002-08-15  André Pönitz <poenitz@gmx.net>
6211
6212         * lyxfunc.C:
6213         * BufferView_pimpl.C: streamlining mathed <-> outer world
6214         interaction
6215
6216         * commandtags.h:
6217         * LyXAction.C: remove unused LFUN_MATH
6218
6219 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6222
6223 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * paragraph.C (Paragraph): reformat a bit
6226         (cutIntoMinibuffer): use builtin InsetList function instad of
6227         doing it manually.
6228         (getInset): ditto
6229
6230         * buffer.C: include boost/bind.hpp, add using std::for_each
6231         (writeFileAscii): use ParagraphList iterators
6232         (validate): use for_each for validate traversal of paragraphs
6233         (getBibkeyList): use ParagraphList iterators
6234         (resizeInsets): use for_each to resizeInsetsLyXText for all
6235         paragraphs.
6236         (getParFromID): use ParagraphList iterators
6237
6238         * BufferView2.C (lockInset): use paragraph list and iterators
6239
6240 2002-08-14  John Levon  <levon@movementarian.org>
6241
6242         * lyxserver.C: remove spurious xforms include
6243
6244 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6245
6246         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6247
6248 2002-08-13  André Pönitz <poenitz@gmx.net>
6249
6250         * LyXAction.[Ch]:
6251         * lyxfunc.C: further cleaning
6252
6253 2002-08-13  André Pönitz <poenitz@gmx.net>
6254
6255         * funcrequest.h: new constructor
6256
6257         * funcrequest.C: move stuff here from .h
6258
6259         * Makefile.am:
6260         * BufferView_pimpl.C:
6261         * LyXAction.C:
6262         * toc.C:
6263         * lyxfunc.C: subsequent changes
6264
6265         * lyxfunc.h: new view() member function
6266
6267         * lyxfunc.C: subsequent changes
6268
6269 2002-08-13  Angus Leeming  <leeming@lyx.org>
6270
6271         * BufferView2.C:
6272         * BufferView_pimpl.C:
6273         * buffer.C:
6274         * converter.C:
6275         * importer.C:
6276         * lyxfunc.C:
6277         * lyxvc.C:
6278         * toc.C:
6279         * vc-backend.C:
6280         changes due to the changed LyXView interface that now returns references
6281         to member variables not pointers.
6282
6283 2002-08-13  Angus Leeming  <leeming@lyx.org>
6284
6285         * WordLangTuple (word, lang_code): return references to strings,
6286         not strings.
6287
6288         * BufferView.h:
6289         * SpellBase.h:
6290         * lyxtext.h: forward-declare WordLangTuple.
6291
6292         * BufferView2.C:
6293         * ispell.C:
6294         * pspell.C:
6295         * text.C: #include "WordLangTuple.h".
6296
6297         * lyxtext.h:
6298         * text.C: (selectNextWordToSpellcheck): constify return type.
6299
6300 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6301
6302         * buffer.C:
6303         * buffer.h:
6304         * lyxtext.h:
6305         * paragraph.C:
6306         * paragraph_pimpl.h:
6307         * text.C:
6308         * text2.C:
6309         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6310         suggested by Angus.
6311         Made updateCounter always count from start of buffer, and removed
6312         second argument (par).
6313         Reverted floats number display to '#'. Perhaps I'll try again when the
6314         code base is sanitized a bit.
6315
6316 2002-08-12  Angus Leeming  <leeming@lyx.org>
6317
6318         * buffer.[Ch] (getLabelList): constify.
6319
6320 2002-08-07  André Pönitz <poenitz@gmx.net>
6321
6322         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6323
6324         * funcrequest.h: extension to keep mouse (x,y) position
6325
6326 2002-08-12  Juergen Vigna  <jug@sad.it>
6327
6328         * BufferView2.C (insertErrors): forbid undo when inserting error
6329         insets.
6330
6331         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6332
6333 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6334
6335         * ParagraphList.[Ch]: new files
6336
6337         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6338
6339         * BufferView2.C (lockInset): ParagraphList changes
6340         * toc.C: ditto
6341         * text2.C: ditto
6342         * bufferlist.C: ditto
6343         * buffer.h: ditto
6344         * buffer.C: ditto
6345
6346 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6349         unused class variable counter_,
6350
6351         * paragraph.[Ch] (getFirstCounter): delete unused function
6352
6353         * counters.C: include LAssert.h
6354         (reset): add a new function with no arg, change other version to
6355         not have def. arg and to not allow empty arg.
6356
6357         * text2.C (setCounter): remove empty arg from call to Counters::reset
6358
6359 2002-08-11  John Levon  <levon@movementarian.org>
6360
6361         * Makefile.am: add WordLangTuple.h
6362
6363 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6366         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6367
6368         * insets/insettext.C: InsetList changes
6369
6370         * graphics/GraphicsSupport.C (operator()): InsetList changes
6371
6372         * toc.C (getTocList): InsetList changes
6373
6374         * paragraph_pimpl.[Ch]: InsetList changes
6375
6376         * paragraph.[Ch]: InsetList changes
6377
6378         * buffer.C (inset_iterator): InsetList changes
6379         (setParagraph): ditto
6380         * buffer.h (inset_iterator): ditto
6381         * iterators.C (operator++): ditto
6382         * iterators.h: ditto
6383
6384         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6385
6386         * InsetList.[Ch]: new files, most InsetList handling moved out of
6387         paragraph.C.
6388
6389         * BufferView2.C (removeAutoInsets): InsetList changes
6390         (lockInset): ditto
6391         (ChangeInsets): ditto
6392
6393 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * paragraph_pimpl.h (empty): new function
6396
6397         * paragraph.[Ch] (empty): new function
6398
6399         * other files: use the new Paragraph::empty function
6400
6401 2002-08-09  John Levon  <levon@movementarian.org>
6402
6403         * lyxtext.h: remove unused refresh_height
6404
6405 2002-08-09  John Levon  <levon@movementarian.org>
6406
6407         * Makefile.am:
6408         * sgml.h:
6409         * sgml.C:
6410         * buffer.C:
6411         * paragraph.h:
6412         * paragraph.C: move sgml char escaping out of paragraph
6413
6414         * paragraph.h:
6415         * paragraph.C: remove id setter
6416
6417         * buffer.C:
6418         * paragraph.C:
6419         * paragraph_pimpl.C: remove dead tex_code_break_column
6420
6421         * bufferview_funcs.C: small cleanup
6422
6423         * lyxfunc.C: remove dead proto
6424
6425         * lyxtext.h: make some stuff private. Remove some dead stuff.
6426
6427         * lyxgluelength.C: make as[LyX]String() readable
6428
6429 2002-08-08  John Levon  <levon@movementarian.org>
6430
6431         * LyXAction.h:
6432         * LyXAction.C:
6433         * MenuBackend.C:
6434         * ToolbarDefaults.C:
6435         * lyxfunc.C:
6436         * lyxrc.C:
6437         * toc.C: lyxaction cleanup
6438
6439 2002-08-08  John Levon  <levon@movementarian.org>
6440
6441         * BufferView2.C: small cleanup
6442
6443         * lyxfind.h:
6444         * lyxfind.C: move unnecessary header into the .C
6445
6446 2002-08-08  John Levon  <levon@movementarian.org>
6447
6448         * funcrequest.h: just tedious nonsense
6449
6450         * lyx_main.h:
6451         * lyx_main.C: cleanups
6452
6453         * buffer.C:
6454         * vspace.C: remove dead header lyx_main.h
6455
6456 2002-08-07  Angus Leeming  <leeming@lyx.org>
6457
6458         * Paragraph.[Ch]:
6459         * paragraph_pimpl.h:
6460         Forward declare class Counters in paragraph.h by moving the ctrs member
6461         variable into Paragraph::Pimpl.
6462         (counters): new method, returning a reference to pimpl_->ctrs.
6463
6464         * text2.C: ensuing changes.
6465
6466 2002-08-07  John Levon  <levon@movementarian.org>
6467
6468         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6469
6470         * BufferView_pimpl.C: announce X selection on double/triple
6471           click
6472
6473         * lyx_main.C: use correct bool in batch dispatch
6474
6475         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6476
6477 2002-08-07  André Pönitz <poenitz@gmx.net>
6478
6479         * funcrequest.h: new class to wrap a kb_action and its argument
6480
6481         * BufferView.[Ch]:
6482         * BufferView_pimpl[Ch]:
6483         * LaTeX.C:
6484         * LyXAction.[Ch]:
6485         * lyxfunc.[Ch]:
6486         * lyxrc.C: subsequent changes
6487
6488
6489 2002-08-07  John Levon  <levon@movementarian.org>
6490
6491         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6492           document options change.
6493
6494 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6495
6496         * counters.[Ch]
6497         * text2.C
6498         * paragraph.[Ch]
6499         * makefile.am: move counters functionality over from
6500         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6501
6502 2002-08-06  John Levon  <levon@movementarian.org>
6503
6504         * WordLangTuple.h: new file for word + language code tuple
6505
6506         * SpellBase.h:
6507         * pspell.h:
6508         * pspell.C:
6509         * ispell.h:
6510         * ispell.C:
6511         * lyxtext.h:
6512         * text.C:
6513         * text2.C:
6514         * BufferView.h:
6515         * BufferView2.C: use WordLangTuple
6516
6517         * layout.h:
6518         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6519
6520 2002-08-06  John Levon  <levon@movementarian.org>
6521
6522         * lyx_main.C: fix cmdline batch handling
6523
6524 2002-08-06  André Pönitz <poenitz@gmx.net>
6525
6526         * lyxrc.C: set default for show_banner to true
6527
6528 2002-08-06  John Levon  <levon@movementarian.org>
6529
6530         * pspell.C: fix a crash, and allow new aspell to work
6531
6532 2002-08-06  John Levon  <levon@movementarian.org>
6533
6534         * lyxfunc.C:
6535         * kbmap.C: small cleanup
6536
6537         * vspace.h:
6538         * vspace.C: add const
6539
6540 2002-08-05  John Levon  <levon@movementarian.org>
6541
6542         * LyXAction.C: back to tabular-insert
6543
6544 2002-08-04  John Levon  <levon@movementarian.org>
6545
6546         * BufferView.h:
6547         * BufferView.C: cosmetic change
6548
6549         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6550
6551         * bufferlist.C:
6552         * buffer.h:
6553         * buffer.C:
6554         * lyxcb.h:
6555         * lyxcb.C:
6556         * lyxserver.C:
6557         * lyxvc.C:
6558         * vc-backend.C:
6559         * BufferView2.C: purge all "Lyx" not "LyX" strings
6560
6561         * lyxcursor.h:
6562         * lyxcursor.C: attempt to add some documentation
6563
6564         * lyxfunc.C:
6565         * commandtags.h:
6566         * LyXAction.C:
6567         * ToolbarDefaults.C:
6568         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6569           merge with LFUN_TABULAR_INSERT
6570
6571         * Makefile.am:
6572         * SpellBase.h:
6573         * ispell.h:
6574         * ispell.C:
6575         * pspell.h:
6576         * pspell.C: split up i/pspell implementations into separate
6577           files, many cleanups
6578
6579         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6580
6581         * text2.C: some cleanup
6582
6583         * lyxfunc.C: don't check for isp_command == "none" any more, it
6584           didn't make any sense
6585
6586 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6587
6588         * counters.[Ch]
6589         * text2.C
6590         * paragraph.[Ch]
6591         * makefile.am: move counters functionality over
6592         from text2.C/paragraph.[Ch] to counters.[Ch], and
6593         make proper C++.
6594 2002-08-02  John Levon  <levon@movementarian.org>
6595
6596         * buffer.C: s/lyxconvert/lyx2lyx/
6597
6598 2002-08-02  Angus Leeming  <leeming@lyx.org>
6599
6600         * lyxlex.C: revert John's change as it breaks reading of the user
6601         preamble.
6602
6603 2002-08-02  Angus Leeming  <leeming@lyx.org>
6604
6605         * importer.C (Import):
6606         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6607         changes due to LyXView::view() now returning a boost::shared_ptr.
6608
6609 2002-08-02  John Levon  <levon@movementarian.org>
6610
6611         * lyxlex.C: small cleanup
6612
6613 2002-08-02  John Levon  <levon@movementarian.org>
6614
6615         * text2.C (status): small cleanup, no logic change
6616
6617 2002-08-01  John Levon  <levon@movementarian.org>
6618
6619         * buffer.h:
6620         * buffer.C (writeFile): don't output alerts, caller
6621           handles this
6622
6623         * bufferlist.C:
6624         * lyx_cb.C: from above
6625
6626         * lyxfunc.C: allow to open non-existent files
6627
6628 2002-07-31  John Levon  <levon@movementarian.org>
6629
6630         * lyxserver.C: don't let incidental errors get
6631           in the way (errno)
6632
6633 2002-07-30  John Levon  <levon@movementarian.org>
6634
6635         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6636
6637 2002-07-30  John Levon  <levon@movementarian.org>
6638
6639         * lyxserver.h:
6640         * lyxserver.C: remove I/O callback too
6641
6642 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6643
6644         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6645         log.
6646
6647 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * many files: strip,frontStrip -> trim,ltrim,rtrim
6650
6651 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * PrinterParams.h: remove extern containsOnly, and include
6654         support/lstrings.h instead.
6655
6656         * LaTeX.C (scanAuxFile): modify because of strip changes
6657         (deplog): ditto
6658         * buffer.C (makeLaTeXFile): ditto
6659         * bufferparams.C (writeFile): ditt
6660         * lyxfont.C (stateText): ditto
6661         * lyxserver.C (read_ready): ditto
6662         * vc-backend.C (scanMaster): ditto
6663
6664         * BufferView_pimpl.h: ws changes
6665
6666         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6667
6668 2002-07-26  André Pönitz <poenitz@gmx.net>
6669
6670         * kb_sequence.C: remove unnedred usings
6671
6672 2002-07-26  Juergen Vigna  <jug@sad.it>
6673
6674         * lyxfind.C (LyXReplace): we have to check better if the returned
6675         text is not of theLockingInset()->getLockingInset().
6676
6677 2002-07-25  Juergen Vigna  <jug@sad.it>
6678
6679         * lyxfind.C (LyXReplace): don't replace if we don't get the
6680         right LyXText.
6681
6682         * undo_funcs.C (createUndo): remove debugging code.
6683
6684 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6685
6686         * buffer.C (parseSingleLyXformat2Token): Use default placement
6687         when reading old floats.
6688
6689         * FloatList.C (FloatList): Change the default placement of figure
6690         and tables to "tbp".
6691
6692 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6693
6694         * MenuBackend.C: using std::max
6695
6696 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6697
6698         * MenuBackend.C (expandToc):
6699         (expandToc2): code moved from xforms menu frontend. It is now
6700         generic and TOCs are transparent to menu frontends.
6701
6702 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6703
6704         * toc.C (getTocList): protect against buf=0
6705
6706         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6707         Menu as first parameter. Now, this calls itself recursively to
6708         expand a whole tree (this will be useful for TOC handling)
6709         (expandFloatInsert): remove 'wide' version of floats
6710
6711         * MenuBackend.h (submenuname): returns the name of the submenu.
6712         (submenu): returns the submenu itself, provided it has been
6713         created by MenuBackend::expand
6714
6715 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6716
6717         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6718         insets which have noFontChange == true. (bug #172)
6719
6720 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6721
6722         * BufferView_pimpl.C: add connection objects and use them...
6723         (Pimpl): here.
6724
6725 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6726
6727         * MenuBackend.C (expandLastfiles):
6728         (expandDocuments):
6729         (expandFormats):
6730         (expandFloatListInsert):
6731         (expandFloatInsert):
6732         (expand): split expand in parts
6733
6734 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6735
6736         * lyx_gui.C: use lyx_gui::exit()
6737
6738 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6739
6740         * LyXAction.C: show the failing pseudo action
6741
6742 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6743
6744         * buffer.C (readFile): Run the lyxconvert script in order to read
6745         old files.
6746
6747 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6748
6749         * LyXAction.C:
6750         * commandtags.h:
6751         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6752
6753 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6754
6755         * LyXAction.C:
6756         * commandtags.h:
6757         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6758
6759 2002-07-22  Herbert Voss  <voss@lyx.org>
6760
6761         * lengthcommon.C:
6762         * lyxlength.[Ch]: add support for the vertical lengths
6763
6764 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6765
6766         * toc.[Ch]: std:: fixes
6767
6768 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6769
6770         * lyxrc.C: do not include lyx_main.h
6771
6772         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6773         for layouts
6774
6775         * lyxrc.C:
6776         * encoding.C:
6777         * bufferlist.C:
6778         * BufferView2.C: include "lyxlex.h"
6779
6780         * tabular.h:
6781         * bufferparams.h: do not #include "lyxlex.h"
6782
6783         * lyxtextclasslist.C (Add): remove method
6784         (classlist): renamed to classlist_
6785
6786         * paragraph_pimpl.C:
6787         * paragraph.C:
6788         * text2.C:
6789         * CutAndPaste.C:
6790         * bufferview_funcs.C:
6791         * bufferlist.C:
6792         * text.C:
6793         * LaTeXFeatures.C:
6794         * buffer.C:
6795         * toc.C (getTocList): use BufferParams::getLyXTextClass
6796
6797         * toc.C (getTocList): use InsetFloat::addToToc
6798
6799         * toc.[Ch]: new files, containing helper functions to handle table
6800         of contents
6801
6802         * lyxfunc.C (dispatch): no need to remove spaces around command
6803         given as a string
6804         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6805         first command of the sequence; it is not very clever, but I do not
6806         have a better idea, actually
6807
6808         * LyXAction.C (LookupFunc): make sure to remove space at the
6809         beginning and end of the command
6810
6811 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6812
6813         * MenuBackend.C (getMenubar): new method: return the menubar of
6814         this menu set
6815         (read): treat differently reading of menu and menubar (in
6816         particular, the menubar has no name now)
6817         (Menu::menubar): remove
6818
6819         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6820         saving is finished
6821
6822 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6823
6824         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6825         a bibitem inset in a RTL paragraph.
6826
6827 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6828
6829         * paragraph_pimpl.C: constify
6830
6831         * BufferView_pimpl.C:
6832         * LaTeX.C:
6833         * lyxfunc.C: fix dispatch in a nicer way
6834
6835 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6836
6837         * lyxfunc.C (dispatch):
6838         * BufferView_pimpl.C:
6839         * BufferView_pimpl.h:
6840         * BufferView.C:
6841         * BufferView.h: rename Dispatch() to dispatch()
6842
6843         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6844
6845         * lyxlayout.C (Read): honor DependsOn tag
6846
6847         * lyxlayout.[Ch] (depends_on): new method
6848
6849         * version.C.in: update lyx_docversion
6850
6851         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6852
6853         * paragraph.C (validate): remove from here...
6854         * paragraph_pimpl.C (validate): ... and move here
6855         (isTextAt): make it const
6856
6857         * buffer.C (getLists): ws cleanup
6858
6859 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6860
6861         * language.C (read): Use iso8859-1 encoding in latex_lang
6862         (this prevents LyX from crashing when using iso10646-1 encoding).
6863
6864 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6865
6866         * text2.C (toggleInset): if cursor is inside an inset, close the
6867         inset and leave cursor _after_ it
6868
6869 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6870
6871         * lyxfunc.C: move minibuffer completion handling out of here
6872
6873 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6874
6875         * BufferView_pimpl.C:
6876         * LaTeX.C: fix dispatch calls
6877
6878 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6879
6880         * text.C (drawChars): Fix Arabic text rendering.
6881
6882 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6883
6884         * LyXAction.C:
6885         * commandtags.h:
6886         * lyxfunc.C: remove message-push/pop
6887
6888         * lyxserver.C:
6889         * lyxfunc.h:
6890         * lyxfunc.C: rationalise some code by removing verboseDispatch
6891           in favour of a bool argument to dispatch()
6892
6893 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6894
6895         * lyx_main.C (init): make sure to read symlinks as absolute paths
6896
6897 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * lyxfunc.h:
6900         * lyxfunc.C: no need for commandshortcut to be a member
6901
6902 2002-07-15  André Pönitz <poenitz@gmx.net>
6903
6904         * converter.C: add support for $$s (scripts from lib/scripts dir)
6905         * lyx_main.C: white space
6906
6907 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6908
6909         * bufferlist.C:
6910         * lyxrc.h:
6911         * lyxrc.C: remove second exit confirmation
6912
6913 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6914
6915         * BufferView.h:
6916         * BufferView.C:
6917         * BufferView2.C:
6918         * BufferView_pimpl.h:
6919         * BufferView_pimpl.C:
6920         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6921
6922 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6923
6924         * MenuBackend.C (expand): add numeric shortcuts to document menu
6925
6926         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6927
6928 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6929
6930         * lyxfont.C (setLyXFamily):
6931         (setLyXSeries):
6932         (setLyXShape):
6933         (setLyXSize):
6934         (setLyXMisc):
6935         (lyxRead):
6936         * debug.C (value):
6937         * buffer.C (asciiParagraph): use ascii_lowercase
6938
6939 2002-07-15  Mike Fabian  <mfabian@suse.de>
6940
6941         * lyxlex_pimpl.C (search_kw):
6942         * lyxlex.C (getLongString):
6943         * converter.h (operator<):
6944         * converter.C (operator<):
6945         * buffer.C (parseSingleLyXformat2Token):
6946         (asciiParagraph):
6947         * ToolbarDefaults.C (read):
6948         * MenuBackend.C (checkShortcuts):
6949         (read):
6950         * LColor.C (getFromGUIName):
6951         (getFromLyXName): use the compare_ascii_no_case instead of
6952         compare_no_case, because in turkish, 'i' is not the lowercase
6953         version of 'I', and thus turkish locale breaks parsing of tags.
6954
6955 2002-07-16  Angus Leeming  <leeming@lyx.org>
6956
6957         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6958         now takes a Buffer const & argument.
6959
6960 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6961
6962         * BufferView.C (resize): check there's a buffer to resize
6963
6964 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6965
6966         * lyxfunc.C: remove dead code
6967
6968         * lyxserver.h:
6969         * lyxserver.C: use lyx_guii::set_read_callback
6970
6971 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6972
6973         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6974         an inset in a RTL paragraph.
6975
6976 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6977
6978         * lyxfunc.C: repaint after a font size update
6979
6980 2002-07-15  André Pönitz <poenitz@gmx.net>
6981
6982         * lyxlength.C: inBP should be able to return negative values
6983
6984 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6985
6986         * lyxfunc.C: use lyx_gui::update_fonts()
6987
6988 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6989
6990         * lyxfunc.C: use lyx_gui::update_color()
6991
6992 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6993
6994         * bufferlist.C:
6995         * lyxfunc.h:
6996         * lyxfunc.C:
6997         * lyxrc.h:
6998         * lyxrc.C: remove file->new asks for name option, and let
6999           buffer-new take an argument
7000
7001 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7002
7003         * BufferView_pimpl.C: remove unneeded extra repaint()
7004
7005 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7006
7007         * LyXAction.C: allow command-sequence with NoBuffer
7008
7009         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7010
7011 2002-07-10  Angus Leeming  <leeming@lyx.org>
7012
7013         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7014
7015 2002-07-09  Angus Leeming  <leeming@lyx.org>
7016
7017         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7018
7019 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7020
7021         * lengthcommon.h: whitespace
7022
7023         * lyxfunc.C: update scrollbar after goto paragraph
7024
7025         * lyxtext.h: factor out page break drawing, and fix it so
7026           page break/added space paints as selected nicely
7027
7028 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * BufferView_pimpl.C: add FIXMEs, clean up a little
7031
7032 2002-07-09  André Pönitz <poenitz@gmx.net>
7033
7034         * lyxfont.[Ch]: support for wasy symbols
7035
7036 2002-07-08  André Pönitz <poenitz@gmx.net>
7037
7038         * BufferView_pimpl.C: apply John's patch for #93.
7039
7040 2002-07-05  Angus Leeming  <leeming@lyx.org>
7041
7042         * BufferView_pimpl.C (buffer): generate previews if desired.
7043
7044         * LColor.h: add "preview" to the color enum.
7045
7046         * LColor.C (LColor): add a corresponding entry to the items array.
7047
7048         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7049         with this buffer.
7050
7051 2002-07-05  Angus Leeming  <leeming@lyx.org>
7052
7053         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7054         The body of the code is now in the method that is passed an ostream &
7055         rather than a file name.
7056         Pass an additional only_preamble parameter, useful for the forthcoming
7057         preview stuff.
7058
7059 2002-07-03  André Pönitz <poenitz@gmx.net>
7060
7061         * lyxfunc.C: simplify getStatus() a bit for math stuff
7062
7063 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7064
7065         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7066
7067 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7068
7069         * text.C (changeRegionCase): do not change case of all the
7070         document when region ends at paragraph end (bug #461)
7071
7072 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7073
7074         * paragraph.C (startTeXParParams):
7075         (endTeXParParams): add \protect when necessary
7076
7077 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7078
7079         * BufferView_pimpl.C (workAreaExpose): remove warning
7080
7081 2002-06-27  Angus Leeming  <leeming@lyx.org>
7082
7083         * Makefile.am: add lyxlayout_ptr_fwd.h.
7084
7085 2002-06-26  André Pönitz <poenitz@gmx.net>
7086
7087         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7088
7089 2002-06-25  Angus Leeming  <leeming@lyx.org>
7090
7091         * lyxfunc.C (dispatch): Comment out the call to
7092         grfx::GCache::changeDisplay. The method no longer exists now that the
7093         pixmap generation part of the graphics loader has been moved into
7094         InsetGraphics.
7095
7096 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7097
7098         * text2.C: layout as layout
7099
7100         * text.C: layout as layout
7101
7102         * tabular.C (OldFormatRead): layout as layout
7103
7104         * paragraph_pimpl.C (TeXDeeper): layout as layout
7105         (realizeFont): layout as layout
7106
7107         * paragraph.C (writeFile): layout as layout
7108         (validate): layout as layout
7109         (getFont): layout as layout
7110         (getLabelFont): layout as layout
7111         (getLayoutFont): layout as layout
7112         (breakParagraph): layout as layout
7113         (stripLeadingSpaces): layout as layout
7114         (getEndLabel): layout as layout
7115         (getMaxDepthAfter): layout as layout
7116         (applyLayout): layout as layout
7117         (TeXOnePar): layout as layout
7118         (simpleTeXOnePar): layout as layout
7119         (TeXEnvironment): layout as layout
7120         (layout): layout as layout
7121         (layout): layout as layout
7122
7123         * lyxtextclass.C (compare_name): new functor to work with
7124         shared_ptr, layout as layout
7125         (Read): layout as layout
7126         (hasLayout): layout as layout
7127         (operator): layout as layout
7128         (delete_layout): layout as layout
7129         (defaultLayout): layout as layout
7130
7131         * lyxlayout_ptr_fwd.h: new file
7132
7133         * lyxlayout.C (Read): layout as layout
7134
7135         * lyx_cb.C (MenuInsertLabel): layout as layout
7136
7137         * bufferlist.C (newFile): layout as layout
7138
7139         * buffer.C (readLyXformat2): layout as layout
7140         (parseSingleLyXformat2Token): layout as layout
7141         (insertStringAsLines): layout as layout
7142         (asciiParagraph): layout as layout
7143         (latexParagraphs): layout as layout
7144         (makeLinuxDocFile): layout as layout
7145         (simpleLinuxDocOnePar): layout as layout
7146         (makeDocBookFile): layout as layout
7147         (simpleDocBookOnePar): layout as layout
7148         (getLists): layout as layout
7149
7150         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7151
7152         * CutAndPaste.C (cutSelection): layout as layout
7153         (pasteSelection): layout as layout
7154         (SwitchLayoutsBetweenClasses): layout as layout
7155
7156         * BufferView_pimpl.C (Dispatch): layout as layout
7157         (smartQuote): layout as layout
7158
7159         * BufferView2.C (unlockInset): layout as layout
7160
7161 2002-06-24  André Pönitz <poenitz@gmx.net>
7162
7163         * lyxfunc.C: fix #487
7164
7165 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7166
7167         * lyxrc.h:
7168         * lyxrc.C:
7169         * lyxfunc.C: remove display_shortcuts, show_banner
7170
7171 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7172
7173         * Buffer_pimpl.C: oops, update on resize
7174
7175 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7176
7177         * buffer.C:
7178         * converter.C:
7179         * exporter.C:
7180         * lyxfunc.C:
7181         * BufferView.h:
7182         * BufferView.C: use repaint()
7183
7184         * BufferView_pimpl.h:
7185         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7186           as it's a clearer description. Remove superfluous
7187           redraws.
7188
7189 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7190
7191         * text.C: fix bug 488. Not ideal, but getting
7192           getWord() to work properly for the insets that
7193           matter is more difficult ...
7194
7195 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7196
7197         * BufferView_pimpl.C:
7198         * LyXAction.C:
7199         * commandtags.h:
7200         * lyxfunc.C: remove the six million index lyxfuncs to just
7201           one, and DTRT (bug 458)
7202
7203 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7204
7205         * BufferView.h:
7206         * BufferView.C:
7207         * BufferView_pimpl.h:
7208         * BufferView_pimpl.C: clean up resize() stuff,
7209           and unnecessary updateScreen()s
7210
7211 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * BufferView.h:
7214         * BufferView.C:
7215         * BufferView_pimpl.h:
7216         * BufferView_pimpl.C:
7217         * lyxfind.h:
7218         * lyxfind.C:
7219         * minibuffer.C: remove focus management of workarea,
7220           not needed. Use screen's greyOut()
7221
7222 2002-06-17  Herbert Voss  <voss@lyx.org>
7223
7224         * converter.C: (convert) do not post a message, when converting
7225         fails, let the calling function decide what to do in this case
7226
7227 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * lyxfunc.C: tidy up a little
7230
7231 2002-06-16    <alstrup@diku.dk>
7232
7233         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7234         Got rid of FORMS_H_LOCATION include. Now we are
7235         GUII.
7236
7237 2002-06-15  LyX Development team  <lyx@rilke>
7238
7239         * buffer.[Ch] (sgmlOpenTag):
7240         (sgmlCloseTag): Added support for avoiding pernicious mixed
7241         content. Return number of lines written.
7242
7243         (makeLinuxDocFile):
7244         (makeDocBookFile): Fixed calls to sgml*Tag.
7245         Simple white space clean.
7246
7247         (simpleDocBookOnePar): Simple white space clean.
7248
7249         * tabular.[Ch] (docBook): Renamed to docbook and got another
7250         argument to related with the pernicious mixed content.
7251
7252         (docbookRow): Fixed calls for docbook inset method.
7253
7254 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7255
7256         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7257         so it's X11 independent.
7258
7259         * kb*.[Ch]: ditto.
7260
7261         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7262
7263 2002-06-15  Lyx Development team  <lyx@electronia>
7264
7265         * intl.h: Renamed getTrans to getTransManager.
7266
7267 2002-06-14  Angus Leeming  <leeming@lyx.org>
7268
7269         * Makefile.am: nuke forgotten stl_string_fwd.h.
7270
7271 2002-06-12  Angus Leeming  <leeming@lyx.org>
7272
7273         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7274
7275 2002-06-13  Angus Leeming  <leeming@lyx.org>
7276
7277         * LaTeX.C:
7278         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7279
7280 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7281
7282         * kbmap.C (getiso): add support for cyrillic and greek
7283
7284 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7285
7286         * BufferView.h:
7287         * BufferView.C:
7288         * BufferView_pimpl.h:
7289         * BufferView_pimpl.C: move bogus scrolling logic
7290           to xforms
7291
7292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * lyxfunc.C:
7295         * BufferView_pimpl.C: view->resize() change
7296
7297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * BufferView_pimpl.C: topCursorVisible
7300           prototype change
7301
7302 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7303
7304         * Makefile.am:
7305         * lyx_gui.h:
7306         * lyx_gui.C: move to frontends/
7307
7308         * main.C:
7309         * lyx_main.h:
7310         * lyx_main.C: changes from above
7311
7312 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7313
7314         * intl.C:
7315         * intl.h:
7316         * kbmap.C:
7317         * kbsequence.C:
7318         * lyx_cb.C:
7319         * lyx_main.C: minor tidy
7320
7321 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7322
7323         * BufferView_pimpl.h:
7324         * BufferView_pimpl.C:
7325         * BufferView.h:
7326         * BufferView.C: make painter() const,
7327           remove dead code
7328
7329         * BufferView2.C: use screen() accessor
7330
7331         * lyx_main.h:
7332         * lyx_main.C: some minor cleanup
7333
7334 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7335
7336         * BufferView_pimpl.h:
7337         * BufferView_pimpl.C: remove enter/leaveView,
7338           use workHeight()
7339
7340 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7341
7342         * BufferView.h:
7343         * BufferView.C:
7344         * BufferView2.C:
7345         * BufferView_pimpl.h:
7346         * BufferView_pimpl.C: only construct screen once,
7347           rename
7348
7349         * lyxrc.C: remove pointless comment
7350
7351 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7352
7353         * BufferView.h:
7354         * BufferView.C: remove active() and belowMouse()
7355
7356         * BufferView_pimpl.h:
7357         * BufferView_pimpl.C: use workarea() not workarea_,
7358           and make it use a scoped_ptr instead
7359
7360 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7361
7362         * lyx_gui.C: add debug message on BadWindow
7363
7364 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7365
7366         * sp_spell.C: fdopen is not part of the C++ standard.
7367
7368         * paragraph.C (InsetIterator): use >= instead of ==
7369
7370 2002-06-07  Angus Leeming  <leeming@lyx.org>
7371
7372         Fixes needed to compile with Compaq cxx 6.5.
7373         * BufferView_pimpl.C:
7374         * DepTable.C:
7375         * buffer.C:
7376         * converter.C:
7377         * encoding.C:
7378         * lyx_gui.C:
7379         * lyx_main.C:
7380         * lyxtextclasslist.C:
7381         * minibuffer.C:
7382         * sp_spell.C:
7383         * tabular_funcs.C:
7384         * vc-backend.C:
7385         all c-library variables have been moved into namespace std. Wrap
7386         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7387
7388         * lyxlength.C:
7389         * tabular-old.C:
7390         * tabular.C:
7391         Add a using std::abs declaration.
7392
7393         * kbmap.h (modifier_pair):
7394         * paragraph.h (InsetTable, InsetList):
7395         * lyxfont.h (FontBits):
7396         type definition made public.
7397
7398         * bufferlist.C (emergencyWriteAll): the compiler complains that
7399         there is more than one possible lyx::class_fun template to choose from.
7400         I re-named the void specialisation as lyx::void_class_fun.
7401
7402         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7403
7404         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7405         the compiler is is unable to find tostr in write_attribute.
7406
7407 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7408
7409         * buffer.C (sgmlError): hide #warning
7410
7411 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7412
7413         * xtl/*: get rid of xtl, which is not in use anyway
7414
7415         * LyXAction.C (init):
7416         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7417         were unimplemented xtl experimentation
7418
7419 2002-06-04  André Pönitz <poenitz@gmx.net>
7420
7421         * lyxfunc.C: disable array operation on simple formulae
7422
7423 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * converter.C: constify a bit
7426
7427 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7428
7429         * lyx_gui.C: check xforms version correctly
7430
7431 2002-04-30  Herbert Voss  <voss@lyx.org>
7432
7433         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7434         "keep" option
7435
7436 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7437
7438         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7439           attempt to register it with a VCS)
7440
7441 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7442
7443         * lyx_main.C (init): honor variables LYX_DIR_13x and
7444         LYX_USERDIR_13x
7445
7446 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * buffer.h:
7449         * buffer.C:
7450         * lyx_main.C: fix a crash on bad command line,
7451           and give a useful exit status on error
7452
7453         * lyxfunc.C (doImport): allow -i lyx to work
7454
7455 2002-03-30  André Pönitz <poenitz@gmx.net>
7456
7457         * lyxfunc.C: mathed font changes
7458
7459 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7460
7461         * LaTeX.C:
7462         * importer.h:
7463         * importer.C:
7464         * lyx_sty.h:
7465         * lyx_sty.C:
7466         * lyxlex.C:
7467         * lyxrow.h:
7468         * lyxtext.h:
7469         * paragraph.h:
7470         * paragraph.C:
7471         * texrow.h:
7472         * texrow.C:
7473         * text.C:
7474         * trans_mgr.h: srcdocs, and some minor cleanups
7475
7476 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7477
7478         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7479         call getFont all the time)
7480
7481 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7482
7483         * switch from SigC signals to boost::signals
7484
7485 2002-05-29  André Pönitz <poenitz@gmx.net>
7486
7487         * paragraph_pimpl.C (getChar): don't call size() too often...
7488
7489 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7490
7491         * paragraph_pimpl.C (insertChar): do not try to update tables when
7492         appending (pos == size())
7493
7494         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7495         in order to reduce drastically the number of comparisons needed to
7496         parse a large document
7497
7498 2002-05-29  André Pönitz <poenitz@gmx.net>
7499
7500         * text.C:
7501         * text2.C:
7502         * lyxtextclass.C:
7503         * sp_pspell.h:
7504         * textclasslist.[Ch]:
7505         * sp_ispell.h: whitespace change
7506
7507 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7508
7509         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7510         lyxaction directly now.
7511
7512 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7513
7514         * trans.C:
7515         * lyxfont.C:
7516         * lyxvc.C: remove unused headers
7517
7518 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7519
7520         * Makefile.am:
7521         * buffer.h:
7522         * undostack.h:
7523         * undostack.C:
7524         * undo_funcs.h:
7525         * undo_funcs.C: some cleanups. Use shared_ptr
7526           and a template for the undo stacks.
7527
7528 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7529
7530         * BufferView_pimpl.h:
7531         * BufferView_pimpl.C:
7532         * kbmap.h:
7533         * kbmap.C:
7534         * kbsequence.h:
7535         * kbsequence.C:
7536         * lyxfunc.h:
7537         * lyxfunc.C:
7538         * text2.C: use key_state/mouse_state
7539
7540 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7541
7542         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7543         and LSubstring
7544
7545         * chset.C: change include order
7546         (loadFile): use boost regex and get rid of LRegex and LSubstring
7547
7548         * Makefile.am (BOOST_LIBS): new variable
7549         (lyx_LDADD): use it
7550
7551         * LaTeX.C: change include order.
7552         (scanAuxFile): use boost regex and get rid of LRegex and
7553         LSubstring
7554         (deplog): ditto
7555
7556 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7557
7558         * ColorHandler.h:
7559         * ColorHandler.C:
7560         * FontInfo.h:
7561         * FontInfo.C: moved to frontends/xforms/
7562
7563         * FontLoader.h:
7564         * FontLoader.C: moved into frontends for GUIIzation
7565
7566         * Makefile.am:
7567         * lyx_gui.C:
7568         * lyxfont.C:
7569         * lyxfunc.C: changes from above
7570
7571 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7572
7573         * LColor.C: remove spurious X include
7574
7575         * BufferView_pimpl.C:
7576         * Makefile.am:
7577         * font.h:
7578         * font.C:
7579         * text.C:
7580         * text2.C: move font metrics to frontends/
7581
7582 2002-05-24  Juergen Vigna  <jug@sad.it>
7583
7584         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7585         setting the undo_cursor.
7586
7587         * ParagraphParameters.h: include local includes first.
7588
7589 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * BufferView_pimpl.C:
7592         * BufferView_pimpl.h:
7593         * Makefile.am:
7594         * WorkArea.h:
7595         * WorkArea.C:
7596         * screen.C: move WorkArea into frontends/
7597
7598         * lyxscreen.h:
7599         * screen.C:
7600         * text.C:
7601         * BufferView.C:
7602         * BufferView2.C: move LyXScreen into frontends/
7603
7604         * lyxlookup.h:
7605         * lyxlookup.C:
7606         * lyx_gui.C: move lyxlookup into frontends/xforms/
7607
7608 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * BufferView2.C:
7611         * BufferView_pimpl.C:
7612         * FontLoader.C:
7613         * LyXView.h:
7614         * LyXView.C:
7615         * Makefile.am:
7616         * WorkArea.C:
7617         * XFormsView.h:
7618         * XFormsView.C:
7619         * buffer.C:
7620         * bufferlist.C:
7621         * bufferview_funcs.C:
7622         * converter.C:
7623         * importer.C:
7624         * lyx_cb.C:
7625         * lyx_gui.C:
7626         * lyx_main.C:
7627         * lyx_find.C:
7628         * lyxfunc.C:
7629         * lyxvc.C:
7630         * minibuffer.C:
7631         * text.C:
7632         * text2.C:
7633         * trans.C:
7634         * vc-backend.C: move LyX/XFormsView into frontends/
7635
7636 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7637
7638         * Makefile.am:
7639         * PainterBase.C:
7640         * PainterBase.h:
7641         * Painter.C:
7642         * Painter.h:
7643         * WorkArea.C:
7644         * WorkArea.h:
7645         * screen.C:
7646         * tabular.C:
7647         * text.C:
7648         * text2.C: move Painter to frontends/
7649
7650 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7651
7652         * buffer.C: comment out some some code that depend upon lyx_format
7653         < 220
7654
7655         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7656         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7657
7658         * buffer.h (NO_COMPABILITY): turn off compability
7659
7660         * ColorHandler.C: include scoped_array.hpp
7661
7662         * font.C: Use more specific smart_ptr header.
7663         * Painter.C: ditto
7664         * gettext.C: ditto
7665         * ShareContainer.h: ditto
7666         * lyx_main.h: ditto
7667         * kbmap.h: ditto
7668         * FontInfo.h: ditto
7669         * BufferView_pimpl.h: ditto
7670         * ColorHandler.h: ditto
7671
7672         * kbmap.C (defkey): change call to shared_ptr::reset
7673
7674 2002-05-21  Juergen Vigna  <jug@sad.it>
7675
7676         * buffer.C (insertErtContents): fix to insert ert asis if it is
7677         non empty. Skip it completely if it contains only whitespaces.
7678
7679 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7680
7681         * BufferView_pimpl.C:
7682         * BufferView2.C: clear selection on paste (bug 393)
7683
7684 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7685
7686         * DepTable.C: include ctime
7687
7688 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7689
7690         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7691
7692 2002-05-14  Juergen Vigna  <jug@sad.it>
7693
7694         * text.C (breakParagraph): fixed function to honor the keepempty
7695         layout in the right maner and also to permit the right breaking
7696         algorithm on empty or non empyt keepempty paragraphs.
7697
7698         * paragraph.C (breakParagraph): we have to check also if the par
7699         is really empty (!size()) for isempty otherwise we do the wrong
7700         paragraph break.
7701
7702 2002-05-10  Juergen Vigna  <jug@sad.it>
7703
7704         * buffer.[Ch] : The following are only changes to the ert
7705         compatibility read reading old LaTeX layout and font stuff and
7706         convert it to ERTInsets.
7707
7708         * buffer.h: added isErtInset().
7709
7710         * buffer.C (struct ErtComp): add a fromlayout bool to check
7711         if we're inside a LaTeX layout.
7712         (isErtInset): new helper function.
7713         (insertErtContents): look for other ert insets before this one
7714         and insert the contents there, so that we don't have subsequent
7715         ERT insets with nothing between them. This way we create only one
7716         inset with multiple paragraphs. Also check if we don't insert only
7717         spaces ' ' as they are ignored anyway afterwards in the .tex file
7718         so if we have only spaces we will ignore this latex part in the
7719         new file.
7720         (parseSingleLyXformat2Token \\layout): better compatibility when
7721         reading layout-latex stuff.
7722         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7723         language tag.
7724         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7725         stuff after reading the inset only get the information back from
7726         the stack.
7727
7728 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7729
7730         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7731
7732         * LaTeXFeatures.C (getBabelOptions): New method.
7733
7734 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7735
7736         * BufferView_pimpl.C (Dispatch): work around missing argument for
7737         'layout'
7738
7739 2002-05-08  Juergen Vigna  <jug@sad.it>
7740
7741         * text.C (leftMargin): handle paragraph leftindent.
7742
7743         * paragraph.C (writeFile): write the new \\leftindent tag.
7744         (validate): handle leftindent code.
7745         (TeXEnvironment): handle paragraphleftindent code again.
7746
7747         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7748
7749         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7750         for paragrap_extra indent code and new token \\leftindent.
7751         (latexParagraphs): handle the leftindent as environment.
7752
7753         * ParameterStruct.h: added leftindent support.
7754
7755         * ParagraphParameters.C (leftIndent): added support functions for
7756         the paragraph left indent.
7757
7758         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7759         more appropriate.
7760
7761 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7762
7763         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7764         inside insetERT.
7765
7766         * text.C (computeBidiTables): No bidi in insetERT.
7767
7768         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7769         in RTL documents.
7770
7771 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7772
7773         * version.C.in: pre 5
7774
7775 2002-05-02  José Matos  <jamatos@fep.up.pt>
7776         * buffer.C (makeDocBookFile): white space changes, add newline to
7777         command styles.
7778         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7779
7780         * tabular.C (docBook): fix typo.
7781
7782 2002-05-03  Juergen Vigna  <jug@sad.it>
7783
7784         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7785         change in LyXText as we can not be sure it was not freed.
7786         (drawOneRow): remove unused code.
7787
7788         * text.C (drawInset): redo the calculation of the need_break_row as
7789         it could have a row which was already freed.
7790         (draw): look at the return value of drawInset and return false if
7791         it also returned false.
7792         (paintRowText): look at the return value of draw and return false if
7793         it also returned false.
7794
7795         * lyxtext.h: added bool return type to drawInset() and draw() so that
7796         if we have a change in the row so that the rowbreak has to be redone
7797         we abort drawing as it will be called again.
7798
7799 2002-05-02  Juergen Vigna  <jug@sad.it>
7800
7801         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7802         a change in the maintext also if we're inside an inset.
7803         (Dispatch): set the cursor again after a break line and after the
7804         screen has been updated as it could be we're in a different row.
7805
7806         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7807         to set the cursor behind the pargraph with > size().
7808         (setCursor): check also for the same paragraph when checking where
7809         to put the cursor if we have a NFR inset.
7810
7811         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7812         parts of layout read further up as it still was in the wrong
7813         position.
7814
7815 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7816
7817         * screen.C (drawFromTo): change sine fullRebreak always return
7818         true.
7819
7820         * buffer.C (parseSingleLyXformat2Token): reindent some
7821
7822         * BufferView_pimpl.C (update): change since fullRebreak always
7823         return true.
7824         (Dispatch): git rid of the last hardcoded "Standard"s.
7825
7826 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7827
7828         * text2.[Ch] (fullRebreak): make it return void now that we always
7829         returned true.
7830
7831 2002-04-30  Juergen Vigna  <jug@sad.it>
7832
7833         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7834         ert compatibility check for "latex" layout.
7835
7836 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7837
7838         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7839         minipages: use col% instead of p%, and also use the current font.
7840         (makeLaTeXFile): Fix use babel condition.
7841         (parseSingleLyXformat2Token): Correct font when reading old floats.
7842
7843 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7844
7845         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7846         inserting list of floats.
7847
7848 2002-04-25  Herbert Voss  <voss@lyx.org>
7849
7850         * MenuBackend.C (expand): don't add the graphics extensions to the
7851         export menu
7852
7853 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7854
7855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7856         non-existing layout, do not complain if it was the default layout
7857         of the original class (bug #342)
7858
7859 2002-04-24  Juergen Vigna  <jug@sad.it>
7860
7861         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7862         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7863
7864 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7865
7866         * buffer.C (getBibkeyList): If using \bibliography, return the
7867         option field with the reference itself. Enables us to provide natbib
7868         support when using \bibliography.
7869
7870 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7871
7872         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7873
7874         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7875         natbib is provided by the LaTeX class.
7876
7877 2002-04-23  Juergen Vigna  <jug@sad.it>
7878
7879         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7880         Wakeup functions.
7881
7882         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7883
7884 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7885
7886         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7887
7888         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7889         ensuremath around textordmasculine, textordfeminine and
7890         textdegree.
7891
7892 2002-04-19  Juergen Vigna  <jug@sad.it>
7893
7894         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7895         reinitializing the buffer otherwise row-dimensions may be wrong.
7896         (update): reset also the selection cursors if they do exits otherwise
7897         their x/y positions may be wrong.
7898
7899         * text2.C (cursorDown): don't enter the inset if we came from a row
7900         above and are one row over the inset.
7901
7902         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7903         really leaving an inset.
7904
7905 2002-04-18  Juergen Vigna  <jug@sad.it>
7906
7907         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7908         of the selected paragraph does not have the selected layout also if
7909         the last one had!
7910
7911         * text2.C (setLayout): fixed bug which did not change last selected
7912         paragraph.
7913
7914         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7915         changed the read and substituted \\end_float with \\end_inset!
7916
7917         * BufferView_pimpl.C (cursorPrevious):
7918         (cursorNext): fixed to make it work with rows heigher than the work
7919         area without moving the cursor only the draw of the row.
7920         (workAreaMotionNotify): fix jumping over high rows.
7921
7922 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7925         Ressler.
7926
7927 2002-04-16  Juergen Vigna  <jug@sad.it>
7928
7929         * text2.C (setCursor): set also the irow().
7930         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7931         (cursorUp):
7932         (cursorDown): support for locking an inset if the x_fix value goes
7933         inside it. That way I can transverse insets too with cursor up/down.
7934
7935         * lyxrow.h: added irow helper function same as other (i) functions.
7936
7937         * BufferView_pimpl.C (cursorPrevious):
7938         (cursorNext): fixed for insets!
7939
7940 2002-04-15  Juergen Vigna  <jug@sad.it>
7941
7942         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7943         position otherwise it is wrong in some cases.
7944
7945         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7946         inside the inset before the call.
7947
7948 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7949
7950         * buffer.[Ch] (getBibkeyList): make it const.
7951
7952 2002-04-12  Juergen Vigna  <jug@sad.it>
7953
7954         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7955
7956         * text2.C (getCursorX): new helper function
7957         (setCursor): compute also ix_
7958         (setCursorFromCoordinates): set also ix.
7959
7960         * lyxcursor.h: added ix_ and helper functions.
7961
7962         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7963
7964         * buffer.C (insertStringAsLines): dont break paragraph if the this
7965         paragraph is inside an inset which does not permit it!
7966
7967         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7968         also with no chars on this paragraph.
7969         (paintRowText): only paint stuff if it's inside the workarea!
7970
7971         * paragraph.C (breakParagraph): honor keepempty flag and break the
7972         paragraph always below not above.
7973
7974         * BufferView2.C (unlockInset): update the paragraph layout on inset
7975         unlock as we changed paragraph in such a case.
7976
7977         * lyxfind.C (LyXFind): clear the former selection if not found!
7978
7979         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7980         again called in insertChar().
7981
7982         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7983         an inset which uses the whole row!
7984         (rightMargin): ditto.
7985         (insertChar): force a rebreak if we inserted an inset!
7986
7987 2002-03-28  Herbert Voss  <voss@lyx.org>
7988
7989         * lyxlength.[Ch]: add inBP() to get the right PS-point
7990         units (BigPoint). With inPixels we have rounding errors
7991
7992 2002-04-11  Juergen Vigna  <jug@sad.it>
7993
7994         * text2.C (setCursorFromCoordinates): set iy to the right value.
7995         (setCursor): add check if row->previous exists!
7996
7997         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7998         an old float_type as this was the case in the old code!
7999
8000         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8001
8002         * BufferView2.C (showLockedInsetCursor): use iy
8003         (fitLockedInsetCursor): ditto
8004
8005         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8006         locked insets as there we have the right value now.
8007
8008         * lyxcursor.C: added iy_ variable and iy functions to set to the
8009         baseline of cursor-y of the locked inset.
8010
8011         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8012         (setCursor): fixed for insets which need a full row.
8013
8014         * text.C (rowLastPrintable): don't ignore the last space when before
8015         an inset which needs a full row.
8016         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8017         as last character of a row when before a inset which needs a full row.
8018
8019 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8020
8021         * version.C.in: update date
8022
8023         * text2.C (fullRebreak): try to always return true and see what
8024         happens...
8025
8026 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8027
8028         * MenuBackend.C (expand): use Floating::listName
8029
8030         * FloatList.C (FloatList): add listName argument to the built-in
8031         floats
8032
8033         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8034         text associated with the float.
8035
8036 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8037
8038         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8039
8040 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8041
8042         * ShareContainer.h: add a couple of missing typenames.
8043
8044 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8045
8046         * lyxrc.C (getDescription): use _() correctly rather than N_().
8047
8048 2002-03-28  Herbert Voss  <voss@lyx.org>
8049
8050         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8051         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8052
8053 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8054
8055         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8056         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8057
8058 2002-03-29  Juergen Vigna  <jug@sad.it>
8059
8060         * lyxfunc.C (dispatch): add a missing fitCursor call.
8061
8062         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8063         it was scrolled by a cursor move, so return the bool status.
8064
8065         * BufferView.C (fitCursor): return the bool flag also to the outside
8066         world as this is needed.
8067
8068         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8069
8070         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8071         call the edit() as it is not needed (and wrong) IMO.
8072         (workAreaButtonPress): set the screen_first variable before evt.
8073         unlock the inset as this may change screen_first and then we have
8074         a wrong y position for the click!
8075
8076 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8077
8078         * MenuBackend.C (expand): another translation that I missed
8079
8080 2002-03-28  Juergen Vigna  <jug@sad.it>
8081
8082         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8083
8084         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8085
8086 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8087
8088         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8089
8090         * MenuBackend.C (expand): fix export/view/update when there is no
8091         document open.
8092
8093 2002-03-27  Herbert Voss  <voss@lyx.org>
8094
8095         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8096         and text%
8097
8098 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * bufferview_funcs.C (currentState): only show paragraph number
8101         for is DEVEL_VERSION is set.
8102
8103         * lyxfunc.C (dispatch): put warning in INFO channel
8104
8105         * MenuBackend.C (expand): translate the name of floats
8106
8107         * FloatList.C (FloatList): mark the float names for translation
8108
8109         * converter.C (convert): use LibScriptSearch
8110
8111 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8112
8113         * MenuBackend.C (defaults): fix default menu (we might as well get
8114         rid of it...)
8115
8116 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8117
8118         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8119         directory.
8120
8121 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8122
8123         * lyxvc.C: reorder includes.
8124
8125 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8128           properly
8129
8130 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * CutAndPaste.C: change layouts earlier on paste
8133           to avoid crashing when calling getFont()
8134
8135 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8136
8137         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8138         irritating #error.
8139
8140 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8141
8142         * WorkArea.C: remove 'Pending' debug message.
8143
8144         * most files: ws cleanup
8145
8146         * buffer.[Ch]: ws changes
8147
8148         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8149
8150 2002-03-21  Juergen Vigna  <jug@sad.it>
8151
8152         * tabular.C (SetMultiColumn): collapse also the contents of the
8153         cells and set the last border right. Added a Buffer const * param.
8154
8155 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8156
8157         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8158         linking or not.
8159
8160 2002-03-19  Juergen Vigna  <jug@sad.it>
8161
8162         * text2.C (clearSelection): reset also xsel_cache.
8163
8164         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8165         where it needs to be called (John tells us to do so too :)
8166         (selectionLost): reset sel_cache.
8167
8168         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8169
8170 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8171
8172         * text2.C (setCursorIntern): put debuging code in INSETS channel
8173
8174 2002-03-19  André Pönitz <poenitz@gmx.net>
8175
8176         * lyxfunc.C: tiny whitespace change
8177
8178 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * ToolbarDefaults.C (init):
8181         * LyXAction.C (init):
8182         * commandtags.h:
8183         * BufferView_pimpl.C (Dispatch):
8184         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8185
8186 2002-03-19  Allan Rae  <rae@lyx.org>
8187
8188         * exporter.C (Export): removeAutoInsets before doing anything else.
8189         While I've just introduced a dependency on BufferView this really is
8190         the best place to clean the buffer otherwise you need to cleanup in
8191         a dozen places before calling export or cleanup in a dozen functions
8192         that export calls.
8193
8194         * converter.C (runLaTeX):
8195         (scanLog): Better handling of removeAutoInsets and screen updates.
8196
8197         * lyxfunc.C (dispatch): small whitespace changes
8198
8199 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8200
8201         * WorkArea.C (C_WorkAreaEvent): return a value.
8202         (event_cb): return 1 if we handled the event, 0 otherwise.
8203
8204         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8205
8206 2002-03-18  Juergen Vigna  <jug@sad.it>
8207
8208         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8209         (GetAdditionalWidth): ditto.
8210         (RightLine): ditto.
8211         (LeftLine): ditto.
8212
8213         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8214         inset if we're there actually (probably not used right now but this
8215         is the direction to go for unifying code).
8216         (paste): disable code to clear the selection.
8217
8218         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8219         inside an InsetText and move the check further up as it is in the
8220         wrong place.
8221
8222         * text2.C (pasteSelection): set a selection over the pasted text.
8223
8224 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8225
8226         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8227         and libgraphics to build on Cygwin.
8228
8229 2002-03-15  Juergen Vigna  <jug@sad.it>
8230
8231         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8232         inserting an Inset into the paragraph. I know this is not the best
8233         fix but we already use current_view in CutAndPaste so we will remove
8234         all of it's using at the same time.
8235
8236         * buffer.C (sgmlError): deactivated function till it is rewritten in
8237         the right mode, now it can create problems.
8238
8239         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8240         before accessing it.
8241
8242 2002-03-14  Juergen Vigna  <jug@sad.it>
8243
8244         * undo_funcs.C (textHandleUndo): do the right thing when updating
8245         the inset after the undo/redo.
8246
8247         * text2.C (setCursor): just some testcode for #44 not ready yet.
8248
8249         * undo_funcs.C (textHandleUndo): set the next() and previous()
8250         pointers of the paragraph to 0 before deleting otherwise we have
8251         problems with the Paragraph::[destructor].
8252
8253         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8254         on a paragraph insertion.
8255
8256 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8257
8258         * buffer.C (asciiParagraph): use += operator for char append to
8259         string.
8260
8261         * paragraph.C (getFontSettings): compare >= not just >
8262         (highestFontInRange): ditto
8263         (setFont): ditto
8264
8265 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8266
8267         * paragraph.C: change several algorithm to be more appripriate for
8268         the problem domain. This is lookip in FontList and in the InsetList.
8269
8270 2002-03-13  André Pönitz <poenitz@gmx.net>
8271
8272         * commandtags.h:
8273         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8274
8275 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * commandtags.h:
8278         * LyXAction.C:
8279         * lyxfunc.C:
8280         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8281
8282 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8283
8284         * Painter.C (display): anon helper function, adjust code for this
8285         change.
8286         (pixmap): remove function.
8287
8288         * Painter.h: remove private display variable.
8289
8290         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8291
8292 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8293
8294         * WorkArea.[Ch]: remove figinset_canvas cruft.
8295
8296 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8297
8298         * lyxtextclass.C (operator): add one item cache optimization.
8299
8300         * bufferlist.h: doxy changes
8301
8302         * bufferlist.C: ws changes
8303
8304         * DepTable.[Ch] (ext_exist): place const in the right spot.
8305
8306         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8307         call resizeInsets.
8308         (workAreaExpose): call resizeInsets when the with BufferView changes.
8309         (Dispatch): adjust for protectedBlank removal
8310         (specialChar): call updateInset if the insert went ok.
8311
8312         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8313         specialChar instead.
8314
8315         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8316
8317         * BufferView.h: doxy change
8318
8319         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8320
8321         * lyxtextclass.C (operator[]): remove non-const version
8322         (defaultLayout): remove non-const version
8323
8324 2002-03-12  Juergen Vigna  <jug@sad.it>
8325
8326         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8327         did resize the LyXText too.
8328
8329         * buffer.C (readLyXformat2): set layout information on newly allocated
8330         paragraphs.
8331
8332         * tabular.C (OldFormatRead): set layout information on the paragraph.
8333
8334 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8335
8336         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8337
8338 2002-03-11  Juergen Vigna  <jug@sad.it>
8339
8340         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8341         plainly wrong.
8342         (resizeCurrentBuffer): force also the insets to resize themselfes.
8343         (moveCursorUpdate): fixed up for InsetText.
8344
8345 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8346
8347         * commandtags.h:
8348         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8349         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8350         value of Dialogs::tooltipsEnabled().
8351         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8352
8353 2002-03-08  Juergen Vigna  <jug@sad.it>
8354
8355         * BufferView_pimpl.C (updateInset): update inset inside inset also
8356         if it isn't inside theLockingInset().
8357
8358 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8359
8360         * buffer.C (asciiParagraph): redo some of the word and line length
8361         handling.
8362         (getLists): look for Caption instead of caption.
8363
8364 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8365
8366         * buffer.C (Buffer): initialize niceFile to true
8367         (makeLaTeXFile):
8368         (makeLinuxDocFile):
8369         (makeDocBookFile): make sure niceFile is true on exit
8370
8371 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8372
8373         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8374
8375 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8376
8377         * LyXSendto.C: remove.
8378         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8379         * lyx_gui.C: remove now-redundant comment.
8380         * ColorHandler.h: remove forward declaration of class WorkArea.
8381         * lyxfunc.C: remove #include "WorkArea.h".
8382
8383 2002-03-07  Juergen Vigna  <jug@sad.it>
8384
8385         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8386         got moved away with the DEPM and also set the inset_owner always
8387         right which before could have been omitted.
8388
8389 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8390
8391         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8392         wanted layout is not found.
8393
8394 2002-03-07  Juergen Vigna  <jug@sad.it>
8395
8396         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8397
8398 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8399
8400         * paragraph.C (breakParagraph): use default layout not layout of
8401         prev paragraph.
8402         (Paragraph): clear ParagraphParameters.
8403
8404 2002-03-06  Juergen Vigna  <jug@sad.it>
8405
8406         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8407         otherwise it would not be a valid lenght. Fixed a special case in
8408         the minipage compatibility read where we end the document with a
8409         minipage.
8410
8411         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8412         was set as it could be 0 for InsetTexts first entry.
8413
8414 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8415
8416         * paragraph.C (writeFile): if layout is empty write out
8417         defaultLayoutName().
8418
8419         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8420         file without named layout we set layout to defaultLayoutName().
8421
8422 2002-03-06  Juergen Vigna  <jug@sad.it>
8423
8424         * CutAndPaste.C (copySelection): set layout for new paragraph.
8425
8426         * text.C (prepareToPrint): leave ERT inset left aligned
8427         (leftMargin): don't indent paragraphs inside ERT insets
8428
8429 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8430
8431         * paragraph.C (breakParagraph): dont call clear do the work manually
8432
8433         * paragraph.[Ch] (clear): remove function
8434
8435 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8436
8437         * paragraph.C (Paragraph): dont call clear, the work has already
8438         been done.
8439
8440         * lyxtextclass.C (operator): assert if n is empty
8441
8442         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8443         work manually instead.
8444
8445 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8446
8447         * BufferView_pimpl.C: protect selectionLost against text == 0
8448
8449 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8450
8451         * text.C (breakParagraph): fix a setting layout to '0' problem.
8452
8453 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8454
8455         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8456         final location of file, for the included files, and graphics.
8457
8458 2002-03-05  Juergen Vigna  <jug@sad.it>
8459
8460         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8461
8462 2002-03-04  Juergen Vigna  <jug@sad.it>
8463
8464         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8465
8466         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8467         last column of multicolumn cells.
8468         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8469
8470 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8471
8472         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8473         file if it doesn't go to a temporary file.
8474
8475         * buffer.C (sgmlOpenTag):
8476         (sgmlCloseTag):  remove extra newline insertion.
8477
8478 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8479
8480         * text.C (getRowNearY): comment out debug msg
8481
8482 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8483
8484         * text2.C: first -> first_y
8485
8486         * text.C (getRowNearY): add some attemts at a possible
8487         optimization, not working.
8488
8489         * tabular.[Ch]: add BufferParams to several function so that newly
8490         created paragraph can be initialized to he default layotu for the
8491         buffers textclass.
8492
8493         * tabular-old.C (ReadOld): add buf->params to call of Init
8494
8495         * screen.C: rename text->first to text->first_y
8496
8497         * paragraph.C (breakParagraph): always set layout in the broken
8498         paragraph
8499
8500         * lyxtextclass.C (Read): remove lowercase
8501         (hasLayout): ditto
8502         (operator): ditto
8503         (delete_layout): ditto
8504
8505         * lyxtext.h: rename first -> first_y
8506
8507         * lyxlayout.C (Read): remove lowercase
8508         (name): ditto
8509         (setName): ditto
8510         (obsoleted_by): ditto
8511
8512         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8513
8514         * buffer.C (insertErtContents): add params are to InsetERT
8515         (parseSingleLyXformat2Token): add code to check if a paragraphs
8516         layout really exist.
8517         (parseSingleLyXformat2Token): add params to several inset
8518         constructors
8519         (asciiParagraph): remove lowercase, do the layout comparisons with
8520         no_case
8521
8522         * BufferView_pimpl.C (cursorNext): first -> first_y
8523         (resizeCurrentBuffer): first -> first_y
8524         (updateScrollbar): first -> first_y
8525         (scrollCB): first -> first_y
8526         (workAreaMotionNotify): first -> first_y
8527         (workAreaButtonPress): first -> first_y
8528         (checkInsetHit): first -> first_y
8529         (cursorPrevious): first -> first_y
8530         (cursorNext): first -> first_y
8531         (Dispatch): add buffer_->params to severl inset contructors
8532
8533 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8534
8535         * lyxlayout.C (Read): remove some debug info that I forgot.
8536
8537         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8538         clean up the code slightly.
8539         (makeLinuxDocFile): ditto
8540         (makeDocBookFile): ditto
8541
8542         * text2.C: layout as string
8543
8544         * text.C: layout as string
8545
8546         * paragraph_pimpl.C: layout as string
8547
8548         * paragraph.[Ch]: layout as string
8549
8550         * lyxtextclasslist.[Ch]: layout as string
8551
8552         * lyxtextclass.[Ch]: layout as string
8553
8554         * lyxtext.h: layout as string
8555
8556         * lyxlayout.[Ch]: layout as string
8557
8558         * lyx_cb.C: layout as string
8559
8560         * bufferview_funcs.C: layout as string
8561
8562         * bufferparams.C: layout as string
8563
8564         * buffer.C: layout as string
8565
8566         * LyXView.[Ch]: layout as string
8567
8568         * LaTeXFeatures.[Ch]: layout as string
8569
8570         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8571
8572         * BufferView_pimpl.C: change current_layout to string, remove
8573         lyx::layout_type.
8574         (Dispatch):
8575         (smartQuote):
8576         (insertInset):
8577         (workAreaButtonRelease): layout as string
8578
8579         * BufferView2.C (unlockInset): adjust
8580
8581         * vspace.C (asLatexCommand): use an explict temp variable.
8582
8583 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8584
8585         * Makefile.am: use FRONTEND_*
8586
8587 2002-03-01  Juergen Vigna  <jug@sad.it>
8588
8589         * tabular.C (SetWidthOfMulticolCell): changed to something better
8590         I hope but still work in progress.
8591         (recalculateMulticolumnsOfColumn): renamed function from
8592         recalculateMulticolCells as it is more appropriate now.
8593         (SetWidthOfCell): calculate multicols better.
8594
8595 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8596
8597         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8598
8599         * lyxfunc.C (processKeySym): print sequence also if it is
8600         `deleted' (complete)
8601
8602         * kbsequence.C (print): print sequence even if it is deleted
8603         (complete would be a better word, actually).
8604
8605         * lyxfunc.C (dispatch): print complete options after a prefix key
8606
8607         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8608
8609 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8610
8611         * text2.C (setCharFont): eliminate setCharFont code duplication.
8612
8613 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8614
8615         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8616         LFUN_TABULAR_FEATURE (bug #177)
8617
8618 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8619
8620         * Makefile.am: remove figure.h
8621
8622 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8623
8624         * Bufferview_pimpl.C:
8625         * CutAndPasteC:
8626         * LaTeX.C:
8627         * LyXSendto.C:
8628         * buffer.C:
8629         * bufferlist.C:
8630         * converter.C:
8631         * language.C:
8632         * lyxfunc.C:
8633         * lyxvc.C:
8634         * paragraph.C:
8635         * text.C:
8636         * text2.C: remove #include "lyx_gui_misc.h".
8637
8638         * LaTeX.C: added #include <cstdio>
8639
8640 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8641
8642         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8643         that the paragraph following this one can have.
8644
8645         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8646
8647         * vspace.C (asLatexCommand): fix bogus gcc warning
8648
8649         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8650
8651 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8652
8653         * text2.C (setLayout): get rid of redundant code
8654
8655 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8656
8657         * text2.C (incDepth): make sure depth cannot be increased beyond
8658         reasonable values.
8659
8660 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8661
8662         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8663         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8664
8665         * PainterBase.h (image):
8666         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8667         a LyXImage const *.
8668
8669 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * BufferView.C:
8672         * BufferView.h:
8673         * BufferView_pimpl.C:
8674         * BufferView_pimpl.h:
8675         * LaTeXFeatures.C:
8676         * LyXAction.C:
8677         * LyXView.C:
8678         * Makefile.am:
8679         * UpdateList.h:
8680         * UpdateList.C:
8681         * buffer.C:
8682         * figure.h:
8683         * figureForm.C:
8684         * figureForm.h:
8685         * figure_form.C:
8686         * figure_form.h:
8687         * lyx_cb.C:
8688         * lyx_gui.C:
8689         * lyx_gui_misc.C:
8690         * lyxfunc.C:
8691         * sp_base.h:
8692         * sp_ispell.h:
8693         * sp_pspell.h:
8694         * sp_spell.C: remove fig inset, and the crap house of
8695           cards that follows it
8696
8697 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8698
8699         * Makefile.am:
8700         * lyxserver.C:
8701         * os2_defines.h:
8702         * os2_errortable.h:
8703         * nt_defines.h: move .h into support/
8704
8705         * vms_defines.h: remove
8706
8707         * WorkArea.C: add space in debug output
8708
8709         * text2.C:
8710         * paragraph.C:
8711         * buffer.C: add WITH_WARNINGS
8712
8713         * vc-backend.h:
8714         * vc-backend.C:
8715         * bufferlist.C: s/retrive/retrieve/, add docs
8716
8717         * vspace.h:
8718         * vspace.C:
8719         * kbmap.h:
8720         * lyxlength.h:
8721         * lyxgluelength.h:
8722         * length_common.h:
8723         * chset.h:
8724         * chset.C: add docs
8725
8726         * lyxgui.C: add ID to X error handler
8727
8728         * lyxtestclass.c: fix typo
8729
8730 2002-02-26  Juergen Vigna  <jug@sad.it>
8731
8732         * tabular_funcs.C (write_attribute): changed so that some default
8733         attributes are not written at all.
8734         (getTokenValue): set default values before trying to read the
8735         value so we have the return value always set as default if we don't
8736         find the token we search for.
8737
8738         * tabular.C (Write): write bools as bools not as strings!
8739
8740 2002-02-22  Juergen Vigna  <jug@sad.it>
8741
8742         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8743         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8744
8745         * text.C (leftMargin): don't add an indent for paragraphs inside
8746         tabular cells (fix #208).
8747
8748 2002-02-21  José Matos  <jamatos@fep.up.pt>
8749
8750         * tabular.C (docBook): fixed support for long tables.
8751
8752 2002-02-20  Juergen Vigna  <jug@sad.it>
8753
8754         * text2.C (getFont): get the drawing font of the Inset if this
8755         paragraph is inside an inset (only important for InsetERT for now).
8756
8757         * buffer.C (insertErtContents): use new lanugage params in ERT
8758         constructor.
8759
8760         * CutAndPaste.C: commenting out seemingly uneeded code.
8761
8762 2002-02-19  Allan Rae  <rae@lyx.org>
8763
8764         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8765         Iterators might be simple to use but they also get invalidated.
8766         (removeAutoInsets): renamed saved cursor tracking variables and added
8767         some comments to clarify what everything does.
8768
8769 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8770
8771         * Chktex.C:
8772         * LaTeX.C:
8773         * LyXSendto.C:
8774         * converter.C:
8775         * lyx_cb.C:
8776         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8777         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8778
8779         * lyxfunc.C:
8780         * vc-backend.h: remove #include "support/syscall.h"
8781
8782         * LaTeX.C:
8783         * LyXSendto.C:
8784         * converter.C: rearrange #includes in Lars' approved fashion.
8785
8786         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8787         forward declare class Timeout in the header file.
8788
8789         * XFormsView.C: changes due to the above.
8790
8791         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8792         similar to LyXView.
8793
8794         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8795         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8796
8797 2002-02-18  José Matos  <jamatos@fep.up.pt>
8798
8799         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8800         insets contents.
8801
8802 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8803
8804         * a lot of small ws changes
8805         * add a lot of using std::XXX
8806         * use std construcs some places where approp.
8807         * use some exisint stuff from lyxfunctional where approp.
8808         * Make file changes to use partial linking (lets test this now...)
8809
8810 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8811
8812         * Chktex.C:
8813         * buffer.C:
8814         remove #include "support/syscontr.h" as it's redundant. Always has been.
8815
8816         * Chktex.C:
8817         * LaTeX.C:
8818         * LyXSendto.C:
8819         * converter.C:
8820         * lyx_cb.C:
8821         * vc-backend.C:
8822         change Systemcalls::System to Systemcalls::Wait and
8823         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8824         No change of functionality, just reflects the stripped down Systemcalls
8825         class.
8826
8827 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8828
8829         * debug.[Ch]: add a GRAPHICS type to the enum.
8830
8831 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8832
8833         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8834
8835         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8836         there is an inset.
8837
8838 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8839
8840         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8841         match the changes below.
8842
8843         * text2.C (toggleInset): if there is not editable inset at cursor
8844         position, try to see if cursor is _inside_ a collapsable inset
8845         and close it.
8846
8847 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8848
8849         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8850         document menu has a nice checkbox
8851
8852 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8853
8854         * lyxlength.C (asLatexString): change PW to output as percent of
8855         \textwidth.
8856
8857         * lengthcommon.C: change '%' to 't%'
8858
8859         * lyxfunc.C (dispatch): a few comments from Martin
8860
8861 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * WorkArea.h:
8864         * WorkArea.C:
8865         * BufferView_pimpl.h:
8866         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8867           the X selection.
8868
8869 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * vspace.C (inPixels): fix compiler warning
8872
8873 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8874
8875         * lyxfunc.C (getStatus): fix status message for disabled commands.
8876
8877 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * BufferView_pimpl.C: fix crash on close buffer
8880         during selection (#227)
8881
8882 2002-01-27  Herbert Voss  <voss@lyx.org>
8883
8884         * buffer.C: link old Figure to new graphic inset
8885
8886 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8887
8888         * FontLoader.C (getFontinfo): Change the latex font names in order
8889         to match the names of type1inst.
8890
8891 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8894
8895         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8896         (extchanged): ditto
8897         (ext_exist): ditto
8898         (remove_files_with_extension): ditto
8899         (remove_file): ditto
8900         (write): ditto
8901
8902         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8903         document is smaller than the work area height. Do not initialize
8904         static variables to 0.
8905
8906 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8909
8910         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8911         LFUN_LAYOUT_PARAGRAPHS.
8912
8913         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8914         tabular. It is possible to provide a possible cell, which will
8915         typically be the actcell from the corresponding insettabular
8916
8917         * lyxfunc.C (getStatus): small cleanup; disable
8918         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8919         true
8920
8921 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8924
8925         * paragraph.C (startTeXParParams):
8926         (endTeXParParams): new methods. The LaTeX code to
8927         start/end paragraph formatting
8928         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8929         empty (fixes bug #200)
8930
8931         * vspace.C (inPixels): adapt to the change below
8932         (inPixels): [later] more cleanups (remove unused variables)
8933
8934         * lyxlength.C (inPixels): change to use a width and a height as
8935         parameter.
8936
8937 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8938
8939         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8940         Replaced with \paperwidth
8941
8942         * DepTable.C (insert): add std:: qualifier
8943
8944 2002-01-18  Allan Rae  <rae@lyx.org>
8945
8946         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8947         updated also?
8948
8949         * text.C (drawInset): Turned out I didn't know enough about how
8950         rebreaking worked.  This fixes most of the redraw problems.  I see
8951         an occasional cursor trail when a line is broken now and the cursor
8952         placement can seem out by a few pixels also after a rebreak.
8953
8954 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * buffer.C (parseSingleLyXformat2Token): update because minipage
8957         width is now a LyXLength
8958
8959         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8960
8961         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8962         math insets
8963
8964 2002-01-17  Juergen Vigna  <jug@sad.it>
8965
8966         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8967
8968         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8969         is set correctly and the inset is updated correctly.
8970
8971 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8974         the beginning of the loop.
8975
8976 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * lyxrc.C: improve help for use_scalable_fonts
8979
8980 2002-01-17  Allan Rae  <rae@lyx.org>
8981
8982         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8983
8984 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8987         make sure to set their inset_owner to the right value (bug #171)
8988
8989 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8990
8991         * DepTable.h
8992         * DepTable.C: Implement mtime checking to reduce time spent doing
8993         CRCs.
8994
8995 2002-01-16  Juergen Vigna  <jug@sad.it>
8996
8997         * tabular.C (GetAdditionalHeight): one of error fixed.
8998
8999         * lyxrc.C (output): small fix in writing use_pspell.
9000
9001 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9002
9003         * sp_base.h: #include LString.h
9004
9005 2002-01-16  Allan Rae  <rae@lyx.org>
9006
9007         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9008         Can someone check this please?
9009
9010         * text.C (drawInset): It was possible that p.row would be removed by
9011         breakAgainOneRow upsetting a few other settings.  There may be another
9012         small tweak possible by setting need_break_row = 0 when p.row has been
9013         removed but I don't know enough about the logic here.
9014
9015 2002-01-15  Allan Rae  <rae@lyx.org>
9016
9017         * text.C (insertChar): removed conditional truism.
9018
9019         * BufferView2.C (removeAutoInsets): More tweaks.
9020         cur_par_prev could be a stray pointer.  Check for trailing empty line
9021         in case last line was cur_par and only had an error inset on it.
9022
9023 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9026         absolute
9027
9028         * vc-backend.C (most methods):
9029         * exporter.C (Export):
9030         * converter.C (convert):
9031         (runLaTeX):
9032         * LyXSendto.C (SendtoApplyCB):
9033         * lyxfunc.C (dispatch):
9034         (menuNew):
9035         (open):
9036         (doImport):
9037         * lyx_cb.C (AutoSave):
9038         (InsertAsciiFile):
9039         * BufferView_pimpl.C (MenuInsertLyXFile):
9040         * buffer.C (runChktex): use Buffer::filePath().
9041
9042         * buffer.h: rename filename to filename_; rename filepath to
9043         filepath_ and make it private
9044         (filePath): new method
9045
9046         * buffer.C (writeFile): use fileName()
9047         (getLatexName):
9048
9049         * lyx_main.C (init): fix starting  of LyX when the binary is a
9050         link from so,ewhere else.
9051
9052         * minibuffer.C: include <cctype> for isprint
9053
9054 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9055
9056         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9057         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9058         name clash with InsetCollapsable's width function.
9059
9060 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9061
9062         * lastfiles.C: include <iterator>
9063
9064 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9065
9066         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9067         std::count.
9068
9069         * buffer.C (makeLaTeXFile): ditto.
9070         Also make loop operation more transparent.
9071
9072 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9073
9074         * ToolbarDefaults.C: remove trailing comma closing namespace.
9075
9076         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9077
9078         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9079         as in WorkArea.
9080
9081         * trans.C (Load): comment out unused variable, allowed.
9082
9083 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9084
9085         * minibuffer.[Ch] (append_char): new method to recieve input from the
9086         drop-down completion browser. If a key was pressed, then recieve this
9087         char and append it to the existing string.
9088         (peek_event): modify the positioning data passed to the completion
9089         browser so that it can be placed above the minibuffer rather than below.
9090 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * LyXAction.C (init): alloe error-next for readonly documents.
9093
9094         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9095         count.
9096
9097 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9098
9099         * bufferlist.C (readFile): create the buffer _after_ checking that
9100         the file exists.
9101
9102         * lyxfunc.C (verboseDispatch): fix handling of arguments
9103
9104         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9105
9106         * lyxrc.C: use string::erase() instead of initializing to "".
9107
9108
9109 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9110
9111         * BufferView_pimpl.h:
9112         * BufferView_pimpl.C:
9113         * WorkArea.h:
9114         * WorkArea.C:
9115         * text2.C: tell X when we have made a selection for copying
9116
9117 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * BufferView_pimpl.C (MenuInsertLyXFile):
9120         * lyxfunc.C (menuNew):
9121         (open):
9122         (doImport): add shortcuts to directory buttons
9123
9124         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9125         open a float)
9126
9127         * lyxfunc.C (setStatusMessage):
9128         (getStatusMessage): new methods
9129         (getStatus):use setStatusMessage instead of setErrorMessage
9130         (dispatch): when function is disabled, set error message here
9131         [instead of in getStatus previously]
9132
9133         * BufferView_pimpl.C (workAreaButtonRelease): update
9134         toolbar/menubar here too.
9135
9136 2002-01-13  Allan Rae  <rae@lyx.org>
9137
9138         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9139         Now seems indestructible.  Remaining task is to audit all other
9140         code affected by deleteEmptyParagraphMechanism.  One small quirk
9141         left is that an empty document with an error in the preamble can
9142         be made to report an error but no error box appears.  I don't know
9143         where it goes.
9144         (removeAutoInsets): Improved comments.
9145
9146 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9147
9148         * Thesaurus.h:
9149         * Thesaurus.C: update for Aiksaurus 0.14
9150
9151 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9152
9153         * text2.C (firstParagraph): removed member function, all uses
9154         replaces with ownerParagraph
9155         (redoParagraphs): here
9156         (updateInset): here
9157         (toggleAppendix): here
9158         * BufferView2.C (insertErrors): here
9159         (setCursorFromRow): here
9160
9161 2002-01-13  Allan Rae  <rae@lyx.org>
9162
9163         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9164         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9165         There is still a way to segfault this although you may have to do this
9166         multiple times: Have an InsetERT with an unknown command in it.
9167         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9168         <down-arrow>, <Enter> again, View->DVI, BANG!
9169
9170         * text2.C (setCursor):
9171         (deleteEmptyParagraphMechanism):
9172         * lyxtext.h (setCursor):
9173         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9174         Making use of the return value may help fix other bugs.
9175
9176 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9177
9178         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9179
9180         * LyXView.C (updateMenubar): call MenuBar::update here
9181         (updateToolbar): but not here
9182         (showState): do not update toolbar/menubar
9183
9184         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9185         should need to care about that.
9186
9187         * lyxfunc.C (verboseDispatch): simplify a bit
9188         (getStatus): have a version which takes a pseudoaction, and
9189         another which requires a (kb_action,string).
9190
9191         * LyXAction.C (retrieveActionArg): make it work also when action
9192         is not a pseudo-action.
9193         (getActionName): simplify a bit
9194         (helpText):
9195
9196 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9197
9198         * lyxfunc.C (verboseDispatch): new families of methods with
9199         several ways to specify a command and a bool to indicate whether
9200         the command name and shortcut should be displayed in minibuffer
9201         (eventually, we could extend that to a finer bitmask like
9202         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9203         (dispatch): the pristine dispatch command which just, well,
9204         dispatchs! Note it still sets its result to minibuffer; I'm not
9205         sure we want that.
9206
9207         * lyxfunc.h: remove setHintMessage
9208
9209         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9210
9211 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9212
9213         * BufferView_pimpl.C (specialChar): delete new inset if we have
9214         not been able to insert it.
9215
9216         * kbmap.C: revert to using int instead of kb_action, since all we
9217         are dealing with is pseudo-actions.
9218
9219         * LyXAction.C (searchActionArg): change to return int instead of
9220         kb_action, since the result is a pseudoaction.
9221
9222 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9223
9224         * buffer.C (insertErtContents): Fix (partially) the font bug.
9225
9226 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9227
9228         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9229         as the other one is broken on my machine!
9230
9231 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9232
9233         * commandtags.h:
9234         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9235
9236 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9237
9238         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9239         reflect their actual use. Provide compatibility code for older lyxrc
9240         files.
9241
9242         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9243         FL_NORMAL_STYLE.
9244         change names of popup font variables in line with the changes to lyxrc.C
9245
9246 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * buffer.C (asciiParagraph): avoid outputing a word twice after
9249         an inset.
9250
9251         * lyxrc.C (getDescription): document that document_path and
9252         template_path can be empty.
9253
9254 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * LaTeXFeatures.C (getMacros):
9257         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9258
9259         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9260
9261         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9262         getPackages.
9263         (getPackages): rename feature "floats" to "float". Use an array to
9264         iterate over 'simple' features (i.e. just a \usepackage). Add
9265         handling of "amsmath" (renamed from "amsstyle").
9266
9267 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9268
9269         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9270         features list.
9271
9272 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9273
9274         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9275         FuncStaus::FuncStatus & FuncStaus::some_method().
9276
9277 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9278
9279         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9280         of the func_satus stuff. Edited and massaged in various ways by
9281         JMarc.
9282
9283         * lyxfunc.C (getStatus): use FuncStatus
9284
9285 2002-01-08  Juergen Vigna  <jug@sad.it>
9286
9287         * text.C (nextBreakPoint): use function Inset::isChar().
9288
9289         * paragraph.C (TeXOnePar): use function
9290         Inset::forceDefaultParagraphs.
9291
9292         * buffer.C (latexParagraphs): use function
9293         Inset::forceDefaultParagraphs.
9294
9295 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9296
9297         * lyx_gui.C (init): set the style of the menu popups to
9298         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9299
9300 2002-01-07  Juergen Vigna  <jug@sad.it>
9301
9302         * text.C (setHeightOfRow): small fix
9303         (prepareToPrint): don't look at alignment if we don't have the place
9304         for doing it.
9305
9306 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9307
9308         * box.C: New file. Move the Box methods and functions out of box.h,
9309         following Lars' suggestion.
9310
9311 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9312
9313         * box.h: #include "support/LOstream.h", needed for inlined function.
9314
9315         * lyxtextclass.C:
9316         * lyxtextclasslist.C: added some using std declarations.
9317
9318 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * box.h: make signed dimensions to allow insets wider than
9321           the screen (bug #162)
9322
9323         * BufferView_pimpl.C: add some insetHit debug
9324
9325 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9326
9327         * vc-backend.C: add FIXME
9328
9329 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9330
9331         * lyxfunc.C (getStatus): enable code for showing math font status
9332         in toolbar/menu.
9333
9334 2002-01-07  Juergen Vigna  <jug@sad.it>
9335
9336         * text.C (nextBreakPoint): removed debug output not needed anymore.
9337
9338 2002-01-06  Juergen Vigna  <jug@sad.it>
9339
9340         * text.C (nextBreakPoint): fixed up this function we had this bug
9341         since ever but now hopefully we break row better.
9342         (insertChar): we have to check if an inset is the next char as it
9343         could now happen that a large inset is causing a break.
9344
9345 2002-01-05  Juergen Vigna  <jug@sad.it>
9346
9347         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9348         if it doesn't like to be drawed.
9349
9350 2002-01-04  Juergen Vigna  <jug@sad.it>
9351
9352         * BufferView2.C (lockInset): forgot to set a cursor.
9353
9354         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9355
9356 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9357
9358         * FormMathsPanel.C:
9359         * FormMathsPanel.h
9360         * MathsSymbols.C:
9361         * form_maths_panel.C:
9362         * form_maths_panel.h:
9363         * form_maths_panel.fd: implemented sub- and super- buttons in math
9364         panel.
9365
9366         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9367         (or ^ space) to be used as in TeX (req'd by André).
9368
9369         * lyxfunc.C: Allow ^ and _ again to be used both as
9370         super/subscript (mathed) and as themselves (in text).
9371
9372 2002-01-03  Allan Rae  <rae@lyx.org>
9373
9374         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9375         "LyX" or the filename of the current buffer if it has one.  This is a
9376         modified form of John Levon's patch.
9377
9378         * XFormsView.C (setWindowTitle): also set icon title.
9379
9380         * LyXView.h (setWindowTitle): signature changed.
9381         * XFormsView.h (setWindowTitle): ditto.
9382
9383 2002-01-02  Juergen Vigna  <jug@sad.it>
9384
9385         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9386
9387 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9388
9389         * screen.C (topCursorVisible): introduce a temp var for
9390         text->cursor.row(), handle the case where this row is null. (kindo
9391         hachish)
9392
9393         * text2.C (setCursor): add a couple of asserts.
9394
9395         * paragraph.h (inset_iterator): add -> operator
9396
9397         * paragraph.[Ch] (autoDeleteInsets): remove member function
9398
9399         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9400         cursor pos correctly and handle inset deletion by itself.
9401         (insertErrors): move iterator declaration out of for expression
9402
9403         * lyxtextclass.C: add <algorithm>
9404
9405         * Makefile.am: added the new files to sources, removed layout.C
9406
9407         * layout.C: removed file
9408
9409         * layout.h: remove LYX_DUMMY_LAYOUT
9410
9411         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9412         layout.
9413
9414         * lyxlayout.[Ch]:
9415         * lyxtextclass.[Ch]:
9416         * lyxtextclasslist.[Ch]: new files
9417
9418         * include order changes to a lot of files, also changes because of
9419         the six new files.
9420
9421 2001-12-27  Juergen Vigna  <jug@sad.it>
9422
9423         * buffer.C (asciiParagraph): more fixes.
9424
9425         * tabular.C (ascii): make ascii export support export of only the
9426         data separated by a column-delimiter.
9427         (ascii): better support for ascii export.
9428
9429         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9430
9431 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9432
9433         * tabular_funcs.C: use a "using std::getline" instead of the
9434         previous fix from Angus (necessary for cxx + lyxstring)
9435
9436 2001-12-24  Juergen Vigna  <jug@sad.it>
9437
9438         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9439
9440         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9441         problems. First check a minipage also if we have some ert-contents
9442         (not only on par->size(), second set the right depth of the paragraph
9443         on the relink to the root-paragraph-list!
9444
9445         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9446         which then did not anymore update the main paragraphs on undo/redo!
9447
9448 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9449
9450         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9451         code. Support all font-changing funcs (even those which are not in
9452         menu currently). Support for reporting font settings in
9453         mathed (disabled until Andre provides a function on mathed's side).
9454
9455         * func_status.h (toggle): small helper function to set toggle
9456         state on a flag.
9457
9458 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9459
9460         * tabular_funcs.C: getline -> std::getline
9461
9462 2001-12-21  Juergen Vigna  <jug@sad.it>
9463
9464         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9465         accessed and could be 0 (I couldn't generate this but it seems
9466         Michael could!).
9467
9468 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9471         * tabular_funcs.h: here and include iosfwd
9472
9473 2001-12-20  Juergen Vigna  <jug@sad.it>
9474
9475         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9476         inside inset but undo_par was.
9477
9478 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9479
9480         * Thesaurus.C: always include <config.h> in sources.
9481
9482         * Painter.h:
9483         * lyxlookup.h:
9484         * box.h: do not include <config.h> in header files
9485
9486         * text.C (paintLastRow): remove unused variable
9487
9488         * text.C (transformChar):
9489         (insertChar):
9490         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9491
9492         * Painter.C (text):
9493         * font.C (width): rewrite to use uppercase() instead of
9494         islower/toupper.
9495
9496         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9497
9498 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * lyxfind.C: clean up of find failure position change
9501
9502 2001-12-20  Juergen Vigna  <jug@sad.it>
9503
9504         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9505
9506         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9507         (TeXRow): added to LaTeX a single tabular row.
9508         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9509         (Latex): simplified and finally good LT-h/f support.
9510         (various_functions): just small adaptions for LT-h/f support.
9511
9512         * tabular_funcs.[hC]: added and moved here all not classfunctions
9513         of LyXTabular.
9514
9515 2001-12-19  Juergen Vigna  <jug@sad.it>
9516
9517         * tabular.[Ch]: better support for longtabular options (not finished
9518         yet!)
9519
9520 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * text.C (paintLastRow): use the label font instead of the font of
9523         the last character to compute the size of *_BOX. This makes more
9524         sense and avoids a crash with empty paragraphs.
9525         Use Painter::rectangle to draw EMPTY_BOX.
9526
9527 2001-12-19  Juergen Vigna  <jug@sad.it>
9528
9529         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9530         the paragraphs if the replaced paragraph is not the first one!
9531         Tried to delete not used paragraphs but does not work yet so for
9532         now it's inside #ifdef's and by default off!
9533
9534 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * MenuBackend.C: include "lyx_main.h" instead of declaring
9537         lastfiles (actually was declared as LastFiles* instead of a
9538         scoped_ptr).
9539
9540 2001-12-17  Juergen Vigna  <jug@sad.it>
9541
9542         * tabular.C (AppendColumn): applied John's fix
9543
9544 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * BufferView.h:
9547         * BufferView.C:
9548         * BufferView_pimpl.h:
9549         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9550
9551         * Makefile.am:
9552         * box.h: new start of class for above
9553
9554         * lyxfunc.C: ignore space-only minibuffer dispatches.
9555           Show the command name when it doesn't exist
9556
9557         * minibuffer.C: don't add empty lines to the history
9558
9559         * minibuffer.C: add a space on dropdown completion
9560
9561 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * text.C: fix line above/below drawing in insets
9564
9565 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * lyxlength.C (LyXLength): Initialize private variables.
9568
9569 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9570
9571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9572         when inserting error insets.
9573
9574 2001-12-13  Juergen Vigna  <jug@sad.it>
9575
9576         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9577         actually sometimes the before-paragraph.
9578         (setUndo): don't clear the redostack if we're not actually undoing!
9579
9580 2001-12-06  Juergen Vigna  <jug@sad.it>
9581
9582         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9583         and fixed redoing of main paragraph, so we can use it now ;)
9584
9585         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9586
9587 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9590         Juergen's request
9591
9592 2001-12-13  André Pönitz <poenitz@gmx.net>
9593
9594         * undostack.[Ch]:
9595         * undo_func.C: minor cleanup
9596
9597 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9598
9599         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9600         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9601         font in urw-fonts package which is marked as -urw-fontspecific and
9602         does not work (incidentally, changing the encoding in the
9603         fonts.dir of this package to -adobe-fontspecific fixes the
9604         problem).
9605
9606         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9607         is a crash when undoing first paragraph (Juergen, please take a
9608         look). THis does not mean the undo fix is wrong, just that it
9609         uncovers problems.
9610
9611         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9612         the (Paragraph*) version when needed instead of duplicating the
9613         code.
9614
9615         * text.C (workWidth): use Inset::parOwner to find out where the
9616         inset has been inserted. This is a huge performance gain for large
9617         documents with lots of insets. If Inset::parOwner is not set, fall
9618         back on the brute force method
9619
9620         * paragraph_pimpl.C (insertInset):
9621         * paragraph.C (Paragraph):
9622         (cutIntoMinibuffer): set parOwner of insets when
9623         inserting/removing them
9624
9625         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9626
9627 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9628
9629         * commandtags.h:
9630         * LyXAction.C:
9631         * lyx_main.C:
9632         * lyxfunc.C:
9633         * mathed/formulabase.C:
9634         * mathed/math_cursor.[Ch]:
9635         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9636
9637
9638 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9639
9640         * lyxlength.[Ch] (operator!=): new function
9641
9642 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * text.C (workWidth): use Inset::parOwner to find out where the
9645         inset has been inserted. This is a huge performance gain for large
9646         documents with lots of insets. If Inset::parOwner is not set, fall
9647         back on the brute force method
9648
9649         * paragraph_pimpl.C (insertInset):
9650         * paragraph.C (Paragraph):
9651         (cutIntoMinibuffer): set parOwner of insets when
9652         inserting/removing them
9653
9654         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9655
9656 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * tabular-old.C (getTokenValue):
9659         * tabular.C (getTokenValue):
9660         (write_attribute): new versions for LyXLength
9661         (everywhere): adjust the use of widths
9662
9663         * tabular.h: change the type of widths from string to LyXLength
9664
9665 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9666
9667         * paragraph.C: fixed missing line number count when exporting
9668         Environments to LaTeX file
9669
9670         * buffer.C: added informational message for checking line numbers.
9671
9672 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9675         paragraph, do the 'double space' part, but not the 'empty
9676         paragraph' one.
9677
9678         * text.C (workWidth): small optimization
9679         (getLengthMarkerHeight): use minimal size for negative lengths.
9680
9681 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9682
9683         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9684
9685         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9686
9687 2001-12-11  André Pönitz <poenitz@gmx.net>
9688
9689         * FontLoader.C:
9690         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9691
9692 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * text2.C: keep selection on a setFont()
9695
9696 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * lyx_cb.C: another bv->text misuse, from insert label
9699
9700 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * kbsequence.h:
9703         * kbsequence.C: re-instate nmodifier mask
9704
9705 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9706
9707         * lyx_main.h: make lyxGUI private.
9708
9709 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * lyxfind.C: place the cursor correctly on failed search
9712
9713 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * text.C (getLengthMarkerHeight): for small heights, the arrows
9716         are not always on top/bottom of the text
9717         (drawLengthMarker): smaller arrows; take the left margin in
9718         account; draw also vfills.
9719         (paintFirstRow):
9720         (paintLastRow): remove special code for vfill and standard spaces,
9721         since everything is handled in drawLengthMarker now.
9722
9723 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9724
9725         * buffer.C (insertErtContents): try to handle font and language
9726         interaction a bit better.g
9727
9728         * ColorHandler.C (updateColor): change the hash to cover the whole
9729         LColor enum, ws cleanup
9730         (getGCLinepars): ditto
9731         (getGCLinepars): only lookup in the linecache once.
9732
9733 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9734
9735         * iterators.C (operator++): Make the iterator more robust
9736
9737         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9738         (John's patch)
9739         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9740
9741 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * lyxtext.h:
9744         * text.C: better added space drawing
9745
9746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * LyXView.C:
9749         * BufferView2.C: fix layout combo update on inset unlock
9750
9751 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9752
9753         * Makefile.am: don't compile unused files
9754
9755 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * lyxfunc.C:
9758         * commandtags.h:
9759         * LyXAction.C: remove old LFUN_LAYOUTNO
9760
9761 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * paragraph_pimpl.h:
9764         * paragraph_pimpl.C: isTextAt() doesn't need font param
9765
9766 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9767
9768         * lyxlex.h:
9769         * lyxlex.C: little cleanup
9770
9771 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * BufferView_pimpl.C: fix insertAscii for insets
9774
9775 2001-12-05  Juergen Vigna  <jug@sad.it>
9776
9777         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9778         set the right font on the "multi" paragraph paste!
9779
9780 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9781
9782         * trans_decl.h:
9783         * trans_mgr.[Ch]:
9784         * trans.[Ch]:
9785         * lyxgluelength.C:
9786         * lyxlength.C: remove out-commented code.
9787
9788         * BufferView_pimpl:
9789         * CutAndPaste.C:
9790         * DepTable.C:
9791         * buffer.C:
9792         * chset.C:
9793         * lastfiles.C:
9794         * lyxlex.C:
9795         * lyxlex_pimpl.C:
9796         * lyxserver.C:
9797         * screen.C:
9798         * tabular-old.C:
9799         * tabular.C:
9800         * text.C:
9801         * trans_mgr.C:
9802         * vc-backend.C: change "while(" to "while ("
9803
9804         * lyxlength.[Ch]: add zero function to check if length is zero or
9805         not
9806         * lyxgluelength.C: use it
9807
9808 2001-12-05  Allan Rae  <rae@lyx.org>
9809
9810         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9811         Works for 2.95.3, from what I understand of Garst's reports this should
9812         work for other g++ versions.  We're screwed if the abs(int) definition
9813         changed between bugfix releases of gcc.
9814
9815 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * text.C: fix chapter label offset !
9818
9819 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * lyxtext.h:
9822         * text.C: fix hfill at end of line, clean up
9823
9824 2001-12-04  Juergen Vigna  <jug@sad.it>
9825
9826         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9827         that we force an update of the inset and it's owners if neccessary.
9828
9829 2001-12-03  Juergen Vigna  <jug@sad.it>
9830
9831         * text.C (rowLast): simplified code
9832
9833 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * lyxfunc.C: fix show options on timeout
9836
9837 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9838
9839         * screen.C (topCursorVisible): scroll half a page when the cursor
9840         reached top of bottom of screen
9841
9842 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * minibuffer.C: deactivate on loss of focus
9845
9846 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9847
9848         * vspace.[Ch] (operator!=): add operator.
9849
9850 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * BufferView_pimpl.C: refuse to open an inset when
9853         there's a selection.
9854
9855 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9856
9857         * BufferView_pimpl.C: allow to click on RHS of full row insets
9858
9859 2001-11-30  Juergen Vigna  <jug@sad.it>
9860
9861         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9862         insets for undo reasons.
9863
9864 2001-11-28  André Pönitz <poenitz@gmx.net>
9865
9866         * vspace.[Ch]: cosmetical changes
9867
9868 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * LyXAction.h:
9871         * LyXAction.C:
9872         * lyxfunc.h:
9873         * lyxfunc.C:
9874         * kbmap.h:
9875         * kbmap.C:
9876         * lyxrc.C:
9877         * kbsequence.h:
9878         * kbsequence.C: part re-write of old kb code
9879
9880         * Painter.C:
9881         * WorkArea.C: remove Lgb_bug_find_hack
9882
9883 2001-11-30  José Matos <jamatos@fep.up.pt>
9884
9885         * buffer.C (makeDocBookFile): add a comment to point a hack.
9886         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9887         Fixed a double write of labels.
9888
9889 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9890
9891         * LaTeX.C:
9892         * LaTeX.h Fixed bug in LaTeX class where it would not
9893         re-run latex if no depfiles were changed, but the .dvi was removed.
9894
9895 2001-11-28  André Pönitz <poenitz@gmx.net>
9896
9897         * all the files from the change on 2001/11/26:
9898         use lyx::layout_type instead of LyXTextClass::size_type
9899         use lyx::textclass_type instead of LyXTextClassList::size_type
9900
9901 2001-11-29  Juergen Vigna  <jug@sad.it>
9902
9903         * text.C: added support for paragraph::isFreeSpacing()
9904
9905         * buffer.C: same as above
9906
9907         * paragraph.h: inserted isFreeSpacing() function to enable
9908         FreeSpacing inside InsetERT.
9909
9910         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9911         of the paragraph's in the cut/copy buffer to 0!
9912
9913         * text2.C (removeRow): remove the assert as it can!
9914
9915         * lyxtext.h: added helper function firstRow returning firstrow and
9916         made firstrow private again.
9917
9918         * BufferView2.C (lockInset): don't relock if we're already locked!
9919
9920         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9921         the only paragraph.
9922         (removeRow): added Assert::(firstrow)
9923
9924         * debug.C: forgot to add INSETTEXT here.
9925
9926 2001-11-28  Juergen Vigna  <jug@sad.it>
9927
9928         * sp_spell.C (initialize): changed error text to more general
9929         spellchecker command use (not only ispell!)
9930
9931         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9932
9933         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9934
9935 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9936
9937         * vspace.C: initialise lyxgluelength on failure
9938
9939 2001-11-28  Allan Rae  <rae@lyx.org>
9940
9941         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9942         declaration & definition that looks like a function declaration.
9943
9944 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9945
9946         * BufferView2.C (copy):
9947         (copyEnvironment): do not clear the selection when doing a copy.
9948
9949         * text.C (paintFirstRow): compilation fix
9950
9951 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9952
9953         * tabular.C (Latex): correct line count when writing latex.
9954
9955 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * paragraph_pimpl.h:
9958         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9959           bug a bit
9960
9961 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * text.C:
9964         * LColor.h:
9965         * LColor.C: change vfillline->added_space
9966
9967         * text.C: add markers and text for added space
9968
9969         * vspace.C: fix comment
9970
9971 2001-11-28  André Pönitz <poenitz@gmx.net>
9972
9973         * paragraph.C: whitespace changes
9974         * all the other files from the change on 2001/11/26:
9975         change *::pos_type into lyx::pos_type
9976
9977 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9978
9979         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9980         language of the document when inserting error insets.
9981
9982 2001-11-26  André Pönitz <poenitz@gmx.net>
9983
9984         * BufferView_pimpl.[Ch]:
9985         *       CutAndPaste.C:
9986         * buffer.[Ch]:
9987         * lyxcursor.[Ch]:
9988         * lyxfind.C:
9989         * lyxfunc.C:
9990         * lyxrow.[Ch]:
9991         * paragraph.[Ch]:
9992         * paragraph_pimpl.[Ch]:
9993         * sp_spell.C:
9994         * text.C:
9995         * text2.C: reduce header dependencies, introduce type for positions
9996
9997 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * <various>: change to use Alert.h
10000
10001 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10002
10003         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10004         when encountering an unknown token.
10005         (readLyXformat2): Show an error message if there were unknown tokens.
10006
10007 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * BufferView2.C:
10010         * BufferView_pimpl.C:
10011         * buffer.C:
10012         * paragraph.h:
10013         * text.C:
10014         * text2.C: use par->isInset()
10015
10016 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * paragraph_pimpl.h:
10019         * paragraph_pimpl.C: cleanup
10020
10021 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10022
10023         * text2.C (removeRow):
10024         * text.C (setHeightOfRow): remove useless (and costly) call to
10025         getRow.
10026
10027 2001-11-20  Allan Rae  <rae@lyx.org>
10028
10029         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10030         Now need Inset*::checkInsertChar() to return true for appropriate
10031         cases so that the characters in the minibuffer will actually be
10032         inserted.
10033
10034 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * text.C: change the order of the includes.
10037         (workWidth): initialize it at once.
10038         (workWidth): make maxw unsigned
10039         (setHeightOfRow): remove unused variable (inset)
10040         (selectSelectedWord): remove unused variable (inset)
10041         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10042
10043 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10044
10045         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10046         server is not running.
10047         (openConnection):
10048         (closeConnection): add debug info when server is disabled.
10049
10050         * ColorHandler.C (getGCForeground): send debug message to GUI
10051         channel.
10052
10053         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10054
10055         * kbmap.C (bind): modify because return conventions of
10056         kb_sequence::parse have changed.
10057
10058         * kbsequence.C (parse): only ignore spaces and not any stupid
10059         control character. This avoids tests like s[i] <= ' ', which are
10060         guaranteed to fail with 8bit characters and signed chars.
10061         Change return code to string::npos when there have been no error
10062         (0 was a bad idea when error is at first character)
10063
10064 2001-11-14  José Matos  <jamatos@fep.up.pt>
10065
10066         * buffer.h:
10067         * buffer.C (simpleDocBookOnePar): removed unused argument.
10068
10069 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10070
10071         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10072         insets which are part of a word. Paragraph::isLetter takes care of
10073         that now. Use Paragraph::isInset to identify insets.
10074         (selectSelectedWord): do not test for hyphenation break.
10075
10076         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10077         that protected spaces are considered as spaces.
10078
10079         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10080         Inset::isLetter.
10081
10082 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * lyxserver.h:
10085         * lyxserver.C: fix it. and small cleanup.
10086
10087 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * BufferView_pimpl.C: use inline helpers
10090
10091         * LaTeXFeatures.h:
10092         * LaTeXFeatures.C: fix typos
10093
10094         * Spacing.h:
10095         * Spacing.C: move spacing_string into class
10096
10097         * ToolbarDefaults.C: move stuff into namespace anon
10098
10099         * layout.h: update enum
10100
10101         * lyxfunc.C: use better debug
10102
10103         * minibuffer.h: fix typo
10104
10105         * debug.h:
10106         * debug.C:
10107         * WorkArea.C: add and use Debug::WORKAREA
10108
10109         * lyxtext.h:
10110         * text.C:
10111         * text2.C: code re-organisation, inline helpers
10112
10113 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10114
10115         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10116         std::vector.empty().
10117
10118 2001-11-09  Allan Rae  <rae@lyx.org>
10119
10120         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10121         '\n's after tables.  Tabular and ERT inset work now makes this no
10122         longer necessary.
10123
10124 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10125
10126         * minibuffer.h:
10127         * minibuffer.C: fix crash, improve drop-down completion
10128
10129 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * lyxserver.h:
10132         * lyxserver.C: invalidate fd's when doing endPipe()
10133
10134 2001-11-08  José Matos  <jamatos@fep.up.pt>
10135
10136         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10137         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10138
10139         * paragraph.h:
10140         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10141
10142 2001-11-07  José Matos  <jamatos@fep.up.pt>
10143
10144         * buffer.h:
10145         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10146         const qualifier.
10147
10148         * buffer.C (sgmlOpenTag):
10149         * buffer.C (sgmlCloseTag): removed debug info.
10150
10151         * buffer.h (sgmlOpenTag):
10152         * buffer.h (sgmlCloseTag): made public.
10153
10154 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10155
10156         * buffer.C (saveParamsAsDefaults):
10157         * lyx_cb.C (MenuLayoutSave): remove
10158
10159         * LyXAction.C (init):
10160         * commandtags.h:
10161         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10162
10163 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10164
10165         * buffer.C (setPaperStuff): removed from here...
10166
10167         * bufferparams.C (setPaperStuff): ... and moved there.
10168
10169 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * minibuffer.h:
10172         * minibuffer.C:
10173         * XFormsView.C: add support for drop-down completion
10174
10175 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10176
10177         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10178         commands.
10179
10180 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10181
10182         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10183         disabled.
10184
10185 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * lyx_main.C: change ref to known bugs
10188
10189 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10190
10191         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10192         to work around older babel problems.
10193
10194 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10195
10196         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10197
10198 2001-10-24  Juergen Vigna  <jug@sad.it>
10199
10200         * tabular-old.C (ReadOld): below variable changes reflected.
10201
10202         * tabular.[Ch]: added ltType struct for longtable header/footer
10203         defines and changed all instances where they are used. Added
10204         future support for double top/bottom rows.
10205
10206 2001-10-24  José Matos  <jamatos@fep.up.pt>
10207
10208         * buffer.h (docbookHandleCaption):
10209         * buffer.C (docbookHandleCaption): removed unused function.
10210         (makeDocBookFile): moved docbook supported version to v4.1.
10211
10212 2001-10-24  José Matos  <jamatos@fep.up.pt>
10213
10214         * tabular.h:
10215         * tabular.C (docbookRow): new function to export docbook code of a row.
10216         (DocBook): now honors the longtable flags.
10217
10218 2001-10-23  José Matos  <jamatos@fep.up.pt>
10219
10220         * LaTeXFeatures.h:
10221         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10222         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10223
10224         * buffer.C (makeLinuxDocFile):
10225         (makeDocBookFile): reworked the preamble, more clean, and with
10226         support for lyx defined entities. Changed the document declaration
10227         to be more XML friendly.
10228
10229         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10230         if we need to output XML that should be done with a filter.
10231
10232 2001-10-22  Juergen Vigna  <jug@sad.it>
10233
10234         * sp_pspell.h (class PSpell): add alive function needed in the
10235         controller to see if the spellchecker could be started.
10236
10237 2001-10-22  Juergen Vigna  <jug@sad.it>
10238
10239         * buffer.C (insertStringAsLines): modify the font for inserting
10240         chars in certain conditions by calling checkInsertChar(font).
10241
10242 2001-10-19  Juergen Vigna  <jug@sad.it>
10243
10244         * text.C (workWidth): use getRow instead of wrong algorithm.
10245         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10246
10247 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * lyxserver.h:
10250         * lyxserver.C:
10251         * lyx_main.h:
10252         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10253
10254 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10255
10256         * text.C (workWidth): do not search for the exact row when
10257         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10258         optimization for big documents.
10259
10260 2001-10-18  Juergen Vigna  <jug@sad.it>
10261
10262         * text.C (workWidth): new function with added Inset * parameter.
10263
10264 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10265
10266         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10267
10268         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10269         change return type of getColumnNearX.
10270
10271
10272         * text.C (changeRegionCase): use uppercase/lowercase instead of
10273         toupper/tolower.
10274         (leftMargin):
10275         (rightMargin): simplify code by factoring out the uses of
10276         textclasslist.
10277         (labelFill):
10278         (numberOfHfills):
10279         (setHeightOfRow):
10280         (appendParagraph): use Paragraph::size_type
10281
10282 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * vspace.C (asLatexString): add a missing break
10285
10286 2001-10-15  Herbert Voss  <voss@perce.de>
10287
10288         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10289
10290 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10293         is not available.
10294
10295 2001-10-10  André Pönitz <poenitz@gmx.net>
10296
10297         * lyxfunc.C: removed greek_kb_flag.
10298
10299 2001-10-10  Herbert Voss  <voss@perce.de>
10300
10301         * lyx_main.C: delete global string help_lyxdir.
10302
10303 2001-10-09  Herbert Voss  <voss@perce.de>
10304
10305         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10306
10307         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10308
10309         * lyx_main.C: added global string help_lyxdir.
10310
10311         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10312
10313 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10314
10315         * lyxrc.C (set_font_norm_type): support iso8859-4
10316
10317 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10318
10319         * LaTeX.C (deplog): add another regex for MikTeX
10320
10321 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10322
10323         * lyxrc.C (set_font_norm_type): support iso8859-3
10324
10325 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10326
10327         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10328
10329         * LaTeXFeatures.C: remove special case of french and index
10330
10331         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10332         before \begin{document}). This solves several incompatibilities.
10333
10334 2001-10-03  Garst Reese  <reese@isn.net>
10335
10336         * lyx_cb.C: change CheckTex error msg.
10337
10338 2001-10-03  José Matos  <jamatos@fep.up.pt>
10339
10340         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10341
10342 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10343
10344         * .cvsignore: update
10345
10346         * lyx_main.C (commandLineVersionInfo): use new style version info.
10347
10348         * buffer.C (writeFile):
10349         (makeLaTeXFile):
10350         (makeLinuxDocFile):
10351         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10352
10353         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10354
10355         * version.h: update to use stuff in version.C
10356
10357         * version.C.in: new file. Contains version information determined
10358         at compile time. This is a merging of version.h and
10359         version_info.h.in.
10360
10361 2001-10-03  Juergen Vigna  <jug@sad.it>
10362
10363         * BufferView_pimpl.C (update): don't change "dirty" status in
10364         updateInset call.
10365
10366 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10367
10368         * WorkArea.C (c-tor): re-position version string slightly.
10369
10370 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10371
10372         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10373         revert to previous code.
10374
10375         WorkArea.[Ch]: (show, destroySplash): methods removed.
10376
10377         WorkArea.C: rework code so that it's an amalgam of the codes before and
10378         after the splash screen was moved to WorkArea.
10379
10380 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10381
10382         * lyxrc.C (read):
10383         * vspace.C (inPixels):
10384         (lyx_advance):
10385         * kbmap.C (bind):
10386         * buffer.C (insertStringAsLines):
10387         (asciiParagraph): fix types to be large enough
10388
10389         * lyxlex_pimpl.h: change member status from short to int
10390
10391         * layout.h: fix type of endlabeltype
10392
10393         * kbmap.C (bind):
10394         * kbsequence.C (parse): change return type to string::size_type
10395
10396         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10397         variable
10398
10399         * Bullet.C (bulletSize):
10400         (bulletEntry): do not use short ints as parameters
10401
10402         * BufferView2.C (insertLyXFile): change a char to an int.
10403
10404         * WorkArea.C (WorkArea): remove unneeded floats in computation
10405
10406 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10407
10408         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10409
10410         * paragraph.C (asString): Do not ignore newline/hfill chars when
10411         copying to the clipboard.
10412
10413 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10414
10415         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10416         after a multi-line inset.
10417
10418 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10419
10420         * paragraph.C (validate): Set NeedLyXFootnoteCode
10421
10422 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10423
10424         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10425         and decrease-error to decrease.
10426
10427 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10428
10429         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10430         it more readable (should be equivalent)
10431
10432 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10433
10434         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10435
10436 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10437
10438         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10439         of a cursor (row, etc.) after a character has been deleted
10440         (deleteEmptyParagraphMechanism): call the method above on _all_
10441         cursors held by the LyXText when a double space has been
10442         detected/deleted.
10443
10444 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10445
10446         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10447         pixmap.
10448         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10449
10450         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10451         background. Use greyOut() and the new show() methods to toggle between
10452         the foreground and background. Add code to remove the splash after
10453         its initial showing.
10454
10455         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10456         (create_forms): no longer call Dialogs::showSplash.
10457
10458 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10459
10460         * .cvsignore: add version_info.h
10461
10462 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * version_info.h.in: new file
10465
10466         * Makefile.am: add version_info.h.in
10467
10468         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10469         version_info.h instead of VERSION_INFO
10470
10471 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10474         The ERT inset now returns string().
10475
10476 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10477
10478         * lyxtext.h, text.C (selectNextWord): renamed as
10479         selectNextWordToSpellcheck.
10480
10481         * text.C (selectNextWordToSpellcheck): Modified to not select
10482         words inside an ERT inset.
10483
10484 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * lyx_cb.C (MenuLayoutSave): change a bit the question
10487
10488         * sp_base.h: include <sys/types.h>
10489
10490 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10491
10492         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10493
10494 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10495
10496         * several files: fix typos in user-visible strings
10497
10498 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10499
10500         * text2.C (pasteSelection): do not set the selection, since it
10501         will be cleared later. Actually, the intent was to fix the way the
10502         selection was set, but I figured rmoving the code was just as good.
10503
10504 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10505
10506         * FontLoader.C (available): Check if font is available without
10507         loading the font.
10508
10509 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10510
10511         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10512
10513 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         * lyxrc.[Ch]: added display_graphics variable and associated code.
10516
10517 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10518
10519         * bufferparams.C (hasClassDefaults): new method. Returns true if
10520         the buffer parameters correspond to known class defaults
10521
10522 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10523
10524         * XFormsView.C (show): set minimum size to the main window.
10525
10526 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10527
10528         * text2.C (copySelection):
10529         (cutSelection):
10530         * lyxfind.C (LyXReplace):
10531         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10532         LyXText::selectionAsString.
10533
10534         * paragraph.C (asString): add "label" argument to the second form
10535
10536         * text2.C (selectionAsString): add "label" argument and pass it to
10537         Paragraph::asString.
10538
10539 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10540
10541         * lyx_main.C (commandLineHelp): remove version information
10542
10543 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10544
10545         * lyx_main.C: add -version commandline option
10546
10547 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10548
10549         * paragraph.h: make the optional constructor arg required instead.
10550         some modifications to other files because of this.
10551
10552         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10553
10554         * lyxserver.C (C_LyXComm_callback): make it static
10555
10556         * lyx_main.C (error_handler): make it static
10557
10558         * lyx_gui.C (LyX_XErrHandler): make it static
10559
10560         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10561
10562         * WorkArea.C: make the extern "C" methods static.
10563
10564         * Makefile.am (lyx_LDADD): simplify
10565
10566 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10567
10568         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10569         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10570
10571         * LyXAction.C (init):
10572         * lyxfunc.C (dispatch): associated code removal.
10573
10574 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10575
10576         * lyxfont.h (isSymbolFont): shut off warning
10577
10578         * text.C (setHeightOfRow):
10579         (getVisibleRow): fix crash with empty paragraphs which have a
10580         bottom line
10581
10582 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10583
10584         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10585         code.
10586
10587 2001-09-04  José Matos  <jamatos@fep.up.pt>
10588         * buffer.C
10589         * buffer.h
10590         * tabular.C (docbook): rename docBook method to docbook.
10591
10592 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * Makefile.am: add dependencies to main.o.
10595
10596 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * FontLoader.C (available): Return false if !lyxrc.use_gui
10599
10600 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10601
10602         * FontInfo.C (query):
10603         * converter.C (view):
10604         * importer.C (Import):
10605         * exporter.C (Export): Can not -> cannot.
10606
10607 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * BufferView_pimpl.C: allow to create index inset even if
10610           string is empty
10611
10612 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10613
10614         * buffer.C (getLists): replace boost::tie code with an explicit pair
10615         as boost::tie can break some compilers.
10616
10617         * iterators.h: Added a std:: declaration to the return type of
10618         ParIterator::size.
10619
10620 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10623           case.
10624
10625 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * iterators.[Ch]: New files. Provide paragraph iterators.
10628
10629         * buffer.C (changeLanguage): Use paragraph iterators.
10630         (isMultiLingual): ditto
10631
10632         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10633
10634 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10635
10636         * FontLoader.C: Support for cmr font.
10637
10638 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10639
10640         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10641         (available): New method.
10642
10643         * FontInfo.C (getFontname): Use scalable fonts even when
10644         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10645         found.
10646
10647 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10648
10649         * converter.C (Formats::view): reverted! Incorrect fix.
10650
10651 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10652
10653         * converter.C (Formats::view): only output the -paper option
10654         if the dvi viewer is xdvi, thereby fixing bug #233429.
10655
10656 2001-08-23  Herbert Voss  <voss@perce>
10657
10658         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10659
10660 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10661
10662         * Spacing.h (Spacing): Set space to Default on in the default
10663         constructor.
10664
10665 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10666
10667         * vc-backend.h (RCS::versionString): add RCS to version
10668         (CVS::versionString): add CVS to version
10669
10670         * vc-backend.C (scanMaster): do not add CVS to version.
10671         (scanMaster): do not add RCS to version
10672
10673         * lyxvc.C (versionString): new method
10674
10675         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10676
10677 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * Spacing.C (set): initialize fval
10680
10681 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10682
10683         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10684         " or \.
10685
10686 2001-08-16  Juergen Vigna  <jug@sad.it>
10687
10688         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10689
10690 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * BufferView_pimpl.C:
10693         * figureForm.C:
10694         * lyxtext.h:
10695         * text2.C: setParagraph takes linespacing now
10696
10697 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * LyxAction.C: add internal LFUN_CITATION_INSERT
10700
10701         * LyXView.C: actually apply fix
10702
10703         * bufferlist.C: fix open non-existent file
10704
10705         * lyxfind.C: fix indentation
10706
10707         * lyxfunc.C: remove unneeded assert, fix typo
10708
10709 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * MenuBackend.C: use "Floatname List"
10712
10713 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10714
10715         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10716         when converting LaTeX layout to insetERT.
10717         Generate a non-collapsed float when reading old float
10718
10719 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10722         ERT insets.
10723
10724 2001-08-13  Juergen Vigna  <jug@sad.it>
10725
10726         * text.C (fill): return 0 instead of 20 as this seems to be the more
10727         correct value.
10728
10729 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10730
10731         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10732         lyxrc.font_norm.
10733
10734 2001-08-13  Juergen Vigna  <jug@sad.it>
10735
10736         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10737         casesensitive off.
10738         (SearchBackward): comment out the unlocking of the inset_owner this
10739         should not be needed!
10740
10741 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * Many files: Remove inherit_language, and add latex_language
10744
10745         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10746         collapsible insets.
10747
10748 2001-08-10  Juergen Vigna  <jug@sad.it>
10749
10750         * text.C (prepareToPrint): fixed hfill-width in draw!
10751
10752         * BufferView2.C (selectLastWord): save the selection cursor as this
10753         now is cleared in the function LyXText::clearSelection!
10754
10755 2001-08-08  Juergen Vigna  <jug@sad.it>
10756
10757         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10758         BACKSPACE type functions.
10759
10760         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10761         is only cutted from the document but not put in the cut-buffer, where
10762         still the old stuff should be.
10763
10764         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10765
10766         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10767
10768         * tabular.C (SetWidthOfCell): fixed special case where the width
10769         was not updated!
10770         (LeftLine): handle '|' in align_special.
10771         (RightLine): ditto
10772         (LeftAlreadyDrawed): ditto
10773         (SetWidthOfCell): ditto
10774
10775 2001-08-07  Juergen Vigna  <jug@sad.it>
10776
10777         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10778
10779 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10782         * lyxlex.[hC]: ditto
10783
10784 2001-08-06  Juergen Vigna  <jug@sad.it>
10785
10786         * text.C (getVisibleRow): fix up row clearing a bit.
10787
10788 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10789
10790         * minibuffer.C: make sure the X server sees the changes in the input.
10791
10792 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10793
10794         * paragraph.C (getFont): split into...
10795         (getLabelFont): this
10796         (getLayoutFont): and this
10797         * paragraph_pimpl.C (realizeFont): calling this
10798
10799         * text2.C (getFont): split into...
10800         (getLayoutFont): this
10801         (getLabelFont): and this
10802         (realizeFont): all three calling this
10803
10804         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10805         files where used.
10806
10807 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10808
10809         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10810
10811 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10812
10813         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10814         layouts from the Quote inset insertion.
10815
10816 2001-08-03  Juergen Vigna  <jug@sad.it>
10817
10818         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10819
10820         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10821         only if status not is already CHANGED_IN_DRAW (second level).
10822
10823         * text.C (draw): don't set the need_break_row when inside an
10824         InsetText LyXText.
10825
10826 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * buffer.C (parseSingleLyXformat2Token): handle more latex
10829         conversion cases.
10830
10831         * bufferview_funcs.[hC]: change function names to
10832         begin with small char, adjust other files.
10833
10834 2001-08-02  André Pönitz <poenitz@gmx.net>
10835
10836         * lyxfunc.C:
10837         BufferView_pimpl.C: remove broken special code for math-greek
10838
10839 2001-08-02  Juergen Vigna  <jug@sad.it>
10840
10841         * BufferView_pimpl.C (update): redone this function so that we
10842         update the text again if there was a CHANGE_IN_DRAW.
10843
10844         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10845         (drawFromTo): added a new internal bool which is used by draw() and
10846         redraw() function.
10847         (general): some cursor drawing problems fixed.
10848
10849 2001-08-01  Juergen Vigna  <jug@sad.it>
10850
10851         * lyxfind.C (LyXFind): fixed
10852         (SearchForward): ditto
10853         (SearchBackward): ditto
10854
10855         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10856         spurius drawing of the cursor in the main area.
10857
10858         * text2.C (status): small fix which could lead to a segfault!
10859         (clearSelection): remove unneeded BufferView param.
10860
10861 2001-08-01  André Pönitz <poenitz@gmx.net>
10862
10863         * lyxfunc.C: small change due to changed mathed interface
10864
10865 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10868
10869 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * lyxfunc.c: fail gracefully if file doesn't exist
10872
10873         * LyXSendto.C:
10874         * buffer.C:
10875         * lyxfunc.C:
10876         * BufferView_pimpl.C: IsDirWriteable() proto changed
10877
10878         * LyXView.C: fix updateWindowTitle() to store the last title
10879
10880 2001-07-31  Juergen Vigna  <jug@sad.it>
10881
10882         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10883         the font (wrong since using of Paragraph::highestFontInRange).
10884
10885         * paragraph.C (highestFontInRange): added a default_size parameter.
10886
10887         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10888         (setHeightOfRow): reformat
10889
10890 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10891
10892         * converter.[hC] + affected files: move to (inital-char)lowercase
10893         function names.
10894
10895         * ParagraphParameters.C (ParagraphParameters): remove commented code
10896
10897         * PainterBase.[Ch]: remove commented code
10898
10899         * LaTeXFeatures.h: add "bool floats" for float.sty
10900
10901         * LaTeXFeatures.C (LaTeXFeatures): init floats
10902         (require): handle float
10903         (getPackages): do it with floats
10904
10905 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10906
10907         * BufferView_pimpl.C (Dispatch): improve handling of
10908         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10909
10910         * commandtags.h: #include lyxfont.h here temporarily to avoid
10911         keybinding bug.
10912
10913         * bufferlist.h: include LString.h here.
10914
10915 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10916
10917         * text2.C (getStringToIndex): new method.
10918
10919 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10920
10921         * *: Reduced header file dependencies all over.
10922
10923 2001-07-30  Baruch Even  <baruch@lyx.org>
10924
10925         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10926
10927 2001-07-29  Baruch Even  <baruch@lyx.org>
10928
10929         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10930
10931 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * ParameterStruct.h (endif): add a default constructor to make
10934         sure that all variables is initialized.
10935
10936         * ParagraphParameters.C (ParagraphParameters): adjust
10937
10938 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10941         index; also, check that there is something to index, and that it
10942         does not span over several paragraphs.
10943         (doubleClick): use WHOLE_WORD_STRICT for double click.
10944
10945         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10946
10947         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10948         scheme.
10949
10950 2001-07-26  Baruch Even  <baruch@lyx.org>
10951
10952         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10953         an InsetFig figure, backwards compatible reading of old figure code.
10954
10955 2001-07-27  Juergen Vigna  <jug@sad.it>
10956
10957         * text2.C: font.realize function adaption.
10958
10959         * text.C (draw): add a warnings lyxerr text if needed.
10960
10961         * layout.C: font.realize function adaption.
10962
10963         * language.C: add inherit_language and implement it's handlings
10964
10965         * bufferview_funcs.C (StyleReset): remove language parameter from
10966         font creation (should be language_inherit now).
10967
10968         * bufferparams.C (writeFile): handle ignore_language.
10969
10970         * paragraph.C (getFontSettings): the language has to be resolved
10971         otherwise we have problems in LyXFont!
10972
10973         * lyxfont.C (lyxWriteChanges): added document_language parameter
10974         (update): removed unneeded language parameter
10975
10976         * paragraph.C (validate): fixed wrong output of color-package when
10977         using interface colors for certain fonts in certain environments,
10978         which should not seen as that on the final output.
10979
10980 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10981
10982         * BufferView_pimpl.C:
10983         * Thesaurus.h:
10984         * Thesaurus.C:
10985         * Makefile.am:
10986         * commandtags.h:
10987         * LyXAction.C: add thesaurus support
10988
10989         * lyxfind.h:
10990         * lyxfind.C: add "once" parameter, for thesaurus, to not
10991           move to the next match
10992
10993 2001-07-26  Juergen Vigna  <jug@sad.it>
10994
10995         * lyxfont.C (realize): honor ignore_language too!
10996         (resolved): ditto.
10997
10998         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10999
11000         * text.C (draw): one place more for ignore_language to not draw
11001         itself!
11002
11003 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11004
11005         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11006
11007 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11010         the minipage conversion problem.
11011
11012 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11013
11014         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11015         insert an inset.
11016
11017 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11018
11019         * BufferView.h: don't forward declare WorkArea
11020
11021         * BufferView.C: don't include WorkArea.h
11022
11023 2001-07-25  André Pönitz <poenitz@gmx.net>
11024
11025         * commandtags.h:
11026         * LyXAction.C:
11027         * lyxfunc.C:  new LFUN 'math-space'
11028
11029         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11030
11031 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11032
11033         * text2.C (toggleInset): call open/close
11034
11035 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11036
11037         * lyxfunc.C (dispatch): add debug for the disabled case
11038
11039         * font.C (buttonText): make similar to rectText
11040
11041         * buffer.C (readInset): comment out parsing of insetlist and
11042         insttheorem
11043
11044         * PainterBase.C (rectText): small correction
11045
11046         * BufferView_pimpl.C: comment out insettheorem and insetlist
11047         * LyXAction.C: ditto
11048         * commandtags.h: ditto
11049
11050 2001-07-24  Juergen Vigna  <jug@sad.it>
11051
11052         * text.C (draw): honor the ignore_language.
11053
11054         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11055
11056 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11059         char inset.
11060
11061 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11062
11063         * lyxtext.h: remove unused (and unimplemented) methods
11064
11065 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11066
11067         * text.C (getVisibleRow): honor background color
11068
11069         * PainterBase.h:
11070         * Painter.h: remove default color argument for fillRectangle
11071
11072         * text.C (backgroundColor): new method
11073
11074 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * text.C (getVisibleRow): adjust
11077
11078         * font.[Ch] (rectText): new method, metrics
11079         (buttonText): new method, metrics
11080
11081         * PainterBase.[hC]: make rectText and buttonText always draw and take
11082         fewer paramteres.
11083
11084 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11085
11086         * ToolbarDefaults.C (read):
11087         * MenuBackend.C (read): allow escaping in all strings
11088
11089         * BufferView_pimpl.C (insertAndEditInset): new method.
11090         (Dispatch): use insertAndEditInset whenever appropriate.
11091
11092         * BufferView_pimpl.C (insertNote): removed
11093
11094         * BufferView_pimpl.C (smartQuote): new method, moved from
11095         BufferView; if an insetquote cannot be inserted, insert a '"'
11096         character instead.
11097
11098         * BufferView2.C: remove insertCorrectQuote();
11099
11100         * lyxfunc.C (getStatus): Add support for all remaingin
11101         inset-insert lfuns.
11102
11103         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11104
11105         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11106         command (necessary to pass " as parameter of self-insert.
11107
11108         * text.C (selectWordWhenUnderCursor):
11109         (selectWord): add word_location parameter
11110         (selectWordWhenUnderCursor): same + remove special code for word
11111         boundary.
11112         (selectNextWord): use kind() to guess type of insetspecialchar,
11113         not latex().
11114
11115         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11116         (insertErtContents): create ert insets as collapsed.
11117         (readInset): better compatibility code for Info inset.
11118
11119 2001-07-20  Juergen Vigna  <jug@sad.it>
11120
11121         * lyxfunc.C (dispatch): use always LyXFind now!
11122
11123         * text2.C (init): add a reinit flag so that the LyXText can be
11124         reinited instead of deleted and reallocated (used in InsetText).
11125
11126         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11127
11128         * text.C: ditto
11129
11130         * text2.C: ditto
11131
11132 2001-07-18  Juergen Vigna  <jug@sad.it>
11133
11134         * text.C (selectNextWord): handle insets inside inset by calling
11135         always the bv->text functions so that we can go up the_locking_inset!
11136
11137         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11138         in strange locations when inside an inset!
11139
11140         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11141         handling to include insets.
11142
11143         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11144
11145 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11146
11147         * LyXAction.C (init):
11148         * commandtags.h:
11149         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11150         LIGATURE_BREAK, since the name is so stupid.
11151
11152 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11153
11154         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11155         InsetInfos.
11156
11157         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11158
11159         * sp_form.[Ch]: remove.
11160
11161         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11162
11163         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11164         InsetInfo.
11165
11166         * src/buffer.C (readInset): ditto.
11167
11168 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11169
11170         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11171         menuSeparator(), endOfSentenceDot(), ldots() and
11172         hyphenationPoint(), which are therefore removed.
11173         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11174
11175         * LyXAction.C (init):
11176         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11177
11178         * paragraph.C (getWord): removed.
11179
11180         * BufferView_pimpl.C (Dispatch): use last word or selection for
11181         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11182
11183         * lyx_main.C (queryUserLyXDir): do not ask before creating
11184         user_dir, except if it has been named explicitely.
11185
11186 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11187
11188         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11189         a document of zero size.
11190
11191 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11194         approriately in the c-tor and in require().
11195         (getPackages): output the appropriate LaTeX for natbib support.
11196
11197         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11198         variables "use_natbib" and "use_numerical_citations" when reading the
11199         LyX file.
11200         (readInset): read the various natbib cite commands.
11201         (validate): white-space change.
11202
11203         * bufferparams.[Ch]: new variables "bool use_natbib" and
11204         "bool use_numerical_citations".
11205         (writeFile): output them in the LyX file.
11206
11207 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11208
11209         * lyxfunc.C (getStatus): add support for all the inset insertion
11210         commands.
11211
11212         * text2.C (insertInset):
11213         * paragraph.C (insetAllowed):
11214         * BufferView_pimpl.C (insertInset): update to take in account the
11215         renaming of insertInsetAllowed
11216
11217         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11218
11219         * text2.C (getInset): new method. returns inset at cursor position.
11220
11221         * BufferView_pimpl.C (Dispatch): changes because of this.
11222
11223         * LyXAction.C (init): rename open-stuff to inset-toggle.
11224
11225         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11226
11227         * text2.C (toggleInset): renamed from openStuff; use
11228         Inset::open().
11229
11230 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11231
11232         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11233
11234         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11235
11236 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * buffer.C (readLyXformat2): Add filename to the error dialog
11239
11240 2001-07-18  Juergen Vigna  <jug@sad.it>
11241
11242         * tabular.C (GetCellNumber): put an assert here instead of the check!
11243
11244 2001-07-17  Juergen Vigna  <jug@sad.it>
11245
11246         * BufferView_pimpl.C (toggleSelection): adapted too.
11247
11248         * text.C (selectNextWord): adapted for use with insets.
11249         (selectSelectedWord): ditto
11250
11251 2001-07-17  Juergen Vigna  <jug@sad.it>
11252
11253         * sp_spell.C (PSpell): fix initialitation order.
11254
11255 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * paragraph.C: spacing
11258
11259 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11260
11261         * sp_spell.C: repair language selection for pspell
11262
11263 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * lyxfunc.h: change more methods to begin with lower char.
11266
11267 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11268
11269         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11270         for unknown layouts.
11271
11272 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11273
11274         * buffer.C (readLyXformat2): Generate an error dialog if there are
11275         unknown layouts.
11276
11277 2001-07-16  Juergen Vigna  <jug@sad.it>
11278
11279         * sp_spell.C: always compile ISpell part.
11280
11281         * lyxrc.C: added use_pspell entry and it's handling.
11282
11283 2001-07-13  Juergen Vigna  <jug@sad.it>
11284
11285         * sp_spell.C: removed double includes.
11286
11287 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11288
11289         Consistent use of Lsstream.h:
11290         * Lsstream.h: added using std::stringstream for consistencies sake.
11291
11292         * buffer.C: removed using std::stringstream
11293
11294         * lyxfont.C (stateText):
11295         * paragraph.C (asString):
11296         * text.C (selectNextWord, selectSelectedWord):
11297         * text2.C (setCounter):
11298         * vspace.C (asString, asLatexString):
11299         std::ostringstream -> ostringstream.
11300
11301 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11302
11303         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11304         * commandtags.h: add LFUN_HELP_ABOUTLYX
11305         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11306
11307 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11308
11309         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11310         cursorToggle()
11311         * lyx_gui_misc.C: remove spellchecker
11312         * lyxfunc.C: showSpellchecker
11313         * sp_base.h: added
11314         * sp_ispell.h: added
11315         * sp_pspell.h: added
11316         * sp_spell.C: added
11317         * sp_form.[Ch]: removed
11318         * spellchecker.[Ch]: removed
11319
11320 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11321
11322         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11323         is set.
11324         (simpleTeXSpecialChars): Simply print the input character without
11325         any special translation if pass_thru is set.
11326
11327         * layout.h: Added bool pass_thru to layout class for being able to
11328         implement pass through of a paragraph for Literate Programming.
11329
11330         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11331         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11332         * layout.C (Read): add "passthru" to list of layout tags and add
11333         code to set the pass_thru boolean when it is read.
11334
11335 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11336
11337         * trans_decl.h: remove allowed from KmodInfo
11338
11339         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11340         remove allowed code
11341         (Load): adjust
11342
11343         * paragraph_pimpl.C (erase): use boost::prior
11344
11345         * Painter.C (text): use data() instead of c_str() when length is
11346         also provided.
11347         * WorkArea.C (putClipboard): ditto
11348         * font.h (width): ditto
11349
11350         * BufferView2.C: use it-> instead of (*it). for iterators
11351         * texrow.C: ditto
11352         * paragraph_pimpl.C: ditto
11353         * paragraph.C: ditto
11354         * minibuffer.C: ditto
11355         * language.C: ditto
11356         * kbmap.C: ditto
11357         * encoding.C: ditto
11358         * counters.C: ditto
11359         * converter.C: ditto
11360         * chset.C: ditto
11361         * Variables.C: ditto
11362         * TextCache.C: ditto
11363         * MenuBackend.C: ditto
11364         * LyXAction.C: ditto
11365         * LColor.C: ditto
11366         * FloatList.C: ditto
11367         * DepTable.C: ditto
11368         * ColorHandler.C (LyXColorHandler): ditto
11369
11370 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11371
11372         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11373
11374         * text2.C (openStuff): reintroduce this method (which had been
11375         nuked in NEW_INSETS frenzy).
11376
11377         * lyxfunc.C (Dispatch): when an action has not been handled, use
11378         its name in the error message, not its number.
11379
11380         * paragraph.C (inInset): change method name to begin with lowercase.
11381
11382         * undo_funcs.C:
11383         * text2.C: updates because of this.
11384
11385 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11386
11387         * ToolbarDefaults.C (add): add spaces in error message
11388
11389 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11390
11391         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11392         (readLyXformat2): rename return_par to first_par, use lyxlex's
11393         pushToken and remove the manual push handling.
11394         (parseSingleLyXformat2Token): add another ert comp. variable:
11395         in_tabular, rename return_par to first_par. handle newlines better
11396
11397 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11398
11399         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11400
11401 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * text2.C (getParFromID): removed
11404
11405         * buffer.C (getParFromID): new method moved form lyxtext.
11406         * BufferView2.C (insertErrors): adjust
11407         (setCursorFromRow): adjust
11408         * BufferView_pimpl.C (restorePosition): adjust
11409         * lyxfunc.C (Dispatch): adjust
11410         * undo_funcs.C (textUndo): adjust
11411         (textRedo): adjust
11412         (textHandleUndo): adjust
11413         (textHandleUndo): adjust
11414
11415 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * buffer.C: up' the LYX_FORMAT
11418
11419         * lyxfont.h: turn NO_LATEX on as default
11420
11421         * buffer.C (insertErtContents): new methods of tex style compability.
11422         (parseSingleLyXformat2Token): use it several places.
11423         * tabular.C (OldFormatRead): and here
11424
11425 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * text2.C: remove some commented code.
11428         reindent file.
11429
11430         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11431         * trans.C: changes because of the above.
11432
11433 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11434
11435         * text2.C (setCounter): Fix counters bug with bibliography layout.
11436
11437 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11440         own member functions
11441         (simpleTeXSpecialChars): ditto
11442
11443 2001-07-06  Juergen Vigna  <jug@sad.it>
11444
11445         * a lot of files: changed the access to LyXText::status and the
11446         call of undo-functions.
11447
11448         * undo.[Ch]: added a inset_id to the undo informations.
11449
11450         * undo_funcs.[Ch]: added and moved here all undo functions.
11451
11452         * lyxtext.h: give the status enum a weight, made status_ a private
11453         variable and made accessor functions for it, removed the whole bunch
11454         of undo-functions as they are now in their own file, make some
11455         functions publically available. Added function ownerParagraph with
11456         int parameter.
11457
11458         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11459         made InInset() a const function, added getParFromID() function.
11460
11461         * buffer.[Ch]: added const version for inset_iterator functions,
11462         added getInsetFromID() function.
11463
11464         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11465         changed undo functions for new version.
11466
11467 2001-07-05  Juergen Vigna  <jug@sad.it>
11468
11469         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11470         unknow mechanism does not call the proper constructor but only this
11471         one also if I request the other!?
11472
11473 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11474
11475         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11476
11477         * text2.C (LyXText): use initialization lists.
11478
11479         * lyxtext.h (Selection): initialize set_ and mark_
11480         (init): remove method
11481
11482 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11483
11484         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11485
11486 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11487
11488         * screen.[Ch]: change method names to begin with lowercase
11489
11490         * BufferView_pimpl.C (updateScrollbar): simplify further and
11491         hopefully make it a bit faster.
11492
11493 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11496         calling directly xforms functions.
11497
11498         * Painter.C (Painter):
11499         * lyx_cb.C (MenuWrite):
11500         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11501         fl_display.
11502
11503         * lyx_gui.C: remove bogus guiruntime extern declaration.
11504
11505 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11508         in NEW_INSETS
11509         (redoDrawingOfParagraph): ditto
11510         (redoParagraphs): ditto
11511         (cutSelection): don't create a object for CutAndPaste use the
11512         static method directly
11513         (pasteSelection): ditto
11514
11515         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11516         LyXview (+ rename)
11517
11518 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * modifications to some other files because of this.
11521
11522         * Makefile.am (lyx_SOURCES): add XFormsView
11523
11524         * XFormsView.[Ch]: new files
11525
11526         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11527         the main window. Move the gui dependent stuff to XFormsView
11528
11529 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11530
11531         * tabular.C (GetCellInset): update cur_cell also in the row/col
11532         version of this function.
11533
11534         * lyxfunc.C: no need to include figure_form.h here.
11535
11536         * FontLoader.h:
11537         * lyxfunc.h:
11538         * lyxscreen.h:
11539         * text2.C:
11540         * lyxvc.C: no need to include forms.h here.
11541
11542 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11543
11544         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11545
11546         * lyxfunc.C (Dispatch):
11547         * Spacing.C (set):
11548         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11549         constructor argument.
11550
11551 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * paragraph.C (Paragraph): dont't clear, and just set layout.
11554         (makeSameLayout): use params's copy contructor.
11555
11556         * ParagraphParameters.[Ch] (makeSame): delete method
11557
11558 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * Variables.[Ch]: fix indentation, rename set to isSet
11561
11562 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11563
11564         * lyxfunc.C (Dispatch): fix typo
11565
11566 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11567
11568         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11569         upper_bound.
11570
11571         * bufferlist.C: include assert.h for emergencyWrite().
11572
11573 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11574
11575         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11576           give up at last (bug #425202) !
11577
11578 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * lyx_gui_misc.C:
11581         * sp_form.h:
11582         * sp_form.C:
11583         * spellchecker.h:
11584         * spellchecker.C: strip spellchecker options and bring up
11585           preferences tab instead
11586
11587 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11588
11589         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11590         the istringstream constructor
11591
11592 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11593
11594         * paragraph.C (getLayout): fix return value
11595
11596         * paragraph.h: do not declare getLayout as inline.
11597
11598         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11599
11600 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * lyxcursor.h (operator<): new func
11603         (operator>): new func
11604         (operator>=): new func
11605         (operator<=): new func
11606
11607         * text.C (changeCase): use selection.start and selection.end
11608         (changeRegionCase): require from to be <= to. Require par to be a
11609         valid paragraph.
11610
11611         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11612
11613 2001-06-27  Juergen Vigna  <jug@sad.it>
11614
11615         * text.C (cursorLeftOneWord): changed to return the cursor and added
11616         overlay with BufferView * parameter which calls this one.
11617         (getWord): added
11618         (selectWord): use new getWord function.
11619         (changeCase): renamed from changeWordCase as and extended to work
11620         also on selections.
11621
11622         * lyxtext.h: added enum word_location
11623
11624         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11625         changeCase as this operates now also on selections.
11626
11627 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11628
11629         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11630
11631         * many files: send debug output to Debug::INFO instead of
11632         Debug::ANY.
11633
11634         * converter.C (View):
11635         (Convert):
11636         (Move): send debug output to Debug::FILES instead of console.
11637
11638 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11639
11640         * lyxfunc.C (getStatus): use func_status
11641
11642         * func_status.h: new header, describing the results of
11643         LyXFunc::getStatus;
11644
11645         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11646         LFUN_MATH_HALIGN.
11647
11648 2001-06-25  The LyX Project  <jug@sad.it>
11649
11650         * buffer.C (sgmlOpenTag):
11651         (sgmlCloseTag):
11652         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11653
11654 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * text2.C: remove some dead code
11657
11658         * tabular.C (GetCellInset): store the last cell checked (gotten)
11659
11660         * tabular.h: add the helper for the speedup
11661
11662         * lyxtext.h: remove some dead code
11663
11664 2001-06-26  The LyX Project  <Asger>
11665
11666         * paragraph.C: Change export to LaTeX of alignment to
11667         \begin{center} and family for better roundtrip work with reLyX.
11668
11669         * Tune the math drawing a bit.
11670
11671 2001-06-25  The LyX Project  <Asger>
11672
11673         * LColor.C (LColor): New color for math background. New color
11674         for buttons.
11675
11676 2001-06-25  The LyX Project  <jug@sad.it>
11677
11678         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11679
11680         * lyxfunc.C (Open):
11681         * bufferlist.C (newFile): do not restrict to files ending with
11682         .lyx
11683
11684         * BufferView_pimpl.C (MenuInsertLyXFile):
11685
11686 2001-06-24  The LyX Project  <jug@sad.it>
11687
11688         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11689         of compare_no_case
11690
11691 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * lyxtext.h: rename most methods to begin with a small char.
11694         Lots of changes because of this.
11695
11696         * paragraph.C (Paragraph): do not call fitToSize
11697         (erase): call Pimpl::erase
11698         (insertChar): call Pimpl::insertChar
11699         (insertInset): call Pipl::insertInset
11700         (breakParagraph): do not call fitToSize
11701         (breakParagraphConservative): do not call fitToSize
11702         (fitToSize): remove method
11703
11704         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11705
11706 2001-06-24  The LyX Project  <Asger>
11707
11708         * Fix Qt compilation^2
11709
11710 2001-06-24  The LyX Project  <jug@sad.it>
11711
11712         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11713         depthHook(getDepth()-1).
11714
11715         * paragraph.h:
11716         * ParagraphParameters.h:
11717         * ParameterStruct.h: change type of depth to unsigned int ==
11718         depth_type. Many adaptations to other files before of that.
11719
11720 2001-06-24  The LyX Project  <Asger>
11721
11722         * Fix Qt compilation.
11723
11724 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * paragraph.h: renamed several methods to begin with small letter.
11727         several changes to many parts of the code because of this.
11728
11729 2001-06-23  The LyX Project  <jug@sad.it>
11730
11731         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11732         rewritten to discard all double spaces when KeepEmpty is off
11733         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11734         to only handle newlines but not fiddle with spaces and friends.
11735
11736         * lyxfunc.C (MenuNew): when doing 'new from template', use
11737         template_path as default directory
11738
11739 2001-06-23  The LyX Project  <Asger>
11740
11741         * Clean-up of header file includes all over
11742         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11743
11744 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11745
11746         * paragraph.h: renamed from lyxparagraph.h
11747
11748 2001-06-23  Asger  <lyx@violet.home.sad.it>
11749
11750         * Buffer.h: Removed Buffer::resize
11751         * BufferList.h: Removed BufferList::resize
11752         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11753         the document lazily when we change the width, or the font settings.
11754
11755 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11758
11759 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * buffer.h: remove out of date comment
11762
11763 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * lyxscreen.h:
11766         * screen.C: fix "theoretical" GC leak
11767
11768 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11769
11770         * LaTeX.C (scanAuxFile):
11771         (deplog): remove trailing \r when reading stream (useful under
11772         win32)
11773
11774 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11775
11776         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11777         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11778         and BufferView::theLockingInset(Inset*), so should use them and not
11779         access bv_->text->the_locking_inset directly.
11780
11781         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11782
11783 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * Makefile.am:
11786         * tex-defs.h: remove old unused file
11787
11788 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * BufferView_pimpl.C: fix typo, remove minibuffer message
11791           when buffer has loaded
11792
11793 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * lyxfunc.C (Dispatch): use stringstream
11796         (MenuNew): use stringstream
11797         (Open): use stringstream
11798
11799         * importer.C (Import): use stringstream
11800
11801         * bufferview_funcs.C (CurrentState): use stringstream
11802
11803         * LaTeX.C (run): use stringstream
11804
11805         * BufferView_pimpl.C (savePosition): use stringstream
11806         (restorePosition): use stringstream
11807         (MenuInsertLyXFile): use stringstream
11808
11809 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * BufferView.C:
11812         * Bullet.C:
11813         * ColorHandler.C:
11814         * FontInfo.C:
11815         * FontLoader.C:
11816         * LColor.C:
11817         * LaTeXFeatures.C:
11818         * Painter.C:
11819         * gettext.C:
11820         * lyx_gui_misc.C:
11821         * lyxserver.C:
11822         * vspace.C: removed // -*- C++ -*- as first line.
11823
11824         * lyxfind.h:
11825         * version.h: added // -*- C++ -*- as first line.
11826
11827 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11830
11831         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11832         of string
11833
11834 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11837         of floats.
11838
11839 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11840
11841         * gettext.C: include LString.h even when --disable-nls is on.
11842
11843 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11844
11845         * converter.h (Get): changed argument type from int to
11846         FormatList::size_type to avoid unnecessary conversion.
11847
11848         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11849         before using it.
11850
11851 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11852
11853         * gettext.h: include LString.h even when --disable-nls is on.
11854
11855 2001-06-07  Juergen Vigna  <jug@sad.it>
11856
11857         * text.C (BreakAgain): subst spaces with tabs.
11858
11859         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11860         (resizeInsetsLyXText): set force on resizeLyXText.
11861
11862 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11863
11864         * gettext.h (gettext_init):
11865         (locale_init): use a real definition instead of a macro
11866
11867 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * Bufferview_pimpl.C:
11870         * LColor.h:
11871         * LColor.C: further lcolor tidies
11872
11873 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11874
11875         * BufferView_pimpl.C (updateScrollbar): simplify.
11876
11877         * BufferView2.C: don't include insets/insetinfo.h, change
11878         prototype for insertInset and call the Pimpl version. let
11879         updateInset call Pimpl version.
11880
11881         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11882         gotoInset to BufferView::Pimpl
11883
11884 2001-06-01  Juergen Vigna  <jug@sad.it>
11885
11886         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11887         inside a LockingInset (is the update needed at all?).
11888
11889 2001-05-31  Juergen Vigna  <jug@sad.it>
11890
11891         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11892         here not the old one otherwise how should we compare it afterwards
11893         if it's the same!
11894
11895 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11896
11897         * lyxfont.C:
11898         * tabular.C:
11899         * tabular-old.C:
11900         * FontInfo.C: bring C functions into global namespace when
11901         necessary
11902
11903 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11904
11905         * LString.h: make sure config.h has been loaded before LString.h.
11906
11907         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11908         (one for each char read by EatLine!).
11909
11910         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11911         variables.
11912
11913 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11916         to the same as the par we break from
11917
11918 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11921
11922         * MenuBackend.C (expand): also create menu entries for wide
11923         versions of the floats.
11924
11925         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11926
11927         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11928
11929         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11930         frontends/Makefile.am
11931
11932         * text2.C: adjust
11933         * text.C: adjust
11934
11935
11936         * tabular.C (getTokenValue): add std::
11937
11938         * tabular-old.C (getTokenValue): add std::
11939         (getTokenValue): ditto
11940         (getTokenValue): ditto
11941
11942         * screen.C (ToggleSelection): adjust
11943
11944         * lyxtext.h: put selection cursors inside a Selection struct.
11945
11946         * lyxfunc.C (moveCursorUpdate): adjust
11947
11948         * lyxfont.C (latexWriteStartChanges): add std::
11949
11950         * lyxfind.C: adjust
11951
11952         * font.h: delete with(char const *, LyXFont const &)
11953
11954         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11955
11956         * FontInfo.C (getFontname): add std::
11957
11958         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11959         (workAreaButtonPress): adjust
11960         (tripleClick): adjust
11961         (update): adjust
11962         (moveCursorUpdate): adjust
11963         (Dispatch): adjust
11964
11965         * BufferView2.C (gotoInset): adjust
11966
11967 2001-05-30  Juergen Vigna  <jug@sad.it>
11968
11969         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11970         to check pspell I add this as default as I now have new pspell
11971         libraries and they seem to use this.
11972
11973 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * text2.C (CutSelection): make the cursor valid before the call to
11976         ClearSelection.
11977
11978 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11979
11980         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11981         relied on 0 terminated strings and other horrors. Bug found due to
11982         the new assert in lyxstring!
11983
11984         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11985         KP_ keys.
11986
11987 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11990         to latinkeys.bind.
11991
11992         * lyxfunc.C (processKeySym): change method of getting to the
11993         self-insert char.
11994
11995         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11996         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11997         * BufferView_pimpl.[Ch]: here as private methods.
11998
11999 2001-05-28  Juergen Vigna  <jug@sad.it>
12000
12001         * text.C (SetHeightOfRow): added the update() call again as it is
12002         needed to initialize inset dimensions!
12003
12004 2001-05-16  Juergen Vigna  <jug@sad.it>
12005
12006         * text2.C (SetCharFont): Add new function with BufferView * and
12007         bool toggleall parameters for setting insets internal fonts.
12008         (SetFont): Freeze the undo as we may change fonts in Insets and
12009         all this change should be inside only one Undo!
12010
12011         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12012         setting font's in insets as for them we have the SetFont function!
12013
12014 2001-05-15  Juergen Vigna  <jug@sad.it>
12015
12016         * text2.C (ClearSelection): to be sure we REALLY don't have any
12017         selection anymore!
12018
12019         * tabular.C (TeXCellPreamble): fixed the left border problem for
12020         multicolumn cells.
12021
12022 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12023
12024         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12025         dependancy file
12026
12027 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12028
12029         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12030         LFUN_BREAKPARAGRAPH.
12031
12032         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12033         help test to "internal only", similar for LFUN_INSERT_URL
12034
12035         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12036         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12037         auto_region_delete and deadkeys.
12038
12039 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * LColor.h:
12042         * LColor.C: remove some dead entries, tidy a little
12043
12044 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12047         commented code.
12048         (Dispatch): implement LFUN_ESCAPE
12049
12050         * commandtags.h: add LFUN_ESCAPE
12051
12052         * LyXAction.C (init): add entry for LFUN_ESCAPE
12053
12054         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12055         Remove commented code.
12056         (insertNote): moved here
12057         (open_new_inset): moved here
12058
12059         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12060         BufferView_pimpl
12061
12062 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12063
12064         * kbmap.C (findbinding): clean it up and make it work correctly.
12065
12066         * lyx_main.C (init): do not pass argc and argv as parameters
12067
12068 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12069
12070         * buffer.C: fix path for OS/2 & Win32
12071
12072         * lyx_gui.C:
12073         * lyx_main:
12074         * lyx_main.C: Added os:: class.
12075
12076         * os2_defines.h: update
12077
12078 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12081         better by trying again with reduced state.
12082
12083 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12084
12085         * lyxrc.C (read): print error about invalid key sequence only when
12086         debugging (because not all latinX keysyms are known to some X
12087         servers)
12088
12089         * kbsequence.C (getiso): add a few std:: qualifiers
12090         (getiso): comment out extra return statement.
12091
12092 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12095         handling.
12096         (Dispatch): enhance the accent inset a bit. (not perfect)
12097
12098 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12099
12100         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12101
12102 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12103
12104         * bufferlist.C (emergencyWrite): fix assert() call
12105
12106 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12107
12108         * text.C (InsertChar): Added trivial patch to only send the "you
12109         can not do multiple spaces this way" message once during a
12110         session.
12111
12112 2001-05-08  Baruch Even  <baruch@lyx.org>
12113
12114         * Makefile.am: Changed order of libraries to get LyX to link properly
12115         with the gnome frontend.
12116
12117 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * LaTeXFeatures.h: add a std:: qualifier
12120
12121 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * paragraph.C (String): use stringstream
12124
12125 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * paragraph.C (writeFile): remove footflag arg
12128
12129         * buffer.C (makeLaTeXFile): use stringstream
12130         (latexParagraphs): remove footnot gurba
12131
12132         * LaTeXFeatures.C (getPackages): use stringstream
12133         (getMacros): likewise
12134         (getTClassPreamble): likewise
12135         (getFloatDefinitions): new method
12136
12137         * paragraph.C (writeFile): reindent
12138         (Erase): reindent
12139
12140         * WorkArea.h: revert the xpos + etc changes.
12141
12142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12143
12144         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12145
12146         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12147         (pasteSelection): likewise
12148         * text2.C (CreateUndo): likewise
12149
12150 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * minibuffer.C (peek_event): temporarily reduce the functionality
12153         of the minibuffer (to allow args on lfuns)
12154
12155         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12156         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12157
12158         * buffer.C (readInset): add compability reading of old float
12159         lists, add reading of new style float list.
12160         (readInset): avoid reevaluation of inscmd.getCmdName()
12161         (getLists): reindent
12162
12163         * MenuBackend.C (MenuItem): implement parsing of
12164         md_floatlistinsert and md_floatinsert.
12165         (expand::LastFiles): move initalizaton of iterators out of loop,
12166         avoid reevaluation.
12167         (expand::Documents): introduce typdedef vector<string> Strings,
12168         and use it.
12169         (expand::ExportFormats): introduce typedef vector<Format const *>
12170         Formats, and use it.
12171         (expand): implement FloatListInsert and FloatInsert.
12172
12173         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12174         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12175         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12176
12177         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12178         handling.
12179         (Dispatch::LFUN_FLOAT_LIST): implement
12180
12181 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12182
12183         * LaTeX.C (run): Fix problem with --export code.
12184
12185 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * BufferView.[Ch] (workarea): removed.
12188         (getClipboard) new method; wrapper for workarea()->getClipboard()
12189
12190         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12191         bug.
12192
12193         * WorkArea.h (width, height, xpos, ypos): These methods all
12194         returned the dimensions of the work_area sub-area of WorkArea,
12195         resulting in a position error if the WorkArea were resized. Now
12196         return the dimensions of the entire WorkArea.
12197
12198         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12199
12200 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12201
12202         * LaTeX.C (deplog): correct the syntax of regex reg1
12203
12204 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * undo.C: remove !NEW_INSETS cruft
12207
12208 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * text2.C: remove !NEW_INSETS cruft
12211
12212         * text.C: remove !NEW_INSETS cruft
12213
12214         * tabular.C: remove !NEW_INSETS cruft
12215
12216         * spellchecker.C: remove !NEW_INSETS cruft
12217
12218         * lyxtext.h: remove !NEW_INSETS cruft
12219
12220         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12221
12222         * lyxfunc.C: remove !NEW_INSETS cruft
12223
12224         * lyxfind.C: remove !NEW_INSETS cruft
12225
12226         * lyx_cb.C: remove !NEW_INSETS cruft
12227
12228         * figureForm.C: remove  !NEW_INSETS cruft
12229
12230         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12231
12232         * buffer.[Ch]: remove !NEW_INSETS cruft
12233
12234         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12235
12236         * CutAndPaste.C: remove !NEW_INSETS cruft
12237
12238         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12239
12240         * BufferView2.C: remove !NEW_INSETS cruft
12241
12242         * BufferView.h: remove !NEW_INSETS cruft
12243
12244 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12245
12246         * Lsstream.h: include LString.h before the sstream headers to
12247         fix problem with gcc 2.95.3 and lyxstring
12248
12249 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * lyx_main.C: add using directives when needed for C functions
12252         declared in std:: namespace.
12253
12254 2001-04-27  Juergen Vigna  <jug@sad.it>
12255
12256         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12257         (SetHeightOfRow): comment out the update call should not be needed!
12258
12259 2001-04-13  Juergen Vigna  <jug@sad.it>
12260
12261         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12262         (LyXTabular): tried to minimize operator= operations (and realized
12263         hopfully Lars wish).
12264
12265 2001-04-27  Juergen Vigna  <jug@sad.it>
12266
12267         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12268
12269 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12272
12273         * buffer.C (readInset): hack to make listof algorithm work
12274
12275         * BufferView_pimpl.C: hack to make listof algorithm work
12276
12277 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * LyXAction.C: removed all !NEW_INSETS cruft
12280         (init): moved lfun_item in method
12281
12282         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12283
12284 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12285
12286         * BufferView2.C (theLockingInset): white space.
12287
12288 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12289
12290         * minibuffer.C: include <iostream>
12291
12292         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12293
12294         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12295
12296         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12297
12298         * text.[Ch] (TransposeChars): new method
12299
12300 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * call message directly through LyXView instead of through LyXFunc
12303         * BufferView2.C: adjust
12304         * BufferView_pimpl.C: adjust
12305         * FontLoader.C: adjust
12306         * buffer.C: adjust
12307         * bufferview_funcs.C: adjust
12308         * converter.C: adjust
12309         * figureForm.C: adjust
12310         * importer.C: adjust
12311         * lyx_cb.C: adjust
12312         * lyx_gui_misc.C: adjust
12313         * lyxfunc.C: adjust
12314         * lyxvc.C: adjust
12315         * text2.C: adjust
12316         + more files in subdirs
12317
12318         * lyxparagraph.h (size): move up int file
12319         (GetLayout): ditto
12320
12321         * adjust all uses of Assert to lyx::Assert.
12322
12323         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12324         lyxfunctional in namespace lyx
12325         * layout.C (hasLayout): ditto
12326         (GetLayout): ditto
12327         (GetLayout): ditto
12328         (delete_layout): ditto
12329         (NumberOfClass): ditto
12330         * converter.C (GetFormat): ditto
12331         (GetNumber): ditto
12332         (Add): ditto
12333         (Delete): ditto
12334         (SetViewer): ditto
12335         * bufferlist.C (getFileNames): ditto
12336         (emergencyWriteAll): ditto
12337         (exists): ditto
12338         (getBuffer): ditto
12339         * MenuBackend.C (hasSubmenu): ditto
12340         (hasMenu): ditto
12341         (getMenu): ditto
12342         * BufferView_pimpl.C (getInsetByCode): ditto
12343
12344 2001-04-18  Juergen Vigna  <jug@sad.it>
12345
12346         * vspace.C (asLatexString): fixed the 100% problem.
12347
12348 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12349
12350         * lyxfunc.C (Dispatch):
12351         * minibuffer.C:
12352         * minibuffer.h: add a few std:: qualifiers
12353
12354 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * minibuffer.[Ch]: reimplement so that commands is initiated and
12357         run from lyxfunc, simplified som handling, and made the completion
12358         and history code for complete. wip.
12359
12360         * lyxfunc.C (processKeySym): call message
12361         (miniDispatch): new temporary method
12362         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12363         (LFUN_MESSAGE): implement
12364         (LFUN_MESSAGE_PUSH): implement
12365         (LFUN_MESSAGE_POP): implement
12366         (initMiniBuffer): the initial/defualt minibuffer message.
12367
12368         * lyxfont.[Ch]: inline some more getters
12369
12370         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12371
12372         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12373
12374         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12375         (AutoSave): use LFUN_MESSAGE
12376         (Reconfigure): ditto
12377
12378         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12379
12380         * figureForm.C: use LFUN_MESSAGE
12381
12382         * converter.C (runLaTeX): use LFUN_MESSAGE
12383
12384         * bufferview_funcs.C: use LFUN_MESSAGE
12385         (Melt): ditto
12386         (changeDepth): ditto
12387
12388         * bufferparams.h: use boost::
12389
12390         * bufferlist.h: inherit privately from noncopyable
12391
12392         * bufferlist.C (loadLyXFile): remove some commented code.
12393
12394         * buffer.C (runChktex): use LFUN_MESSAGE
12395
12396         * ShareContainer.h: inherit privately from noncopyable
12397
12398         * ParagraphParameters.[hC] (depth): inline it.
12399
12400         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12401         methods.
12402         (message): new method
12403         (messagePush): ditto
12404         (messagePop): ditto
12405         (show): init minibuffer
12406         (showState): direct call
12407
12408         * LaTeX.[Ch]: inherit privately from noncopyable
12409         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12410         instead of WriteStatus.
12411
12412         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12413
12414         * BufferView_pimpl.C (buffer): don't init minibuffer
12415         (workAreaButtonPress): use LFUN_MESSAGE
12416         (workAreaButtonRelease): ditto
12417         (savePosition): ditto
12418         (restorePosition): ditto
12419         (MenuInsertLyXFile): ditto
12420         (workAreaExpose): don't init minibuffer
12421         (update): remove commented code, simplify
12422
12423         * BufferView2.C (openStuff): use LFUN_MESSAGE
12424         (toggleFloat): ditto
12425         (menuUndo): ditto
12426         (menuRedo): ditto
12427         (copyEnvironment): ditto
12428         (pasteEnvironment): ditto
12429         (copy): ditto
12430         (cut): ditto
12431         (paste): ditto
12432         (gotoInset): ditto
12433         (updateInset): remove some commented code
12434
12435         * lastfiles.h: inherit privately from noncopyable
12436         * layout.h: ditto
12437         * lyx_gui.h: ditto
12438         * lyx_main.h: ditto
12439         * lyxlex.h: ditto
12440         * lyxlex_pimpl.h: ditto
12441
12442         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12443         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12444         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12445
12446         * LyXAction.h: inherit privately from noncopyable, add methods
12447         func_begin, func_end, returning iterators to the func map.
12448
12449         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12450         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12451         (func_begin): new method
12452         (func_end): new method
12453
12454         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12455         and not)
12456         (copySelection): ditto
12457         (pasteSelection): ditto
12458
12459         * BufferView.C: whitespace change
12460         * BufferView.h: inherit privately from noncopyable
12461
12462 2001-04-16  Allan Rae  <rae@lyx.org>
12463
12464         * tabular-old.C (l_getline):
12465         * spellchecker.C (sc_check_word):
12466         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12467         an unrecognised preprocessor directive.  So ensure they're wrapped.
12468
12469 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12470
12471         * src/exporter.C (Export): Give an error message when path to file
12472         contains spaces.
12473
12474 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12475
12476         * LaTeX.C (deplog): Always check that foundfile exists.
12477
12478 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12479
12480         * lyx_main.h:
12481         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12482
12483 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * tabular.[Ch] (getLabelList): implement new method
12486
12487         * minibuffer.h: comment ouf setTiimer
12488
12489         * minibuffer.C (ExecutingCB): constify res
12490         (peek_event): constify s
12491         (Set): constify ntext
12492         (Init): constify nicename
12493
12494         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12495
12496         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12497         (savePosition): use two params to Minibuffer::Set
12498         (restorePosition): ditto
12499
12500 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * lyx_main.C: include language.h
12503
12504         * Makefile.am (lyx_main.o): add language.h
12505
12506 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12507
12508         * exporter.C:
12509         * paragraph.C:
12510         * screen.C:
12511         * tabular.C:
12512         * CutAndPaste.C: include gettext.h
12513
12514         * lyxfont.h: remove old hack with ON and OFF.
12515
12516         * lyxparagraph.h:
12517         * lyxfont.h: do not include language.h...
12518
12519         * BufferView2.C:
12520         * LaTeXFeatures.C:
12521         * Painter.C:
12522         * bufferview_funcs.C:
12523         * font.C:
12524         * lyxfont.C:
12525         * text.C:
12526         * text2.C:
12527         * trans_mgr.C:
12528         * paragraph.C: ... but do it here instead
12529
12530 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12533
12534         * tabular.C: small reformat
12535
12536         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12537         NEW_INSETS version
12538         (GetChar): ditto
12539         (BreakParagraph): ditto
12540         (SetOnlyLayout): ditto
12541         (SetLayout): ditto
12542
12543         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12544         with one arg less.
12545
12546         * lastfiles.C: removed most using decl, add std:: where needed
12547
12548         * buffer.C: ws changes
12549
12550         * MenuBackend.C (class compare_format): put into anon namespace
12551         (expand): constify label, names, action, action2
12552         (expand):
12553
12554         * text.C (SingleWidth): constify font
12555         (IsBoundary): constify rtl2
12556         (GetVisibleRow): constify ww
12557
12558         * LaTeX.C (deplog): constify logfile
12559
12560         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12561         start_x, end_x
12562         (workAreaExpose): constify widthChange, heightChange
12563
12564         * lyxrow.C (par): moved
12565         (height): moved
12566         (next): moved
12567         * lyxrow.h: as inlines here
12568
12569         * lyxfont.h (shape): moved from lyxfont.C
12570         (emph): moved from lyxfont.C
12571
12572         * lyxfont.C (LyXFont): use initialization list for all
12573         constructors
12574         (shape): move to lyxfont.h as inline
12575         (emph): move to lyxfont.h as inline
12576
12577
12578 2001-04-04  Juergen Vigna  <jug@sad.it>
12579
12580         * vspace.C: had to include stdio.h for use of sscanf
12581
12582 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12583
12584         * BufferView.h:
12585         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12586         independent of xforms.
12587
12588 2001-04-02  Juergen Vigna  <jug@sad.it>
12589
12590         * spellchecker.C: fixed namespace placing!
12591
12592 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12593
12594         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12595         the LyXParagraph * is 0.
12596
12597 2001-03-29  Juergen Vigna  <jug@sad.it>
12598
12599         * vspace.C: added support for %, c%, p%, l%.
12600         (stringFromUnit): added helper function.
12601         (asLatexString): changed to give right results for the %-values.
12602
12603         * buffer.C: convert the widthp in a width%.
12604
12605 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12606
12607         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12608         figureForm.[Ch].
12609
12610         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12611         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12612
12613         * lyx_cb.[Ch]: see above.
12614
12615         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12616         form1.[Ch].
12617
12618         * form1.[Ch]:
12619         * lyx.[Ch]: replaced by figure_form.[Ch].
12620
12621         * lyx_gui.C:
12622         * lyx_gui_misc.C:
12623         * lyxfunc.C: changed headers associated with above changes.
12624
12625 2001-03-27  Juergen Vigna  <jug@sad.it>
12626
12627         * BufferView_pimpl.C: set the temporary cursor right!
12628
12629 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12630
12631         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12632
12633 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12634
12635         * LString.h: removed "using std::getline"!
12636
12637         * BufferView_pimpl.C (Dispatch): changes due to changes in
12638         InsetInclude::Params.
12639
12640         * buffer.C (tag_name): removed redundant break statements as they were
12641         producing lots of warnings with my compiler.
12642
12643 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12644
12645         * LString.h: add "using std::getline" when using the real <string>.
12646
12647 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12648
12649         * buffer.C: removed bitset usage.
12650         PAR_TAG moved to an anonymous name space.
12651         (tag_name): new funtion, also in the anonymous namespace.
12652         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12653         (makeDocBookFile): clean code. Completed transition from string arrays
12654         to string vectors.
12655         (SimpleDocBookOnePar): code clean.
12656
12657 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12658
12659         * tabular.C: add some comments.
12660
12661 2001-03-22  Juergen Vigna  <jug@sad.it>
12662
12663         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12664         compatibility read a bit and fixed bug with minipage in different
12665         depth.
12666
12667 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12668
12669         * buffer.C (pop_tag): removed.
12670         (push_tag): removed.
12671         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12672         array replaced with vector. Added support for CDATA sections.
12673         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12674         at any nest level.
12675         (makeDocBookFile): XML conformant declaration of CDATA section,
12676         fixed bug related to <emphasis> in the first paragraph char.
12677         (sgmlOpenTag): exclude empty tags.
12678         (sgmlCloseTag): ditto.
12679
12680         * buffer.h (pop_tag): removed.
12681         (push_tag): removed.
12682
12683 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * language.h (Languages): added size_type and size().
12686
12687 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12688
12689         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12690         response on compability reading of minipages. One probliem is that
12691         the old usage of minipages was «flertydig»
12692
12693         * several files here and in subdirs: don't use static at file
12694         scope use anon namespaces instead.
12695
12696 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12697
12698         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12699         LaTeX output. This is necessary for Literate document
12700         processing.
12701
12702 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12703
12704         * buffer.C: insert hfill when needed.
12705
12706         * tabular.C (l_getline): use string::erase, small whitespace change.
12707
12708         * BufferView_pimpl.C: try the anon namespace.
12709         * WorkArea.C: ditto
12710
12711 2001-03-16  Juergen Vigna  <jug@sad.it>
12712
12713         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12714         otherwise it won't open options-dialogs.
12715
12716         * buffer.C: honor pextraWidth(p) on converting minipages.
12717
12718         * tabular.C (l_getline): changed the functions to strip trailing \r.
12719
12720 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12721
12722         * BufferView_pimpl.C:
12723         * minibuffer..C: added "using SigC::slot" declaration.
12724
12725 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12726
12727         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12728
12729         * text2.C: ditto
12730
12731         * text.C: ditto
12732
12733         * paragraph.C: ditto
12734
12735         * lyxtext.h: NO_PEXTRA
12736
12737         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12738
12739         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12740         * ParameterStruct.h: ditto
12741         * ParagraphParameters.h: ditto
12742         * lyxparagraph.h: ditto
12743
12744 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12745
12746         * buffer.C: add compability for minipage alignment.
12747         (latexParagraphs): remove unwanted pextra check.
12748
12749         * several files: remove CXX_WORKING_NAMESPACES
12750
12751         * buffer.C (pop_tag): tie is in namespace boost
12752
12753         * BufferView.h: noncopyable is in namespace boost
12754         * lyxlex.h: ditto
12755         * lyx_main.h: ditto
12756         * lyx_gui.h: ditto
12757         * layout.h: ditto
12758         * lastfiles.h: ditto
12759         * bufferlist.h: ditto
12760         * ShareContainer.h: ditto
12761         * LyXView.h: ditto
12762         * LyXAction.h: ditto
12763         * LaTeX.h: ditto
12764
12765 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12766
12767         * Merging changes from BRANCH_MVC back into HEAD.
12768
12769         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12770
12771 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * BufferView_pimpl.C: change from intl.C
12774
12775         * combox.h:
12776         * combox.C:
12777         * Makefile.am: move combox.*
12778
12779         * form1.h:
12780         * form1.C:
12781         * lyx_gui.C:
12782         * intl.h:
12783         * intl.C: remove dialog (covered by prefs)
12784
12785 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12786
12787         * lyxfunc.C (Dispatch): removed redundant break statement.
12788
12789 2001-03-14  Juergen Vigna  <jug@sad.it>
12790
12791         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12792
12793 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12794
12795         * buffer.C: add hack to fix compability reading of minipages.
12796
12797 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * buffer.C (getLists): Cleanup.
12800
12801 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12802
12803         * lyxfont.C (update): don't honor toggleall on font size.
12804
12805 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * bmtable.c:
12808         * bmtable.h:
12809         * Makefile.am: moved to frontends/xforms/
12810
12811         * lyx_gui_misc.C:
12812         * lyxfunc.C:
12813         * BufferView_pimpl.C: changes for moved mathpanel
12814
12815 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * gettext.h: fix gettext_init() in --disable-nls
12818
12819 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820
12821         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12822
12823 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * lyx.C:
12826         * lyx.h: strip external form
12827
12828 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * BufferView_pimpl.C: add comment, destroySplash()
12831
12832 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * BufferView_pimpl.C:
12835         * LyXAction.C:
12836         * buffer.C:
12837         * commandtags.h:
12838         * lyxfunc.C: use re-worked insetinclude
12839
12840 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12841
12842         * buffer.C: add using std::stringstream.
12843
12844         * lyx_cb.C: readd using std::ios.
12845
12846         * buffer.C: add using std::map.
12847
12848         * BufferView_pimpl.C: add using std::vector.
12849
12850         * ShareContainer.h: add std:: to swap.
12851
12852         * buffer.h: add some typedefs
12853         * buffer.C (getLists): use them
12854         (getLists): renamed from getTocList.
12855         add a counter for the different float types and use it in the
12856         generated string.
12857         (getLists): use the same counter for the NEW_INSETS and the "non"
12858         NEW_INSETS
12859
12860         * lyx_cb.h: remove unused items, includes, using etc.
12861
12862         * ShareContainer.h: remove some commented code, add more comments
12863         and "documentation".
12864
12865 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12866
12867         * buffer.C (getTocList): make the list also when NEW_INSETS is
12868         defined.
12869
12870         * buffer.h: remove TocType
12871
12872         * buffer.C (getTocList): change to return a map<string,
12873         vector<TocItem> >, implement for dynamic number of list.
12874
12875         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12876         * text2.C (PasteSelection): adjust
12877         * CutAndPaste.C (pasteSelection): adjust
12878
12879         * FloatList.C (FloatList): update from the new_insets branch.
12880         * Floating.[Ch]: ditto
12881         * LaTeXFeatures.C: ditto
12882         * buffer.C: ditto
12883         * lyxlex_pimpl.C: ditto
12884
12885         * paragraph.C (Last): remove when NEW_INSETS is defined.
12886
12887         * other file: changes because of the above.
12888
12889 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12890
12891         * lyxparagraph.h: rename next to next_, previous to previous_,
12892         make them private for NEW_INSETS. Rename Next() to next(),
12893         Previous() to previous().
12894
12895         * other files: changes because of the above.
12896
12897 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12898
12899         * BufferView.h:
12900         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12901         problem.
12902
12903 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12904
12905         * main.C (main): pass lyx_localedir to gettext_init().
12906
12907         * gettext.h: remove locale_init and gettext_init macros
12908
12909         * gettext.C (locale_init): new function
12910         (gettext_init): new function
12911
12912         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12913         setlocale().
12914
12915 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12916
12917         * Moved credits to frontends:
12918         * credits.[Ch]: removed
12919         * credits_form.[Ch]: removed
12920         * lyx_gui_misc.C: remove credits stuff
12921         * Makefile.am:
12922
12923 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12924
12925         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12926
12927         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12928         unneeded destructor.
12929
12930         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12931         a standalone pointer again.
12932
12933         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12934
12935 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * Makefile.am:
12938         * filedlg.h:
12939         * filedlg.C:
12940         * LyXAction.C:
12941         * ToolbarDefaults.C:
12942         * bufferlist.C:
12943         * commandtags.h:
12944         * form1.C:
12945         * form1.h:
12946         * lyx_cb.C:
12947         * lyx_cb.h:
12948         * lyxfunc.h:
12949         * lyxfunc.C:
12950         * BufferView_pimpl.C: use new file dialog in GUII
12951
12952         * lyx_cb.h:
12953         * lyx_cb.C: remove LayoutsCB to Toolbar
12954
12955 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * ShareContainer.h (get): add std:: qualifier
12958
12959 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12960
12961         * ShareContainer.h: define a proper ShareContainer::value_type
12962         type (and use typename to please compaq cxx)
12963
12964 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12965
12966         * lyxparagraph.h: move serveral local vars to
12967         ParameterStruct/ParagraphParameters., use ShareContainer in
12968         FontTable., make vars in FontTable private and add getter and
12969         setter.
12970
12971         * paragraph.C: changes because of the above.
12972
12973         * lyxfont.h: remove copy constructor and copy assignment. (the
12974         default ones is ok), move number inside FontBits. move inlines to
12975         lyxfont.C
12976
12977         * lyxfont.C: add number to initializaton of statics, move several
12978         inlines here. constify several local vars. some whitespace
12979         cleanup. Dont hide outerscope variables.
12980
12981         * Spacing.h: add two new constructors to match the set methods.
12982
12983         * ShareContainer.h: new file, will perhaps be moved to support
12984
12985         * ParameterStruct.h: new file
12986
12987         * ParagraphParameters.h: new file
12988
12989         * ParagraphParameters.C: new file
12990
12991         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12992         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12993
12994         * BufferView_pimpl.C: ParagraphParameter changes.
12995         * buffer.C: Likewise.
12996         * bufferview_funcs.C: Likewise.
12997         * text.C: Likewise.
12998         * text2.C: Likewise.
12999
13000 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * lyxfind.C (LyXReplace): do not redefine default argument in
13003         implementation.
13004         (IsStringInText): ditto
13005         (SearchForward): ditto
13006         (SearchBackward): ditto
13007
13008 2001-03-06  Juergen Vigna  <jug@sad.it>
13009
13010         * lyxfind.C (IsStringInText): put parentes around expressions.
13011
13012 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13013
13014         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13015
13016 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13019
13020         * stl_string_fwd.h: add comment
13021
13022         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13023
13024         * tabular.h:
13025         * tabular.C: remove unused DocBook methods
13026
13027         * intl.C:
13028         * language.C:
13029         * paragraph.C:
13030         * buffer.C:
13031         killed DO_USE_DEFAULT_LANGUAGE
13032
13033 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13034
13035         * lyx_gui.C: do not include language.h.
13036
13037         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13038         arguments in function implementation.
13039
13040 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13041
13042         * BufferView_pimpl.C: add <ctime>
13043
13044 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13045
13046         * BufferView_pimpl.C: add using std::find_if
13047
13048 2001-02-27  José Matos  <jamatos@fep.up.pt>
13049
13050         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13051         by OnlyPath.
13052
13053 2001-02-11  José Matos  <jamatos@fep.up.pt>
13054
13055         * buffer.C (makeDocBookFile): command styles now have a parameter as
13056         "title" by default.
13057
13058 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13059
13060         * layout_forms.[Ch]: removed
13061         * lyx_cb.[Ch]: out character
13062         * lyx_gui.C: out character
13063         * lyx_gui_misc.C: out character
13064         * bufferview_funcs.C: : out character,
13065         added toggleall as parameter in ToggleAndShow
13066
13067 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13068
13069         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13070
13071         * text2.C (SetCurrentFont): Disable number property at boundary.
13072
13073 2001-02-26  Juergen Vigna  <jug@sad.it>
13074
13075         * lyxfunc.C (getStatus): added a string argument override function so
13076         that this is correctly called from LyXFunc::Dispatch if it contains a
13077         do_not_use_argument which is used!
13078         (Dispatch): added check for "custom" export and call appropriate func.
13079
13080 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13081
13082         * lyxrc.C: Add language_command_local, language_use_babel and
13083         language_global_options.
13084
13085         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13086
13087         * buffer.C (makeLaTeXFile): Use language_use_babel and
13088         language_global_options.
13089
13090 2001-02-23  Juergen Vigna  <jug@sad.it>
13091
13092         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13093         which works with LyXText and putted it inside BufferView. Here now we
13094         only call for that part the BufferView::Dispatch() function.
13095
13096         * BufferView.C (Dispatch): added.
13097
13098         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13099         functions which needs to use a LyXText over from LyXFunc.
13100         (MenuInsertLyXFile): added
13101         (getInsetByCode): added
13102         (moveCursorUpdate): added
13103         (static TEXT): added
13104
13105 2001-02-22  Juergen Vigna  <jug@sad.it>
13106
13107         * BufferView_pimpl.C (update): call a status update to see if LyXText
13108         needs it.
13109
13110 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13111
13112         * vc-backend.C (revert): implement for CVS
13113         (getLog): implement for CVS
13114
13115 2001-02-20  Juergen Vigna  <jug@sad.it>
13116
13117         * text2.C (ClearSelection): added BufferView param for inset_owner call
13118
13119         * lyxfunc.C (TEXT): added this function and use it instead of
13120         directly owner->view()-text of getLyXText().
13121
13122 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13123
13124         * src/layout_forms.C: out preamble
13125         * src/layout_forms.h: out preamble
13126         * src/lyx_cb.C: out preamble
13127         * src/lyx_cb.h: out preamble
13128         * src/lyx_gui.C: out preamble
13129         * src/lyx_gui_misc.C: out preamble
13130         * src/lyxfunc.C: connect with guii preamble
13131
13132 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13133
13134         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13135
13136 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13137
13138         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13139         whether to run bibtex.
13140
13141 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13142
13143         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13144
13145 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13146
13147         * Makefile.am (lyx_SOURCES): removed bibforms.h
13148
13149         * vspace.h: doxygen
13150
13151         * text.C (GetVisibleRow): make several local vars const
13152
13153         * tabular.C: small cleanup.
13154
13155         * lyxserver.C (callback): use compare instead of strncmp
13156
13157         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13158         inlines to after class or to paragraph.C
13159
13160         * lyxfont.h: remove friend operator!=
13161
13162         * converter.h: move friend bool operator< to non friend and after
13163         class def.
13164
13165         * combox.h: small cleanup
13166
13167         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13168         to inlines after class def.
13169
13170         * buffer.C (pop_tag): use string operations instead of strcmp
13171
13172         * bmtable.c: doxygen, small cleanup
13173
13174         * LaTeX.h: remove friend operator==
13175
13176 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13177
13178         * screen.C:
13179         * lyxrc.[Ch]:
13180         * lyxfunc.C:
13181         * lyxfont.[Ch]:
13182         * lyx_cb.C:
13183         * intl.[Ch]:
13184         * commandtags.h:
13185         * buffer.C:
13186         * WorkArea.[Ch]:
13187         * LyXAction.C:
13188         * BufferView_pimpl.C:
13189         * BufferView.[Ch]: remove cruft
13190
13191 2001-02-14  Juergen Vigna  <jug@sad.it>
13192
13193         * lyxfunc.C: removed #if 0 unused code
13194
13195         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13196
13197         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13198
13199         * text2.C (SetSelection): added a BufferView * parameter
13200
13201 2001-02-13  Juergen Vigna  <jug@sad.it>
13202
13203         * lyxfunc.C (Dispatch): fixed protected blank problem.
13204         * BufferView2.C (protectedBlank): added LyxText * parameter.
13205
13206         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13207         (AppendColumn): same as above for column_info.
13208
13209         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13210         (moveCursorUpdate): use a LyXText param for support of InsetText.
13211
13212         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13213         (tripleClick): ditto
13214
13215         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13216
13217         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13218
13219         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13220
13221         * text2.C (SetSelection): set correct update status if inset_owner
13222         (ToggleFree): ditto
13223
13224 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13225
13226         * tabular.C: remove some commented code.
13227
13228 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * BufferView_pimpl.C: call hideSplash()
13231
13232         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13233
13234         * include_form.h:
13235         * bibforms.h: remove
13236
13237         * lyxfunc.C:
13238         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13239           add LFUN_CHILD_CREATE
13240
13241         * counters.h: fix tiny typo
13242
13243         * lyx_cb.C:
13244         * lyx.h:
13245         * lyx_gui.C:
13246         * lyx.C: move splash to frontends/xforms/
13247
13248         * lyx_gui_misc.C: move Include and Bibform to frontends
13249
13250         * lyxvc.h: clarify comment
13251
13252         * vspace.C: tiny housekeeping
13253
13254 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13255
13256         * text.C (PrepareToPrint): RTL Fix.
13257
13258         * paragraph.C (GetUChar): New method.
13259         (String):  Use GetUChar.
13260
13261         * buffer.C (asciiParagraph): Use GetUChar.
13262
13263 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13264
13265         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13266
13267 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * buffer.h:
13270         * buffer.C: rename to getLogName(), handle
13271           build log / latex log nicely
13272
13273 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13274
13275         * MenuBackend.C:
13276         * MenuBackend.h: remove support for reference menuitem type.
13277
13278 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * BufferView_pimpl.C: housekeeping
13281         * BufferView_pimpl.h:
13282         * LyXView.h:
13283         * Makefile.am:
13284         * Timeout.C:
13285         * Timeout.h:
13286         * minibuffer.h: move Timeout GUI-I
13287
13288 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13289
13290         * lyxrc.C (read): Update converters data-structures.
13291
13292 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13293
13294         * LaTeX.h (operator!=): add operator != for Aux_Info
13295
13296 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13299
13300         * LaTeXLog.C: deleted, useful code moved to Buffer
13301
13302         * buffer.h:
13303         * buffer.C: new function getLatexLogName()
13304
13305         * lyx_gui_misc.C:
13306         * lyx_gui.C:
13307         * lyxvc.C:
13308         * lyxvc.h:
13309         * lyxfunc.C: use frontends for LaTeX and VC logs
13310
13311 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * LaTeX.h: yet another std:: that Allan forgot.
13314
13315         * Variables.C (set): renamed from isset(), because this clashes
13316         with some HP-UX macros (grr).
13317
13318 2001-02-06  Allan Rae  <rae@lyx.org>
13319
13320         * LaTeX.h: Another bug fix.  Missing std:: this time.
13321
13322 2001-02-04  Allan Rae  <rae@lyx.org>
13323
13324         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13325         floats problem. I've left it commented out because it's not quite
13326         correct.  It should also test that the current object is a table or
13327         figure inset.  But I haven't gotten around to figuring out how to do
13328         that.  I *think* it'll be something like: "table" == inset.type()
13329
13330         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13331         bool.
13332
13333 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13334
13335         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13336         all the citation/databases/styles in the auxilary file.
13337         (run): Rerun latex if there was a babel language error.
13338
13339 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * text.C (Backspace): Preserve the font when changing newline char
13342         with a space.
13343         (BreakParagraph): If the cursor is before a space, delete the space.
13344
13345         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13346
13347 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13348
13349         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13350         new argument (code).
13351         (ChangeCitationsIfUnique): New method.
13352
13353         * paragraph.C (GetPositionOfInset): Handle bibkey.
13354
13355 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13356
13357         * BufferView_pimpl.h: change type of Position::par_pos to
13358         LyXParagraph::size_type.
13359
13360 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13361
13362         * BufferView_pimpl.C (savePosition, restorePosition): Write
13363         messages to minibuffer.
13364
13365 2001-01-28  José Matos  <jamatos@fep.up.pt>
13366
13367         * buffer.C (makeDocBookFile): adds support for document language.
13368         A silly restriction on the name of LatexCommand types where removed.
13369         Added support for CDATA sections, allows to chars unescaped, used
13370         among others in code, to avoid escape < and >.
13371
13372 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13373
13374         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13375         saved positions instrad of a stack. Furthermore, a position is
13376         stored using paragraph id/paragraph position.
13377
13378         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13379         Remove LFUN_REF_BACK.
13380
13381 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13382
13383         * converter.C (dvipdfm_options): New method.
13384
13385 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13386
13387         * vspace.C (isValidLength): Fix for empty input string.
13388
13389 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * LyXAction.C (init): change description of LFUN_FIGURE to
13392         "Insert Graphics"
13393
13394 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13395
13396         * LaTeX.C: add using directive
13397
13398 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * MenuBackend.C (expand): Fix the sorting of the formats.
13401
13402 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * lyx_main.C: tiny error message fix
13405
13406 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13407
13408         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13409         calling fl_initialize(). This fixes the problem with ',' as
13410         decimal separator in text files.
13411
13412 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13413
13414         * trans.C (process): Fix the keymap bug.
13415
13416 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13417
13418         * LaTeX.C (scanAuxFiles): New method. Provides support for
13419         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13420         (scanLogFile) Scan for "run BibTeX" messages.
13421
13422         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13423         OT1 font encoding. Also, load the aecompl package if the ae
13424         package is loaded.
13425
13426         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13427
13428 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13429
13430         * texrow.C (increasePos): turn two error messages into debug
13431         messages.
13432
13433 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * LaTeX.C (scanAux): Handle the \@input macro.
13436         (runBibTeX): Use scanAux().
13437
13438         * language.C (latex_options_): New field.
13439
13440         * LaTeXFeatures.C (getMacros): Add language macros.
13441
13442         * buffer.C (makeLaTeXFile): Small fix.
13443
13444 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13445
13446         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13447
13448         * text2.C: add a using directive.
13449
13450 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * BufferView2.C:
13453         * lyx_gui_misc.h:
13454         * lyxfr1.C:
13455         * lyxfunc.C: kill LyXBell.
13456
13457 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13458
13459         * text.C (IsBoundary): Remove the error message
13460
13461         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13462
13463         * lyxrc.C (setDefaults): Correct initialization value for
13464         font_norm_type.
13465
13466 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13467
13468         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13469         gotoError().
13470
13471         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13472         and GotoNextNote().
13473
13474         * src/LyXAction.C: Added reference-next.
13475
13476         * text.C (InsertChar): Use contains instead of strchr.
13477
13478         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13479
13480 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13481
13482         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13483         alignment commands (when needed).
13484
13485         * text.C (InsertChar): Add ':' to number separator chars.