]> git.lyx.org Git - features.git/blob - src/ChangeLog
Partial fix to nav menu/branch inset problem reported by Kayvan
[features.git] / src / ChangeLog
1 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * MenuBackend.C:
4         * lyxfunc.C: fix (at least partly) the problems
5         with the Nav menu and headers inside branch insets
6         reported by Kayvan
7
8 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
9
10         * paragraph.C (getChar): add strong asserts
11
12         * lyxrow_funcs.C (lastPos): remove hideous hack
13
14         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
15         (fill): adjust to that (avoid an infinite loop)
16
17 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
18
19         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
20
21 2003-10-23  André Pönitz  <poenitz@gmx.net>
22         
23         * RowList_fwd.h: change list<> to vector<> to gain speed
24         after suggestion from Alfredo
25
26 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
27
28         * lyxtext.h: move the bidi stuff from here...
29         * text.C: and here
30         * text2.C: and here
31         * Bidi.[Ch]: ... to here
32
33 2003-10-23  André Pönitz  <poenitz@gmx.net>
34
35         * lyxtext.h:
36         * text.C (isLastRow, isFirstRow): new functions
37
38         * paragraph.h: new width cache member
39
40         * rowpainter.C: replace RowList::iterator with Row & where possible
41
42         * lyxfunc.C: replace several view()->text with a single call
43
44         * toc.C: fix 'unused' warning
45
46 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
47
48         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
49         when woring with stream::pos_type
50         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
51
52 2003-10-22  André Pönitz  <poenitz@gmx.net>
53
54         * lyxtext.h:
55         * text.C: use Row & instead of RowList::iterator
56
57         * lyxrow.h: rename end() to endpos()
58
59         * rowpainter.C:
60         * text.C:
61         * text2.C: adjust
62
63 2003-10-22  Angus Leeming  <leeming@lyx.org>
64
65         * buffer.[Ch] (fully_loaded): new member function, returning true
66         only when the file has been loaded fully.
67         Used to prevent the premature generation of previews and by the
68         citation inset to prevent computation of the natbib-style label.
69
70         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
71         templates are all set up.
72
73         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
74
75 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
76
77         * text.C: fixed an "oops" in the "is a bit silly"
78         bug fix
79
80 2003-10-21  André Pönitz  <poenitz@gmx.net>
81
82         * FuncStatus.[Ch]: small stuff, whitespace
83
84         * lyxfont.[Ch]: operator<<() for debug reasons
85
86         * lyxfunc.C:
87         * lyxrow_funcs.C:
88         * lyxtext.h: whitespace, spelling
89
90         * paragraph.C: naming of variables
91
92         * text.C:
93         * text2.C: small stuff
94
95
96 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
97
98         * text.C: (1) finish off the inset display() work;
99         (2) fix the "is a bit silly" bug (accessing char
100         past end of par).
101
102 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * text.C: re-introduce display() for insets, fixing the
105         various bugs (stretch of line above, math inset
106         positioning, ...)
107
108 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * text.C (rightMargin): remove spurious semicolon
111
112         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
113         1415)
114
115 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
116
117         * text3.C: fix one crash due to wrong cursor def
118
119 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
120
121         * vc-backend.C (scanMaster): make the regex static
122
123         * LaTeX.C (scanAuxFile): make the regexs static
124
125         * text3.C (doInsertInset, dispatch, dispatch):
126         * text2.C (cursorUp, cursorDown):
127         * text.C (selectNextWordToSpellcheck):
128         * BufferView_pimpl.C (dispatch):
129         * lyxfunc.C (dispatch):  localDispatch -> dispatch
130
131 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * lyxsocket.C: include <cerrno>
134
135 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
136
137         * lyxfunc.C (dispatch): remove textcache stuff
138
139         * bufferlist.C (release): remove textcache stuff
140         (closeAll): ditto
141
142         * TextCache.C: delete file
143         * TextCache.h: delete file
144
145         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
146
147         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
148         delete of the bv_->text.
149         (resizeCurrentBuffer): remove texcache stuff
150         (workAreaResize): ditto
151
152 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
153
154         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
155         action.
156
157 2003-10-16  André Pönitz  <poenitz@gmx.net>
158
159         * lyxrow.[Ch]:
160         * paragraph.h:
161         * rowpainter.C:
162         * text.C:
163         * text2.C:
164         * text3.C: speed up by storing y positions per paragraph plus per-row
165         offset instead of having a 'full' y position in the row.
166
167 2003-10-15  André Pönitz  <poenitz@gmx.net>
168
169         * iterators.[Ch]:
170         * iterators.[Ch]:
171         * undo.[Ch]: make undo aware of inner insets
172
173 2003-10-14  Angus Leeming  <leeming@lyx.org>
174
175         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
176         static member functions LyX::ref() and LyX::cref.
177         (lastfiles): new accessor functions for the new lastfiles_ member var.
178         (addLyXView, views_): add a new LyXView to the list of views_.
179         (updateInset): loop over all LyXViews to call their own updateInset
180         member function, returning a pointer to the Buffer owning the inset.
181
182         * BufferView_pimpl.C (loadLyXFile):
183         * MenuBackend.C (expandLastfiles):
184         * bufferlist.C (MenuWrite, QuitLyX):
185         lastfiles is no longer a global variable.
186         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
187
188         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
189         static function. Access through LyX::cref().emergencyCleanup().
190
191 2003-10-14  André Pönitz  <poenitz@gmx.net>
192
193         * iterators.[Ch]: new direct access to innermost LyXText and Inset
194
195         * undo.[Ch]: restoring part of 'undo in insets'
196
197         * Makefile.am:
198         * undo_funcs.[Ch]: merge with undo.[Ch]
199
200         * tabular.C: small cleansing stuff
201
202 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
203
204         * paragraph_funcs.C (readParToken): report unknown insets as error
205         boxes. Use the outer paragraph as location (also for unknown
206         tokens).
207
208         * factory.C (readInset): do not abort on reading an unknown inset.
209         Eat it and return 0.
210
211 2003-10-13  Angus Leeming  <leeming@lyx.org>
212
213         * lyx_main.C (LyX): remove call to setDisplayTranslator().
214
215         * lyxrc.C: displayTranslator is now a function,
216         declared in GraphicsTypes.h.
217
218 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
219
220         * format.C: new placeholder $$a to pass the socket address.
221
222         * bufferlist.[Ch]: new function getBufferFromTmp.
223
224         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
225           files in the temporary dir.
226
227 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
228
229         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
230
231         * Makefile.am: add lyxsocket.[Ch].
232
233         * lyx_main.C (error_handler): handle SIGPIPE.
234
235 2003-10-13  André Pönitz  <poenitz@gmx.net>
236
237         * BufferView_pimpl.C:
238         * lyxtext.h:
239         * text.C:
240         * text2.C:
241         * text3.C:
242         * undo_funcs.[Ch]: use paroffset_type instead of
243           ParagraphList::iterators to prevent multiple conversion
244           (and get a more robust interface)
245
246 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
247
248         * lyxfunc.C (dispatch): RESULT -> dispatch_result
249         * lyxtext.h: ditto
250         * text3.C (dispatch): ditto
251
252 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
253
254         * LaTeX.C (handleFoundFile): move the static to smaller scope,
255         move the onlyfile, use onlyfile instead of foundfile in a couple
256         of places.
257
258         * DepTable.C (update): flush the error stream a bit more
259
260 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
261
262         * lyxserver.C (callback): adjust
263
264         * lyxfunc.C (getStatus): add a missing brace in commented code
265         (ensureBufferClean): reindent
266         (dispatch): delete version taking a string
267
268 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
269
270         * LaTeX.C (deplog): move found file handlig from here...
271         (handleFoundFile): .. to new function here.
272         (deplog): make sure to discover several files mentioned on the
273         same log line.
274
275 2003-10-10  André Pönitz  <poenitz@gmx.net>
276
277         * lyxfunc.C:
278         * lyxtext.h:
279         * tabular.C:
280         * text.C:
281         * text2.C:
282         * text3.C: fix some of the tabular crashes
283
284 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
285
286         * MenuBackend.C (binding): put debug message into Debug::KBMAP
287
288         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
289
290 2003-10-09  André Pönitz  <poenitz@gmx.net>
291
292         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
293
294         * BufferView.C:
295         * BufferView_pimpl.C:
296         * bufferview_funcs.C:
297         * lyx_cb.C:
298         * lyxcursor.C:
299         * lyxfind.C:
300         * lyxfunc.C:
301         * lyxtext.h:
302         * text.C:
303         * text2.C:
304         * text3.C:
305         * text_funcs.[Ch]:
306         * textcursor.[Ch]:
307         * undo_funcs.C: adjust
308
309 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
310
311         * text2.C (incrementItemDepth): new function, use a backtracking
312         algorithm to discover the correct item depth.
313         (resetEnumCounterIfNeeded): new function, use a backtracking
314         algorithm to discover if counter reset is needed.
315         (setCounter): use them. Simplify a bit. Add different labels for
316         different item depths for itemize.
317
318         * paragraph.C (Paragraph): remove initialization of enumdepth
319         (operator=): ditto
320
321         * paragraph.h: get rid of enumdepth, and use itemdepth both for
322         enumerate and itemize. Change the type of itemdepth to signed char.
323
324 2003-10-08  André Pönitz  <poenitz@gmx.net>
325
326         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
327           thing assignable.
328         * text.C:
329         * text2.C: adjust
330
331         * tabular.[Ch]: fix crash after 'row-insert'
332
333 2003-10-08  Angus Leeming  <leeming@lyx.org>
334
335         Fix doxygen warnings.
336
337         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
338         Remove CutAndPaste:: prefix from header file declaration.
339
340         * LColor.h (fill): remove LColor:: prefix from declaration.
341
342         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
343         use lyx::depth_type rather than Paragraph::depth_type so that
344         header file and .C file match.
345
346         * converter.h (intToFormat): remove Converters:: prefix from declaration.
347
348         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
349         * aspell.C: \file aspell_local.C -> \file aspell.C
350         * gettext.C: \file gettext.C -> \file src/gettext.C
351         * gettext.h: \file gettext.h -> \file src/gettext.h
352         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
353         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
354         * text.C: \file text.C -> \file src/text.C
355
356         * toc.C: move comment so that doxygen is not confused.
357
358 2003-10-07  Angus Leeming  <leeming@lyx.org>
359
360         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
361
362 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363
364         * aspell.C:
365         * aspell_local.h: add forgotten std::string's.
366
367 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
368
369         * LaTeXFeatures.C:
370         * LyXAction.C:
371         * factory.C:
372         * lfuns.h:
373         * lyxfunc.C:
374         * text3.C: The Box patch. Fancybox support, minipage, parbox
375
376 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
377
378         * CutAndPaste.h:
379         * DepTable.h:
380         * FloatList.h:
381         * LaTeXFeatures.h:
382         * ParagraphParameters.h:
383         * TextCache.h:
384         * Thesaurus.h:
385         * bufferlist.h:
386         * exporter.h:
387         * importer.h:
388         * lastfiles.h:
389         * lyxfind.h:
390         * lyxfont.h:
391         * lyxlex.h:
392         * lyxtextclasslist.h:
393         * messages.h:
394         * paragraph.h:
395         * paragraph_pimpl.C:
396         * textcursor.h: add <string> and other small fixes to make Lars'
397         std::string patch compile with STLport.
398
399 2003-10-06  Angus Leeming  <leeming@lyx.org>
400
401         * LColor.h: Add missing #include <string>.
402
403 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
404
405         * All most all file in all subdirs: Make <string> be the prefered
406         way of getting to std::string, add using declarations.
407
408 2003-10-06  André Pönitz  <poenitz@gmx.net>
409
410         * metricsinfo.C: initialize LyXFont before changing attribute.
411         (fixes the 'math in \emph is upright' bug)
412
413 2003-10-06  André Pönitz  <poenitz@gmx.net>
414
415         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
416
417 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * graph.C:
420         * paragraph_pimpl.C: Small fixes to build using STLport
421
422 2003-10-02  André Pönitz  <poenitz@gmx.net>
423
424         * lyxfunc.C:
425         * text3.C: move handling of LFUN_DEPTH *; fix #1360
426
427 2003-10-01  André Pönitz  <poenitz@gmx.net>
428
429         * factory.C: assert early
430
431 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
432
433         * lyx_main.C: remove the global debug object
434
435         * debug.h: adjust for new debugstream
436
437         * debug.C: adjust for new debugstream and keep the global debug
438         object here.
439
440 2003-09-22  Angus Leeming  <leeming@lyx.org>
441
442         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
443         of g++ which otherwise complain that the scoped_ptr destructor can't delete
444         an incomplete class LyXFont.
445
446 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
447
448         * factory.C: bug fix in branches
449
450 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
451
452         * lyxfunc.C (processKeySym): adjust
453         (dispatch): adjust
454         (dispatch): change arg name from ev to func, adjust
455         (sendDispatchMessage): ditto
456
457         * lyx_main.C (defaultKeyBindings): adjust keybindings
458         (deadKeyBindings): ditto
459
460         * kbsequence.C (addkey): return a FuncRequest
461
462         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
463
464         * kbmap.C (bind): take a FuncRequest as arg, adjust
465         (read): adjust
466         (lookup): adjust
467         (defkey): change to take a FuncRequest as arg, adjust
468         (findbinding): take a FuncRequest as arg, adjust.
469
470         * funcrequest.h (operator=): added
471
472         * funcrequest.C (FuncRequest): default kb_action changed from
473         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
474
475         * buffer.C (dispatch): simplify
476         (dispatch): adjust to take a FuncRequest as arg, adjust
477
478         * boost.C (assertion_failed): change assertion message slightly
479
480         * ToolbarBackend.C (read): simplify
481
482         * MenuBackend.C (binding): adjust call to findbinding, add a
483         message if no binding is found.
484         (read): simplify
485         (expandToc): correct by adding a empty FuncRequest
486
487         * LyXAction.C: include <boost/assert.hpp>
488         (isPseudoAction): delete function
489         (LookupFunc): change name to...
490         (lookupFunc): this. change return type to FuncRequest.
491         (getActionName): take kb_action as arg, simplify
492         (funcHasFlag): add an assert, simplify.
493
494 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
495
496         * toc.C (action): return a FuncRequest, simplify
497
498         * lyxfunc.C (processKeySym): adjust
499         (getStatus): delete version that takes an int.
500         (getStatus): adjust
501         (dispatch): delete version that takes action as int
502         (dispatch): adjust
503         (sendDispatchMessage): simplify and adjust
504
505         * funcrequest.C (getArg): take unsigned int as arg
506
507         * ToolbarBackend.C (read): adjust
508         (add): delete version that takes func as a string.
509         (getIton): take a FuncRequest as arg
510
511         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
512         action.
513
514         * MenuBackend.C (MenuItem): add a new construct that only takes a
515         Kind, simplify the constructor use for submenus.
516         (add): adjust
517         (expandLastfiles): adjust
518         (expandDocuments): adjust
519         (expandFormats): adjust
520         (expandFloatListInsert): adjust
521         (expandFloatInsert): adjust
522         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
523
524         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
525         Remove class variables lyx_pseudo_map and lyx_arg_map
526
527         * LyXAction.C (searchActionArg): delete function
528         (getPseudoAction): delete function
529         (retrieveActionArg): delete function
530         (LookupFunc): make it return kb_action, simplify.
531         (getActionName): simplify
532
533         * factory.C (createInset): fix new bug
534
535 2003-09-19  Angus Leeming  <leeming@lyx.org>
536
537         * CutAndPaste.C (pasteSelection): remove fudge used to set the
538         masterFilename_ parameter in the include inset.
539
540         * factory.C (createInset): changes due to the changes to InsetInclude.
541
542 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
543
544         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
545
546 2003-09-18  Angus Leeming  <leeming@lyx.org>
547
548         * buffer.C:
549         * BufferView.C: pass the buffer when calling Inset::getLabelList,
550         Inset::fillWithBibKeys.
551         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
552
553 2003-09-18  Angus Leeming  <leeming@lyx.org>
554
555         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
556         variables.
557         (ctor): pass and store a 'Buffer const &'
558         (buffer): new member function.
559
560         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
561         '*this' to the LaTeXFeatures ctor.
562
563 2003-09-18  Angus Leeming  <leeming@lyx.org>
564
565         * LColor.h:
566         * lyxfont.C:
567         * lyxfont.h:
568         * lyxtext.h:
569         * text.C: rename EnumLColor as LColor_color.
570
571 2003-09-18  Angus Leeming  <leeming@lyx.org>
572
573         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
574         remove #include "insets/insetbase.h" from cursor.h.
575
576 2003-09-18  Angus Leeming  <leeming@lyx.org>
577
578         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
579         InsetOld_code to remove #include "inset.h".
580
581         * iterators.C: add #include "insets/inset.h"
582
583 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
584
585         * BufferView.C: remove more locking stuff that apparently doesn't
586         do anything sensible.
587
588 2003-09-16  André Pönitz  <poenitz@gmx.net>
589
590         * paragraph.[Ch]:
591         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
592           performance boost.
593
594 2003-09-16  Angus Leeming  <leeming@lyx.org>
595
596         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
597
598         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
599         arg/return type.
600
601         * paragraph.h: remove #include "lyxfont.h". Forward declare
602         LyXFont_size.
603
604 2003-09-16  Angus Leeming  <leeming@lyx.org>
605
606         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
607         of support/textutils.h.
608         (isWord): move the contents of support/textutils.h's IsWordChar here.
609
610         * buffer.C:
611         * lyxfind.C:
612         * rowpainter.C:
613         * text.C:
614         * text2.C: add #include "paragraph.h".
615
616         * rowpainter.C:
617         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
618
619 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
620
621         * main.C:
622         * lyx_main.C:
623         * lyx_cb.C:
624         * buffer.C:
625         * LaTeX.C: use namespace alias for lyx::support::os
626
627 2003-09-16  Angus Leeming  <leeming@lyx.org>
628
629         * bufferparams.C:
630         * bufferview_funcs.C:
631         * factory.C:
632         * lyxfunc.C:
633         * paragraph_pimpl.C:
634         * rowpainter.C:
635         * text.C: add #include "LColor.h".
636
637 2003-09-16  Angus Leeming  <leeming@lyx.org>
638
639         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
640         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
641         return LyXFont &.
642         Store the FontBits::color variable as an int rather than as an
643         LColor::colorso that we can move LColor.h out of the lyxfont.h header
644         file.
645
646         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
647         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
648         string calls together.
649
650         * lyxrc.C: add #include "LColor.h".
651
652 2003-09-15  Angus Leeming  <leeming@lyx.org>
653
654         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
655         a cow_ptr.
656
657 2003-09-15  Angus Leeming  <leeming@lyx.org>
658
659         * LColor.h: add an EnumLColor wrapper for LColor::color.
660
661         * lyxfont.[Ch] (color, setColor, realColor):
662         * lyxtext.h, text.C (backgroundColor):
663         pass EnumLColor args to/from the functions, rather than LColor::color
664         ones.
665
666         * lyxfont.h:
667         * lyxtext.h: forward declare EnumLColor.
668
669         * lyx_main.C: add #include "LColor.h".
670
671 2003-09-15  Angus Leeming  <leeming@lyx.org>
672
673         * .cvsignore: add lyx-gtk.
674
675 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
676
677         * Chktex.C
678         * LaTeX.C
679         * LaTeXFeatures.C
680         * ParagraphParameters.C
681         * Spacing.C
682         * buffer.C
683         * bufferparams.C
684         * bufferview_funcs.C
685         * chset.C
686         * counters.C
687         * funcrequest.C
688         * lyxfont.C
689         * lyxgluelength.C
690         * lyxlength.C
691         * paragraph.C
692         * paragraph_funcs.C
693         * text3.C
694         * vc-backend.C: remove usage of STRCONV
695
696 2003-09-15  Angus Leeming  <leeming@lyx.org>
697
698         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
699         explicitly define the color passed to the painter.
700
701 2003-09-15  Angus Leeming  <leeming@lyx.org>
702
703         * bufferparams.C (BufferParams): reorder member initializers to avoid
704         compiler warning.
705
706 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
707
708         * CutAndPaste.C (pasteSelection): remove an outdated #warning
709         * text.C (updateRowPositions): remove an unusual nop
710
711 2003-09-12  André Pönitz  <poenitz@gmx.net>
712
713         * BufferView_pimpl.C:
714         * Bullet.C:
715         * layout.h:
716         * lyxfunc.C:
717         * lyxlayout.[Ch]:
718         * lyxtextclass.C:
719         * rowpainter.C:
720         * text.C:
721         * text2.C:
722         * Counters.[Ch]: finish the 'automatic counters' job
723
724 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
725
726         * aspell.C: include <boost/assert.cpp> (compile fix)
727
728 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
729
730         * boost.C (assertion_failed): use lyx::support::abort instead of
731         assert.
732
733 2003-09-10  Angus Leeming  <leeming@lyx.org>
734
735         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
736         with their _fwd progeny.
737
738 2003-09-09  Angus Leeming  <leeming@lyx.org>
739
740         134 files throughtout the source tree: replace 'using namespace abc;'
741         directives with the appropriate 'using abc::xyz;' declarations.
742
743 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
744
745         * boost.C (emergencyCleanup): moved here from LAssert.c
746         (assertion_failed): new function, called by BOOST_ASSERT
747
748         * several files: change Assert to BOOST_ASSERT
749
750 2003-09-09  Angus Leeming  <leeming@lyx.org>
751
752         * buffer.[Ch]: Add an Impl class and move Buffer's member
753         variables into it. As a result move several header files out of
754         buffer.h.
755
756         Add header files to lots of .C files all over the tree as a result.
757
758 2003-09-09  Angus Leeming  <leeming@lyx.org>
759
760         * buffer.[Ch]: make Buffer's member variables private. Add
761         accessor functions.
762
763         Lots of changes all over the tree as a result.
764
765 2003-09-08  Angus Leeming  <leeming@lyx.org>
766
767         * graph.C: #include <config.h>.
768
769 2003-09-08  Angus Leeming  <leeming@lyx.org>
770
771         * BranchList.C:
772         * BufferView.C:
773         * BufferView_pimpl.C:
774         * CutAndPaste.C:
775         * DepTable.C:
776         * LaTeX.C:
777         * LaTeXFeatures.C:
778         * LyXAction.C:
779         * MenuBackend.C:
780         * TextCache.C:
781         * aspell.C:
782         * buffer.C:
783         * bufferlist.C:
784         * changes.C:
785         * chset.C:
786         * converter.C:
787         * counters.C:
788         * debug.C:
789         * graph.C:
790         * ispell.C:
791         * lyx_cb.C:
792         * lyxfind.C:
793         * lyxfunc.C:
794         * lyxlex_pimpl.C:
795         * lyxrc.C:
796         * lyxrow.C:
797         * paragraph.C:
798         * rowpainter.C:
799         * texrow.C:
800         * text.C:
801         * text2.C:
802         * toc.C: remove redundant using directives.
803
804 2003-09-07  Angus Leeming  <leeming@lyx.org>
805
806         * LaTeXFeatures.h: remove #include "support/types.h".
807         * ToolbarBackend.h: remove #include <algorithm>.
808         * changes.h: remove #include <ctime>.
809         * debug.h: remove #include <iosfwd>.
810         * graph.h: remove #include "support/std_string.h".
811         * lyx_main.h: remove #include <csignal>.
812         * lyxlex_pimpl.h: remove #include <fstream>.
813         * sgml.h: remove #include <algorithm>, <utility>.
814         * toc.h: remove #include "support/std_ostream.h".
815         Add #include <iosfwd>.
816
817 2003-09-07  Angus Leeming  <leeming@lyx.org>
818
819         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
820
821         * converter.h: forward declare LatexRunParams.
822         * encoding.h: remove #include "lyxrc.h".
823         * lyxtext.h: remove #include "LColor.h".
824         * lyxtextclass.h: remove #include "support/types.h".
825         * trans.h: remove #include "tex-accent.h".
826         * trans_mgr.h: remove #include "tex-accent.h".
827         * insets/inset.h: remove #include "support/types.h", <vector>.
828         * insets/insetcollapsable.h: remove #include "LColor.h".
829         * insets/insetinclude.h: remove #include "dimension.h".
830         * insets/insetlatexaccent.h: remove #include "dimension.h".
831         * insets/insetoptarg.h:: remove #include "insettext.h".
832         * insets/insettext.h: remove #include "dimension.h",
833         <boost/shared_ptr.hpp>
834
835         * insets/renderers.h: add #include "dimension.h".
836         * insets/updatableinset.h: add #include "support/types.h".
837
838         * many .C files: Associated changes.
839
840 2003-09-06  Angus Leeming  <leeming@lyx.org>
841
842         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
843         one, inside testInvariant.
844
845         * PrinterParams.C: new file.
846         * PrinterParams.[Ch]: move the function bodies out of line.
847
848 2003-09-06  Angus Leeming  <leeming@lyx.org>
849
850         * ParagraphParameters.h: forward declare ParameterStruct rather than
851         including its header file.
852         (depth): moved out-of-line.
853
854 2003-09-06  Angus Leeming  <leeming@lyx.org>
855
856         * BufferView_pimpl.h:
857         * kbmap.h:
858         * kbsequence.h:
859         * lyxfunc.h: forward declare LyXKeySym rather than
860         #include "frontends/LyXKeySym.h".
861
862         * BufferView_pimpl.C:
863         * kbmap.C:
864         * kbsequence.C:
865         * lyxfunc.C: associated changes.
866
867 2003-09-06  Angus Leeming  <leeming@lyx.org>
868
869         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
870         As a result, can remove the #include "insets/inset.h" from BufferView.h
871
872 2003-09-06  Angus Leeming  <leeming@lyx.org>
873
874         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
875         As a result, can remove the #include "insets/inset.h" from BufferView.h
876
877 2003-09-06  Angus Leeming  <leeming@lyx.org>
878
879         * buffer_funcs.C:
880         * buffer.h:
881         * bufferlist.C:
882         * BufferView.C:
883         * bufferview_funcs.C:
884         * BufferView_pimpl.C:
885         * CutAndPaste.C:
886         * lyx_cb.C:
887         * lyxfunc.C:
888         * paragraph.h:
889         * ParagraphParameters.C:
890         * tabular.C:
891         * text3.C:
892         * toc.C:
893         * undo_funcs.C:
894         * frontends/controllers/ControlDocument.C:
895         * insets/insetcaption.C: rearrange the #includes into some sort of
896         coherent order.
897
898         * buffer.h: remove #includes ErrorList.h, undo.h
899
900 2003-09-06  Angus Leeming  <leeming@lyx.org>
901
902         * support/types.h: add a 'depth_type' typedef, used to store the
903         nesting depth of a paragraph.
904
905         * paragraph.h:
906         * ParameterStruct.h: use this lyx::depth_type typedef rather than
907         defining explicitly.
908
909         * buffer.h:
910         * paragraph_funcs.h:
911         * ParagraphParameters.h:
912         * sgml.h: use lyx::depth_type rather than Paragraph or
913         ParameterStruct's depth_type.
914
915         * buffer.h
916         * paragraph_funcs.h: no need to #include paragraph.h anymore.
917
918         * BufferView.C:
919         * BufferView_pimpl.C:
920         * CutAndPaste.C:
921         * ParagraphParameters.C:
922         * buffer_funcs.C:
923         * bufferlist.C:
924         * bufferview_funcs.C:
925         * lyx_cb.C:
926         * lyxfunc.C:
927         * tabular.C:
928         * text3.C:
929         * toc.C:
930         * undo_funcs.C:
931         * frontends/LyXView.C:
932         * frontends/controllers/ControlDocument.C:
933         * frontends/controllers/ControlErrorList.C:
934         * insets/insetbibitem.C:
935         * insets/insetbranch.C:
936         * insets/insetcaption.C:
937         * insets/insetcollapsable.C:
938         * insets/insetenv.C:
939         * insets/insetert.C:
940         * insets/insetfloat.C:
941         * insets/insetfoot.C:
942         * insets/insetfootlike.C:
943         * insets/insetnewline.C:
944         * insets/insetquotes.C:
945         * insets/insettabular.C:
946         * insets/insettext.C:
947         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
948
949         * frontends/controllers/ControlChanges.C: #include "changes.h".
950
951 2003-09-06  Angus Leeming  <leeming@lyx.org>
952
953         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
954         than #including paragraph.h.
955
956         * ParagraphList.h:
957         * RowList.h: deleted. Superfluous.
958
959         * CutAndPaste.h:
960         * iterators.h:
961         * lyxcursor.h:
962         * lyxtext.h:
963         * text_funcs.h:
964         * undo.h:
965         * undo_funcs.h:
966         * insets/inset.h:
967         * insets/insettext.h: use ParagraphList_fwd.h rather than
968         ParagraphList.h.
969
970         * paragraph.h: don't forward declare ParagraphList.
971
972         * buffer.h:
973         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
974         rather than ParagraphList.h. paragraph.h is still needed for the
975         Paragraph::depth_type parameters.
976
977         * textcursor.h: enable it to compile stand-alone in light of the
978         above changes.
979
980         * bufferview_funcs.C:
981         * iterators.C:
982         * lyxfunc.C:
983         * lyxrow_funcs.C:
984         * paragraph.C:
985         * rowpainter.C:
986         * text.C:
987         * text2.C:
988         * text3.C:
989         * text_funcs.C:
990         * textcursor.C:
991         * undo.C:
992         * frontends/controllers/ControlParagraph.C:
993         * frontends/controllers/ControlTabular.C:
994         * insets/insetmarginal.C:
995         * insets/insetminipage.C:
996         * insets/insetnote.C:
997         * insets/insetoptarg.C: add header files needed to compile again.
998
999 2003-09-06  Angus Leeming  <leeming@lyx.org>
1000
1001         * RowList_fwd.h: new file, forward-declaring Row rather than
1002         #including lyxrow.h.
1003
1004         * lyxrow_funcs.h:
1005         * lyxtext.h:
1006         * paragraph.h:
1007         * insets/insettext.h: use it instead of RowList.h
1008
1009         * bufferview_funcs.C:
1010         * lyxfunc.C:
1011         * lyxrow_funcs.C:
1012         * paragraph.C:
1013         * rowpainter.C:
1014         * text.C:
1015         * text2.C:
1016         * text3.C: #include "RowList.h".
1017
1018 2003-09-05  Angus Leeming  <leeming@lyx.org>
1019
1020         * factory.C (createInset):
1021         * vspace.C (c-tor): replace sscanf call with an istringstream.
1022         * ispell.C: re-add missing HP/UX headers.
1023         * lyxserver.C: re-add missing  os2 headers.
1024
1025 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1026
1027         * BranchList.C:
1028         * graph.C:
1029         * ispell.C:
1030         * lastfiles.C:
1031         * lyx_cb.C:
1032         * lyxserver.C:
1033         * texrow.C:
1034         * text3.C: re-add missing system headers, needed for 2.95.2.
1035
1036 2003-09-05  Angus Leeming  <leeming@lyx.org>
1037
1038         Changes most place everywhere due to the removal of using directives
1039         from support/std_sstream.h.
1040
1041 2003-09-05  Angus Leeming  <leeming@lyx.org>
1042
1043         Replace LString.h with support/std_string.h,
1044         Lsstream.h with support/std_sstream.h,
1045         support/LIstream.h with support/std_istream.h,
1046         support/LOstream.h with support/std_ostream.h.
1047
1048         Changes resulting throughout the tree.
1049
1050 2003-09-05  Angus Leeming  <leeming@lyx.org>
1051
1052         * sgml.h: ensure that the header file can be compiled stand-alone.
1053         * *.C: strip out redundant #includes. (320 in total.)
1054
1055 2003-09-04  Angus Leeming  <leeming@lyx.org>
1056
1057         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1058         here (from getPackages).
1059
1060         * debug.[Ch]: add a new EXTERNAL tag.
1061
1062 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1063
1064         * text2.C (cursorEnd): simplify
1065         (setCursor): adjust
1066         (getColumnNearX): adjust
1067
1068         * text.C (computeBidiTables): adjust
1069         (fill): adjust
1070
1071         * rowpainter.C (paintChars): adjust
1072         (paintSelection): adjust
1073         (paintChangeBar): adjust
1074         (paintText): adjust
1075
1076         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1077         lastPos instead.
1078         (numberOfSeparators): adjust
1079
1080 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1081
1082         * LyXAction.C:
1083         * box.[Ch]:
1084         * lfuns.h:
1085         * lyxfunc.C:
1086         * text3.C: Restricts the mouse click functionality
1087         of insets like bibtex, include, toc and floatlist to the visible
1088         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1089         up the dialogs. Cursor has to be in front of the inset (i.e.
1090         start of row) for this to function.
1091
1092 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1093
1094         * bufferview_funcs.C (currentState): output row information
1095
1096 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1097
1098         * bufferview_funcs.C (currentState): output paragraph position
1099
1100 2003-09-04  Angus Leeming  <leeming@lyx.org>
1101
1102         * FloatList.h: move out #include "Floating.h".
1103         * LaTeX.h: move out #include "DepTable.h".
1104         * LyXAction.h: move out #include "funcrequest.h".
1105         * buffer.h: move out #include "author.h", "iterators.h".
1106         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1107         * lyx_main.h: move out #include "errorlist.h".
1108         * lyxfunc.h: move out #include "FuncStatus.h".
1109         * lyxtext: move out #include "lyxcursor.h".
1110         * paragraph_pimpl.h: move out #include "counters.h".
1111
1112 2003-09-03  Angus Leeming  <leeming@lyx.org>
1113
1114         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1115         preamble_snippets list, enabling us to add snippets to the preamble
1116         only if the snippet was not there already.
1117
1118 2003-09-04  Angus Leeming  <leeming@lyx.org>
1119
1120         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1121
1122 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1123
1124         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1125         update
1126
1127 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1128
1129         * BranchList.C: point fix, earlier forgotten
1130
1131 2003-09-02  Angus Leeming  <leeming@lyx.org>
1132
1133         * box.C (contains): renamed from 'contained' after a fantastic
1134         amount of hot air.
1135
1136 2003-09-02  John Levon  <levon@movementarian.org>
1137
1138         * BufferView.C:
1139         * lyxcursor.h:
1140         * lyxcursor.C:
1141         * lyxfunc.C:
1142         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1143
1144 2003-09-02  John Levon  <levon@movementarian.org>
1145
1146         * text2.C: simplification of cursorEnd(), including partial
1147         fix for bug 1376
1148
1149 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1150
1151         * buffer.C (readFile): add a space
1152
1153 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1154
1155         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1156
1157 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1158
1159         * buffer.C (readFile): new function, take a filename and a
1160         ParagraphList::iterator
1161         (readFile): adjust
1162         (readFile): adjust, make it private. don't use setStream, make
1163         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1164         always contain the filename.
1165
1166         * BufferView.C (insertLyXFile): simplify and make it work for
1167         gzipped files.
1168
1169 2003-08-30  John Levon  <levon@movementarian.org>
1170
1171         * Makefile.am: fix dist (from Kayvan)
1172
1173 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * most files: change to use const Buffer refs
1176
1177 2003-08-27  André Pönitz  <poenitz@gmx.net>
1178
1179         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1180         on top of ownerPar().
1181
1182 2003-08-27  John Levon  <levon@movementarian.org>
1183
1184         * funcrequest.C: properly initialise POD members
1185
1186 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1187
1188         * lyxtext.h (top_y): move top_y from here
1189         * text.C:
1190         * text2.C:
1191         * text3.C:
1192         * BufferView.[Ch]:
1193         * BufferView_pimpl.[Ch]: to here
1194         * frontends/screen.C:
1195         * insets/insettabular.C:
1196         * insets/insettext.C: adjust
1197         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1198
1199 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1200
1201         * BufferView.[Ch]:
1202         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1203
1204 2003-08-26  André Pönitz  <poenitz@gmx.net>
1205
1206         * paragraph_func.[Ch] (outerPar): new function
1207
1208         * paragraph.C:
1209         * paragraph_funcs.C:
1210         * paragraph_funcs.h:
1211         * paragraph_pimpl.C:
1212         * text2.C: remove Inset::par_owner
1213
1214 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1215
1216         * lyxrow_funcs.C:
1217         * lyxtext.h:
1218         * text.C:
1219         * text2.C: eliminates the needFullRow/display() stuff
1220         altogether, putting the logic in metrics/draw in the insets.
1221
1222 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1223
1224         * text2.C (redoParagraphInternal, redoParagraphs):
1225         * text.C (redoParagraph): add a call to updateRowPositions at the
1226         end of each 'metrics-like' call. Remove all others.
1227         (getRow): remove the 'y-computing' version.
1228         (getRowNearY): do not compute nor return the real y. Solve the
1229         'y < 0' problem and simplify.
1230
1231 2003-08-22  Angus Leeming  <leeming@lyx.org>
1232
1233         * *.[Ch]: clean-up of licence and author blurbs.
1234         Also move config.h out of a few .h files and into a few .C files.
1235
1236 2003-08-22  André Pönitz  <poenitz@gmx.net>
1237
1238         * lyxrow.[Ch]: add x_ and *fill_ members
1239
1240         * lyxtext.h:
1241         * text.C:
1242         * rowpainter.C:
1243         * text2.C: adjust/remove prepareToPrint() calls
1244
1245 2003-08-22  André Pönitz  <poenitz@gmx.net>
1246
1247         * lyxrow.[Ch]: add  end_ member
1248
1249         * lyxrow_funcs.C: use LyXRow::end_
1250
1251         * lyxtext.h (singleWidth): add LyXFont parameter
1252
1253         * rowpainter.C:
1254         * text2.C: adjust LyXText::singleWidth() calls
1255
1256         * text.C (redoParagraph): simplify row breaking logic
1257
1258
1259 2003-08-19  André Pönitz  <poenitz@gmx.net>
1260
1261         * funcrequest.C: initialize button_ member
1262
1263         * text3.C:
1264         * rowpainter.[Ch]: interface consolidation
1265
1266 2003-08-18  André Pönitz  <poenitz@gmx.net>
1267
1268         * BufferView.C:
1269         * BufferView_pimpl.C:
1270         * lyxfind.C:
1271         * paragraph_funcs.C:
1272         * rowpainter.C:
1273         * text3.C: remove LyXScreen::draw() and fitCursor calls
1274
1275         * BranchList.h: remove spurious semicolons
1276
1277         * MenuBackend.C: fix branchlist related crash
1278
1279 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1280
1281         * BranchList.[Ch]:
1282         * InsetList.[Ch]:
1283         * LColor.[Ch]:
1284         * LyXAction.C:
1285         * Makefile.am:
1286         * MenuBackend.[Ch]:
1287         * bufferparams.[Ch]:
1288         * factory.C:
1289         * lfuns.h:
1290         * lyxfunc.C:
1291         * text3.C: implements the 'branch inset'
1292         idea. This allows the output of various versions of a document
1293         from a single source version, selectively outputing or suppressing
1294         output of parts of the text.
1295         This implementation contains a 'branch list editor' in a separate
1296         tab of the document settings dialog. Branches are user definable
1297         and have a "display colour" to distinguish them on-screen.
1298
1299         ColorHandler was somewhat cleaned up.
1300         (1) make possible a dynamically growing LColor list by allowing
1301         the graphic context cache to grow along (vector);
1302         (2) eliminate an IMHO unnecessary step in colour allocation.
1303
1304 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1305
1306         * BufferView_pimpl.C: compile fix
1307
1308 2003-08-15  André Pönitz  <poenitz@gmx.net>
1309
1310         * rowpainter.C: remove extra metrics calls
1311
1312         * lyxtext.h: merge the two constructors into a single one,
1313           pass reference to owner's par list
1314
1315         * BufferView_pimpl.C:
1316         * text.C:
1317         * text2.C: adjust
1318
1319 2003-08-15  André Pönitz  <poenitz@gmx.net>
1320
1321         * lyxrow_funcs.[Ch]:
1322         * lyxtext.h:
1323         * paragraph.h:
1324         * paragraph_funcs.C:
1325         * rowpainter.C:
1326         * text.C:
1327         * text2.C:
1328         * text3.C:
1329         * text_funcs.C: split LyXText::rowlist_ into individual
1330         Paragraph::rows_ chunks
1331
1332         * BufferView.[Ch]:
1333         * BufferView_pimpl.[Ch]:
1334         * lyxfind.C:
1335         * lyxtext.h:
1336         * text3.C: remove toggleSelection()
1337
1338 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1339
1340         * bufferlist.C: beautify two alerts (shorter text of buttons)
1341         * buffer.C: Remove redundant ' ' from message
1342         * tabular.h:
1343         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1344         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1345         rename VALIGN_CENTER to VALIGN_MIDDLE
1346
1347 2003-08-11  André Pönitz  <poenitz@gmx.net>
1348
1349         * lyxtext.h (getPar):
1350         * text.C: new function
1351
1352 2003-08-11  André Pönitz  <poenitz@gmx.net>
1353
1354         * Makefile.am:
1355         * tracer.[Ch]: remove unneeded files
1356
1357         * InsetList.[Ch]: remove resizeInsetsLyXText()
1358
1359         * lyxtext.h:
1360         * text.C:
1361         * text2.C:
1362         * text3.C: merge insertParagraphs() and appendParagraph()
1363         remove breakAgain(), update()
1364
1365         * BufferView_pimpl.[Ch]:
1366         * bufferview_funcs.[Ch]:
1367         * lyxfunc.C:
1368         * paragraph.[Ch]:
1369         * rowpainter.C:
1370         * tabular.C: adjust after text & InsetList changes.
1371
1372 2003-08-08  André Pönitz  <poenitz@gmx.net>
1373
1374         * text.C (insertChar, backspace): replace rowlist fiddling
1375         with rebreak of full par
1376
1377         * lyxtext.h:
1378         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1379         checkParagraph, updateInset): removed
1380
1381 2003-08-07  André Pönitz  <poenitz@gmx.net>
1382
1383         * paragraph.C:
1384         * text3.C: merge some LFUN handlers, remove dead code
1385
1386 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1389
1390 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1391
1392         * text2.C (DEPM): fix part of bug 1255 and 1256
1393
1394 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         * BufferView_pimpl.C (workAreaDispatch): change to use
1397         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1398         that are no mouse related.
1399
1400 2003-08-05  André Pönitz  <poenitz@gmx.net>
1401
1402         * BufferView.[Ch]:
1403         * BufferView_pimpl.[Ch]:
1404         * bufferview_funcs.C:
1405         * text2.C:
1406         * text3.C: rip out "deep update"
1407
1408         * textcursor.[Ch] (last_sel_cursor): remove unused member
1409
1410 2003-08-04  André Pönitz  <poenitz@gmx.net>
1411
1412         * BufferView.[Ch]:
1413         * BufferView_pimpl.[Ch]:
1414         * ParagraphParameters.C:
1415         * bufferview_funcs.C:
1416         * lyx_cb.C:
1417         * lyxfind.C:
1418         * lyxfunc.C:
1419         * text.C:
1420         * text2.C:
1421         * text3.C: replace "complicated" BufferView::update(...) calls with
1422         simpler ones.
1423
1424         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1425
1426 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1427
1428         * Makefile.am (lyx_SOURCES): add paper.h
1429
1430 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1431
1432         * Makefile.am: move things around so that both lyx-qt and
1433         lyx-xforms can be built (according to --with-frontend). Then lyx
1434         is a symbolic link to lyx-[firstfrontend]
1435
1436 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1437
1438         * Always use std::endl with lyxerr
1439
1440 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1441
1442         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1443
1444 2003-08-01  André Pönitz  <poenitz@gmx.net>
1445
1446         * BufferView.[Ch]:
1447         * BufferView_pimpl.[Ch]:
1448         * lyxfunc.C:
1449         * text3.C: merge BufferView::repaint() and BufferView::update()
1450
1451 2003-08-01  José Matos  <jamatos@lyx.org>
1452
1453         * buffer.[Ch]: file_format is no longer a buffer data element.
1454
1455 2003-08-01  André Pönitz  <poenitz@gmx.net>
1456
1457         * BufferView.C:
1458         * lyxtext.h:
1459         * text.C:
1460         * text2.C: make redoParagraph more independent of current cursor
1461
1462         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1463         * text.C:
1464         * text2.C: remove unneeded members
1465
1466 2003-07-30  André Pönitz  <poenitz@gmx.net>
1467
1468         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1469
1470         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1471           create a single function...
1472
1473         * paragraph_funcs.C (moveItem): ... here.
1474
1475         * text.C:
1476           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1477
1478 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1479
1480         * LColor.[Ch]: Add comment and greyedout logical colors.
1481
1482 2003-07-30  André Pönitz  <poenitz@gmx.net>
1483
1484         * tabular.C: don't use Assert too heavily. This crashes where it
1485           shouldn't
1486
1487 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1490         is disabled (bug 1232)
1491
1492 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1493
1494         * factory.C: limited 'arg' scope
1495
1496 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1497
1498         * factory.C: fixed Note submenu issues
1499
1500 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1501
1502         * factory.C: submenu for Note/Comment/Greyedout
1503
1504 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1505
1506         * lyx_main.C (LyX):
1507         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1508
1509 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1510
1511         * LaTeXFeatures.C:
1512         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1513         greyedout. Patch provided by Jürgen Spitzmüller.
1514
1515 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1516
1517         * kbmap.C (read): fix error message when reading bind files
1518
1519 2003-07-29  Angus Leeming  <leeming@lyx.org>
1520
1521         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1522         certainly does not do what it purports to do. I am doing it, and
1523         us, a favour by killing it.
1524
1525 2003-07-28  José Matos  <jamatos@lyx.org>
1526
1527         * buffer.C (readBody, do_writeFile):
1528         * paragraph.C(readParagraph): \end_document replaces \the_end.
1529
1530 2003-07-29  André Pönitz  <poenitz@gmx.net>
1531
1532         * BufferView.[Ch]:
1533         * BufferView_pimpl.[Ch]:
1534         * lyxfunc.C:
1535         * text2.C:
1536         * text3.C:
1537         * textcursor.[Ch]: remove toggleToggle & Co
1538
1539 2003-07-28  José Matos  <jamatos@fep.up.pt>
1540
1541         * buffer.C (readParagraph):
1542         * params_func (readParToken, readParagraph):
1543         * paragraph.C (write): \layout -> \begin_layout.
1544
1545 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * lyxlex_pimpl.C (setFile): clean up slightly.
1548
1549         * bufferparams.h: add compressed var
1550
1551         * buffer_funcs.C (readFile): adjust for LyXLex change
1552         (newFile): ditto + simplify
1553
1554         * buffer.C (writeFile): handle writing of compressed files
1555
1556         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1557         Check if the file is compressed and set a bufferparm if so.
1558
1559         * Makefile.am (lyx_LDADD): remove explicit -lz
1560
1561 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1562
1563         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1564         makeDocBookFile): put the real LyX version in the first line of
1565         the file
1566
1567         * version.h:
1568         * version.C.in: remove lyx_docversion
1569
1570         * tabular.C (write_attribute): add a template-based version to
1571         write enums properly
1572
1573 2003-07-28  André Pönitz  <poenitz@gmx.net>
1574
1575         * lyxtext.h:
1576         * text.C:
1577         * text2.C:
1578         * text3.C: use doubles again for x-coordinates. They are needed.
1579
1580 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * messages.C (getLocaleDir): use lyx_localedir()
1583
1584         * lyxlex_pimpl.C (setFile): compress stuff
1585
1586         * buffer.C (writeFile): add some compression stuff
1587         (do_writeFile): new func, dont call expliti close... will this
1588         breake anything?
1589
1590         * Makefile.am (lyx_LDADD): add -lz
1591
1592 2003-07-28  José Matos  <jamatos@fep.up.pt>
1593
1594         * buffer.C: increment file format.
1595         * paragraph_funcs (readParagraph, readParToken):
1596         * paragraph.C (readParagraph): add \end_layout.
1597
1598 2003-07-27  Angus Leeming  <leeming@lyx.org>
1599
1600         * Makefile.am: remove special casing for configure-time setting of
1601         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1602
1603         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1604         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1605
1606 2003-07-26  André Pönitz  <poenitz@gmx.net>
1607
1608         * paragraph_func.[Ch]:
1609         * paragraph.C (realizeFont): inline it whereever it is used
1610
1611         * rowpainter.C:
1612         * text.C:
1613         * text2.C:
1614         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1615
1616
1617 2003-07-26  André Pönitz  <poenitz@gmx.net>
1618
1619         *       lyxtext.h:
1620         * text.C:
1621         * text2.C: get rid of LyXText::need_break_row
1622
1623 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * toc.[Ch]: put namespace toc inside namespace lyx
1626
1627         * MenuBackend.C (expandToc2): adjust for lyx::toc
1628         (expandToc): ditto
1629
1630         * lyxfunc.C (dispatch): adjust for lyx::find
1631
1632         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1633         lyx::find instead. Reorganize a bit.
1634         (LyXReplace): rename to replace
1635         (LyXFind): rename to find
1636
1637         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1638         (dispatch): ditto
1639
1640 2003-07-26  André Pönitz  <poenitz@gmx.net>
1641
1642         * text.C (setHeightOfRow): restrict scope of temporary variable
1643
1644         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1645           code (never has been used?)
1646
1647 2003-07-27  Asger Alstrup  <alstrup@local>
1648
1649         * text.C (fill): Optimise algorithm to exploit that we can reuse
1650         the LyXFont for many characters.
1651         (setHeightOfRow): Same thing.
1652         (rowBreakPoint): Same thing.
1653
1654 2003-07-26  Asger Alstrup  <alstrup@local>
1655
1656         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1657
1658         * text.C (singleWidth): Spurious font copying in hot-spot
1659         singleWidth avoided. Reorder tests for arabic for efficiency.
1660
1661         * text.C (fill): handle empty paragraphs better.
1662
1663 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1664
1665         * ispell.C:
1666         * encoding.h: add includes
1667
1668         * lyxrc.C: remove reading of bind files
1669
1670         * lyx_main.C (init): setup bindings and menus only if we have a
1671         gui.
1672
1673         * kbmap.C (read): new method. Do the actual reading of bind
1674         files.
1675
1676         * converter.C (dvipdfm_options):
1677         * bufferparams.C:
1678         * lyxrc.C (read):
1679         (output): adapt PAPER_* enums.
1680
1681         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1682
1683         * bufferparams.h: remove paper-related enums from there
1684
1685         * paper.h: New file. A trivial header file to hold paper-related
1686         enums. It should later expand to contain many paper-related
1687         horrors access.
1688
1689         * lyxrc.C: declare extern displayTranslator
1690
1691 2003-07-27  José Matos  <jamatos@fep.up.pt>
1692
1693         * tabular.[Ch] (linuxdoc): add support for tables and figures
1694         (linuxdoc).
1695
1696 2003-07-27  José Matos  <jamatos@fep.up.pt>
1697
1698         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1699         consistency in both functions.
1700         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1701
1702 2003-07-26  Asger Alstrup  <alstrup@local>
1703
1704         * rowpainter.C (paintRows): Change algorithm to work directly on
1705         the insets rather than asking every character in the document
1706         whether its an inset.
1707
1708 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1709
1710         * buffer.C (openFileWrite): factorize some code
1711
1712 2003-07-26  Angus Leeming  <leeming@lyx.org>
1713
1714         * lyx_cb.C:
1715         * lyx_main.[Ch]: replace occurances of system_tempdir with
1716         os::getTmpDir().
1717
1718 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1719
1720         * rename Inset to InsetOld
1721
1722 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1723
1724         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1725         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1726         which I think is a bit clearer. EDIT is gone, since it was
1727         premature optimisation, and broken for mathed anyway.
1728         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1729         with cursor positioning in insets as well (math insets still do not
1730         work, but that's a different story anyway.) It mysteriously
1731         crashes sometimes with undo in the first paragraph, but I'm fairly
1732         confident that this is a compiler bug.
1733
1734 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1735
1736         * paragraph.C (Paragraph): adjust for new clone return type
1737         (operator==): ditto
1738         (copyIntoMinibuffer): ditto
1739
1740 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1741
1742         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1743         by not having a special case, and always doing a full rebreak of
1744         the document after undo.
1745
1746 2003-07-23  Angus Leeming  <leeming@lyx.org>
1747
1748         * factory.C (createInset): InsetExternal::setParams now takes a
1749         Buffer const * arg.
1750
1751 2003-07-23  Angus Leeming  <leeming@lyx.org>
1752
1753         * factory.C (createInset): changed interface to the external and
1754         graphics mailers' string2params functions.
1755
1756 2003-07-23  Angus Leeming  <leeming@lyx.org>
1757
1758         * factory.C (createInset): pass a
1759         Buffer const * parameter to InsetExternalMailer's string2params.
1760
1761 2003-07-22  John Levon  <levon@movementarian.org>
1762
1763         * Thesaurus.h: include the right aiksaurus header
1764
1765 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * MenuBackend.C (expand): check menu shortcuts unconditionally
1768
1769 2003-07-21  Angus Leeming  <leeming@lyx.org>
1770
1771         * factory.C (createInset): pass a
1772         buffer_path parameter to InsetGraphicsMailer's string2params.
1773
1774 2003-07-21  Angus Leeming  <leeming@lyx.org>
1775
1776         * BufferView_pimpl.C (buffer):
1777         * buffer.C (d-tor):
1778         * lyx_main.C (LyX):
1779         * lyxfunc.C (dispatch):
1780         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1781         rather than the grfx shortcut.
1782
1783 2003-07-21  André Pönitz  <poenitz@gmx.net>
1784
1785         * rowpainter.C: remove unused variables
1786
1787         * tabular_funcs.C:
1788         * tabular_funcs.h: move to tabular.C
1789         * Makefile.am: adjust
1790
1791         * tabular.[Ch]: basic optical cleaning
1792
1793         * author.h: pass references, not values
1794
1795 2003-07-18  André Pönitz  <poenitz@gmx.net>
1796
1797         * lyxtext.h:
1798         * metricsinfo.C:
1799         * metricsinfo.h:
1800         * rowpainter.C:
1801         * text.C:
1802         * text2.C:
1803         * text3.C: two-phase drawing for InsetText and InsetTabular
1804         some float -> int changes.
1805
1806 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1807
1808         * lyx_main.C: fix the fix
1809
1810 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1811
1812         * lyx_main.C: fix a crash in batch mode if no files specified
1813         * converter.C: ws
1814
1815 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * format.[Ch] (papersize): moved to BufferParams
1818         * converter.[Ch] (dvips_options): moved to BufferParams
1819         (dvipdfm_options): moved to anon namespace
1820         * bufferparams.[Ch]: added above functions.
1821
1822 2003-07-17  André Pönitz  <poenitz@gmx.net>
1823
1824         * lyxtext.h:
1825         * rowpainter.C:
1826         * text2.C: don't call inset->update() anymore
1827
1828         * metricsinfo.[Ch]: add convenience constructor
1829
1830 2003-07-16  André Pönitz  <poenitz@gmx.net>
1831
1832         * lyxcursor.[Ch]:
1833         * lyxfunc.[Ch]:
1834         * text.C:
1835         * text2.C: replace the LyXCursor::irow_ member with
1836          on-demand computation of the value
1837
1838 2003-07-16  John Levon  <levon@movementarian.org>
1839
1840         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1841
1842 2003-07-15  André Pönitz  <poenitz@gmx.net>
1843
1844         * text.C:
1845         * text2.C: remove no more needed refresh_row
1846
1847 2003-07-15  André Pönitz  <poenitz@gmx.net>
1848
1849         * lyxtext.h:
1850         * rowpainter.C:
1851         * text2.C:
1852         * text3.C: refresh_status tristate -> need_update bool
1853
1854 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1855
1856         * lyxtext.h (init): remove reinit argument (act as if always true)
1857         * text2.C: adjust to that
1858
1859 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1860
1861         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1862         * text3.C: use it to delete selections in some cases
1863         (bugs 441, 673, 702, 954).
1864
1865 2003-07-14  André Pönitz  <poenitz@gmx.net>
1866
1867         * rowpainter.[Ch]: reduce interface
1868
1869 2003-07-14  André Pönitz  <poenitz@gmx.net>
1870
1871         * BufferView_pimpl.C:
1872         * text2.C: adjust after removing unused BufferView * argument
1873
1874 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1875
1876         * text2.C (init): fix a crash fired on resize
1877
1878 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1879
1880         * buffer.[Ch]: added new closing signal
1881         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1882         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1883         BufferView::Pimpl via the closing the signal
1884
1885 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * buffer.[Ch]: take out all bv-related from buffer
1888         * BufferView.C:
1889         * BufferView_pimpl.[Ch]: connect to new signals
1890         * CutAndPaste.C: removed useless asserts
1891         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1892         * lyxvc.[Ch]:
1893         * vc-backend.[Ch]:
1894         * lyxfunc.C: moved view-related funciontality from vc here
1895         * paragraph.C: removed outdated comments
1896         * text.C: ws
1897
1898 2003-07-10  André Pönitz  <poenitz@gmx.net>
1899
1900         * BufferView_pimpl.C:
1901         * tabular.h:
1902         * tabular_funcs.C:
1903         * text.C:
1904         * text2.C: remove InsetText::InnerCache, clean up consequences
1905
1906 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1907
1908         * ispell.C: fix two typos in error messages
1909
1910 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1911
1912         * Extend Note inset to other forms of annotation like Comment
1913         and Greyedout. Right button click gives dialog.
1914
1915         Files modified or added (+):
1916
1917         * insetnote.[Ch]
1918         * FormNote.[Ch]      +
1919         * ControlNote.[Ch]   +
1920         * form_note.fd       +
1921         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1922         frontends/controllers
1923         * xforms/Dialogs.C
1924         * factory.C
1925
1926 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1927
1928         * aspell.C: add missing namespace lyx::support
1929
1930 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1931
1932         * BufferView.[Ch] (newFile): Add
1933         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1934         * LaTeX.[Ch] (message): added this signal and use it
1935         * buffer.[Ch] (busy, message): added these signals and use them
1936         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1937         * converter.C:
1938         * exporter.C:
1939         * format.C:
1940         * importer.C: use buffer signals instead of direct bv calling
1941         * lyx_cb.[Ch] (ShowMessage): removed
1942         * lyx_main.C:
1943         * lyxfunc.C:
1944         * paragraph_funcs.C:
1945         * text2.C: use buffer signals
1946
1947 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * introduce namespace lyx::graphics
1950
1951 2003-07-02  André Pönitz  <poenitz@gmx.net>
1952
1953         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1954
1955 2003-07-01  André Pönitz  <poenitz@gmx.net>
1956
1957         * text.C:
1958         * text2.C:
1959         * text3.C:
1960         * text_funcs.[Ch]:
1961         * textcursor.h:
1962         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1963           text*.C to text_func.C
1964
1965 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1966
1967         * introduce namespace lyx::support
1968
1969 2003-06-30  André Pönitz  <poenitz@gmx.net>
1970
1971         * Chktex.C:
1972         * funcrequest.C:
1973         * lyxtext.h:
1974         * text.C: re-enable --with-included-string
1975
1976 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * textcursor.C: add <config.h>
1979
1980         * text.C (getWord): remove const from word_location arg
1981
1982         * lyxvc.C (getLogFile): fix const type order
1983
1984         * lyxtext.h: remove const from word_location arg, add arg name
1985
1986         * lyxlayout.h: currect type on labeltype.
1987
1988         * importer.C: correct \file
1989
1990         * converter.C (intToFormat): use std:: on ret val, ws changes
1991
1992         * bufferlist.h: correct \file
1993
1994         * buffer.C (makeLinuxDocFile): fix const type order
1995         (makeDocBookFile): ditto
1996         (fillWithBibKeys): use std:: on stdlib args.
1997
1998         * CutAndPaste.C: fix authors.
1999         (availableSelections): use std:: on return vector
2000
2001 2003-06-27  André Pönitz  <poenitz@gmx.net>
2002
2003         * BufferView_pimpl.C:
2004         * bufferview_funcs.C:
2005         * lyxcursor.C:
2006         * lyxcursor.h:
2007         * lyxfunc.C:
2008         * lyxtext.h:
2009         * rowpainter.C:
2010         * text.C:
2011         * text2.C:
2012         * text3.C: remove LyXCursor::row_ member
2013
2014         * lyxtext.h:
2015         * text.C: rename fullRebreak() to partialRebreak() and implement
2016           a fullRebreak() that really bereks fully
2017
2018         * textcursor.h: new struct for cursor-related data
2019
2020 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2021
2022         * lyx_main.C (LyX): get full path of document loaded on the
2023         command line
2024
2025 2003-06-26  André Pönitz  <poenitz@gmx.net>
2026
2027         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2028           remove unused/broken operator>,<,>=.
2029
2030         *       text.C: remove only use of broken operator<= in an Assert().
2031
2032 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2035         moved errorlist_.clear to showErrorList
2036
2037 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2038
2039         * converter.C (scanLog, runLaTeX):
2040         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2041         move the bv->showErrorList call to the callers
2042         * lyxfunc.C: i.e. here...
2043         * text2.C: and here
2044         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2045         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2046         namespace, the second to...
2047         * buffer_funcs (BufferFormat, parseErrors): added
2048         * errorlist.C (ErrorList(TeXErrors const &)): removed
2049
2050 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2053
2054 2003-06-24  "Garst R. Reese" <reese@isn.net>
2055
2056         * debug.C: fix typo
2057
2058 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2061
2062         * version.C.in: change docversion to 1.4
2063
2064 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2065
2066         * buffer.C: fix a bug just introduced
2067
2068 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2069
2070         * buffer.[Ch]: added the parseError signal and use it, removed
2071         sgmlError
2072         * BufferView.[Ch] (addError): moved to ...
2073         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2074         to the Buffer::parseError signal to catch (guess what) parse errors
2075         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2076
2077 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2080         ability to create a buffer and to return an existing one from
2081         the list. Moved these functions to...
2082         * buffer_funcs.[Ch]: added
2083         * BufferView.[Ch] (loadLyXFile): added
2084         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2085         job removed from bufferlist::loadLyXFile.
2086         * buffer.C (setReadOnly): make it work without view
2087         (i.e added an if (users))
2088
2089 2003-06-19  Angus Leeming  <leeming@lyx.org>
2090
2091         * lfuns.h:
2092         * LyXAction.C (init):
2093         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2094         with LFUN_DIALOG_SHOW <name> <data>.
2095
2096 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * CutAndPaste.C (availableSelections): small compilation fix for
2099         ancient (gcc 2.9x) compilers
2100
2101 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * text3.C (cursorNext): add tmp var
2104
2105         * text2.C (updateCounters): for function calling out of for clause
2106         (replaceSelectionWithString): ditto
2107         (insertStringAsParagraphs): ditto
2108         (getColumnNearX): add tmp var
2109         (setCursorFromCoordinates): add tmp var
2110         (cursorDownParagraph): add tmp var
2111         (deleteEmptyParagraphMechanism): add tmp var
2112
2113         * text.C (insertChar): add tmp var
2114
2115         * rowpainter.C (paintDepthBar): add tmp var
2116
2117         * CutAndPaste.C (availableSelections): potentially check all
2118         paragraphs in a cut to fill the shown strings.
2119
2120 2003-06-18  André Pönitz  <poenitz@gmx.net>
2121
2122         * kbmap.[Ch]: use vector<> instead of list<>
2123
2124 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2125
2126         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2127         pasteSelection with index
2128
2129         * text2.C (pasteSelection): modify, call pasteSelection with index
2130
2131         * paragraph.C (asString): reimplement version with no interval to
2132         call the one with interval.
2133
2134         * lyxtext.h: add index arg to pasteSelection
2135
2136         * MenuBackend.C (MenuItem): handle PasteRecent
2137         (Menu::read::Menutags): add md_pasterecent
2138         (read): handle it
2139         (expandPasteRecent): new function
2140         (expand): use it
2141
2142         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2143
2144         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2145         the limited stack
2146         (availableSelections): new function
2147
2148 2003-06-17  Angus Leeming  <leeming@lyx.org>
2149
2150         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2151
2152 2003-06-17  Angus Leeming  <leeming@lyx.org>
2153
2154         * lfuns.h:
2155         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2156
2157         * lyxfunc.C (dispatch): invoke it.
2158
2159 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2160
2161         * iterators.C (operator++, ParPosition): reintroduce some
2162         const_cast for the benefit of older compilers.
2163
2164 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2165
2166         * text3.C (dispatch): do not modify clipboard when doing
2167         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2168         LFUN_DELETE_SKIP on a selection selection
2169
2170 2003-06-16  André Pönitz  <poenitz@gmx.net>
2171
2172         * BufferView.C:
2173         * buffer.C:
2174         * buffer.h:
2175         * paragraph.C:
2176         * tabular.[Ch]: IU of clone() and getLabelList();
2177
2178 2003-06-13  André Pönitz  <poenitz@gmx.net>
2179
2180         * tabular.h: compactification
2181
2182 2003-06-12  André Pönitz  <poenitz@gmx.net>
2183
2184         * tabular.C:
2185         * tabular.h:
2186         * tabular_funcs.h: some renaming plus whitespace
2187
2188 2003-06-12  André Pönitz  <poenitz@gmx.net>
2189
2190         * BufferView.C:
2191         * BufferView_pimpl.C:
2192         * CutAndPaste.C:
2193         * buffer.C:
2194         * iterators.[Ch]:
2195         * lyxfunc.C:
2196         * text.C:
2197         * toc.C: Return a Paragraph & for ParIterator::operator*()
2198
2199 2003-06-11  John Levon  <levon@movementarian.org>
2200
2201         * lyx_main.C:
2202         * ToolbarBackend.h:
2203         * ToolbarBackend.C: add "Toolbars" section and
2204         put the flags there
2205
2206 2003-06-10  Angus Leeming  <leeming@lyx.org>
2207
2208         * lfuns.h:
2209         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2210
2211         * lyxfunc.C (dispatch): invoke it.
2212
2213 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2214
2215         * main.C: protect <ios> with HAVE_IOS
2216         (main): protect sync_with_stdio with HAVE_IOS
2217
2218 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2219
2220         * text2.C (cutSelection): adjust
2221         (pasteSelection): adjust
2222
2223         * messages.C: handle get of empty string
2224
2225         * main.C (main): use sync_with_stdio(false)
2226
2227         * lyxfunc.C (dispatch): adjust
2228
2229         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2230         (WriteAs): remove unneeded BufferView arg.
2231
2232         * bufferparams.h: use correct types on papersize, papersize2 and
2233         paperpackage.
2234
2235         * bufferparams.C (readToken): adjust for type
2236         (writeLaTeX): add missing cases to switch.
2237
2238         * bufferlist.C (quitWriteBuffer): adjust
2239         (close): adjust
2240
2241         * buffer.C (asciiParagraph): remove some commented code.
2242
2243         * CutAndPaste.C: remove current_view extern variable.
2244         (cutSelection): add BufferParams arg.
2245         (eraseSelection): add BufferParams arg.
2246         (pasteSelection): add Buffer const & arg
2247
2248 2003-06-07  John Levon  <levon@movementarian.org>
2249
2250         * buffer.C:
2251         * paragraph_funcs.C:
2252         * paragraph_pimpl.C:
2253         * text.C:
2254         * text2.C:
2255         * paragraph.h:
2256         * paragraph.C: allow InsetERT to freely space lines,
2257         and some consolidation of code
2258
2259 2003-06-06  José Matos  <jamatos@fep.up.pt>
2260
2261         * buffer.C (makeDocBookFile): fix bug #821
2262
2263 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2264
2265         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2266
2267 2003-06-04  Angus Leeming  <leeming@lyx.org>
2268
2269         * buffer.C: bump format to 224.
2270
2271 2003-06-05  André Pönitz  <poenitz@gmx.net>
2272
2273         * text2.C (redoParagraphs): remove two const_cast<>
2274
2275 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2276
2277         * ParagraphList.h: remove last remnants of NO_STD_LIST
2278
2279 2003-06-03  Angus Leeming  <leeming@lyx.org>
2280
2281         * factory.C (createInset): small change to the way InsetExternal's params
2282         are set.
2283
2284 2003-06-04  André Pönitz  <poenitz@gmx.net>
2285
2286         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2287
2288         * paragraph_pimpl.h:
2289         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2290
2291         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2292
2293         * undo_funcs.C: make some simple cases of undo work again
2294
2295 2003-06-03  John Levon  <levon@movementarian.org>
2296
2297         * ispell.C: HPUX doesn't have sys/select.h
2298         (from Albert Chin)
2299
2300 2003-06-03  John Levon  <levon@movementarian.org>
2301
2302         * CutAndPaste.C: update tabular and include inset
2303         buffer references
2304
2305         * buffer.h:
2306         * paragraph.h:
2307         * paragraph.C: remove owningBuffer(), don't pass Buffer
2308         to clone()
2309
2310         * factory.C: insetGraphicsParams changed
2311
2312 2003-06-02  John Levon  <levon@movementarian.org>
2313
2314         * LyXAction.C:
2315         * factory.C:
2316         * lfuns.h:
2317         * lyxfunc.C:
2318         * text3.C: remove insetparent
2319
2320 2003-06-02  John Levon  <levon@movementarian.org>
2321
2322         * buffer.h:
2323         * buffer.C: fix inset_iterator.end(), move out of line
2324         (bug 1149)
2325
2326 2003-06-01  John Levon  <levon@movementarian.org>
2327
2328         * text3.C: use a proper cut/paste when doing inset
2329         insert (from Jürgen Spitzmüller)
2330
2331 2003-06-01  John Levon  <levon@movementarian.org>
2332
2333         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2334
2335 2003-05-30  André Pönitz  <poenitz@gmx.net>
2336
2337         * rowpainter.C: unify second drawing phase
2338
2339 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * trans_mgr.C: remove one case of current_view
2342
2343         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2344
2345         * paragraph_funcs.h: remove paragraph.h include
2346
2347         * paragraph.h: delete NO_STD_LIST stuff
2348
2349         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2350
2351         * buffer.h: remove paragraph.h include
2352
2353         * ParagraphList.C: delete file
2354
2355         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2356
2357         * toc.C (getTocList): adjust
2358
2359         * paragraph_pimpl.C (validate): adjust
2360
2361         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2362
2363         * paragraph.C (Paragraph): adjust
2364         (getPositionOfInset): use const_iterator, adjust
2365         (bibitem): use const_iterator, adjust
2366         (setInsetOwner): adjust
2367
2368         * iterators.C (operator++): adjust
2369
2370         * InsetList.[Ch]: Replace selfmade iterator with standard
2371         vector::iterator also introduce const_iterator. Remove getPos,
2372         getInset and setInset from InsetTable. Adjust accordingly.
2373
2374         * BufferView.C (lockInset): adjust
2375         (ChangeInsets): adjust
2376
2377         * tabular.[Ch]: delete commented same_id functions
2378
2379 2003-05-28  John Levon  <levon@movementarian.org>
2380
2381         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2382
2383 2003-05-28  André Pönitz  <poenitz@gmx.net>
2384
2385         * metricsinfo.[Ch]: remove 'fullredraw' member
2386
2387 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2388
2389         * lyxtextclass.C (operator): remove caching.
2390
2391 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2392
2393         * text3.C: adjust
2394
2395         * text2.C (cursorBottom): adjust
2396         (setCounter): use ParagraphList::find, adjust
2397
2398         * text.C (workWidth): use ParagraphList::find, adjust
2399
2400         * lyxcursor.C (LyXCursor): adjust
2401
2402         * buffer.C (inset_iterator): adjust
2403
2404         * ParagraphList.h: make iterator(value_type) private, make
2405         ParagraphList a friend of iterator.
2406
2407         * ParagraphList.C (find): new function
2408
2409         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2410
2411 2003-05-27  André Pönitz  <poenitz@gmx.net>
2412
2413         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2414
2415 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2416
2417         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2418
2419 2003-05-26  John Levon  <levon@movementarian.org>
2420
2421         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2422
2423 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * remove same_id from function signatures, adjust.
2426
2427 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2428
2429         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2430
2431         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2432
2433         * paragraph.C (Paragraph): get rid of same_ids parameter
2434
2435         * ParagraphList.C (insert): adjust
2436         (push_back): adjust
2437
2438 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2439
2440         * paragraph_funcs.C (breakParagraph): adjust
2441         (breakParagraphConservative): adjust
2442
2443         * buffer.C (readParagraph): adjust
2444
2445         * ParagraphList.C (insert): take a reference instead of a pointer
2446         (insert): adjust
2447
2448         * paragraph.[Ch] (id): new function
2449
2450         * bufferlist.C (newFile): adjust
2451
2452         * ParagraphList.C (ParagraphList): adjust
2453         (assign): adjust
2454         (push_back): take a reference instead of a pointer.
2455
2456         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2457
2458         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2459         instead.
2460
2461         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2462         set else use old code.
2463
2464         * ParagraphList.C: remove all NO_NEXT code and only compile this
2465         code of NO_STD_LIST is set.
2466
2467 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2468
2469         * BufferView_pimpl.C:
2470         * TextCache.C:
2471         * TextCache.h:
2472         * bufferlist.C:
2473         * errorlist.h:
2474         * format.C:
2475         * format.h:
2476         * graph.C:
2477         * lyxfunc.C:
2478         * lyxrc.C:
2479         * graphics/GraphicsConverter.C:
2480         * graphics/PreviewLoader.C: header adjustment
2481
2482 2003-05-23  Angus Leeming  <leeming@lyx.org>
2483
2484         * LaTeXFeatures.[Ch] (useBabel): new method.
2485         * bufferparams.C (writeLaTeX): use it.
2486
2487 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * ParagraphList.h (set): remove unused function.
2490
2491 2003-05-23  André Pönitz  <poenitz@gmx.net>
2492
2493         * BufferView.C:
2494         * BufferView_pimpl.C:
2495         * buffer.C:
2496         * buffer.h:
2497         * lyxfunc.C:
2498         * undo_funcs.C: setUndo reworked
2499
2500         * iterators.[Ch]: add access to topmost ParagraphList
2501
2502         * lyxtext.[Ch] (workWidth): add a const
2503
2504 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2505
2506         * texrow.[Ch] (increasePos): remove function
2507         * exporter.C (export): removed unused var and outdated comment
2508
2509 2003-05-23  Angus Leeming  <leeming@lyx.org>
2510
2511         * latexrunparams.h: rename fragile as moving_arg.
2512         * paragraph.C (simpleTeXOnePar): ditto.
2513         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2514
2515 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2518         (createUndo): ditto
2519         (textUndoOrRedo): comment out a currently unused var.
2520
2521         * paragraph.h (NO_NEXT): enable NO_NEXT
2522
2523         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2524
2525         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2526
2527         * exporter.C (Export): adjust for removeAutoInsets removal.
2528
2529         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2530
2531         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2532
2533         * BufferView.[Ch] (removeAutoInsets): delete function
2534
2535 2003-05-22  Angus Leeming  <leeming@lyx.org>
2536
2537         * latexrunparams.h: add a free_spacing variable.
2538
2539         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2540         to pass moving_arg, as the data is stored in runparams.fragile.
2541
2542         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2543         to Inset::latexOptional or to simpleTeXOnePar.
2544
2545         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2546         free_spacing arg to Inset::latexOptional.
2547
2548         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2549         free_spacing arg.
2550
2551 2003-05-22  Angus Leeming  <leeming@lyx.org>
2552
2553         * latexrunparams.h: add fragile and use_babel variables.
2554
2555         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2556         * buffer.C (makeLaTeXFile): store this returned value in
2557         runparams.use_babel, thus passing it to the inset::latex methods.
2558
2559         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2560         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2561
2562         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2563         longer has a fragile arg, as it is stored in runparams.fragile.
2564
2565         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2566         moving_arg parameter as the data is stored in runparams.fragile.
2567
2568         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2569         a fragile parameter as the data is stored in runparams.fragile.
2570
2571 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2574
2575 2003-05-22  Angus Leeming  <leeming@lyx.org>
2576
2577         * latexrunparams.h: add a 'bool nice' which defaults to false.
2578
2579         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2580         now encapsulated within runparams.
2581
2582         * bufferlist.C (updateIncludedTeXfiles):
2583         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2584
2585 2003-05-22  Angus Leeming  <leeming@lyx.org>
2586
2587         * latexrunparams.h: new file containing struct LatexRunParams.
2588         * Makefile.am: add new file.
2589
2590         * LaTeX.[Ch] (c-tor, run):
2591         * buffer.[Ch] (makeLaTeXFile):
2592         * bufferlist.[Ch] (updateIncludedTeXfiles):
2593         * converter.C (convert, scanLog):
2594         * converter.[Ch] (runLaTeX):
2595         * exporter.C (Export):
2596         * paragraph.[Ch] (simpleTeXOnePar):
2597         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2598         * paragraph_funcs.[Ch] (latexParagraphs):
2599         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2600         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2601         pass around a LatexRunParams parameter.
2602
2603 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2604
2605         * paragraph.[Ch]: remove unused constructor
2606
2607         * ParagraphList.C (erase): new function, taking two iterators
2608
2609 2003-05-22  André Pönitz  <poenitz@gmx.net>
2610
2611         * undo_funcs.C: remove duplicated code
2612
2613         * iterator.[Ch]: operator=
2614
2615 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * tabular.C (SetMultiColumn): ws changes
2618
2619         * rowpainter.C (paintFirst): get rid of a ->previous
2620
2621         * lyx_cb.C (getPossibleLabel): parlist simplification
2622
2623         * BufferView.C (ChangeInsets): simplify slightly.
2624
2625 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2626
2627         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2628         * lfuns.h: new LFUN_SPACE
2629         * lyxfunc.C: protected space has a new lfun
2630         * paragraph_funcs.C: read new space insets
2631         * text3.C:
2632         * factory.C: handle new space insets
2633
2634 2003-05-22  André Pönitz  <poenitz@gmx.net>
2635
2636         * BufferView.C:
2637         * BufferView_pimpl.C:
2638         * buffer.[Ch]:
2639         * lyxfunc.C:
2640         * undo_funcs.C: return a ParIterator from getParFromID.
2641
2642         * iterators.[Ch]: add two const's
2643
2644 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * toc.C (getTocList): adjust
2647
2648         * iterators.[Ch]: rework for parlist
2649
2650         * buffer.C (par_iterator_begin): adjust
2651         (par_iterator_end): adjust
2652
2653         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2654
2655         * BufferView.C (removeAutoInsets): adjust
2656         (ChangeInsets): adjust
2657
2658 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2659
2660         * text.C (top_y): fix bug 1110
2661
2662 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2663
2664         * errorlist.[Ch]: added
2665         * buffer.C:
2666         * BufferView.[Ch]:
2667         * BufferView_pimpl.C:
2668         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2669         instead
2670
2671 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * Makefile.am: ensure that lyx is relinked upon changes to the
2674         various "convenience" libs.
2675
2676 2003-05-20  Angus Leeming  <leeming@lyx.org>
2677
2678         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2679         files are compiled in alphabetical order again.
2680
2681         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2682
2683 2003-05-19  Angus Leeming  <leeming@lyx.org>
2684
2685         * gettext.[Ch]: remove "char const * _(char const *)".
2686
2687 2003-05-19  André Pönitz  <poenitz@gmx.net>
2688
2689         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2690
2691         * Makefile.am:
2692         * BufferView.C:
2693         * DepTable.h:
2694         * LaTeXFeatures.C:
2695         * buffer.C:
2696         * lyxfont.C:
2697         * lyxlex.h:
2698         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2699
2700 2003-05-19  André Pönitz  <poenitz@gmx.net>
2701
2702         * buffer.C:
2703         * lyxlayout.[Ch]:
2704         * lyxtextclass.[Ch]:
2705         * paragraph.C:
2706         * paragraph_funcs.[Ch]:
2707         * text2.C:
2708         * text3.C: more insetenv work
2709
2710 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * ParagraphParameters.C (params2string): small bug fixed
2713
2714 2003-05-16  André Pönitz  <poenitz@gmx.net>
2715
2716         * debug.C:
2717         * bufferview_funcs.C: patch from Kornel Benko to prevent
2718           crash when _(...) is called twice in a statement
2719
2720 2003-05-16  André Pönitz  <poenitz@gmx.net>
2721
2722         * BufferView.C:
2723         * lyxfunc.C:
2724         * text.C:
2725         * text2.C:
2726         * text3.C:
2727         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2728
2729 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2730
2731         * lyx_main.C (init): remove spurious static_cast
2732
2733 2003-05-14  André Pönitz  <poenitz@gmx.net>
2734
2735         * BufferView.C: fix format string
2736
2737 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2738
2739         * BufferView.[Ch] (insertErrors): removed
2740         * BufferView.[Ch] (showErrorList): added
2741         * buffer.C (runChkTeX):
2742         * converter.C (scanLog): call showErrorList instead of inserterrors
2743
2744 2003-05-13  André Pönitz  <poenitz@gmx.net>
2745
2746         * BufferView_pimpl.C:
2747         * buffer.C:
2748         * bufferview_func.C:
2749         * MenuBackend.C:
2750         * lyxfunc.C:
2751         * lyxrc.C:
2752         * tex-accent.C:
2753         * text3.C:
2754         * toc.C:
2755         * tabular_funcs.h: tostr() from its own header
2756
2757         * ParagraphParameters.C:
2758         * ToolbarBackend.C:
2759         * bufferparams.C:
2760         * format.C:
2761         * lyxlex_pimpl.C:
2762         * text3.C: STRCONV()
2763
2764 2003-05-12  André Pönitz  <poenitz@gmx.net>
2765
2766         * BufferView.C:
2767         * BufferView_pimpl.C:
2768         * CutAndPaste.C:
2769         * LaTeX.C:
2770         * LaTeXFeatures.C:
2771         * ParagraphParameters.C:
2772         * buffer.C:
2773         * bufferlist.C:
2774         * bufferparams.C:
2775         * bufferview_funcs.C:
2776         * converter.C:
2777         * counters.C:
2778         * debug.C:
2779         * exporter.C:
2780         * format.C:
2781         * importer.C:
2782         * lyx_cb.C:
2783         * lyx_main.C:
2784         * lyxfont.C:
2785         * lyxfunc.C:
2786         * lyxvc.C:
2787         * paragraph.C:
2788         * paragraph_funcs.C:
2789         * tabular.C:
2790         * tabular_funcs.C:
2791         * text2.C:
2792         * text3.C:  boost::format -> bformat  all over the place
2793
2794
2795 2003-05-09  André Pönitz  <poenitz@gmx.net>
2796
2797         * LColor.[Ch]: Pimpl the #include <map> away
2798
2799 2003-05-09  John Levon  <levon@movementarian.org>
2800
2801         * bufferlist.C: never remove emergency saves
2802
2803 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * Makefile.am: better lib building
2806
2807 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2810         instead.
2811         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2812         (simpleTeXSpecialChars): adjust
2813         (simpleTeXSpecialChars): adjust
2814         * paragraph.C (simpleTeXOnePar): adjust
2815         * buffer.C (makeLaTeXFile): adjust
2816
2817         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2818
2819         * text2.C (changeDepth): parlist cleanup
2820         (getColumnNearX): ditto
2821
2822         * rowpainter.C (getLabelFont): parlist cleanup
2823
2824         * bufferlist.C (newFile): parlist cleanup
2825
2826         * CutAndPaste.C (eraseSelection): parlist cleanup
2827
2828         * BufferView_pimpl.C (trackChanges): parlist cleanup
2829         (dispatch): ditto
2830
2831         * BufferView.C (lockInset): parlist cleanup.
2832         (ChangeInsets): ditto
2833
2834 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * CutAndPaste.h: Update file header.
2837
2838         * CutAndPaste.C: Update file header.
2839         Store the parts cut out of the Document in a limited_stack.
2840         (copySelection): adjust
2841         (pasteSelection): new function, takes the index in the limited stack.
2842         (nrOfParagraphs): adjust
2843         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2844         simplify error inset insertion.
2845         (checkPastePossible): adjust
2846
2847 2003-05-06  John Levon  <levon@movementarian.org>
2848
2849         * text2.C: don't cast wrap inset to float
2850
2851 2003-05-05  André Pönitz  <poenitz@gmx.net>
2852
2853         * iterator.C:
2854         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2855
2856         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2857           few naked Paragraph *.
2858
2859 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2860
2861         * bufferparams.C: Output warning if a document with missing
2862         TeX document class is loaded
2863         * exporter.C: Disable TeX exports if the document class is missing
2864         * lyxtextclass.C:
2865         * lyxtextclass.h:
2866         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2867         isTeXClassAvailable()
2868
2869 2003-05-03  John Levon  <levon@movementarian.org>
2870
2871         * BufferView.h:
2872         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2873         explicit cursor show/hide
2874
2875         * BufferView_pimpl.h:
2876         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2877         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2878
2879         * lyxfunc.C: hide cursor before dispatching.
2880
2881         * lyx_cb.C:
2882         * lyxfind.C:
2883         * text.C:
2884         * text3.C: remove explicit cursor hides
2885
2886 2003-05-02  André Pönitz  <poenitz@gmx.net>
2887
2888         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2889
2890         * undo_funcs.C:
2891         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2892           linked lists
2893
2894         * text2.C: tiny whitespace
2895
2896 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * undo_funcs.C: almost only ws changes.
2899
2900         * ParagraphList.C (splice): just return if pl is empty.
2901
2902 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * ParagraphList.C (splice): new function.
2905
2906         * CutAndPaste.C (pasteSelection): use it
2907
2908 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * CutAndPaste.C (pasteSelection): remove the last next and
2911         previous from this file.
2912
2913 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2914
2915         * CutAndPaste.C (pasteSelection): more clean up, user proper
2916         ParagraphList functions for pasteing.
2917
2918         * ParagraphList.C (insert): new function, three arg insert
2919
2920 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * ParagraphList.C (insert): new function, three arg insert
2923
2924         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2925         not on paragraphs.
2926
2927 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2928
2929         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2930
2931 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2932
2933         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2934
2935 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2938         (copySelection): clean up a bit.
2939         (pasteSelection): use make_pair
2940
2941         * ParagraphList.C (ParagraphList): implement copy constructor
2942         (operator=): implement, base on copy constructor.
2943         (assign): new func
2944
2945         * paragraph.C (erase): return a bool
2946
2947         * paragraph_pimpl.C (erasePos): remove function, move contents...
2948         (erase): ... here. Return a bool.
2949         (erase): call erase instead of erasePos.
2950
2951 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * ParagraphList.h: define PitPosPair
2954         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2955         ParagraphList, fix a bug on pasting multiple pars
2956         * text2.C: change interface to C&P
2957
2958 2003-04-30  André Pönitz  <poenitz@gmx.net>
2959
2960         * undo_func.C: revert part of yesterday's patch 2
2961
2962 2003-04-30  John Levon  <levon@movementarian.org>
2963
2964         * LColor.C: s/tabular/table/
2965
2966 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * text3.C (dispatch): do not convert iterator -> pointer
2969         * undo_funcs.C (setCursorParUndo): ditto
2970         * text_funcs.C (transposeChars): ditto
2971
2972         * text2.C (setLayout): ws changes only
2973
2974         * text.C (breakParagraph): do not convert iterator -> pointer
2975         (insertChar): ditto
2976         (acceptChange): ditto
2977         (rejectChange): ditto
2978         (changeCase): ditto
2979         (Delete): ditto
2980         (backspace): ditto
2981
2982         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2983         pointer
2984
2985 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * text3.C (gotoInset): YABG (yet another bad getChar)
2988
2989 2003-04-29  André Pönitz  <poenitz@gmx.net>
2990
2991         * paragraph.h: make operator= private unimplemented as long as
2992           it is unusable
2993
2994         * ParagraphList.C: whitespace
2995
2996         * paragraph.[Ch]:
2997         * paragraph_pimpl.[Ch]:
2998         * paragraph_funcs.C:
2999         * CutAndPaste.C:
3000         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3001
3002         * text2.C:
3003           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3004
3005 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3008         * paragraph.[Ch] (erase):
3009         * paragraph_pimpl.[Ch] (erase): change return type and value
3010         * text2.C (cutSelection): some rework
3011
3012 2003-04-28  John Levon  <levon@movementarian.org>
3013
3014         * bufferlist.C: changes for unsaved changes dialog
3015
3016 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * bufferlist.C (newFile): set language (messages_) for new
3019         documents also.
3020
3021         * buffer.C (readFile): ws changes only.
3022
3023 2003-04-28  André Pönitz  <poenitz@gmx.net>
3024
3025         * undo_funcs.C:
3026         * lyxfunc.C:
3027         * buffer.[Ch]:
3028         * BufferView_pimpl.C:
3029         * BufferView.C: getParFromID related ParagraphList::iterator changes
3030
3031 2003-04-28  André Pönitz  <poenitz@gmx.net>
3032
3033         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3034           Changes
3035
3036 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * messages.C: remove one more localedir class variable.
3039
3040 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * messages.C (getLocaleDir): singleton generation function
3043         (Pimpl): use it.
3044         (Messages): add a default constructor.
3045
3046         * main.C (main): do not setup localedir here, do not call
3047         gettext_init.
3048
3049         * gettext.C (_): use it.
3050         (gettext_init): delete funciton
3051
3052 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * gettext.C (getLyXMessages): new singleton generating function.
3055
3056         * buffer.C (updateDocLang): adjust
3057
3058         * Makefile.am (messages.o): add target
3059         (main.o): remove target
3060
3061 2003-04-27  John Levon  <levon@movementarian.org>
3062
3063         * bufferlist.C:
3064         * lyx_cb.C:
3065         * lyxfunc.C:
3066         * lyxvc.C: specify cancel button in Alert::prompt
3067
3068 2003-04-26  John Levon  <levon@movementarian.org>
3069
3070         * text3.C:
3071         * lyxfunc.C:
3072         * lfuns.h:
3073         * LyXAction.C: add LFUN_INSET_SETTINGS
3074
3075         * lyxfunc.C: don't enable tabular-feature when there's
3076         just any locking inset
3077
3078 2003-04-26  John Levon  <levon@movementarian.org>
3079
3080         * bufferlist.C: re-add Cancel to buffer close question
3081
3082         * lyxfunc.C: fix import UI a bit
3083
3084 2003-04-25  John Levon  <levon@movementarian.org>
3085
3086         * gettext.C: remove the broken asserts for now
3087
3088 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * messages.C: make case where setlocale cannot comply work better.
3091
3092         * buffer.C (updateDocLang): new function
3093         (changeLanguage): use it
3094         (readFile): use it
3095
3096         * text2.C (setCounter): use B_ a bit.
3097
3098         * lyxlayout.C (Read): be sure to trim the label strings.
3099
3100         * messages.C (Messages): fix typo in comment
3101
3102         * buffer.C (readFile): set message_ after file is loaded.
3103         (makeDocBookFile): remove double return
3104         (changeLanguage): reset message_ upon language change.
3105         (B_): new func, use this to get translated buffer strings.
3106
3107         * main.C: add myself and Jean Marc as authors.
3108
3109 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * messages.[hC]: pimplify Messages, and three different pimpls to be
3112         used in different circumstances.
3113
3114         * gettext.[Ch]: change for use with new message code.
3115
3116 2003-04-24 André Pönitz <poenitz@gmx.net>
3117
3118         * factory.C: support for eqref
3119
3120 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * messages.[Ch]: add missing char
3123
3124         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3125
3126         * messages.[Ch]: New files
3127
3128 2003-04-18  John Levon  <levon@movementarian.org>
3129
3130         * BufferView.h:
3131         * BufferView.C:
3132         * BufferView_pimpl.C:
3133         * lfuns.h:
3134         * LyXAction.C:
3135         * lyxtext.h:
3136         * text2.C: remove layout-copy/paste (bug 778)
3137
3138 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3139
3140         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3141
3142 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3143
3144         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3145         if they succeed. Act accordingly.
3146
3147 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * text2.C (setCharFont): adjust
3150         (setCounter): adjust
3151         (insertStringAsLines): adjust
3152
3153         * text.C (leftMargin): adjust
3154         (setHeightOfRow): adjust
3155
3156         * rowpainter.C (paintFirst): adjust
3157         (paintLast): adjust
3158
3159         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3160         (outerHook): ditto
3161         (isFirstInSequence): ditto
3162         (getEndLabel): ditto
3163         (outerFont): adjust
3164
3165         * paragraph.C (getParLanguage): comment out some hard stuff.
3166
3167         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3168         (sgmlError): ditto
3169         (simpleDocBookOnePar): ditto
3170         (makeDocBookFile): use ParagraphList::iterator
3171
3172         * CutAndPaste.C (pasteSelection): adjust
3173
3174 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3175
3176         * text2.C (getFont): adjust
3177         (getLayoutFont): adjust
3178         (getLabelFont): adjust
3179
3180         * paragraph_funcs.C (TeXOnePar): adjust
3181
3182         * buffer.C (simpleLinuxDocOnePar): adjust
3183         (simpleDocBookOnePar): adjust
3184
3185         * CutAndPaste.C (pasteSelection): adjust
3186
3187         * BufferView.C (getEncoding): adjust
3188
3189         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3190
3191 2003-04-16  John Levon  <levon@movementarian.org>
3192
3193         * lyxfind.C: use parlist stuff for search/changes
3194
3195 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3198
3199         * text2.C (deleteEmptyParagraphMechanism): adjust
3200
3201         * text2.[Ch] (ownerParagraph): delete func (both of them
3202
3203 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3206
3207 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3208
3209         * ParagraphList.C: prepare for NO_NEXT
3210
3211 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * text2.C (getFont): adjust
3214         (getLayoutFont): adjust
3215         (getLabelFont): adjust
3216
3217         * paragraph.C (getFont): adjust
3218         (getLabelFont): adjust
3219         (getLayoutFont): adjust
3220
3221         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3222
3223 2003-04-15  John Levon  <levon@movementarian.org>
3224
3225         From Angus Leeming
3226
3227         * lyx_main.C: handle Include in .ui files
3228
3229 2003-04-15  John Levon  <levon@movementarian.org>
3230
3231         * MenuBackend.C: make the doc files length shorter
3232
3233         * ToolbarBackend.h:
3234         * ToolbarBackend.C: handle toolbar placement flags,
3235         Minibuffer
3236
3237 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3238
3239         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3240         adjust
3241
3242         * paragraph_funcs.C (TeXOnePar): adjust
3243
3244         * paragraph.C (getLabelFont): add outerfont arg, adjust
3245         (getLayoutFont): ditto
3246         (simpleTeXOnePar): adjust
3247
3248         * paragraph_pimpl.C (realizeFont): delete func
3249
3250 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3251
3252         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3253         row argument, constify cur argument.
3254
3255 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * text2.C (getFont): adjust
3258         (getLayoutFont): adjust
3259         (getLabelFont): adjust
3260
3261         * paragraph_funcs.C (TeXOnePar): adjust
3262         (outerFont): new func...
3263         (realizeFont): ...moved out from here, changed this to facilitate
3264         transition
3265
3266         * paragraph.C (getFont): take outerfont as arg, adjust
3267         (simpleTeXOnePar): add outerfont arg, adjust
3268
3269         * buffer.C (simpleLinuxDocOnePar): adjust
3270         (simpleDocBookOnePar): adjust
3271
3272         * CutAndPaste.C (pasteSelection): adjust
3273
3274         * BufferView.C (getEncoding): adjust
3275
3276 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * text2.C (setCharFont): adjust
3279         (setCounter): adjust
3280
3281         * text.C (leftMargin): adjust
3282         (setHeightOfRow): adjust
3283
3284         * rowpainter.C (paintFirst): adjust
3285         (paintLast): adjust
3286
3287         * paragraph_pimpl.C (realizeFont): adjust
3288
3289         * paragraph.C (isFirstInSequence): move from here...
3290         * paragraph_funcs.C (isFirstInSequence): ...to here
3291
3292         * paragraph.C (outerHook): move from here...
3293         * paragraph_funcs.C (outerHook): ...to here
3294
3295         * paragraph.C (depthHook): move from here...
3296         * paragraph_funcs.C (depthHook): ...to here
3297
3298         * paragraph.C (getEndLabel): move from here...
3299         * paragraph_funcs.C (getEndLabel): ...to here
3300
3301         * text2.C (realizeFont): move from here...
3302         * paragraph_funcs.C (realizeFont): ...to here
3303
3304 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3307
3308 2003-04-14  Angus Leeming  <leeming@lyx.org>
3309
3310         * LColor.[Ch]: scrap LColor mathcursor.
3311
3312 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3313
3314         * lyxlex.[Ch] (text): delete function
3315         * trans.C (Load): adjust
3316         * paragraph_funcs.C (readParToken): adjust
3317
3318 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3321         vector<char> instead of a char[].
3322
3323         * lyxlex_pimpl.C (getString): adjust
3324         (next): adjust
3325         (lex): use getString
3326         (eatLine): adjust
3327         (nextToken): adjust
3328
3329         * lyxlex.C (text): use pimpl_->getString()
3330         (getBool): ditto
3331         (findToken): ditto
3332
3333 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3336         (makeFontEntriesLayoutSpecific): temp var for par.size()
3337         (setLayout): temp var for ownerParagraphs().end()
3338         (fullRebreak): temp var for rows().end()
3339         (selectionAsString): temp var for boost::next(startpit), realize
3340         that the while really is a regular for loop.
3341         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3342         setCursor in one place.
3343         (setParagraph): temp vr for ownerParagraphs().end()
3344         (updateCounters): make the while loop a for loop
3345         (cutSelection): temp var for ownerParagraphs().end()
3346         (updateInset): make the do {} while() a regular for loop
3347         (getCursorX): use temp vars
3348         (setCurrentFont): use temp vars
3349         (getColumnNearX): use temp vars
3350
3351 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * text.C (transformChar): use temp var for getChar
3354         (computeBidiTables): use temp var for row->par()
3355         (fill): move temp vars for row->par() and pit->layout() earlier in
3356         the function.
3357         (labelFill): use temp var for row->par()
3358         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3359         asc and desc, realize that pit never changes and that firstpit is
3360         just a duplicate and not needed. Exchange rit->par() with pit in a
3361         lot of places.
3362         (breakAgain): use a temp var for boost::next(rit)
3363         (breakAgainOneRow): ditto
3364         (breakParagraph): use a temp var for rows().begin()
3365         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3366         (cursorRightOneWord): use temp var for cursor.par() and
3367         cursor.pos(), remove usage of tmpcursor.
3368         (cursorLeftOneWord): use temp var for cursor.par() and
3369         cursor.pos() only set cur at end of function.
3370
3371 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * text.C, text2.C: exchange all usage of Paragraph::next with
3374         boost::next(ParagraphList::iterator)
3375
3376         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3377
3378         * text2.C (cursorTop): simplify implementation
3379         (cursorBottom): ditto
3380         (setParagraph): use ParagraphList::iterator
3381         (setCurrentFont): adjust
3382         (getColumnNearX): adjust
3383         (cursorRight): adjust
3384         (cursorLeft): remove usage of Paragraph::previous
3385         (cursorUpParagraph): ditto
3386         (deleteEmptyParagraphMechanism): slight cleanup
3387
3388         * text.C (isBoundary): take a Paragraph const & instead of a
3389         pointer as arg.
3390         (addressBreakPoint): ditto
3391         (leftMargin): remove usage of Paragraph::previous.
3392         (setHeightOfRow): ditto
3393         (cursorLeftOneWord): ditto
3394         (selectNextWordToSpellcheck): ditto
3395         (Delete): ditto
3396         (backspace): ditto
3397         (breakParagraph): remove one usage of Paragraph::next
3398         (redoParagraph): ditto
3399         (acceptChange): ditto
3400         (insertChar): adjust
3401         (rowBreakPoint): adjust
3402
3403         * bufferview_funcs.C (toggleAndShow): adjust
3404
3405 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3406
3407         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3408         methods to access it.
3409         * lyxtext.h:
3410         * text.C: Added updateRowPositions to compute all row positions.
3411         Make top_y and getRowNearY() to use the cached y position
3412
3413 2003-04-11  John Levon  <levon@movementarian.org>
3414
3415         * text.C (rowBreakPoint): reintroduce the labelEnd
3416         checks, code copied from the row fill stuff. Deep voodoo.
3417
3418         * text.C (fill): add a comment and debugging for the
3419         next poor soul.
3420
3421 2003-04-11  John Levon  <levon@movementarian.org>
3422
3423         * text.C: make sure fullrow insets get wrapped to the next line,
3424         even when they're in a manual label
3425
3426 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * text2.C (insertParagraph): make it take ParagraphList::iterator
3429         as arg.
3430         (setLayout): make it return ParagraphList::iterator
3431         (redoParagraphs): ditto
3432         (setCounter): ditto
3433         (checkParagraph): ditto
3434
3435         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3436
3437         * text2.C: adjust several funcs.
3438         (realizeFont): take a ParagraphList::iterator as arg.
3439         (getLayoutFont): ditto
3440         (getLabelFont): ditto
3441         (setCharFont): ditto
3442
3443         * text.C: adjust several funcs.
3444
3445 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3446
3447         * text.C (selectNextWordToSpellcheck): don't accidentally
3448         skip insets
3449
3450 2003-04-10  John Levon  <levon@movementarian.org>
3451
3452         * ToolbarBackend.C (getIcon): special handling for
3453         LFUN_MATH_DELIM
3454
3455 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3456
3457         * text2.C (cursorRight): a getChar assert fixed
3458
3459 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * text2.C (getFont): change to take a ParagraphList::iterator
3462         instead of Paragraph*
3463         Adjust several functions.
3464
3465         * text.C (transformChar): change to take a ParagraphList::iterator
3466         instead of Paragraph*
3467         (singleWidth): ditto
3468         Adjust several functions.
3469
3470         * rowpainter.C: adjust several functions
3471         * rowpainter.h:store a ParagraphList::iterator and not a
3472         Paragraph&.
3473
3474
3475 2003-04-09  John Levon  <levon@movementarian.org>
3476
3477         * lyxfunc.C:
3478         * lfuns.h:
3479         * LyXAction.h:
3480         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3481         and the "help" bits as well
3482
3483 2003-04-09  John Levon  <levon@movementarian.org>
3484
3485         * ToolbarBackend.h:
3486         * ToolbarBackend.C: allow multiple toolbars
3487
3488 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * undo_funcs.C (setCursorParUndo): adjust
3491
3492         * text_funcs.C (transposeChars): adjust
3493
3494         * text3.C (gotoNextInset): adjust
3495         (dispatch): adjust
3496
3497         * text2.C (setLayout): adjust
3498         (changeDepth): adjust
3499         (setFont): adjust
3500         (redoParagraphs): adjust
3501         (selectionAsString): adjust
3502         (setParagraph): adjust
3503         (insertInset): adjust
3504         (cutSelection): adjust
3505         (copySelection): adjust
3506         (pasteSelection): adjust
3507         (insertStringAsLines): adjust
3508         (updateInset): adjust
3509         (setCursor): change to take a ParagraphList::iterator parameter
3510         (setCursorIntern): change to take a ParagraphList::iterator parameter
3511         (setCurrentFont): adjust
3512         (cursorLeft): adjust
3513         (cursorRight): adjust
3514         (deleteEmptyParagraphMechanism): adjust
3515
3516         * text.C (breakParagraph): adjust
3517         (insertChar): adjust
3518         (acceptChange): adjust
3519         (rejectChange): adjust
3520         (selectNextWordToSpellcheck): adjust
3521         (changeCase): adjust
3522         (Delete): adjust
3523         (backspace): adjust
3524
3525         * lyxfind.C (SearchForward): adjust
3526         (SearchBackward): adjust
3527         (nextChange): adjust
3528
3529         * lyxcursor.C (par): adjust
3530
3531         * lyxcursor.h: store a ParagraphList::iterator instead of a
3532         Paragraph*
3533
3534         * lyx_cb.C (getPossibleLabel): adjust
3535
3536         * bufferview_funcs.C (toggleAndShow): adjust
3537
3538         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3539         (dispatch): adjust
3540
3541         * BufferView.C (removeAutoInsets): adjust
3542         (lockedInsetStoreUndo): adjust
3543
3544 2003-04-09  John Levon  <levon@movementarian.org>
3545
3546         * ToolbarBackend.C: try icon without argument
3547         if with argument fails
3548
3549 2003-04-08  John Levon  <levon@movementarian.org>
3550
3551         * ToolbarBackend.h:
3552         * ToolbarBackend.C: add getIcon(), handle tooltip,
3553         and change from "Icon" to "Item".
3554
3555 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * BufferView.C (lockInset): another bad getchar crunched
3558
3559 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3562         again)
3563
3564 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * lyxfind.C (searchForward, searchBackwards): bug 782
3567
3568 2003-04-07  John Levon  <levon@movementarian.org>
3569
3570         * paragraph.C: remove dead comment
3571
3572         * text.C: remove troublesome depth-fiddling code
3573         in leftMargin() and rightMargin() (bug 1017)
3574
3575         * text.C: fix breaking of rows in nested lists
3576         (bug 1004)
3577
3578         * text2.C (updateCounters): fix up depth values
3579         (bug 1013)
3580
3581 2003-04-07  John Levon  <levon@movementarian.org>
3582
3583         * BufferView_pimpl.C: clear message when doc finishes resizing,
3584         and after a mouse event
3585
3586         * lyxfunc.C: clear message after exiting inset
3587
3588 2003-04-07  John Levon  <levon@movementarian.org>
3589
3590         * bufferview_funcs.C: show math status not outside
3591         status in the statusbar
3592
3593 2003-04-07  John Levon  <levon@movementarian.org>
3594
3595         * lyxfunc.C: note status changed after a depth change
3596
3597 2003-04-04  Angus Leeming  <leeming@lyx.org>
3598
3599         * LaTeX.h: move AuxInfo operator==, != out of line.
3600         Remove LaTeX virtual destructor; nothing derives from it.
3601         Move operator()() out of public area and rename it startscript().
3602         Change protected for private.
3603
3604 2003-04-04  Angus Leeming  <leeming@lyx.org>
3605
3606         * lyxfunc.C:
3607         * text2.C: remove unneeded #includes.
3608
3609 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * text2.C (dEPM): fix the heigth of the next row
3612
3613 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * text.C: squashed an invalid getChar requester + some ws changes
3616
3617 2003-04-03  John Levon  <levon@movementarian.org>
3618
3619         * bufferview_funcs.h:
3620         * bufferview_funcs.C:
3621         * lyxfunc.C:
3622         * lyxtext.h:
3623         * text2.C: make getStatus work for the env depth lfuns
3624
3625 2003-04-03  John Levon  <levon@movementarian.org>
3626
3627         * bufferview_funcs.h:
3628         * bufferview_funcs.C:
3629         * lyxfunc.C:
3630         * lyxtext.h:
3631         * text2.C: parlistize decDepth(), by merging it with incDepth()
3632
3633 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3634
3635         * lyxrow.h: store a ParagraphList::iterator instead of a
3636         Paragraph* and adjust other class functions to suit.
3637
3638         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3639         above.
3640
3641 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3642
3643         * text2.C (setCursor): do not anchor to cursor row for the time being
3644
3645 2003-04-02  John Levon  <levon@movementarian.org>
3646
3647         * LyXAction.C:
3648         * lfuns.h:
3649         * lyx_main.C:
3650         * lyxtext.h:
3651         * text.C:
3652         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3653
3654 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * paragraph.h: make ParagraphList and ParagraphList::iterator
3657         friends of Paragraph.
3658
3659         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3660
3661         * ParagraphList.C: Use the private next_ and previous_ from
3662         Paragraph.
3663
3664 2003-04-01  John Levon  <levon@movementarian.org>
3665
3666         * ToolbarBackend.h:
3667         * ToolbarBackend.C:
3668         * Makefile.am: rename, remove defaults gunk
3669
3670         * MenuBackend.h:
3671         * MenuBackend.C: remove defaults gunk
3672
3673         * Languages.h:
3674         * Languages.C: remove defaults gunk
3675
3676         * lyx_main.h:
3677         * lyx_main.C: error out if files couldn't be found.
3678
3679 2003-04-02  John Levon  <levon@movementarian.org>
3680
3681         * text2.C: make incDepth() use parlist
3682
3683 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3684
3685         * undo_funcs.C (firstUndoParagraph): adjust
3686
3687         * text3.C (gotoInset): adjust
3688         (dispatch): adjust, and rewrite loop.
3689
3690         * text2.C (init): adjust, and rewrite loop.
3691         (redoParagraphs): adjust
3692         (updateInset): adjust, and rewrite loop.
3693         (deleteEmptyParagraphMechanism): adjust
3694
3695         * tabular.C (LyXTabular): adjust
3696         (SetMultiColumn): adjust
3697         (TeXRow): adjust
3698
3699         * lyxtext.[Ch] (ownerParagraph): delete function
3700         (ownerParagraphs): new function returns a ParagraphList.
3701
3702         * BufferView.C (removeAutoInsets): adjust
3703         (insertErrors): adjust
3704         (setCursorFromRow): adjust
3705
3706 2003-04-01  Angus Leeming  <leeming@lyx.org>
3707
3708         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3709         in the frontends.
3710
3711 2003-04-02  John Levon  <levon@movementarian.org>
3712
3713         * lyxtext.h:
3714         * text.C:
3715         * Makefile.am:
3716         * text_funcs.h:
3717         * text_funcs.C: make transposeChars a free function
3718
3719         * lyxrow_funcs.C: remove wrong comment
3720
3721 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * lyxtext.h: adjust
3724         * rowpainter.C: adjust
3725         * text.C: adjust
3726         * text2.C: adjust
3727         * text3.C: adjust
3728
3729         * lyxrow_funcs. [Ch]: new files
3730
3731         * lyxrow.[Ch]: remove next and previous pointers
3732         (next,previous): remove accessor functions
3733         (isParEnd): move to lyxrow_funcs
3734         (lastPos): move to lyxrow_funcs
3735         (nextRowIsAllInset): move to lyxrow_funcs
3736         (lastPrintablePos): move to lyxrow_funcs
3737         (numberOfSeparators): move to lyxrow_funcs
3738         (numberOfHfills): move to lyxrow_funcs
3739         (numberOfLabelHfills): move to lyxrow_funcs
3740         (hfillExpansion): move to lyxrow_funcs
3741
3742         * lyxfunc.C: adjust
3743
3744         * bufferview_funcs.C (toggleAndShow): adjust
3745
3746         * RowList.h: Remove class RowList from file leave just a
3747         std::list<Row>.
3748
3749         * RowList.C: delete file
3750
3751         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3752         and lyxrow_funcs.h
3753
3754 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * text3.C (cursorPrevious): adjust
3757         (cursorNext): adjust
3758         (dispatch): adjust
3759
3760         * text2.C (redoHeightOfParagraph): adjust
3761         (redoDrawingOfParagraph): adjust
3762         (setCursor): adjust
3763
3764         * text.C (breakParagraph): adjust
3765         (insertChar): adjust
3766         (backspace): adjust
3767
3768         * rowpainter.C (RowPainter): adjust
3769         (leftMargin): simplify and adjust
3770         (most rowpainter functions): adjust.
3771
3772         * rowpainter.h: store the row as RowList::iterator not as Row*
3773
3774         * lyxcursor.C (row): taka RowList::iterator as arg
3775         (irow): ditto
3776
3777         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3778         of Row*.
3779
3780 2003-04-01  Angus Leeming  <leeming@lyx.org>
3781
3782         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3783         stuff like bool Bool.
3784
3785 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3788         rewrite a loop
3789
3790 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3793         RowList::iterator.
3794
3795         * lyxtext.h (rows): drop one version and leve a const variant that
3796         returns a RowList::iterator.
3797
3798 2003-03-31  Angus Leeming  <leeming@lyx.org>
3799
3800         * text.C (fill): ensure that the signature is the same as that in the
3801         header file.
3802
3803 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3804
3805         * text2.C (redoParagraphs): adjust
3806         (updateCounters): adjust
3807         (checkParagraph): adjust
3808         (getColumnNearX): adjust and reformat a bit.
3809
3810         * text.C (top_y): adjust
3811         (workWidth): adjust
3812         (leftMargin): adjust
3813         (prepareToPrint): adjust
3814         (getRow): adjust
3815         (getRowNearY): adjust
3816
3817         * lyxtext.h: make rowlist_ mutable.
3818
3819         * RowList.h: add const_iterator
3820         * RowList.C: adjust for RowList::const_iterator.
3821
3822         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3823         adjust.
3824
3825 2003-03-31  John Levon  <levon@movementarian.org>
3826
3827         * lyxrc.h:
3828         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3829
3830         * lyx_main.C: set default fonts from using lyx_gui funcs
3831
3832         * exporter.C: pdf_mode moved from lyxrc
3833
3834         * lyx_cb.C:
3835         * lyxfunc.C: changes from above
3836
3837 2003-03-31  John Levon  <levon@movementarian.org>
3838
3839         * lyx_main.C: fix to the last fix
3840
3841 2003-03-31  John Levon  <levon@movementarian.org>
3842
3843         * bufferlist.C: "Load original" -> "Load Original"
3844
3845         * converter.C:
3846         * exporter.C:
3847         * importer.C:
3848         * lyx_main.C:
3849         * format.C: more Alert cleanups
3850
3851 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * text2.C (removeParagraph): make it take a RowList::iterator as
3854         arg, adjust.
3855         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3856         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3857
3858         * text.C (anchor_row): make it take a RowList::iterator as arg,
3859         adjust.
3860         (computeBidiTables): make it take a const reference to Row instead
3861         of Row pointer, adjust.
3862         (leftMargin): make it take a RowList::iterator as arg, adjust.
3863         (rowBreakPoint): adjust
3864         (breakAgainOneRow): make it take a RowList::iterator as arg,
3865         adjust.
3866         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3867
3868         * bufferview_funcs.C (toggleAndShow): adjust
3869
3870 2003-03-30  John Levon  <levon@movementarian.org>
3871
3872         * Makefile.am:
3873         * BoostFormat.h:
3874         * boost-inst.C: moved to support
3875
3876         * several files: changes as a result
3877
3878 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3879
3880         * text2.C (LyXText): adjust.
3881         (init): adjust
3882         (removeRow): make it take a RowList::iterator as arg, adjust.
3883         (fullRebreak): adjust
3884         (deleteEmptyParagraphMechanism): adjust
3885         (clearPaint): adjust
3886         (postPaint): adjust
3887
3888         * text.C (top_y): adjust
3889         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3890         (breakAgain): make it take a RowList::iterator as arg, adjust.
3891         (breakParagraph): adjust
3892         (insertChar): adjust
3893         (backspace): adjust
3894
3895         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3896         need_break_row, and refresh_row.
3897
3898         * text3.C (dispatch): adjust
3899
3900         * text2.C (checkParagraph): adjust
3901         (setCursor): adjust
3902         (setCursorFromCoordinates): adjust
3903
3904         * text.C (top_y): adjust
3905         (workWidth): adjust
3906         (getRow): make it return a RowList::iterator, adjust
3907         (getRowNearY): make it return a RowList::iterator, adjust
3908
3909         * text2.C (init): adjust
3910         (insertRow): remove function
3911         (insertParagraph): adjust
3912         (redoParagraphs): adjust
3913         (fullRebreak): adjust
3914         (updateCounters): adjust
3915
3916         * text.C (top_y): rewrite to use RowList iterators.
3917         (top_y): adjust
3918         (setHeightOfRow): rewrite to sue RowList iterators.
3919         (appendParagraph): adjust
3920         (breakAgain): adjust
3921         (breakAgainOneRow): adjust
3922         (breakParagraph): adjust
3923         (getRow): adjust
3924         (getRowNearY): adjust, and remove commented code.
3925
3926         * lyxtext.h (firstRow): delete function
3927         (lastRow): delete function
3928         (rows): new function (const and non-const versions.)
3929         (insertRow): delete function
3930
3931         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3932
3933 2003-03-29  John Levon  <levon@movementarian.org>
3934
3935         * BufferView_pimpl.C: always update scrollbar top
3936         because pasting text when we're anchored could mean we
3937         miss an update altogether
3938
3939 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * text2.C (init): use rowlist_.end() and not 0.
3942         (insertRow): change to take a RowList::iterator as arg, adjust
3943         for this.
3944         (insertParagraph): change to take a RowList::iterator as arg,
3945         adjust for this.
3946         (redoParagraphs): remove some debug msgs.
3947
3948         * text.C (appendParagraph): change to take a RowList::iterator
3949         arg, adjust for this.
3950         (breakAgain): add an assert
3951         (breakAgainOneRow): ditto
3952
3953 2003-03-29  John Levon  <levon@movementarian.org>
3954
3955         * text2.C: do not clear selection after inc/decDepth
3956         (bug 550)
3957
3958 2003-03-29  John Levon  <levon@movementarian.org>
3959
3960         * BufferView.C:
3961         * buffer.C: fix broken strerrors according to Lars
3962
3963 2003-03-29  John Levon  <levon@movementarian.org>
3964
3965         * converters.C: more Alert cleanups
3966
3967 2003-03-29  John Levon  <levon@movementarian.org>
3968
3969         * bufferview_funcs.C: remove pointless Alert
3970
3971         * buffer.C: fix confusing error message when
3972         a template is chmoded 000
3973
3974 2003-03-29  John Levon  <levon@movementarian.org>
3975
3976         * BufferView.C:
3977         * BufferView.h:
3978         * BufferView_pimpl.C: Alert fixes
3979
3980         * Makefile.am:
3981         * tabular.C:
3982         * tabular-old.C: remove unused table compat reading
3983
3984 2003-03-29  John Levon  <levon@movementarian.org>
3985
3986         * BufferView.C:
3987         * buffer.C:
3988         * lyx_cb.h:
3989         * lyx_cb.C: more Alert cleanups
3990
3991         * lyxfunc.C: don't allow chktex if not latex document
3992
3993 2003-03-29  John Levon  <levon@movementarian.org>
3994
3995         * lyx_cb.C:
3996         * BufferView.C:
3997         * buffer.C: warnings pushed down from support/,
3998         kill err_alert
3999
4000 2003-03-29  John Levon  <levon@movementarian.org>
4001
4002         * lyxfunc.C: safety check for C-r (revert)
4003
4004 2003-03-29  John Levon  <levon@movementarian.org>
4005
4006         * bufferlist.h:
4007         * bufferlist.C: several UI fixes using Alert::prompt.
4008         Fix the pointless looping quit code. Fix stupid revert
4009         behaviour (bug 938)
4010
4011         * lyxvc.h:
4012         * lyxvc.C:
4013         * lyx_cb.C: use Alert::prompt
4014
4015         * lyx_main.C: remove a silly question
4016
4017         * lyxfunc.C: remove a couple of silly questions,
4018         use Alert::prompt
4019
4020 2003-03-28  John Levon  <levon@movementarian.org>
4021
4022         * text2.C: fix bug 974 (End on empty par)
4023
4024 2003-03-28  John Levon  <levon@movementarian.org>
4025
4026         * BufferView_pimpl.C:
4027         * LyXAction.C:
4028         * lfuns.h: remove do-nothing math greek lfuns
4029
4030 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4031
4032         * lyxgluelength.h (isValidGlueLength): add default arg on
4033         parameter 2. Remove default arg from friend in class.
4034
4035         * lyxlength.h (isValidLength): add default arg on parameter 2.
4036         Remove default arg from friend in class.
4037
4038         * text2.C (LyXText): adjust, initialize refresh_row.
4039         (init): adjust
4040         (removeRow): adjust
4041         (insertRow): adjust
4042         (insertParagraph): adjst
4043         (redoParagraphs): adjust
4044         (fullRebreak): adjust
4045         (updateCounters): adjust
4046         (deleteEmptyParagraphMechanism): first attempt at fixing a
4047         crashing bug.
4048
4049         * text.C (top_y): adjust
4050         (setHeightOfRow): adjust
4051         (getRow): adjust
4052         (getRowNearY): adjust
4053
4054         * lyxtext.h: include RowList.h
4055         (~LyXText): not needed anymore, deleted.
4056         (firstRow): modify for RowList
4057         (lastRow): new function
4058         Delete firstrow and lastrow class variables, add a Rowlist
4059         rowlist_ class variable.
4060
4061         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4062         paragraph is empty.
4063
4064         * RowList.C (insert): fix case where it == begin().
4065
4066 2003-03-26  Angus Leeming  <leeming@lyx.org>
4067
4068         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4069         the thesaurus dialog.
4070
4071 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4074
4075         * RowList.[Ch]: new files
4076
4077         * ParagraphList.C (erase): handle the case where it == begin
4078         correctly.
4079
4080 2003-03-25  John Levon  <levon@movementarian.org>
4081
4082         * Makefile.am:
4083         * aspell_local.h:
4084         * aspell.C: add new aspell support
4085
4086         * lyxrc.h:
4087         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4088         have it accessible.
4089
4090 2003-03-25  Angus Leeming  <leeming@lyx.org>
4091
4092         * lfuns.h:
4093         * LyXAction.C (init): new LFUN_INSET_INSERT.
4094
4095         * BufferView_pimpl.C (dispatch): split out part of the
4096         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4097
4098         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4099         LFUN_INSET_APPLY.
4100
4101 2003-03-25  Angus Leeming  <leeming@lyx.org>
4102
4103         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4104
4105 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4106
4107         * text2.C:
4108         * text3.C: remove useless row->height(0)
4109
4110 2003-03-25  John Levon  <levon@movementarian.org>
4111
4112         * lyxtext.h:
4113         * text2.C:
4114         * text3.C: rename the refreshing stuff to better names
4115
4116 2003-03-24  John Levon  <levon@movementarian.org>
4117
4118         * BufferView_pimpl.h:
4119         * BufferView_pimpl.C: update layout choice on a mouse
4120         press/release
4121
4122 2003-03-23  John Levon  <levon@movementarian.org>
4123
4124         * Makefile.am: fix commandtags.h reference
4125
4126 2003-03-22  John Levon  <levon@movementarian.org>
4127
4128         * BufferView_pimpl.C:
4129         * lyxtext.h:
4130         * rowpainter.C:
4131         * rowpainter.h:
4132         * text.C:
4133         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4134
4135 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * lyxtext.h:
4138         * text.C: take the rtl methods out of line
4139
4140 2003-03-21 André Pönitz <poenitz@gmx.net>
4141
4142         * metricsinfo.[Ch]: new files containing structures to be passed around
4143         during the two-phase-drawing...
4144
4145 2003-03-21 André Pönitz <poenitz@gmx.net>
4146
4147         * lyxtextclass.C: read 'environment' tag.
4148
4149 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4150
4151         * text2.C (removeRow): fix bug 964
4152
4153 2003-03-20  John Levon  <levon@movementarian.org>
4154
4155         * rowpainter.C:
4156         * text.C:
4157         * text2.C: paint cleanups. Inset::update() dropped font
4158         parameter
4159
4160 2003-03-19  John Levon  <levon@movementarian.org>
4161
4162         * lyxfunc.C: only fitcursor/markDirty if available()
4163
4164 2003-03-19  John Levon  <levon@movementarian.org>
4165
4166         * commandtags.h: rename to ...
4167
4168         * lfuns.h: ... this, and renumber / cleanup
4169
4170 2003-03-19  John Levon  <levon@movementarian.org>
4171
4172         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4173         fit the cursor after an lfun
4174
4175         * BufferView.h:
4176         * BufferView.C:
4177         * BufferView_pimpl.h:
4178         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4179
4180         * LyXAction.C: layout-character should have ReadOnly
4181
4182         * ParagraphParameters.C:
4183         * buffer.C:
4184         * bufferview_funcs.C:
4185         * lyx_cb.C:
4186         * lyxfind.C:
4187         * lyxtext.h:
4188         * text.C:
4189         * text2.C:
4190         * text3.C:
4191         * undo_funcs.C: changes from above
4192
4193 2003-03-18  John Levon  <levon@movementarian.org>
4194
4195         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4196         remove it from update()
4197
4198         * lyxfunc.C: update layout choice after an lfun
4199
4200         * text3.C: remove extra updateLayoutChoice()s
4201
4202 2003-03-18  John Levon  <levon@movementarian.org>
4203
4204         * text.C: top_y change means full repaint, fix
4205         a drawing bug with cursor movement
4206
4207 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * lyxtext.h:
4210         * text.C:
4211         * text2.C: anchor row on setCursor
4212
4213 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * lyxtext.h: remove almost all mutable keywords
4216         * text.C:
4217         * text2.C:
4218         * text3.C: remove const keywords accordingly
4219
4220 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4223         anon namespace
4224         (TeXEnvironment): ditto
4225         (TeXOnePar): ditto
4226
4227 2003-03-17  John Levon  <levon@movementarian.org>
4228
4229         * text.C (rowBreakPoint): remove attempt to fix displayed
4230         math insets inside a manual label
4231
4232 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * lyxtext.h: remove BufferView* as first arg from almost all class
4235         functions.
4236         * other files: adjust.
4237
4238 2003-03-17  John Levon  <levon@movementarian.org>
4239
4240         * lyxtext.h:
4241         * undo_funcs.C:
4242         * text2.C: more paint cleanups
4243
4244         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4245
4246         * rowpainter.h:
4247         * rowpainter.C: remove "smart" background painting code
4248
4249 2003-03-16  John Levon  <levon@movementarian.org>
4250
4251         * lyxtext.h:
4252         * text.C:
4253         * text2.C:
4254         * text3.C: add helper functions for setting refresh_row/y
4255
4256 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4257
4258         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4259         newline inset which *can* get inserted in the pass_thru layouts.
4260         This is primarily for literate documents.
4261
4262 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4263
4264         * buffer.C: increment LYX_FORMAT to 223
4265
4266 2003-03-14 André Pönitz <poenitz@gmx.net>
4267
4268         * textclass.h: prepare for environment handling, ws changes
4269         * lyxlayout.C: read latexheader and latexfooter tags
4270
4271 2003-03-14  John Levon  <levon@movementarian.org>
4272
4273         * text2.C: rewrite ::status() a bit
4274
4275 2003-03-13  John Levon  <levon@movementarian.org>
4276
4277         * lyxtext.h: add some docs
4278
4279 2003-03-13  John Levon  <levon@movementarian.org>
4280
4281         * lyxtext.h:
4282         * text.C:
4283         * text2.C:
4284         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4285
4286 2003-03-13  John Levon  <levon@movementarian.org>
4287
4288         * text3.C: fix appendix redrawing
4289
4290 2003-03-13  John Levon  <levon@movementarian.org>
4291
4292         * text.C (setHeightOfRow):
4293         * rowpainter.h:
4294         * rowpainter.C: make appendix mark have the text
4295           "Appendix" so the user knows what it is
4296
4297         * LColor.h:
4298         * LColor.C: s/appendixline/appendix/ from above
4299
4300 2003-03-13  John Levon  <levon@movementarian.org>
4301
4302         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4303
4304         * text.C: fix a getChar(pos) bug properly
4305
4306 2003-03-13  Angus Leeming  <leeming@lyx.org>
4307
4308         * commandtags.h:
4309         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4310         Probably only temporary. Let's see how things pan out.
4311
4312         * BufferView.C (unlockInset):
4313         * BufferView_pimpl.C (fitCursor):
4314         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4315
4316         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4317         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4318
4319         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4320         new functions that convert ParagraphParameters to and from a string.
4321
4322         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4323         BufferView::Pimpl's dispatch.
4324         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4325
4326 2003-03-13 André Pönitz <poenitz@gmx.net>
4327
4328         * lyxfunc.C:
4329         * text3.C:
4330         * factory.C: make it aware of InsetEnv
4331
4332 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4333
4334         * text2.C (setCursor): never ask for one past last
4335         (setCursor): add some debugging messages.
4336
4337         * text.C (singleWidth): never ask for one past last
4338         (singleWidth): ditto
4339         (leftMargin): ditto
4340         (rightMargin): ditto
4341         (rowBreakPoint): ditto
4342         (setHeightOfRow): ditto
4343         (prepareToPrint): ditto
4344
4345         * rowpainter.C (paintBackground): never ask for one past last
4346         (paintText): never ask for one past last
4347
4348         * paragraph_pimpl.C (getChar): make the assert stricter, never
4349         allow the one past last pos to be taken
4350
4351         * paragraph.C (getChar): ws changes only
4352
4353         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4354         (numberOfSeparators): ditto
4355         (numberOfHfills): ditto
4356
4357 2003-03-12  John Levon  <levon@movementarian.org>
4358
4359         * author.h:
4360         * author.C:
4361         * bufferparams.h:
4362         * bufferparams.C:
4363         * paragraph_funcs.C: fix per-buffer authorlists
4364
4365 2003-03-12  John Levon  <levon@movementarian.org>
4366
4367         * text.C: fix newline in right address
4368
4369 2003-03-12  Angus Leeming  <leeming@lyx.org>
4370
4371         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4372         duplicate those in LyXFunc::dispatch.
4373
4374         * commandtags.h:
4375         * LyXAction.C:
4376         * ToolbarDefaults.C:
4377         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4378         Add LFUN_FONTFREE_UPDATE.
4379
4380         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4381         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4382
4383         * bufferview_func.[Ch]: several new functions to facilliate
4384         transfer of data to and from the character dialog.
4385
4386 2003-03-12  John Levon  <levon@movementarian.org>
4387
4388         * buffer.C:
4389         * paragraph.h:
4390         * paragraph.C:
4391         * paragraph_funcs.C:
4392         * paragraph_pimpl.C:
4393         * sgml.C:
4394         * tabular.C:
4395         * text.C:
4396         * text3.C: remove META_NEWLINE in favour of an inset
4397
4398         * rowpainter.h:
4399         * rowpainter.C: remove paintNewline (done by inset)
4400
4401 2003-03-12  John Levon  <levon@movementarian.org>
4402
4403         * paragraph_pimpl.C: complain about bad getChar()s
4404         for a while at least
4405
4406 2003-03-12  John Levon  <levon@movementarian.org>
4407
4408         * buffer.h:
4409         * buffer.C: move paragraph read into a separate function,
4410         a little renaming to reflect that.
4411
4412         * bufferparams.h:
4413         * bufferparams.C: remove the author_ids map, not necessary now
4414
4415         * factory.h:
4416         * factory.C: moved Buffer::readInset to here
4417
4418         * paragraph_funcs.h:
4419         * paragraph_funcs.C: readParagraph free function moved from
4420         buffer.C
4421
4422         * tabular.C: name change
4423
4424 2003-03-12  John Levon  <levon@movementarian.org>
4425
4426         * buffer.C:
4427         * ParagraphParameters.C: move par params input to
4428         a read() method
4429
4430         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4431         behave like a normal read from the stream wrt reading
4432         a line vs. a \\token
4433
4434 2003-03-12  John Levon  <levon@movementarian.org>
4435
4436         * paragraph.C:
4437         * ParagraphParameters.h:
4438         * ParagraphParameters.C: move output code to a
4439         ::write() method
4440
4441 2003-03-12  John Levon  <levon@movementarian.org>
4442
4443         * BufferView.C (insertLyXFile):
4444         * buffer.h:
4445         * buffer.C:
4446         * tabular.C: use a parlist iterator for creating the
4447           document.
4448
4449 2003-03-12  John Levon  <levon@movementarian.org>
4450
4451         * buffer.C: make current_change static local not
4452           static file-scope
4453
4454 2003-03-12  John Levon  <levon@movementarian.org>
4455
4456         * buffer.C: fix insertStringAsLines for change tracking
4457
4458 2003-03-12  John Levon  <levon@movementarian.org>
4459
4460         * BufferView.C:
4461         * tabular.C:
4462         * buffer.h:
4463         * buffer.C:
4464         * bufferparams.h:
4465         * bufferparams.C: move author list into params. Rename some
4466           functions. Move the header reading into a separate token
4467           loop. Move the header token reading into BufferParams.
4468
4469 2003-03-12  John Levon  <levon@movementarian.org>
4470
4471         * changes.C: put debug inside lyxerr.debugging() checks
4472
4473 2003-03-11 André Pönitz <poenitz@gmx.net>
4474
4475         * factory.C: make it aware of InsetHFill
4476
4477 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4478
4479         * buffer.C (latexParagraphs): move function from here...
4480         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4481         args.
4482
4483 2003-03-10  Angus Leeming  <leeming@lyx.org>
4484
4485         * LyXAction.C (init): fix bug in poplating array with multiple entries
4486         with the same LFUN (spotted by JMarc).
4487
4488 2003-03-10  John Levon  <levon@movementarian.org>
4489
4490         * text.C:
4491         * text2.C: move getColumnNearX() near its
4492         only call site
4493
4494 2003-03-10  John Levon  <levon@movementarian.org>
4495
4496         * text.C: fix break before a minipage
4497
4498 2003-03-10  John Levon  <levon@movementarian.org>
4499
4500         * text.C: fix the last commit
4501
4502 2003-03-09  John Levon  <levon@movementarian.org>
4503
4504         * lyxtext.h:
4505         * text.C:
4506         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4507         bug 365 (don't break before insets unless needed). Don't
4508         return a value > last under any circumstances.
4509
4510 2003-03-09  Angus Leeming  <leeming@lyx.org>
4511
4512         * BufferView_pimpl.C (trackChanges, dispatch): call
4513         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4514
4515 2003-03-09  Angus Leeming  <leeming@lyx.org>
4516
4517         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4518         than Dialogs::showAboutlyx().
4519
4520 2003-03-09  Angus Leeming  <leeming@lyx.org>
4521
4522         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4523         than Dialogs::showTabularCreate().
4524
4525 2003-03-09  John Levon  <levon@movementarian.org>
4526
4527         * lyxtext.h:
4528         * text.C:
4529         * text2.C: 3rd arg to nextBreakPoint was always the same.
4530           Use references.
4531
4532 2003-03-08  John Levon  <levon@movementarian.org>
4533
4534         * lyxrow.C:
4535         * paragraph.C:
4536         * paragraph.h:
4537         * rowpainter.C:
4538         * text.C:
4539         * text2.C: Remove the "main" bit from the "main body"
4540           notion.
4541
4542 2003-03-08  John Levon  <levon@movementarian.org>
4543
4544         * text.C (leftMargin): The left margin of an empty
4545         manual label paragraph should not include the label width
4546         string length.
4547
4548         * text.C (prepareToPrint): don't attempt to measure hfills
4549         for empty manual label paragraphs - the answer should be 0
4550
4551 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * CutAndPaste.C: remove commented code and reindent.
4554
4555 2003-03-08  John Levon  <levon@movementarian.org>
4556
4557         * lyxfunc.h:
4558         * lyxfunc.C: move reloadBuffer()
4559
4560         * BufferView.h:
4561         * BufferView.C: to here
4562
4563         * lyxvc.C: add comment
4564
4565         * vc-backend.h:
4566         * vc-backend.C: call bv->reload() to avoid
4567           getStatus() check on MENURELOAD
4568
4569 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4570
4571         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4572         to an old format .dep file.
4573
4574 2003-03-07  Angus Leeming  <leeming@lyx.org>
4575
4576         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4577         when the LFUN_MOUSE_RELEASE should have been handled by
4578         inset->localDispatch.
4579
4580 2003-03-07  Angus Leeming  <leeming@lyx.org>
4581
4582         * BufferView_pimpl.C (dispatch):
4583         * LyXAction.C (init):
4584         * ToolbarDefaults.C (init):
4585         * commandtags.h:
4586         * lyxfunc.C (getStatus):
4587         remove LFUN_INSET_GRAPHICS.
4588
4589         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4590
4591 2003-03-07  Angus Leeming  <leeming@lyx.org>
4592
4593         * commandtags.h:
4594         * LyXAction.C (init):
4595         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4596
4597         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4598
4599         * commandtags.h:
4600         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4601
4602         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4603         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4604
4605 2003-03-07  Angus Leeming  <leeming@lyx.org>
4606
4607         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4608         remove "ert".
4609
4610 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * ParagraphList.C (front): new function
4613         (back): implement
4614
4615 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4618         and top_row_offset_. removed var first_y.
4619         * text.C (top_y):
4620         * text2.C (LyXText, removeRow):
4621         * text3.C:
4622         * BufferView_pimpl.C:
4623         use these methods instead of using first_y
4624
4625 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text2.C (pasteSelection): adjust for checkPastePossible
4628
4629         * CutAndPaste.C: remove Paragraph * buf and replace with
4630         ParagraphList paragraphs.
4631         (DeleteBuffer): delete
4632         (cutSelection): change the tc type to textclass_type
4633         (copySelection): change the tc type to textclass_type
4634         (copySelection): adjust for ParagraphList
4635         (pasteSelection): change the tc type to textclass_type
4636         (pasteSelection): adjust for Paragraphlist
4637         (nrOfParagraphs): simplify for ParagraphList
4638         (checkPastePossible): simplify for ParagraphList
4639         (checkPastePossible): remove unused arg
4640
4641         * ParagraphList.C (insert): handle the case where there are no
4642         paragraphs yet.
4643
4644         * CutAndPaste.h: make CutAndPaste a namespace.
4645
4646         * text3.C (dispatch): adjust
4647
4648         * text.C (breakParagraph): add a ParagraphList as arg
4649
4650         * paragraph_funcs.C (breakParagraph): change to take a
4651         BufferParams and a ParagraphList as args.
4652         (breakParagraphConservative): ditto
4653         (mergeParagraph): ditto
4654         (TeXDeeper): add a ParagraphList arg
4655         (TeXEnvironment): ditto
4656         (TeXOnePar): ditto
4657
4658         * buffer.C (readLyXformat2): adjust
4659         (insertStringAsLines): adjust
4660         (latexParagraphs): adjust
4661
4662         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4663         (cutSelection): adjust
4664         (pasteSelection): adjust
4665
4666         * BufferView_pimpl.C (insertInset): adjust
4667
4668 2003-03-05  Angus Leeming  <leeming@lyx.org>
4669
4670         * commandtags.h:
4671         * LyXAction.C (init):
4672         * BufferView_pimpl.C (dispatch):
4673         * lyxfunc.C (getStatus):
4674         remove LFUN_CHILD_INSERT.
4675
4676         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4677
4678 2003-03-05  Angus Leeming  <leeming@lyx.org>
4679
4680         * commandtags.h:
4681         * LyXAction.C (init):
4682         * src/factory.C (createInset):
4683         * lyxfunc.C (getStatus):
4684         * text3.C (dispatch):
4685         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4686
4687         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4688
4689 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4690
4691         * ParagraphList.C (insert): handle insert right before end()
4692         (erase): fix cases where it can be first or last paragraph.
4693
4694 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4697         Paragraph::next and Paragraph::previous
4698         (TeXOnePar): ditto
4699
4700         * text.C (breakParagraph): adjust
4701
4702         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4703         BufferParams& as arg.
4704         (breakParagraph): use ParagraphList::insert
4705         (breakParagraphConservative): take a Buffer* instead of a
4706         BufferParams& as arg.
4707         (breakParagraphConservative): use ParagraphList::insert.
4708
4709         * buffer.C (insertStringAsLines): un-const it
4710         (insertStringAsLines): adjust
4711
4712         * ParagraphList.C (insert): new function
4713
4714         * CutAndPaste.C (pasteSelection): adjust
4715
4716         * text.C (backspace): adjust
4717
4718         * tabular.C (SetMultiColumn): adjust
4719
4720         * CutAndPaste.C (cutSelection): adjust
4721         (pasteSelection): adjust
4722
4723         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4724         Buffer const * as arg
4725
4726         * ParagraphList.C (erase): new function
4727         * paragraph_funcs.C (mergeParagraph): use it
4728         (mergeParagraph): make it take a Buffer* instead of a
4729         BufferParams* as arg
4730
4731         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4732         as arg
4733         (breakParagraphConservative): ditto
4734
4735         * paragraph.h: remove the breakParagraph friend
4736
4737         * paragraph.C (eraseIntern): new function
4738         (setChange): new function
4739
4740         * paragraph_funcs.C (mergeParagraph): make it take a
4741         ParagraphList::iterator instead of a Paragraph *, adjust
4742         accordingly.
4743
4744         * paragraph.h: move an #endif so that the change tracking stuff
4745         also works in the NO_NEXT case.
4746
4747 2003-03-04  Angus Leeming  <leeming@lyx.org>
4748
4749         * commandtags.h:
4750         * LyXAction.C: new LFUN_INSET_MODIFY.
4751
4752         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4753         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4754
4755 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * several files: ws changes only
4758
4759         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4760         (TeXEnvironment): ditto
4761         (TeXDeeper): ditto
4762
4763         * buffer.C (makeLaTeXFile): adjust
4764         (latexParagraphs): make it take ParagraphList::iterator as args
4765
4766 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * buffer.C (latexParagraphs): adjust
4769
4770         * paragraph.C (TeXOnePar): move function...
4771         (optArgInset): move function...
4772         (TeXEnvironment): move function...
4773         * paragraph_pimpl.C (TeXDeeper): move function...
4774         * paragraph_funcs.C: ...here
4775
4776         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4777
4778 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * buffer.C (readInset): remove compability code for old Figure and
4781         InsetInfo insets
4782
4783 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * buffer.C: ws changes
4786         (readInset):
4787
4788         * BufferView_pimpl.C: ditto
4789         * author.C: ditto
4790         * buffer.h: ditto
4791         * bufferlist.h: ditto
4792         * changes.h: ditto
4793         * lyxfunc.C: ditto
4794
4795 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4796
4797         * converter.[Ch]: split into itself +
4798         * graph.[Ch]
4799         * format.[Ch]
4800         * Makefile.am: += graph.[Ch] + format.[Ch]
4801         * MenuBackend.C
4802         * buffer.C
4803         * exporter.C
4804         * importer.C
4805         * lyx_main.C
4806         * lyxfunc.C
4807         * lyxrc.C: added #include "format.h"
4808
4809 2003-02-27  Angus Leeming  <leeming@lyx.org>
4810
4811         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4812           a label.
4813
4814         * factory.C (createInset): add "label" to the factory.
4815
4816         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4817           string and do no more.
4818
4819 2003-02-27  Angus Leeming  <leeming@lyx.org>
4820
4821         * commandtags.h:
4822         * LyXAction.C (init):
4823         * factory.C (createInset):
4824         * BufferView_pimpl.C (dispatch):
4825           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4826
4827         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4828
4829         * lyxfunc.C (dispatch):
4830         * text3.C (dispatch): pass name to params2string.
4831
4832 2003-02-26  Angus Leeming  <leeming@lyx.org>
4833
4834         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4835           blocks together.
4836           Rearrange the ~includes. Strip out the unnecessary ones.
4837
4838         * factory.C (createInset): reformat.
4839           create new insets for the various LFUN_XYZ_APPLY lfuns.
4840
4841 2003-02-26  John Levon  <levon@movementarian.org>
4842
4843         * lyxrow.h:
4844         * lyxrow.C: add isParStart,isParEnd helpers
4845
4846         * paragraph.h: make isInserted/DeletedText take refs
4847
4848         * paragraph_funcs.h:
4849         * paragraph_funcs.C: remove #if 0'd code
4850
4851         * lyxtext.h:
4852         * text3.C:
4853         * text2.C:
4854         * text.C: use lyxrow helpers above.
4855           Move draw and paint routines to RowPainter.
4856           Make several methods use refs not pointers.
4857           Make backgroundColor() const.
4858           Add markChangeInDraw(), isInInset().
4859           Merge changeRegionCase into changeCase.
4860           Make workWidth() shouldn't-happen code into an Assert.
4861
4862         * rowpainter.h:
4863         * rowpainter.C: new class for painting a row.
4864
4865         * vspace.h:
4866         * vspace.C: make inPixels take a ref
4867
4868 2003-02-26  Angus Leeming  <leeming@lyx.org>
4869
4870         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4871         LFUN_REF_APPLY.
4872
4873 2003-02-25  John Levon  <levon@movementarian.org>
4874
4875         * ispell.C: give the forked command a more accurate name
4876
4877 2003-02-22  John Levon  <levon@movementarian.org>
4878
4879         * toc.h:
4880         * toc.C: make TocItem store an id not a Paragraph *
4881           (bug #913)
4882
4883 2003-02-21  Angus Leeming  <leeming@lyx.org>
4884
4885         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4886           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4887           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4888           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4889           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4890           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4891
4892         * BufferView_pimpl.C (dispatch):
4893         * LyXAction.C (init):
4894         * factory.C (createInset):
4895         * lyxfunc.C (getStatus, dispatch):
4896         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4897
4898 2003-02-21  Angus Leeming  <leeming@lyx.org>
4899
4900         * BufferView_pimpl.C (MenuInsertLyXFile):
4901         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4902         * lyxfunc.C (menuNew, open, doImport):
4903           no longer pass a LyXView & to fileDlg.
4904
4905 2003-02-21  Angus Leeming  <leeming@lyx.org>
4906
4907         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4908         * LyXAction.C: change, BIBKEY to BIBITEM.
4909         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4910         Change InsetBibKey to InsetBibitem.
4911         Change BIBKEY_CODE to BIBITEM_CODE.
4912         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4913         * factory.C: replace insetbib.h with insetbibitem.h.
4914         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4915         * paragraph.C: replace insetbib.h with insetbibitem.h.
4916         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4917         Change bibkey() to bibitem().
4918         * text.C: remove insetbib.h.
4919         * text2.C: replace insetbib.h with insetbibitem.h.
4920         change bibkey() to bibitem().
4921         * text3.C: remove insetbib.h.
4922         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4923
4924 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4925
4926         * lyxrc.C (output): enclose user email in quotes (in case there are
4927         several words)
4928
4929 2003-02-18  John Levon  <levon@movementarian.org>
4930
4931         * buffer.h: add std::
4932
4933 2003-02-17  John Levon  <levon@movementarian.org>
4934
4935         * SpellBase.h:
4936         * ispell.h:
4937         * ispell.C:
4938         * pspell.h:
4939         * pspell.C: reworking. Especially in ispell, a large
4940           number of clean ups and bug fixes.
4941
4942         * lyxfunc.C: fix revert to behave sensibly
4943
4944 2003-02-17 André Pönitz <poenitz@gmx.net>
4945
4946         * LyXAction.C:
4947         * commandtags.h: new LFUN_INSERT_BIBKEY
4948
4949         * layout.h:
4950         * lyxlayout.C:
4951         * buffer.C:
4952         * factory.C:
4953         * text.C:
4954         * text2.C:
4955         * text3.C:
4956         * paragraph.[Ch]:
4957         * paragraph_func.C: remove special bibkey handling
4958
4959 2003-02-17  John Levon  <levon@movementarian.org>
4960
4961         * text.C (Delete): fix case where delete at the end of
4962           the very first paragraph would not merge the pars
4963
4964 2003-02-17  John Levon  <levon@movementarian.org>
4965
4966         * lyxrow.C: fix lastPrintablePos()
4967
4968 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4969
4970         * bufferparams.C (writeLaTeX): add a std:here
4971
4972         * buffer.C: and remove a using directive there
4973
4974 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4975
4976         * buffer.C (makeLaTeXFile): move the code that generates the
4977           preamble...
4978
4979         * bufferparams.C (writeLaTeX): ... in this new method
4980
4981         * LaTeXFeatures.C (getEncodingSet): make const
4982           (getLanguages): make const
4983
4984         * MenuBackend.C (binding): returns the binding associated to this
4985           action
4986           (add): sets the status of each item by calling getStatus. Adds
4987           some intelligence.
4988           (read): add support for OptSubMenu
4989           (expand): remove extra separator at the end of expanded menu
4990
4991 2003-02-15  John Levon  <levon@movementarian.org>
4992
4993         * BufferView.C:
4994         * BufferView_pimpl.C:
4995         * bufferlist.h:
4996         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4997           inset code that had no actual effect. Remove unneeded status
4998           code.
4999
5000 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5001
5002         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5003           in preamble
5004
5005 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5006
5007         * text.C (drawLengthMarker): also draw an arrow marker for
5008           symbolic lengths (medskip...)
5009
5010 2003-02-14  John Levon  <levon@movementarian.org>
5011
5012         * tabular.h:
5013         * tabular.C: better method names
5014
5015 2003-02-14  John Levon  <levon@movementarian.org>
5016
5017         * BufferView_pimpl.C:
5018         * bufferlist.C:
5019         * buffer.C:
5020         * converter.C:
5021         * lyx_cb.C:
5022         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5023           it's a more accurate name. Remove some pointless uses.
5024
5025 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5026
5027         * text2.C (LyXText): change order of initilizers to shut off
5028           warnings
5029
5030 2003-02-14  John Levon  <levon@movementarian.org>
5031
5032         * buffer.C: use ParIterator for getParFromID()
5033
5034         * paragraph.h:
5035         * paragraph.C:
5036         * paragraph_pimpl.h:
5037         * paragraph_pimpl.C: remove unused getParFromID()
5038
5039 2003-02-14  John Levon  <levon@movementarian.org>
5040
5041         * buffer.C: remove some very old #if 0'd parse code
5042
5043 2003-02-13  John Levon  <levon@movementarian.org>
5044
5045         * text.h:
5046         * text.C:
5047         * text2.C: move hfillExpansion(), numberOfSeparators(),
5048           rowLast(), rowLastPrintable(), numberofHfills(),
5049           numberOfLabelHfills() ...
5050
5051         * lyxrow.h:
5052         * lyxrow.C: ... to member functions here.
5053
5054         * paragraph.h:
5055         * paragraph.C:
5056         * lyxtext.h:
5057         * text.C: remove LyXText::beginningOfMainBody(), and call
5058           p->beginningOfMainBody() directly. Move the check for
5059           LABEL_MANUAL into the latter.
5060
5061         * text.h:
5062         * text.C:
5063         * text2.C:
5064         * vspace.C:
5065         * BufferView.h:
5066         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5067
5068         * text.h:
5069         * text.C:
5070         * text2.C:
5071         * text3.C:
5072         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5073           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5074
5075 2003-02-13  John Levon  <levon@movementarian.org>
5076
5077         * CutAndPaste.C: remove debug
5078
5079 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5080
5081         * paragraph.C (asString): remove two unused variables
5082
5083         * lyxtextclass.C (readTitleType):
5084           (Read):
5085           (LyXTextClass): handle new members titletype_ and titlename_
5086
5087         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5088
5089 2003-02-09  John Levon  <levon@movementarian.org>
5090
5091         * buffer.h:
5092         * buffer.C: replace hand-coded list with a map for the dep clean
5093
5094 2003-02-08  John Levon  <levon@movementarian.org>
5095
5096         * LaTeX.C: consolidate code into showRunMessage() helper
5097
5098 2003-02-08  John Levon  <levon@movementarian.org>
5099
5100         * lyxfind.C:
5101         * lyxtext.h:
5102         * text2.C:
5103         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5104           and pass the size in explicitly
5105
5106         * BufferView_pimpl.h:
5107         * BufferView_pimpl.C:
5108         * BufferView.h:
5109         * BufferView.C: add getCurrentChange()
5110
5111         * BufferView_pimpl.h:
5112         * BufferView_pimpl.C: handle change lfuns
5113
5114         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5115           for changes. Mark pasted paragraphs as new.
5116
5117         * support/lyxtime.h:
5118         * support/lyxtime.C:
5119         * DepTable.C: abstract time_t as lyx::time_type
5120
5121         * LColor.h:
5122         * LColor.C: add colours for new text, deleted text, changebars
5123
5124         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5125           package use "usenames" option.
5126
5127         * commandtags.h:
5128         * lyxfunc.C:
5129         * LyXAction.C: add change lfuns
5130
5131         * Makefile.am:
5132         * author.h:
5133         * author.C: author handling
5134
5135         * buffer.h:
5136         * buffer.C: add a per-buffer author list, with first entry as
5137           current author. Handle new .lyx tokens for change tracking. Output
5138           author list to .lyx file. Output dvipost stuff to .tex preamble.
5139           Bump lyx format to 222.
5140
5141         * bufferlist.h:
5142         * bufferlist.C: add setCurrentAuthor() to reset current author details
5143           in all buffers.
5144
5145         * bufferparams.h:
5146         * bufferparams.C: add param for tracking
5147
5148         * bufferview_funcs.C: output change info in minibuffer
5149
5150         * Makefile.am:
5151         * changes.h:
5152         * changes.C: add change-tracking structure
5153
5154         * debug.h:
5155         * debug.C: add CHANGES debug flag
5156
5157         * lyxfind.h:
5158         * lyxfind.C: add code for finding the next change piece
5159
5160         * lyxrc.h:
5161         * lyxrc.C: add user_name and user_email
5162
5163         * lyxrow.h:
5164         * lyxrow.C: add a metric for the top of the text line
5165
5166         * lyxtext.h:
5167         * text.C: implement accept/rejectChange()
5168
5169         * lyxtext.h:
5170         * text.C: paint changebars. Paint new/deleted text in the chosen
5171         colours. Strike through deleted text.
5172
5173         * paragraph.h:
5174         * paragraph.C:
5175         * paragraph_pimpl.h:
5176         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5177           in the current change to the insert functions. Rework erase to
5178           mark text as deleted, adding an eraseIntern() and a range-based
5179           erase(). Implement per-paragraph change lookup and
5180           accept/reject.
5181
5182         * paragraph_funcs.C: Fixup paste for change tracking.
5183
5184         * tabular.C: mark added row/columns as new.
5185
5186         * text.C: fix rowLast() to never return -1. Don't allow
5187           spellchecking of deleted text. Track transpose changes. Don't
5188           allow paragraph break or merge where appropriate.
5189
5190         * text2.C: leave cursor at end of selection after a cut.
5191
5192 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5193
5194         * text.C (getLengthMarkerHeight):
5195         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5196         visible on screen too.
5197
5198 2003-02-07  John Levon  <levon@movementarian.org>
5199
5200         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5201
5202 2003-02-05  Angus Leeming  <leeming@lyx.org>
5203
5204         * lyxserver.C (read_ready): revert my patch of 11 September last year
5205         as it sends PC cpu through the roof. Presumably this means that
5206         the lyxserver will no longer run on an Alpha...
5207
5208 2003-01-30  Angus Leeming  <leeming@lyx.org>
5209
5210         * factory.C (createInset): create an InsetCommandParam of type "index"
5211         and use it to 'do the right thing'.
5212
5213         * text2.C (getStringToIndex): ensure that cursor position is always
5214         reset to the reset_cursor position.
5215
5216 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5217
5218         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5219         disabled.
5220
5221 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5222
5223         * bufferview.C:
5224         * lyxcb.C:
5225         * lyxfunc.C: Output messages with identical spelling, punctuation,
5226         and spaces
5227
5228 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5229
5230         * MenuBackend.C (expandFormats): List only viewable export formats
5231         in "View" menu
5232
5233         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5234         message
5235
5236         * lyxfunc.C (getStatus): Make sure that formats other than
5237         "fax" can also be disabled
5238
5239 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5240
5241         * text3.C (dispatch): put the lfuns that insert insets in 3
5242         groups, and call doInsertInset with appropriate arguments.
5243         (doInsertInset): new function, that creates an inset and inserts
5244         it according to some boolean parameters.
5245
5246 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * buffer.C (readFile): remember to pass on 'par' when calling
5249         readFile recursively.
5250
5251 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5252
5253         * MenuBackend.C (expandFormats): add "..." to import formats.
5254
5255 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5256
5257         * paragraph.C (asString): Remove XForms RTL hacks.
5258
5259 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5260         * buffer.C: fix typo
5261
5262 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * Makefile.am (LIBS): delete var
5265         (lyx_LDADD): add @LIBS@ here instead.
5266
5267 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5268
5269         * Clarify the meaning of "wheel mouse jump"
5270
5271 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5272
5273         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5274         tabular in a float
5275
5276 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5277
5278         * importer.C (Loaders): do not preallocate 3 elements in the
5279         vector, since one ends up with 6 elements otherwise
5280
5281 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5282
5283         * DepTable.C (write): write the file name as last element of the
5284         .dep file (because it may contain spaces)
5285         (read): read info in the right order
5286
5287 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5288
5289         * paragraph_pimpl.C (simpleTeXBlanks):
5290         (simpleTeXSpecialChars):
5291         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5292
5293         * tabular.C (latex): add some missing case statements. Reindent.
5294
5295         * MenuBackend.C (expandToc): remove unused variable.
5296
5297 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5298
5299         * LColor.C:
5300         * LaTeX.C:
5301         * LyXAction.C:
5302         * MenuBackend.C:
5303         * buffer.C:
5304         * exporter.C:
5305         * lyxfunc.C:
5306         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5307         and the like.
5308
5309 2003-01-05  John Levon  <levon@movementarian.org>
5310
5311         * BufferView.h:
5312         * BufferView.C: add getEncoding()
5313
5314         * kbsequence.h:
5315         * kbsequence.C: do not store last keypress
5316
5317         * lyxfunc.h:
5318         * lyxfunc.C: store last keypress here instead. Pass encoding
5319           to getISOEncoded()
5320
5321 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5322
5323         * lyx_main.C (init): remove annoying error message when following
5324         symbolic links (bug #780)
5325
5326 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5327
5328         * text.C (insertChar):
5329         * lyxrc.C (getDescription): remove extra spaces
5330
5331 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5332
5333         * lyxrc.C (getDescription): remove extra spaces
5334
5335 2002-12-20  John Levon  <levon@movementarian.org>
5336
5337         * text3.C: hack fix for page up/down across tall rows
5338
5339 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5340
5341         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5342         not been invoked
5343
5344 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5345
5346         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5347         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5348         thesaurus is not compiled in
5349
5350 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5351
5352         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5353
5354 2002-12-16  Angus Leeming  <leeming@lyx.org>
5355
5356         * lyxrc.[Ch]:
5357         * lyx_main.C (init): remove override_x_deadkeys stuff.
5358
5359 2002-12-12  John Levon  <levon@movementarian.org>
5360
5361         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5362           insert. Only remove shift modifier under strict
5363           circumstances.
5364
5365 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * MenuBackend.C (expandToc): fix crash.
5368
5369 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * MenuBackend.C (expandToc): gettext on float names.
5372
5373 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5374
5375         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5376         implement bool empty() [bug 490]
5377
5378 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5381
5382 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * several files: ws changes
5385
5386 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * text2.C (setCounter): clean up a bit, use boost.format.
5389         (updateCounters): initialize par upon declaration.
5390
5391         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5392         if the layout exists. We do not just store the layout any more.
5393         (SwitchLayoutsBetweenClasses): use boost.format
5394
5395 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5396
5397         * converter.C (convert): if from and to files are the same, use a
5398         temporary files as intermediary
5399
5400 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5401
5402         * commandtags.h:
5403         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5404
5405 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5406
5407         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5408
5409 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * tabular.C (asciiPrintCell): use string(size, char) instead of
5412         explicit loop.
5413
5414         * sgml.C (openTag): fix order of arguments to string constructor
5415         (closeTag): ditto
5416
5417         * lyxfunc.C (dispatch): use boost.format
5418
5419         * lots of files: change "c" -> 'c'
5420
5421 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5422
5423         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5424
5425 2002-11-25  Angus Leeming  <leeming@lyx.org>
5426
5427         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5428
5429         * lyx_main.C (init): compile fix.
5430
5431 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * lyx_cb.C (start): boost.formatify
5434         do not include <iostream>
5435
5436         * lengthcommon.C: ws only
5437
5438         * boost-inst.C,BoostFormat.h: add more explict instantations
5439
5440 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * lots of files: handle USE_BOOST_FORMAT
5443
5444 2002-11-21  John Levon  <levon@movementarian.org>
5445
5446         * pspell.C: fix compile
5447
5448 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5449
5450         * lyxfunc.C (dispatch): use boost::format
5451         (open): ditto
5452         (doImport): ditto
5453
5454         * lyxfont.C (stateText): use boost::format
5455
5456         * lyx_main.C (LyX): use boost::format
5457         (init): ditto
5458         (queryUserLyXDir): ditto
5459         (readRcFile): ditto
5460         (parse_dbg): ditto
5461         (typedef boost::function): use the recommened syntax.
5462
5463         * importer.C (Import): use boost::format
5464
5465         * debug.C (showLevel): use boost::format
5466
5467         * converter.C (view): use boost::format
5468         (convert): ditto
5469         (move): ditto
5470         (scanLog): ditto
5471
5472         * bufferview_funcs.C (currentState): use boost::format
5473
5474         * bufferlist.C (emergencyWrite): use boost::format
5475
5476         * buffer.C (readLyXformat2): use boost::format
5477         (parseSingleLyXformat2Token): ditto
5478
5479         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5480
5481         * LaTeX.C (run): use boost::format
5482
5483         * Chktex.C (scanLogFile): use boost::format
5484
5485         * BufferView_pimpl.C (savePosition): use boost::format
5486         (restorePosition): ditto
5487         (MenuInsertLyXFile): ditto
5488
5489         * BoostFormat.h: help file for explicit instation.
5490
5491 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5492
5493         * tabular.C (latex): Support for block alignment in fixed width
5494         columns.
5495
5496 2002-11-17  John Levon  <levon@movementarian.org>
5497
5498         * BufferView_pimpl.C:
5499         * lyx_cb.C:
5500         * lyxfunc.C: split filedialog into open/save
5501
5502 2002-11-08  Juergen Vigna  <jug@sad.it>
5503
5504         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5505         by my last patch (hopefully).
5506
5507 2002-11-08  John Levon  <levon@movementarian.org>
5508
5509         * iterators.h:
5510         * iterators.C:
5511         * buffer.h:
5512         * buffer.C:
5513         * paragraph.h:
5514         * paragraph.C:
5515         * toc.h:
5516         * toc.C: ParConstIterator, and use it (from Lars)
5517
5518 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5519
5520         * lyxtextclass.[Ch]: revise and add doxygen comments
5521
5522 2002-11-07  John Levon  <levon@movementarian.org>
5523
5524         * text.C: fix progress value for spellchecker
5525
5526         * toc.C: fix navigate menu for insetwrap inside minipage
5527
5528         * paragraph_funcs.C: added FIXME for suspect code
5529
5530 2002-11-07  John Levon  <levon@movementarian.org>
5531
5532         * BufferView_pimpl.C: fix redrawing of insets
5533           on buffer switch
5534
5535 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5536
5537         * text2.C (updateCounters): fix bug 668
5538
5539 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5540
5541         * text3.C (dispatch): Do not make the buffer dirty when moving the
5542         cursor.
5543
5544 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * vc-backend.C: STRCONV
5547         (scanMaster): ditto
5548
5549         * text2.C (setCounter): STRCONV
5550
5551         * paragraph.C (asString): STRCONV
5552
5553         * lyxlength.C (asString): STRCONV
5554         (asLatexString): ditto
5555
5556         * lyxgluelength.C (asString): STRCONV
5557         (asLatexString): ditto
5558
5559         * lyxfunc.C (dispatch): STRCONV
5560         (open): ditto
5561
5562         * lyxfont.C (stateText): STRCONV
5563
5564         * importer.C (Import): STRCONV
5565
5566         * counters.C (labelItem): STRCONV
5567         (numberLabel): ditto
5568         (numberLabel): remove unused ostringstream o
5569
5570         * chset.C: STRCONV
5571         (loadFile): ditto
5572
5573         * bufferview_funcs.C (currentState): STRCONV
5574
5575         * buffer.C (readFile): STRCONV
5576         (asciiParagraph): ditto
5577         (makeLaTeXFile): ditto
5578
5579         * Spacing.C (writeEnvirBegin): STRCONV
5580
5581         * LaTeXFeatures.C (getLanguages): STRCONV
5582         (getPackages): ditto
5583         (getMacros): ditto
5584         (getBabelOptions): ditto
5585         (getTClassPreamble): ditto
5586         (getLyXSGMLEntities): ditto
5587         (getIncludedFiles): ditto
5588
5589         * LaTeX.C: STRCONV
5590         (run): ditto
5591         (scanAuxFile): ditto
5592         (deplog): ditto
5593
5594         * LString.h: add the STRCONV macros
5595
5596         * BufferView_pimpl.C (savePosition): STRCONV
5597         (restorePosition): ditto
5598         (MenuInsertLyXFile): ditto
5599
5600         * vc-backend.C (scanMaster): change from submatch[...] to
5601         submatch.str(...)
5602
5603         * funcrequest.C: include config.h
5604
5605         * factory.C: include config.h
5606
5607         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5608
5609         * box.C: include config.h
5610
5611         * LaTeX.C (scanAuxFile): change from submatch[...] to
5612         submatch.str(...)
5613         (deplog): ditto
5614
5615 2002-10-25  Angus Leeming  <leeming@lyx.org>
5616
5617         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5618
5619         * ispell.[Ch] (setError): new method.
5620         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5621         Use setError() insetead of goto END.
5622
5623         * lyx_cb.C (AutoSave): move out child process into new class
5624         AutoSaveBuffer.
5625
5626 2002-10-30  John Levon  <levon@movementarian.org>
5627
5628         * text3.C: make start appendix undoable
5629
5630 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5631
5632         * lyxlength.C (inPixels): Fix returned value.
5633
5634         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5635         environment.
5636
5637 2002-10-24  Angus Leeming  <leeming@lyx.org>
5638
5639         * lyxgluelength.h: no need to forward declare BufferParams
5640         or BufferView, so don't.
5641
5642 2002-10-21  John Levon  <levon@movementarian.org>
5643
5644         * BufferView.C: menuUndo ->undo, redo
5645
5646         * BufferView.h: document, remove dead, make some methods private
5647
5648         * paragraph_funcs.h:
5649         * paragraph_funcs.C:
5650         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5651
5652         * buffer.h:
5653         * buffer.C:
5654         * sgml.h:
5655         * sgml.C: move sgml open/close tag into sgml.C
5656
5657         * bufferview_funcs.h: unused prototype
5658
5659         * lyxfunc.h:
5660         * lyxfunc.C: remove unused
5661
5662         * lyxtext.h:
5663         * text.C: remove unused
5664
5665 2002-10-21  John Levon  <levon@movementarian.org>
5666
5667         * BufferView.h:
5668         * BufferView.C:
5669         * BufferView_pimpl.h:
5670         * BufferView_pimpl.C: fix mouse wheel handling based on
5671           patch from Darren Freeman
5672
5673 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5674
5675         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5676
5677 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5678
5679         * lyxlength.C (inPixels): Fix hanfling of negative length.
5680         Fix LyXLength::MU case.
5681
5682 2002-10-16  John Levon  <levon@movementarian.org>
5683
5684         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5685
5686 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5687
5688         * converter.C (view): add support for $$i (file name) and $$p
5689         (file path) for the viewer command. If $$i is not specified, then
5690         it is appended to the command (for compatibility with old syntax)
5691
5692 2002-10-14  Juergen Vigna  <jug@sad.it>
5693
5694         * undo_funcs.C (textHandleUndo): alter the order in which the
5695         new undopar is added to the LyXText, as we have to set first
5696         the right prev/next and then add it as otherwise the rebuild of
5697         LyXText is not correct. Also reset the cursor to the right paragraph,
5698         with this IMO we could remove the hack in "redoParagraphs()".
5699
5700 2002-10-09  Angus Leeming  <leeming@lyx.org>
5701
5702         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5703         to turn off an optimisation if a new inset is to be inserted.
5704
5705 2002-10-11 André Pönitz <poenitz@gmx.net>
5706
5707         * lyxtext.h: make some functions public to allow access
5708         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5709
5710 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5711
5712         * text3.C (dispatch): when changing layout, avoid an infinite loop
5713         [bug #652]
5714
5715 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5716
5717         * lyxrc.C (read): treat a viewer or converter command of "none" as
5718         if it were empty.
5719
5720         * MenuBackend.C (expandFormats): for an update, also allow the
5721         formats that are not viewable
5722
5723         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5724         script if it is newer than the lyxrc.defaults in user directory
5725
5726 2002-10-07 André Pönitz <poenitz@gmx.net>
5727
5728         * text.C: Vitaly Lipatov's small i18n fix
5729
5730 2002-09-25  Angus Leeming  <leeming@lyx.org>
5731
5732         * ispell.h: doxygen fix.
5733
5734 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5735
5736         * buffer.h (readFile): Add a new argument to the method, to allow
5737         reading of old-format templates.
5738
5739 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5740
5741         * toc.C (getTocList): Get TOC from InsetWrap.
5742
5743 2002-09-16  John Levon  <levon@movementarian.org>
5744
5745         * lyxfunc.C: check tabular for cut/copy too
5746
5747 2002-09-12  John Levon  <levon@movementarian.org>
5748
5749         * LyXAction.C: tidy
5750
5751         * factory.h:
5752         * factory.C: add header
5753
5754         * paragraph_funcs.h:
5755         * paragraph_funcs.C: cleanup
5756
5757 2002-09-11  John Levon  <levon@movementarian.org>
5758
5759         * PrinterParams.h: odd/even default to true
5760
5761 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5762
5763         * PrinterParams.h: update printer parameters for new xforms dialog
5764
5765 2002-09-11  Angus Leeming  <leeming@lyx.org>
5766
5767         * lyxserver.C (read_ready): re-write to make it more transparent
5768         and to make it work in coherent fashion under Tru64 Unix.
5769
5770 2002-09-11  André Pönitz <poenitz@gmx.net>
5771
5772         * commandtags.h:
5773         * LyXAction.C:
5774         * text3.C: implement LFUN_WORDSEL
5775
5776 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5779         make floatlist_ a boost::shared_ptr<FloatList>
5780
5781         * lyxtextclass.C: include FloatList.h
5782         (LyXTextClass): initialize floatlist_
5783         (TextClassTags): add TC_NOFLOAT
5784         (Read): match "nofloat" to TC_NOFLOAT and use it.
5785         (readFloat): modify call to floatlist_
5786         (floats): ditto
5787         (floats): ditto
5788
5789         * FloatList.[Ch] (FloatList): remove commented out float
5790         initialization.
5791         (erase): new function
5792
5793 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5794
5795         * MenuBackend.C (expandToc): fix crash when there is no document
5796         open
5797
5798 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5799
5800         * many files: Add insetwrap.
5801
5802 2002-09-09  John Levon  <levon@movementarian.org>
5803
5804         * text2.C: remove confusing and awkward depth wraparound
5805
5806 2002-09-09  John Levon  <levon@movementarian.org>
5807
5808         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5809
5810         * buffer.h:
5811         * buffer.C: remove getIncludeonlyList()
5812
5813         * paragraph.C:
5814         * lyxfunc.C: remove headers
5815
5816 2002-09-09  Juergen Vigna  <jug@sad.it>
5817
5818         * text.C (getColumnNearX): fix form Michael this is most
5819         probably a cut&paste bug.
5820
5821 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5822
5823         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5824
5825         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5826         references, ws changes.
5827
5828         * text2.C (init): update counters after init
5829         (insertParagraph): no need to set counter on idividual paragraphs.
5830         (setCounter): access the counters object in the textclass object
5831         on in the buffer object.
5832         (updateCounters): ditto
5833
5834         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5835         shared_ptr<Counters> to avoid loading counters.h in all
5836         compilation units.
5837         (LyXTextClass): initialize ctrs_
5838         (TextClassTags): add TC_COUNTER, and ...
5839         (Read): use it here.
5840         (CounterTags): new tags
5841         (readCounter): new function
5842         (counters): new funtion
5843         (defaultLayoutName): return a const reference
5844
5845         * counters.C (Counters): remove contructor
5846         (newCounter): remove a couple of unneeded statements.
5847         (newCounter): simplify a bit.
5848         (numberLabel): some small formatting changes.
5849
5850         * buffer.[Ch]: remove all traces of counters, move the Counters
5851         object to the LyXTextClass.
5852
5853 2002-09-06  Alain Castera  <castera@in2p3.fr>
5854
5855         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5856         package to set the horizontal alignment on fixed width columns.
5857
5858         * lyx_sty.C:
5859         * lyx_sty.h: added tabularnewline macro def.
5860
5861         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5862
5863 2002-09-06  John Levon  <levon@movementarian.org>
5864
5865         * LyXAction.C: tooltips for sub/superscript
5866
5867         * MenuBackend.C: a bit more verbose
5868
5869         * lyxfunc.C: tiny clean
5870
5871         * undo_funcs.C: document undo_frozen
5872
5873 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * counters.C (Counters): add missing algorithm counter.
5876
5877         * text2.C (setCounter): lookup the counter with layouts latexname
5878         instead of by section number.
5879         (setCounter): use a hackish way to lookup the correct enum
5880         counter.
5881         a float name->type change
5882         reset enum couners with counter name directly instead of depth value.
5883
5884         * counters.C (Counters): remove the push_backs, change to use the
5885         float type not the float name.
5886         (labelItem): remove unused string, float name->type change
5887
5888         * counters.h: don't include vector, loose the enums and sects vectors
5889
5890 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5893         (Read): add float->TC_FLOAT to textclassTags
5894         (Read): and handle it in the switch
5895         (readFloat): new function
5896
5897         * FloatList.C (FloatList): comment out the hardcoded float
5898         definitions.
5899
5900         * lyxlayout.h: ws change.
5901
5902 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5903
5904         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5905
5906 2002-09-03  Angus Leeming  <leeming@lyx.org>
5907
5908         * BufferView_pimpl.h: qualified name is not allowed in member
5909         declaration: WorkArea & Pimpl::workarea() const;
5910
5911         * factory.C: added using std::endl directive.
5912
5913         * text3.C: added using std::find and std::vector directives.
5914
5915 2002-08-29  André Pönitz <poenitz@gmx.net>
5916
5917         * lyxtext.h:
5918         * text2.C: remove unused member number_of_rows
5919
5920         * Makefile.am:
5921         * BufferView2.C: remove file, move contents to...
5922         * BufferView.C: ... here
5923
5924         * BufferView_pimpl.C:
5925         * factory.C: move more inset creation to factory
5926
5927         * vspace.C: avoid direct usage of LyXText, ws changes
5928
5929         * BufferView.[Ch]:
5930                 don't provide direct access to WorkArea, use two simple
5931                 acessors haveSelction() and workHeight() instead
5932
5933
5934 2002-08-29  John Levon  <levon@movementarian.org>
5935
5936         * BufferView_pimpl.C (dispatch): do not continue when
5937           no buffer
5938
5939 2002-08-28  André Pönitz <poenitz@gmx.net>
5940
5941         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5942
5943         * BufferView.h:
5944         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5945
5946 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5947
5948         * buffer.C: increment LYX_FORMAT to 221
5949
5950         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5951         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5952
5953         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5954
5955         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5956
5957 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5958
5959         * factory.C (createInset): use LyXTextClass::floats
5960
5961         * MenuBackend.C (expandFloatListInsert):
5962         (expandFloatInsert):
5963         (expandToc):
5964
5965         * text2.C (setCounter):
5966
5967         * LaTeXFeatures.C (useFloat):
5968         (getFloatDefinitions):
5969
5970         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5971
5972         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5973         floatlist_, with accessor floats().
5974
5975         * FloatList.h: remove global FloatList
5976
5977 2002-08-26  André Pönitz <poenitz@gmx.net>
5978
5979         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5980
5981         * BufferView.h:
5982         * BufferView2.C:
5983         * BufferView_pimpl.C:
5984         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5985
5986 2002-08-25  John Levon  <levon@movementarian.org>
5987
5988         * LyXAction.C: fix margin note description
5989
5990 2002-08-24  John Levon  <levon@movementarian.org>
5991
5992         * buffer.C:
5993         * bufferlist.C:
5994         * bufferview_funcs.C:
5995         * lyxfont.C:
5996         * undo_funcs.C: cleanups
5997
5998         * lyxfunc.C: disable CUT/COPY when no selection
5999
6000 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6001
6002         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6003         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6004
6005         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6006         Add backward compatibility to "mono", "gray" and "no".
6007
6008 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6009
6010         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6011         (and file_format >= 200).
6012
6013 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6014
6015         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6016
6017 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6018
6019         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6020
6021 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6022
6023         * BufferView_pimpl.C:
6024         * LyXAction.C:
6025         * buffer.C:
6026         * commandtags.h:
6027         * lyxfunc.C:
6028         * paragraph.[Ch]:
6029         * text2.C:
6030         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6031         inset and code to make it  work with the paragraph code. The inset
6032         can be anywhere in the paragraph, but will only do the expected
6033         thing in LaTeX if the layout file contains the parameter line
6034                         OptionalArgs    1
6035         (or more generally, a nonzero value) for that layout.
6036
6037 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * paragraph.h: remove the declaration of undefined counters class
6040         function.
6041
6042 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6043
6044         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6045         Dr. Richard Hawkins.
6046
6047 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6048
6049         * paragraph_funcs.h: remove some unneeded includes
6050
6051         * text.C (backspace): pasteParagraph now in global scipe
6052
6053         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6054         (pasteSelection): ditto
6055
6056         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6057         * paragraph_funcs.C (pasteParagraph): ... here
6058
6059 2002-08-20  André Pönitz <poenitz@gmx.net>
6060
6061         * commandtags.h: new LFUNs for swapping/copying table row/colums
6062
6063         * LyXAction.C:
6064         * lyxfunc.C: support for new lfuns
6065
6066 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * tabular.C:
6069         * buffer.[Ch]: remove NO_COMPABILITY stuff
6070
6071 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6072
6073         * boost.C (throw_exception): new file, with helper function for
6074         boost compiled without exceptions.
6075
6076         * paragraph.h:
6077         * lyxlength.C:
6078         * buffer.C:
6079         * ParameterStruct.h:
6080         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6081
6082         * bufferlist.C (emergencyWriteAll): use boost bind
6083
6084         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6085
6086         * text.C: include paragraph_funcs.h
6087         (breakParagraph): breakParagraph is now in global scope
6088
6089         * paragraph_funcs.[Ch]: new files
6090
6091         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6092         global scope
6093
6094         * buffer.C: include paragraph_funcs.h
6095         (insertStringAsLines): breakParagraph is now in global scope
6096
6097         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6098         paragraph_funcs.C
6099
6100         * CutAndPaste.C: include paragraph_funcs.h
6101         (cutSelection): breakParagraphConservative is now in global scope
6102         (pasteSelection): ditto
6103
6104         * buffer.h: declare oprator== and operator!= for
6105         Buffer::inset_iterator
6106
6107         * bufferlist.C (emergencyWrite): don't use fmt(...)
6108
6109         * text3.C: add using std::endl
6110
6111         * BufferView.C (moveCursorUpdate): remove default arg
6112
6113 2002-08-20  André Pönitz <poenitz@gmx.net>
6114
6115         * buffer.[Ch]: move inline functions to .C
6116
6117         * BufferView2.C:
6118         * BufferView_pimpl.C:
6119         * text.C:
6120         * buffer.[Ch]: use improved inset_iterator
6121
6122         * buffer.C:
6123         * paragraph.[Ch]: write one paragraph at a time
6124
6125 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6126
6127         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6128         style if style is not specified.
6129
6130 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6131
6132         * text2.C (setCounter): when searching for right label for a
6133         caption, make sure to recurse to parent insets (so that a caption
6134         in a minipage in a figure float works) (bug #568)
6135
6136 2002-08-20  André Pönitz <poenitz@gmx.net>
6137
6138         * text3.C: new file for LyXText::dispatch() and helpers
6139
6140         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6141
6142         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6143
6144 2002-08-19  André Pönitz <poenitz@gmx.net>
6145
6146         * lyxtext.h:
6147         * text.C: new LyXText::dispatch()
6148
6149         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6150
6151 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6152
6153         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6154
6155         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6156         Hebrew text.
6157
6158 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6159
6160         * Makefile.am: use $(variables) instead of @substitutions@
6161
6162 2002-08-15  André Pönitz <poenitz@gmx.net>
6163
6164         * lyxfunc.C:
6165         * BufferView_pimpl.C: streamlining mathed <-> outer world
6166         interaction
6167
6168         * commandtags.h:
6169         * LyXAction.C: remove unused LFUN_MATH
6170
6171 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6174
6175 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * paragraph.C (Paragraph): reformat a bit
6178         (cutIntoMinibuffer): use builtin InsetList function instad of
6179         doing it manually.
6180         (getInset): ditto
6181
6182         * buffer.C: include boost/bind.hpp, add using std::for_each
6183         (writeFileAscii): use ParagraphList iterators
6184         (validate): use for_each for validate traversal of paragraphs
6185         (getBibkeyList): use ParagraphList iterators
6186         (resizeInsets): use for_each to resizeInsetsLyXText for all
6187         paragraphs.
6188         (getParFromID): use ParagraphList iterators
6189
6190         * BufferView2.C (lockInset): use paragraph list and iterators
6191
6192 2002-08-14  John Levon  <levon@movementarian.org>
6193
6194         * lyxserver.C: remove spurious xforms include
6195
6196 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6197
6198         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6199
6200 2002-08-13  André Pönitz <poenitz@gmx.net>
6201
6202         * LyXAction.[Ch]:
6203         * lyxfunc.C: further cleaning
6204
6205 2002-08-13  André Pönitz <poenitz@gmx.net>
6206
6207         * funcrequest.h: new constructor
6208
6209         * funcrequest.C: move stuff here from .h
6210
6211         * Makefile.am:
6212         * BufferView_pimpl.C:
6213         * LyXAction.C:
6214         * toc.C:
6215         * lyxfunc.C: subsequent changes
6216
6217         * lyxfunc.h: new view() member function
6218
6219         * lyxfunc.C: subsequent changes
6220
6221 2002-08-13  Angus Leeming  <leeming@lyx.org>
6222
6223         * BufferView2.C:
6224         * BufferView_pimpl.C:
6225         * buffer.C:
6226         * converter.C:
6227         * importer.C:
6228         * lyxfunc.C:
6229         * lyxvc.C:
6230         * toc.C:
6231         * vc-backend.C:
6232         changes due to the changed LyXView interface that now returns references
6233         to member variables not pointers.
6234
6235 2002-08-13  Angus Leeming  <leeming@lyx.org>
6236
6237         * WordLangTuple (word, lang_code): return references to strings,
6238         not strings.
6239
6240         * BufferView.h:
6241         * SpellBase.h:
6242         * lyxtext.h: forward-declare WordLangTuple.
6243
6244         * BufferView2.C:
6245         * ispell.C:
6246         * pspell.C:
6247         * text.C: #include "WordLangTuple.h".
6248
6249         * lyxtext.h:
6250         * text.C: (selectNextWordToSpellcheck): constify return type.
6251
6252 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6253
6254         * buffer.C:
6255         * buffer.h:
6256         * lyxtext.h:
6257         * paragraph.C:
6258         * paragraph_pimpl.h:
6259         * text.C:
6260         * text2.C:
6261         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6262         suggested by Angus.
6263         Made updateCounter always count from start of buffer, and removed
6264         second argument (par).
6265         Reverted floats number display to '#'. Perhaps I'll try again when the
6266         code base is sanitized a bit.
6267
6268 2002-08-12  Angus Leeming  <leeming@lyx.org>
6269
6270         * buffer.[Ch] (getLabelList): constify.
6271
6272 2002-08-07  André Pönitz <poenitz@gmx.net>
6273
6274         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6275
6276         * funcrequest.h: extension to keep mouse (x,y) position
6277
6278 2002-08-12  Juergen Vigna  <jug@sad.it>
6279
6280         * BufferView2.C (insertErrors): forbid undo when inserting error
6281         insets.
6282
6283         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6284
6285 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * ParagraphList.[Ch]: new files
6288
6289         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6290
6291         * BufferView2.C (lockInset): ParagraphList changes
6292         * toc.C: ditto
6293         * text2.C: ditto
6294         * bufferlist.C: ditto
6295         * buffer.h: ditto
6296         * buffer.C: ditto
6297
6298 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6301         unused class variable counter_,
6302
6303         * paragraph.[Ch] (getFirstCounter): delete unused function
6304
6305         * counters.C: include LAssert.h
6306         (reset): add a new function with no arg, change other version to
6307         not have def. arg and to not allow empty arg.
6308
6309         * text2.C (setCounter): remove empty arg from call to Counters::reset
6310
6311 2002-08-11  John Levon  <levon@movementarian.org>
6312
6313         * Makefile.am: add WordLangTuple.h
6314
6315 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6318         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6319
6320         * insets/insettext.C: InsetList changes
6321
6322         * graphics/GraphicsSupport.C (operator()): InsetList changes
6323
6324         * toc.C (getTocList): InsetList changes
6325
6326         * paragraph_pimpl.[Ch]: InsetList changes
6327
6328         * paragraph.[Ch]: InsetList changes
6329
6330         * buffer.C (inset_iterator): InsetList changes
6331         (setParagraph): ditto
6332         * buffer.h (inset_iterator): ditto
6333         * iterators.C (operator++): ditto
6334         * iterators.h: ditto
6335
6336         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6337
6338         * InsetList.[Ch]: new files, most InsetList handling moved out of
6339         paragraph.C.
6340
6341         * BufferView2.C (removeAutoInsets): InsetList changes
6342         (lockInset): ditto
6343         (ChangeInsets): ditto
6344
6345 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * paragraph_pimpl.h (empty): new function
6348
6349         * paragraph.[Ch] (empty): new function
6350
6351         * other files: use the new Paragraph::empty function
6352
6353 2002-08-09  John Levon  <levon@movementarian.org>
6354
6355         * lyxtext.h: remove unused refresh_height
6356
6357 2002-08-09  John Levon  <levon@movementarian.org>
6358
6359         * Makefile.am:
6360         * sgml.h:
6361         * sgml.C:
6362         * buffer.C:
6363         * paragraph.h:
6364         * paragraph.C: move sgml char escaping out of paragraph
6365
6366         * paragraph.h:
6367         * paragraph.C: remove id setter
6368
6369         * buffer.C:
6370         * paragraph.C:
6371         * paragraph_pimpl.C: remove dead tex_code_break_column
6372
6373         * bufferview_funcs.C: small cleanup
6374
6375         * lyxfunc.C: remove dead proto
6376
6377         * lyxtext.h: make some stuff private. Remove some dead stuff.
6378
6379         * lyxgluelength.C: make as[LyX]String() readable
6380
6381 2002-08-08  John Levon  <levon@movementarian.org>
6382
6383         * LyXAction.h:
6384         * LyXAction.C:
6385         * MenuBackend.C:
6386         * ToolbarDefaults.C:
6387         * lyxfunc.C:
6388         * lyxrc.C:
6389         * toc.C: lyxaction cleanup
6390
6391 2002-08-08  John Levon  <levon@movementarian.org>
6392
6393         * BufferView2.C: small cleanup
6394
6395         * lyxfind.h:
6396         * lyxfind.C: move unnecessary header into the .C
6397
6398 2002-08-08  John Levon  <levon@movementarian.org>
6399
6400         * funcrequest.h: just tedious nonsense
6401
6402         * lyx_main.h:
6403         * lyx_main.C: cleanups
6404
6405         * buffer.C:
6406         * vspace.C: remove dead header lyx_main.h
6407
6408 2002-08-07  Angus Leeming  <leeming@lyx.org>
6409
6410         * Paragraph.[Ch]:
6411         * paragraph_pimpl.h:
6412         Forward declare class Counters in paragraph.h by moving the ctrs member
6413         variable into Paragraph::Pimpl.
6414         (counters): new method, returning a reference to pimpl_->ctrs.
6415
6416         * text2.C: ensuing changes.
6417
6418 2002-08-07  John Levon  <levon@movementarian.org>
6419
6420         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6421
6422         * BufferView_pimpl.C: announce X selection on double/triple
6423           click
6424
6425         * lyx_main.C: use correct bool in batch dispatch
6426
6427         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6428
6429 2002-08-07  André Pönitz <poenitz@gmx.net>
6430
6431         * funcrequest.h: new class to wrap a kb_action and its argument
6432
6433         * BufferView.[Ch]:
6434         * BufferView_pimpl[Ch]:
6435         * LaTeX.C:
6436         * LyXAction.[Ch]:
6437         * lyxfunc.[Ch]:
6438         * lyxrc.C: subsequent changes
6439
6440
6441 2002-08-07  John Levon  <levon@movementarian.org>
6442
6443         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6444           document options change.
6445
6446 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6447
6448         * counters.[Ch]
6449         * text2.C
6450         * paragraph.[Ch]
6451         * makefile.am: move counters functionality over from
6452         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6453
6454 2002-08-06  John Levon  <levon@movementarian.org>
6455
6456         * WordLangTuple.h: new file for word + language code tuple
6457
6458         * SpellBase.h:
6459         * pspell.h:
6460         * pspell.C:
6461         * ispell.h:
6462         * ispell.C:
6463         * lyxtext.h:
6464         * text.C:
6465         * text2.C:
6466         * BufferView.h:
6467         * BufferView2.C: use WordLangTuple
6468
6469         * layout.h:
6470         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6471
6472 2002-08-06  John Levon  <levon@movementarian.org>
6473
6474         * lyx_main.C: fix cmdline batch handling
6475
6476 2002-08-06  André Pönitz <poenitz@gmx.net>
6477
6478         * lyxrc.C: set default for show_banner to true
6479
6480 2002-08-06  John Levon  <levon@movementarian.org>
6481
6482         * pspell.C: fix a crash, and allow new aspell to work
6483
6484 2002-08-06  John Levon  <levon@movementarian.org>
6485
6486         * lyxfunc.C:
6487         * kbmap.C: small cleanup
6488
6489         * vspace.h:
6490         * vspace.C: add const
6491
6492 2002-08-05  John Levon  <levon@movementarian.org>
6493
6494         * LyXAction.C: back to tabular-insert
6495
6496 2002-08-04  John Levon  <levon@movementarian.org>
6497
6498         * BufferView.h:
6499         * BufferView.C: cosmetic change
6500
6501         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6502
6503         * bufferlist.C:
6504         * buffer.h:
6505         * buffer.C:
6506         * lyxcb.h:
6507         * lyxcb.C:
6508         * lyxserver.C:
6509         * lyxvc.C:
6510         * vc-backend.C:
6511         * BufferView2.C: purge all "Lyx" not "LyX" strings
6512
6513         * lyxcursor.h:
6514         * lyxcursor.C: attempt to add some documentation
6515
6516         * lyxfunc.C:
6517         * commandtags.h:
6518         * LyXAction.C:
6519         * ToolbarDefaults.C:
6520         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6521           merge with LFUN_TABULAR_INSERT
6522
6523         * Makefile.am:
6524         * SpellBase.h:
6525         * ispell.h:
6526         * ispell.C:
6527         * pspell.h:
6528         * pspell.C: split up i/pspell implementations into separate
6529           files, many cleanups
6530
6531         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6532
6533         * text2.C: some cleanup
6534
6535         * lyxfunc.C: don't check for isp_command == "none" any more, it
6536           didn't make any sense
6537
6538 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6539
6540         * counters.[Ch]
6541         * text2.C
6542         * paragraph.[Ch]
6543         * makefile.am: move counters functionality over
6544         from text2.C/paragraph.[Ch] to counters.[Ch], and
6545         make proper C++.
6546 2002-08-02  John Levon  <levon@movementarian.org>
6547
6548         * buffer.C: s/lyxconvert/lyx2lyx/
6549
6550 2002-08-02  Angus Leeming  <leeming@lyx.org>
6551
6552         * lyxlex.C: revert John's change as it breaks reading of the user
6553         preamble.
6554
6555 2002-08-02  Angus Leeming  <leeming@lyx.org>
6556
6557         * importer.C (Import):
6558         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6559         changes due to LyXView::view() now returning a boost::shared_ptr.
6560
6561 2002-08-02  John Levon  <levon@movementarian.org>
6562
6563         * lyxlex.C: small cleanup
6564
6565 2002-08-02  John Levon  <levon@movementarian.org>
6566
6567         * text2.C (status): small cleanup, no logic change
6568
6569 2002-08-01  John Levon  <levon@movementarian.org>
6570
6571         * buffer.h:
6572         * buffer.C (writeFile): don't output alerts, caller
6573           handles this
6574
6575         * bufferlist.C:
6576         * lyx_cb.C: from above
6577
6578         * lyxfunc.C: allow to open non-existent files
6579
6580 2002-07-31  John Levon  <levon@movementarian.org>
6581
6582         * lyxserver.C: don't let incidental errors get
6583           in the way (errno)
6584
6585 2002-07-30  John Levon  <levon@movementarian.org>
6586
6587         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6588
6589 2002-07-30  John Levon  <levon@movementarian.org>
6590
6591         * lyxserver.h:
6592         * lyxserver.C: remove I/O callback too
6593
6594 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6595
6596         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6597         log.
6598
6599 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * many files: strip,frontStrip -> trim,ltrim,rtrim
6602
6603 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * PrinterParams.h: remove extern containsOnly, and include
6606         support/lstrings.h instead.
6607
6608         * LaTeX.C (scanAuxFile): modify because of strip changes
6609         (deplog): ditto
6610         * buffer.C (makeLaTeXFile): ditto
6611         * bufferparams.C (writeFile): ditt
6612         * lyxfont.C (stateText): ditto
6613         * lyxserver.C (read_ready): ditto
6614         * vc-backend.C (scanMaster): ditto
6615
6616         * BufferView_pimpl.h: ws changes
6617
6618         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6619
6620 2002-07-26  André Pönitz <poenitz@gmx.net>
6621
6622         * kb_sequence.C: remove unnedred usings
6623
6624 2002-07-26  Juergen Vigna  <jug@sad.it>
6625
6626         * lyxfind.C (LyXReplace): we have to check better if the returned
6627         text is not of theLockingInset()->getLockingInset().
6628
6629 2002-07-25  Juergen Vigna  <jug@sad.it>
6630
6631         * lyxfind.C (LyXReplace): don't replace if we don't get the
6632         right LyXText.
6633
6634         * undo_funcs.C (createUndo): remove debugging code.
6635
6636 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6637
6638         * buffer.C (parseSingleLyXformat2Token): Use default placement
6639         when reading old floats.
6640
6641         * FloatList.C (FloatList): Change the default placement of figure
6642         and tables to "tbp".
6643
6644 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6645
6646         * MenuBackend.C: using std::max
6647
6648 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6649
6650         * MenuBackend.C (expandToc):
6651         (expandToc2): code moved from xforms menu frontend. It is now
6652         generic and TOCs are transparent to menu frontends.
6653
6654 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6655
6656         * toc.C (getTocList): protect against buf=0
6657
6658         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6659         Menu as first parameter. Now, this calls itself recursively to
6660         expand a whole tree (this will be useful for TOC handling)
6661         (expandFloatInsert): remove 'wide' version of floats
6662
6663         * MenuBackend.h (submenuname): returns the name of the submenu.
6664         (submenu): returns the submenu itself, provided it has been
6665         created by MenuBackend::expand
6666
6667 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6668
6669         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6670         insets which have noFontChange == true. (bug #172)
6671
6672 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6673
6674         * BufferView_pimpl.C: add connection objects and use them...
6675         (Pimpl): here.
6676
6677 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6678
6679         * MenuBackend.C (expandLastfiles):
6680         (expandDocuments):
6681         (expandFormats):
6682         (expandFloatListInsert):
6683         (expandFloatInsert):
6684         (expand): split expand in parts
6685
6686 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6687
6688         * lyx_gui.C: use lyx_gui::exit()
6689
6690 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6691
6692         * LyXAction.C: show the failing pseudo action
6693
6694 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6695
6696         * buffer.C (readFile): Run the lyxconvert script in order to read
6697         old files.
6698
6699 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6700
6701         * LyXAction.C:
6702         * commandtags.h:
6703         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6704
6705 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6706
6707         * LyXAction.C:
6708         * commandtags.h:
6709         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6710
6711 2002-07-22  Herbert Voss  <voss@lyx.org>
6712
6713         * lengthcommon.C:
6714         * lyxlength.[Ch]: add support for the vertical lengths
6715
6716 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6717
6718         * toc.[Ch]: std:: fixes
6719
6720 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6721
6722         * lyxrc.C: do not include lyx_main.h
6723
6724         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6725         for layouts
6726
6727         * lyxrc.C:
6728         * encoding.C:
6729         * bufferlist.C:
6730         * BufferView2.C: include "lyxlex.h"
6731
6732         * tabular.h:
6733         * bufferparams.h: do not #include "lyxlex.h"
6734
6735         * lyxtextclasslist.C (Add): remove method
6736         (classlist): renamed to classlist_
6737
6738         * paragraph_pimpl.C:
6739         * paragraph.C:
6740         * text2.C:
6741         * CutAndPaste.C:
6742         * bufferview_funcs.C:
6743         * bufferlist.C:
6744         * text.C:
6745         * LaTeXFeatures.C:
6746         * buffer.C:
6747         * toc.C (getTocList): use BufferParams::getLyXTextClass
6748
6749         * toc.C (getTocList): use InsetFloat::addToToc
6750
6751         * toc.[Ch]: new files, containing helper functions to handle table
6752         of contents
6753
6754         * lyxfunc.C (dispatch): no need to remove spaces around command
6755         given as a string
6756         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6757         first command of the sequence; it is not very clever, but I do not
6758         have a better idea, actually
6759
6760         * LyXAction.C (LookupFunc): make sure to remove space at the
6761         beginning and end of the command
6762
6763 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6764
6765         * MenuBackend.C (getMenubar): new method: return the menubar of
6766         this menu set
6767         (read): treat differently reading of menu and menubar (in
6768         particular, the menubar has no name now)
6769         (Menu::menubar): remove
6770
6771         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6772         saving is finished
6773
6774 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6775
6776         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6777         a bibitem inset in a RTL paragraph.
6778
6779 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6780
6781         * paragraph_pimpl.C: constify
6782
6783         * BufferView_pimpl.C:
6784         * LaTeX.C:
6785         * lyxfunc.C: fix dispatch in a nicer way
6786
6787 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6788
6789         * lyxfunc.C (dispatch):
6790         * BufferView_pimpl.C:
6791         * BufferView_pimpl.h:
6792         * BufferView.C:
6793         * BufferView.h: rename Dispatch() to dispatch()
6794
6795         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6796
6797         * lyxlayout.C (Read): honor DependsOn tag
6798
6799         * lyxlayout.[Ch] (depends_on): new method
6800
6801         * version.C.in: update lyx_docversion
6802
6803         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6804
6805         * paragraph.C (validate): remove from here...
6806         * paragraph_pimpl.C (validate): ... and move here
6807         (isTextAt): make it const
6808
6809         * buffer.C (getLists): ws cleanup
6810
6811 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6812
6813         * language.C (read): Use iso8859-1 encoding in latex_lang
6814         (this prevents LyX from crashing when using iso10646-1 encoding).
6815
6816 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6817
6818         * text2.C (toggleInset): if cursor is inside an inset, close the
6819         inset and leave cursor _after_ it
6820
6821 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6822
6823         * lyxfunc.C: move minibuffer completion handling out of here
6824
6825 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6826
6827         * BufferView_pimpl.C:
6828         * LaTeX.C: fix dispatch calls
6829
6830 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6831
6832         * text.C (drawChars): Fix Arabic text rendering.
6833
6834 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * LyXAction.C:
6837         * commandtags.h:
6838         * lyxfunc.C: remove message-push/pop
6839
6840         * lyxserver.C:
6841         * lyxfunc.h:
6842         * lyxfunc.C: rationalise some code by removing verboseDispatch
6843           in favour of a bool argument to dispatch()
6844
6845 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6846
6847         * lyx_main.C (init): make sure to read symlinks as absolute paths
6848
6849 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6850
6851         * lyxfunc.h:
6852         * lyxfunc.C: no need for commandshortcut to be a member
6853
6854 2002-07-15  André Pönitz <poenitz@gmx.net>
6855
6856         * converter.C: add support for $$s (scripts from lib/scripts dir)
6857         * lyx_main.C: white space
6858
6859 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6860
6861         * bufferlist.C:
6862         * lyxrc.h:
6863         * lyxrc.C: remove second exit confirmation
6864
6865 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6866
6867         * BufferView.h:
6868         * BufferView.C:
6869         * BufferView2.C:
6870         * BufferView_pimpl.h:
6871         * BufferView_pimpl.C:
6872         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6873
6874 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6875
6876         * MenuBackend.C (expand): add numeric shortcuts to document menu
6877
6878         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6879
6880 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6881
6882         * lyxfont.C (setLyXFamily):
6883         (setLyXSeries):
6884         (setLyXShape):
6885         (setLyXSize):
6886         (setLyXMisc):
6887         (lyxRead):
6888         * debug.C (value):
6889         * buffer.C (asciiParagraph): use ascii_lowercase
6890
6891 2002-07-15  Mike Fabian  <mfabian@suse.de>
6892
6893         * lyxlex_pimpl.C (search_kw):
6894         * lyxlex.C (getLongString):
6895         * converter.h (operator<):
6896         * converter.C (operator<):
6897         * buffer.C (parseSingleLyXformat2Token):
6898         (asciiParagraph):
6899         * ToolbarDefaults.C (read):
6900         * MenuBackend.C (checkShortcuts):
6901         (read):
6902         * LColor.C (getFromGUIName):
6903         (getFromLyXName): use the compare_ascii_no_case instead of
6904         compare_no_case, because in turkish, 'i' is not the lowercase
6905         version of 'I', and thus turkish locale breaks parsing of tags.
6906
6907 2002-07-16  Angus Leeming  <leeming@lyx.org>
6908
6909         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6910         now takes a Buffer const & argument.
6911
6912 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6913
6914         * BufferView.C (resize): check there's a buffer to resize
6915
6916 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6917
6918         * lyxfunc.C: remove dead code
6919
6920         * lyxserver.h:
6921         * lyxserver.C: use lyx_guii::set_read_callback
6922
6923 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6924
6925         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6926         an inset in a RTL paragraph.
6927
6928 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6929
6930         * lyxfunc.C: repaint after a font size update
6931
6932 2002-07-15  André Pönitz <poenitz@gmx.net>
6933
6934         * lyxlength.C: inBP should be able to return negative values
6935
6936 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6937
6938         * lyxfunc.C: use lyx_gui::update_fonts()
6939
6940 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6941
6942         * lyxfunc.C: use lyx_gui::update_color()
6943
6944 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6945
6946         * bufferlist.C:
6947         * lyxfunc.h:
6948         * lyxfunc.C:
6949         * lyxrc.h:
6950         * lyxrc.C: remove file->new asks for name option, and let
6951           buffer-new take an argument
6952
6953 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6954
6955         * BufferView_pimpl.C: remove unneeded extra repaint()
6956
6957 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6958
6959         * LyXAction.C: allow command-sequence with NoBuffer
6960
6961         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6962
6963 2002-07-10  Angus Leeming  <leeming@lyx.org>
6964
6965         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6966
6967 2002-07-09  Angus Leeming  <leeming@lyx.org>
6968
6969         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6970
6971 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6972
6973         * lengthcommon.h: whitespace
6974
6975         * lyxfunc.C: update scrollbar after goto paragraph
6976
6977         * lyxtext.h: factor out page break drawing, and fix it so
6978           page break/added space paints as selected nicely
6979
6980 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6981
6982         * BufferView_pimpl.C: add FIXMEs, clean up a little
6983
6984 2002-07-09  André Pönitz <poenitz@gmx.net>
6985
6986         * lyxfont.[Ch]: support for wasy symbols
6987
6988 2002-07-08  André Pönitz <poenitz@gmx.net>
6989
6990         * BufferView_pimpl.C: apply John's patch for #93.
6991
6992 2002-07-05  Angus Leeming  <leeming@lyx.org>
6993
6994         * BufferView_pimpl.C (buffer): generate previews if desired.
6995
6996         * LColor.h: add "preview" to the color enum.
6997
6998         * LColor.C (LColor): add a corresponding entry to the items array.
6999
7000         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7001         with this buffer.
7002
7003 2002-07-05  Angus Leeming  <leeming@lyx.org>
7004
7005         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7006         The body of the code is now in the method that is passed an ostream &
7007         rather than a file name.
7008         Pass an additional only_preamble parameter, useful for the forthcoming
7009         preview stuff.
7010
7011 2002-07-03  André Pönitz <poenitz@gmx.net>
7012
7013         * lyxfunc.C: simplify getStatus() a bit for math stuff
7014
7015 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7016
7017         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7018
7019 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7020
7021         * text.C (changeRegionCase): do not change case of all the
7022         document when region ends at paragraph end (bug #461)
7023
7024 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7025
7026         * paragraph.C (startTeXParParams):
7027         (endTeXParParams): add \protect when necessary
7028
7029 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7030
7031         * BufferView_pimpl.C (workAreaExpose): remove warning
7032
7033 2002-06-27  Angus Leeming  <leeming@lyx.org>
7034
7035         * Makefile.am: add lyxlayout_ptr_fwd.h.
7036
7037 2002-06-26  André Pönitz <poenitz@gmx.net>
7038
7039         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7040
7041 2002-06-25  Angus Leeming  <leeming@lyx.org>
7042
7043         * lyxfunc.C (dispatch): Comment out the call to
7044         grfx::GCache::changeDisplay. The method no longer exists now that the
7045         pixmap generation part of the graphics loader has been moved into
7046         InsetGraphics.
7047
7048 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7049
7050         * text2.C: layout as layout
7051
7052         * text.C: layout as layout
7053
7054         * tabular.C (OldFormatRead): layout as layout
7055
7056         * paragraph_pimpl.C (TeXDeeper): layout as layout
7057         (realizeFont): layout as layout
7058
7059         * paragraph.C (writeFile): layout as layout
7060         (validate): layout as layout
7061         (getFont): layout as layout
7062         (getLabelFont): layout as layout
7063         (getLayoutFont): layout as layout
7064         (breakParagraph): layout as layout
7065         (stripLeadingSpaces): layout as layout
7066         (getEndLabel): layout as layout
7067         (getMaxDepthAfter): layout as layout
7068         (applyLayout): layout as layout
7069         (TeXOnePar): layout as layout
7070         (simpleTeXOnePar): layout as layout
7071         (TeXEnvironment): layout as layout
7072         (layout): layout as layout
7073         (layout): layout as layout
7074
7075         * lyxtextclass.C (compare_name): new functor to work with
7076         shared_ptr, layout as layout
7077         (Read): layout as layout
7078         (hasLayout): layout as layout
7079         (operator): layout as layout
7080         (delete_layout): layout as layout
7081         (defaultLayout): layout as layout
7082
7083         * lyxlayout_ptr_fwd.h: new file
7084
7085         * lyxlayout.C (Read): layout as layout
7086
7087         * lyx_cb.C (MenuInsertLabel): layout as layout
7088
7089         * bufferlist.C (newFile): layout as layout
7090
7091         * buffer.C (readLyXformat2): layout as layout
7092         (parseSingleLyXformat2Token): layout as layout
7093         (insertStringAsLines): layout as layout
7094         (asciiParagraph): layout as layout
7095         (latexParagraphs): layout as layout
7096         (makeLinuxDocFile): layout as layout
7097         (simpleLinuxDocOnePar): layout as layout
7098         (makeDocBookFile): layout as layout
7099         (simpleDocBookOnePar): layout as layout
7100         (getLists): layout as layout
7101
7102         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7103
7104         * CutAndPaste.C (cutSelection): layout as layout
7105         (pasteSelection): layout as layout
7106         (SwitchLayoutsBetweenClasses): layout as layout
7107
7108         * BufferView_pimpl.C (Dispatch): layout as layout
7109         (smartQuote): layout as layout
7110
7111         * BufferView2.C (unlockInset): layout as layout
7112
7113 2002-06-24  André Pönitz <poenitz@gmx.net>
7114
7115         * lyxfunc.C: fix #487
7116
7117 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7118
7119         * lyxrc.h:
7120         * lyxrc.C:
7121         * lyxfunc.C: remove display_shortcuts, show_banner
7122
7123 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7124
7125         * Buffer_pimpl.C: oops, update on resize
7126
7127 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7128
7129         * buffer.C:
7130         * converter.C:
7131         * exporter.C:
7132         * lyxfunc.C:
7133         * BufferView.h:
7134         * BufferView.C: use repaint()
7135
7136         * BufferView_pimpl.h:
7137         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7138           as it's a clearer description. Remove superfluous
7139           redraws.
7140
7141 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7142
7143         * text.C: fix bug 488. Not ideal, but getting
7144           getWord() to work properly for the insets that
7145           matter is more difficult ...
7146
7147 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7148
7149         * BufferView_pimpl.C:
7150         * LyXAction.C:
7151         * commandtags.h:
7152         * lyxfunc.C: remove the six million index lyxfuncs to just
7153           one, and DTRT (bug 458)
7154
7155 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7156
7157         * BufferView.h:
7158         * BufferView.C:
7159         * BufferView_pimpl.h:
7160         * BufferView_pimpl.C: clean up resize() stuff,
7161           and unnecessary updateScreen()s
7162
7163 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7164
7165         * BufferView.h:
7166         * BufferView.C:
7167         * BufferView_pimpl.h:
7168         * BufferView_pimpl.C:
7169         * lyxfind.h:
7170         * lyxfind.C:
7171         * minibuffer.C: remove focus management of workarea,
7172           not needed. Use screen's greyOut()
7173
7174 2002-06-17  Herbert Voss  <voss@lyx.org>
7175
7176         * converter.C: (convert) do not post a message, when converting
7177         fails, let the calling function decide what to do in this case
7178
7179 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7180
7181         * lyxfunc.C: tidy up a little
7182
7183 2002-06-16    <alstrup@diku.dk>
7184
7185         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7186         Got rid of FORMS_H_LOCATION include. Now we are
7187         GUII.
7188
7189 2002-06-15  LyX Development team  <lyx@rilke>
7190
7191         * buffer.[Ch] (sgmlOpenTag):
7192         (sgmlCloseTag): Added support for avoiding pernicious mixed
7193         content. Return number of lines written.
7194
7195         (makeLinuxDocFile):
7196         (makeDocBookFile): Fixed calls to sgml*Tag.
7197         Simple white space clean.
7198
7199         (simpleDocBookOnePar): Simple white space clean.
7200
7201         * tabular.[Ch] (docBook): Renamed to docbook and got another
7202         argument to related with the pernicious mixed content.
7203
7204         (docbookRow): Fixed calls for docbook inset method.
7205
7206 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7207
7208         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7209         so it's X11 independent.
7210
7211         * kb*.[Ch]: ditto.
7212
7213         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7214
7215 2002-06-15  Lyx Development team  <lyx@electronia>
7216
7217         * intl.h: Renamed getTrans to getTransManager.
7218
7219 2002-06-14  Angus Leeming  <leeming@lyx.org>
7220
7221         * Makefile.am: nuke forgotten stl_string_fwd.h.
7222
7223 2002-06-12  Angus Leeming  <leeming@lyx.org>
7224
7225         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7226
7227 2002-06-13  Angus Leeming  <leeming@lyx.org>
7228
7229         * LaTeX.C:
7230         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7231
7232 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7233
7234         * kbmap.C (getiso): add support for cyrillic and greek
7235
7236 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7237
7238         * BufferView.h:
7239         * BufferView.C:
7240         * BufferView_pimpl.h:
7241         * BufferView_pimpl.C: move bogus scrolling logic
7242           to xforms
7243
7244 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7245
7246         * lyxfunc.C:
7247         * BufferView_pimpl.C: view->resize() change
7248
7249 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7250
7251         * BufferView_pimpl.C: topCursorVisible
7252           prototype change
7253
7254 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7255
7256         * Makefile.am:
7257         * lyx_gui.h:
7258         * lyx_gui.C: move to frontends/
7259
7260         * main.C:
7261         * lyx_main.h:
7262         * lyx_main.C: changes from above
7263
7264 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7265
7266         * intl.C:
7267         * intl.h:
7268         * kbmap.C:
7269         * kbsequence.C:
7270         * lyx_cb.C:
7271         * lyx_main.C: minor tidy
7272
7273 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7274
7275         * BufferView_pimpl.h:
7276         * BufferView_pimpl.C:
7277         * BufferView.h:
7278         * BufferView.C: make painter() const,
7279           remove dead code
7280
7281         * BufferView2.C: use screen() accessor
7282
7283         * lyx_main.h:
7284         * lyx_main.C: some minor cleanup
7285
7286 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7287
7288         * BufferView_pimpl.h:
7289         * BufferView_pimpl.C: remove enter/leaveView,
7290           use workHeight()
7291
7292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7293
7294         * BufferView.h:
7295         * BufferView.C:
7296         * BufferView2.C:
7297         * BufferView_pimpl.h:
7298         * BufferView_pimpl.C: only construct screen once,
7299           rename
7300
7301         * lyxrc.C: remove pointless comment
7302
7303 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7304
7305         * BufferView.h:
7306         * BufferView.C: remove active() and belowMouse()
7307
7308         * BufferView_pimpl.h:
7309         * BufferView_pimpl.C: use workarea() not workarea_,
7310           and make it use a scoped_ptr instead
7311
7312 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7313
7314         * lyx_gui.C: add debug message on BadWindow
7315
7316 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7317
7318         * sp_spell.C: fdopen is not part of the C++ standard.
7319
7320         * paragraph.C (InsetIterator): use >= instead of ==
7321
7322 2002-06-07  Angus Leeming  <leeming@lyx.org>
7323
7324         Fixes needed to compile with Compaq cxx 6.5.
7325         * BufferView_pimpl.C:
7326         * DepTable.C:
7327         * buffer.C:
7328         * converter.C:
7329         * encoding.C:
7330         * lyx_gui.C:
7331         * lyx_main.C:
7332         * lyxtextclasslist.C:
7333         * minibuffer.C:
7334         * sp_spell.C:
7335         * tabular_funcs.C:
7336         * vc-backend.C:
7337         all c-library variables have been moved into namespace std. Wrap
7338         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7339
7340         * lyxlength.C:
7341         * tabular-old.C:
7342         * tabular.C:
7343         Add a using std::abs declaration.
7344
7345         * kbmap.h (modifier_pair):
7346         * paragraph.h (InsetTable, InsetList):
7347         * lyxfont.h (FontBits):
7348         type definition made public.
7349
7350         * bufferlist.C (emergencyWriteAll): the compiler complains that
7351         there is more than one possible lyx::class_fun template to choose from.
7352         I re-named the void specialisation as lyx::void_class_fun.
7353
7354         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7355
7356         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7357         the compiler is is unable to find tostr in write_attribute.
7358
7359 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7360
7361         * buffer.C (sgmlError): hide #warning
7362
7363 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * xtl/*: get rid of xtl, which is not in use anyway
7366
7367         * LyXAction.C (init):
7368         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7369         were unimplemented xtl experimentation
7370
7371 2002-06-04  André Pönitz <poenitz@gmx.net>
7372
7373         * lyxfunc.C: disable array operation on simple formulae
7374
7375 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7376
7377         * converter.C: constify a bit
7378
7379 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7380
7381         * lyx_gui.C: check xforms version correctly
7382
7383 2002-04-30  Herbert Voss  <voss@lyx.org>
7384
7385         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7386         "keep" option
7387
7388 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7389
7390         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7391           attempt to register it with a VCS)
7392
7393 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7394
7395         * lyx_main.C (init): honor variables LYX_DIR_13x and
7396         LYX_USERDIR_13x
7397
7398 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7399
7400         * buffer.h:
7401         * buffer.C:
7402         * lyx_main.C: fix a crash on bad command line,
7403           and give a useful exit status on error
7404
7405         * lyxfunc.C (doImport): allow -i lyx to work
7406
7407 2002-03-30  André Pönitz <poenitz@gmx.net>
7408
7409         * lyxfunc.C: mathed font changes
7410
7411 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7412
7413         * LaTeX.C:
7414         * importer.h:
7415         * importer.C:
7416         * lyx_sty.h:
7417         * lyx_sty.C:
7418         * lyxlex.C:
7419         * lyxrow.h:
7420         * lyxtext.h:
7421         * paragraph.h:
7422         * paragraph.C:
7423         * texrow.h:
7424         * texrow.C:
7425         * text.C:
7426         * trans_mgr.h: srcdocs, and some minor cleanups
7427
7428 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7429
7430         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7431         call getFont all the time)
7432
7433 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7434
7435         * switch from SigC signals to boost::signals
7436
7437 2002-05-29  André Pönitz <poenitz@gmx.net>
7438
7439         * paragraph_pimpl.C (getChar): don't call size() too often...
7440
7441 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7442
7443         * paragraph_pimpl.C (insertChar): do not try to update tables when
7444         appending (pos == size())
7445
7446         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7447         in order to reduce drastically the number of comparisons needed to
7448         parse a large document
7449
7450 2002-05-29  André Pönitz <poenitz@gmx.net>
7451
7452         * text.C:
7453         * text2.C:
7454         * lyxtextclass.C:
7455         * sp_pspell.h:
7456         * textclasslist.[Ch]:
7457         * sp_ispell.h: whitespace change
7458
7459 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7460
7461         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7462         lyxaction directly now.
7463
7464 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7465
7466         * trans.C:
7467         * lyxfont.C:
7468         * lyxvc.C: remove unused headers
7469
7470 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7471
7472         * Makefile.am:
7473         * buffer.h:
7474         * undostack.h:
7475         * undostack.C:
7476         * undo_funcs.h:
7477         * undo_funcs.C: some cleanups. Use shared_ptr
7478           and a template for the undo stacks.
7479
7480 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7481
7482         * BufferView_pimpl.h:
7483         * BufferView_pimpl.C:
7484         * kbmap.h:
7485         * kbmap.C:
7486         * kbsequence.h:
7487         * kbsequence.C:
7488         * lyxfunc.h:
7489         * lyxfunc.C:
7490         * text2.C: use key_state/mouse_state
7491
7492 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7493
7494         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7495         and LSubstring
7496
7497         * chset.C: change include order
7498         (loadFile): use boost regex and get rid of LRegex and LSubstring
7499
7500         * Makefile.am (BOOST_LIBS): new variable
7501         (lyx_LDADD): use it
7502
7503         * LaTeX.C: change include order.
7504         (scanAuxFile): use boost regex and get rid of LRegex and
7505         LSubstring
7506         (deplog): ditto
7507
7508 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7509
7510         * ColorHandler.h:
7511         * ColorHandler.C:
7512         * FontInfo.h:
7513         * FontInfo.C: moved to frontends/xforms/
7514
7515         * FontLoader.h:
7516         * FontLoader.C: moved into frontends for GUIIzation
7517
7518         * Makefile.am:
7519         * lyx_gui.C:
7520         * lyxfont.C:
7521         * lyxfunc.C: changes from above
7522
7523 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7524
7525         * LColor.C: remove spurious X include
7526
7527         * BufferView_pimpl.C:
7528         * Makefile.am:
7529         * font.h:
7530         * font.C:
7531         * text.C:
7532         * text2.C: move font metrics to frontends/
7533
7534 2002-05-24  Juergen Vigna  <jug@sad.it>
7535
7536         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7537         setting the undo_cursor.
7538
7539         * ParagraphParameters.h: include local includes first.
7540
7541 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * BufferView_pimpl.C:
7544         * BufferView_pimpl.h:
7545         * Makefile.am:
7546         * WorkArea.h:
7547         * WorkArea.C:
7548         * screen.C: move WorkArea into frontends/
7549
7550         * lyxscreen.h:
7551         * screen.C:
7552         * text.C:
7553         * BufferView.C:
7554         * BufferView2.C: move LyXScreen into frontends/
7555
7556         * lyxlookup.h:
7557         * lyxlookup.C:
7558         * lyx_gui.C: move lyxlookup into frontends/xforms/
7559
7560 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7561
7562         * BufferView2.C:
7563         * BufferView_pimpl.C:
7564         * FontLoader.C:
7565         * LyXView.h:
7566         * LyXView.C:
7567         * Makefile.am:
7568         * WorkArea.C:
7569         * XFormsView.h:
7570         * XFormsView.C:
7571         * buffer.C:
7572         * bufferlist.C:
7573         * bufferview_funcs.C:
7574         * converter.C:
7575         * importer.C:
7576         * lyx_cb.C:
7577         * lyx_gui.C:
7578         * lyx_main.C:
7579         * lyx_find.C:
7580         * lyxfunc.C:
7581         * lyxvc.C:
7582         * minibuffer.C:
7583         * text.C:
7584         * text2.C:
7585         * trans.C:
7586         * vc-backend.C: move LyX/XFormsView into frontends/
7587
7588 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7589
7590         * Makefile.am:
7591         * PainterBase.C:
7592         * PainterBase.h:
7593         * Painter.C:
7594         * Painter.h:
7595         * WorkArea.C:
7596         * WorkArea.h:
7597         * screen.C:
7598         * tabular.C:
7599         * text.C:
7600         * text2.C: move Painter to frontends/
7601
7602 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7603
7604         * buffer.C: comment out some some code that depend upon lyx_format
7605         < 220
7606
7607         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7608         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7609
7610         * buffer.h (NO_COMPABILITY): turn off compability
7611
7612         * ColorHandler.C: include scoped_array.hpp
7613
7614         * font.C: Use more specific smart_ptr header.
7615         * Painter.C: ditto
7616         * gettext.C: ditto
7617         * ShareContainer.h: ditto
7618         * lyx_main.h: ditto
7619         * kbmap.h: ditto
7620         * FontInfo.h: ditto
7621         * BufferView_pimpl.h: ditto
7622         * ColorHandler.h: ditto
7623
7624         * kbmap.C (defkey): change call to shared_ptr::reset
7625
7626 2002-05-21  Juergen Vigna  <jug@sad.it>
7627
7628         * buffer.C (insertErtContents): fix to insert ert asis if it is
7629         non empty. Skip it completely if it contains only whitespaces.
7630
7631 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7632
7633         * BufferView_pimpl.C:
7634         * BufferView2.C: clear selection on paste (bug 393)
7635
7636 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7637
7638         * DepTable.C: include ctime
7639
7640 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7641
7642         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7643
7644 2002-05-14  Juergen Vigna  <jug@sad.it>
7645
7646         * text.C (breakParagraph): fixed function to honor the keepempty
7647         layout in the right maner and also to permit the right breaking
7648         algorithm on empty or non empyt keepempty paragraphs.
7649
7650         * paragraph.C (breakParagraph): we have to check also if the par
7651         is really empty (!size()) for isempty otherwise we do the wrong
7652         paragraph break.
7653
7654 2002-05-10  Juergen Vigna  <jug@sad.it>
7655
7656         * buffer.[Ch] : The following are only changes to the ert
7657         compatibility read reading old LaTeX layout and font stuff and
7658         convert it to ERTInsets.
7659
7660         * buffer.h: added isErtInset().
7661
7662         * buffer.C (struct ErtComp): add a fromlayout bool to check
7663         if we're inside a LaTeX layout.
7664         (isErtInset): new helper function.
7665         (insertErtContents): look for other ert insets before this one
7666         and insert the contents there, so that we don't have subsequent
7667         ERT insets with nothing between them. This way we create only one
7668         inset with multiple paragraphs. Also check if we don't insert only
7669         spaces ' ' as they are ignored anyway afterwards in the .tex file
7670         so if we have only spaces we will ignore this latex part in the
7671         new file.
7672         (parseSingleLyXformat2Token \\layout): better compatibility when
7673         reading layout-latex stuff.
7674         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7675         language tag.
7676         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7677         stuff after reading the inset only get the information back from
7678         the stack.
7679
7680 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7681
7682         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7683
7684         * LaTeXFeatures.C (getBabelOptions): New method.
7685
7686 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7687
7688         * BufferView_pimpl.C (Dispatch): work around missing argument for
7689         'layout'
7690
7691 2002-05-08  Juergen Vigna  <jug@sad.it>
7692
7693         * text.C (leftMargin): handle paragraph leftindent.
7694
7695         * paragraph.C (writeFile): write the new \\leftindent tag.
7696         (validate): handle leftindent code.
7697         (TeXEnvironment): handle paragraphleftindent code again.
7698
7699         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7700
7701         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7702         for paragrap_extra indent code and new token \\leftindent.
7703         (latexParagraphs): handle the leftindent as environment.
7704
7705         * ParameterStruct.h: added leftindent support.
7706
7707         * ParagraphParameters.C (leftIndent): added support functions for
7708         the paragraph left indent.
7709
7710         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7711         more appropriate.
7712
7713 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7714
7715         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7716         inside insetERT.
7717
7718         * text.C (computeBidiTables): No bidi in insetERT.
7719
7720         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7721         in RTL documents.
7722
7723 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7724
7725         * version.C.in: pre 5
7726
7727 2002-05-02  José Matos  <jamatos@fep.up.pt>
7728         * buffer.C (makeDocBookFile): white space changes, add newline to
7729         command styles.
7730         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7731
7732         * tabular.C (docBook): fix typo.
7733
7734 2002-05-03  Juergen Vigna  <jug@sad.it>
7735
7736         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7737         change in LyXText as we can not be sure it was not freed.
7738         (drawOneRow): remove unused code.
7739
7740         * text.C (drawInset): redo the calculation of the need_break_row as
7741         it could have a row which was already freed.
7742         (draw): look at the return value of drawInset and return false if
7743         it also returned false.
7744         (paintRowText): look at the return value of draw and return false if
7745         it also returned false.
7746
7747         * lyxtext.h: added bool return type to drawInset() and draw() so that
7748         if we have a change in the row so that the rowbreak has to be redone
7749         we abort drawing as it will be called again.
7750
7751 2002-05-02  Juergen Vigna  <jug@sad.it>
7752
7753         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7754         a change in the maintext also if we're inside an inset.
7755         (Dispatch): set the cursor again after a break line and after the
7756         screen has been updated as it could be we're in a different row.
7757
7758         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7759         to set the cursor behind the pargraph with > size().
7760         (setCursor): check also for the same paragraph when checking where
7761         to put the cursor if we have a NFR inset.
7762
7763         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7764         parts of layout read further up as it still was in the wrong
7765         position.
7766
7767 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7768
7769         * screen.C (drawFromTo): change sine fullRebreak always return
7770         true.
7771
7772         * buffer.C (parseSingleLyXformat2Token): reindent some
7773
7774         * BufferView_pimpl.C (update): change since fullRebreak always
7775         return true.
7776         (Dispatch): git rid of the last hardcoded "Standard"s.
7777
7778 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7779
7780         * text2.[Ch] (fullRebreak): make it return void now that we always
7781         returned true.
7782
7783 2002-04-30  Juergen Vigna  <jug@sad.it>
7784
7785         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7786         ert compatibility check for "latex" layout.
7787
7788 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7789
7790         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7791         minipages: use col% instead of p%, and also use the current font.
7792         (makeLaTeXFile): Fix use babel condition.
7793         (parseSingleLyXformat2Token): Correct font when reading old floats.
7794
7795 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7796
7797         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7798         inserting list of floats.
7799
7800 2002-04-25  Herbert Voss  <voss@lyx.org>
7801
7802         * MenuBackend.C (expand): don't add the graphics extensions to the
7803         export menu
7804
7805 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7806
7807         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7808         non-existing layout, do not complain if it was the default layout
7809         of the original class (bug #342)
7810
7811 2002-04-24  Juergen Vigna  <jug@sad.it>
7812
7813         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7814         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7815
7816 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7817
7818         * buffer.C (getBibkeyList): If using \bibliography, return the
7819         option field with the reference itself. Enables us to provide natbib
7820         support when using \bibliography.
7821
7822 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7823
7824         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7825
7826         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7827         natbib is provided by the LaTeX class.
7828
7829 2002-04-23  Juergen Vigna  <jug@sad.it>
7830
7831         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7832         Wakeup functions.
7833
7834         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7835
7836 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7837
7838         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7839
7840         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7841         ensuremath around textordmasculine, textordfeminine and
7842         textdegree.
7843
7844 2002-04-19  Juergen Vigna  <jug@sad.it>
7845
7846         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7847         reinitializing the buffer otherwise row-dimensions may be wrong.
7848         (update): reset also the selection cursors if they do exits otherwise
7849         their x/y positions may be wrong.
7850
7851         * text2.C (cursorDown): don't enter the inset if we came from a row
7852         above and are one row over the inset.
7853
7854         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7855         really leaving an inset.
7856
7857 2002-04-18  Juergen Vigna  <jug@sad.it>
7858
7859         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7860         of the selected paragraph does not have the selected layout also if
7861         the last one had!
7862
7863         * text2.C (setLayout): fixed bug which did not change last selected
7864         paragraph.
7865
7866         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7867         changed the read and substituted \\end_float with \\end_inset!
7868
7869         * BufferView_pimpl.C (cursorPrevious):
7870         (cursorNext): fixed to make it work with rows heigher than the work
7871         area without moving the cursor only the draw of the row.
7872         (workAreaMotionNotify): fix jumping over high rows.
7873
7874 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7875
7876         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7877         Ressler.
7878
7879 2002-04-16  Juergen Vigna  <jug@sad.it>
7880
7881         * text2.C (setCursor): set also the irow().
7882         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7883         (cursorUp):
7884         (cursorDown): support for locking an inset if the x_fix value goes
7885         inside it. That way I can transverse insets too with cursor up/down.
7886
7887         * lyxrow.h: added irow helper function same as other (i) functions.
7888
7889         * BufferView_pimpl.C (cursorPrevious):
7890         (cursorNext): fixed for insets!
7891
7892 2002-04-15  Juergen Vigna  <jug@sad.it>
7893
7894         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7895         position otherwise it is wrong in some cases.
7896
7897         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7898         inside the inset before the call.
7899
7900 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7901
7902         * buffer.[Ch] (getBibkeyList): make it const.
7903
7904 2002-04-12  Juergen Vigna  <jug@sad.it>
7905
7906         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7907
7908         * text2.C (getCursorX): new helper function
7909         (setCursor): compute also ix_
7910         (setCursorFromCoordinates): set also ix.
7911
7912         * lyxcursor.h: added ix_ and helper functions.
7913
7914         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7915
7916         * buffer.C (insertStringAsLines): dont break paragraph if the this
7917         paragraph is inside an inset which does not permit it!
7918
7919         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7920         also with no chars on this paragraph.
7921         (paintRowText): only paint stuff if it's inside the workarea!
7922
7923         * paragraph.C (breakParagraph): honor keepempty flag and break the
7924         paragraph always below not above.
7925
7926         * BufferView2.C (unlockInset): update the paragraph layout on inset
7927         unlock as we changed paragraph in such a case.
7928
7929         * lyxfind.C (LyXFind): clear the former selection if not found!
7930
7931         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7932         again called in insertChar().
7933
7934         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7935         an inset which uses the whole row!
7936         (rightMargin): ditto.
7937         (insertChar): force a rebreak if we inserted an inset!
7938
7939 2002-03-28  Herbert Voss  <voss@lyx.org>
7940
7941         * lyxlength.[Ch]: add inBP() to get the right PS-point
7942         units (BigPoint). With inPixels we have rounding errors
7943
7944 2002-04-11  Juergen Vigna  <jug@sad.it>
7945
7946         * text2.C (setCursorFromCoordinates): set iy to the right value.
7947         (setCursor): add check if row->previous exists!
7948
7949         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7950         an old float_type as this was the case in the old code!
7951
7952         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7953
7954         * BufferView2.C (showLockedInsetCursor): use iy
7955         (fitLockedInsetCursor): ditto
7956
7957         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7958         locked insets as there we have the right value now.
7959
7960         * lyxcursor.C: added iy_ variable and iy functions to set to the
7961         baseline of cursor-y of the locked inset.
7962
7963         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7964         (setCursor): fixed for insets which need a full row.
7965
7966         * text.C (rowLastPrintable): don't ignore the last space when before
7967         an inset which needs a full row.
7968         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7969         as last character of a row when before a inset which needs a full row.
7970
7971 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7972
7973         * version.C.in: update date
7974
7975         * text2.C (fullRebreak): try to always return true and see what
7976         happens...
7977
7978 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7979
7980         * MenuBackend.C (expand): use Floating::listName
7981
7982         * FloatList.C (FloatList): add listName argument to the built-in
7983         floats
7984
7985         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7986         text associated with the float.
7987
7988 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7989
7990         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7991
7992 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7993
7994         * ShareContainer.h: add a couple of missing typenames.
7995
7996 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7997
7998         * lyxrc.C (getDescription): use _() correctly rather than N_().
7999
8000 2002-03-28  Herbert Voss  <voss@lyx.org>
8001
8002         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8003         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8004
8005 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8006
8007         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8008         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8009
8010 2002-03-29  Juergen Vigna  <jug@sad.it>
8011
8012         * lyxfunc.C (dispatch): add a missing fitCursor call.
8013
8014         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8015         it was scrolled by a cursor move, so return the bool status.
8016
8017         * BufferView.C (fitCursor): return the bool flag also to the outside
8018         world as this is needed.
8019
8020         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8021
8022         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8023         call the edit() as it is not needed (and wrong) IMO.
8024         (workAreaButtonPress): set the screen_first variable before evt.
8025         unlock the inset as this may change screen_first and then we have
8026         a wrong y position for the click!
8027
8028 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8029
8030         * MenuBackend.C (expand): another translation that I missed
8031
8032 2002-03-28  Juergen Vigna  <jug@sad.it>
8033
8034         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8035
8036         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8037
8038 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8039
8040         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8041
8042         * MenuBackend.C (expand): fix export/view/update when there is no
8043         document open.
8044
8045 2002-03-27  Herbert Voss  <voss@lyx.org>
8046
8047         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8048         and text%
8049
8050 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8051
8052         * bufferview_funcs.C (currentState): only show paragraph number
8053         for is DEVEL_VERSION is set.
8054
8055         * lyxfunc.C (dispatch): put warning in INFO channel
8056
8057         * MenuBackend.C (expand): translate the name of floats
8058
8059         * FloatList.C (FloatList): mark the float names for translation
8060
8061         * converter.C (convert): use LibScriptSearch
8062
8063 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8064
8065         * MenuBackend.C (defaults): fix default menu (we might as well get
8066         rid of it...)
8067
8068 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8069
8070         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8071         directory.
8072
8073 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8074
8075         * lyxvc.C: reorder includes.
8076
8077 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8080           properly
8081
8082 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * CutAndPaste.C: change layouts earlier on paste
8085           to avoid crashing when calling getFont()
8086
8087 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8088
8089         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8090         irritating #error.
8091
8092 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8093
8094         * WorkArea.C: remove 'Pending' debug message.
8095
8096         * most files: ws cleanup
8097
8098         * buffer.[Ch]: ws changes
8099
8100         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8101
8102 2002-03-21  Juergen Vigna  <jug@sad.it>
8103
8104         * tabular.C (SetMultiColumn): collapse also the contents of the
8105         cells and set the last border right. Added a Buffer const * param.
8106
8107 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8108
8109         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8110         linking or not.
8111
8112 2002-03-19  Juergen Vigna  <jug@sad.it>
8113
8114         * text2.C (clearSelection): reset also xsel_cache.
8115
8116         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8117         where it needs to be called (John tells us to do so too :)
8118         (selectionLost): reset sel_cache.
8119
8120         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8121
8122 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8123
8124         * text2.C (setCursorIntern): put debuging code in INSETS channel
8125
8126 2002-03-19  André Pönitz <poenitz@gmx.net>
8127
8128         * lyxfunc.C: tiny whitespace change
8129
8130 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8131
8132         * ToolbarDefaults.C (init):
8133         * LyXAction.C (init):
8134         * commandtags.h:
8135         * BufferView_pimpl.C (Dispatch):
8136         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8137
8138 2002-03-19  Allan Rae  <rae@lyx.org>
8139
8140         * exporter.C (Export): removeAutoInsets before doing anything else.
8141         While I've just introduced a dependency on BufferView this really is
8142         the best place to clean the buffer otherwise you need to cleanup in
8143         a dozen places before calling export or cleanup in a dozen functions
8144         that export calls.
8145
8146         * converter.C (runLaTeX):
8147         (scanLog): Better handling of removeAutoInsets and screen updates.
8148
8149         * lyxfunc.C (dispatch): small whitespace changes
8150
8151 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8152
8153         * WorkArea.C (C_WorkAreaEvent): return a value.
8154         (event_cb): return 1 if we handled the event, 0 otherwise.
8155
8156         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8157
8158 2002-03-18  Juergen Vigna  <jug@sad.it>
8159
8160         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8161         (GetAdditionalWidth): ditto.
8162         (RightLine): ditto.
8163         (LeftLine): ditto.
8164
8165         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8166         inset if we're there actually (probably not used right now but this
8167         is the direction to go for unifying code).
8168         (paste): disable code to clear the selection.
8169
8170         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8171         inside an InsetText and move the check further up as it is in the
8172         wrong place.
8173
8174         * text2.C (pasteSelection): set a selection over the pasted text.
8175
8176 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8177
8178         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8179         and libgraphics to build on Cygwin.
8180
8181 2002-03-15  Juergen Vigna  <jug@sad.it>
8182
8183         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8184         inserting an Inset into the paragraph. I know this is not the best
8185         fix but we already use current_view in CutAndPaste so we will remove
8186         all of it's using at the same time.
8187
8188         * buffer.C (sgmlError): deactivated function till it is rewritten in
8189         the right mode, now it can create problems.
8190
8191         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8192         before accessing it.
8193
8194 2002-03-14  Juergen Vigna  <jug@sad.it>
8195
8196         * undo_funcs.C (textHandleUndo): do the right thing when updating
8197         the inset after the undo/redo.
8198
8199         * text2.C (setCursor): just some testcode for #44 not ready yet.
8200
8201         * undo_funcs.C (textHandleUndo): set the next() and previous()
8202         pointers of the paragraph to 0 before deleting otherwise we have
8203         problems with the Paragraph::[destructor].
8204
8205         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8206         on a paragraph insertion.
8207
8208 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8209
8210         * buffer.C (asciiParagraph): use += operator for char append to
8211         string.
8212
8213         * paragraph.C (getFontSettings): compare >= not just >
8214         (highestFontInRange): ditto
8215         (setFont): ditto
8216
8217 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8218
8219         * paragraph.C: change several algorithm to be more appripriate for
8220         the problem domain. This is lookip in FontList and in the InsetList.
8221
8222 2002-03-13  André Pönitz <poenitz@gmx.net>
8223
8224         * commandtags.h:
8225         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8226
8227 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8228
8229         * commandtags.h:
8230         * LyXAction.C:
8231         * lyxfunc.C:
8232         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8233
8234 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * Painter.C (display): anon helper function, adjust code for this
8237         change.
8238         (pixmap): remove function.
8239
8240         * Painter.h: remove private display variable.
8241
8242         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8243
8244 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8245
8246         * WorkArea.[Ch]: remove figinset_canvas cruft.
8247
8248 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8249
8250         * lyxtextclass.C (operator): add one item cache optimization.
8251
8252         * bufferlist.h: doxy changes
8253
8254         * bufferlist.C: ws changes
8255
8256         * DepTable.[Ch] (ext_exist): place const in the right spot.
8257
8258         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8259         call resizeInsets.
8260         (workAreaExpose): call resizeInsets when the with BufferView changes.
8261         (Dispatch): adjust for protectedBlank removal
8262         (specialChar): call updateInset if the insert went ok.
8263
8264         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8265         specialChar instead.
8266
8267         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8268
8269         * BufferView.h: doxy change
8270
8271         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8272
8273         * lyxtextclass.C (operator[]): remove non-const version
8274         (defaultLayout): remove non-const version
8275
8276 2002-03-12  Juergen Vigna  <jug@sad.it>
8277
8278         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8279         did resize the LyXText too.
8280
8281         * buffer.C (readLyXformat2): set layout information on newly allocated
8282         paragraphs.
8283
8284         * tabular.C (OldFormatRead): set layout information on the paragraph.
8285
8286 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8287
8288         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8289
8290 2002-03-11  Juergen Vigna  <jug@sad.it>
8291
8292         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8293         plainly wrong.
8294         (resizeCurrentBuffer): force also the insets to resize themselfes.
8295         (moveCursorUpdate): fixed up for InsetText.
8296
8297 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8298
8299         * commandtags.h:
8300         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8301         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8302         value of Dialogs::tooltipsEnabled().
8303         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8304
8305 2002-03-08  Juergen Vigna  <jug@sad.it>
8306
8307         * BufferView_pimpl.C (updateInset): update inset inside inset also
8308         if it isn't inside theLockingInset().
8309
8310 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8311
8312         * buffer.C (asciiParagraph): redo some of the word and line length
8313         handling.
8314         (getLists): look for Caption instead of caption.
8315
8316 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8317
8318         * buffer.C (Buffer): initialize niceFile to true
8319         (makeLaTeXFile):
8320         (makeLinuxDocFile):
8321         (makeDocBookFile): make sure niceFile is true on exit
8322
8323 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8324
8325         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8326
8327 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8328
8329         * LyXSendto.C: remove.
8330         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8331         * lyx_gui.C: remove now-redundant comment.
8332         * ColorHandler.h: remove forward declaration of class WorkArea.
8333         * lyxfunc.C: remove #include "WorkArea.h".
8334
8335 2002-03-07  Juergen Vigna  <jug@sad.it>
8336
8337         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8338         got moved away with the DEPM and also set the inset_owner always
8339         right which before could have been omitted.
8340
8341 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8342
8343         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8344         wanted layout is not found.
8345
8346 2002-03-07  Juergen Vigna  <jug@sad.it>
8347
8348         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8349
8350 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8351
8352         * paragraph.C (breakParagraph): use default layout not layout of
8353         prev paragraph.
8354         (Paragraph): clear ParagraphParameters.
8355
8356 2002-03-06  Juergen Vigna  <jug@sad.it>
8357
8358         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8359         otherwise it would not be a valid lenght. Fixed a special case in
8360         the minipage compatibility read where we end the document with a
8361         minipage.
8362
8363         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8364         was set as it could be 0 for InsetTexts first entry.
8365
8366 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * paragraph.C (writeFile): if layout is empty write out
8369         defaultLayoutName().
8370
8371         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8372         file without named layout we set layout to defaultLayoutName().
8373
8374 2002-03-06  Juergen Vigna  <jug@sad.it>
8375
8376         * CutAndPaste.C (copySelection): set layout for new paragraph.
8377
8378         * text.C (prepareToPrint): leave ERT inset left aligned
8379         (leftMargin): don't indent paragraphs inside ERT insets
8380
8381 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8382
8383         * paragraph.C (breakParagraph): dont call clear do the work manually
8384
8385         * paragraph.[Ch] (clear): remove function
8386
8387 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8388
8389         * paragraph.C (Paragraph): dont call clear, the work has already
8390         been done.
8391
8392         * lyxtextclass.C (operator): assert if n is empty
8393
8394         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8395         work manually instead.
8396
8397 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * BufferView_pimpl.C: protect selectionLost against text == 0
8400
8401 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8402
8403         * text.C (breakParagraph): fix a setting layout to '0' problem.
8404
8405 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8406
8407         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8408         final location of file, for the included files, and graphics.
8409
8410 2002-03-05  Juergen Vigna  <jug@sad.it>
8411
8412         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8413
8414 2002-03-04  Juergen Vigna  <jug@sad.it>
8415
8416         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8417
8418         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8419         last column of multicolumn cells.
8420         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8421
8422 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8423
8424         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8425         file if it doesn't go to a temporary file.
8426
8427         * buffer.C (sgmlOpenTag):
8428         (sgmlCloseTag):  remove extra newline insertion.
8429
8430 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8431
8432         * text.C (getRowNearY): comment out debug msg
8433
8434 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8435
8436         * text2.C: first -> first_y
8437
8438         * text.C (getRowNearY): add some attemts at a possible
8439         optimization, not working.
8440
8441         * tabular.[Ch]: add BufferParams to several function so that newly
8442         created paragraph can be initialized to he default layotu for the
8443         buffers textclass.
8444
8445         * tabular-old.C (ReadOld): add buf->params to call of Init
8446
8447         * screen.C: rename text->first to text->first_y
8448
8449         * paragraph.C (breakParagraph): always set layout in the broken
8450         paragraph
8451
8452         * lyxtextclass.C (Read): remove lowercase
8453         (hasLayout): ditto
8454         (operator): ditto
8455         (delete_layout): ditto
8456
8457         * lyxtext.h: rename first -> first_y
8458
8459         * lyxlayout.C (Read): remove lowercase
8460         (name): ditto
8461         (setName): ditto
8462         (obsoleted_by): ditto
8463
8464         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8465
8466         * buffer.C (insertErtContents): add params are to InsetERT
8467         (parseSingleLyXformat2Token): add code to check if a paragraphs
8468         layout really exist.
8469         (parseSingleLyXformat2Token): add params to several inset
8470         constructors
8471         (asciiParagraph): remove lowercase, do the layout comparisons with
8472         no_case
8473
8474         * BufferView_pimpl.C (cursorNext): first -> first_y
8475         (resizeCurrentBuffer): first -> first_y
8476         (updateScrollbar): first -> first_y
8477         (scrollCB): first -> first_y
8478         (workAreaMotionNotify): first -> first_y
8479         (workAreaButtonPress): first -> first_y
8480         (checkInsetHit): first -> first_y
8481         (cursorPrevious): first -> first_y
8482         (cursorNext): first -> first_y
8483         (Dispatch): add buffer_->params to severl inset contructors
8484
8485 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8486
8487         * lyxlayout.C (Read): remove some debug info that I forgot.
8488
8489         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8490         clean up the code slightly.
8491         (makeLinuxDocFile): ditto
8492         (makeDocBookFile): ditto
8493
8494         * text2.C: layout as string
8495
8496         * text.C: layout as string
8497
8498         * paragraph_pimpl.C: layout as string
8499
8500         * paragraph.[Ch]: layout as string
8501
8502         * lyxtextclasslist.[Ch]: layout as string
8503
8504         * lyxtextclass.[Ch]: layout as string
8505
8506         * lyxtext.h: layout as string
8507
8508         * lyxlayout.[Ch]: layout as string
8509
8510         * lyx_cb.C: layout as string
8511
8512         * bufferview_funcs.C: layout as string
8513
8514         * bufferparams.C: layout as string
8515
8516         * buffer.C: layout as string
8517
8518         * LyXView.[Ch]: layout as string
8519
8520         * LaTeXFeatures.[Ch]: layout as string
8521
8522         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8523
8524         * BufferView_pimpl.C: change current_layout to string, remove
8525         lyx::layout_type.
8526         (Dispatch):
8527         (smartQuote):
8528         (insertInset):
8529         (workAreaButtonRelease): layout as string
8530
8531         * BufferView2.C (unlockInset): adjust
8532
8533         * vspace.C (asLatexCommand): use an explict temp variable.
8534
8535 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8536
8537         * Makefile.am: use FRONTEND_*
8538
8539 2002-03-01  Juergen Vigna  <jug@sad.it>
8540
8541         * tabular.C (SetWidthOfMulticolCell): changed to something better
8542         I hope but still work in progress.
8543         (recalculateMulticolumnsOfColumn): renamed function from
8544         recalculateMulticolCells as it is more appropriate now.
8545         (SetWidthOfCell): calculate multicols better.
8546
8547 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8548
8549         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8550
8551         * lyxfunc.C (processKeySym): print sequence also if it is
8552         `deleted' (complete)
8553
8554         * kbsequence.C (print): print sequence even if it is deleted
8555         (complete would be a better word, actually).
8556
8557         * lyxfunc.C (dispatch): print complete options after a prefix key
8558
8559         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8560
8561 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8562
8563         * text2.C (setCharFont): eliminate setCharFont code duplication.
8564
8565 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8568         LFUN_TABULAR_FEATURE (bug #177)
8569
8570 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8571
8572         * Makefile.am: remove figure.h
8573
8574 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8575
8576         * Bufferview_pimpl.C:
8577         * CutAndPasteC:
8578         * LaTeX.C:
8579         * LyXSendto.C:
8580         * buffer.C:
8581         * bufferlist.C:
8582         * converter.C:
8583         * language.C:
8584         * lyxfunc.C:
8585         * lyxvc.C:
8586         * paragraph.C:
8587         * text.C:
8588         * text2.C: remove #include "lyx_gui_misc.h".
8589
8590         * LaTeX.C: added #include <cstdio>
8591
8592 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8593
8594         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8595         that the paragraph following this one can have.
8596
8597         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8598
8599         * vspace.C (asLatexCommand): fix bogus gcc warning
8600
8601         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8602
8603 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8604
8605         * text2.C (setLayout): get rid of redundant code
8606
8607 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8608
8609         * text2.C (incDepth): make sure depth cannot be increased beyond
8610         reasonable values.
8611
8612 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8613
8614         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8615         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8616
8617         * PainterBase.h (image):
8618         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8619         a LyXImage const *.
8620
8621 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * BufferView.C:
8624         * BufferView.h:
8625         * BufferView_pimpl.C:
8626         * BufferView_pimpl.h:
8627         * LaTeXFeatures.C:
8628         * LyXAction.C:
8629         * LyXView.C:
8630         * Makefile.am:
8631         * UpdateList.h:
8632         * UpdateList.C:
8633         * buffer.C:
8634         * figure.h:
8635         * figureForm.C:
8636         * figureForm.h:
8637         * figure_form.C:
8638         * figure_form.h:
8639         * lyx_cb.C:
8640         * lyx_gui.C:
8641         * lyx_gui_misc.C:
8642         * lyxfunc.C:
8643         * sp_base.h:
8644         * sp_ispell.h:
8645         * sp_pspell.h:
8646         * sp_spell.C: remove fig inset, and the crap house of
8647           cards that follows it
8648
8649 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8650
8651         * Makefile.am:
8652         * lyxserver.C:
8653         * os2_defines.h:
8654         * os2_errortable.h:
8655         * nt_defines.h: move .h into support/
8656
8657         * vms_defines.h: remove
8658
8659         * WorkArea.C: add space in debug output
8660
8661         * text2.C:
8662         * paragraph.C:
8663         * buffer.C: add WITH_WARNINGS
8664
8665         * vc-backend.h:
8666         * vc-backend.C:
8667         * bufferlist.C: s/retrive/retrieve/, add docs
8668
8669         * vspace.h:
8670         * vspace.C:
8671         * kbmap.h:
8672         * lyxlength.h:
8673         * lyxgluelength.h:
8674         * length_common.h:
8675         * chset.h:
8676         * chset.C: add docs
8677
8678         * lyxgui.C: add ID to X error handler
8679
8680         * lyxtestclass.c: fix typo
8681
8682 2002-02-26  Juergen Vigna  <jug@sad.it>
8683
8684         * tabular_funcs.C (write_attribute): changed so that some default
8685         attributes are not written at all.
8686         (getTokenValue): set default values before trying to read the
8687         value so we have the return value always set as default if we don't
8688         find the token we search for.
8689
8690         * tabular.C (Write): write bools as bools not as strings!
8691
8692 2002-02-22  Juergen Vigna  <jug@sad.it>
8693
8694         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8695         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8696
8697         * text.C (leftMargin): don't add an indent for paragraphs inside
8698         tabular cells (fix #208).
8699
8700 2002-02-21  José Matos  <jamatos@fep.up.pt>
8701
8702         * tabular.C (docBook): fixed support for long tables.
8703
8704 2002-02-20  Juergen Vigna  <jug@sad.it>
8705
8706         * text2.C (getFont): get the drawing font of the Inset if this
8707         paragraph is inside an inset (only important for InsetERT for now).
8708
8709         * buffer.C (insertErtContents): use new lanugage params in ERT
8710         constructor.
8711
8712         * CutAndPaste.C: commenting out seemingly uneeded code.
8713
8714 2002-02-19  Allan Rae  <rae@lyx.org>
8715
8716         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8717         Iterators might be simple to use but they also get invalidated.
8718         (removeAutoInsets): renamed saved cursor tracking variables and added
8719         some comments to clarify what everything does.
8720
8721 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8722
8723         * Chktex.C:
8724         * LaTeX.C:
8725         * LyXSendto.C:
8726         * converter.C:
8727         * lyx_cb.C:
8728         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8729         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8730
8731         * lyxfunc.C:
8732         * vc-backend.h: remove #include "support/syscall.h"
8733
8734         * LaTeX.C:
8735         * LyXSendto.C:
8736         * converter.C: rearrange #includes in Lars' approved fashion.
8737
8738         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8739         forward declare class Timeout in the header file.
8740
8741         * XFormsView.C: changes due to the above.
8742
8743         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8744         similar to LyXView.
8745
8746         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8747         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8748
8749 2002-02-18  José Matos  <jamatos@fep.up.pt>
8750
8751         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8752         insets contents.
8753
8754 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8755
8756         * a lot of small ws changes
8757         * add a lot of using std::XXX
8758         * use std construcs some places where approp.
8759         * use some exisint stuff from lyxfunctional where approp.
8760         * Make file changes to use partial linking (lets test this now...)
8761
8762 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8763
8764         * Chktex.C:
8765         * buffer.C:
8766         remove #include "support/syscontr.h" as it's redundant. Always has been.
8767
8768         * Chktex.C:
8769         * LaTeX.C:
8770         * LyXSendto.C:
8771         * converter.C:
8772         * lyx_cb.C:
8773         * vc-backend.C:
8774         change Systemcalls::System to Systemcalls::Wait and
8775         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8776         No change of functionality, just reflects the stripped down Systemcalls
8777         class.
8778
8779 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8780
8781         * debug.[Ch]: add a GRAPHICS type to the enum.
8782
8783 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8786
8787         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8788         there is an inset.
8789
8790 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8793         match the changes below.
8794
8795         * text2.C (toggleInset): if there is not editable inset at cursor
8796         position, try to see if cursor is _inside_ a collapsable inset
8797         and close it.
8798
8799 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8800
8801         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8802         document menu has a nice checkbox
8803
8804 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8805
8806         * lyxlength.C (asLatexString): change PW to output as percent of
8807         \textwidth.
8808
8809         * lengthcommon.C: change '%' to 't%'
8810
8811         * lyxfunc.C (dispatch): a few comments from Martin
8812
8813 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8814
8815         * WorkArea.h:
8816         * WorkArea.C:
8817         * BufferView_pimpl.h:
8818         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8819           the X selection.
8820
8821 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8822
8823         * vspace.C (inPixels): fix compiler warning
8824
8825 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8826
8827         * lyxfunc.C (getStatus): fix status message for disabled commands.
8828
8829 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8830
8831         * BufferView_pimpl.C: fix crash on close buffer
8832         during selection (#227)
8833
8834 2002-01-27  Herbert Voss  <voss@lyx.org>
8835
8836         * buffer.C: link old Figure to new graphic inset
8837
8838 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8839
8840         * FontLoader.C (getFontinfo): Change the latex font names in order
8841         to match the names of type1inst.
8842
8843 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8844
8845         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8846
8847         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8848         (extchanged): ditto
8849         (ext_exist): ditto
8850         (remove_files_with_extension): ditto
8851         (remove_file): ditto
8852         (write): ditto
8853
8854         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8855         document is smaller than the work area height. Do not initialize
8856         static variables to 0.
8857
8858 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8861
8862         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8863         LFUN_LAYOUT_PARAGRAPHS.
8864
8865         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8866         tabular. It is possible to provide a possible cell, which will
8867         typically be the actcell from the corresponding insettabular
8868
8869         * lyxfunc.C (getStatus): small cleanup; disable
8870         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8871         true
8872
8873 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8874
8875         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8876
8877         * paragraph.C (startTeXParParams):
8878         (endTeXParParams): new methods. The LaTeX code to
8879         start/end paragraph formatting
8880         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8881         empty (fixes bug #200)
8882
8883         * vspace.C (inPixels): adapt to the change below
8884         (inPixels): [later] more cleanups (remove unused variables)
8885
8886         * lyxlength.C (inPixels): change to use a width and a height as
8887         parameter.
8888
8889 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8892         Replaced with \paperwidth
8893
8894         * DepTable.C (insert): add std:: qualifier
8895
8896 2002-01-18  Allan Rae  <rae@lyx.org>
8897
8898         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8899         updated also?
8900
8901         * text.C (drawInset): Turned out I didn't know enough about how
8902         rebreaking worked.  This fixes most of the redraw problems.  I see
8903         an occasional cursor trail when a line is broken now and the cursor
8904         placement can seem out by a few pixels also after a rebreak.
8905
8906 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * buffer.C (parseSingleLyXformat2Token): update because minipage
8909         width is now a LyXLength
8910
8911         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8912
8913         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8914         math insets
8915
8916 2002-01-17  Juergen Vigna  <jug@sad.it>
8917
8918         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8919
8920         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8921         is set correctly and the inset is updated correctly.
8922
8923 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8926         the beginning of the loop.
8927
8928 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8929
8930         * lyxrc.C: improve help for use_scalable_fonts
8931
8932 2002-01-17  Allan Rae  <rae@lyx.org>
8933
8934         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8935
8936 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8937
8938         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8939         make sure to set their inset_owner to the right value (bug #171)
8940
8941 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8942
8943         * DepTable.h
8944         * DepTable.C: Implement mtime checking to reduce time spent doing
8945         CRCs.
8946
8947 2002-01-16  Juergen Vigna  <jug@sad.it>
8948
8949         * tabular.C (GetAdditionalHeight): one of error fixed.
8950
8951         * lyxrc.C (output): small fix in writing use_pspell.
8952
8953 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8954
8955         * sp_base.h: #include LString.h
8956
8957 2002-01-16  Allan Rae  <rae@lyx.org>
8958
8959         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8960         Can someone check this please?
8961
8962         * text.C (drawInset): It was possible that p.row would be removed by
8963         breakAgainOneRow upsetting a few other settings.  There may be another
8964         small tweak possible by setting need_break_row = 0 when p.row has been
8965         removed but I don't know enough about the logic here.
8966
8967 2002-01-15  Allan Rae  <rae@lyx.org>
8968
8969         * text.C (insertChar): removed conditional truism.
8970
8971         * BufferView2.C (removeAutoInsets): More tweaks.
8972         cur_par_prev could be a stray pointer.  Check for trailing empty line
8973         in case last line was cur_par and only had an error inset on it.
8974
8975 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8976
8977         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8978         absolute
8979
8980         * vc-backend.C (most methods):
8981         * exporter.C (Export):
8982         * converter.C (convert):
8983         (runLaTeX):
8984         * LyXSendto.C (SendtoApplyCB):
8985         * lyxfunc.C (dispatch):
8986         (menuNew):
8987         (open):
8988         (doImport):
8989         * lyx_cb.C (AutoSave):
8990         (InsertAsciiFile):
8991         * BufferView_pimpl.C (MenuInsertLyXFile):
8992         * buffer.C (runChktex): use Buffer::filePath().
8993
8994         * buffer.h: rename filename to filename_; rename filepath to
8995         filepath_ and make it private
8996         (filePath): new method
8997
8998         * buffer.C (writeFile): use fileName()
8999         (getLatexName):
9000
9001         * lyx_main.C (init): fix starting  of LyX when the binary is a
9002         link from so,ewhere else.
9003
9004         * minibuffer.C: include <cctype> for isprint
9005
9006 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9007
9008         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9009         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9010         name clash with InsetCollapsable's width function.
9011
9012 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9013
9014         * lastfiles.C: include <iterator>
9015
9016 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9017
9018         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9019         std::count.
9020
9021         * buffer.C (makeLaTeXFile): ditto.
9022         Also make loop operation more transparent.
9023
9024 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9025
9026         * ToolbarDefaults.C: remove trailing comma closing namespace.
9027
9028         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9029
9030         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9031         as in WorkArea.
9032
9033         * trans.C (Load): comment out unused variable, allowed.
9034
9035 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9036
9037         * minibuffer.[Ch] (append_char): new method to recieve input from the
9038         drop-down completion browser. If a key was pressed, then recieve this
9039         char and append it to the existing string.
9040         (peek_event): modify the positioning data passed to the completion
9041         browser so that it can be placed above the minibuffer rather than below.
9042 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9043
9044         * LyXAction.C (init): alloe error-next for readonly documents.
9045
9046         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9047         count.
9048
9049 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * bufferlist.C (readFile): create the buffer _after_ checking that
9052         the file exists.
9053
9054         * lyxfunc.C (verboseDispatch): fix handling of arguments
9055
9056         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9057
9058         * lyxrc.C: use string::erase() instead of initializing to "".
9059
9060
9061 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * BufferView_pimpl.h:
9064         * BufferView_pimpl.C:
9065         * WorkArea.h:
9066         * WorkArea.C:
9067         * text2.C: tell X when we have made a selection for copying
9068
9069 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9070
9071         * BufferView_pimpl.C (MenuInsertLyXFile):
9072         * lyxfunc.C (menuNew):
9073         (open):
9074         (doImport): add shortcuts to directory buttons
9075
9076         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9077         open a float)
9078
9079         * lyxfunc.C (setStatusMessage):
9080         (getStatusMessage): new methods
9081         (getStatus):use setStatusMessage instead of setErrorMessage
9082         (dispatch): when function is disabled, set error message here
9083         [instead of in getStatus previously]
9084
9085         * BufferView_pimpl.C (workAreaButtonRelease): update
9086         toolbar/menubar here too.
9087
9088 2002-01-13  Allan Rae  <rae@lyx.org>
9089
9090         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9091         Now seems indestructible.  Remaining task is to audit all other
9092         code affected by deleteEmptyParagraphMechanism.  One small quirk
9093         left is that an empty document with an error in the preamble can
9094         be made to report an error but no error box appears.  I don't know
9095         where it goes.
9096         (removeAutoInsets): Improved comments.
9097
9098 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * Thesaurus.h:
9101         * Thesaurus.C: update for Aiksaurus 0.14
9102
9103 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * text2.C (firstParagraph): removed member function, all uses
9106         replaces with ownerParagraph
9107         (redoParagraphs): here
9108         (updateInset): here
9109         (toggleAppendix): here
9110         * BufferView2.C (insertErrors): here
9111         (setCursorFromRow): here
9112
9113 2002-01-13  Allan Rae  <rae@lyx.org>
9114
9115         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9116         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9117         There is still a way to segfault this although you may have to do this
9118         multiple times: Have an InsetERT with an unknown command in it.
9119         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9120         <down-arrow>, <Enter> again, View->DVI, BANG!
9121
9122         * text2.C (setCursor):
9123         (deleteEmptyParagraphMechanism):
9124         * lyxtext.h (setCursor):
9125         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9126         Making use of the return value may help fix other bugs.
9127
9128 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9129
9130         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9131
9132         * LyXView.C (updateMenubar): call MenuBar::update here
9133         (updateToolbar): but not here
9134         (showState): do not update toolbar/menubar
9135
9136         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9137         should need to care about that.
9138
9139         * lyxfunc.C (verboseDispatch): simplify a bit
9140         (getStatus): have a version which takes a pseudoaction, and
9141         another which requires a (kb_action,string).
9142
9143         * LyXAction.C (retrieveActionArg): make it work also when action
9144         is not a pseudo-action.
9145         (getActionName): simplify a bit
9146         (helpText):
9147
9148 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * lyxfunc.C (verboseDispatch): new families of methods with
9151         several ways to specify a command and a bool to indicate whether
9152         the command name and shortcut should be displayed in minibuffer
9153         (eventually, we could extend that to a finer bitmask like
9154         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9155         (dispatch): the pristine dispatch command which just, well,
9156         dispatchs! Note it still sets its result to minibuffer; I'm not
9157         sure we want that.
9158
9159         * lyxfunc.h: remove setHintMessage
9160
9161         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9162
9163 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9164
9165         * BufferView_pimpl.C (specialChar): delete new inset if we have
9166         not been able to insert it.
9167
9168         * kbmap.C: revert to using int instead of kb_action, since all we
9169         are dealing with is pseudo-actions.
9170
9171         * LyXAction.C (searchActionArg): change to return int instead of
9172         kb_action, since the result is a pseudoaction.
9173
9174 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9175
9176         * buffer.C (insertErtContents): Fix (partially) the font bug.
9177
9178 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9179
9180         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9181         as the other one is broken on my machine!
9182
9183 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9184
9185         * commandtags.h:
9186         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9187
9188 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9189
9190         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9191         reflect their actual use. Provide compatibility code for older lyxrc
9192         files.
9193
9194         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9195         FL_NORMAL_STYLE.
9196         change names of popup font variables in line with the changes to lyxrc.C
9197
9198 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9199
9200         * buffer.C (asciiParagraph): avoid outputing a word twice after
9201         an inset.
9202
9203         * lyxrc.C (getDescription): document that document_path and
9204         template_path can be empty.
9205
9206 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * LaTeXFeatures.C (getMacros):
9209         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9210
9211         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9212
9213         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9214         getPackages.
9215         (getPackages): rename feature "floats" to "float". Use an array to
9216         iterate over 'simple' features (i.e. just a \usepackage). Add
9217         handling of "amsmath" (renamed from "amsstyle").
9218
9219 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9220
9221         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9222         features list.
9223
9224 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9225
9226         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9227         FuncStaus::FuncStatus & FuncStaus::some_method().
9228
9229 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9230
9231         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9232         of the func_satus stuff. Edited and massaged in various ways by
9233         JMarc.
9234
9235         * lyxfunc.C (getStatus): use FuncStatus
9236
9237 2002-01-08  Juergen Vigna  <jug@sad.it>
9238
9239         * text.C (nextBreakPoint): use function Inset::isChar().
9240
9241         * paragraph.C (TeXOnePar): use function
9242         Inset::forceDefaultParagraphs.
9243
9244         * buffer.C (latexParagraphs): use function
9245         Inset::forceDefaultParagraphs.
9246
9247 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9248
9249         * lyx_gui.C (init): set the style of the menu popups to
9250         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9251
9252 2002-01-07  Juergen Vigna  <jug@sad.it>
9253
9254         * text.C (setHeightOfRow): small fix
9255         (prepareToPrint): don't look at alignment if we don't have the place
9256         for doing it.
9257
9258 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9259
9260         * box.C: New file. Move the Box methods and functions out of box.h,
9261         following Lars' suggestion.
9262
9263 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9264
9265         * box.h: #include "support/LOstream.h", needed for inlined function.
9266
9267         * lyxtextclass.C:
9268         * lyxtextclasslist.C: added some using std declarations.
9269
9270 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * box.h: make signed dimensions to allow insets wider than
9273           the screen (bug #162)
9274
9275         * BufferView_pimpl.C: add some insetHit debug
9276
9277 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * vc-backend.C: add FIXME
9280
9281 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * lyxfunc.C (getStatus): enable code for showing math font status
9284         in toolbar/menu.
9285
9286 2002-01-07  Juergen Vigna  <jug@sad.it>
9287
9288         * text.C (nextBreakPoint): removed debug output not needed anymore.
9289
9290 2002-01-06  Juergen Vigna  <jug@sad.it>
9291
9292         * text.C (nextBreakPoint): fixed up this function we had this bug
9293         since ever but now hopefully we break row better.
9294         (insertChar): we have to check if an inset is the next char as it
9295         could now happen that a large inset is causing a break.
9296
9297 2002-01-05  Juergen Vigna  <jug@sad.it>
9298
9299         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9300         if it doesn't like to be drawed.
9301
9302 2002-01-04  Juergen Vigna  <jug@sad.it>
9303
9304         * BufferView2.C (lockInset): forgot to set a cursor.
9305
9306         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9307
9308 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9309
9310         * FormMathsPanel.C:
9311         * FormMathsPanel.h
9312         * MathsSymbols.C:
9313         * form_maths_panel.C:
9314         * form_maths_panel.h:
9315         * form_maths_panel.fd: implemented sub- and super- buttons in math
9316         panel.
9317
9318         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9319         (or ^ space) to be used as in TeX (req'd by André).
9320
9321         * lyxfunc.C: Allow ^ and _ again to be used both as
9322         super/subscript (mathed) and as themselves (in text).
9323
9324 2002-01-03  Allan Rae  <rae@lyx.org>
9325
9326         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9327         "LyX" or the filename of the current buffer if it has one.  This is a
9328         modified form of John Levon's patch.
9329
9330         * XFormsView.C (setWindowTitle): also set icon title.
9331
9332         * LyXView.h (setWindowTitle): signature changed.
9333         * XFormsView.h (setWindowTitle): ditto.
9334
9335 2002-01-02  Juergen Vigna  <jug@sad.it>
9336
9337         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9338
9339 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * screen.C (topCursorVisible): introduce a temp var for
9342         text->cursor.row(), handle the case where this row is null. (kindo
9343         hachish)
9344
9345         * text2.C (setCursor): add a couple of asserts.
9346
9347         * paragraph.h (inset_iterator): add -> operator
9348
9349         * paragraph.[Ch] (autoDeleteInsets): remove member function
9350
9351         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9352         cursor pos correctly and handle inset deletion by itself.
9353         (insertErrors): move iterator declaration out of for expression
9354
9355         * lyxtextclass.C: add <algorithm>
9356
9357         * Makefile.am: added the new files to sources, removed layout.C
9358
9359         * layout.C: removed file
9360
9361         * layout.h: remove LYX_DUMMY_LAYOUT
9362
9363         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9364         layout.
9365
9366         * lyxlayout.[Ch]:
9367         * lyxtextclass.[Ch]:
9368         * lyxtextclasslist.[Ch]: new files
9369
9370         * include order changes to a lot of files, also changes because of
9371         the six new files.
9372
9373 2001-12-27  Juergen Vigna  <jug@sad.it>
9374
9375         * buffer.C (asciiParagraph): more fixes.
9376
9377         * tabular.C (ascii): make ascii export support export of only the
9378         data separated by a column-delimiter.
9379         (ascii): better support for ascii export.
9380
9381         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9382
9383 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9384
9385         * tabular_funcs.C: use a "using std::getline" instead of the
9386         previous fix from Angus (necessary for cxx + lyxstring)
9387
9388 2001-12-24  Juergen Vigna  <jug@sad.it>
9389
9390         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9391
9392         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9393         problems. First check a minipage also if we have some ert-contents
9394         (not only on par->size(), second set the right depth of the paragraph
9395         on the relink to the root-paragraph-list!
9396
9397         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9398         which then did not anymore update the main paragraphs on undo/redo!
9399
9400 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9401
9402         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9403         code. Support all font-changing funcs (even those which are not in
9404         menu currently). Support for reporting font settings in
9405         mathed (disabled until Andre provides a function on mathed's side).
9406
9407         * func_status.h (toggle): small helper function to set toggle
9408         state on a flag.
9409
9410 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9411
9412         * tabular_funcs.C: getline -> std::getline
9413
9414 2001-12-21  Juergen Vigna  <jug@sad.it>
9415
9416         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9417         accessed and could be 0 (I couldn't generate this but it seems
9418         Michael could!).
9419
9420 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9421
9422         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9423         * tabular_funcs.h: here and include iosfwd
9424
9425 2001-12-20  Juergen Vigna  <jug@sad.it>
9426
9427         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9428         inside inset but undo_par was.
9429
9430 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * Thesaurus.C: always include <config.h> in sources.
9433
9434         * Painter.h:
9435         * lyxlookup.h:
9436         * box.h: do not include <config.h> in header files
9437
9438         * text.C (paintLastRow): remove unused variable
9439
9440         * text.C (transformChar):
9441         (insertChar):
9442         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9443
9444         * Painter.C (text):
9445         * font.C (width): rewrite to use uppercase() instead of
9446         islower/toupper.
9447
9448         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9449
9450 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * lyxfind.C: clean up of find failure position change
9453
9454 2001-12-20  Juergen Vigna  <jug@sad.it>
9455
9456         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9457
9458         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9459         (TeXRow): added to LaTeX a single tabular row.
9460         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9461         (Latex): simplified and finally good LT-h/f support.
9462         (various_functions): just small adaptions for LT-h/f support.
9463
9464         * tabular_funcs.[hC]: added and moved here all not classfunctions
9465         of LyXTabular.
9466
9467 2001-12-19  Juergen Vigna  <jug@sad.it>
9468
9469         * tabular.[Ch]: better support for longtabular options (not finished
9470         yet!)
9471
9472 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9473
9474         * text.C (paintLastRow): use the label font instead of the font of
9475         the last character to compute the size of *_BOX. This makes more
9476         sense and avoids a crash with empty paragraphs.
9477         Use Painter::rectangle to draw EMPTY_BOX.
9478
9479 2001-12-19  Juergen Vigna  <jug@sad.it>
9480
9481         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9482         the paragraphs if the replaced paragraph is not the first one!
9483         Tried to delete not used paragraphs but does not work yet so for
9484         now it's inside #ifdef's and by default off!
9485
9486 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * MenuBackend.C: include "lyx_main.h" instead of declaring
9489         lastfiles (actually was declared as LastFiles* instead of a
9490         scoped_ptr).
9491
9492 2001-12-17  Juergen Vigna  <jug@sad.it>
9493
9494         * tabular.C (AppendColumn): applied John's fix
9495
9496 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * BufferView.h:
9499         * BufferView.C:
9500         * BufferView_pimpl.h:
9501         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9502
9503         * Makefile.am:
9504         * box.h: new start of class for above
9505
9506         * lyxfunc.C: ignore space-only minibuffer dispatches.
9507           Show the command name when it doesn't exist
9508
9509         * minibuffer.C: don't add empty lines to the history
9510
9511         * minibuffer.C: add a space on dropdown completion
9512
9513 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * text.C: fix line above/below drawing in insets
9516
9517 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9518
9519         * lyxlength.C (LyXLength): Initialize private variables.
9520
9521 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9524         when inserting error insets.
9525
9526 2001-12-13  Juergen Vigna  <jug@sad.it>
9527
9528         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9529         actually sometimes the before-paragraph.
9530         (setUndo): don't clear the redostack if we're not actually undoing!
9531
9532 2001-12-06  Juergen Vigna  <jug@sad.it>
9533
9534         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9535         and fixed redoing of main paragraph, so we can use it now ;)
9536
9537         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9538
9539 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9542         Juergen's request
9543
9544 2001-12-13  André Pönitz <poenitz@gmx.net>
9545
9546         * undostack.[Ch]:
9547         * undo_func.C: minor cleanup
9548
9549 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9552         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9553         font in urw-fonts package which is marked as -urw-fontspecific and
9554         does not work (incidentally, changing the encoding in the
9555         fonts.dir of this package to -adobe-fontspecific fixes the
9556         problem).
9557
9558         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9559         is a crash when undoing first paragraph (Juergen, please take a
9560         look). THis does not mean the undo fix is wrong, just that it
9561         uncovers problems.
9562
9563         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9564         the (Paragraph*) version when needed instead of duplicating the
9565         code.
9566
9567         * text.C (workWidth): use Inset::parOwner to find out where the
9568         inset has been inserted. This is a huge performance gain for large
9569         documents with lots of insets. If Inset::parOwner is not set, fall
9570         back on the brute force method
9571
9572         * paragraph_pimpl.C (insertInset):
9573         * paragraph.C (Paragraph):
9574         (cutIntoMinibuffer): set parOwner of insets when
9575         inserting/removing them
9576
9577         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9578
9579 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9580
9581         * commandtags.h:
9582         * LyXAction.C:
9583         * lyx_main.C:
9584         * lyxfunc.C:
9585         * mathed/formulabase.C:
9586         * mathed/math_cursor.[Ch]:
9587         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9588
9589
9590 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9591
9592         * lyxlength.[Ch] (operator!=): new function
9593
9594 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * text.C (workWidth): use Inset::parOwner to find out where the
9597         inset has been inserted. This is a huge performance gain for large
9598         documents with lots of insets. If Inset::parOwner is not set, fall
9599         back on the brute force method
9600
9601         * paragraph_pimpl.C (insertInset):
9602         * paragraph.C (Paragraph):
9603         (cutIntoMinibuffer): set parOwner of insets when
9604         inserting/removing them
9605
9606         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9607
9608 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * tabular-old.C (getTokenValue):
9611         * tabular.C (getTokenValue):
9612         (write_attribute): new versions for LyXLength
9613         (everywhere): adjust the use of widths
9614
9615         * tabular.h: change the type of widths from string to LyXLength
9616
9617 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9618
9619         * paragraph.C: fixed missing line number count when exporting
9620         Environments to LaTeX file
9621
9622         * buffer.C: added informational message for checking line numbers.
9623
9624 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9625
9626         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9627         paragraph, do the 'double space' part, but not the 'empty
9628         paragraph' one.
9629
9630         * text.C (workWidth): small optimization
9631         (getLengthMarkerHeight): use minimal size for negative lengths.
9632
9633 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9634
9635         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9636
9637         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9638
9639 2001-12-11  André Pönitz <poenitz@gmx.net>
9640
9641         * FontLoader.C:
9642         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9643
9644 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * text2.C: keep selection on a setFont()
9647
9648 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * lyx_cb.C: another bv->text misuse, from insert label
9651
9652 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9653
9654         * kbsequence.h:
9655         * kbsequence.C: re-instate nmodifier mask
9656
9657 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9658
9659         * lyx_main.h: make lyxGUI private.
9660
9661 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9662
9663         * lyxfind.C: place the cursor correctly on failed search
9664
9665 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * text.C (getLengthMarkerHeight): for small heights, the arrows
9668         are not always on top/bottom of the text
9669         (drawLengthMarker): smaller arrows; take the left margin in
9670         account; draw also vfills.
9671         (paintFirstRow):
9672         (paintLastRow): remove special code for vfill and standard spaces,
9673         since everything is handled in drawLengthMarker now.
9674
9675 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9676
9677         * buffer.C (insertErtContents): try to handle font and language
9678         interaction a bit better.g
9679
9680         * ColorHandler.C (updateColor): change the hash to cover the whole
9681         LColor enum, ws cleanup
9682         (getGCLinepars): ditto
9683         (getGCLinepars): only lookup in the linecache once.
9684
9685 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9686
9687         * iterators.C (operator++): Make the iterator more robust
9688
9689         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9690         (John's patch)
9691         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9692
9693 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * lyxtext.h:
9696         * text.C: better added space drawing
9697
9698 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * LyXView.C:
9701         * BufferView2.C: fix layout combo update on inset unlock
9702
9703 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9704
9705         * Makefile.am: don't compile unused files
9706
9707 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * lyxfunc.C:
9710         * commandtags.h:
9711         * LyXAction.C: remove old LFUN_LAYOUTNO
9712
9713 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * paragraph_pimpl.h:
9716         * paragraph_pimpl.C: isTextAt() doesn't need font param
9717
9718 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * lyxlex.h:
9721         * lyxlex.C: little cleanup
9722
9723 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * BufferView_pimpl.C: fix insertAscii for insets
9726
9727 2001-12-05  Juergen Vigna  <jug@sad.it>
9728
9729         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9730         set the right font on the "multi" paragraph paste!
9731
9732 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9733
9734         * trans_decl.h:
9735         * trans_mgr.[Ch]:
9736         * trans.[Ch]:
9737         * lyxgluelength.C:
9738         * lyxlength.C: remove out-commented code.
9739
9740         * BufferView_pimpl:
9741         * CutAndPaste.C:
9742         * DepTable.C:
9743         * buffer.C:
9744         * chset.C:
9745         * lastfiles.C:
9746         * lyxlex.C:
9747         * lyxlex_pimpl.C:
9748         * lyxserver.C:
9749         * screen.C:
9750         * tabular-old.C:
9751         * tabular.C:
9752         * text.C:
9753         * trans_mgr.C:
9754         * vc-backend.C: change "while(" to "while ("
9755
9756         * lyxlength.[Ch]: add zero function to check if length is zero or
9757         not
9758         * lyxgluelength.C: use it
9759
9760 2001-12-05  Allan Rae  <rae@lyx.org>
9761
9762         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9763         Works for 2.95.3, from what I understand of Garst's reports this should
9764         work for other g++ versions.  We're screwed if the abs(int) definition
9765         changed between bugfix releases of gcc.
9766
9767 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * text.C: fix chapter label offset !
9770
9771 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * lyxtext.h:
9774         * text.C: fix hfill at end of line, clean up
9775
9776 2001-12-04  Juergen Vigna  <jug@sad.it>
9777
9778         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9779         that we force an update of the inset and it's owners if neccessary.
9780
9781 2001-12-03  Juergen Vigna  <jug@sad.it>
9782
9783         * text.C (rowLast): simplified code
9784
9785 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9786
9787         * lyxfunc.C: fix show options on timeout
9788
9789 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9790
9791         * screen.C (topCursorVisible): scroll half a page when the cursor
9792         reached top of bottom of screen
9793
9794 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * minibuffer.C: deactivate on loss of focus
9797
9798 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9799
9800         * vspace.[Ch] (operator!=): add operator.
9801
9802 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * BufferView_pimpl.C: refuse to open an inset when
9805         there's a selection.
9806
9807 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * BufferView_pimpl.C: allow to click on RHS of full row insets
9810
9811 2001-11-30  Juergen Vigna  <jug@sad.it>
9812
9813         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9814         insets for undo reasons.
9815
9816 2001-11-28  André Pönitz <poenitz@gmx.net>
9817
9818         * vspace.[Ch]: cosmetical changes
9819
9820 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * LyXAction.h:
9823         * LyXAction.C:
9824         * lyxfunc.h:
9825         * lyxfunc.C:
9826         * kbmap.h:
9827         * kbmap.C:
9828         * lyxrc.C:
9829         * kbsequence.h:
9830         * kbsequence.C: part re-write of old kb code
9831
9832         * Painter.C:
9833         * WorkArea.C: remove Lgb_bug_find_hack
9834
9835 2001-11-30  José Matos <jamatos@fep.up.pt>
9836
9837         * buffer.C (makeDocBookFile): add a comment to point a hack.
9838         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9839         Fixed a double write of labels.
9840
9841 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9842
9843         * LaTeX.C:
9844         * LaTeX.h Fixed bug in LaTeX class where it would not
9845         re-run latex if no depfiles were changed, but the .dvi was removed.
9846
9847 2001-11-28  André Pönitz <poenitz@gmx.net>
9848
9849         * all the files from the change on 2001/11/26:
9850         use lyx::layout_type instead of LyXTextClass::size_type
9851         use lyx::textclass_type instead of LyXTextClassList::size_type
9852
9853 2001-11-29  Juergen Vigna  <jug@sad.it>
9854
9855         * text.C: added support for paragraph::isFreeSpacing()
9856
9857         * buffer.C: same as above
9858
9859         * paragraph.h: inserted isFreeSpacing() function to enable
9860         FreeSpacing inside InsetERT.
9861
9862         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9863         of the paragraph's in the cut/copy buffer to 0!
9864
9865         * text2.C (removeRow): remove the assert as it can!
9866
9867         * lyxtext.h: added helper function firstRow returning firstrow and
9868         made firstrow private again.
9869
9870         * BufferView2.C (lockInset): don't relock if we're already locked!
9871
9872         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9873         the only paragraph.
9874         (removeRow): added Assert::(firstrow)
9875
9876         * debug.C: forgot to add INSETTEXT here.
9877
9878 2001-11-28  Juergen Vigna  <jug@sad.it>
9879
9880         * sp_spell.C (initialize): changed error text to more general
9881         spellchecker command use (not only ispell!)
9882
9883         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9884
9885         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9886
9887 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * vspace.C: initialise lyxgluelength on failure
9890
9891 2001-11-28  Allan Rae  <rae@lyx.org>
9892
9893         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9894         declaration & definition that looks like a function declaration.
9895
9896 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9897
9898         * BufferView2.C (copy):
9899         (copyEnvironment): do not clear the selection when doing a copy.
9900
9901         * text.C (paintFirstRow): compilation fix
9902
9903 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9904
9905         * tabular.C (Latex): correct line count when writing latex.
9906
9907 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9908
9909         * paragraph_pimpl.h:
9910         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9911           bug a bit
9912
9913 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9914
9915         * text.C:
9916         * LColor.h:
9917         * LColor.C: change vfillline->added_space
9918
9919         * text.C: add markers and text for added space
9920
9921         * vspace.C: fix comment
9922
9923 2001-11-28  André Pönitz <poenitz@gmx.net>
9924
9925         * paragraph.C: whitespace changes
9926         * all the other files from the change on 2001/11/26:
9927         change *::pos_type into lyx::pos_type
9928
9929 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9930
9931         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9932         language of the document when inserting error insets.
9933
9934 2001-11-26  André Pönitz <poenitz@gmx.net>
9935
9936         * BufferView_pimpl.[Ch]:
9937         *       CutAndPaste.C:
9938         * buffer.[Ch]:
9939         * lyxcursor.[Ch]:
9940         * lyxfind.C:
9941         * lyxfunc.C:
9942         * lyxrow.[Ch]:
9943         * paragraph.[Ch]:
9944         * paragraph_pimpl.[Ch]:
9945         * sp_spell.C:
9946         * text.C:
9947         * text2.C: reduce header dependencies, introduce type for positions
9948
9949 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * <various>: change to use Alert.h
9952
9953 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9956         when encountering an unknown token.
9957         (readLyXformat2): Show an error message if there were unknown tokens.
9958
9959 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * BufferView2.C:
9962         * BufferView_pimpl.C:
9963         * buffer.C:
9964         * paragraph.h:
9965         * text.C:
9966         * text2.C: use par->isInset()
9967
9968 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * paragraph_pimpl.h:
9971         * paragraph_pimpl.C: cleanup
9972
9973 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9974
9975         * text2.C (removeRow):
9976         * text.C (setHeightOfRow): remove useless (and costly) call to
9977         getRow.
9978
9979 2001-11-20  Allan Rae  <rae@lyx.org>
9980
9981         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9982         Now need Inset*::checkInsertChar() to return true for appropriate
9983         cases so that the characters in the minibuffer will actually be
9984         inserted.
9985
9986 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * text.C: change the order of the includes.
9989         (workWidth): initialize it at once.
9990         (workWidth): make maxw unsigned
9991         (setHeightOfRow): remove unused variable (inset)
9992         (selectSelectedWord): remove unused variable (inset)
9993         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9994
9995 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9996
9997         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9998         server is not running.
9999         (openConnection):
10000         (closeConnection): add debug info when server is disabled.
10001
10002         * ColorHandler.C (getGCForeground): send debug message to GUI
10003         channel.
10004
10005         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10006
10007         * kbmap.C (bind): modify because return conventions of
10008         kb_sequence::parse have changed.
10009
10010         * kbsequence.C (parse): only ignore spaces and not any stupid
10011         control character. This avoids tests like s[i] <= ' ', which are
10012         guaranteed to fail with 8bit characters and signed chars.
10013         Change return code to string::npos when there have been no error
10014         (0 was a bad idea when error is at first character)
10015
10016 2001-11-14  José Matos  <jamatos@fep.up.pt>
10017
10018         * buffer.h:
10019         * buffer.C (simpleDocBookOnePar): removed unused argument.
10020
10021 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10022
10023         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10024         insets which are part of a word. Paragraph::isLetter takes care of
10025         that now. Use Paragraph::isInset to identify insets.
10026         (selectSelectedWord): do not test for hyphenation break.
10027
10028         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10029         that protected spaces are considered as spaces.
10030
10031         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10032         Inset::isLetter.
10033
10034 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * lyxserver.h:
10037         * lyxserver.C: fix it. and small cleanup.
10038
10039 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * BufferView_pimpl.C: use inline helpers
10042
10043         * LaTeXFeatures.h:
10044         * LaTeXFeatures.C: fix typos
10045
10046         * Spacing.h:
10047         * Spacing.C: move spacing_string into class
10048
10049         * ToolbarDefaults.C: move stuff into namespace anon
10050
10051         * layout.h: update enum
10052
10053         * lyxfunc.C: use better debug
10054
10055         * minibuffer.h: fix typo
10056
10057         * debug.h:
10058         * debug.C:
10059         * WorkArea.C: add and use Debug::WORKAREA
10060
10061         * lyxtext.h:
10062         * text.C:
10063         * text2.C: code re-organisation, inline helpers
10064
10065 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10066
10067         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10068         std::vector.empty().
10069
10070 2001-11-09  Allan Rae  <rae@lyx.org>
10071
10072         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10073         '\n's after tables.  Tabular and ERT inset work now makes this no
10074         longer necessary.
10075
10076 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * minibuffer.h:
10079         * minibuffer.C: fix crash, improve drop-down completion
10080
10081 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * lyxserver.h:
10084         * lyxserver.C: invalidate fd's when doing endPipe()
10085
10086 2001-11-08  José Matos  <jamatos@fep.up.pt>
10087
10088         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10089         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10090
10091         * paragraph.h:
10092         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10093
10094 2001-11-07  José Matos  <jamatos@fep.up.pt>
10095
10096         * buffer.h:
10097         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10098         const qualifier.
10099
10100         * buffer.C (sgmlOpenTag):
10101         * buffer.C (sgmlCloseTag): removed debug info.
10102
10103         * buffer.h (sgmlOpenTag):
10104         * buffer.h (sgmlCloseTag): made public.
10105
10106 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * buffer.C (saveParamsAsDefaults):
10109         * lyx_cb.C (MenuLayoutSave): remove
10110
10111         * LyXAction.C (init):
10112         * commandtags.h:
10113         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10114
10115 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10116
10117         * buffer.C (setPaperStuff): removed from here...
10118
10119         * bufferparams.C (setPaperStuff): ... and moved there.
10120
10121 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * minibuffer.h:
10124         * minibuffer.C:
10125         * XFormsView.C: add support for drop-down completion
10126
10127 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10130         commands.
10131
10132 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10133
10134         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10135         disabled.
10136
10137 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyx_main.C: change ref to known bugs
10140
10141 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10142
10143         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10144         to work around older babel problems.
10145
10146 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10147
10148         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10149
10150 2001-10-24  Juergen Vigna  <jug@sad.it>
10151
10152         * tabular-old.C (ReadOld): below variable changes reflected.
10153
10154         * tabular.[Ch]: added ltType struct for longtable header/footer
10155         defines and changed all instances where they are used. Added
10156         future support for double top/bottom rows.
10157
10158 2001-10-24  José Matos  <jamatos@fep.up.pt>
10159
10160         * buffer.h (docbookHandleCaption):
10161         * buffer.C (docbookHandleCaption): removed unused function.
10162         (makeDocBookFile): moved docbook supported version to v4.1.
10163
10164 2001-10-24  José Matos  <jamatos@fep.up.pt>
10165
10166         * tabular.h:
10167         * tabular.C (docbookRow): new function to export docbook code of a row.
10168         (DocBook): now honors the longtable flags.
10169
10170 2001-10-23  José Matos  <jamatos@fep.up.pt>
10171
10172         * LaTeXFeatures.h:
10173         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10174         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10175
10176         * buffer.C (makeLinuxDocFile):
10177         (makeDocBookFile): reworked the preamble, more clean, and with
10178         support for lyx defined entities. Changed the document declaration
10179         to be more XML friendly.
10180
10181         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10182         if we need to output XML that should be done with a filter.
10183
10184 2001-10-22  Juergen Vigna  <jug@sad.it>
10185
10186         * sp_pspell.h (class PSpell): add alive function needed in the
10187         controller to see if the spellchecker could be started.
10188
10189 2001-10-22  Juergen Vigna  <jug@sad.it>
10190
10191         * buffer.C (insertStringAsLines): modify the font for inserting
10192         chars in certain conditions by calling checkInsertChar(font).
10193
10194 2001-10-19  Juergen Vigna  <jug@sad.it>
10195
10196         * text.C (workWidth): use getRow instead of wrong algorithm.
10197         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10198
10199 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * lyxserver.h:
10202         * lyxserver.C:
10203         * lyx_main.h:
10204         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10205
10206 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * text.C (workWidth): do not search for the exact row when
10209         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10210         optimization for big documents.
10211
10212 2001-10-18  Juergen Vigna  <jug@sad.it>
10213
10214         * text.C (workWidth): new function with added Inset * parameter.
10215
10216 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10219
10220         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10221         change return type of getColumnNearX.
10222
10223
10224         * text.C (changeRegionCase): use uppercase/lowercase instead of
10225         toupper/tolower.
10226         (leftMargin):
10227         (rightMargin): simplify code by factoring out the uses of
10228         textclasslist.
10229         (labelFill):
10230         (numberOfHfills):
10231         (setHeightOfRow):
10232         (appendParagraph): use Paragraph::size_type
10233
10234 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10235
10236         * vspace.C (asLatexString): add a missing break
10237
10238 2001-10-15  Herbert Voss  <voss@perce.de>
10239
10240         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10241
10242 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10243
10244         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10245         is not available.
10246
10247 2001-10-10  André Pönitz <poenitz@gmx.net>
10248
10249         * lyxfunc.C: removed greek_kb_flag.
10250
10251 2001-10-10  Herbert Voss  <voss@perce.de>
10252
10253         * lyx_main.C: delete global string help_lyxdir.
10254
10255 2001-10-09  Herbert Voss  <voss@perce.de>
10256
10257         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10258
10259         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10260
10261         * lyx_main.C: added global string help_lyxdir.
10262
10263         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10264
10265 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10266
10267         * lyxrc.C (set_font_norm_type): support iso8859-4
10268
10269 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10270
10271         * LaTeX.C (deplog): add another regex for MikTeX
10272
10273 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10274
10275         * lyxrc.C (set_font_norm_type): support iso8859-3
10276
10277 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10278
10279         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10280
10281         * LaTeXFeatures.C: remove special case of french and index
10282
10283         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10284         before \begin{document}). This solves several incompatibilities.
10285
10286 2001-10-03  Garst Reese  <reese@isn.net>
10287
10288         * lyx_cb.C: change CheckTex error msg.
10289
10290 2001-10-03  José Matos  <jamatos@fep.up.pt>
10291
10292         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10293
10294 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10295
10296         * .cvsignore: update
10297
10298         * lyx_main.C (commandLineVersionInfo): use new style version info.
10299
10300         * buffer.C (writeFile):
10301         (makeLaTeXFile):
10302         (makeLinuxDocFile):
10303         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10304
10305         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10306
10307         * version.h: update to use stuff in version.C
10308
10309         * version.C.in: new file. Contains version information determined
10310         at compile time. This is a merging of version.h and
10311         version_info.h.in.
10312
10313 2001-10-03  Juergen Vigna  <jug@sad.it>
10314
10315         * BufferView_pimpl.C (update): don't change "dirty" status in
10316         updateInset call.
10317
10318 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10319
10320         * WorkArea.C (c-tor): re-position version string slightly.
10321
10322 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10325         revert to previous code.
10326
10327         WorkArea.[Ch]: (show, destroySplash): methods removed.
10328
10329         WorkArea.C: rework code so that it's an amalgam of the codes before and
10330         after the splash screen was moved to WorkArea.
10331
10332 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10333
10334         * lyxrc.C (read):
10335         * vspace.C (inPixels):
10336         (lyx_advance):
10337         * kbmap.C (bind):
10338         * buffer.C (insertStringAsLines):
10339         (asciiParagraph): fix types to be large enough
10340
10341         * lyxlex_pimpl.h: change member status from short to int
10342
10343         * layout.h: fix type of endlabeltype
10344
10345         * kbmap.C (bind):
10346         * kbsequence.C (parse): change return type to string::size_type
10347
10348         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10349         variable
10350
10351         * Bullet.C (bulletSize):
10352         (bulletEntry): do not use short ints as parameters
10353
10354         * BufferView2.C (insertLyXFile): change a char to an int.
10355
10356         * WorkArea.C (WorkArea): remove unneeded floats in computation
10357
10358 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10359
10360         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10361
10362         * paragraph.C (asString): Do not ignore newline/hfill chars when
10363         copying to the clipboard.
10364
10365 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10366
10367         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10368         after a multi-line inset.
10369
10370 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10371
10372         * paragraph.C (validate): Set NeedLyXFootnoteCode
10373
10374 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10375
10376         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10377         and decrease-error to decrease.
10378
10379 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10380
10381         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10382         it more readable (should be equivalent)
10383
10384 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10385
10386         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10387
10388 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10389
10390         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10391         of a cursor (row, etc.) after a character has been deleted
10392         (deleteEmptyParagraphMechanism): call the method above on _all_
10393         cursors held by the LyXText when a double space has been
10394         detected/deleted.
10395
10396 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10397
10398         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10399         pixmap.
10400         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10401
10402         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10403         background. Use greyOut() and the new show() methods to toggle between
10404         the foreground and background. Add code to remove the splash after
10405         its initial showing.
10406
10407         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10408         (create_forms): no longer call Dialogs::showSplash.
10409
10410 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * .cvsignore: add version_info.h
10413
10414 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10415
10416         * version_info.h.in: new file
10417
10418         * Makefile.am: add version_info.h.in
10419
10420         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10421         version_info.h instead of VERSION_INFO
10422
10423 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10424
10425         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10426         The ERT inset now returns string().
10427
10428 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10429
10430         * lyxtext.h, text.C (selectNextWord): renamed as
10431         selectNextWordToSpellcheck.
10432
10433         * text.C (selectNextWordToSpellcheck): Modified to not select
10434         words inside an ERT inset.
10435
10436 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10437
10438         * lyx_cb.C (MenuLayoutSave): change a bit the question
10439
10440         * sp_base.h: include <sys/types.h>
10441
10442 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10443
10444         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10445
10446 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10447
10448         * several files: fix typos in user-visible strings
10449
10450 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10451
10452         * text2.C (pasteSelection): do not set the selection, since it
10453         will be cleared later. Actually, the intent was to fix the way the
10454         selection was set, but I figured rmoving the code was just as good.
10455
10456 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10457
10458         * FontLoader.C (available): Check if font is available without
10459         loading the font.
10460
10461 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10462
10463         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10464
10465 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10466
10467         * lyxrc.[Ch]: added display_graphics variable and associated code.
10468
10469 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10470
10471         * bufferparams.C (hasClassDefaults): new method. Returns true if
10472         the buffer parameters correspond to known class defaults
10473
10474 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10475
10476         * XFormsView.C (show): set minimum size to the main window.
10477
10478 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10479
10480         * text2.C (copySelection):
10481         (cutSelection):
10482         * lyxfind.C (LyXReplace):
10483         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10484         LyXText::selectionAsString.
10485
10486         * paragraph.C (asString): add "label" argument to the second form
10487
10488         * text2.C (selectionAsString): add "label" argument and pass it to
10489         Paragraph::asString.
10490
10491 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10492
10493         * lyx_main.C (commandLineHelp): remove version information
10494
10495 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10496
10497         * lyx_main.C: add -version commandline option
10498
10499 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * paragraph.h: make the optional constructor arg required instead.
10502         some modifications to other files because of this.
10503
10504         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10505
10506         * lyxserver.C (C_LyXComm_callback): make it static
10507
10508         * lyx_main.C (error_handler): make it static
10509
10510         * lyx_gui.C (LyX_XErrHandler): make it static
10511
10512         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10513
10514         * WorkArea.C: make the extern "C" methods static.
10515
10516         * Makefile.am (lyx_LDADD): simplify
10517
10518 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10519
10520         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10521         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10522
10523         * LyXAction.C (init):
10524         * lyxfunc.C (dispatch): associated code removal.
10525
10526 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10527
10528         * lyxfont.h (isSymbolFont): shut off warning
10529
10530         * text.C (setHeightOfRow):
10531         (getVisibleRow): fix crash with empty paragraphs which have a
10532         bottom line
10533
10534 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10535
10536         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10537         code.
10538
10539 2001-09-04  José Matos  <jamatos@fep.up.pt>
10540         * buffer.C
10541         * buffer.h
10542         * tabular.C (docbook): rename docBook method to docbook.
10543
10544 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10545
10546         * Makefile.am: add dependencies to main.o.
10547
10548 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10549
10550         * FontLoader.C (available): Return false if !lyxrc.use_gui
10551
10552 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10553
10554         * FontInfo.C (query):
10555         * converter.C (view):
10556         * importer.C (Import):
10557         * exporter.C (Export): Can not -> cannot.
10558
10559 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * BufferView_pimpl.C: allow to create index inset even if
10562           string is empty
10563
10564 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10565
10566         * buffer.C (getLists): replace boost::tie code with an explicit pair
10567         as boost::tie can break some compilers.
10568
10569         * iterators.h: Added a std:: declaration to the return type of
10570         ParIterator::size.
10571
10572 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10575           case.
10576
10577 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * iterators.[Ch]: New files. Provide paragraph iterators.
10580
10581         * buffer.C (changeLanguage): Use paragraph iterators.
10582         (isMultiLingual): ditto
10583
10584         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10585
10586 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10587
10588         * FontLoader.C: Support for cmr font.
10589
10590 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10593         (available): New method.
10594
10595         * FontInfo.C (getFontname): Use scalable fonts even when
10596         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10597         found.
10598
10599 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10600
10601         * converter.C (Formats::view): reverted! Incorrect fix.
10602
10603 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10604
10605         * converter.C (Formats::view): only output the -paper option
10606         if the dvi viewer is xdvi, thereby fixing bug #233429.
10607
10608 2001-08-23  Herbert Voss  <voss@perce>
10609
10610         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10611
10612 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * Spacing.h (Spacing): Set space to Default on in the default
10615         constructor.
10616
10617 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10618
10619         * vc-backend.h (RCS::versionString): add RCS to version
10620         (CVS::versionString): add CVS to version
10621
10622         * vc-backend.C (scanMaster): do not add CVS to version.
10623         (scanMaster): do not add RCS to version
10624
10625         * lyxvc.C (versionString): new method
10626
10627         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10628
10629 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10630
10631         * Spacing.C (set): initialize fval
10632
10633 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10636         " or \.
10637
10638 2001-08-16  Juergen Vigna  <jug@sad.it>
10639
10640         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10641
10642 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * BufferView_pimpl.C:
10645         * figureForm.C:
10646         * lyxtext.h:
10647         * text2.C: setParagraph takes linespacing now
10648
10649 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * LyxAction.C: add internal LFUN_CITATION_INSERT
10652
10653         * LyXView.C: actually apply fix
10654
10655         * bufferlist.C: fix open non-existent file
10656
10657         * lyxfind.C: fix indentation
10658
10659         * lyxfunc.C: remove unneeded assert, fix typo
10660
10661 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * MenuBackend.C: use "Floatname List"
10664
10665 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10666
10667         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10668         when converting LaTeX layout to insetERT.
10669         Generate a non-collapsed float when reading old float
10670
10671 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10674         ERT insets.
10675
10676 2001-08-13  Juergen Vigna  <jug@sad.it>
10677
10678         * text.C (fill): return 0 instead of 20 as this seems to be the more
10679         correct value.
10680
10681 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10682
10683         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10684         lyxrc.font_norm.
10685
10686 2001-08-13  Juergen Vigna  <jug@sad.it>
10687
10688         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10689         casesensitive off.
10690         (SearchBackward): comment out the unlocking of the inset_owner this
10691         should not be needed!
10692
10693 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10694
10695         * Many files: Remove inherit_language, and add latex_language
10696
10697         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10698         collapsible insets.
10699
10700 2001-08-10  Juergen Vigna  <jug@sad.it>
10701
10702         * text.C (prepareToPrint): fixed hfill-width in draw!
10703
10704         * BufferView2.C (selectLastWord): save the selection cursor as this
10705         now is cleared in the function LyXText::clearSelection!
10706
10707 2001-08-08  Juergen Vigna  <jug@sad.it>
10708
10709         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10710         BACKSPACE type functions.
10711
10712         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10713         is only cutted from the document but not put in the cut-buffer, where
10714         still the old stuff should be.
10715
10716         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10717
10718         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10719
10720         * tabular.C (SetWidthOfCell): fixed special case where the width
10721         was not updated!
10722         (LeftLine): handle '|' in align_special.
10723         (RightLine): ditto
10724         (LeftAlreadyDrawed): ditto
10725         (SetWidthOfCell): ditto
10726
10727 2001-08-07  Juergen Vigna  <jug@sad.it>
10728
10729         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10730
10731 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10734         * lyxlex.[hC]: ditto
10735
10736 2001-08-06  Juergen Vigna  <jug@sad.it>
10737
10738         * text.C (getVisibleRow): fix up row clearing a bit.
10739
10740 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10741
10742         * minibuffer.C: make sure the X server sees the changes in the input.
10743
10744 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10745
10746         * paragraph.C (getFont): split into...
10747         (getLabelFont): this
10748         (getLayoutFont): and this
10749         * paragraph_pimpl.C (realizeFont): calling this
10750
10751         * text2.C (getFont): split into...
10752         (getLayoutFont): this
10753         (getLabelFont): and this
10754         (realizeFont): all three calling this
10755
10756         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10757         files where used.
10758
10759 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10760
10761         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10762
10763 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10764
10765         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10766         layouts from the Quote inset insertion.
10767
10768 2001-08-03  Juergen Vigna  <jug@sad.it>
10769
10770         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10771
10772         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10773         only if status not is already CHANGED_IN_DRAW (second level).
10774
10775         * text.C (draw): don't set the need_break_row when inside an
10776         InsetText LyXText.
10777
10778 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * buffer.C (parseSingleLyXformat2Token): handle more latex
10781         conversion cases.
10782
10783         * bufferview_funcs.[hC]: change function names to
10784         begin with small char, adjust other files.
10785
10786 2001-08-02  André Pönitz <poenitz@gmx.net>
10787
10788         * lyxfunc.C:
10789         BufferView_pimpl.C: remove broken special code for math-greek
10790
10791 2001-08-02  Juergen Vigna  <jug@sad.it>
10792
10793         * BufferView_pimpl.C (update): redone this function so that we
10794         update the text again if there was a CHANGE_IN_DRAW.
10795
10796         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10797         (drawFromTo): added a new internal bool which is used by draw() and
10798         redraw() function.
10799         (general): some cursor drawing problems fixed.
10800
10801 2001-08-01  Juergen Vigna  <jug@sad.it>
10802
10803         * lyxfind.C (LyXFind): fixed
10804         (SearchForward): ditto
10805         (SearchBackward): ditto
10806
10807         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10808         spurius drawing of the cursor in the main area.
10809
10810         * text2.C (status): small fix which could lead to a segfault!
10811         (clearSelection): remove unneeded BufferView param.
10812
10813 2001-08-01  André Pönitz <poenitz@gmx.net>
10814
10815         * lyxfunc.C: small change due to changed mathed interface
10816
10817 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10818
10819         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10820
10821 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * lyxfunc.c: fail gracefully if file doesn't exist
10824
10825         * LyXSendto.C:
10826         * buffer.C:
10827         * lyxfunc.C:
10828         * BufferView_pimpl.C: IsDirWriteable() proto changed
10829
10830         * LyXView.C: fix updateWindowTitle() to store the last title
10831
10832 2001-07-31  Juergen Vigna  <jug@sad.it>
10833
10834         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10835         the font (wrong since using of Paragraph::highestFontInRange).
10836
10837         * paragraph.C (highestFontInRange): added a default_size parameter.
10838
10839         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10840         (setHeightOfRow): reformat
10841
10842 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * converter.[hC] + affected files: move to (inital-char)lowercase
10845         function names.
10846
10847         * ParagraphParameters.C (ParagraphParameters): remove commented code
10848
10849         * PainterBase.[Ch]: remove commented code
10850
10851         * LaTeXFeatures.h: add "bool floats" for float.sty
10852
10853         * LaTeXFeatures.C (LaTeXFeatures): init floats
10854         (require): handle float
10855         (getPackages): do it with floats
10856
10857 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10858
10859         * BufferView_pimpl.C (Dispatch): improve handling of
10860         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10861
10862         * commandtags.h: #include lyxfont.h here temporarily to avoid
10863         keybinding bug.
10864
10865         * bufferlist.h: include LString.h here.
10866
10867 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10868
10869         * text2.C (getStringToIndex): new method.
10870
10871 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10872
10873         * *: Reduced header file dependencies all over.
10874
10875 2001-07-30  Baruch Even  <baruch@lyx.org>
10876
10877         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10878
10879 2001-07-29  Baruch Even  <baruch@lyx.org>
10880
10881         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10882
10883 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * ParameterStruct.h (endif): add a default constructor to make
10886         sure that all variables is initialized.
10887
10888         * ParagraphParameters.C (ParagraphParameters): adjust
10889
10890 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10893         index; also, check that there is something to index, and that it
10894         does not span over several paragraphs.
10895         (doubleClick): use WHOLE_WORD_STRICT for double click.
10896
10897         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10898
10899         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10900         scheme.
10901
10902 2001-07-26  Baruch Even  <baruch@lyx.org>
10903
10904         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10905         an InsetFig figure, backwards compatible reading of old figure code.
10906
10907 2001-07-27  Juergen Vigna  <jug@sad.it>
10908
10909         * text2.C: font.realize function adaption.
10910
10911         * text.C (draw): add a warnings lyxerr text if needed.
10912
10913         * layout.C: font.realize function adaption.
10914
10915         * language.C: add inherit_language and implement it's handlings
10916
10917         * bufferview_funcs.C (StyleReset): remove language parameter from
10918         font creation (should be language_inherit now).
10919
10920         * bufferparams.C (writeFile): handle ignore_language.
10921
10922         * paragraph.C (getFontSettings): the language has to be resolved
10923         otherwise we have problems in LyXFont!
10924
10925         * lyxfont.C (lyxWriteChanges): added document_language parameter
10926         (update): removed unneeded language parameter
10927
10928         * paragraph.C (validate): fixed wrong output of color-package when
10929         using interface colors for certain fonts in certain environments,
10930         which should not seen as that on the final output.
10931
10932 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * BufferView_pimpl.C:
10935         * Thesaurus.h:
10936         * Thesaurus.C:
10937         * Makefile.am:
10938         * commandtags.h:
10939         * LyXAction.C: add thesaurus support
10940
10941         * lyxfind.h:
10942         * lyxfind.C: add "once" parameter, for thesaurus, to not
10943           move to the next match
10944
10945 2001-07-26  Juergen Vigna  <jug@sad.it>
10946
10947         * lyxfont.C (realize): honor ignore_language too!
10948         (resolved): ditto.
10949
10950         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10951
10952         * text.C (draw): one place more for ignore_language to not draw
10953         itself!
10954
10955 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10956
10957         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10958
10959 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10960
10961         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10962         the minipage conversion problem.
10963
10964 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10967         insert an inset.
10968
10969 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970
10971         * BufferView.h: don't forward declare WorkArea
10972
10973         * BufferView.C: don't include WorkArea.h
10974
10975 2001-07-25  André Pönitz <poenitz@gmx.net>
10976
10977         * commandtags.h:
10978         * LyXAction.C:
10979         * lyxfunc.C:  new LFUN 'math-space'
10980
10981         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10982
10983 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * text2.C (toggleInset): call open/close
10986
10987 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10988
10989         * lyxfunc.C (dispatch): add debug for the disabled case
10990
10991         * font.C (buttonText): make similar to rectText
10992
10993         * buffer.C (readInset): comment out parsing of insetlist and
10994         insttheorem
10995
10996         * PainterBase.C (rectText): small correction
10997
10998         * BufferView_pimpl.C: comment out insettheorem and insetlist
10999         * LyXAction.C: ditto
11000         * commandtags.h: ditto
11001
11002 2001-07-24  Juergen Vigna  <jug@sad.it>
11003
11004         * text.C (draw): honor the ignore_language.
11005
11006         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11007
11008 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11011         char inset.
11012
11013 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11014
11015         * lyxtext.h: remove unused (and unimplemented) methods
11016
11017 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11018
11019         * text.C (getVisibleRow): honor background color
11020
11021         * PainterBase.h:
11022         * Painter.h: remove default color argument for fillRectangle
11023
11024         * text.C (backgroundColor): new method
11025
11026 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11027
11028         * text.C (getVisibleRow): adjust
11029
11030         * font.[Ch] (rectText): new method, metrics
11031         (buttonText): new method, metrics
11032
11033         * PainterBase.[hC]: make rectText and buttonText always draw and take
11034         fewer paramteres.
11035
11036 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11037
11038         * ToolbarDefaults.C (read):
11039         * MenuBackend.C (read): allow escaping in all strings
11040
11041         * BufferView_pimpl.C (insertAndEditInset): new method.
11042         (Dispatch): use insertAndEditInset whenever appropriate.
11043
11044         * BufferView_pimpl.C (insertNote): removed
11045
11046         * BufferView_pimpl.C (smartQuote): new method, moved from
11047         BufferView; if an insetquote cannot be inserted, insert a '"'
11048         character instead.
11049
11050         * BufferView2.C: remove insertCorrectQuote();
11051
11052         * lyxfunc.C (getStatus): Add support for all remaingin
11053         inset-insert lfuns.
11054
11055         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11056
11057         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11058         command (necessary to pass " as parameter of self-insert.
11059
11060         * text.C (selectWordWhenUnderCursor):
11061         (selectWord): add word_location parameter
11062         (selectWordWhenUnderCursor): same + remove special code for word
11063         boundary.
11064         (selectNextWord): use kind() to guess type of insetspecialchar,
11065         not latex().
11066
11067         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11068         (insertErtContents): create ert insets as collapsed.
11069         (readInset): better compatibility code for Info inset.
11070
11071 2001-07-20  Juergen Vigna  <jug@sad.it>
11072
11073         * lyxfunc.C (dispatch): use always LyXFind now!
11074
11075         * text2.C (init): add a reinit flag so that the LyXText can be
11076         reinited instead of deleted and reallocated (used in InsetText).
11077
11078         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11079
11080         * text.C: ditto
11081
11082         * text2.C: ditto
11083
11084 2001-07-18  Juergen Vigna  <jug@sad.it>
11085
11086         * text.C (selectNextWord): handle insets inside inset by calling
11087         always the bv->text functions so that we can go up the_locking_inset!
11088
11089         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11090         in strange locations when inside an inset!
11091
11092         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11093         handling to include insets.
11094
11095         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11096
11097 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * LyXAction.C (init):
11100         * commandtags.h:
11101         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11102         LIGATURE_BREAK, since the name is so stupid.
11103
11104 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11105
11106         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11107         InsetInfos.
11108
11109         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11110
11111         * sp_form.[Ch]: remove.
11112
11113         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11114
11115         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11116         InsetInfo.
11117
11118         * src/buffer.C (readInset): ditto.
11119
11120 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11121
11122         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11123         menuSeparator(), endOfSentenceDot(), ldots() and
11124         hyphenationPoint(), which are therefore removed.
11125         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11126
11127         * LyXAction.C (init):
11128         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11129
11130         * paragraph.C (getWord): removed.
11131
11132         * BufferView_pimpl.C (Dispatch): use last word or selection for
11133         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11134
11135         * lyx_main.C (queryUserLyXDir): do not ask before creating
11136         user_dir, except if it has been named explicitely.
11137
11138 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11139
11140         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11141         a document of zero size.
11142
11143 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11144
11145         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11146         approriately in the c-tor and in require().
11147         (getPackages): output the appropriate LaTeX for natbib support.
11148
11149         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11150         variables "use_natbib" and "use_numerical_citations" when reading the
11151         LyX file.
11152         (readInset): read the various natbib cite commands.
11153         (validate): white-space change.
11154
11155         * bufferparams.[Ch]: new variables "bool use_natbib" and
11156         "bool use_numerical_citations".
11157         (writeFile): output them in the LyX file.
11158
11159 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11160
11161         * lyxfunc.C (getStatus): add support for all the inset insertion
11162         commands.
11163
11164         * text2.C (insertInset):
11165         * paragraph.C (insetAllowed):
11166         * BufferView_pimpl.C (insertInset): update to take in account the
11167         renaming of insertInsetAllowed
11168
11169         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11170
11171         * text2.C (getInset): new method. returns inset at cursor position.
11172
11173         * BufferView_pimpl.C (Dispatch): changes because of this.
11174
11175         * LyXAction.C (init): rename open-stuff to inset-toggle.
11176
11177         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11178
11179         * text2.C (toggleInset): renamed from openStuff; use
11180         Inset::open().
11181
11182 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11183
11184         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11185
11186         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11187
11188 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11189
11190         * buffer.C (readLyXformat2): Add filename to the error dialog
11191
11192 2001-07-18  Juergen Vigna  <jug@sad.it>
11193
11194         * tabular.C (GetCellNumber): put an assert here instead of the check!
11195
11196 2001-07-17  Juergen Vigna  <jug@sad.it>
11197
11198         * BufferView_pimpl.C (toggleSelection): adapted too.
11199
11200         * text.C (selectNextWord): adapted for use with insets.
11201         (selectSelectedWord): ditto
11202
11203 2001-07-17  Juergen Vigna  <jug@sad.it>
11204
11205         * sp_spell.C (PSpell): fix initialitation order.
11206
11207 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11208
11209         * paragraph.C: spacing
11210
11211 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11212
11213         * sp_spell.C: repair language selection for pspell
11214
11215 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * lyxfunc.h: change more methods to begin with lower char.
11218
11219 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11220
11221         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11222         for unknown layouts.
11223
11224 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11225
11226         * buffer.C (readLyXformat2): Generate an error dialog if there are
11227         unknown layouts.
11228
11229 2001-07-16  Juergen Vigna  <jug@sad.it>
11230
11231         * sp_spell.C: always compile ISpell part.
11232
11233         * lyxrc.C: added use_pspell entry and it's handling.
11234
11235 2001-07-13  Juergen Vigna  <jug@sad.it>
11236
11237         * sp_spell.C: removed double includes.
11238
11239 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11240
11241         Consistent use of Lsstream.h:
11242         * Lsstream.h: added using std::stringstream for consistencies sake.
11243
11244         * buffer.C: removed using std::stringstream
11245
11246         * lyxfont.C (stateText):
11247         * paragraph.C (asString):
11248         * text.C (selectNextWord, selectSelectedWord):
11249         * text2.C (setCounter):
11250         * vspace.C (asString, asLatexString):
11251         std::ostringstream -> ostringstream.
11252
11253 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11254
11255         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11256         * commandtags.h: add LFUN_HELP_ABOUTLYX
11257         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11258
11259 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11260
11261         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11262         cursorToggle()
11263         * lyx_gui_misc.C: remove spellchecker
11264         * lyxfunc.C: showSpellchecker
11265         * sp_base.h: added
11266         * sp_ispell.h: added
11267         * sp_pspell.h: added
11268         * sp_spell.C: added
11269         * sp_form.[Ch]: removed
11270         * spellchecker.[Ch]: removed
11271
11272 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11273
11274         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11275         is set.
11276         (simpleTeXSpecialChars): Simply print the input character without
11277         any special translation if pass_thru is set.
11278
11279         * layout.h: Added bool pass_thru to layout class for being able to
11280         implement pass through of a paragraph for Literate Programming.
11281
11282         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11283         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11284         * layout.C (Read): add "passthru" to list of layout tags and add
11285         code to set the pass_thru boolean when it is read.
11286
11287 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * trans_decl.h: remove allowed from KmodInfo
11290
11291         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11292         remove allowed code
11293         (Load): adjust
11294
11295         * paragraph_pimpl.C (erase): use boost::prior
11296
11297         * Painter.C (text): use data() instead of c_str() when length is
11298         also provided.
11299         * WorkArea.C (putClipboard): ditto
11300         * font.h (width): ditto
11301
11302         * BufferView2.C: use it-> instead of (*it). for iterators
11303         * texrow.C: ditto
11304         * paragraph_pimpl.C: ditto
11305         * paragraph.C: ditto
11306         * minibuffer.C: ditto
11307         * language.C: ditto
11308         * kbmap.C: ditto
11309         * encoding.C: ditto
11310         * counters.C: ditto
11311         * converter.C: ditto
11312         * chset.C: ditto
11313         * Variables.C: ditto
11314         * TextCache.C: ditto
11315         * MenuBackend.C: ditto
11316         * LyXAction.C: ditto
11317         * LColor.C: ditto
11318         * FloatList.C: ditto
11319         * DepTable.C: ditto
11320         * ColorHandler.C (LyXColorHandler): ditto
11321
11322 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11323
11324         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11325
11326         * text2.C (openStuff): reintroduce this method (which had been
11327         nuked in NEW_INSETS frenzy).
11328
11329         * lyxfunc.C (Dispatch): when an action has not been handled, use
11330         its name in the error message, not its number.
11331
11332         * paragraph.C (inInset): change method name to begin with lowercase.
11333
11334         * undo_funcs.C:
11335         * text2.C: updates because of this.
11336
11337 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11338
11339         * ToolbarDefaults.C (add): add spaces in error message
11340
11341 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11344         (readLyXformat2): rename return_par to first_par, use lyxlex's
11345         pushToken and remove the manual push handling.
11346         (parseSingleLyXformat2Token): add another ert comp. variable:
11347         in_tabular, rename return_par to first_par. handle newlines better
11348
11349 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11350
11351         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11352
11353 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11354
11355         * text2.C (getParFromID): removed
11356
11357         * buffer.C (getParFromID): new method moved form lyxtext.
11358         * BufferView2.C (insertErrors): adjust
11359         (setCursorFromRow): adjust
11360         * BufferView_pimpl.C (restorePosition): adjust
11361         * lyxfunc.C (Dispatch): adjust
11362         * undo_funcs.C (textUndo): adjust
11363         (textRedo): adjust
11364         (textHandleUndo): adjust
11365         (textHandleUndo): adjust
11366
11367 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * buffer.C: up' the LYX_FORMAT
11370
11371         * lyxfont.h: turn NO_LATEX on as default
11372
11373         * buffer.C (insertErtContents): new methods of tex style compability.
11374         (parseSingleLyXformat2Token): use it several places.
11375         * tabular.C (OldFormatRead): and here
11376
11377 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11378
11379         * text2.C: remove some commented code.
11380         reindent file.
11381
11382         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11383         * trans.C: changes because of the above.
11384
11385 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11386
11387         * text2.C (setCounter): Fix counters bug with bibliography layout.
11388
11389 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11390
11391         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11392         own member functions
11393         (simpleTeXSpecialChars): ditto
11394
11395 2001-07-06  Juergen Vigna  <jug@sad.it>
11396
11397         * a lot of files: changed the access to LyXText::status and the
11398         call of undo-functions.
11399
11400         * undo.[Ch]: added a inset_id to the undo informations.
11401
11402         * undo_funcs.[Ch]: added and moved here all undo functions.
11403
11404         * lyxtext.h: give the status enum a weight, made status_ a private
11405         variable and made accessor functions for it, removed the whole bunch
11406         of undo-functions as they are now in their own file, make some
11407         functions publically available. Added function ownerParagraph with
11408         int parameter.
11409
11410         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11411         made InInset() a const function, added getParFromID() function.
11412
11413         * buffer.[Ch]: added const version for inset_iterator functions,
11414         added getInsetFromID() function.
11415
11416         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11417         changed undo functions for new version.
11418
11419 2001-07-05  Juergen Vigna  <jug@sad.it>
11420
11421         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11422         unknow mechanism does not call the proper constructor but only this
11423         one also if I request the other!?
11424
11425 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11428
11429         * text2.C (LyXText): use initialization lists.
11430
11431         * lyxtext.h (Selection): initialize set_ and mark_
11432         (init): remove method
11433
11434 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11435
11436         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11437
11438 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * screen.[Ch]: change method names to begin with lowercase
11441
11442         * BufferView_pimpl.C (updateScrollbar): simplify further and
11443         hopefully make it a bit faster.
11444
11445 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11446
11447         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11448         calling directly xforms functions.
11449
11450         * Painter.C (Painter):
11451         * lyx_cb.C (MenuWrite):
11452         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11453         fl_display.
11454
11455         * lyx_gui.C: remove bogus guiruntime extern declaration.
11456
11457 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11460         in NEW_INSETS
11461         (redoDrawingOfParagraph): ditto
11462         (redoParagraphs): ditto
11463         (cutSelection): don't create a object for CutAndPaste use the
11464         static method directly
11465         (pasteSelection): ditto
11466
11467         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11468         LyXview (+ rename)
11469
11470 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * modifications to some other files because of this.
11473
11474         * Makefile.am (lyx_SOURCES): add XFormsView
11475
11476         * XFormsView.[Ch]: new files
11477
11478         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11479         the main window. Move the gui dependent stuff to XFormsView
11480
11481 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11482
11483         * tabular.C (GetCellInset): update cur_cell also in the row/col
11484         version of this function.
11485
11486         * lyxfunc.C: no need to include figure_form.h here.
11487
11488         * FontLoader.h:
11489         * lyxfunc.h:
11490         * lyxscreen.h:
11491         * text2.C:
11492         * lyxvc.C: no need to include forms.h here.
11493
11494 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11497
11498         * lyxfunc.C (Dispatch):
11499         * Spacing.C (set):
11500         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11501         constructor argument.
11502
11503 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11504
11505         * paragraph.C (Paragraph): dont't clear, and just set layout.
11506         (makeSameLayout): use params's copy contructor.
11507
11508         * ParagraphParameters.[Ch] (makeSame): delete method
11509
11510 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * Variables.[Ch]: fix indentation, rename set to isSet
11513
11514 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * lyxfunc.C (Dispatch): fix typo
11517
11518 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11521         upper_bound.
11522
11523         * bufferlist.C: include assert.h for emergencyWrite().
11524
11525 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11528           give up at last (bug #425202) !
11529
11530 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * lyx_gui_misc.C:
11533         * sp_form.h:
11534         * sp_form.C:
11535         * spellchecker.h:
11536         * spellchecker.C: strip spellchecker options and bring up
11537           preferences tab instead
11538
11539 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11540
11541         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11542         the istringstream constructor
11543
11544 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11545
11546         * paragraph.C (getLayout): fix return value
11547
11548         * paragraph.h: do not declare getLayout as inline.
11549
11550         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11551
11552 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * lyxcursor.h (operator<): new func
11555         (operator>): new func
11556         (operator>=): new func
11557         (operator<=): new func
11558
11559         * text.C (changeCase): use selection.start and selection.end
11560         (changeRegionCase): require from to be <= to. Require par to be a
11561         valid paragraph.
11562
11563         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11564
11565 2001-06-27  Juergen Vigna  <jug@sad.it>
11566
11567         * text.C (cursorLeftOneWord): changed to return the cursor and added
11568         overlay with BufferView * parameter which calls this one.
11569         (getWord): added
11570         (selectWord): use new getWord function.
11571         (changeCase): renamed from changeWordCase as and extended to work
11572         also on selections.
11573
11574         * lyxtext.h: added enum word_location
11575
11576         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11577         changeCase as this operates now also on selections.
11578
11579 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11580
11581         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11582
11583         * many files: send debug output to Debug::INFO instead of
11584         Debug::ANY.
11585
11586         * converter.C (View):
11587         (Convert):
11588         (Move): send debug output to Debug::FILES instead of console.
11589
11590 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11591
11592         * lyxfunc.C (getStatus): use func_status
11593
11594         * func_status.h: new header, describing the results of
11595         LyXFunc::getStatus;
11596
11597         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11598         LFUN_MATH_HALIGN.
11599
11600 2001-06-25  The LyX Project  <jug@sad.it>
11601
11602         * buffer.C (sgmlOpenTag):
11603         (sgmlCloseTag):
11604         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11605
11606 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * text2.C: remove some dead code
11609
11610         * tabular.C (GetCellInset): store the last cell checked (gotten)
11611
11612         * tabular.h: add the helper for the speedup
11613
11614         * lyxtext.h: remove some dead code
11615
11616 2001-06-26  The LyX Project  <Asger>
11617
11618         * paragraph.C: Change export to LaTeX of alignment to
11619         \begin{center} and family for better roundtrip work with reLyX.
11620
11621         * Tune the math drawing a bit.
11622
11623 2001-06-25  The LyX Project  <Asger>
11624
11625         * LColor.C (LColor): New color for math background. New color
11626         for buttons.
11627
11628 2001-06-25  The LyX Project  <jug@sad.it>
11629
11630         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11631
11632         * lyxfunc.C (Open):
11633         * bufferlist.C (newFile): do not restrict to files ending with
11634         .lyx
11635
11636         * BufferView_pimpl.C (MenuInsertLyXFile):
11637
11638 2001-06-24  The LyX Project  <jug@sad.it>
11639
11640         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11641         of compare_no_case
11642
11643 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * lyxtext.h: rename most methods to begin with a small char.
11646         Lots of changes because of this.
11647
11648         * paragraph.C (Paragraph): do not call fitToSize
11649         (erase): call Pimpl::erase
11650         (insertChar): call Pimpl::insertChar
11651         (insertInset): call Pipl::insertInset
11652         (breakParagraph): do not call fitToSize
11653         (breakParagraphConservative): do not call fitToSize
11654         (fitToSize): remove method
11655
11656         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11657
11658 2001-06-24  The LyX Project  <Asger>
11659
11660         * Fix Qt compilation^2
11661
11662 2001-06-24  The LyX Project  <jug@sad.it>
11663
11664         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11665         depthHook(getDepth()-1).
11666
11667         * paragraph.h:
11668         * ParagraphParameters.h:
11669         * ParameterStruct.h: change type of depth to unsigned int ==
11670         depth_type. Many adaptations to other files before of that.
11671
11672 2001-06-24  The LyX Project  <Asger>
11673
11674         * Fix Qt compilation.
11675
11676 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * paragraph.h: renamed several methods to begin with small letter.
11679         several changes to many parts of the code because of this.
11680
11681 2001-06-23  The LyX Project  <jug@sad.it>
11682
11683         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11684         rewritten to discard all double spaces when KeepEmpty is off
11685         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11686         to only handle newlines but not fiddle with spaces and friends.
11687
11688         * lyxfunc.C (MenuNew): when doing 'new from template', use
11689         template_path as default directory
11690
11691 2001-06-23  The LyX Project  <Asger>
11692
11693         * Clean-up of header file includes all over
11694         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11695
11696 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * paragraph.h: renamed from lyxparagraph.h
11699
11700 2001-06-23  Asger  <lyx@violet.home.sad.it>
11701
11702         * Buffer.h: Removed Buffer::resize
11703         * BufferList.h: Removed BufferList::resize
11704         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11705         the document lazily when we change the width, or the font settings.
11706
11707 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11710
11711 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * buffer.h: remove out of date comment
11714
11715 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11716
11717         * lyxscreen.h:
11718         * screen.C: fix "theoretical" GC leak
11719
11720 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11721
11722         * LaTeX.C (scanAuxFile):
11723         (deplog): remove trailing \r when reading stream (useful under
11724         win32)
11725
11726 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11727
11728         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11729         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11730         and BufferView::theLockingInset(Inset*), so should use them and not
11731         access bv_->text->the_locking_inset directly.
11732
11733         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11734
11735 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11736
11737         * Makefile.am:
11738         * tex-defs.h: remove old unused file
11739
11740 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * BufferView_pimpl.C: fix typo, remove minibuffer message
11743           when buffer has loaded
11744
11745 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * lyxfunc.C (Dispatch): use stringstream
11748         (MenuNew): use stringstream
11749         (Open): use stringstream
11750
11751         * importer.C (Import): use stringstream
11752
11753         * bufferview_funcs.C (CurrentState): use stringstream
11754
11755         * LaTeX.C (run): use stringstream
11756
11757         * BufferView_pimpl.C (savePosition): use stringstream
11758         (restorePosition): use stringstream
11759         (MenuInsertLyXFile): use stringstream
11760
11761 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11762
11763         * BufferView.C:
11764         * Bullet.C:
11765         * ColorHandler.C:
11766         * FontInfo.C:
11767         * FontLoader.C:
11768         * LColor.C:
11769         * LaTeXFeatures.C:
11770         * Painter.C:
11771         * gettext.C:
11772         * lyx_gui_misc.C:
11773         * lyxserver.C:
11774         * vspace.C: removed // -*- C++ -*- as first line.
11775
11776         * lyxfind.h:
11777         * version.h: added // -*- C++ -*- as first line.
11778
11779 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11780
11781         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11782
11783         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11784         of string
11785
11786 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11787
11788         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11789         of floats.
11790
11791 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11792
11793         * gettext.C: include LString.h even when --disable-nls is on.
11794
11795 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11796
11797         * converter.h (Get): changed argument type from int to
11798         FormatList::size_type to avoid unnecessary conversion.
11799
11800         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11801         before using it.
11802
11803 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11804
11805         * gettext.h: include LString.h even when --disable-nls is on.
11806
11807 2001-06-07  Juergen Vigna  <jug@sad.it>
11808
11809         * text.C (BreakAgain): subst spaces with tabs.
11810
11811         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11812         (resizeInsetsLyXText): set force on resizeLyXText.
11813
11814 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11815
11816         * gettext.h (gettext_init):
11817         (locale_init): use a real definition instead of a macro
11818
11819 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * Bufferview_pimpl.C:
11822         * LColor.h:
11823         * LColor.C: further lcolor tidies
11824
11825 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * BufferView_pimpl.C (updateScrollbar): simplify.
11828
11829         * BufferView2.C: don't include insets/insetinfo.h, change
11830         prototype for insertInset and call the Pimpl version. let
11831         updateInset call Pimpl version.
11832
11833         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11834         gotoInset to BufferView::Pimpl
11835
11836 2001-06-01  Juergen Vigna  <jug@sad.it>
11837
11838         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11839         inside a LockingInset (is the update needed at all?).
11840
11841 2001-05-31  Juergen Vigna  <jug@sad.it>
11842
11843         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11844         here not the old one otherwise how should we compare it afterwards
11845         if it's the same!
11846
11847 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * lyxfont.C:
11850         * tabular.C:
11851         * tabular-old.C:
11852         * FontInfo.C: bring C functions into global namespace when
11853         necessary
11854
11855 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11856
11857         * LString.h: make sure config.h has been loaded before LString.h.
11858
11859         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11860         (one for each char read by EatLine!).
11861
11862         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11863         variables.
11864
11865 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11868         to the same as the par we break from
11869
11870 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11873
11874         * MenuBackend.C (expand): also create menu entries for wide
11875         versions of the floats.
11876
11877         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11878
11879         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11880
11881         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11882         frontends/Makefile.am
11883
11884         * text2.C: adjust
11885         * text.C: adjust
11886
11887
11888         * tabular.C (getTokenValue): add std::
11889
11890         * tabular-old.C (getTokenValue): add std::
11891         (getTokenValue): ditto
11892         (getTokenValue): ditto
11893
11894         * screen.C (ToggleSelection): adjust
11895
11896         * lyxtext.h: put selection cursors inside a Selection struct.
11897
11898         * lyxfunc.C (moveCursorUpdate): adjust
11899
11900         * lyxfont.C (latexWriteStartChanges): add std::
11901
11902         * lyxfind.C: adjust
11903
11904         * font.h: delete with(char const *, LyXFont const &)
11905
11906         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11907
11908         * FontInfo.C (getFontname): add std::
11909
11910         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11911         (workAreaButtonPress): adjust
11912         (tripleClick): adjust
11913         (update): adjust
11914         (moveCursorUpdate): adjust
11915         (Dispatch): adjust
11916
11917         * BufferView2.C (gotoInset): adjust
11918
11919 2001-05-30  Juergen Vigna  <jug@sad.it>
11920
11921         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11922         to check pspell I add this as default as I now have new pspell
11923         libraries and they seem to use this.
11924
11925 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * text2.C (CutSelection): make the cursor valid before the call to
11928         ClearSelection.
11929
11930 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11931
11932         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11933         relied on 0 terminated strings and other horrors. Bug found due to
11934         the new assert in lyxstring!
11935
11936         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11937         KP_ keys.
11938
11939 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11942         to latinkeys.bind.
11943
11944         * lyxfunc.C (processKeySym): change method of getting to the
11945         self-insert char.
11946
11947         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11948         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11949         * BufferView_pimpl.[Ch]: here as private methods.
11950
11951 2001-05-28  Juergen Vigna  <jug@sad.it>
11952
11953         * text.C (SetHeightOfRow): added the update() call again as it is
11954         needed to initialize inset dimensions!
11955
11956 2001-05-16  Juergen Vigna  <jug@sad.it>
11957
11958         * text2.C (SetCharFont): Add new function with BufferView * and
11959         bool toggleall parameters for setting insets internal fonts.
11960         (SetFont): Freeze the undo as we may change fonts in Insets and
11961         all this change should be inside only one Undo!
11962
11963         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11964         setting font's in insets as for them we have the SetFont function!
11965
11966 2001-05-15  Juergen Vigna  <jug@sad.it>
11967
11968         * text2.C (ClearSelection): to be sure we REALLY don't have any
11969         selection anymore!
11970
11971         * tabular.C (TeXCellPreamble): fixed the left border problem for
11972         multicolumn cells.
11973
11974 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11975
11976         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11977         dependancy file
11978
11979 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11982         LFUN_BREAKPARAGRAPH.
11983
11984         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11985         help test to "internal only", similar for LFUN_INSERT_URL
11986
11987         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11988         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11989         auto_region_delete and deadkeys.
11990
11991 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * LColor.h:
11994         * LColor.C: remove some dead entries, tidy a little
11995
11996 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11999         commented code.
12000         (Dispatch): implement LFUN_ESCAPE
12001
12002         * commandtags.h: add LFUN_ESCAPE
12003
12004         * LyXAction.C (init): add entry for LFUN_ESCAPE
12005
12006         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12007         Remove commented code.
12008         (insertNote): moved here
12009         (open_new_inset): moved here
12010
12011         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12012         BufferView_pimpl
12013
12014 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12015
12016         * kbmap.C (findbinding): clean it up and make it work correctly.
12017
12018         * lyx_main.C (init): do not pass argc and argv as parameters
12019
12020 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12021
12022         * buffer.C: fix path for OS/2 & Win32
12023
12024         * lyx_gui.C:
12025         * lyx_main:
12026         * lyx_main.C: Added os:: class.
12027
12028         * os2_defines.h: update
12029
12030 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12033         better by trying again with reduced state.
12034
12035 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12036
12037         * lyxrc.C (read): print error about invalid key sequence only when
12038         debugging (because not all latinX keysyms are known to some X
12039         servers)
12040
12041         * kbsequence.C (getiso): add a few std:: qualifiers
12042         (getiso): comment out extra return statement.
12043
12044 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12047         handling.
12048         (Dispatch): enhance the accent inset a bit. (not perfect)
12049
12050 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12051
12052         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12053
12054 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12055
12056         * bufferlist.C (emergencyWrite): fix assert() call
12057
12058 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12059
12060         * text.C (InsertChar): Added trivial patch to only send the "you
12061         can not do multiple spaces this way" message once during a
12062         session.
12063
12064 2001-05-08  Baruch Even  <baruch@lyx.org>
12065
12066         * Makefile.am: Changed order of libraries to get LyX to link properly
12067         with the gnome frontend.
12068
12069 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12070
12071         * LaTeXFeatures.h: add a std:: qualifier
12072
12073 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12074
12075         * paragraph.C (String): use stringstream
12076
12077 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * paragraph.C (writeFile): remove footflag arg
12080
12081         * buffer.C (makeLaTeXFile): use stringstream
12082         (latexParagraphs): remove footnot gurba
12083
12084         * LaTeXFeatures.C (getPackages): use stringstream
12085         (getMacros): likewise
12086         (getTClassPreamble): likewise
12087         (getFloatDefinitions): new method
12088
12089         * paragraph.C (writeFile): reindent
12090         (Erase): reindent
12091
12092         * WorkArea.h: revert the xpos + etc changes.
12093
12094         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12095
12096         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12097
12098         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12099         (pasteSelection): likewise
12100         * text2.C (CreateUndo): likewise
12101
12102 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * minibuffer.C (peek_event): temporarily reduce the functionality
12105         of the minibuffer (to allow args on lfuns)
12106
12107         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12108         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12109
12110         * buffer.C (readInset): add compability reading of old float
12111         lists, add reading of new style float list.
12112         (readInset): avoid reevaluation of inscmd.getCmdName()
12113         (getLists): reindent
12114
12115         * MenuBackend.C (MenuItem): implement parsing of
12116         md_floatlistinsert and md_floatinsert.
12117         (expand::LastFiles): move initalizaton of iterators out of loop,
12118         avoid reevaluation.
12119         (expand::Documents): introduce typdedef vector<string> Strings,
12120         and use it.
12121         (expand::ExportFormats): introduce typedef vector<Format const *>
12122         Formats, and use it.
12123         (expand): implement FloatListInsert and FloatInsert.
12124
12125         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12126         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12127         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12128
12129         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12130         handling.
12131         (Dispatch::LFUN_FLOAT_LIST): implement
12132
12133 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12134
12135         * LaTeX.C (run): Fix problem with --export code.
12136
12137 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12138
12139         * BufferView.[Ch] (workarea): removed.
12140         (getClipboard) new method; wrapper for workarea()->getClipboard()
12141
12142         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12143         bug.
12144
12145         * WorkArea.h (width, height, xpos, ypos): These methods all
12146         returned the dimensions of the work_area sub-area of WorkArea,
12147         resulting in a position error if the WorkArea were resized. Now
12148         return the dimensions of the entire WorkArea.
12149
12150         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12151
12152 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12153
12154         * LaTeX.C (deplog): correct the syntax of regex reg1
12155
12156 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * undo.C: remove !NEW_INSETS cruft
12159
12160 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * text2.C: remove !NEW_INSETS cruft
12163
12164         * text.C: remove !NEW_INSETS cruft
12165
12166         * tabular.C: remove !NEW_INSETS cruft
12167
12168         * spellchecker.C: remove !NEW_INSETS cruft
12169
12170         * lyxtext.h: remove !NEW_INSETS cruft
12171
12172         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12173
12174         * lyxfunc.C: remove !NEW_INSETS cruft
12175
12176         * lyxfind.C: remove !NEW_INSETS cruft
12177
12178         * lyx_cb.C: remove !NEW_INSETS cruft
12179
12180         * figureForm.C: remove  !NEW_INSETS cruft
12181
12182         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12183
12184         * buffer.[Ch]: remove !NEW_INSETS cruft
12185
12186         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12187
12188         * CutAndPaste.C: remove !NEW_INSETS cruft
12189
12190         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12191
12192         * BufferView2.C: remove !NEW_INSETS cruft
12193
12194         * BufferView.h: remove !NEW_INSETS cruft
12195
12196 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * Lsstream.h: include LString.h before the sstream headers to
12199         fix problem with gcc 2.95.3 and lyxstring
12200
12201 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12202
12203         * lyx_main.C: add using directives when needed for C functions
12204         declared in std:: namespace.
12205
12206 2001-04-27  Juergen Vigna  <jug@sad.it>
12207
12208         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12209         (SetHeightOfRow): comment out the update call should not be needed!
12210
12211 2001-04-13  Juergen Vigna  <jug@sad.it>
12212
12213         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12214         (LyXTabular): tried to minimize operator= operations (and realized
12215         hopfully Lars wish).
12216
12217 2001-04-27  Juergen Vigna  <jug@sad.it>
12218
12219         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12220
12221 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12224
12225         * buffer.C (readInset): hack to make listof algorithm work
12226
12227         * BufferView_pimpl.C: hack to make listof algorithm work
12228
12229 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12230
12231         * LyXAction.C: removed all !NEW_INSETS cruft
12232         (init): moved lfun_item in method
12233
12234         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12235
12236 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12237
12238         * BufferView2.C (theLockingInset): white space.
12239
12240 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * minibuffer.C: include <iostream>
12243
12244         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12245
12246         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12247
12248         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12249
12250         * text.[Ch] (TransposeChars): new method
12251
12252 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * call message directly through LyXView instead of through LyXFunc
12255         * BufferView2.C: adjust
12256         * BufferView_pimpl.C: adjust
12257         * FontLoader.C: adjust
12258         * buffer.C: adjust
12259         * bufferview_funcs.C: adjust
12260         * converter.C: adjust
12261         * figureForm.C: adjust
12262         * importer.C: adjust
12263         * lyx_cb.C: adjust
12264         * lyx_gui_misc.C: adjust
12265         * lyxfunc.C: adjust
12266         * lyxvc.C: adjust
12267         * text2.C: adjust
12268         + more files in subdirs
12269
12270         * lyxparagraph.h (size): move up int file
12271         (GetLayout): ditto
12272
12273         * adjust all uses of Assert to lyx::Assert.
12274
12275         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12276         lyxfunctional in namespace lyx
12277         * layout.C (hasLayout): ditto
12278         (GetLayout): ditto
12279         (GetLayout): ditto
12280         (delete_layout): ditto
12281         (NumberOfClass): ditto
12282         * converter.C (GetFormat): ditto
12283         (GetNumber): ditto
12284         (Add): ditto
12285         (Delete): ditto
12286         (SetViewer): ditto
12287         * bufferlist.C (getFileNames): ditto
12288         (emergencyWriteAll): ditto
12289         (exists): ditto
12290         (getBuffer): ditto
12291         * MenuBackend.C (hasSubmenu): ditto
12292         (hasMenu): ditto
12293         (getMenu): ditto
12294         * BufferView_pimpl.C (getInsetByCode): ditto
12295
12296 2001-04-18  Juergen Vigna  <jug@sad.it>
12297
12298         * vspace.C (asLatexString): fixed the 100% problem.
12299
12300 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * lyxfunc.C (Dispatch):
12303         * minibuffer.C:
12304         * minibuffer.h: add a few std:: qualifiers
12305
12306 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * minibuffer.[Ch]: reimplement so that commands is initiated and
12309         run from lyxfunc, simplified som handling, and made the completion
12310         and history code for complete. wip.
12311
12312         * lyxfunc.C (processKeySym): call message
12313         (miniDispatch): new temporary method
12314         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12315         (LFUN_MESSAGE): implement
12316         (LFUN_MESSAGE_PUSH): implement
12317         (LFUN_MESSAGE_POP): implement
12318         (initMiniBuffer): the initial/defualt minibuffer message.
12319
12320         * lyxfont.[Ch]: inline some more getters
12321
12322         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12323
12324         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12325
12326         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12327         (AutoSave): use LFUN_MESSAGE
12328         (Reconfigure): ditto
12329
12330         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12331
12332         * figureForm.C: use LFUN_MESSAGE
12333
12334         * converter.C (runLaTeX): use LFUN_MESSAGE
12335
12336         * bufferview_funcs.C: use LFUN_MESSAGE
12337         (Melt): ditto
12338         (changeDepth): ditto
12339
12340         * bufferparams.h: use boost::
12341
12342         * bufferlist.h: inherit privately from noncopyable
12343
12344         * bufferlist.C (loadLyXFile): remove some commented code.
12345
12346         * buffer.C (runChktex): use LFUN_MESSAGE
12347
12348         * ShareContainer.h: inherit privately from noncopyable
12349
12350         * ParagraphParameters.[hC] (depth): inline it.
12351
12352         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12353         methods.
12354         (message): new method
12355         (messagePush): ditto
12356         (messagePop): ditto
12357         (show): init minibuffer
12358         (showState): direct call
12359
12360         * LaTeX.[Ch]: inherit privately from noncopyable
12361         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12362         instead of WriteStatus.
12363
12364         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12365
12366         * BufferView_pimpl.C (buffer): don't init minibuffer
12367         (workAreaButtonPress): use LFUN_MESSAGE
12368         (workAreaButtonRelease): ditto
12369         (savePosition): ditto
12370         (restorePosition): ditto
12371         (MenuInsertLyXFile): ditto
12372         (workAreaExpose): don't init minibuffer
12373         (update): remove commented code, simplify
12374
12375         * BufferView2.C (openStuff): use LFUN_MESSAGE
12376         (toggleFloat): ditto
12377         (menuUndo): ditto
12378         (menuRedo): ditto
12379         (copyEnvironment): ditto
12380         (pasteEnvironment): ditto
12381         (copy): ditto
12382         (cut): ditto
12383         (paste): ditto
12384         (gotoInset): ditto
12385         (updateInset): remove some commented code
12386
12387         * lastfiles.h: inherit privately from noncopyable
12388         * layout.h: ditto
12389         * lyx_gui.h: ditto
12390         * lyx_main.h: ditto
12391         * lyxlex.h: ditto
12392         * lyxlex_pimpl.h: ditto
12393
12394         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12395         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12396         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12397
12398         * LyXAction.h: inherit privately from noncopyable, add methods
12399         func_begin, func_end, returning iterators to the func map.
12400
12401         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12402         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12403         (func_begin): new method
12404         (func_end): new method
12405
12406         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12407         and not)
12408         (copySelection): ditto
12409         (pasteSelection): ditto
12410
12411         * BufferView.C: whitespace change
12412         * BufferView.h: inherit privately from noncopyable
12413
12414 2001-04-16  Allan Rae  <rae@lyx.org>
12415
12416         * tabular-old.C (l_getline):
12417         * spellchecker.C (sc_check_word):
12418         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12419         an unrecognised preprocessor directive.  So ensure they're wrapped.
12420
12421 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12422
12423         * src/exporter.C (Export): Give an error message when path to file
12424         contains spaces.
12425
12426 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12427
12428         * LaTeX.C (deplog): Always check that foundfile exists.
12429
12430 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12431
12432         * lyx_main.h:
12433         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12434
12435 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * tabular.[Ch] (getLabelList): implement new method
12438
12439         * minibuffer.h: comment ouf setTiimer
12440
12441         * minibuffer.C (ExecutingCB): constify res
12442         (peek_event): constify s
12443         (Set): constify ntext
12444         (Init): constify nicename
12445
12446         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12447
12448         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12449         (savePosition): use two params to Minibuffer::Set
12450         (restorePosition): ditto
12451
12452 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12453
12454         * lyx_main.C: include language.h
12455
12456         * Makefile.am (lyx_main.o): add language.h
12457
12458 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12459
12460         * exporter.C:
12461         * paragraph.C:
12462         * screen.C:
12463         * tabular.C:
12464         * CutAndPaste.C: include gettext.h
12465
12466         * lyxfont.h: remove old hack with ON and OFF.
12467
12468         * lyxparagraph.h:
12469         * lyxfont.h: do not include language.h...
12470
12471         * BufferView2.C:
12472         * LaTeXFeatures.C:
12473         * Painter.C:
12474         * bufferview_funcs.C:
12475         * font.C:
12476         * lyxfont.C:
12477         * text.C:
12478         * text2.C:
12479         * trans_mgr.C:
12480         * paragraph.C: ... but do it here instead
12481
12482 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12485
12486         * tabular.C: small reformat
12487
12488         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12489         NEW_INSETS version
12490         (GetChar): ditto
12491         (BreakParagraph): ditto
12492         (SetOnlyLayout): ditto
12493         (SetLayout): ditto
12494
12495         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12496         with one arg less.
12497
12498         * lastfiles.C: removed most using decl, add std:: where needed
12499
12500         * buffer.C: ws changes
12501
12502         * MenuBackend.C (class compare_format): put into anon namespace
12503         (expand): constify label, names, action, action2
12504         (expand):
12505
12506         * text.C (SingleWidth): constify font
12507         (IsBoundary): constify rtl2
12508         (GetVisibleRow): constify ww
12509
12510         * LaTeX.C (deplog): constify logfile
12511
12512         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12513         start_x, end_x
12514         (workAreaExpose): constify widthChange, heightChange
12515
12516         * lyxrow.C (par): moved
12517         (height): moved
12518         (next): moved
12519         * lyxrow.h: as inlines here
12520
12521         * lyxfont.h (shape): moved from lyxfont.C
12522         (emph): moved from lyxfont.C
12523
12524         * lyxfont.C (LyXFont): use initialization list for all
12525         constructors
12526         (shape): move to lyxfont.h as inline
12527         (emph): move to lyxfont.h as inline
12528
12529
12530 2001-04-04  Juergen Vigna  <jug@sad.it>
12531
12532         * vspace.C: had to include stdio.h for use of sscanf
12533
12534 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12535
12536         * BufferView.h:
12537         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12538         independent of xforms.
12539
12540 2001-04-02  Juergen Vigna  <jug@sad.it>
12541
12542         * spellchecker.C: fixed namespace placing!
12543
12544 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12545
12546         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12547         the LyXParagraph * is 0.
12548
12549 2001-03-29  Juergen Vigna  <jug@sad.it>
12550
12551         * vspace.C: added support for %, c%, p%, l%.
12552         (stringFromUnit): added helper function.
12553         (asLatexString): changed to give right results for the %-values.
12554
12555         * buffer.C: convert the widthp in a width%.
12556
12557 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12560         figureForm.[Ch].
12561
12562         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12563         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12564
12565         * lyx_cb.[Ch]: see above.
12566
12567         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12568         form1.[Ch].
12569
12570         * form1.[Ch]:
12571         * lyx.[Ch]: replaced by figure_form.[Ch].
12572
12573         * lyx_gui.C:
12574         * lyx_gui_misc.C:
12575         * lyxfunc.C: changed headers associated with above changes.
12576
12577 2001-03-27  Juergen Vigna  <jug@sad.it>
12578
12579         * BufferView_pimpl.C: set the temporary cursor right!
12580
12581 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12584
12585 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12586
12587         * LString.h: removed "using std::getline"!
12588
12589         * BufferView_pimpl.C (Dispatch): changes due to changes in
12590         InsetInclude::Params.
12591
12592         * buffer.C (tag_name): removed redundant break statements as they were
12593         producing lots of warnings with my compiler.
12594
12595 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * LString.h: add "using std::getline" when using the real <string>.
12598
12599 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12600
12601         * buffer.C: removed bitset usage.
12602         PAR_TAG moved to an anonymous name space.
12603         (tag_name): new funtion, also in the anonymous namespace.
12604         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12605         (makeDocBookFile): clean code. Completed transition from string arrays
12606         to string vectors.
12607         (SimpleDocBookOnePar): code clean.
12608
12609 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12610
12611         * tabular.C: add some comments.
12612
12613 2001-03-22  Juergen Vigna  <jug@sad.it>
12614
12615         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12616         compatibility read a bit and fixed bug with minipage in different
12617         depth.
12618
12619 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12620
12621         * buffer.C (pop_tag): removed.
12622         (push_tag): removed.
12623         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12624         array replaced with vector. Added support for CDATA sections.
12625         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12626         at any nest level.
12627         (makeDocBookFile): XML conformant declaration of CDATA section,
12628         fixed bug related to <emphasis> in the first paragraph char.
12629         (sgmlOpenTag): exclude empty tags.
12630         (sgmlCloseTag): ditto.
12631
12632         * buffer.h (pop_tag): removed.
12633         (push_tag): removed.
12634
12635 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * language.h (Languages): added size_type and size().
12638
12639 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12640
12641         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12642         response on compability reading of minipages. One probliem is that
12643         the old usage of minipages was «flertydig»
12644
12645         * several files here and in subdirs: don't use static at file
12646         scope use anon namespaces instead.
12647
12648 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12649
12650         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12651         LaTeX output. This is necessary for Literate document
12652         processing.
12653
12654 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12655
12656         * buffer.C: insert hfill when needed.
12657
12658         * tabular.C (l_getline): use string::erase, small whitespace change.
12659
12660         * BufferView_pimpl.C: try the anon namespace.
12661         * WorkArea.C: ditto
12662
12663 2001-03-16  Juergen Vigna  <jug@sad.it>
12664
12665         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12666         otherwise it won't open options-dialogs.
12667
12668         * buffer.C: honor pextraWidth(p) on converting minipages.
12669
12670         * tabular.C (l_getline): changed the functions to strip trailing \r.
12671
12672 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * BufferView_pimpl.C:
12675         * minibuffer..C: added "using SigC::slot" declaration.
12676
12677 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12678
12679         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12680
12681         * text2.C: ditto
12682
12683         * text.C: ditto
12684
12685         * paragraph.C: ditto
12686
12687         * lyxtext.h: NO_PEXTRA
12688
12689         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12690
12691         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12692         * ParameterStruct.h: ditto
12693         * ParagraphParameters.h: ditto
12694         * lyxparagraph.h: ditto
12695
12696 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12697
12698         * buffer.C: add compability for minipage alignment.
12699         (latexParagraphs): remove unwanted pextra check.
12700
12701         * several files: remove CXX_WORKING_NAMESPACES
12702
12703         * buffer.C (pop_tag): tie is in namespace boost
12704
12705         * BufferView.h: noncopyable is in namespace boost
12706         * lyxlex.h: ditto
12707         * lyx_main.h: ditto
12708         * lyx_gui.h: ditto
12709         * layout.h: ditto
12710         * lastfiles.h: ditto
12711         * bufferlist.h: ditto
12712         * ShareContainer.h: ditto
12713         * LyXView.h: ditto
12714         * LyXAction.h: ditto
12715         * LaTeX.h: ditto
12716
12717 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12718
12719         * Merging changes from BRANCH_MVC back into HEAD.
12720
12721         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12722
12723 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * BufferView_pimpl.C: change from intl.C
12726
12727         * combox.h:
12728         * combox.C:
12729         * Makefile.am: move combox.*
12730
12731         * form1.h:
12732         * form1.C:
12733         * lyx_gui.C:
12734         * intl.h:
12735         * intl.C: remove dialog (covered by prefs)
12736
12737 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12738
12739         * lyxfunc.C (Dispatch): removed redundant break statement.
12740
12741 2001-03-14  Juergen Vigna  <jug@sad.it>
12742
12743         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12744
12745 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12746
12747         * buffer.C: add hack to fix compability reading of minipages.
12748
12749 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12750
12751         * buffer.C (getLists): Cleanup.
12752
12753 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * lyxfont.C (update): don't honor toggleall on font size.
12756
12757 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * bmtable.c:
12760         * bmtable.h:
12761         * Makefile.am: moved to frontends/xforms/
12762
12763         * lyx_gui_misc.C:
12764         * lyxfunc.C:
12765         * BufferView_pimpl.C: changes for moved mathpanel
12766
12767 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * gettext.h: fix gettext_init() in --disable-nls
12770
12771 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12774
12775 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * lyx.C:
12778         * lyx.h: strip external form
12779
12780 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * BufferView_pimpl.C: add comment, destroySplash()
12783
12784 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * BufferView_pimpl.C:
12787         * LyXAction.C:
12788         * buffer.C:
12789         * commandtags.h:
12790         * lyxfunc.C: use re-worked insetinclude
12791
12792 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12793
12794         * buffer.C: add using std::stringstream.
12795
12796         * lyx_cb.C: readd using std::ios.
12797
12798         * buffer.C: add using std::map.
12799
12800         * BufferView_pimpl.C: add using std::vector.
12801
12802         * ShareContainer.h: add std:: to swap.
12803
12804         * buffer.h: add some typedefs
12805         * buffer.C (getLists): use them
12806         (getLists): renamed from getTocList.
12807         add a counter for the different float types and use it in the
12808         generated string.
12809         (getLists): use the same counter for the NEW_INSETS and the "non"
12810         NEW_INSETS
12811
12812         * lyx_cb.h: remove unused items, includes, using etc.
12813
12814         * ShareContainer.h: remove some commented code, add more comments
12815         and "documentation".
12816
12817 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12818
12819         * buffer.C (getTocList): make the list also when NEW_INSETS is
12820         defined.
12821
12822         * buffer.h: remove TocType
12823
12824         * buffer.C (getTocList): change to return a map<string,
12825         vector<TocItem> >, implement for dynamic number of list.
12826
12827         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12828         * text2.C (PasteSelection): adjust
12829         * CutAndPaste.C (pasteSelection): adjust
12830
12831         * FloatList.C (FloatList): update from the new_insets branch.
12832         * Floating.[Ch]: ditto
12833         * LaTeXFeatures.C: ditto
12834         * buffer.C: ditto
12835         * lyxlex_pimpl.C: ditto
12836
12837         * paragraph.C (Last): remove when NEW_INSETS is defined.
12838
12839         * other file: changes because of the above.
12840
12841 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12842
12843         * lyxparagraph.h: rename next to next_, previous to previous_,
12844         make them private for NEW_INSETS. Rename Next() to next(),
12845         Previous() to previous().
12846
12847         * other files: changes because of the above.
12848
12849 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12850
12851         * BufferView.h:
12852         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12853         problem.
12854
12855 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12856
12857         * main.C (main): pass lyx_localedir to gettext_init().
12858
12859         * gettext.h: remove locale_init and gettext_init macros
12860
12861         * gettext.C (locale_init): new function
12862         (gettext_init): new function
12863
12864         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12865         setlocale().
12866
12867 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12868
12869         * Moved credits to frontends:
12870         * credits.[Ch]: removed
12871         * credits_form.[Ch]: removed
12872         * lyx_gui_misc.C: remove credits stuff
12873         * Makefile.am:
12874
12875 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12876
12877         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12878
12879         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12880         unneeded destructor.
12881
12882         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12883         a standalone pointer again.
12884
12885         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12886
12887 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * Makefile.am:
12890         * filedlg.h:
12891         * filedlg.C:
12892         * LyXAction.C:
12893         * ToolbarDefaults.C:
12894         * bufferlist.C:
12895         * commandtags.h:
12896         * form1.C:
12897         * form1.h:
12898         * lyx_cb.C:
12899         * lyx_cb.h:
12900         * lyxfunc.h:
12901         * lyxfunc.C:
12902         * BufferView_pimpl.C: use new file dialog in GUII
12903
12904         * lyx_cb.h:
12905         * lyx_cb.C: remove LayoutsCB to Toolbar
12906
12907 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * ShareContainer.h (get): add std:: qualifier
12910
12911 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * ShareContainer.h: define a proper ShareContainer::value_type
12914         type (and use typename to please compaq cxx)
12915
12916 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12917
12918         * lyxparagraph.h: move serveral local vars to
12919         ParameterStruct/ParagraphParameters., use ShareContainer in
12920         FontTable., make vars in FontTable private and add getter and
12921         setter.
12922
12923         * paragraph.C: changes because of the above.
12924
12925         * lyxfont.h: remove copy constructor and copy assignment. (the
12926         default ones is ok), move number inside FontBits. move inlines to
12927         lyxfont.C
12928
12929         * lyxfont.C: add number to initializaton of statics, move several
12930         inlines here. constify several local vars. some whitespace
12931         cleanup. Dont hide outerscope variables.
12932
12933         * Spacing.h: add two new constructors to match the set methods.
12934
12935         * ShareContainer.h: new file, will perhaps be moved to support
12936
12937         * ParameterStruct.h: new file
12938
12939         * ParagraphParameters.h: new file
12940
12941         * ParagraphParameters.C: new file
12942
12943         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12944         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12945
12946         * BufferView_pimpl.C: ParagraphParameter changes.
12947         * buffer.C: Likewise.
12948         * bufferview_funcs.C: Likewise.
12949         * text.C: Likewise.
12950         * text2.C: Likewise.
12951
12952 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12953
12954         * lyxfind.C (LyXReplace): do not redefine default argument in
12955         implementation.
12956         (IsStringInText): ditto
12957         (SearchForward): ditto
12958         (SearchBackward): ditto
12959
12960 2001-03-06  Juergen Vigna  <jug@sad.it>
12961
12962         * lyxfind.C (IsStringInText): put parentes around expressions.
12963
12964 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12965
12966         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12967
12968 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12971
12972         * stl_string_fwd.h: add comment
12973
12974         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12975
12976         * tabular.h:
12977         * tabular.C: remove unused DocBook methods
12978
12979         * intl.C:
12980         * language.C:
12981         * paragraph.C:
12982         * buffer.C:
12983         killed DO_USE_DEFAULT_LANGUAGE
12984
12985 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * lyx_gui.C: do not include language.h.
12988
12989         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12990         arguments in function implementation.
12991
12992 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12993
12994         * BufferView_pimpl.C: add <ctime>
12995
12996 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12997
12998         * BufferView_pimpl.C: add using std::find_if
12999
13000 2001-02-27  José Matos  <jamatos@fep.up.pt>
13001
13002         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13003         by OnlyPath.
13004
13005 2001-02-11  José Matos  <jamatos@fep.up.pt>
13006
13007         * buffer.C (makeDocBookFile): command styles now have a parameter as
13008         "title" by default.
13009
13010 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13011
13012         * layout_forms.[Ch]: removed
13013         * lyx_cb.[Ch]: out character
13014         * lyx_gui.C: out character
13015         * lyx_gui_misc.C: out character
13016         * bufferview_funcs.C: : out character,
13017         added toggleall as parameter in ToggleAndShow
13018
13019 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13020
13021         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13022
13023         * text2.C (SetCurrentFont): Disable number property at boundary.
13024
13025 2001-02-26  Juergen Vigna  <jug@sad.it>
13026
13027         * lyxfunc.C (getStatus): added a string argument override function so
13028         that this is correctly called from LyXFunc::Dispatch if it contains a
13029         do_not_use_argument which is used!
13030         (Dispatch): added check for "custom" export and call appropriate func.
13031
13032 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * lyxrc.C: Add language_command_local, language_use_babel and
13035         language_global_options.
13036
13037         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13038
13039         * buffer.C (makeLaTeXFile): Use language_use_babel and
13040         language_global_options.
13041
13042 2001-02-23  Juergen Vigna  <jug@sad.it>
13043
13044         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13045         which works with LyXText and putted it inside BufferView. Here now we
13046         only call for that part the BufferView::Dispatch() function.
13047
13048         * BufferView.C (Dispatch): added.
13049
13050         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13051         functions which needs to use a LyXText over from LyXFunc.
13052         (MenuInsertLyXFile): added
13053         (getInsetByCode): added
13054         (moveCursorUpdate): added
13055         (static TEXT): added
13056
13057 2001-02-22  Juergen Vigna  <jug@sad.it>
13058
13059         * BufferView_pimpl.C (update): call a status update to see if LyXText
13060         needs it.
13061
13062 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13063
13064         * vc-backend.C (revert): implement for CVS
13065         (getLog): implement for CVS
13066
13067 2001-02-20  Juergen Vigna  <jug@sad.it>
13068
13069         * text2.C (ClearSelection): added BufferView param for inset_owner call
13070
13071         * lyxfunc.C (TEXT): added this function and use it instead of
13072         directly owner->view()-text of getLyXText().
13073
13074 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13075
13076         * src/layout_forms.C: out preamble
13077         * src/layout_forms.h: out preamble
13078         * src/lyx_cb.C: out preamble
13079         * src/lyx_cb.h: out preamble
13080         * src/lyx_gui.C: out preamble
13081         * src/lyx_gui_misc.C: out preamble
13082         * src/lyxfunc.C: connect with guii preamble
13083
13084 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13085
13086         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13087
13088 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13089
13090         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13091         whether to run bibtex.
13092
13093 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13094
13095         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13096
13097 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13098
13099         * Makefile.am (lyx_SOURCES): removed bibforms.h
13100
13101         * vspace.h: doxygen
13102
13103         * text.C (GetVisibleRow): make several local vars const
13104
13105         * tabular.C: small cleanup.
13106
13107         * lyxserver.C (callback): use compare instead of strncmp
13108
13109         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13110         inlines to after class or to paragraph.C
13111
13112         * lyxfont.h: remove friend operator!=
13113
13114         * converter.h: move friend bool operator< to non friend and after
13115         class def.
13116
13117         * combox.h: small cleanup
13118
13119         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13120         to inlines after class def.
13121
13122         * buffer.C (pop_tag): use string operations instead of strcmp
13123
13124         * bmtable.c: doxygen, small cleanup
13125
13126         * LaTeX.h: remove friend operator==
13127
13128 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13129
13130         * screen.C:
13131         * lyxrc.[Ch]:
13132         * lyxfunc.C:
13133         * lyxfont.[Ch]:
13134         * lyx_cb.C:
13135         * intl.[Ch]:
13136         * commandtags.h:
13137         * buffer.C:
13138         * WorkArea.[Ch]:
13139         * LyXAction.C:
13140         * BufferView_pimpl.C:
13141         * BufferView.[Ch]: remove cruft
13142
13143 2001-02-14  Juergen Vigna  <jug@sad.it>
13144
13145         * lyxfunc.C: removed #if 0 unused code
13146
13147         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13148
13149         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13150
13151         * text2.C (SetSelection): added a BufferView * parameter
13152
13153 2001-02-13  Juergen Vigna  <jug@sad.it>
13154
13155         * lyxfunc.C (Dispatch): fixed protected blank problem.
13156         * BufferView2.C (protectedBlank): added LyxText * parameter.
13157
13158         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13159         (AppendColumn): same as above for column_info.
13160
13161         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13162         (moveCursorUpdate): use a LyXText param for support of InsetText.
13163
13164         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13165         (tripleClick): ditto
13166
13167         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13168
13169         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13170
13171         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13172
13173         * text2.C (SetSelection): set correct update status if inset_owner
13174         (ToggleFree): ditto
13175
13176 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13177
13178         * tabular.C: remove some commented code.
13179
13180 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * BufferView_pimpl.C: call hideSplash()
13183
13184         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13185
13186         * include_form.h:
13187         * bibforms.h: remove
13188
13189         * lyxfunc.C:
13190         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13191           add LFUN_CHILD_CREATE
13192
13193         * counters.h: fix tiny typo
13194
13195         * lyx_cb.C:
13196         * lyx.h:
13197         * lyx_gui.C:
13198         * lyx.C: move splash to frontends/xforms/
13199
13200         * lyx_gui_misc.C: move Include and Bibform to frontends
13201
13202         * lyxvc.h: clarify comment
13203
13204         * vspace.C: tiny housekeeping
13205
13206 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * text.C (PrepareToPrint): RTL Fix.
13209
13210         * paragraph.C (GetUChar): New method.
13211         (String):  Use GetUChar.
13212
13213         * buffer.C (asciiParagraph): Use GetUChar.
13214
13215 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13216
13217         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13218
13219 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13220
13221         * buffer.h:
13222         * buffer.C: rename to getLogName(), handle
13223           build log / latex log nicely
13224
13225 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * MenuBackend.C:
13228         * MenuBackend.h: remove support for reference menuitem type.
13229
13230 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * BufferView_pimpl.C: housekeeping
13233         * BufferView_pimpl.h:
13234         * LyXView.h:
13235         * Makefile.am:
13236         * Timeout.C:
13237         * Timeout.h:
13238         * minibuffer.h: move Timeout GUI-I
13239
13240 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13241
13242         * lyxrc.C (read): Update converters data-structures.
13243
13244 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13245
13246         * LaTeX.h (operator!=): add operator != for Aux_Info
13247
13248 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13251
13252         * LaTeXLog.C: deleted, useful code moved to Buffer
13253
13254         * buffer.h:
13255         * buffer.C: new function getLatexLogName()
13256
13257         * lyx_gui_misc.C:
13258         * lyx_gui.C:
13259         * lyxvc.C:
13260         * lyxvc.h:
13261         * lyxfunc.C: use frontends for LaTeX and VC logs
13262
13263 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * LaTeX.h: yet another std:: that Allan forgot.
13266
13267         * Variables.C (set): renamed from isset(), because this clashes
13268         with some HP-UX macros (grr).
13269
13270 2001-02-06  Allan Rae  <rae@lyx.org>
13271
13272         * LaTeX.h: Another bug fix.  Missing std:: this time.
13273
13274 2001-02-04  Allan Rae  <rae@lyx.org>
13275
13276         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13277         floats problem. I've left it commented out because it's not quite
13278         correct.  It should also test that the current object is a table or
13279         figure inset.  But I haven't gotten around to figuring out how to do
13280         that.  I *think* it'll be something like: "table" == inset.type()
13281
13282         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13283         bool.
13284
13285 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13286
13287         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13288         all the citation/databases/styles in the auxilary file.
13289         (run): Rerun latex if there was a babel language error.
13290
13291 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13292
13293         * text.C (Backspace): Preserve the font when changing newline char
13294         with a space.
13295         (BreakParagraph): If the cursor is before a space, delete the space.
13296
13297         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13298
13299 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13302         new argument (code).
13303         (ChangeCitationsIfUnique): New method.
13304
13305         * paragraph.C (GetPositionOfInset): Handle bibkey.
13306
13307 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * BufferView_pimpl.h: change type of Position::par_pos to
13310         LyXParagraph::size_type.
13311
13312 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13313
13314         * BufferView_pimpl.C (savePosition, restorePosition): Write
13315         messages to minibuffer.
13316
13317 2001-01-28  José Matos  <jamatos@fep.up.pt>
13318
13319         * buffer.C (makeDocBookFile): adds support for document language.
13320         A silly restriction on the name of LatexCommand types where removed.
13321         Added support for CDATA sections, allows to chars unescaped, used
13322         among others in code, to avoid escape < and >.
13323
13324 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13327         saved positions instrad of a stack. Furthermore, a position is
13328         stored using paragraph id/paragraph position.
13329
13330         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13331         Remove LFUN_REF_BACK.
13332
13333 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13334
13335         * converter.C (dvipdfm_options): New method.
13336
13337 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13338
13339         * vspace.C (isValidLength): Fix for empty input string.
13340
13341 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * LyXAction.C (init): change description of LFUN_FIGURE to
13344         "Insert Graphics"
13345
13346 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13347
13348         * LaTeX.C: add using directive
13349
13350 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13351
13352         * MenuBackend.C (expand): Fix the sorting of the formats.
13353
13354 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * lyx_main.C: tiny error message fix
13357
13358 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13359
13360         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13361         calling fl_initialize(). This fixes the problem with ',' as
13362         decimal separator in text files.
13363
13364 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13365
13366         * trans.C (process): Fix the keymap bug.
13367
13368 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13369
13370         * LaTeX.C (scanAuxFiles): New method. Provides support for
13371         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13372         (scanLogFile) Scan for "run BibTeX" messages.
13373
13374         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13375         OT1 font encoding. Also, load the aecompl package if the ae
13376         package is loaded.
13377
13378         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13379
13380 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13381
13382         * texrow.C (increasePos): turn two error messages into debug
13383         messages.
13384
13385 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13386
13387         * LaTeX.C (scanAux): Handle the \@input macro.
13388         (runBibTeX): Use scanAux().
13389
13390         * language.C (latex_options_): New field.
13391
13392         * LaTeXFeatures.C (getMacros): Add language macros.
13393
13394         * buffer.C (makeLaTeXFile): Small fix.
13395
13396 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13399
13400         * text2.C: add a using directive.
13401
13402 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * BufferView2.C:
13405         * lyx_gui_misc.h:
13406         * lyxfr1.C:
13407         * lyxfunc.C: kill LyXBell.
13408
13409 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * text.C (IsBoundary): Remove the error message
13412
13413         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13414
13415         * lyxrc.C (setDefaults): Correct initialization value for
13416         font_norm_type.
13417
13418 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13419
13420         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13421         gotoError().
13422
13423         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13424         and GotoNextNote().
13425
13426         * src/LyXAction.C: Added reference-next.
13427
13428         * text.C (InsertChar): Use contains instead of strchr.
13429
13430         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13431
13432 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13433
13434         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13435         alignment commands (when needed).
13436
13437         * text.C (InsertChar): Add ':' to number separator chars.