]> git.lyx.org Git - features.git/blob - src/ChangeLog
make endpos behave
[features.git] / src / ChangeLog
1 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2
3         * paragraph.C (getChar): add strong asserts
4
5         * lyxrow_funcs.C (lastPos): remove hideous hack
6
7         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
8         (fill): adjust to that (avoid an infinite loop)
9
10 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
11
12         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
13
14 2003-10-23  André Pönitz  <poenitz@gmx.net>
15         
16         * RowList_fwd.h: change list<> to vector<> to gain speed
17         after suggestion from Alfredo
18
19 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
20
21         * lyxtext.h: move the bidi stuff from here...
22         * text.C: and here
23         * text2.C: and here
24         * Bidi.[Ch]: ... to here
25
26 2003-10-23  André Pönitz  <poenitz@gmx.net>
27
28         * lyxtext.h:
29         * text.C (isLastRow, isFirstRow): new functions
30
31         * paragraph.h: new width cache member
32
33         * rowpainter.C: replace RowList::iterator with Row & where possible
34
35         * lyxfunc.C: replace several view()->text with a single call
36
37         * toc.C: fix 'unused' warning
38
39 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
40
41         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
42         when woring with stream::pos_type
43         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
44
45 2003-10-22  André Pönitz  <poenitz@gmx.net>
46
47         * lyxtext.h:
48         * text.C: use Row & instead of RowList::iterator
49
50         * lyxrow.h: rename end() to endpos()
51
52         * rowpainter.C:
53         * text.C:
54         * text2.C: adjust
55
56 2003-10-22  Angus Leeming  <leeming@lyx.org>
57
58         * buffer.[Ch] (fully_loaded): new member function, returning true
59         only when the file has been loaded fully.
60         Used to prevent the premature generation of previews and by the
61         citation inset to prevent computation of the natbib-style label.
62
63         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
64         templates are all set up.
65
66         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
67
68 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * text.C: fixed an "oops" in the "is a bit silly"
71         bug fix
72
73 2003-10-21  André Pönitz  <poenitz@gmx.net>
74
75         * FuncStatus.[Ch]: small stuff, whitespace
76
77         * lyxfont.[Ch]: operator<<() for debug reasons
78
79         * lyxfunc.C:
80         * lyxrow_funcs.C:
81         * lyxtext.h: whitespace, spelling
82
83         * paragraph.C: naming of variables
84
85         * text.C:
86         * text2.C: small stuff
87
88
89 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
90
91         * text.C: (1) finish off the inset display() work;
92         (2) fix the "is a bit silly" bug (accessing char
93         past end of par).
94
95 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * text.C: re-introduce display() for insets, fixing the
98         various bugs (stretch of line above, math inset
99         positioning, ...)
100
101 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
102
103         * text.C (rightMargin): remove spurious semicolon
104
105         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
106         1415)
107
108 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * text3.C: fix one crash due to wrong cursor def
111
112 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
113
114         * vc-backend.C (scanMaster): make the regex static
115
116         * LaTeX.C (scanAuxFile): make the regexs static
117
118         * text3.C (doInsertInset, dispatch, dispatch):
119         * text2.C (cursorUp, cursorDown):
120         * text.C (selectNextWordToSpellcheck):
121         * BufferView_pimpl.C (dispatch):
122         * lyxfunc.C (dispatch):  localDispatch -> dispatch
123
124 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * lyxsocket.C: include <cerrno>
127
128 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
129
130         * lyxfunc.C (dispatch): remove textcache stuff
131
132         * bufferlist.C (release): remove textcache stuff
133         (closeAll): ditto
134
135         * TextCache.C: delete file
136         * TextCache.h: delete file
137
138         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
139
140         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
141         delete of the bv_->text.
142         (resizeCurrentBuffer): remove texcache stuff
143         (workAreaResize): ditto
144
145 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
146
147         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
148         action.
149
150 2003-10-16  André Pönitz  <poenitz@gmx.net>
151
152         * lyxrow.[Ch]:
153         * paragraph.h:
154         * rowpainter.C:
155         * text.C:
156         * text2.C:
157         * text3.C: speed up by storing y positions per paragraph plus per-row
158         offset instead of having a 'full' y position in the row.
159
160 2003-10-15  André Pönitz  <poenitz@gmx.net>
161
162         * iterators.[Ch]:
163         * iterators.[Ch]:
164         * undo.[Ch]: make undo aware of inner insets
165
166 2003-10-14  Angus Leeming  <leeming@lyx.org>
167
168         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
169         static member functions LyX::ref() and LyX::cref.
170         (lastfiles): new accessor functions for the new lastfiles_ member var.
171         (addLyXView, views_): add a new LyXView to the list of views_.
172         (updateInset): loop over all LyXViews to call their own updateInset
173         member function, returning a pointer to the Buffer owning the inset.
174
175         * BufferView_pimpl.C (loadLyXFile):
176         * MenuBackend.C (expandLastfiles):
177         * bufferlist.C (MenuWrite, QuitLyX):
178         lastfiles is no longer a global variable.
179         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
180
181         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
182         static function. Access through LyX::cref().emergencyCleanup().
183
184 2003-10-14  André Pönitz  <poenitz@gmx.net>
185
186         * iterators.[Ch]: new direct access to innermost LyXText and Inset
187
188         * undo.[Ch]: restoring part of 'undo in insets'
189
190         * Makefile.am:
191         * undo_funcs.[Ch]: merge with undo.[Ch]
192
193         * tabular.C: small cleansing stuff
194
195 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
196
197         * paragraph_funcs.C (readParToken): report unknown insets as error
198         boxes. Use the outer paragraph as location (also for unknown
199         tokens).
200
201         * factory.C (readInset): do not abort on reading an unknown inset.
202         Eat it and return 0.
203
204 2003-10-13  Angus Leeming  <leeming@lyx.org>
205
206         * lyx_main.C (LyX): remove call to setDisplayTranslator().
207
208         * lyxrc.C: displayTranslator is now a function,
209         declared in GraphicsTypes.h.
210
211 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
212
213         * format.C: new placeholder $$a to pass the socket address.
214
215         * bufferlist.[Ch]: new function getBufferFromTmp.
216
217         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
218           files in the temporary dir.
219
220 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
221
222         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
223
224         * Makefile.am: add lyxsocket.[Ch].
225
226         * lyx_main.C (error_handler): handle SIGPIPE.
227
228 2003-10-13  André Pönitz  <poenitz@gmx.net>
229
230         * BufferView_pimpl.C:
231         * lyxtext.h:
232         * text.C:
233         * text2.C:
234         * text3.C:
235         * undo_funcs.[Ch]: use paroffset_type instead of
236           ParagraphList::iterators to prevent multiple conversion
237           (and get a more robust interface)
238
239 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
240
241         * lyxfunc.C (dispatch): RESULT -> dispatch_result
242         * lyxtext.h: ditto
243         * text3.C (dispatch): ditto
244
245 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
246
247         * LaTeX.C (handleFoundFile): move the static to smaller scope,
248         move the onlyfile, use onlyfile instead of foundfile in a couple
249         of places.
250
251         * DepTable.C (update): flush the error stream a bit more
252
253 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
254
255         * lyxserver.C (callback): adjust
256
257         * lyxfunc.C (getStatus): add a missing brace in commented code
258         (ensureBufferClean): reindent
259         (dispatch): delete version taking a string
260
261 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
262
263         * LaTeX.C (deplog): move found file handlig from here...
264         (handleFoundFile): .. to new function here.
265         (deplog): make sure to discover several files mentioned on the
266         same log line.
267
268 2003-10-10  André Pönitz  <poenitz@gmx.net>
269
270         * lyxfunc.C:
271         * lyxtext.h:
272         * tabular.C:
273         * text.C:
274         * text2.C:
275         * text3.C: fix some of the tabular crashes
276
277 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
278
279         * MenuBackend.C (binding): put debug message into Debug::KBMAP
280
281         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
282
283 2003-10-09  André Pönitz  <poenitz@gmx.net>
284
285         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
286
287         * BufferView.C:
288         * BufferView_pimpl.C:
289         * bufferview_funcs.C:
290         * lyx_cb.C:
291         * lyxcursor.C:
292         * lyxfind.C:
293         * lyxfunc.C:
294         * lyxtext.h:
295         * text.C:
296         * text2.C:
297         * text3.C:
298         * text_funcs.[Ch]:
299         * textcursor.[Ch]:
300         * undo_funcs.C: adjust
301
302 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
303
304         * text2.C (incrementItemDepth): new function, use a backtracking
305         algorithm to discover the correct item depth.
306         (resetEnumCounterIfNeeded): new function, use a backtracking
307         algorithm to discover if counter reset is needed.
308         (setCounter): use them. Simplify a bit. Add different labels for
309         different item depths for itemize.
310
311         * paragraph.C (Paragraph): remove initialization of enumdepth
312         (operator=): ditto
313
314         * paragraph.h: get rid of enumdepth, and use itemdepth both for
315         enumerate and itemize. Change the type of itemdepth to signed char.
316
317 2003-10-08  André Pönitz  <poenitz@gmx.net>
318
319         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
320           thing assignable.
321         * text.C:
322         * text2.C: adjust
323
324         * tabular.[Ch]: fix crash after 'row-insert'
325
326 2003-10-08  Angus Leeming  <leeming@lyx.org>
327
328         Fix doxygen warnings.
329
330         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
331         Remove CutAndPaste:: prefix from header file declaration.
332
333         * LColor.h (fill): remove LColor:: prefix from declaration.
334
335         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
336         use lyx::depth_type rather than Paragraph::depth_type so that
337         header file and .C file match.
338
339         * converter.h (intToFormat): remove Converters:: prefix from declaration.
340
341         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
342         * aspell.C: \file aspell_local.C -> \file aspell.C
343         * gettext.C: \file gettext.C -> \file src/gettext.C
344         * gettext.h: \file gettext.h -> \file src/gettext.h
345         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
346         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
347         * text.C: \file text.C -> \file src/text.C
348
349         * toc.C: move comment so that doxygen is not confused.
350
351 2003-10-07  Angus Leeming  <leeming@lyx.org>
352
353         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
354
355 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
356
357         * aspell.C:
358         * aspell_local.h: add forgotten std::string's.
359
360 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
361
362         * LaTeXFeatures.C:
363         * LyXAction.C:
364         * factory.C:
365         * lfuns.h:
366         * lyxfunc.C:
367         * text3.C: The Box patch. Fancybox support, minipage, parbox
368
369 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
370
371         * CutAndPaste.h:
372         * DepTable.h:
373         * FloatList.h:
374         * LaTeXFeatures.h:
375         * ParagraphParameters.h:
376         * TextCache.h:
377         * Thesaurus.h:
378         * bufferlist.h:
379         * exporter.h:
380         * importer.h:
381         * lastfiles.h:
382         * lyxfind.h:
383         * lyxfont.h:
384         * lyxlex.h:
385         * lyxtextclasslist.h:
386         * messages.h:
387         * paragraph.h:
388         * paragraph_pimpl.C:
389         * textcursor.h: add <string> and other small fixes to make Lars'
390         std::string patch compile with STLport.
391
392 2003-10-06  Angus Leeming  <leeming@lyx.org>
393
394         * LColor.h: Add missing #include <string>.
395
396 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
397
398         * All most all file in all subdirs: Make <string> be the prefered
399         way of getting to std::string, add using declarations.
400
401 2003-10-06  André Pönitz  <poenitz@gmx.net>
402
403         * metricsinfo.C: initialize LyXFont before changing attribute.
404         (fixes the 'math in \emph is upright' bug)
405
406 2003-10-06  André Pönitz  <poenitz@gmx.net>
407
408         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
409
410 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
411
412         * graph.C:
413         * paragraph_pimpl.C: Small fixes to build using STLport
414
415 2003-10-02  André Pönitz  <poenitz@gmx.net>
416
417         * lyxfunc.C:
418         * text3.C: move handling of LFUN_DEPTH *; fix #1360
419
420 2003-10-01  André Pönitz  <poenitz@gmx.net>
421
422         * factory.C: assert early
423
424 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
425
426         * lyx_main.C: remove the global debug object
427
428         * debug.h: adjust for new debugstream
429
430         * debug.C: adjust for new debugstream and keep the global debug
431         object here.
432
433 2003-09-22  Angus Leeming  <leeming@lyx.org>
434
435         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
436         of g++ which otherwise complain that the scoped_ptr destructor can't delete
437         an incomplete class LyXFont.
438
439 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
440
441         * factory.C: bug fix in branches
442
443 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
444
445         * lyxfunc.C (processKeySym): adjust
446         (dispatch): adjust
447         (dispatch): change arg name from ev to func, adjust
448         (sendDispatchMessage): ditto
449
450         * lyx_main.C (defaultKeyBindings): adjust keybindings
451         (deadKeyBindings): ditto
452
453         * kbsequence.C (addkey): return a FuncRequest
454
455         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
456
457         * kbmap.C (bind): take a FuncRequest as arg, adjust
458         (read): adjust
459         (lookup): adjust
460         (defkey): change to take a FuncRequest as arg, adjust
461         (findbinding): take a FuncRequest as arg, adjust.
462
463         * funcrequest.h (operator=): added
464
465         * funcrequest.C (FuncRequest): default kb_action changed from
466         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
467
468         * buffer.C (dispatch): simplify
469         (dispatch): adjust to take a FuncRequest as arg, adjust
470
471         * boost.C (assertion_failed): change assertion message slightly
472
473         * ToolbarBackend.C (read): simplify
474
475         * MenuBackend.C (binding): adjust call to findbinding, add a
476         message if no binding is found.
477         (read): simplify
478         (expandToc): correct by adding a empty FuncRequest
479
480         * LyXAction.C: include <boost/assert.hpp>
481         (isPseudoAction): delete function
482         (LookupFunc): change name to...
483         (lookupFunc): this. change return type to FuncRequest.
484         (getActionName): take kb_action as arg, simplify
485         (funcHasFlag): add an assert, simplify.
486
487 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
488
489         * toc.C (action): return a FuncRequest, simplify
490
491         * lyxfunc.C (processKeySym): adjust
492         (getStatus): delete version that takes an int.
493         (getStatus): adjust
494         (dispatch): delete version that takes action as int
495         (dispatch): adjust
496         (sendDispatchMessage): simplify and adjust
497
498         * funcrequest.C (getArg): take unsigned int as arg
499
500         * ToolbarBackend.C (read): adjust
501         (add): delete version that takes func as a string.
502         (getIton): take a FuncRequest as arg
503
504         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
505         action.
506
507         * MenuBackend.C (MenuItem): add a new construct that only takes a
508         Kind, simplify the constructor use for submenus.
509         (add): adjust
510         (expandLastfiles): adjust
511         (expandDocuments): adjust
512         (expandFormats): adjust
513         (expandFloatListInsert): adjust
514         (expandFloatInsert): adjust
515         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
516
517         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
518         Remove class variables lyx_pseudo_map and lyx_arg_map
519
520         * LyXAction.C (searchActionArg): delete function
521         (getPseudoAction): delete function
522         (retrieveActionArg): delete function
523         (LookupFunc): make it return kb_action, simplify.
524         (getActionName): simplify
525
526         * factory.C (createInset): fix new bug
527
528 2003-09-19  Angus Leeming  <leeming@lyx.org>
529
530         * CutAndPaste.C (pasteSelection): remove fudge used to set the
531         masterFilename_ parameter in the include inset.
532
533         * factory.C (createInset): changes due to the changes to InsetInclude.
534
535 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
536
537         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
538
539 2003-09-18  Angus Leeming  <leeming@lyx.org>
540
541         * buffer.C:
542         * BufferView.C: pass the buffer when calling Inset::getLabelList,
543         Inset::fillWithBibKeys.
544         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
545
546 2003-09-18  Angus Leeming  <leeming@lyx.org>
547
548         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
549         variables.
550         (ctor): pass and store a 'Buffer const &'
551         (buffer): new member function.
552
553         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
554         '*this' to the LaTeXFeatures ctor.
555
556 2003-09-18  Angus Leeming  <leeming@lyx.org>
557
558         * LColor.h:
559         * lyxfont.C:
560         * lyxfont.h:
561         * lyxtext.h:
562         * text.C: rename EnumLColor as LColor_color.
563
564 2003-09-18  Angus Leeming  <leeming@lyx.org>
565
566         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
567         remove #include "insets/insetbase.h" from cursor.h.
568
569 2003-09-18  Angus Leeming  <leeming@lyx.org>
570
571         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
572         InsetOld_code to remove #include "inset.h".
573
574         * iterators.C: add #include "insets/inset.h"
575
576 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * BufferView.C: remove more locking stuff that apparently doesn't
579         do anything sensible.
580
581 2003-09-16  André Pönitz  <poenitz@gmx.net>
582
583         * paragraph.[Ch]:
584         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
585           performance boost.
586
587 2003-09-16  Angus Leeming  <leeming@lyx.org>
588
589         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
590
591         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
592         arg/return type.
593
594         * paragraph.h: remove #include "lyxfont.h". Forward declare
595         LyXFont_size.
596
597 2003-09-16  Angus Leeming  <leeming@lyx.org>
598
599         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
600         of support/textutils.h.
601         (isWord): move the contents of support/textutils.h's IsWordChar here.
602
603         * buffer.C:
604         * lyxfind.C:
605         * rowpainter.C:
606         * text.C:
607         * text2.C: add #include "paragraph.h".
608
609         * rowpainter.C:
610         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
611
612 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
613
614         * main.C:
615         * lyx_main.C:
616         * lyx_cb.C:
617         * buffer.C:
618         * LaTeX.C: use namespace alias for lyx::support::os
619
620 2003-09-16  Angus Leeming  <leeming@lyx.org>
621
622         * bufferparams.C:
623         * bufferview_funcs.C:
624         * factory.C:
625         * lyxfunc.C:
626         * paragraph_pimpl.C:
627         * rowpainter.C:
628         * text.C: add #include "LColor.h".
629
630 2003-09-16  Angus Leeming  <leeming@lyx.org>
631
632         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
633         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
634         return LyXFont &.
635         Store the FontBits::color variable as an int rather than as an
636         LColor::colorso that we can move LColor.h out of the lyxfont.h header
637         file.
638
639         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
640         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
641         string calls together.
642
643         * lyxrc.C: add #include "LColor.h".
644
645 2003-09-15  Angus Leeming  <leeming@lyx.org>
646
647         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
648         a cow_ptr.
649
650 2003-09-15  Angus Leeming  <leeming@lyx.org>
651
652         * LColor.h: add an EnumLColor wrapper for LColor::color.
653
654         * lyxfont.[Ch] (color, setColor, realColor):
655         * lyxtext.h, text.C (backgroundColor):
656         pass EnumLColor args to/from the functions, rather than LColor::color
657         ones.
658
659         * lyxfont.h:
660         * lyxtext.h: forward declare EnumLColor.
661
662         * lyx_main.C: add #include "LColor.h".
663
664 2003-09-15  Angus Leeming  <leeming@lyx.org>
665
666         * .cvsignore: add lyx-gtk.
667
668 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
669
670         * Chktex.C
671         * LaTeX.C
672         * LaTeXFeatures.C
673         * ParagraphParameters.C
674         * Spacing.C
675         * buffer.C
676         * bufferparams.C
677         * bufferview_funcs.C
678         * chset.C
679         * counters.C
680         * funcrequest.C
681         * lyxfont.C
682         * lyxgluelength.C
683         * lyxlength.C
684         * paragraph.C
685         * paragraph_funcs.C
686         * text3.C
687         * vc-backend.C: remove usage of STRCONV
688
689 2003-09-15  Angus Leeming  <leeming@lyx.org>
690
691         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
692         explicitly define the color passed to the painter.
693
694 2003-09-15  Angus Leeming  <leeming@lyx.org>
695
696         * bufferparams.C (BufferParams): reorder member initializers to avoid
697         compiler warning.
698
699 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
700
701         * CutAndPaste.C (pasteSelection): remove an outdated #warning
702         * text.C (updateRowPositions): remove an unusual nop
703
704 2003-09-12  André Pönitz  <poenitz@gmx.net>
705
706         * BufferView_pimpl.C:
707         * Bullet.C:
708         * layout.h:
709         * lyxfunc.C:
710         * lyxlayout.[Ch]:
711         * lyxtextclass.C:
712         * rowpainter.C:
713         * text.C:
714         * text2.C:
715         * Counters.[Ch]: finish the 'automatic counters' job
716
717 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
718
719         * aspell.C: include <boost/assert.cpp> (compile fix)
720
721 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
722
723         * boost.C (assertion_failed): use lyx::support::abort instead of
724         assert.
725
726 2003-09-10  Angus Leeming  <leeming@lyx.org>
727
728         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
729         with their _fwd progeny.
730
731 2003-09-09  Angus Leeming  <leeming@lyx.org>
732
733         134 files throughtout the source tree: replace 'using namespace abc;'
734         directives with the appropriate 'using abc::xyz;' declarations.
735
736 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
737
738         * boost.C (emergencyCleanup): moved here from LAssert.c
739         (assertion_failed): new function, called by BOOST_ASSERT
740
741         * several files: change Assert to BOOST_ASSERT
742
743 2003-09-09  Angus Leeming  <leeming@lyx.org>
744
745         * buffer.[Ch]: Add an Impl class and move Buffer's member
746         variables into it. As a result move several header files out of
747         buffer.h.
748
749         Add header files to lots of .C files all over the tree as a result.
750
751 2003-09-09  Angus Leeming  <leeming@lyx.org>
752
753         * buffer.[Ch]: make Buffer's member variables private. Add
754         accessor functions.
755
756         Lots of changes all over the tree as a result.
757
758 2003-09-08  Angus Leeming  <leeming@lyx.org>
759
760         * graph.C: #include <config.h>.
761
762 2003-09-08  Angus Leeming  <leeming@lyx.org>
763
764         * BranchList.C:
765         * BufferView.C:
766         * BufferView_pimpl.C:
767         * CutAndPaste.C:
768         * DepTable.C:
769         * LaTeX.C:
770         * LaTeXFeatures.C:
771         * LyXAction.C:
772         * MenuBackend.C:
773         * TextCache.C:
774         * aspell.C:
775         * buffer.C:
776         * bufferlist.C:
777         * changes.C:
778         * chset.C:
779         * converter.C:
780         * counters.C:
781         * debug.C:
782         * graph.C:
783         * ispell.C:
784         * lyx_cb.C:
785         * lyxfind.C:
786         * lyxfunc.C:
787         * lyxlex_pimpl.C:
788         * lyxrc.C:
789         * lyxrow.C:
790         * paragraph.C:
791         * rowpainter.C:
792         * texrow.C:
793         * text.C:
794         * text2.C:
795         * toc.C: remove redundant using directives.
796
797 2003-09-07  Angus Leeming  <leeming@lyx.org>
798
799         * LaTeXFeatures.h: remove #include "support/types.h".
800         * ToolbarBackend.h: remove #include <algorithm>.
801         * changes.h: remove #include <ctime>.
802         * debug.h: remove #include <iosfwd>.
803         * graph.h: remove #include "support/std_string.h".
804         * lyx_main.h: remove #include <csignal>.
805         * lyxlex_pimpl.h: remove #include <fstream>.
806         * sgml.h: remove #include <algorithm>, <utility>.
807         * toc.h: remove #include "support/std_ostream.h".
808         Add #include <iosfwd>.
809
810 2003-09-07  Angus Leeming  <leeming@lyx.org>
811
812         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
813
814         * converter.h: forward declare LatexRunParams.
815         * encoding.h: remove #include "lyxrc.h".
816         * lyxtext.h: remove #include "LColor.h".
817         * lyxtextclass.h: remove #include "support/types.h".
818         * trans.h: remove #include "tex-accent.h".
819         * trans_mgr.h: remove #include "tex-accent.h".
820         * insets/inset.h: remove #include "support/types.h", <vector>.
821         * insets/insetcollapsable.h: remove #include "LColor.h".
822         * insets/insetinclude.h: remove #include "dimension.h".
823         * insets/insetlatexaccent.h: remove #include "dimension.h".
824         * insets/insetoptarg.h:: remove #include "insettext.h".
825         * insets/insettext.h: remove #include "dimension.h",
826         <boost/shared_ptr.hpp>
827
828         * insets/renderers.h: add #include "dimension.h".
829         * insets/updatableinset.h: add #include "support/types.h".
830
831         * many .C files: Associated changes.
832
833 2003-09-06  Angus Leeming  <leeming@lyx.org>
834
835         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
836         one, inside testInvariant.
837
838         * PrinterParams.C: new file.
839         * PrinterParams.[Ch]: move the function bodies out of line.
840
841 2003-09-06  Angus Leeming  <leeming@lyx.org>
842
843         * ParagraphParameters.h: forward declare ParameterStruct rather than
844         including its header file.
845         (depth): moved out-of-line.
846
847 2003-09-06  Angus Leeming  <leeming@lyx.org>
848
849         * BufferView_pimpl.h:
850         * kbmap.h:
851         * kbsequence.h:
852         * lyxfunc.h: forward declare LyXKeySym rather than
853         #include "frontends/LyXKeySym.h".
854
855         * BufferView_pimpl.C:
856         * kbmap.C:
857         * kbsequence.C:
858         * lyxfunc.C: associated changes.
859
860 2003-09-06  Angus Leeming  <leeming@lyx.org>
861
862         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
863         As a result, can remove the #include "insets/inset.h" from BufferView.h
864
865 2003-09-06  Angus Leeming  <leeming@lyx.org>
866
867         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
868         As a result, can remove the #include "insets/inset.h" from BufferView.h
869
870 2003-09-06  Angus Leeming  <leeming@lyx.org>
871
872         * buffer_funcs.C:
873         * buffer.h:
874         * bufferlist.C:
875         * BufferView.C:
876         * bufferview_funcs.C:
877         * BufferView_pimpl.C:
878         * CutAndPaste.C:
879         * lyx_cb.C:
880         * lyxfunc.C:
881         * paragraph.h:
882         * ParagraphParameters.C:
883         * tabular.C:
884         * text3.C:
885         * toc.C:
886         * undo_funcs.C:
887         * frontends/controllers/ControlDocument.C:
888         * insets/insetcaption.C: rearrange the #includes into some sort of
889         coherent order.
890
891         * buffer.h: remove #includes ErrorList.h, undo.h
892
893 2003-09-06  Angus Leeming  <leeming@lyx.org>
894
895         * support/types.h: add a 'depth_type' typedef, used to store the
896         nesting depth of a paragraph.
897
898         * paragraph.h:
899         * ParameterStruct.h: use this lyx::depth_type typedef rather than
900         defining explicitly.
901
902         * buffer.h:
903         * paragraph_funcs.h:
904         * ParagraphParameters.h:
905         * sgml.h: use lyx::depth_type rather than Paragraph or
906         ParameterStruct's depth_type.
907
908         * buffer.h
909         * paragraph_funcs.h: no need to #include paragraph.h anymore.
910
911         * BufferView.C:
912         * BufferView_pimpl.C:
913         * CutAndPaste.C:
914         * ParagraphParameters.C:
915         * buffer_funcs.C:
916         * bufferlist.C:
917         * bufferview_funcs.C:
918         * lyx_cb.C:
919         * lyxfunc.C:
920         * tabular.C:
921         * text3.C:
922         * toc.C:
923         * undo_funcs.C:
924         * frontends/LyXView.C:
925         * frontends/controllers/ControlDocument.C:
926         * frontends/controllers/ControlErrorList.C:
927         * insets/insetbibitem.C:
928         * insets/insetbranch.C:
929         * insets/insetcaption.C:
930         * insets/insetcollapsable.C:
931         * insets/insetenv.C:
932         * insets/insetert.C:
933         * insets/insetfloat.C:
934         * insets/insetfoot.C:
935         * insets/insetfootlike.C:
936         * insets/insetnewline.C:
937         * insets/insetquotes.C:
938         * insets/insettabular.C:
939         * insets/insettext.C:
940         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
941
942         * frontends/controllers/ControlChanges.C: #include "changes.h".
943
944 2003-09-06  Angus Leeming  <leeming@lyx.org>
945
946         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
947         than #including paragraph.h.
948
949         * ParagraphList.h:
950         * RowList.h: deleted. Superfluous.
951
952         * CutAndPaste.h:
953         * iterators.h:
954         * lyxcursor.h:
955         * lyxtext.h:
956         * text_funcs.h:
957         * undo.h:
958         * undo_funcs.h:
959         * insets/inset.h:
960         * insets/insettext.h: use ParagraphList_fwd.h rather than
961         ParagraphList.h.
962
963         * paragraph.h: don't forward declare ParagraphList.
964
965         * buffer.h:
966         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
967         rather than ParagraphList.h. paragraph.h is still needed for the
968         Paragraph::depth_type parameters.
969
970         * textcursor.h: enable it to compile stand-alone in light of the
971         above changes.
972
973         * bufferview_funcs.C:
974         * iterators.C:
975         * lyxfunc.C:
976         * lyxrow_funcs.C:
977         * paragraph.C:
978         * rowpainter.C:
979         * text.C:
980         * text2.C:
981         * text3.C:
982         * text_funcs.C:
983         * textcursor.C:
984         * undo.C:
985         * frontends/controllers/ControlParagraph.C:
986         * frontends/controllers/ControlTabular.C:
987         * insets/insetmarginal.C:
988         * insets/insetminipage.C:
989         * insets/insetnote.C:
990         * insets/insetoptarg.C: add header files needed to compile again.
991
992 2003-09-06  Angus Leeming  <leeming@lyx.org>
993
994         * RowList_fwd.h: new file, forward-declaring Row rather than
995         #including lyxrow.h.
996
997         * lyxrow_funcs.h:
998         * lyxtext.h:
999         * paragraph.h:
1000         * insets/insettext.h: use it instead of RowList.h
1001
1002         * bufferview_funcs.C:
1003         * lyxfunc.C:
1004         * lyxrow_funcs.C:
1005         * paragraph.C:
1006         * rowpainter.C:
1007         * text.C:
1008         * text2.C:
1009         * text3.C: #include "RowList.h".
1010
1011 2003-09-05  Angus Leeming  <leeming@lyx.org>
1012
1013         * factory.C (createInset):
1014         * vspace.C (c-tor): replace sscanf call with an istringstream.
1015         * ispell.C: re-add missing HP/UX headers.
1016         * lyxserver.C: re-add missing  os2 headers.
1017
1018 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * BranchList.C:
1021         * graph.C:
1022         * ispell.C:
1023         * lastfiles.C:
1024         * lyx_cb.C:
1025         * lyxserver.C:
1026         * texrow.C:
1027         * text3.C: re-add missing system headers, needed for 2.95.2.
1028
1029 2003-09-05  Angus Leeming  <leeming@lyx.org>
1030
1031         Changes most place everywhere due to the removal of using directives
1032         from support/std_sstream.h.
1033
1034 2003-09-05  Angus Leeming  <leeming@lyx.org>
1035
1036         Replace LString.h with support/std_string.h,
1037         Lsstream.h with support/std_sstream.h,
1038         support/LIstream.h with support/std_istream.h,
1039         support/LOstream.h with support/std_ostream.h.
1040
1041         Changes resulting throughout the tree.
1042
1043 2003-09-05  Angus Leeming  <leeming@lyx.org>
1044
1045         * sgml.h: ensure that the header file can be compiled stand-alone.
1046         * *.C: strip out redundant #includes. (320 in total.)
1047
1048 2003-09-04  Angus Leeming  <leeming@lyx.org>
1049
1050         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1051         here (from getPackages).
1052
1053         * debug.[Ch]: add a new EXTERNAL tag.
1054
1055 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1056
1057         * text2.C (cursorEnd): simplify
1058         (setCursor): adjust
1059         (getColumnNearX): adjust
1060
1061         * text.C (computeBidiTables): adjust
1062         (fill): adjust
1063
1064         * rowpainter.C (paintChars): adjust
1065         (paintSelection): adjust
1066         (paintChangeBar): adjust
1067         (paintText): adjust
1068
1069         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1070         lastPos instead.
1071         (numberOfSeparators): adjust
1072
1073 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * LyXAction.C:
1076         * box.[Ch]:
1077         * lfuns.h:
1078         * lyxfunc.C:
1079         * text3.C: Restricts the mouse click functionality
1080         of insets like bibtex, include, toc and floatlist to the visible
1081         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1082         up the dialogs. Cursor has to be in front of the inset (i.e.
1083         start of row) for this to function.
1084
1085 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1086
1087         * bufferview_funcs.C (currentState): output row information
1088
1089 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1090
1091         * bufferview_funcs.C (currentState): output paragraph position
1092
1093 2003-09-04  Angus Leeming  <leeming@lyx.org>
1094
1095         * FloatList.h: move out #include "Floating.h".
1096         * LaTeX.h: move out #include "DepTable.h".
1097         * LyXAction.h: move out #include "funcrequest.h".
1098         * buffer.h: move out #include "author.h", "iterators.h".
1099         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1100         * lyx_main.h: move out #include "errorlist.h".
1101         * lyxfunc.h: move out #include "FuncStatus.h".
1102         * lyxtext: move out #include "lyxcursor.h".
1103         * paragraph_pimpl.h: move out #include "counters.h".
1104
1105 2003-09-03  Angus Leeming  <leeming@lyx.org>
1106
1107         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1108         preamble_snippets list, enabling us to add snippets to the preamble
1109         only if the snippet was not there already.
1110
1111 2003-09-04  Angus Leeming  <leeming@lyx.org>
1112
1113         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1114
1115 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1116
1117         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1118         update
1119
1120 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1121
1122         * BranchList.C: point fix, earlier forgotten
1123
1124 2003-09-02  Angus Leeming  <leeming@lyx.org>
1125
1126         * box.C (contains): renamed from 'contained' after a fantastic
1127         amount of hot air.
1128
1129 2003-09-02  John Levon  <levon@movementarian.org>
1130
1131         * BufferView.C:
1132         * lyxcursor.h:
1133         * lyxcursor.C:
1134         * lyxfunc.C:
1135         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1136
1137 2003-09-02  John Levon  <levon@movementarian.org>
1138
1139         * text2.C: simplification of cursorEnd(), including partial
1140         fix for bug 1376
1141
1142 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1143
1144         * buffer.C (readFile): add a space
1145
1146 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1149
1150 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1151
1152         * buffer.C (readFile): new function, take a filename and a
1153         ParagraphList::iterator
1154         (readFile): adjust
1155         (readFile): adjust, make it private. don't use setStream, make
1156         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1157         always contain the filename.
1158
1159         * BufferView.C (insertLyXFile): simplify and make it work for
1160         gzipped files.
1161
1162 2003-08-30  John Levon  <levon@movementarian.org>
1163
1164         * Makefile.am: fix dist (from Kayvan)
1165
1166 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * most files: change to use const Buffer refs
1169
1170 2003-08-27  André Pönitz  <poenitz@gmx.net>
1171
1172         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1173         on top of ownerPar().
1174
1175 2003-08-27  John Levon  <levon@movementarian.org>
1176
1177         * funcrequest.C: properly initialise POD members
1178
1179 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1180
1181         * lyxtext.h (top_y): move top_y from here
1182         * text.C:
1183         * text2.C:
1184         * text3.C:
1185         * BufferView.[Ch]:
1186         * BufferView_pimpl.[Ch]: to here
1187         * frontends/screen.C:
1188         * insets/insettabular.C:
1189         * insets/insettext.C: adjust
1190         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1191
1192 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1193
1194         * BufferView.[Ch]:
1195         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1196
1197 2003-08-26  André Pönitz  <poenitz@gmx.net>
1198
1199         * paragraph_func.[Ch] (outerPar): new function
1200
1201         * paragraph.C:
1202         * paragraph_funcs.C:
1203         * paragraph_funcs.h:
1204         * paragraph_pimpl.C:
1205         * text2.C: remove Inset::par_owner
1206
1207 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1208
1209         * lyxrow_funcs.C:
1210         * lyxtext.h:
1211         * text.C:
1212         * text2.C: eliminates the needFullRow/display() stuff
1213         altogether, putting the logic in metrics/draw in the insets.
1214
1215 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1216
1217         * text2.C (redoParagraphInternal, redoParagraphs):
1218         * text.C (redoParagraph): add a call to updateRowPositions at the
1219         end of each 'metrics-like' call. Remove all others.
1220         (getRow): remove the 'y-computing' version.
1221         (getRowNearY): do not compute nor return the real y. Solve the
1222         'y < 0' problem and simplify.
1223
1224 2003-08-22  Angus Leeming  <leeming@lyx.org>
1225
1226         * *.[Ch]: clean-up of licence and author blurbs.
1227         Also move config.h out of a few .h files and into a few .C files.
1228
1229 2003-08-22  André Pönitz  <poenitz@gmx.net>
1230
1231         * lyxrow.[Ch]: add x_ and *fill_ members
1232
1233         * lyxtext.h:
1234         * text.C:
1235         * rowpainter.C:
1236         * text2.C: adjust/remove prepareToPrint() calls
1237
1238 2003-08-22  André Pönitz  <poenitz@gmx.net>
1239
1240         * lyxrow.[Ch]: add  end_ member
1241
1242         * lyxrow_funcs.C: use LyXRow::end_
1243
1244         * lyxtext.h (singleWidth): add LyXFont parameter
1245
1246         * rowpainter.C:
1247         * text2.C: adjust LyXText::singleWidth() calls
1248
1249         * text.C (redoParagraph): simplify row breaking logic
1250
1251
1252 2003-08-19  André Pönitz  <poenitz@gmx.net>
1253
1254         * funcrequest.C: initialize button_ member
1255
1256         * text3.C:
1257         * rowpainter.[Ch]: interface consolidation
1258
1259 2003-08-18  André Pönitz  <poenitz@gmx.net>
1260
1261         * BufferView.C:
1262         * BufferView_pimpl.C:
1263         * lyxfind.C:
1264         * paragraph_funcs.C:
1265         * rowpainter.C:
1266         * text3.C: remove LyXScreen::draw() and fitCursor calls
1267
1268         * BranchList.h: remove spurious semicolons
1269
1270         * MenuBackend.C: fix branchlist related crash
1271
1272 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * BranchList.[Ch]:
1275         * InsetList.[Ch]:
1276         * LColor.[Ch]:
1277         * LyXAction.C:
1278         * Makefile.am:
1279         * MenuBackend.[Ch]:
1280         * bufferparams.[Ch]:
1281         * factory.C:
1282         * lfuns.h:
1283         * lyxfunc.C:
1284         * text3.C: implements the 'branch inset'
1285         idea. This allows the output of various versions of a document
1286         from a single source version, selectively outputing or suppressing
1287         output of parts of the text.
1288         This implementation contains a 'branch list editor' in a separate
1289         tab of the document settings dialog. Branches are user definable
1290         and have a "display colour" to distinguish them on-screen.
1291
1292         ColorHandler was somewhat cleaned up.
1293         (1) make possible a dynamically growing LColor list by allowing
1294         the graphic context cache to grow along (vector);
1295         (2) eliminate an IMHO unnecessary step in colour allocation.
1296
1297 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1298
1299         * BufferView_pimpl.C: compile fix
1300
1301 2003-08-15  André Pönitz  <poenitz@gmx.net>
1302
1303         * rowpainter.C: remove extra metrics calls
1304
1305         * lyxtext.h: merge the two constructors into a single one,
1306           pass reference to owner's par list
1307
1308         * BufferView_pimpl.C:
1309         * text.C:
1310         * text2.C: adjust
1311
1312 2003-08-15  André Pönitz  <poenitz@gmx.net>
1313
1314         * lyxrow_funcs.[Ch]:
1315         * lyxtext.h:
1316         * paragraph.h:
1317         * paragraph_funcs.C:
1318         * rowpainter.C:
1319         * text.C:
1320         * text2.C:
1321         * text3.C:
1322         * text_funcs.C: split LyXText::rowlist_ into individual
1323         Paragraph::rows_ chunks
1324
1325         * BufferView.[Ch]:
1326         * BufferView_pimpl.[Ch]:
1327         * lyxfind.C:
1328         * lyxtext.h:
1329         * text3.C: remove toggleSelection()
1330
1331 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1332
1333         * bufferlist.C: beautify two alerts (shorter text of buttons)
1334         * buffer.C: Remove redundant ' ' from message
1335         * tabular.h:
1336         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1337         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1338         rename VALIGN_CENTER to VALIGN_MIDDLE
1339
1340 2003-08-11  André Pönitz  <poenitz@gmx.net>
1341
1342         * lyxtext.h (getPar):
1343         * text.C: new function
1344
1345 2003-08-11  André Pönitz  <poenitz@gmx.net>
1346
1347         * Makefile.am:
1348         * tracer.[Ch]: remove unneeded files
1349
1350         * InsetList.[Ch]: remove resizeInsetsLyXText()
1351
1352         * lyxtext.h:
1353         * text.C:
1354         * text2.C:
1355         * text3.C: merge insertParagraphs() and appendParagraph()
1356         remove breakAgain(), update()
1357
1358         * BufferView_pimpl.[Ch]:
1359         * bufferview_funcs.[Ch]:
1360         * lyxfunc.C:
1361         * paragraph.[Ch]:
1362         * rowpainter.C:
1363         * tabular.C: adjust after text & InsetList changes.
1364
1365 2003-08-08  André Pönitz  <poenitz@gmx.net>
1366
1367         * text.C (insertChar, backspace): replace rowlist fiddling
1368         with rebreak of full par
1369
1370         * lyxtext.h:
1371         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1372         checkParagraph, updateInset): removed
1373
1374 2003-08-07  André Pönitz  <poenitz@gmx.net>
1375
1376         * paragraph.C:
1377         * text3.C: merge some LFUN handlers, remove dead code
1378
1379 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1382
1383 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1384
1385         * text2.C (DEPM): fix part of bug 1255 and 1256
1386
1387 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * BufferView_pimpl.C (workAreaDispatch): change to use
1390         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1391         that are no mouse related.
1392
1393 2003-08-05  André Pönitz  <poenitz@gmx.net>
1394
1395         * BufferView.[Ch]:
1396         * BufferView_pimpl.[Ch]:
1397         * bufferview_funcs.C:
1398         * text2.C:
1399         * text3.C: rip out "deep update"
1400
1401         * textcursor.[Ch] (last_sel_cursor): remove unused member
1402
1403 2003-08-04  André Pönitz  <poenitz@gmx.net>
1404
1405         * BufferView.[Ch]:
1406         * BufferView_pimpl.[Ch]:
1407         * ParagraphParameters.C:
1408         * bufferview_funcs.C:
1409         * lyx_cb.C:
1410         * lyxfind.C:
1411         * lyxfunc.C:
1412         * text.C:
1413         * text2.C:
1414         * text3.C: replace "complicated" BufferView::update(...) calls with
1415         simpler ones.
1416
1417         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1418
1419 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1420
1421         * Makefile.am (lyx_SOURCES): add paper.h
1422
1423 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1424
1425         * Makefile.am: move things around so that both lyx-qt and
1426         lyx-xforms can be built (according to --with-frontend). Then lyx
1427         is a symbolic link to lyx-[firstfrontend]
1428
1429 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1430
1431         * Always use std::endl with lyxerr
1432
1433 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1434
1435         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1436
1437 2003-08-01  André Pönitz  <poenitz@gmx.net>
1438
1439         * BufferView.[Ch]:
1440         * BufferView_pimpl.[Ch]:
1441         * lyxfunc.C:
1442         * text3.C: merge BufferView::repaint() and BufferView::update()
1443
1444 2003-08-01  José Matos  <jamatos@lyx.org>
1445
1446         * buffer.[Ch]: file_format is no longer a buffer data element.
1447
1448 2003-08-01  André Pönitz  <poenitz@gmx.net>
1449
1450         * BufferView.C:
1451         * lyxtext.h:
1452         * text.C:
1453         * text2.C: make redoParagraph more independent of current cursor
1454
1455         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1456         * text.C:
1457         * text2.C: remove unneeded members
1458
1459 2003-07-30  André Pönitz  <poenitz@gmx.net>
1460
1461         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1462
1463         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1464           create a single function...
1465
1466         * paragraph_funcs.C (moveItem): ... here.
1467
1468         * text.C:
1469           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1470
1471 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1472
1473         * LColor.[Ch]: Add comment and greyedout logical colors.
1474
1475 2003-07-30  André Pönitz  <poenitz@gmx.net>
1476
1477         * tabular.C: don't use Assert too heavily. This crashes where it
1478           shouldn't
1479
1480 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1481
1482         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1483         is disabled (bug 1232)
1484
1485 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * factory.C: limited 'arg' scope
1488
1489 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1490
1491         * factory.C: fixed Note submenu issues
1492
1493 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * factory.C: submenu for Note/Comment/Greyedout
1496
1497 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1498
1499         * lyx_main.C (LyX):
1500         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1501
1502 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1503
1504         * LaTeXFeatures.C:
1505         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1506         greyedout. Patch provided by Jürgen Spitzmüller.
1507
1508 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1509
1510         * kbmap.C (read): fix error message when reading bind files
1511
1512 2003-07-29  Angus Leeming  <leeming@lyx.org>
1513
1514         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1515         certainly does not do what it purports to do. I am doing it, and
1516         us, a favour by killing it.
1517
1518 2003-07-28  José Matos  <jamatos@lyx.org>
1519
1520         * buffer.C (readBody, do_writeFile):
1521         * paragraph.C(readParagraph): \end_document replaces \the_end.
1522
1523 2003-07-29  André Pönitz  <poenitz@gmx.net>
1524
1525         * BufferView.[Ch]:
1526         * BufferView_pimpl.[Ch]:
1527         * lyxfunc.C:
1528         * text2.C:
1529         * text3.C:
1530         * textcursor.[Ch]: remove toggleToggle & Co
1531
1532 2003-07-28  José Matos  <jamatos@fep.up.pt>
1533
1534         * buffer.C (readParagraph):
1535         * params_func (readParToken, readParagraph):
1536         * paragraph.C (write): \layout -> \begin_layout.
1537
1538 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1539
1540         * lyxlex_pimpl.C (setFile): clean up slightly.
1541
1542         * bufferparams.h: add compressed var
1543
1544         * buffer_funcs.C (readFile): adjust for LyXLex change
1545         (newFile): ditto + simplify
1546
1547         * buffer.C (writeFile): handle writing of compressed files
1548
1549         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1550         Check if the file is compressed and set a bufferparm if so.
1551
1552         * Makefile.am (lyx_LDADD): remove explicit -lz
1553
1554 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1557         makeDocBookFile): put the real LyX version in the first line of
1558         the file
1559
1560         * version.h:
1561         * version.C.in: remove lyx_docversion
1562
1563         * tabular.C (write_attribute): add a template-based version to
1564         write enums properly
1565
1566 2003-07-28  André Pönitz  <poenitz@gmx.net>
1567
1568         * lyxtext.h:
1569         * text.C:
1570         * text2.C:
1571         * text3.C: use doubles again for x-coordinates. They are needed.
1572
1573 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * messages.C (getLocaleDir): use lyx_localedir()
1576
1577         * lyxlex_pimpl.C (setFile): compress stuff
1578
1579         * buffer.C (writeFile): add some compression stuff
1580         (do_writeFile): new func, dont call expliti close... will this
1581         breake anything?
1582
1583         * Makefile.am (lyx_LDADD): add -lz
1584
1585 2003-07-28  José Matos  <jamatos@fep.up.pt>
1586
1587         * buffer.C: increment file format.
1588         * paragraph_funcs (readParagraph, readParToken):
1589         * paragraph.C (readParagraph): add \end_layout.
1590
1591 2003-07-27  Angus Leeming  <leeming@lyx.org>
1592
1593         * Makefile.am: remove special casing for configure-time setting of
1594         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1595
1596         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1597         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1598
1599 2003-07-26  André Pönitz  <poenitz@gmx.net>
1600
1601         * paragraph_func.[Ch]:
1602         * paragraph.C (realizeFont): inline it whereever it is used
1603
1604         * rowpainter.C:
1605         * text.C:
1606         * text2.C:
1607         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1608
1609
1610 2003-07-26  André Pönitz  <poenitz@gmx.net>
1611
1612         *       lyxtext.h:
1613         * text.C:
1614         * text2.C: get rid of LyXText::need_break_row
1615
1616 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * toc.[Ch]: put namespace toc inside namespace lyx
1619
1620         * MenuBackend.C (expandToc2): adjust for lyx::toc
1621         (expandToc): ditto
1622
1623         * lyxfunc.C (dispatch): adjust for lyx::find
1624
1625         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1626         lyx::find instead. Reorganize a bit.
1627         (LyXReplace): rename to replace
1628         (LyXFind): rename to find
1629
1630         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1631         (dispatch): ditto
1632
1633 2003-07-26  André Pönitz  <poenitz@gmx.net>
1634
1635         * text.C (setHeightOfRow): restrict scope of temporary variable
1636
1637         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1638           code (never has been used?)
1639
1640 2003-07-27  Asger Alstrup  <alstrup@local>
1641
1642         * text.C (fill): Optimise algorithm to exploit that we can reuse
1643         the LyXFont for many characters.
1644         (setHeightOfRow): Same thing.
1645         (rowBreakPoint): Same thing.
1646
1647 2003-07-26  Asger Alstrup  <alstrup@local>
1648
1649         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1650
1651         * text.C (singleWidth): Spurious font copying in hot-spot
1652         singleWidth avoided. Reorder tests for arabic for efficiency.
1653
1654         * text.C (fill): handle empty paragraphs better.
1655
1656 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1657
1658         * ispell.C:
1659         * encoding.h: add includes
1660
1661         * lyxrc.C: remove reading of bind files
1662
1663         * lyx_main.C (init): setup bindings and menus only if we have a
1664         gui.
1665
1666         * kbmap.C (read): new method. Do the actual reading of bind
1667         files.
1668
1669         * converter.C (dvipdfm_options):
1670         * bufferparams.C:
1671         * lyxrc.C (read):
1672         (output): adapt PAPER_* enums.
1673
1674         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1675
1676         * bufferparams.h: remove paper-related enums from there
1677
1678         * paper.h: New file. A trivial header file to hold paper-related
1679         enums. It should later expand to contain many paper-related
1680         horrors access.
1681
1682         * lyxrc.C: declare extern displayTranslator
1683
1684 2003-07-27  José Matos  <jamatos@fep.up.pt>
1685
1686         * tabular.[Ch] (linuxdoc): add support for tables and figures
1687         (linuxdoc).
1688
1689 2003-07-27  José Matos  <jamatos@fep.up.pt>
1690
1691         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1692         consistency in both functions.
1693         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1694
1695 2003-07-26  Asger Alstrup  <alstrup@local>
1696
1697         * rowpainter.C (paintRows): Change algorithm to work directly on
1698         the insets rather than asking every character in the document
1699         whether its an inset.
1700
1701 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * buffer.C (openFileWrite): factorize some code
1704
1705 2003-07-26  Angus Leeming  <leeming@lyx.org>
1706
1707         * lyx_cb.C:
1708         * lyx_main.[Ch]: replace occurances of system_tempdir with
1709         os::getTmpDir().
1710
1711 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1712
1713         * rename Inset to InsetOld
1714
1715 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1716
1717         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1718         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1719         which I think is a bit clearer. EDIT is gone, since it was
1720         premature optimisation, and broken for mathed anyway.
1721         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1722         with cursor positioning in insets as well (math insets still do not
1723         work, but that's a different story anyway.) It mysteriously
1724         crashes sometimes with undo in the first paragraph, but I'm fairly
1725         confident that this is a compiler bug.
1726
1727 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * paragraph.C (Paragraph): adjust for new clone return type
1730         (operator==): ditto
1731         (copyIntoMinibuffer): ditto
1732
1733 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1734
1735         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1736         by not having a special case, and always doing a full rebreak of
1737         the document after undo.
1738
1739 2003-07-23  Angus Leeming  <leeming@lyx.org>
1740
1741         * factory.C (createInset): InsetExternal::setParams now takes a
1742         Buffer const * arg.
1743
1744 2003-07-23  Angus Leeming  <leeming@lyx.org>
1745
1746         * factory.C (createInset): changed interface to the external and
1747         graphics mailers' string2params functions.
1748
1749 2003-07-23  Angus Leeming  <leeming@lyx.org>
1750
1751         * factory.C (createInset): pass a
1752         Buffer const * parameter to InsetExternalMailer's string2params.
1753
1754 2003-07-22  John Levon  <levon@movementarian.org>
1755
1756         * Thesaurus.h: include the right aiksaurus header
1757
1758 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * MenuBackend.C (expand): check menu shortcuts unconditionally
1761
1762 2003-07-21  Angus Leeming  <leeming@lyx.org>
1763
1764         * factory.C (createInset): pass a
1765         buffer_path parameter to InsetGraphicsMailer's string2params.
1766
1767 2003-07-21  Angus Leeming  <leeming@lyx.org>
1768
1769         * BufferView_pimpl.C (buffer):
1770         * buffer.C (d-tor):
1771         * lyx_main.C (LyX):
1772         * lyxfunc.C (dispatch):
1773         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1774         rather than the grfx shortcut.
1775
1776 2003-07-21  André Pönitz  <poenitz@gmx.net>
1777
1778         * rowpainter.C: remove unused variables
1779
1780         * tabular_funcs.C:
1781         * tabular_funcs.h: move to tabular.C
1782         * Makefile.am: adjust
1783
1784         * tabular.[Ch]: basic optical cleaning
1785
1786         * author.h: pass references, not values
1787
1788 2003-07-18  André Pönitz  <poenitz@gmx.net>
1789
1790         * lyxtext.h:
1791         * metricsinfo.C:
1792         * metricsinfo.h:
1793         * rowpainter.C:
1794         * text.C:
1795         * text2.C:
1796         * text3.C: two-phase drawing for InsetText and InsetTabular
1797         some float -> int changes.
1798
1799 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1800
1801         * lyx_main.C: fix the fix
1802
1803 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1804
1805         * lyx_main.C: fix a crash in batch mode if no files specified
1806         * converter.C: ws
1807
1808 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1809
1810         * format.[Ch] (papersize): moved to BufferParams
1811         * converter.[Ch] (dvips_options): moved to BufferParams
1812         (dvipdfm_options): moved to anon namespace
1813         * bufferparams.[Ch]: added above functions.
1814
1815 2003-07-17  André Pönitz  <poenitz@gmx.net>
1816
1817         * lyxtext.h:
1818         * rowpainter.C:
1819         * text2.C: don't call inset->update() anymore
1820
1821         * metricsinfo.[Ch]: add convenience constructor
1822
1823 2003-07-16  André Pönitz  <poenitz@gmx.net>
1824
1825         * lyxcursor.[Ch]:
1826         * lyxfunc.[Ch]:
1827         * text.C:
1828         * text2.C: replace the LyXCursor::irow_ member with
1829          on-demand computation of the value
1830
1831 2003-07-16  John Levon  <levon@movementarian.org>
1832
1833         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1834
1835 2003-07-15  André Pönitz  <poenitz@gmx.net>
1836
1837         * text.C:
1838         * text2.C: remove no more needed refresh_row
1839
1840 2003-07-15  André Pönitz  <poenitz@gmx.net>
1841
1842         * lyxtext.h:
1843         * rowpainter.C:
1844         * text2.C:
1845         * text3.C: refresh_status tristate -> need_update bool
1846
1847 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1848
1849         * lyxtext.h (init): remove reinit argument (act as if always true)
1850         * text2.C: adjust to that
1851
1852 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1853
1854         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1855         * text3.C: use it to delete selections in some cases
1856         (bugs 441, 673, 702, 954).
1857
1858 2003-07-14  André Pönitz  <poenitz@gmx.net>
1859
1860         * rowpainter.[Ch]: reduce interface
1861
1862 2003-07-14  André Pönitz  <poenitz@gmx.net>
1863
1864         * BufferView_pimpl.C:
1865         * text2.C: adjust after removing unused BufferView * argument
1866
1867 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * text2.C (init): fix a crash fired on resize
1870
1871 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * buffer.[Ch]: added new closing signal
1874         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1875         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1876         BufferView::Pimpl via the closing the signal
1877
1878 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1879
1880         * buffer.[Ch]: take out all bv-related from buffer
1881         * BufferView.C:
1882         * BufferView_pimpl.[Ch]: connect to new signals
1883         * CutAndPaste.C: removed useless asserts
1884         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1885         * lyxvc.[Ch]:
1886         * vc-backend.[Ch]:
1887         * lyxfunc.C: moved view-related funciontality from vc here
1888         * paragraph.C: removed outdated comments
1889         * text.C: ws
1890
1891 2003-07-10  André Pönitz  <poenitz@gmx.net>
1892
1893         * BufferView_pimpl.C:
1894         * tabular.h:
1895         * tabular_funcs.C:
1896         * text.C:
1897         * text2.C: remove InsetText::InnerCache, clean up consequences
1898
1899 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1900
1901         * ispell.C: fix two typos in error messages
1902
1903 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1904
1905         * Extend Note inset to other forms of annotation like Comment
1906         and Greyedout. Right button click gives dialog.
1907
1908         Files modified or added (+):
1909
1910         * insetnote.[Ch]
1911         * FormNote.[Ch]      +
1912         * ControlNote.[Ch]   +
1913         * form_note.fd       +
1914         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1915         frontends/controllers
1916         * xforms/Dialogs.C
1917         * factory.C
1918
1919 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1920
1921         * aspell.C: add missing namespace lyx::support
1922
1923 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1924
1925         * BufferView.[Ch] (newFile): Add
1926         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1927         * LaTeX.[Ch] (message): added this signal and use it
1928         * buffer.[Ch] (busy, message): added these signals and use them
1929         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1930         * converter.C:
1931         * exporter.C:
1932         * format.C:
1933         * importer.C: use buffer signals instead of direct bv calling
1934         * lyx_cb.[Ch] (ShowMessage): removed
1935         * lyx_main.C:
1936         * lyxfunc.C:
1937         * paragraph_funcs.C:
1938         * text2.C: use buffer signals
1939
1940 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * introduce namespace lyx::graphics
1943
1944 2003-07-02  André Pönitz  <poenitz@gmx.net>
1945
1946         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1947
1948 2003-07-01  André Pönitz  <poenitz@gmx.net>
1949
1950         * text.C:
1951         * text2.C:
1952         * text3.C:
1953         * text_funcs.[Ch]:
1954         * textcursor.h:
1955         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1956           text*.C to text_func.C
1957
1958 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * introduce namespace lyx::support
1961
1962 2003-06-30  André Pönitz  <poenitz@gmx.net>
1963
1964         * Chktex.C:
1965         * funcrequest.C:
1966         * lyxtext.h:
1967         * text.C: re-enable --with-included-string
1968
1969 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1970
1971         * textcursor.C: add <config.h>
1972
1973         * text.C (getWord): remove const from word_location arg
1974
1975         * lyxvc.C (getLogFile): fix const type order
1976
1977         * lyxtext.h: remove const from word_location arg, add arg name
1978
1979         * lyxlayout.h: currect type on labeltype.
1980
1981         * importer.C: correct \file
1982
1983         * converter.C (intToFormat): use std:: on ret val, ws changes
1984
1985         * bufferlist.h: correct \file
1986
1987         * buffer.C (makeLinuxDocFile): fix const type order
1988         (makeDocBookFile): ditto
1989         (fillWithBibKeys): use std:: on stdlib args.
1990
1991         * CutAndPaste.C: fix authors.
1992         (availableSelections): use std:: on return vector
1993
1994 2003-06-27  André Pönitz  <poenitz@gmx.net>
1995
1996         * BufferView_pimpl.C:
1997         * bufferview_funcs.C:
1998         * lyxcursor.C:
1999         * lyxcursor.h:
2000         * lyxfunc.C:
2001         * lyxtext.h:
2002         * rowpainter.C:
2003         * text.C:
2004         * text2.C:
2005         * text3.C: remove LyXCursor::row_ member
2006
2007         * lyxtext.h:
2008         * text.C: rename fullRebreak() to partialRebreak() and implement
2009           a fullRebreak() that really bereks fully
2010
2011         * textcursor.h: new struct for cursor-related data
2012
2013 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2014
2015         * lyx_main.C (LyX): get full path of document loaded on the
2016         command line
2017
2018 2003-06-26  André Pönitz  <poenitz@gmx.net>
2019
2020         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2021           remove unused/broken operator>,<,>=.
2022
2023         *       text.C: remove only use of broken operator<= in an Assert().
2024
2025 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2028         moved errorlist_.clear to showErrorList
2029
2030 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * converter.C (scanLog, runLaTeX):
2033         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2034         move the bv->showErrorList call to the callers
2035         * lyxfunc.C: i.e. here...
2036         * text2.C: and here
2037         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2038         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2039         namespace, the second to...
2040         * buffer_funcs (BufferFormat, parseErrors): added
2041         * errorlist.C (ErrorList(TeXErrors const &)): removed
2042
2043 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2046
2047 2003-06-24  "Garst R. Reese" <reese@isn.net>
2048
2049         * debug.C: fix typo
2050
2051 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2054
2055         * version.C.in: change docversion to 1.4
2056
2057 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2058
2059         * buffer.C: fix a bug just introduced
2060
2061 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * buffer.[Ch]: added the parseError signal and use it, removed
2064         sgmlError
2065         * BufferView.[Ch] (addError): moved to ...
2066         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2067         to the Buffer::parseError signal to catch (guess what) parse errors
2068         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2069
2070 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2071
2072         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2073         ability to create a buffer and to return an existing one from
2074         the list. Moved these functions to...
2075         * buffer_funcs.[Ch]: added
2076         * BufferView.[Ch] (loadLyXFile): added
2077         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2078         job removed from bufferlist::loadLyXFile.
2079         * buffer.C (setReadOnly): make it work without view
2080         (i.e added an if (users))
2081
2082 2003-06-19  Angus Leeming  <leeming@lyx.org>
2083
2084         * lfuns.h:
2085         * LyXAction.C (init):
2086         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2087         with LFUN_DIALOG_SHOW <name> <data>.
2088
2089 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2090
2091         * CutAndPaste.C (availableSelections): small compilation fix for
2092         ancient (gcc 2.9x) compilers
2093
2094 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * text3.C (cursorNext): add tmp var
2097
2098         * text2.C (updateCounters): for function calling out of for clause
2099         (replaceSelectionWithString): ditto
2100         (insertStringAsParagraphs): ditto
2101         (getColumnNearX): add tmp var
2102         (setCursorFromCoordinates): add tmp var
2103         (cursorDownParagraph): add tmp var
2104         (deleteEmptyParagraphMechanism): add tmp var
2105
2106         * text.C (insertChar): add tmp var
2107
2108         * rowpainter.C (paintDepthBar): add tmp var
2109
2110         * CutAndPaste.C (availableSelections): potentially check all
2111         paragraphs in a cut to fill the shown strings.
2112
2113 2003-06-18  André Pönitz  <poenitz@gmx.net>
2114
2115         * kbmap.[Ch]: use vector<> instead of list<>
2116
2117 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2118
2119         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2120         pasteSelection with index
2121
2122         * text2.C (pasteSelection): modify, call pasteSelection with index
2123
2124         * paragraph.C (asString): reimplement version with no interval to
2125         call the one with interval.
2126
2127         * lyxtext.h: add index arg to pasteSelection
2128
2129         * MenuBackend.C (MenuItem): handle PasteRecent
2130         (Menu::read::Menutags): add md_pasterecent
2131         (read): handle it
2132         (expandPasteRecent): new function
2133         (expand): use it
2134
2135         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2136
2137         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2138         the limited stack
2139         (availableSelections): new function
2140
2141 2003-06-17  Angus Leeming  <leeming@lyx.org>
2142
2143         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2144
2145 2003-06-17  Angus Leeming  <leeming@lyx.org>
2146
2147         * lfuns.h:
2148         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2149
2150         * lyxfunc.C (dispatch): invoke it.
2151
2152 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * iterators.C (operator++, ParPosition): reintroduce some
2155         const_cast for the benefit of older compilers.
2156
2157 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * text3.C (dispatch): do not modify clipboard when doing
2160         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2161         LFUN_DELETE_SKIP on a selection selection
2162
2163 2003-06-16  André Pönitz  <poenitz@gmx.net>
2164
2165         * BufferView.C:
2166         * buffer.C:
2167         * buffer.h:
2168         * paragraph.C:
2169         * tabular.[Ch]: IU of clone() and getLabelList();
2170
2171 2003-06-13  André Pönitz  <poenitz@gmx.net>
2172
2173         * tabular.h: compactification
2174
2175 2003-06-12  André Pönitz  <poenitz@gmx.net>
2176
2177         * tabular.C:
2178         * tabular.h:
2179         * tabular_funcs.h: some renaming plus whitespace
2180
2181 2003-06-12  André Pönitz  <poenitz@gmx.net>
2182
2183         * BufferView.C:
2184         * BufferView_pimpl.C:
2185         * CutAndPaste.C:
2186         * buffer.C:
2187         * iterators.[Ch]:
2188         * lyxfunc.C:
2189         * text.C:
2190         * toc.C: Return a Paragraph & for ParIterator::operator*()
2191
2192 2003-06-11  John Levon  <levon@movementarian.org>
2193
2194         * lyx_main.C:
2195         * ToolbarBackend.h:
2196         * ToolbarBackend.C: add "Toolbars" section and
2197         put the flags there
2198
2199 2003-06-10  Angus Leeming  <leeming@lyx.org>
2200
2201         * lfuns.h:
2202         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2203
2204         * lyxfunc.C (dispatch): invoke it.
2205
2206 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * main.C: protect <ios> with HAVE_IOS
2209         (main): protect sync_with_stdio with HAVE_IOS
2210
2211 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2212
2213         * text2.C (cutSelection): adjust
2214         (pasteSelection): adjust
2215
2216         * messages.C: handle get of empty string
2217
2218         * main.C (main): use sync_with_stdio(false)
2219
2220         * lyxfunc.C (dispatch): adjust
2221
2222         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2223         (WriteAs): remove unneeded BufferView arg.
2224
2225         * bufferparams.h: use correct types on papersize, papersize2 and
2226         paperpackage.
2227
2228         * bufferparams.C (readToken): adjust for type
2229         (writeLaTeX): add missing cases to switch.
2230
2231         * bufferlist.C (quitWriteBuffer): adjust
2232         (close): adjust
2233
2234         * buffer.C (asciiParagraph): remove some commented code.
2235
2236         * CutAndPaste.C: remove current_view extern variable.
2237         (cutSelection): add BufferParams arg.
2238         (eraseSelection): add BufferParams arg.
2239         (pasteSelection): add Buffer const & arg
2240
2241 2003-06-07  John Levon  <levon@movementarian.org>
2242
2243         * buffer.C:
2244         * paragraph_funcs.C:
2245         * paragraph_pimpl.C:
2246         * text.C:
2247         * text2.C:
2248         * paragraph.h:
2249         * paragraph.C: allow InsetERT to freely space lines,
2250         and some consolidation of code
2251
2252 2003-06-06  José Matos  <jamatos@fep.up.pt>
2253
2254         * buffer.C (makeDocBookFile): fix bug #821
2255
2256 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2257
2258         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2259
2260 2003-06-04  Angus Leeming  <leeming@lyx.org>
2261
2262         * buffer.C: bump format to 224.
2263
2264 2003-06-05  André Pönitz  <poenitz@gmx.net>
2265
2266         * text2.C (redoParagraphs): remove two const_cast<>
2267
2268 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2269
2270         * ParagraphList.h: remove last remnants of NO_STD_LIST
2271
2272 2003-06-03  Angus Leeming  <leeming@lyx.org>
2273
2274         * factory.C (createInset): small change to the way InsetExternal's params
2275         are set.
2276
2277 2003-06-04  André Pönitz  <poenitz@gmx.net>
2278
2279         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2280
2281         * paragraph_pimpl.h:
2282         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2283
2284         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2285
2286         * undo_funcs.C: make some simple cases of undo work again
2287
2288 2003-06-03  John Levon  <levon@movementarian.org>
2289
2290         * ispell.C: HPUX doesn't have sys/select.h
2291         (from Albert Chin)
2292
2293 2003-06-03  John Levon  <levon@movementarian.org>
2294
2295         * CutAndPaste.C: update tabular and include inset
2296         buffer references
2297
2298         * buffer.h:
2299         * paragraph.h:
2300         * paragraph.C: remove owningBuffer(), don't pass Buffer
2301         to clone()
2302
2303         * factory.C: insetGraphicsParams changed
2304
2305 2003-06-02  John Levon  <levon@movementarian.org>
2306
2307         * LyXAction.C:
2308         * factory.C:
2309         * lfuns.h:
2310         * lyxfunc.C:
2311         * text3.C: remove insetparent
2312
2313 2003-06-02  John Levon  <levon@movementarian.org>
2314
2315         * buffer.h:
2316         * buffer.C: fix inset_iterator.end(), move out of line
2317         (bug 1149)
2318
2319 2003-06-01  John Levon  <levon@movementarian.org>
2320
2321         * text3.C: use a proper cut/paste when doing inset
2322         insert (from Jürgen Spitzmüller)
2323
2324 2003-06-01  John Levon  <levon@movementarian.org>
2325
2326         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2327
2328 2003-05-30  André Pönitz  <poenitz@gmx.net>
2329
2330         * rowpainter.C: unify second drawing phase
2331
2332 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2333
2334         * trans_mgr.C: remove one case of current_view
2335
2336         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2337
2338         * paragraph_funcs.h: remove paragraph.h include
2339
2340         * paragraph.h: delete NO_STD_LIST stuff
2341
2342         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2343
2344         * buffer.h: remove paragraph.h include
2345
2346         * ParagraphList.C: delete file
2347
2348         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2349
2350         * toc.C (getTocList): adjust
2351
2352         * paragraph_pimpl.C (validate): adjust
2353
2354         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2355
2356         * paragraph.C (Paragraph): adjust
2357         (getPositionOfInset): use const_iterator, adjust
2358         (bibitem): use const_iterator, adjust
2359         (setInsetOwner): adjust
2360
2361         * iterators.C (operator++): adjust
2362
2363         * InsetList.[Ch]: Replace selfmade iterator with standard
2364         vector::iterator also introduce const_iterator. Remove getPos,
2365         getInset and setInset from InsetTable. Adjust accordingly.
2366
2367         * BufferView.C (lockInset): adjust
2368         (ChangeInsets): adjust
2369
2370         * tabular.[Ch]: delete commented same_id functions
2371
2372 2003-05-28  John Levon  <levon@movementarian.org>
2373
2374         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2375
2376 2003-05-28  André Pönitz  <poenitz@gmx.net>
2377
2378         * metricsinfo.[Ch]: remove 'fullredraw' member
2379
2380 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2381
2382         * lyxtextclass.C (operator): remove caching.
2383
2384 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * text3.C: adjust
2387
2388         * text2.C (cursorBottom): adjust
2389         (setCounter): use ParagraphList::find, adjust
2390
2391         * text.C (workWidth): use ParagraphList::find, adjust
2392
2393         * lyxcursor.C (LyXCursor): adjust
2394
2395         * buffer.C (inset_iterator): adjust
2396
2397         * ParagraphList.h: make iterator(value_type) private, make
2398         ParagraphList a friend of iterator.
2399
2400         * ParagraphList.C (find): new function
2401
2402         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2403
2404 2003-05-27  André Pönitz  <poenitz@gmx.net>
2405
2406         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2407
2408 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2411
2412 2003-05-26  John Levon  <levon@movementarian.org>
2413
2414         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2415
2416 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2417
2418         * remove same_id from function signatures, adjust.
2419
2420 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2421
2422         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2423
2424         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2425
2426         * paragraph.C (Paragraph): get rid of same_ids parameter
2427
2428         * ParagraphList.C (insert): adjust
2429         (push_back): adjust
2430
2431 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2432
2433         * paragraph_funcs.C (breakParagraph): adjust
2434         (breakParagraphConservative): adjust
2435
2436         * buffer.C (readParagraph): adjust
2437
2438         * ParagraphList.C (insert): take a reference instead of a pointer
2439         (insert): adjust
2440
2441         * paragraph.[Ch] (id): new function
2442
2443         * bufferlist.C (newFile): adjust
2444
2445         * ParagraphList.C (ParagraphList): adjust
2446         (assign): adjust
2447         (push_back): take a reference instead of a pointer.
2448
2449         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2450
2451         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2452         instead.
2453
2454         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2455         set else use old code.
2456
2457         * ParagraphList.C: remove all NO_NEXT code and only compile this
2458         code of NO_STD_LIST is set.
2459
2460 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * BufferView_pimpl.C:
2463         * TextCache.C:
2464         * TextCache.h:
2465         * bufferlist.C:
2466         * errorlist.h:
2467         * format.C:
2468         * format.h:
2469         * graph.C:
2470         * lyxfunc.C:
2471         * lyxrc.C:
2472         * graphics/GraphicsConverter.C:
2473         * graphics/PreviewLoader.C: header adjustment
2474
2475 2003-05-23  Angus Leeming  <leeming@lyx.org>
2476
2477         * LaTeXFeatures.[Ch] (useBabel): new method.
2478         * bufferparams.C (writeLaTeX): use it.
2479
2480 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * ParagraphList.h (set): remove unused function.
2483
2484 2003-05-23  André Pönitz  <poenitz@gmx.net>
2485
2486         * BufferView.C:
2487         * BufferView_pimpl.C:
2488         * buffer.C:
2489         * buffer.h:
2490         * lyxfunc.C:
2491         * undo_funcs.C: setUndo reworked
2492
2493         * iterators.[Ch]: add access to topmost ParagraphList
2494
2495         * lyxtext.[Ch] (workWidth): add a const
2496
2497 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2498
2499         * texrow.[Ch] (increasePos): remove function
2500         * exporter.C (export): removed unused var and outdated comment
2501
2502 2003-05-23  Angus Leeming  <leeming@lyx.org>
2503
2504         * latexrunparams.h: rename fragile as moving_arg.
2505         * paragraph.C (simpleTeXOnePar): ditto.
2506         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2507
2508 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2509
2510         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2511         (createUndo): ditto
2512         (textUndoOrRedo): comment out a currently unused var.
2513
2514         * paragraph.h (NO_NEXT): enable NO_NEXT
2515
2516         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2517
2518         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2519
2520         * exporter.C (Export): adjust for removeAutoInsets removal.
2521
2522         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2523
2524         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2525
2526         * BufferView.[Ch] (removeAutoInsets): delete function
2527
2528 2003-05-22  Angus Leeming  <leeming@lyx.org>
2529
2530         * latexrunparams.h: add a free_spacing variable.
2531
2532         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2533         to pass moving_arg, as the data is stored in runparams.fragile.
2534
2535         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2536         to Inset::latexOptional or to simpleTeXOnePar.
2537
2538         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2539         free_spacing arg to Inset::latexOptional.
2540
2541         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2542         free_spacing arg.
2543
2544 2003-05-22  Angus Leeming  <leeming@lyx.org>
2545
2546         * latexrunparams.h: add fragile and use_babel variables.
2547
2548         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2549         * buffer.C (makeLaTeXFile): store this returned value in
2550         runparams.use_babel, thus passing it to the inset::latex methods.
2551
2552         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2553         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2554
2555         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2556         longer has a fragile arg, as it is stored in runparams.fragile.
2557
2558         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2559         moving_arg parameter as the data is stored in runparams.fragile.
2560
2561         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2562         a fragile parameter as the data is stored in runparams.fragile.
2563
2564 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2567
2568 2003-05-22  Angus Leeming  <leeming@lyx.org>
2569
2570         * latexrunparams.h: add a 'bool nice' which defaults to false.
2571
2572         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2573         now encapsulated within runparams.
2574
2575         * bufferlist.C (updateIncludedTeXfiles):
2576         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2577
2578 2003-05-22  Angus Leeming  <leeming@lyx.org>
2579
2580         * latexrunparams.h: new file containing struct LatexRunParams.
2581         * Makefile.am: add new file.
2582
2583         * LaTeX.[Ch] (c-tor, run):
2584         * buffer.[Ch] (makeLaTeXFile):
2585         * bufferlist.[Ch] (updateIncludedTeXfiles):
2586         * converter.C (convert, scanLog):
2587         * converter.[Ch] (runLaTeX):
2588         * exporter.C (Export):
2589         * paragraph.[Ch] (simpleTeXOnePar):
2590         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2591         * paragraph_funcs.[Ch] (latexParagraphs):
2592         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2593         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2594         pass around a LatexRunParams parameter.
2595
2596 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2597
2598         * paragraph.[Ch]: remove unused constructor
2599
2600         * ParagraphList.C (erase): new function, taking two iterators
2601
2602 2003-05-22  André Pönitz  <poenitz@gmx.net>
2603
2604         * undo_funcs.C: remove duplicated code
2605
2606         * iterator.[Ch]: operator=
2607
2608 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2609
2610         * tabular.C (SetMultiColumn): ws changes
2611
2612         * rowpainter.C (paintFirst): get rid of a ->previous
2613
2614         * lyx_cb.C (getPossibleLabel): parlist simplification
2615
2616         * BufferView.C (ChangeInsets): simplify slightly.
2617
2618 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2619
2620         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2621         * lfuns.h: new LFUN_SPACE
2622         * lyxfunc.C: protected space has a new lfun
2623         * paragraph_funcs.C: read new space insets
2624         * text3.C:
2625         * factory.C: handle new space insets
2626
2627 2003-05-22  André Pönitz  <poenitz@gmx.net>
2628
2629         * BufferView.C:
2630         * BufferView_pimpl.C:
2631         * buffer.[Ch]:
2632         * lyxfunc.C:
2633         * undo_funcs.C: return a ParIterator from getParFromID.
2634
2635         * iterators.[Ch]: add two const's
2636
2637 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * toc.C (getTocList): adjust
2640
2641         * iterators.[Ch]: rework for parlist
2642
2643         * buffer.C (par_iterator_begin): adjust
2644         (par_iterator_end): adjust
2645
2646         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2647
2648         * BufferView.C (removeAutoInsets): adjust
2649         (ChangeInsets): adjust
2650
2651 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * text.C (top_y): fix bug 1110
2654
2655 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * errorlist.[Ch]: added
2658         * buffer.C:
2659         * BufferView.[Ch]:
2660         * BufferView_pimpl.C:
2661         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2662         instead
2663
2664 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2665
2666         * Makefile.am: ensure that lyx is relinked upon changes to the
2667         various "convenience" libs.
2668
2669 2003-05-20  Angus Leeming  <leeming@lyx.org>
2670
2671         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2672         files are compiled in alphabetical order again.
2673
2674         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2675
2676 2003-05-19  Angus Leeming  <leeming@lyx.org>
2677
2678         * gettext.[Ch]: remove "char const * _(char const *)".
2679
2680 2003-05-19  André Pönitz  <poenitz@gmx.net>
2681
2682         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2683
2684         * Makefile.am:
2685         * BufferView.C:
2686         * DepTable.h:
2687         * LaTeXFeatures.C:
2688         * buffer.C:
2689         * lyxfont.C:
2690         * lyxlex.h:
2691         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2692
2693 2003-05-19  André Pönitz  <poenitz@gmx.net>
2694
2695         * buffer.C:
2696         * lyxlayout.[Ch]:
2697         * lyxtextclass.[Ch]:
2698         * paragraph.C:
2699         * paragraph_funcs.[Ch]:
2700         * text2.C:
2701         * text3.C: more insetenv work
2702
2703 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * ParagraphParameters.C (params2string): small bug fixed
2706
2707 2003-05-16  André Pönitz  <poenitz@gmx.net>
2708
2709         * debug.C:
2710         * bufferview_funcs.C: patch from Kornel Benko to prevent
2711           crash when _(...) is called twice in a statement
2712
2713 2003-05-16  André Pönitz  <poenitz@gmx.net>
2714
2715         * BufferView.C:
2716         * lyxfunc.C:
2717         * text.C:
2718         * text2.C:
2719         * text3.C:
2720         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2721
2722 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * lyx_main.C (init): remove spurious static_cast
2725
2726 2003-05-14  André Pönitz  <poenitz@gmx.net>
2727
2728         * BufferView.C: fix format string
2729
2730 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2731
2732         * BufferView.[Ch] (insertErrors): removed
2733         * BufferView.[Ch] (showErrorList): added
2734         * buffer.C (runChkTeX):
2735         * converter.C (scanLog): call showErrorList instead of inserterrors
2736
2737 2003-05-13  André Pönitz  <poenitz@gmx.net>
2738
2739         * BufferView_pimpl.C:
2740         * buffer.C:
2741         * bufferview_func.C:
2742         * MenuBackend.C:
2743         * lyxfunc.C:
2744         * lyxrc.C:
2745         * tex-accent.C:
2746         * text3.C:
2747         * toc.C:
2748         * tabular_funcs.h: tostr() from its own header
2749
2750         * ParagraphParameters.C:
2751         * ToolbarBackend.C:
2752         * bufferparams.C:
2753         * format.C:
2754         * lyxlex_pimpl.C:
2755         * text3.C: STRCONV()
2756
2757 2003-05-12  André Pönitz  <poenitz@gmx.net>
2758
2759         * BufferView.C:
2760         * BufferView_pimpl.C:
2761         * CutAndPaste.C:
2762         * LaTeX.C:
2763         * LaTeXFeatures.C:
2764         * ParagraphParameters.C:
2765         * buffer.C:
2766         * bufferlist.C:
2767         * bufferparams.C:
2768         * bufferview_funcs.C:
2769         * converter.C:
2770         * counters.C:
2771         * debug.C:
2772         * exporter.C:
2773         * format.C:
2774         * importer.C:
2775         * lyx_cb.C:
2776         * lyx_main.C:
2777         * lyxfont.C:
2778         * lyxfunc.C:
2779         * lyxvc.C:
2780         * paragraph.C:
2781         * paragraph_funcs.C:
2782         * tabular.C:
2783         * tabular_funcs.C:
2784         * text2.C:
2785         * text3.C:  boost::format -> bformat  all over the place
2786
2787
2788 2003-05-09  André Pönitz  <poenitz@gmx.net>
2789
2790         * LColor.[Ch]: Pimpl the #include <map> away
2791
2792 2003-05-09  John Levon  <levon@movementarian.org>
2793
2794         * bufferlist.C: never remove emergency saves
2795
2796 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2797
2798         * Makefile.am: better lib building
2799
2800 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2801
2802         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2803         instead.
2804         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2805         (simpleTeXSpecialChars): adjust
2806         (simpleTeXSpecialChars): adjust
2807         * paragraph.C (simpleTeXOnePar): adjust
2808         * buffer.C (makeLaTeXFile): adjust
2809
2810         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2811
2812         * text2.C (changeDepth): parlist cleanup
2813         (getColumnNearX): ditto
2814
2815         * rowpainter.C (getLabelFont): parlist cleanup
2816
2817         * bufferlist.C (newFile): parlist cleanup
2818
2819         * CutAndPaste.C (eraseSelection): parlist cleanup
2820
2821         * BufferView_pimpl.C (trackChanges): parlist cleanup
2822         (dispatch): ditto
2823
2824         * BufferView.C (lockInset): parlist cleanup.
2825         (ChangeInsets): ditto
2826
2827 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * CutAndPaste.h: Update file header.
2830
2831         * CutAndPaste.C: Update file header.
2832         Store the parts cut out of the Document in a limited_stack.
2833         (copySelection): adjust
2834         (pasteSelection): new function, takes the index in the limited stack.
2835         (nrOfParagraphs): adjust
2836         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2837         simplify error inset insertion.
2838         (checkPastePossible): adjust
2839
2840 2003-05-06  John Levon  <levon@movementarian.org>
2841
2842         * text2.C: don't cast wrap inset to float
2843
2844 2003-05-05  André Pönitz  <poenitz@gmx.net>
2845
2846         * iterator.C:
2847         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2848
2849         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2850           few naked Paragraph *.
2851
2852 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2853
2854         * bufferparams.C: Output warning if a document with missing
2855         TeX document class is loaded
2856         * exporter.C: Disable TeX exports if the document class is missing
2857         * lyxtextclass.C:
2858         * lyxtextclass.h:
2859         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2860         isTeXClassAvailable()
2861
2862 2003-05-03  John Levon  <levon@movementarian.org>
2863
2864         * BufferView.h:
2865         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2866         explicit cursor show/hide
2867
2868         * BufferView_pimpl.h:
2869         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2870         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2871
2872         * lyxfunc.C: hide cursor before dispatching.
2873
2874         * lyx_cb.C:
2875         * lyxfind.C:
2876         * text.C:
2877         * text3.C: remove explicit cursor hides
2878
2879 2003-05-02  André Pönitz  <poenitz@gmx.net>
2880
2881         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2882
2883         * undo_funcs.C:
2884         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2885           linked lists
2886
2887         * text2.C: tiny whitespace
2888
2889 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * undo_funcs.C: almost only ws changes.
2892
2893         * ParagraphList.C (splice): just return if pl is empty.
2894
2895 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2896
2897         * ParagraphList.C (splice): new function.
2898
2899         * CutAndPaste.C (pasteSelection): use it
2900
2901 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * CutAndPaste.C (pasteSelection): remove the last next and
2904         previous from this file.
2905
2906 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * CutAndPaste.C (pasteSelection): more clean up, user proper
2909         ParagraphList functions for pasteing.
2910
2911         * ParagraphList.C (insert): new function, three arg insert
2912
2913 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2914
2915         * ParagraphList.C (insert): new function, three arg insert
2916
2917         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2918         not on paragraphs.
2919
2920 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2923
2924 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2927
2928 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2931         (copySelection): clean up a bit.
2932         (pasteSelection): use make_pair
2933
2934         * ParagraphList.C (ParagraphList): implement copy constructor
2935         (operator=): implement, base on copy constructor.
2936         (assign): new func
2937
2938         * paragraph.C (erase): return a bool
2939
2940         * paragraph_pimpl.C (erasePos): remove function, move contents...
2941         (erase): ... here. Return a bool.
2942         (erase): call erase instead of erasePos.
2943
2944 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * ParagraphList.h: define PitPosPair
2947         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2948         ParagraphList, fix a bug on pasting multiple pars
2949         * text2.C: change interface to C&P
2950
2951 2003-04-30  André Pönitz  <poenitz@gmx.net>
2952
2953         * undo_func.C: revert part of yesterday's patch 2
2954
2955 2003-04-30  John Levon  <levon@movementarian.org>
2956
2957         * LColor.C: s/tabular/table/
2958
2959 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * text3.C (dispatch): do not convert iterator -> pointer
2962         * undo_funcs.C (setCursorParUndo): ditto
2963         * text_funcs.C (transposeChars): ditto
2964
2965         * text2.C (setLayout): ws changes only
2966
2967         * text.C (breakParagraph): do not convert iterator -> pointer
2968         (insertChar): ditto
2969         (acceptChange): ditto
2970         (rejectChange): ditto
2971         (changeCase): ditto
2972         (Delete): ditto
2973         (backspace): ditto
2974
2975         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2976         pointer
2977
2978 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * text3.C (gotoInset): YABG (yet another bad getChar)
2981
2982 2003-04-29  André Pönitz  <poenitz@gmx.net>
2983
2984         * paragraph.h: make operator= private unimplemented as long as
2985           it is unusable
2986
2987         * ParagraphList.C: whitespace
2988
2989         * paragraph.[Ch]:
2990         * paragraph_pimpl.[Ch]:
2991         * paragraph_funcs.C:
2992         * CutAndPaste.C:
2993         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2994
2995         * text2.C:
2996           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2997
2998 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2999
3000         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3001         * paragraph.[Ch] (erase):
3002         * paragraph_pimpl.[Ch] (erase): change return type and value
3003         * text2.C (cutSelection): some rework
3004
3005 2003-04-28  John Levon  <levon@movementarian.org>
3006
3007         * bufferlist.C: changes for unsaved changes dialog
3008
3009 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * bufferlist.C (newFile): set language (messages_) for new
3012         documents also.
3013
3014         * buffer.C (readFile): ws changes only.
3015
3016 2003-04-28  André Pönitz  <poenitz@gmx.net>
3017
3018         * undo_funcs.C:
3019         * lyxfunc.C:
3020         * buffer.[Ch]:
3021         * BufferView_pimpl.C:
3022         * BufferView.C: getParFromID related ParagraphList::iterator changes
3023
3024 2003-04-28  André Pönitz  <poenitz@gmx.net>
3025
3026         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3027           Changes
3028
3029 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * messages.C: remove one more localedir class variable.
3032
3033 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * messages.C (getLocaleDir): singleton generation function
3036         (Pimpl): use it.
3037         (Messages): add a default constructor.
3038
3039         * main.C (main): do not setup localedir here, do not call
3040         gettext_init.
3041
3042         * gettext.C (_): use it.
3043         (gettext_init): delete funciton
3044
3045 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * gettext.C (getLyXMessages): new singleton generating function.
3048
3049         * buffer.C (updateDocLang): adjust
3050
3051         * Makefile.am (messages.o): add target
3052         (main.o): remove target
3053
3054 2003-04-27  John Levon  <levon@movementarian.org>
3055
3056         * bufferlist.C:
3057         * lyx_cb.C:
3058         * lyxfunc.C:
3059         * lyxvc.C: specify cancel button in Alert::prompt
3060
3061 2003-04-26  John Levon  <levon@movementarian.org>
3062
3063         * text3.C:
3064         * lyxfunc.C:
3065         * lfuns.h:
3066         * LyXAction.C: add LFUN_INSET_SETTINGS
3067
3068         * lyxfunc.C: don't enable tabular-feature when there's
3069         just any locking inset
3070
3071 2003-04-26  John Levon  <levon@movementarian.org>
3072
3073         * bufferlist.C: re-add Cancel to buffer close question
3074
3075         * lyxfunc.C: fix import UI a bit
3076
3077 2003-04-25  John Levon  <levon@movementarian.org>
3078
3079         * gettext.C: remove the broken asserts for now
3080
3081 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3082
3083         * messages.C: make case where setlocale cannot comply work better.
3084
3085         * buffer.C (updateDocLang): new function
3086         (changeLanguage): use it
3087         (readFile): use it
3088
3089         * text2.C (setCounter): use B_ a bit.
3090
3091         * lyxlayout.C (Read): be sure to trim the label strings.
3092
3093         * messages.C (Messages): fix typo in comment
3094
3095         * buffer.C (readFile): set message_ after file is loaded.
3096         (makeDocBookFile): remove double return
3097         (changeLanguage): reset message_ upon language change.
3098         (B_): new func, use this to get translated buffer strings.
3099
3100         * main.C: add myself and Jean Marc as authors.
3101
3102 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * messages.[hC]: pimplify Messages, and three different pimpls to be
3105         used in different circumstances.
3106
3107         * gettext.[Ch]: change for use with new message code.
3108
3109 2003-04-24 André Pönitz <poenitz@gmx.net>
3110
3111         * factory.C: support for eqref
3112
3113 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * messages.[Ch]: add missing char
3116
3117         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3118
3119         * messages.[Ch]: New files
3120
3121 2003-04-18  John Levon  <levon@movementarian.org>
3122
3123         * BufferView.h:
3124         * BufferView.C:
3125         * BufferView_pimpl.C:
3126         * lfuns.h:
3127         * LyXAction.C:
3128         * lyxtext.h:
3129         * text2.C: remove layout-copy/paste (bug 778)
3130
3131 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3132
3133         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3134
3135 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3138         if they succeed. Act accordingly.
3139
3140 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * text2.C (setCharFont): adjust
3143         (setCounter): adjust
3144         (insertStringAsLines): adjust
3145
3146         * text.C (leftMargin): adjust
3147         (setHeightOfRow): adjust
3148
3149         * rowpainter.C (paintFirst): adjust
3150         (paintLast): adjust
3151
3152         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3153         (outerHook): ditto
3154         (isFirstInSequence): ditto
3155         (getEndLabel): ditto
3156         (outerFont): adjust
3157
3158         * paragraph.C (getParLanguage): comment out some hard stuff.
3159
3160         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3161         (sgmlError): ditto
3162         (simpleDocBookOnePar): ditto
3163         (makeDocBookFile): use ParagraphList::iterator
3164
3165         * CutAndPaste.C (pasteSelection): adjust
3166
3167 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * text2.C (getFont): adjust
3170         (getLayoutFont): adjust
3171         (getLabelFont): adjust
3172
3173         * paragraph_funcs.C (TeXOnePar): adjust
3174
3175         * buffer.C (simpleLinuxDocOnePar): adjust
3176         (simpleDocBookOnePar): adjust
3177
3178         * CutAndPaste.C (pasteSelection): adjust
3179
3180         * BufferView.C (getEncoding): adjust
3181
3182         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3183
3184 2003-04-16  John Levon  <levon@movementarian.org>
3185
3186         * lyxfind.C: use parlist stuff for search/changes
3187
3188 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3191
3192         * text2.C (deleteEmptyParagraphMechanism): adjust
3193
3194         * text2.[Ch] (ownerParagraph): delete func (both of them
3195
3196 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3199
3200 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * ParagraphList.C: prepare for NO_NEXT
3203
3204 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3205
3206         * text2.C (getFont): adjust
3207         (getLayoutFont): adjust
3208         (getLabelFont): adjust
3209
3210         * paragraph.C (getFont): adjust
3211         (getLabelFont): adjust
3212         (getLayoutFont): adjust
3213
3214         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3215
3216 2003-04-15  John Levon  <levon@movementarian.org>
3217
3218         From Angus Leeming
3219
3220         * lyx_main.C: handle Include in .ui files
3221
3222 2003-04-15  John Levon  <levon@movementarian.org>
3223
3224         * MenuBackend.C: make the doc files length shorter
3225
3226         * ToolbarBackend.h:
3227         * ToolbarBackend.C: handle toolbar placement flags,
3228         Minibuffer
3229
3230 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3233         adjust
3234
3235         * paragraph_funcs.C (TeXOnePar): adjust
3236
3237         * paragraph.C (getLabelFont): add outerfont arg, adjust
3238         (getLayoutFont): ditto
3239         (simpleTeXOnePar): adjust
3240
3241         * paragraph_pimpl.C (realizeFont): delete func
3242
3243 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3246         row argument, constify cur argument.
3247
3248 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * text2.C (getFont): adjust
3251         (getLayoutFont): adjust
3252         (getLabelFont): adjust
3253
3254         * paragraph_funcs.C (TeXOnePar): adjust
3255         (outerFont): new func...
3256         (realizeFont): ...moved out from here, changed this to facilitate
3257         transition
3258
3259         * paragraph.C (getFont): take outerfont as arg, adjust
3260         (simpleTeXOnePar): add outerfont arg, adjust
3261
3262         * buffer.C (simpleLinuxDocOnePar): adjust
3263         (simpleDocBookOnePar): adjust
3264
3265         * CutAndPaste.C (pasteSelection): adjust
3266
3267         * BufferView.C (getEncoding): adjust
3268
3269 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3270
3271         * text2.C (setCharFont): adjust
3272         (setCounter): adjust
3273
3274         * text.C (leftMargin): adjust
3275         (setHeightOfRow): adjust
3276
3277         * rowpainter.C (paintFirst): adjust
3278         (paintLast): adjust
3279
3280         * paragraph_pimpl.C (realizeFont): adjust
3281
3282         * paragraph.C (isFirstInSequence): move from here...
3283         * paragraph_funcs.C (isFirstInSequence): ...to here
3284
3285         * paragraph.C (outerHook): move from here...
3286         * paragraph_funcs.C (outerHook): ...to here
3287
3288         * paragraph.C (depthHook): move from here...
3289         * paragraph_funcs.C (depthHook): ...to here
3290
3291         * paragraph.C (getEndLabel): move from here...
3292         * paragraph_funcs.C (getEndLabel): ...to here
3293
3294         * text2.C (realizeFont): move from here...
3295         * paragraph_funcs.C (realizeFont): ...to here
3296
3297 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3300
3301 2003-04-14  Angus Leeming  <leeming@lyx.org>
3302
3303         * LColor.[Ch]: scrap LColor mathcursor.
3304
3305 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * lyxlex.[Ch] (text): delete function
3308         * trans.C (Load): adjust
3309         * paragraph_funcs.C (readParToken): adjust
3310
3311 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3314         vector<char> instead of a char[].
3315
3316         * lyxlex_pimpl.C (getString): adjust
3317         (next): adjust
3318         (lex): use getString
3319         (eatLine): adjust
3320         (nextToken): adjust
3321
3322         * lyxlex.C (text): use pimpl_->getString()
3323         (getBool): ditto
3324         (findToken): ditto
3325
3326 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3329         (makeFontEntriesLayoutSpecific): temp var for par.size()
3330         (setLayout): temp var for ownerParagraphs().end()
3331         (fullRebreak): temp var for rows().end()
3332         (selectionAsString): temp var for boost::next(startpit), realize
3333         that the while really is a regular for loop.
3334         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3335         setCursor in one place.
3336         (setParagraph): temp vr for ownerParagraphs().end()
3337         (updateCounters): make the while loop a for loop
3338         (cutSelection): temp var for ownerParagraphs().end()
3339         (updateInset): make the do {} while() a regular for loop
3340         (getCursorX): use temp vars
3341         (setCurrentFont): use temp vars
3342         (getColumnNearX): use temp vars
3343
3344 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * text.C (transformChar): use temp var for getChar
3347         (computeBidiTables): use temp var for row->par()
3348         (fill): move temp vars for row->par() and pit->layout() earlier in
3349         the function.
3350         (labelFill): use temp var for row->par()
3351         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3352         asc and desc, realize that pit never changes and that firstpit is
3353         just a duplicate and not needed. Exchange rit->par() with pit in a
3354         lot of places.
3355         (breakAgain): use a temp var for boost::next(rit)
3356         (breakAgainOneRow): ditto
3357         (breakParagraph): use a temp var for rows().begin()
3358         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3359         (cursorRightOneWord): use temp var for cursor.par() and
3360         cursor.pos(), remove usage of tmpcursor.
3361         (cursorLeftOneWord): use temp var for cursor.par() and
3362         cursor.pos() only set cur at end of function.
3363
3364 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * text.C, text2.C: exchange all usage of Paragraph::next with
3367         boost::next(ParagraphList::iterator)
3368
3369         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3370
3371         * text2.C (cursorTop): simplify implementation
3372         (cursorBottom): ditto
3373         (setParagraph): use ParagraphList::iterator
3374         (setCurrentFont): adjust
3375         (getColumnNearX): adjust
3376         (cursorRight): adjust
3377         (cursorLeft): remove usage of Paragraph::previous
3378         (cursorUpParagraph): ditto
3379         (deleteEmptyParagraphMechanism): slight cleanup
3380
3381         * text.C (isBoundary): take a Paragraph const & instead of a
3382         pointer as arg.
3383         (addressBreakPoint): ditto
3384         (leftMargin): remove usage of Paragraph::previous.
3385         (setHeightOfRow): ditto
3386         (cursorLeftOneWord): ditto
3387         (selectNextWordToSpellcheck): ditto
3388         (Delete): ditto
3389         (backspace): ditto
3390         (breakParagraph): remove one usage of Paragraph::next
3391         (redoParagraph): ditto
3392         (acceptChange): ditto
3393         (insertChar): adjust
3394         (rowBreakPoint): adjust
3395
3396         * bufferview_funcs.C (toggleAndShow): adjust
3397
3398 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3401         methods to access it.
3402         * lyxtext.h:
3403         * text.C: Added updateRowPositions to compute all row positions.
3404         Make top_y and getRowNearY() to use the cached y position
3405
3406 2003-04-11  John Levon  <levon@movementarian.org>
3407
3408         * text.C (rowBreakPoint): reintroduce the labelEnd
3409         checks, code copied from the row fill stuff. Deep voodoo.
3410
3411         * text.C (fill): add a comment and debugging for the
3412         next poor soul.
3413
3414 2003-04-11  John Levon  <levon@movementarian.org>
3415
3416         * text.C: make sure fullrow insets get wrapped to the next line,
3417         even when they're in a manual label
3418
3419 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * text2.C (insertParagraph): make it take ParagraphList::iterator
3422         as arg.
3423         (setLayout): make it return ParagraphList::iterator
3424         (redoParagraphs): ditto
3425         (setCounter): ditto
3426         (checkParagraph): ditto
3427
3428         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3429
3430         * text2.C: adjust several funcs.
3431         (realizeFont): take a ParagraphList::iterator as arg.
3432         (getLayoutFont): ditto
3433         (getLabelFont): ditto
3434         (setCharFont): ditto
3435
3436         * text.C: adjust several funcs.
3437
3438 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3439
3440         * text.C (selectNextWordToSpellcheck): don't accidentally
3441         skip insets
3442
3443 2003-04-10  John Levon  <levon@movementarian.org>
3444
3445         * ToolbarBackend.C (getIcon): special handling for
3446         LFUN_MATH_DELIM
3447
3448 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3449
3450         * text2.C (cursorRight): a getChar assert fixed
3451
3452 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3453
3454         * text2.C (getFont): change to take a ParagraphList::iterator
3455         instead of Paragraph*
3456         Adjust several functions.
3457
3458         * text.C (transformChar): change to take a ParagraphList::iterator
3459         instead of Paragraph*
3460         (singleWidth): ditto
3461         Adjust several functions.
3462
3463         * rowpainter.C: adjust several functions
3464         * rowpainter.h:store a ParagraphList::iterator and not a
3465         Paragraph&.
3466
3467
3468 2003-04-09  John Levon  <levon@movementarian.org>
3469
3470         * lyxfunc.C:
3471         * lfuns.h:
3472         * LyXAction.h:
3473         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3474         and the "help" bits as well
3475
3476 2003-04-09  John Levon  <levon@movementarian.org>
3477
3478         * ToolbarBackend.h:
3479         * ToolbarBackend.C: allow multiple toolbars
3480
3481 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * undo_funcs.C (setCursorParUndo): adjust
3484
3485         * text_funcs.C (transposeChars): adjust
3486
3487         * text3.C (gotoNextInset): adjust
3488         (dispatch): adjust
3489
3490         * text2.C (setLayout): adjust
3491         (changeDepth): adjust
3492         (setFont): adjust
3493         (redoParagraphs): adjust
3494         (selectionAsString): adjust
3495         (setParagraph): adjust
3496         (insertInset): adjust
3497         (cutSelection): adjust
3498         (copySelection): adjust
3499         (pasteSelection): adjust
3500         (insertStringAsLines): adjust
3501         (updateInset): adjust
3502         (setCursor): change to take a ParagraphList::iterator parameter
3503         (setCursorIntern): change to take a ParagraphList::iterator parameter
3504         (setCurrentFont): adjust
3505         (cursorLeft): adjust
3506         (cursorRight): adjust
3507         (deleteEmptyParagraphMechanism): adjust
3508
3509         * text.C (breakParagraph): adjust
3510         (insertChar): adjust
3511         (acceptChange): adjust
3512         (rejectChange): adjust
3513         (selectNextWordToSpellcheck): adjust
3514         (changeCase): adjust
3515         (Delete): adjust
3516         (backspace): adjust
3517
3518         * lyxfind.C (SearchForward): adjust
3519         (SearchBackward): adjust
3520         (nextChange): adjust
3521
3522         * lyxcursor.C (par): adjust
3523
3524         * lyxcursor.h: store a ParagraphList::iterator instead of a
3525         Paragraph*
3526
3527         * lyx_cb.C (getPossibleLabel): adjust
3528
3529         * bufferview_funcs.C (toggleAndShow): adjust
3530
3531         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3532         (dispatch): adjust
3533
3534         * BufferView.C (removeAutoInsets): adjust
3535         (lockedInsetStoreUndo): adjust
3536
3537 2003-04-09  John Levon  <levon@movementarian.org>
3538
3539         * ToolbarBackend.C: try icon without argument
3540         if with argument fails
3541
3542 2003-04-08  John Levon  <levon@movementarian.org>
3543
3544         * ToolbarBackend.h:
3545         * ToolbarBackend.C: add getIcon(), handle tooltip,
3546         and change from "Icon" to "Item".
3547
3548 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * BufferView.C (lockInset): another bad getchar crunched
3551
3552 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3553
3554         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3555         again)
3556
3557 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * lyxfind.C (searchForward, searchBackwards): bug 782
3560
3561 2003-04-07  John Levon  <levon@movementarian.org>
3562
3563         * paragraph.C: remove dead comment
3564
3565         * text.C: remove troublesome depth-fiddling code
3566         in leftMargin() and rightMargin() (bug 1017)
3567
3568         * text.C: fix breaking of rows in nested lists
3569         (bug 1004)
3570
3571         * text2.C (updateCounters): fix up depth values
3572         (bug 1013)
3573
3574 2003-04-07  John Levon  <levon@movementarian.org>
3575
3576         * BufferView_pimpl.C: clear message when doc finishes resizing,
3577         and after a mouse event
3578
3579         * lyxfunc.C: clear message after exiting inset
3580
3581 2003-04-07  John Levon  <levon@movementarian.org>
3582
3583         * bufferview_funcs.C: show math status not outside
3584         status in the statusbar
3585
3586 2003-04-07  John Levon  <levon@movementarian.org>
3587
3588         * lyxfunc.C: note status changed after a depth change
3589
3590 2003-04-04  Angus Leeming  <leeming@lyx.org>
3591
3592         * LaTeX.h: move AuxInfo operator==, != out of line.
3593         Remove LaTeX virtual destructor; nothing derives from it.
3594         Move operator()() out of public area and rename it startscript().
3595         Change protected for private.
3596
3597 2003-04-04  Angus Leeming  <leeming@lyx.org>
3598
3599         * lyxfunc.C:
3600         * text2.C: remove unneeded #includes.
3601
3602 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * text2.C (dEPM): fix the heigth of the next row
3605
3606 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * text.C: squashed an invalid getChar requester + some ws changes
3609
3610 2003-04-03  John Levon  <levon@movementarian.org>
3611
3612         * bufferview_funcs.h:
3613         * bufferview_funcs.C:
3614         * lyxfunc.C:
3615         * lyxtext.h:
3616         * text2.C: make getStatus work for the env depth lfuns
3617
3618 2003-04-03  John Levon  <levon@movementarian.org>
3619
3620         * bufferview_funcs.h:
3621         * bufferview_funcs.C:
3622         * lyxfunc.C:
3623         * lyxtext.h:
3624         * text2.C: parlistize decDepth(), by merging it with incDepth()
3625
3626 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * lyxrow.h: store a ParagraphList::iterator instead of a
3629         Paragraph* and adjust other class functions to suit.
3630
3631         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3632         above.
3633
3634 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3635
3636         * text2.C (setCursor): do not anchor to cursor row for the time being
3637
3638 2003-04-02  John Levon  <levon@movementarian.org>
3639
3640         * LyXAction.C:
3641         * lfuns.h:
3642         * lyx_main.C:
3643         * lyxtext.h:
3644         * text.C:
3645         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3646
3647 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * paragraph.h: make ParagraphList and ParagraphList::iterator
3650         friends of Paragraph.
3651
3652         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3653
3654         * ParagraphList.C: Use the private next_ and previous_ from
3655         Paragraph.
3656
3657 2003-04-01  John Levon  <levon@movementarian.org>
3658
3659         * ToolbarBackend.h:
3660         * ToolbarBackend.C:
3661         * Makefile.am: rename, remove defaults gunk
3662
3663         * MenuBackend.h:
3664         * MenuBackend.C: remove defaults gunk
3665
3666         * Languages.h:
3667         * Languages.C: remove defaults gunk
3668
3669         * lyx_main.h:
3670         * lyx_main.C: error out if files couldn't be found.
3671
3672 2003-04-02  John Levon  <levon@movementarian.org>
3673
3674         * text2.C: make incDepth() use parlist
3675
3676 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * undo_funcs.C (firstUndoParagraph): adjust
3679
3680         * text3.C (gotoInset): adjust
3681         (dispatch): adjust, and rewrite loop.
3682
3683         * text2.C (init): adjust, and rewrite loop.
3684         (redoParagraphs): adjust
3685         (updateInset): adjust, and rewrite loop.
3686         (deleteEmptyParagraphMechanism): adjust
3687
3688         * tabular.C (LyXTabular): adjust
3689         (SetMultiColumn): adjust
3690         (TeXRow): adjust
3691
3692         * lyxtext.[Ch] (ownerParagraph): delete function
3693         (ownerParagraphs): new function returns a ParagraphList.
3694
3695         * BufferView.C (removeAutoInsets): adjust
3696         (insertErrors): adjust
3697         (setCursorFromRow): adjust
3698
3699 2003-04-01  Angus Leeming  <leeming@lyx.org>
3700
3701         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3702         in the frontends.
3703
3704 2003-04-02  John Levon  <levon@movementarian.org>
3705
3706         * lyxtext.h:
3707         * text.C:
3708         * Makefile.am:
3709         * text_funcs.h:
3710         * text_funcs.C: make transposeChars a free function
3711
3712         * lyxrow_funcs.C: remove wrong comment
3713
3714 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * lyxtext.h: adjust
3717         * rowpainter.C: adjust
3718         * text.C: adjust
3719         * text2.C: adjust
3720         * text3.C: adjust
3721
3722         * lyxrow_funcs. [Ch]: new files
3723
3724         * lyxrow.[Ch]: remove next and previous pointers
3725         (next,previous): remove accessor functions
3726         (isParEnd): move to lyxrow_funcs
3727         (lastPos): move to lyxrow_funcs
3728         (nextRowIsAllInset): move to lyxrow_funcs
3729         (lastPrintablePos): move to lyxrow_funcs
3730         (numberOfSeparators): move to lyxrow_funcs
3731         (numberOfHfills): move to lyxrow_funcs
3732         (numberOfLabelHfills): move to lyxrow_funcs
3733         (hfillExpansion): move to lyxrow_funcs
3734
3735         * lyxfunc.C: adjust
3736
3737         * bufferview_funcs.C (toggleAndShow): adjust
3738
3739         * RowList.h: Remove class RowList from file leave just a
3740         std::list<Row>.
3741
3742         * RowList.C: delete file
3743
3744         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3745         and lyxrow_funcs.h
3746
3747 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * text3.C (cursorPrevious): adjust
3750         (cursorNext): adjust
3751         (dispatch): adjust
3752
3753         * text2.C (redoHeightOfParagraph): adjust
3754         (redoDrawingOfParagraph): adjust
3755         (setCursor): adjust
3756
3757         * text.C (breakParagraph): adjust
3758         (insertChar): adjust
3759         (backspace): adjust
3760
3761         * rowpainter.C (RowPainter): adjust
3762         (leftMargin): simplify and adjust
3763         (most rowpainter functions): adjust.
3764
3765         * rowpainter.h: store the row as RowList::iterator not as Row*
3766
3767         * lyxcursor.C (row): taka RowList::iterator as arg
3768         (irow): ditto
3769
3770         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3771         of Row*.
3772
3773 2003-04-01  Angus Leeming  <leeming@lyx.org>
3774
3775         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3776         stuff like bool Bool.
3777
3778 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3781         rewrite a loop
3782
3783 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3786         RowList::iterator.
3787
3788         * lyxtext.h (rows): drop one version and leve a const variant that
3789         returns a RowList::iterator.
3790
3791 2003-03-31  Angus Leeming  <leeming@lyx.org>
3792
3793         * text.C (fill): ensure that the signature is the same as that in the
3794         header file.
3795
3796 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * text2.C (redoParagraphs): adjust
3799         (updateCounters): adjust
3800         (checkParagraph): adjust
3801         (getColumnNearX): adjust and reformat a bit.
3802
3803         * text.C (top_y): adjust
3804         (workWidth): adjust
3805         (leftMargin): adjust
3806         (prepareToPrint): adjust
3807         (getRow): adjust
3808         (getRowNearY): adjust
3809
3810         * lyxtext.h: make rowlist_ mutable.
3811
3812         * RowList.h: add const_iterator
3813         * RowList.C: adjust for RowList::const_iterator.
3814
3815         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3816         adjust.
3817
3818 2003-03-31  John Levon  <levon@movementarian.org>
3819
3820         * lyxrc.h:
3821         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3822
3823         * lyx_main.C: set default fonts from using lyx_gui funcs
3824
3825         * exporter.C: pdf_mode moved from lyxrc
3826
3827         * lyx_cb.C:
3828         * lyxfunc.C: changes from above
3829
3830 2003-03-31  John Levon  <levon@movementarian.org>
3831
3832         * lyx_main.C: fix to the last fix
3833
3834 2003-03-31  John Levon  <levon@movementarian.org>
3835
3836         * bufferlist.C: "Load original" -> "Load Original"
3837
3838         * converter.C:
3839         * exporter.C:
3840         * importer.C:
3841         * lyx_main.C:
3842         * format.C: more Alert cleanups
3843
3844 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * text2.C (removeParagraph): make it take a RowList::iterator as
3847         arg, adjust.
3848         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3849         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3850
3851         * text.C (anchor_row): make it take a RowList::iterator as arg,
3852         adjust.
3853         (computeBidiTables): make it take a const reference to Row instead
3854         of Row pointer, adjust.
3855         (leftMargin): make it take a RowList::iterator as arg, adjust.
3856         (rowBreakPoint): adjust
3857         (breakAgainOneRow): make it take a RowList::iterator as arg,
3858         adjust.
3859         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3860
3861         * bufferview_funcs.C (toggleAndShow): adjust
3862
3863 2003-03-30  John Levon  <levon@movementarian.org>
3864
3865         * Makefile.am:
3866         * BoostFormat.h:
3867         * boost-inst.C: moved to support
3868
3869         * several files: changes as a result
3870
3871 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * text2.C (LyXText): adjust.
3874         (init): adjust
3875         (removeRow): make it take a RowList::iterator as arg, adjust.
3876         (fullRebreak): adjust
3877         (deleteEmptyParagraphMechanism): adjust
3878         (clearPaint): adjust
3879         (postPaint): adjust
3880
3881         * text.C (top_y): adjust
3882         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3883         (breakAgain): make it take a RowList::iterator as arg, adjust.
3884         (breakParagraph): adjust
3885         (insertChar): adjust
3886         (backspace): adjust
3887
3888         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3889         need_break_row, and refresh_row.
3890
3891         * text3.C (dispatch): adjust
3892
3893         * text2.C (checkParagraph): adjust
3894         (setCursor): adjust
3895         (setCursorFromCoordinates): adjust
3896
3897         * text.C (top_y): adjust
3898         (workWidth): adjust
3899         (getRow): make it return a RowList::iterator, adjust
3900         (getRowNearY): make it return a RowList::iterator, adjust
3901
3902         * text2.C (init): adjust
3903         (insertRow): remove function
3904         (insertParagraph): adjust
3905         (redoParagraphs): adjust
3906         (fullRebreak): adjust
3907         (updateCounters): adjust
3908
3909         * text.C (top_y): rewrite to use RowList iterators.
3910         (top_y): adjust
3911         (setHeightOfRow): rewrite to sue RowList iterators.
3912         (appendParagraph): adjust
3913         (breakAgain): adjust
3914         (breakAgainOneRow): adjust
3915         (breakParagraph): adjust
3916         (getRow): adjust
3917         (getRowNearY): adjust, and remove commented code.
3918
3919         * lyxtext.h (firstRow): delete function
3920         (lastRow): delete function
3921         (rows): new function (const and non-const versions.)
3922         (insertRow): delete function
3923
3924         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3925
3926 2003-03-29  John Levon  <levon@movementarian.org>
3927
3928         * BufferView_pimpl.C: always update scrollbar top
3929         because pasting text when we're anchored could mean we
3930         miss an update altogether
3931
3932 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * text2.C (init): use rowlist_.end() and not 0.
3935         (insertRow): change to take a RowList::iterator as arg, adjust
3936         for this.
3937         (insertParagraph): change to take a RowList::iterator as arg,
3938         adjust for this.
3939         (redoParagraphs): remove some debug msgs.
3940
3941         * text.C (appendParagraph): change to take a RowList::iterator
3942         arg, adjust for this.
3943         (breakAgain): add an assert
3944         (breakAgainOneRow): ditto
3945
3946 2003-03-29  John Levon  <levon@movementarian.org>
3947
3948         * text2.C: do not clear selection after inc/decDepth
3949         (bug 550)
3950
3951 2003-03-29  John Levon  <levon@movementarian.org>
3952
3953         * BufferView.C:
3954         * buffer.C: fix broken strerrors according to Lars
3955
3956 2003-03-29  John Levon  <levon@movementarian.org>
3957
3958         * converters.C: more Alert cleanups
3959
3960 2003-03-29  John Levon  <levon@movementarian.org>
3961
3962         * bufferview_funcs.C: remove pointless Alert
3963
3964         * buffer.C: fix confusing error message when
3965         a template is chmoded 000
3966
3967 2003-03-29  John Levon  <levon@movementarian.org>
3968
3969         * BufferView.C:
3970         * BufferView.h:
3971         * BufferView_pimpl.C: Alert fixes
3972
3973         * Makefile.am:
3974         * tabular.C:
3975         * tabular-old.C: remove unused table compat reading
3976
3977 2003-03-29  John Levon  <levon@movementarian.org>
3978
3979         * BufferView.C:
3980         * buffer.C:
3981         * lyx_cb.h:
3982         * lyx_cb.C: more Alert cleanups
3983
3984         * lyxfunc.C: don't allow chktex if not latex document
3985
3986 2003-03-29  John Levon  <levon@movementarian.org>
3987
3988         * lyx_cb.C:
3989         * BufferView.C:
3990         * buffer.C: warnings pushed down from support/,
3991         kill err_alert
3992
3993 2003-03-29  John Levon  <levon@movementarian.org>
3994
3995         * lyxfunc.C: safety check for C-r (revert)
3996
3997 2003-03-29  John Levon  <levon@movementarian.org>
3998
3999         * bufferlist.h:
4000         * bufferlist.C: several UI fixes using Alert::prompt.
4001         Fix the pointless looping quit code. Fix stupid revert
4002         behaviour (bug 938)
4003
4004         * lyxvc.h:
4005         * lyxvc.C:
4006         * lyx_cb.C: use Alert::prompt
4007
4008         * lyx_main.C: remove a silly question
4009
4010         * lyxfunc.C: remove a couple of silly questions,
4011         use Alert::prompt
4012
4013 2003-03-28  John Levon  <levon@movementarian.org>
4014
4015         * text2.C: fix bug 974 (End on empty par)
4016
4017 2003-03-28  John Levon  <levon@movementarian.org>
4018
4019         * BufferView_pimpl.C:
4020         * LyXAction.C:
4021         * lfuns.h: remove do-nothing math greek lfuns
4022
4023 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * lyxgluelength.h (isValidGlueLength): add default arg on
4026         parameter 2. Remove default arg from friend in class.
4027
4028         * lyxlength.h (isValidLength): add default arg on parameter 2.
4029         Remove default arg from friend in class.
4030
4031         * text2.C (LyXText): adjust, initialize refresh_row.
4032         (init): adjust
4033         (removeRow): adjust
4034         (insertRow): adjust
4035         (insertParagraph): adjst
4036         (redoParagraphs): adjust
4037         (fullRebreak): adjust
4038         (updateCounters): adjust
4039         (deleteEmptyParagraphMechanism): first attempt at fixing a
4040         crashing bug.
4041
4042         * text.C (top_y): adjust
4043         (setHeightOfRow): adjust
4044         (getRow): adjust
4045         (getRowNearY): adjust
4046
4047         * lyxtext.h: include RowList.h
4048         (~LyXText): not needed anymore, deleted.
4049         (firstRow): modify for RowList
4050         (lastRow): new function
4051         Delete firstrow and lastrow class variables, add a Rowlist
4052         rowlist_ class variable.
4053
4054         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4055         paragraph is empty.
4056
4057         * RowList.C (insert): fix case where it == begin().
4058
4059 2003-03-26  Angus Leeming  <leeming@lyx.org>
4060
4061         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4062         the thesaurus dialog.
4063
4064 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4067
4068         * RowList.[Ch]: new files
4069
4070         * ParagraphList.C (erase): handle the case where it == begin
4071         correctly.
4072
4073 2003-03-25  John Levon  <levon@movementarian.org>
4074
4075         * Makefile.am:
4076         * aspell_local.h:
4077         * aspell.C: add new aspell support
4078
4079         * lyxrc.h:
4080         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4081         have it accessible.
4082
4083 2003-03-25  Angus Leeming  <leeming@lyx.org>
4084
4085         * lfuns.h:
4086         * LyXAction.C (init): new LFUN_INSET_INSERT.
4087
4088         * BufferView_pimpl.C (dispatch): split out part of the
4089         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4090
4091         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4092         LFUN_INSET_APPLY.
4093
4094 2003-03-25  Angus Leeming  <leeming@lyx.org>
4095
4096         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4097
4098 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4099
4100         * text2.C:
4101         * text3.C: remove useless row->height(0)
4102
4103 2003-03-25  John Levon  <levon@movementarian.org>
4104
4105         * lyxtext.h:
4106         * text2.C:
4107         * text3.C: rename the refreshing stuff to better names
4108
4109 2003-03-24  John Levon  <levon@movementarian.org>
4110
4111         * BufferView_pimpl.h:
4112         * BufferView_pimpl.C: update layout choice on a mouse
4113         press/release
4114
4115 2003-03-23  John Levon  <levon@movementarian.org>
4116
4117         * Makefile.am: fix commandtags.h reference
4118
4119 2003-03-22  John Levon  <levon@movementarian.org>
4120
4121         * BufferView_pimpl.C:
4122         * lyxtext.h:
4123         * rowpainter.C:
4124         * rowpainter.h:
4125         * text.C:
4126         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4127
4128 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * lyxtext.h:
4131         * text.C: take the rtl methods out of line
4132
4133 2003-03-21 André Pönitz <poenitz@gmx.net>
4134
4135         * metricsinfo.[Ch]: new files containing structures to be passed around
4136         during the two-phase-drawing...
4137
4138 2003-03-21 André Pönitz <poenitz@gmx.net>
4139
4140         * lyxtextclass.C: read 'environment' tag.
4141
4142 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * text2.C (removeRow): fix bug 964
4145
4146 2003-03-20  John Levon  <levon@movementarian.org>
4147
4148         * rowpainter.C:
4149         * text.C:
4150         * text2.C: paint cleanups. Inset::update() dropped font
4151         parameter
4152
4153 2003-03-19  John Levon  <levon@movementarian.org>
4154
4155         * lyxfunc.C: only fitcursor/markDirty if available()
4156
4157 2003-03-19  John Levon  <levon@movementarian.org>
4158
4159         * commandtags.h: rename to ...
4160
4161         * lfuns.h: ... this, and renumber / cleanup
4162
4163 2003-03-19  John Levon  <levon@movementarian.org>
4164
4165         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4166         fit the cursor after an lfun
4167
4168         * BufferView.h:
4169         * BufferView.C:
4170         * BufferView_pimpl.h:
4171         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4172
4173         * LyXAction.C: layout-character should have ReadOnly
4174
4175         * ParagraphParameters.C:
4176         * buffer.C:
4177         * bufferview_funcs.C:
4178         * lyx_cb.C:
4179         * lyxfind.C:
4180         * lyxtext.h:
4181         * text.C:
4182         * text2.C:
4183         * text3.C:
4184         * undo_funcs.C: changes from above
4185
4186 2003-03-18  John Levon  <levon@movementarian.org>
4187
4188         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4189         remove it from update()
4190
4191         * lyxfunc.C: update layout choice after an lfun
4192
4193         * text3.C: remove extra updateLayoutChoice()s
4194
4195 2003-03-18  John Levon  <levon@movementarian.org>
4196
4197         * text.C: top_y change means full repaint, fix
4198         a drawing bug with cursor movement
4199
4200 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4201
4202         * lyxtext.h:
4203         * text.C:
4204         * text2.C: anchor row on setCursor
4205
4206 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * lyxtext.h: remove almost all mutable keywords
4209         * text.C:
4210         * text2.C:
4211         * text3.C: remove const keywords accordingly
4212
4213 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4216         anon namespace
4217         (TeXEnvironment): ditto
4218         (TeXOnePar): ditto
4219
4220 2003-03-17  John Levon  <levon@movementarian.org>
4221
4222         * text.C (rowBreakPoint): remove attempt to fix displayed
4223         math insets inside a manual label
4224
4225 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * lyxtext.h: remove BufferView* as first arg from almost all class
4228         functions.
4229         * other files: adjust.
4230
4231 2003-03-17  John Levon  <levon@movementarian.org>
4232
4233         * lyxtext.h:
4234         * undo_funcs.C:
4235         * text2.C: more paint cleanups
4236
4237         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4238
4239         * rowpainter.h:
4240         * rowpainter.C: remove "smart" background painting code
4241
4242 2003-03-16  John Levon  <levon@movementarian.org>
4243
4244         * lyxtext.h:
4245         * text.C:
4246         * text2.C:
4247         * text3.C: add helper functions for setting refresh_row/y
4248
4249 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4250
4251         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4252         newline inset which *can* get inserted in the pass_thru layouts.
4253         This is primarily for literate documents.
4254
4255 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4256
4257         * buffer.C: increment LYX_FORMAT to 223
4258
4259 2003-03-14 André Pönitz <poenitz@gmx.net>
4260
4261         * textclass.h: prepare for environment handling, ws changes
4262         * lyxlayout.C: read latexheader and latexfooter tags
4263
4264 2003-03-14  John Levon  <levon@movementarian.org>
4265
4266         * text2.C: rewrite ::status() a bit
4267
4268 2003-03-13  John Levon  <levon@movementarian.org>
4269
4270         * lyxtext.h: add some docs
4271
4272 2003-03-13  John Levon  <levon@movementarian.org>
4273
4274         * lyxtext.h:
4275         * text.C:
4276         * text2.C:
4277         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4278
4279 2003-03-13  John Levon  <levon@movementarian.org>
4280
4281         * text3.C: fix appendix redrawing
4282
4283 2003-03-13  John Levon  <levon@movementarian.org>
4284
4285         * text.C (setHeightOfRow):
4286         * rowpainter.h:
4287         * rowpainter.C: make appendix mark have the text
4288           "Appendix" so the user knows what it is
4289
4290         * LColor.h:
4291         * LColor.C: s/appendixline/appendix/ from above
4292
4293 2003-03-13  John Levon  <levon@movementarian.org>
4294
4295         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4296
4297         * text.C: fix a getChar(pos) bug properly
4298
4299 2003-03-13  Angus Leeming  <leeming@lyx.org>
4300
4301         * commandtags.h:
4302         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4303         Probably only temporary. Let's see how things pan out.
4304
4305         * BufferView.C (unlockInset):
4306         * BufferView_pimpl.C (fitCursor):
4307         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4308
4309         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4310         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4311
4312         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4313         new functions that convert ParagraphParameters to and from a string.
4314
4315         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4316         BufferView::Pimpl's dispatch.
4317         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4318
4319 2003-03-13 André Pönitz <poenitz@gmx.net>
4320
4321         * lyxfunc.C:
4322         * text3.C:
4323         * factory.C: make it aware of InsetEnv
4324
4325 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * text2.C (setCursor): never ask for one past last
4328         (setCursor): add some debugging messages.
4329
4330         * text.C (singleWidth): never ask for one past last
4331         (singleWidth): ditto
4332         (leftMargin): ditto
4333         (rightMargin): ditto
4334         (rowBreakPoint): ditto
4335         (setHeightOfRow): ditto
4336         (prepareToPrint): ditto
4337
4338         * rowpainter.C (paintBackground): never ask for one past last
4339         (paintText): never ask for one past last
4340
4341         * paragraph_pimpl.C (getChar): make the assert stricter, never
4342         allow the one past last pos to be taken
4343
4344         * paragraph.C (getChar): ws changes only
4345
4346         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4347         (numberOfSeparators): ditto
4348         (numberOfHfills): ditto
4349
4350 2003-03-12  John Levon  <levon@movementarian.org>
4351
4352         * author.h:
4353         * author.C:
4354         * bufferparams.h:
4355         * bufferparams.C:
4356         * paragraph_funcs.C: fix per-buffer authorlists
4357
4358 2003-03-12  John Levon  <levon@movementarian.org>
4359
4360         * text.C: fix newline in right address
4361
4362 2003-03-12  Angus Leeming  <leeming@lyx.org>
4363
4364         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4365         duplicate those in LyXFunc::dispatch.
4366
4367         * commandtags.h:
4368         * LyXAction.C:
4369         * ToolbarDefaults.C:
4370         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4371         Add LFUN_FONTFREE_UPDATE.
4372
4373         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4374         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4375
4376         * bufferview_func.[Ch]: several new functions to facilliate
4377         transfer of data to and from the character dialog.
4378
4379 2003-03-12  John Levon  <levon@movementarian.org>
4380
4381         * buffer.C:
4382         * paragraph.h:
4383         * paragraph.C:
4384         * paragraph_funcs.C:
4385         * paragraph_pimpl.C:
4386         * sgml.C:
4387         * tabular.C:
4388         * text.C:
4389         * text3.C: remove META_NEWLINE in favour of an inset
4390
4391         * rowpainter.h:
4392         * rowpainter.C: remove paintNewline (done by inset)
4393
4394 2003-03-12  John Levon  <levon@movementarian.org>
4395
4396         * paragraph_pimpl.C: complain about bad getChar()s
4397         for a while at least
4398
4399 2003-03-12  John Levon  <levon@movementarian.org>
4400
4401         * buffer.h:
4402         * buffer.C: move paragraph read into a separate function,
4403         a little renaming to reflect that.
4404
4405         * bufferparams.h:
4406         * bufferparams.C: remove the author_ids map, not necessary now
4407
4408         * factory.h:
4409         * factory.C: moved Buffer::readInset to here
4410
4411         * paragraph_funcs.h:
4412         * paragraph_funcs.C: readParagraph free function moved from
4413         buffer.C
4414
4415         * tabular.C: name change
4416
4417 2003-03-12  John Levon  <levon@movementarian.org>
4418
4419         * buffer.C:
4420         * ParagraphParameters.C: move par params input to
4421         a read() method
4422
4423         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4424         behave like a normal read from the stream wrt reading
4425         a line vs. a \\token
4426
4427 2003-03-12  John Levon  <levon@movementarian.org>
4428
4429         * paragraph.C:
4430         * ParagraphParameters.h:
4431         * ParagraphParameters.C: move output code to a
4432         ::write() method
4433
4434 2003-03-12  John Levon  <levon@movementarian.org>
4435
4436         * BufferView.C (insertLyXFile):
4437         * buffer.h:
4438         * buffer.C:
4439         * tabular.C: use a parlist iterator for creating the
4440           document.
4441
4442 2003-03-12  John Levon  <levon@movementarian.org>
4443
4444         * buffer.C: make current_change static local not
4445           static file-scope
4446
4447 2003-03-12  John Levon  <levon@movementarian.org>
4448
4449         * buffer.C: fix insertStringAsLines for change tracking
4450
4451 2003-03-12  John Levon  <levon@movementarian.org>
4452
4453         * BufferView.C:
4454         * tabular.C:
4455         * buffer.h:
4456         * buffer.C:
4457         * bufferparams.h:
4458         * bufferparams.C: move author list into params. Rename some
4459           functions. Move the header reading into a separate token
4460           loop. Move the header token reading into BufferParams.
4461
4462 2003-03-12  John Levon  <levon@movementarian.org>
4463
4464         * changes.C: put debug inside lyxerr.debugging() checks
4465
4466 2003-03-11 André Pönitz <poenitz@gmx.net>
4467
4468         * factory.C: make it aware of InsetHFill
4469
4470 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4471
4472         * buffer.C (latexParagraphs): move function from here...
4473         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4474         args.
4475
4476 2003-03-10  Angus Leeming  <leeming@lyx.org>
4477
4478         * LyXAction.C (init): fix bug in poplating array with multiple entries
4479         with the same LFUN (spotted by JMarc).
4480
4481 2003-03-10  John Levon  <levon@movementarian.org>
4482
4483         * text.C:
4484         * text2.C: move getColumnNearX() near its
4485         only call site
4486
4487 2003-03-10  John Levon  <levon@movementarian.org>
4488
4489         * text.C: fix break before a minipage
4490
4491 2003-03-10  John Levon  <levon@movementarian.org>
4492
4493         * text.C: fix the last commit
4494
4495 2003-03-09  John Levon  <levon@movementarian.org>
4496
4497         * lyxtext.h:
4498         * text.C:
4499         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4500         bug 365 (don't break before insets unless needed). Don't
4501         return a value > last under any circumstances.
4502
4503 2003-03-09  Angus Leeming  <leeming@lyx.org>
4504
4505         * BufferView_pimpl.C (trackChanges, dispatch): call
4506         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4507
4508 2003-03-09  Angus Leeming  <leeming@lyx.org>
4509
4510         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4511         than Dialogs::showAboutlyx().
4512
4513 2003-03-09  Angus Leeming  <leeming@lyx.org>
4514
4515         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4516         than Dialogs::showTabularCreate().
4517
4518 2003-03-09  John Levon  <levon@movementarian.org>
4519
4520         * lyxtext.h:
4521         * text.C:
4522         * text2.C: 3rd arg to nextBreakPoint was always the same.
4523           Use references.
4524
4525 2003-03-08  John Levon  <levon@movementarian.org>
4526
4527         * lyxrow.C:
4528         * paragraph.C:
4529         * paragraph.h:
4530         * rowpainter.C:
4531         * text.C:
4532         * text2.C: Remove the "main" bit from the "main body"
4533           notion.
4534
4535 2003-03-08  John Levon  <levon@movementarian.org>
4536
4537         * text.C (leftMargin): The left margin of an empty
4538         manual label paragraph should not include the label width
4539         string length.
4540
4541         * text.C (prepareToPrint): don't attempt to measure hfills
4542         for empty manual label paragraphs - the answer should be 0
4543
4544 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * CutAndPaste.C: remove commented code and reindent.
4547
4548 2003-03-08  John Levon  <levon@movementarian.org>
4549
4550         * lyxfunc.h:
4551         * lyxfunc.C: move reloadBuffer()
4552
4553         * BufferView.h:
4554         * BufferView.C: to here
4555
4556         * lyxvc.C: add comment
4557
4558         * vc-backend.h:
4559         * vc-backend.C: call bv->reload() to avoid
4560           getStatus() check on MENURELOAD
4561
4562 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4563
4564         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4565         to an old format .dep file.
4566
4567 2003-03-07  Angus Leeming  <leeming@lyx.org>
4568
4569         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4570         when the LFUN_MOUSE_RELEASE should have been handled by
4571         inset->localDispatch.
4572
4573 2003-03-07  Angus Leeming  <leeming@lyx.org>
4574
4575         * BufferView_pimpl.C (dispatch):
4576         * LyXAction.C (init):
4577         * ToolbarDefaults.C (init):
4578         * commandtags.h:
4579         * lyxfunc.C (getStatus):
4580         remove LFUN_INSET_GRAPHICS.
4581
4582         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4583
4584 2003-03-07  Angus Leeming  <leeming@lyx.org>
4585
4586         * commandtags.h:
4587         * LyXAction.C (init):
4588         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4589
4590         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4591
4592         * commandtags.h:
4593         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4594
4595         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4596         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4597
4598 2003-03-07  Angus Leeming  <leeming@lyx.org>
4599
4600         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4601         remove "ert".
4602
4603 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4604
4605         * ParagraphList.C (front): new function
4606         (back): implement
4607
4608 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4611         and top_row_offset_. removed var first_y.
4612         * text.C (top_y):
4613         * text2.C (LyXText, removeRow):
4614         * text3.C:
4615         * BufferView_pimpl.C:
4616         use these methods instead of using first_y
4617
4618 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * text2.C (pasteSelection): adjust for checkPastePossible
4621
4622         * CutAndPaste.C: remove Paragraph * buf and replace with
4623         ParagraphList paragraphs.
4624         (DeleteBuffer): delete
4625         (cutSelection): change the tc type to textclass_type
4626         (copySelection): change the tc type to textclass_type
4627         (copySelection): adjust for ParagraphList
4628         (pasteSelection): change the tc type to textclass_type
4629         (pasteSelection): adjust for Paragraphlist
4630         (nrOfParagraphs): simplify for ParagraphList
4631         (checkPastePossible): simplify for ParagraphList
4632         (checkPastePossible): remove unused arg
4633
4634         * ParagraphList.C (insert): handle the case where there are no
4635         paragraphs yet.
4636
4637         * CutAndPaste.h: make CutAndPaste a namespace.
4638
4639         * text3.C (dispatch): adjust
4640
4641         * text.C (breakParagraph): add a ParagraphList as arg
4642
4643         * paragraph_funcs.C (breakParagraph): change to take a
4644         BufferParams and a ParagraphList as args.
4645         (breakParagraphConservative): ditto
4646         (mergeParagraph): ditto
4647         (TeXDeeper): add a ParagraphList arg
4648         (TeXEnvironment): ditto
4649         (TeXOnePar): ditto
4650
4651         * buffer.C (readLyXformat2): adjust
4652         (insertStringAsLines): adjust
4653         (latexParagraphs): adjust
4654
4655         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4656         (cutSelection): adjust
4657         (pasteSelection): adjust
4658
4659         * BufferView_pimpl.C (insertInset): adjust
4660
4661 2003-03-05  Angus Leeming  <leeming@lyx.org>
4662
4663         * commandtags.h:
4664         * LyXAction.C (init):
4665         * BufferView_pimpl.C (dispatch):
4666         * lyxfunc.C (getStatus):
4667         remove LFUN_CHILD_INSERT.
4668
4669         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4670
4671 2003-03-05  Angus Leeming  <leeming@lyx.org>
4672
4673         * commandtags.h:
4674         * LyXAction.C (init):
4675         * src/factory.C (createInset):
4676         * lyxfunc.C (getStatus):
4677         * text3.C (dispatch):
4678         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4679
4680         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4681
4682 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * ParagraphList.C (insert): handle insert right before end()
4685         (erase): fix cases where it can be first or last paragraph.
4686
4687 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4690         Paragraph::next and Paragraph::previous
4691         (TeXOnePar): ditto
4692
4693         * text.C (breakParagraph): adjust
4694
4695         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4696         BufferParams& as arg.
4697         (breakParagraph): use ParagraphList::insert
4698         (breakParagraphConservative): take a Buffer* instead of a
4699         BufferParams& as arg.
4700         (breakParagraphConservative): use ParagraphList::insert.
4701
4702         * buffer.C (insertStringAsLines): un-const it
4703         (insertStringAsLines): adjust
4704
4705         * ParagraphList.C (insert): new function
4706
4707         * CutAndPaste.C (pasteSelection): adjust
4708
4709         * text.C (backspace): adjust
4710
4711         * tabular.C (SetMultiColumn): adjust
4712
4713         * CutAndPaste.C (cutSelection): adjust
4714         (pasteSelection): adjust
4715
4716         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4717         Buffer const * as arg
4718
4719         * ParagraphList.C (erase): new function
4720         * paragraph_funcs.C (mergeParagraph): use it
4721         (mergeParagraph): make it take a Buffer* instead of a
4722         BufferParams* as arg
4723
4724         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4725         as arg
4726         (breakParagraphConservative): ditto
4727
4728         * paragraph.h: remove the breakParagraph friend
4729
4730         * paragraph.C (eraseIntern): new function
4731         (setChange): new function
4732
4733         * paragraph_funcs.C (mergeParagraph): make it take a
4734         ParagraphList::iterator instead of a Paragraph *, adjust
4735         accordingly.
4736
4737         * paragraph.h: move an #endif so that the change tracking stuff
4738         also works in the NO_NEXT case.
4739
4740 2003-03-04  Angus Leeming  <leeming@lyx.org>
4741
4742         * commandtags.h:
4743         * LyXAction.C: new LFUN_INSET_MODIFY.
4744
4745         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4746         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4747
4748 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * several files: ws changes only
4751
4752         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4753         (TeXEnvironment): ditto
4754         (TeXDeeper): ditto
4755
4756         * buffer.C (makeLaTeXFile): adjust
4757         (latexParagraphs): make it take ParagraphList::iterator as args
4758
4759 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * buffer.C (latexParagraphs): adjust
4762
4763         * paragraph.C (TeXOnePar): move function...
4764         (optArgInset): move function...
4765         (TeXEnvironment): move function...
4766         * paragraph_pimpl.C (TeXDeeper): move function...
4767         * paragraph_funcs.C: ...here
4768
4769         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4770
4771 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * buffer.C (readInset): remove compability code for old Figure and
4774         InsetInfo insets
4775
4776 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * buffer.C: ws changes
4779         (readInset):
4780
4781         * BufferView_pimpl.C: ditto
4782         * author.C: ditto
4783         * buffer.h: ditto
4784         * bufferlist.h: ditto
4785         * changes.h: ditto
4786         * lyxfunc.C: ditto
4787
4788 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4789
4790         * converter.[Ch]: split into itself +
4791         * graph.[Ch]
4792         * format.[Ch]
4793         * Makefile.am: += graph.[Ch] + format.[Ch]
4794         * MenuBackend.C
4795         * buffer.C
4796         * exporter.C
4797         * importer.C
4798         * lyx_main.C
4799         * lyxfunc.C
4800         * lyxrc.C: added #include "format.h"
4801
4802 2003-02-27  Angus Leeming  <leeming@lyx.org>
4803
4804         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4805           a label.
4806
4807         * factory.C (createInset): add "label" to the factory.
4808
4809         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4810           string and do no more.
4811
4812 2003-02-27  Angus Leeming  <leeming@lyx.org>
4813
4814         * commandtags.h:
4815         * LyXAction.C (init):
4816         * factory.C (createInset):
4817         * BufferView_pimpl.C (dispatch):
4818           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4819
4820         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4821
4822         * lyxfunc.C (dispatch):
4823         * text3.C (dispatch): pass name to params2string.
4824
4825 2003-02-26  Angus Leeming  <leeming@lyx.org>
4826
4827         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4828           blocks together.
4829           Rearrange the ~includes. Strip out the unnecessary ones.
4830
4831         * factory.C (createInset): reformat.
4832           create new insets for the various LFUN_XYZ_APPLY lfuns.
4833
4834 2003-02-26  John Levon  <levon@movementarian.org>
4835
4836         * lyxrow.h:
4837         * lyxrow.C: add isParStart,isParEnd helpers
4838
4839         * paragraph.h: make isInserted/DeletedText take refs
4840
4841         * paragraph_funcs.h:
4842         * paragraph_funcs.C: remove #if 0'd code
4843
4844         * lyxtext.h:
4845         * text3.C:
4846         * text2.C:
4847         * text.C: use lyxrow helpers above.
4848           Move draw and paint routines to RowPainter.
4849           Make several methods use refs not pointers.
4850           Make backgroundColor() const.
4851           Add markChangeInDraw(), isInInset().
4852           Merge changeRegionCase into changeCase.
4853           Make workWidth() shouldn't-happen code into an Assert.
4854
4855         * rowpainter.h:
4856         * rowpainter.C: new class for painting a row.
4857
4858         * vspace.h:
4859         * vspace.C: make inPixels take a ref
4860
4861 2003-02-26  Angus Leeming  <leeming@lyx.org>
4862
4863         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4864         LFUN_REF_APPLY.
4865
4866 2003-02-25  John Levon  <levon@movementarian.org>
4867
4868         * ispell.C: give the forked command a more accurate name
4869
4870 2003-02-22  John Levon  <levon@movementarian.org>
4871
4872         * toc.h:
4873         * toc.C: make TocItem store an id not a Paragraph *
4874           (bug #913)
4875
4876 2003-02-21  Angus Leeming  <leeming@lyx.org>
4877
4878         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4879           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4880           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4881           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4882           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4883           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4884
4885         * BufferView_pimpl.C (dispatch):
4886         * LyXAction.C (init):
4887         * factory.C (createInset):
4888         * lyxfunc.C (getStatus, dispatch):
4889         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4890
4891 2003-02-21  Angus Leeming  <leeming@lyx.org>
4892
4893         * BufferView_pimpl.C (MenuInsertLyXFile):
4894         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4895         * lyxfunc.C (menuNew, open, doImport):
4896           no longer pass a LyXView & to fileDlg.
4897
4898 2003-02-21  Angus Leeming  <leeming@lyx.org>
4899
4900         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4901         * LyXAction.C: change, BIBKEY to BIBITEM.
4902         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4903         Change InsetBibKey to InsetBibitem.
4904         Change BIBKEY_CODE to BIBITEM_CODE.
4905         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4906         * factory.C: replace insetbib.h with insetbibitem.h.
4907         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4908         * paragraph.C: replace insetbib.h with insetbibitem.h.
4909         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4910         Change bibkey() to bibitem().
4911         * text.C: remove insetbib.h.
4912         * text2.C: replace insetbib.h with insetbibitem.h.
4913         change bibkey() to bibitem().
4914         * text3.C: remove insetbib.h.
4915         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4916
4917 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4918
4919         * lyxrc.C (output): enclose user email in quotes (in case there are
4920         several words)
4921
4922 2003-02-18  John Levon  <levon@movementarian.org>
4923
4924         * buffer.h: add std::
4925
4926 2003-02-17  John Levon  <levon@movementarian.org>
4927
4928         * SpellBase.h:
4929         * ispell.h:
4930         * ispell.C:
4931         * pspell.h:
4932         * pspell.C: reworking. Especially in ispell, a large
4933           number of clean ups and bug fixes.
4934
4935         * lyxfunc.C: fix revert to behave sensibly
4936
4937 2003-02-17 André Pönitz <poenitz@gmx.net>
4938
4939         * LyXAction.C:
4940         * commandtags.h: new LFUN_INSERT_BIBKEY
4941
4942         * layout.h:
4943         * lyxlayout.C:
4944         * buffer.C:
4945         * factory.C:
4946         * text.C:
4947         * text2.C:
4948         * text3.C:
4949         * paragraph.[Ch]:
4950         * paragraph_func.C: remove special bibkey handling
4951
4952 2003-02-17  John Levon  <levon@movementarian.org>
4953
4954         * text.C (Delete): fix case where delete at the end of
4955           the very first paragraph would not merge the pars
4956
4957 2003-02-17  John Levon  <levon@movementarian.org>
4958
4959         * lyxrow.C: fix lastPrintablePos()
4960
4961 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4962
4963         * bufferparams.C (writeLaTeX): add a std:here
4964
4965         * buffer.C: and remove a using directive there
4966
4967 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4968
4969         * buffer.C (makeLaTeXFile): move the code that generates the
4970           preamble...
4971
4972         * bufferparams.C (writeLaTeX): ... in this new method
4973
4974         * LaTeXFeatures.C (getEncodingSet): make const
4975           (getLanguages): make const
4976
4977         * MenuBackend.C (binding): returns the binding associated to this
4978           action
4979           (add): sets the status of each item by calling getStatus. Adds
4980           some intelligence.
4981           (read): add support for OptSubMenu
4982           (expand): remove extra separator at the end of expanded menu
4983
4984 2003-02-15  John Levon  <levon@movementarian.org>
4985
4986         * BufferView.C:
4987         * BufferView_pimpl.C:
4988         * bufferlist.h:
4989         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4990           inset code that had no actual effect. Remove unneeded status
4991           code.
4992
4993 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4994
4995         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4996           in preamble
4997
4998 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4999
5000         * text.C (drawLengthMarker): also draw an arrow marker for
5001           symbolic lengths (medskip...)
5002
5003 2003-02-14  John Levon  <levon@movementarian.org>
5004
5005         * tabular.h:
5006         * tabular.C: better method names
5007
5008 2003-02-14  John Levon  <levon@movementarian.org>
5009
5010         * BufferView_pimpl.C:
5011         * bufferlist.C:
5012         * buffer.C:
5013         * converter.C:
5014         * lyx_cb.C:
5015         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5016           it's a more accurate name. Remove some pointless uses.
5017
5018 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5019
5020         * text2.C (LyXText): change order of initilizers to shut off
5021           warnings
5022
5023 2003-02-14  John Levon  <levon@movementarian.org>
5024
5025         * buffer.C: use ParIterator for getParFromID()
5026
5027         * paragraph.h:
5028         * paragraph.C:
5029         * paragraph_pimpl.h:
5030         * paragraph_pimpl.C: remove unused getParFromID()
5031
5032 2003-02-14  John Levon  <levon@movementarian.org>
5033
5034         * buffer.C: remove some very old #if 0'd parse code
5035
5036 2003-02-13  John Levon  <levon@movementarian.org>
5037
5038         * text.h:
5039         * text.C:
5040         * text2.C: move hfillExpansion(), numberOfSeparators(),
5041           rowLast(), rowLastPrintable(), numberofHfills(),
5042           numberOfLabelHfills() ...
5043
5044         * lyxrow.h:
5045         * lyxrow.C: ... to member functions here.
5046
5047         * paragraph.h:
5048         * paragraph.C:
5049         * lyxtext.h:
5050         * text.C: remove LyXText::beginningOfMainBody(), and call
5051           p->beginningOfMainBody() directly. Move the check for
5052           LABEL_MANUAL into the latter.
5053
5054         * text.h:
5055         * text.C:
5056         * text2.C:
5057         * vspace.C:
5058         * BufferView.h:
5059         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5060
5061         * text.h:
5062         * text.C:
5063         * text2.C:
5064         * text3.C:
5065         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5066           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5067
5068 2003-02-13  John Levon  <levon@movementarian.org>
5069
5070         * CutAndPaste.C: remove debug
5071
5072 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5073
5074         * paragraph.C (asString): remove two unused variables
5075
5076         * lyxtextclass.C (readTitleType):
5077           (Read):
5078           (LyXTextClass): handle new members titletype_ and titlename_
5079
5080         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5081
5082 2003-02-09  John Levon  <levon@movementarian.org>
5083
5084         * buffer.h:
5085         * buffer.C: replace hand-coded list with a map for the dep clean
5086
5087 2003-02-08  John Levon  <levon@movementarian.org>
5088
5089         * LaTeX.C: consolidate code into showRunMessage() helper
5090
5091 2003-02-08  John Levon  <levon@movementarian.org>
5092
5093         * lyxfind.C:
5094         * lyxtext.h:
5095         * text2.C:
5096         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5097           and pass the size in explicitly
5098
5099         * BufferView_pimpl.h:
5100         * BufferView_pimpl.C:
5101         * BufferView.h:
5102         * BufferView.C: add getCurrentChange()
5103
5104         * BufferView_pimpl.h:
5105         * BufferView_pimpl.C: handle change lfuns
5106
5107         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5108           for changes. Mark pasted paragraphs as new.
5109
5110         * support/lyxtime.h:
5111         * support/lyxtime.C:
5112         * DepTable.C: abstract time_t as lyx::time_type
5113
5114         * LColor.h:
5115         * LColor.C: add colours for new text, deleted text, changebars
5116
5117         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5118           package use "usenames" option.
5119
5120         * commandtags.h:
5121         * lyxfunc.C:
5122         * LyXAction.C: add change lfuns
5123
5124         * Makefile.am:
5125         * author.h:
5126         * author.C: author handling
5127
5128         * buffer.h:
5129         * buffer.C: add a per-buffer author list, with first entry as
5130           current author. Handle new .lyx tokens for change tracking. Output
5131           author list to .lyx file. Output dvipost stuff to .tex preamble.
5132           Bump lyx format to 222.
5133
5134         * bufferlist.h:
5135         * bufferlist.C: add setCurrentAuthor() to reset current author details
5136           in all buffers.
5137
5138         * bufferparams.h:
5139         * bufferparams.C: add param for tracking
5140
5141         * bufferview_funcs.C: output change info in minibuffer
5142
5143         * Makefile.am:
5144         * changes.h:
5145         * changes.C: add change-tracking structure
5146
5147         * debug.h:
5148         * debug.C: add CHANGES debug flag
5149
5150         * lyxfind.h:
5151         * lyxfind.C: add code for finding the next change piece
5152
5153         * lyxrc.h:
5154         * lyxrc.C: add user_name and user_email
5155
5156         * lyxrow.h:
5157         * lyxrow.C: add a metric for the top of the text line
5158
5159         * lyxtext.h:
5160         * text.C: implement accept/rejectChange()
5161
5162         * lyxtext.h:
5163         * text.C: paint changebars. Paint new/deleted text in the chosen
5164         colours. Strike through deleted text.
5165
5166         * paragraph.h:
5167         * paragraph.C:
5168         * paragraph_pimpl.h:
5169         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5170           in the current change to the insert functions. Rework erase to
5171           mark text as deleted, adding an eraseIntern() and a range-based
5172           erase(). Implement per-paragraph change lookup and
5173           accept/reject.
5174
5175         * paragraph_funcs.C: Fixup paste for change tracking.
5176
5177         * tabular.C: mark added row/columns as new.
5178
5179         * text.C: fix rowLast() to never return -1. Don't allow
5180           spellchecking of deleted text. Track transpose changes. Don't
5181           allow paragraph break or merge where appropriate.
5182
5183         * text2.C: leave cursor at end of selection after a cut.
5184
5185 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5186
5187         * text.C (getLengthMarkerHeight):
5188         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5189         visible on screen too.
5190
5191 2003-02-07  John Levon  <levon@movementarian.org>
5192
5193         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5194
5195 2003-02-05  Angus Leeming  <leeming@lyx.org>
5196
5197         * lyxserver.C (read_ready): revert my patch of 11 September last year
5198         as it sends PC cpu through the roof. Presumably this means that
5199         the lyxserver will no longer run on an Alpha...
5200
5201 2003-01-30  Angus Leeming  <leeming@lyx.org>
5202
5203         * factory.C (createInset): create an InsetCommandParam of type "index"
5204         and use it to 'do the right thing'.
5205
5206         * text2.C (getStringToIndex): ensure that cursor position is always
5207         reset to the reset_cursor position.
5208
5209 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5210
5211         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5212         disabled.
5213
5214 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5215
5216         * bufferview.C:
5217         * lyxcb.C:
5218         * lyxfunc.C: Output messages with identical spelling, punctuation,
5219         and spaces
5220
5221 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5222
5223         * MenuBackend.C (expandFormats): List only viewable export formats
5224         in "View" menu
5225
5226         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5227         message
5228
5229         * lyxfunc.C (getStatus): Make sure that formats other than
5230         "fax" can also be disabled
5231
5232 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5233
5234         * text3.C (dispatch): put the lfuns that insert insets in 3
5235         groups, and call doInsertInset with appropriate arguments.
5236         (doInsertInset): new function, that creates an inset and inserts
5237         it according to some boolean parameters.
5238
5239 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * buffer.C (readFile): remember to pass on 'par' when calling
5242         readFile recursively.
5243
5244 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5245
5246         * MenuBackend.C (expandFormats): add "..." to import formats.
5247
5248 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5249
5250         * paragraph.C (asString): Remove XForms RTL hacks.
5251
5252 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5253         * buffer.C: fix typo
5254
5255 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5256
5257         * Makefile.am (LIBS): delete var
5258         (lyx_LDADD): add @LIBS@ here instead.
5259
5260 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5261
5262         * Clarify the meaning of "wheel mouse jump"
5263
5264 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5265
5266         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5267         tabular in a float
5268
5269 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5270
5271         * importer.C (Loaders): do not preallocate 3 elements in the
5272         vector, since one ends up with 6 elements otherwise
5273
5274 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5275
5276         * DepTable.C (write): write the file name as last element of the
5277         .dep file (because it may contain spaces)
5278         (read): read info in the right order
5279
5280 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5281
5282         * paragraph_pimpl.C (simpleTeXBlanks):
5283         (simpleTeXSpecialChars):
5284         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5285
5286         * tabular.C (latex): add some missing case statements. Reindent.
5287
5288         * MenuBackend.C (expandToc): remove unused variable.
5289
5290 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5291
5292         * LColor.C:
5293         * LaTeX.C:
5294         * LyXAction.C:
5295         * MenuBackend.C:
5296         * buffer.C:
5297         * exporter.C:
5298         * lyxfunc.C:
5299         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5300         and the like.
5301
5302 2003-01-05  John Levon  <levon@movementarian.org>
5303
5304         * BufferView.h:
5305         * BufferView.C: add getEncoding()
5306
5307         * kbsequence.h:
5308         * kbsequence.C: do not store last keypress
5309
5310         * lyxfunc.h:
5311         * lyxfunc.C: store last keypress here instead. Pass encoding
5312           to getISOEncoded()
5313
5314 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5315
5316         * lyx_main.C (init): remove annoying error message when following
5317         symbolic links (bug #780)
5318
5319 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5320
5321         * text.C (insertChar):
5322         * lyxrc.C (getDescription): remove extra spaces
5323
5324 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5325
5326         * lyxrc.C (getDescription): remove extra spaces
5327
5328 2002-12-20  John Levon  <levon@movementarian.org>
5329
5330         * text3.C: hack fix for page up/down across tall rows
5331
5332 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5333
5334         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5335         not been invoked
5336
5337 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5338
5339         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5340         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5341         thesaurus is not compiled in
5342
5343 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5344
5345         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5346
5347 2002-12-16  Angus Leeming  <leeming@lyx.org>
5348
5349         * lyxrc.[Ch]:
5350         * lyx_main.C (init): remove override_x_deadkeys stuff.
5351
5352 2002-12-12  John Levon  <levon@movementarian.org>
5353
5354         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5355           insert. Only remove shift modifier under strict
5356           circumstances.
5357
5358 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * MenuBackend.C (expandToc): fix crash.
5361
5362 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * MenuBackend.C (expandToc): gettext on float names.
5365
5366 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5367
5368         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5369         implement bool empty() [bug 490]
5370
5371 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5372
5373         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5374
5375 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * several files: ws changes
5378
5379 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * text2.C (setCounter): clean up a bit, use boost.format.
5382         (updateCounters): initialize par upon declaration.
5383
5384         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5385         if the layout exists. We do not just store the layout any more.
5386         (SwitchLayoutsBetweenClasses): use boost.format
5387
5388 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5389
5390         * converter.C (convert): if from and to files are the same, use a
5391         temporary files as intermediary
5392
5393 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5394
5395         * commandtags.h:
5396         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5397
5398 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5399
5400         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5401
5402 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * tabular.C (asciiPrintCell): use string(size, char) instead of
5405         explicit loop.
5406
5407         * sgml.C (openTag): fix order of arguments to string constructor
5408         (closeTag): ditto
5409
5410         * lyxfunc.C (dispatch): use boost.format
5411
5412         * lots of files: change "c" -> 'c'
5413
5414 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5415
5416         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5417
5418 2002-11-25  Angus Leeming  <leeming@lyx.org>
5419
5420         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5421
5422         * lyx_main.C (init): compile fix.
5423
5424 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * lyx_cb.C (start): boost.formatify
5427         do not include <iostream>
5428
5429         * lengthcommon.C: ws only
5430
5431         * boost-inst.C,BoostFormat.h: add more explict instantations
5432
5433 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * lots of files: handle USE_BOOST_FORMAT
5436
5437 2002-11-21  John Levon  <levon@movementarian.org>
5438
5439         * pspell.C: fix compile
5440
5441 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5442
5443         * lyxfunc.C (dispatch): use boost::format
5444         (open): ditto
5445         (doImport): ditto
5446
5447         * lyxfont.C (stateText): use boost::format
5448
5449         * lyx_main.C (LyX): use boost::format
5450         (init): ditto
5451         (queryUserLyXDir): ditto
5452         (readRcFile): ditto
5453         (parse_dbg): ditto
5454         (typedef boost::function): use the recommened syntax.
5455
5456         * importer.C (Import): use boost::format
5457
5458         * debug.C (showLevel): use boost::format
5459
5460         * converter.C (view): use boost::format
5461         (convert): ditto
5462         (move): ditto
5463         (scanLog): ditto
5464
5465         * bufferview_funcs.C (currentState): use boost::format
5466
5467         * bufferlist.C (emergencyWrite): use boost::format
5468
5469         * buffer.C (readLyXformat2): use boost::format
5470         (parseSingleLyXformat2Token): ditto
5471
5472         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5473
5474         * LaTeX.C (run): use boost::format
5475
5476         * Chktex.C (scanLogFile): use boost::format
5477
5478         * BufferView_pimpl.C (savePosition): use boost::format
5479         (restorePosition): ditto
5480         (MenuInsertLyXFile): ditto
5481
5482         * BoostFormat.h: help file for explicit instation.
5483
5484 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5485
5486         * tabular.C (latex): Support for block alignment in fixed width
5487         columns.
5488
5489 2002-11-17  John Levon  <levon@movementarian.org>
5490
5491         * BufferView_pimpl.C:
5492         * lyx_cb.C:
5493         * lyxfunc.C: split filedialog into open/save
5494
5495 2002-11-08  Juergen Vigna  <jug@sad.it>
5496
5497         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5498         by my last patch (hopefully).
5499
5500 2002-11-08  John Levon  <levon@movementarian.org>
5501
5502         * iterators.h:
5503         * iterators.C:
5504         * buffer.h:
5505         * buffer.C:
5506         * paragraph.h:
5507         * paragraph.C:
5508         * toc.h:
5509         * toc.C: ParConstIterator, and use it (from Lars)
5510
5511 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5512
5513         * lyxtextclass.[Ch]: revise and add doxygen comments
5514
5515 2002-11-07  John Levon  <levon@movementarian.org>
5516
5517         * text.C: fix progress value for spellchecker
5518
5519         * toc.C: fix navigate menu for insetwrap inside minipage
5520
5521         * paragraph_funcs.C: added FIXME for suspect code
5522
5523 2002-11-07  John Levon  <levon@movementarian.org>
5524
5525         * BufferView_pimpl.C: fix redrawing of insets
5526           on buffer switch
5527
5528 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5529
5530         * text2.C (updateCounters): fix bug 668
5531
5532 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5533
5534         * text3.C (dispatch): Do not make the buffer dirty when moving the
5535         cursor.
5536
5537 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * vc-backend.C: STRCONV
5540         (scanMaster): ditto
5541
5542         * text2.C (setCounter): STRCONV
5543
5544         * paragraph.C (asString): STRCONV
5545
5546         * lyxlength.C (asString): STRCONV
5547         (asLatexString): ditto
5548
5549         * lyxgluelength.C (asString): STRCONV
5550         (asLatexString): ditto
5551
5552         * lyxfunc.C (dispatch): STRCONV
5553         (open): ditto
5554
5555         * lyxfont.C (stateText): STRCONV
5556
5557         * importer.C (Import): STRCONV
5558
5559         * counters.C (labelItem): STRCONV
5560         (numberLabel): ditto
5561         (numberLabel): remove unused ostringstream o
5562
5563         * chset.C: STRCONV
5564         (loadFile): ditto
5565
5566         * bufferview_funcs.C (currentState): STRCONV
5567
5568         * buffer.C (readFile): STRCONV
5569         (asciiParagraph): ditto
5570         (makeLaTeXFile): ditto
5571
5572         * Spacing.C (writeEnvirBegin): STRCONV
5573
5574         * LaTeXFeatures.C (getLanguages): STRCONV
5575         (getPackages): ditto
5576         (getMacros): ditto
5577         (getBabelOptions): ditto
5578         (getTClassPreamble): ditto
5579         (getLyXSGMLEntities): ditto
5580         (getIncludedFiles): ditto
5581
5582         * LaTeX.C: STRCONV
5583         (run): ditto
5584         (scanAuxFile): ditto
5585         (deplog): ditto
5586
5587         * LString.h: add the STRCONV macros
5588
5589         * BufferView_pimpl.C (savePosition): STRCONV
5590         (restorePosition): ditto
5591         (MenuInsertLyXFile): ditto
5592
5593         * vc-backend.C (scanMaster): change from submatch[...] to
5594         submatch.str(...)
5595
5596         * funcrequest.C: include config.h
5597
5598         * factory.C: include config.h
5599
5600         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5601
5602         * box.C: include config.h
5603
5604         * LaTeX.C (scanAuxFile): change from submatch[...] to
5605         submatch.str(...)
5606         (deplog): ditto
5607
5608 2002-10-25  Angus Leeming  <leeming@lyx.org>
5609
5610         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5611
5612         * ispell.[Ch] (setError): new method.
5613         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5614         Use setError() insetead of goto END.
5615
5616         * lyx_cb.C (AutoSave): move out child process into new class
5617         AutoSaveBuffer.
5618
5619 2002-10-30  John Levon  <levon@movementarian.org>
5620
5621         * text3.C: make start appendix undoable
5622
5623 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5624
5625         * lyxlength.C (inPixels): Fix returned value.
5626
5627         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5628         environment.
5629
5630 2002-10-24  Angus Leeming  <leeming@lyx.org>
5631
5632         * lyxgluelength.h: no need to forward declare BufferParams
5633         or BufferView, so don't.
5634
5635 2002-10-21  John Levon  <levon@movementarian.org>
5636
5637         * BufferView.C: menuUndo ->undo, redo
5638
5639         * BufferView.h: document, remove dead, make some methods private
5640
5641         * paragraph_funcs.h:
5642         * paragraph_funcs.C:
5643         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5644
5645         * buffer.h:
5646         * buffer.C:
5647         * sgml.h:
5648         * sgml.C: move sgml open/close tag into sgml.C
5649
5650         * bufferview_funcs.h: unused prototype
5651
5652         * lyxfunc.h:
5653         * lyxfunc.C: remove unused
5654
5655         * lyxtext.h:
5656         * text.C: remove unused
5657
5658 2002-10-21  John Levon  <levon@movementarian.org>
5659
5660         * BufferView.h:
5661         * BufferView.C:
5662         * BufferView_pimpl.h:
5663         * BufferView_pimpl.C: fix mouse wheel handling based on
5664           patch from Darren Freeman
5665
5666 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5667
5668         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5669
5670 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5671
5672         * lyxlength.C (inPixels): Fix hanfling of negative length.
5673         Fix LyXLength::MU case.
5674
5675 2002-10-16  John Levon  <levon@movementarian.org>
5676
5677         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5678
5679 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5680
5681         * converter.C (view): add support for $$i (file name) and $$p
5682         (file path) for the viewer command. If $$i is not specified, then
5683         it is appended to the command (for compatibility with old syntax)
5684
5685 2002-10-14  Juergen Vigna  <jug@sad.it>
5686
5687         * undo_funcs.C (textHandleUndo): alter the order in which the
5688         new undopar is added to the LyXText, as we have to set first
5689         the right prev/next and then add it as otherwise the rebuild of
5690         LyXText is not correct. Also reset the cursor to the right paragraph,
5691         with this IMO we could remove the hack in "redoParagraphs()".
5692
5693 2002-10-09  Angus Leeming  <leeming@lyx.org>
5694
5695         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5696         to turn off an optimisation if a new inset is to be inserted.
5697
5698 2002-10-11 André Pönitz <poenitz@gmx.net>
5699
5700         * lyxtext.h: make some functions public to allow access
5701         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5702
5703 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5704
5705         * text3.C (dispatch): when changing layout, avoid an infinite loop
5706         [bug #652]
5707
5708 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5709
5710         * lyxrc.C (read): treat a viewer or converter command of "none" as
5711         if it were empty.
5712
5713         * MenuBackend.C (expandFormats): for an update, also allow the
5714         formats that are not viewable
5715
5716         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5717         script if it is newer than the lyxrc.defaults in user directory
5718
5719 2002-10-07 André Pönitz <poenitz@gmx.net>
5720
5721         * text.C: Vitaly Lipatov's small i18n fix
5722
5723 2002-09-25  Angus Leeming  <leeming@lyx.org>
5724
5725         * ispell.h: doxygen fix.
5726
5727 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5728
5729         * buffer.h (readFile): Add a new argument to the method, to allow
5730         reading of old-format templates.
5731
5732 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5733
5734         * toc.C (getTocList): Get TOC from InsetWrap.
5735
5736 2002-09-16  John Levon  <levon@movementarian.org>
5737
5738         * lyxfunc.C: check tabular for cut/copy too
5739
5740 2002-09-12  John Levon  <levon@movementarian.org>
5741
5742         * LyXAction.C: tidy
5743
5744         * factory.h:
5745         * factory.C: add header
5746
5747         * paragraph_funcs.h:
5748         * paragraph_funcs.C: cleanup
5749
5750 2002-09-11  John Levon  <levon@movementarian.org>
5751
5752         * PrinterParams.h: odd/even default to true
5753
5754 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5755
5756         * PrinterParams.h: update printer parameters for new xforms dialog
5757
5758 2002-09-11  Angus Leeming  <leeming@lyx.org>
5759
5760         * lyxserver.C (read_ready): re-write to make it more transparent
5761         and to make it work in coherent fashion under Tru64 Unix.
5762
5763 2002-09-11  André Pönitz <poenitz@gmx.net>
5764
5765         * commandtags.h:
5766         * LyXAction.C:
5767         * text3.C: implement LFUN_WORDSEL
5768
5769 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5772         make floatlist_ a boost::shared_ptr<FloatList>
5773
5774         * lyxtextclass.C: include FloatList.h
5775         (LyXTextClass): initialize floatlist_
5776         (TextClassTags): add TC_NOFLOAT
5777         (Read): match "nofloat" to TC_NOFLOAT and use it.
5778         (readFloat): modify call to floatlist_
5779         (floats): ditto
5780         (floats): ditto
5781
5782         * FloatList.[Ch] (FloatList): remove commented out float
5783         initialization.
5784         (erase): new function
5785
5786 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5787
5788         * MenuBackend.C (expandToc): fix crash when there is no document
5789         open
5790
5791 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5792
5793         * many files: Add insetwrap.
5794
5795 2002-09-09  John Levon  <levon@movementarian.org>
5796
5797         * text2.C: remove confusing and awkward depth wraparound
5798
5799 2002-09-09  John Levon  <levon@movementarian.org>
5800
5801         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5802
5803         * buffer.h:
5804         * buffer.C: remove getIncludeonlyList()
5805
5806         * paragraph.C:
5807         * lyxfunc.C: remove headers
5808
5809 2002-09-09  Juergen Vigna  <jug@sad.it>
5810
5811         * text.C (getColumnNearX): fix form Michael this is most
5812         probably a cut&paste bug.
5813
5814 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5817
5818         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5819         references, ws changes.
5820
5821         * text2.C (init): update counters after init
5822         (insertParagraph): no need to set counter on idividual paragraphs.
5823         (setCounter): access the counters object in the textclass object
5824         on in the buffer object.
5825         (updateCounters): ditto
5826
5827         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5828         shared_ptr<Counters> to avoid loading counters.h in all
5829         compilation units.
5830         (LyXTextClass): initialize ctrs_
5831         (TextClassTags): add TC_COUNTER, and ...
5832         (Read): use it here.
5833         (CounterTags): new tags
5834         (readCounter): new function
5835         (counters): new funtion
5836         (defaultLayoutName): return a const reference
5837
5838         * counters.C (Counters): remove contructor
5839         (newCounter): remove a couple of unneeded statements.
5840         (newCounter): simplify a bit.
5841         (numberLabel): some small formatting changes.
5842
5843         * buffer.[Ch]: remove all traces of counters, move the Counters
5844         object to the LyXTextClass.
5845
5846 2002-09-06  Alain Castera  <castera@in2p3.fr>
5847
5848         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5849         package to set the horizontal alignment on fixed width columns.
5850
5851         * lyx_sty.C:
5852         * lyx_sty.h: added tabularnewline macro def.
5853
5854         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5855
5856 2002-09-06  John Levon  <levon@movementarian.org>
5857
5858         * LyXAction.C: tooltips for sub/superscript
5859
5860         * MenuBackend.C: a bit more verbose
5861
5862         * lyxfunc.C: tiny clean
5863
5864         * undo_funcs.C: document undo_frozen
5865
5866 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * counters.C (Counters): add missing algorithm counter.
5869
5870         * text2.C (setCounter): lookup the counter with layouts latexname
5871         instead of by section number.
5872         (setCounter): use a hackish way to lookup the correct enum
5873         counter.
5874         a float name->type change
5875         reset enum couners with counter name directly instead of depth value.
5876
5877         * counters.C (Counters): remove the push_backs, change to use the
5878         float type not the float name.
5879         (labelItem): remove unused string, float name->type change
5880
5881         * counters.h: don't include vector, loose the enums and sects vectors
5882
5883 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5884
5885         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5886         (Read): add float->TC_FLOAT to textclassTags
5887         (Read): and handle it in the switch
5888         (readFloat): new function
5889
5890         * FloatList.C (FloatList): comment out the hardcoded float
5891         definitions.
5892
5893         * lyxlayout.h: ws change.
5894
5895 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5896
5897         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5898
5899 2002-09-03  Angus Leeming  <leeming@lyx.org>
5900
5901         * BufferView_pimpl.h: qualified name is not allowed in member
5902         declaration: WorkArea & Pimpl::workarea() const;
5903
5904         * factory.C: added using std::endl directive.
5905
5906         * text3.C: added using std::find and std::vector directives.
5907
5908 2002-08-29  André Pönitz <poenitz@gmx.net>
5909
5910         * lyxtext.h:
5911         * text2.C: remove unused member number_of_rows
5912
5913         * Makefile.am:
5914         * BufferView2.C: remove file, move contents to...
5915         * BufferView.C: ... here
5916
5917         * BufferView_pimpl.C:
5918         * factory.C: move more inset creation to factory
5919
5920         * vspace.C: avoid direct usage of LyXText, ws changes
5921
5922         * BufferView.[Ch]:
5923                 don't provide direct access to WorkArea, use two simple
5924                 acessors haveSelction() and workHeight() instead
5925
5926
5927 2002-08-29  John Levon  <levon@movementarian.org>
5928
5929         * BufferView_pimpl.C (dispatch): do not continue when
5930           no buffer
5931
5932 2002-08-28  André Pönitz <poenitz@gmx.net>
5933
5934         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5935
5936         * BufferView.h:
5937         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5938
5939 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5940
5941         * buffer.C: increment LYX_FORMAT to 221
5942
5943         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5944         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5945
5946         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5947
5948         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5949
5950 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5951
5952         * factory.C (createInset): use LyXTextClass::floats
5953
5954         * MenuBackend.C (expandFloatListInsert):
5955         (expandFloatInsert):
5956         (expandToc):
5957
5958         * text2.C (setCounter):
5959
5960         * LaTeXFeatures.C (useFloat):
5961         (getFloatDefinitions):
5962
5963         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5964
5965         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5966         floatlist_, with accessor floats().
5967
5968         * FloatList.h: remove global FloatList
5969
5970 2002-08-26  André Pönitz <poenitz@gmx.net>
5971
5972         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5973
5974         * BufferView.h:
5975         * BufferView2.C:
5976         * BufferView_pimpl.C:
5977         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5978
5979 2002-08-25  John Levon  <levon@movementarian.org>
5980
5981         * LyXAction.C: fix margin note description
5982
5983 2002-08-24  John Levon  <levon@movementarian.org>
5984
5985         * buffer.C:
5986         * bufferlist.C:
5987         * bufferview_funcs.C:
5988         * lyxfont.C:
5989         * undo_funcs.C: cleanups
5990
5991         * lyxfunc.C: disable CUT/COPY when no selection
5992
5993 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5994
5995         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5996         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5997
5998         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5999         Add backward compatibility to "mono", "gray" and "no".
6000
6001 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6002
6003         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6004         (and file_format >= 200).
6005
6006 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6007
6008         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6009
6010 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6011
6012         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6013
6014 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6015
6016         * BufferView_pimpl.C:
6017         * LyXAction.C:
6018         * buffer.C:
6019         * commandtags.h:
6020         * lyxfunc.C:
6021         * paragraph.[Ch]:
6022         * text2.C:
6023         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6024         inset and code to make it  work with the paragraph code. The inset
6025         can be anywhere in the paragraph, but will only do the expected
6026         thing in LaTeX if the layout file contains the parameter line
6027                         OptionalArgs    1
6028         (or more generally, a nonzero value) for that layout.
6029
6030 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * paragraph.h: remove the declaration of undefined counters class
6033         function.
6034
6035 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6036
6037         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6038         Dr. Richard Hawkins.
6039
6040 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6041
6042         * paragraph_funcs.h: remove some unneeded includes
6043
6044         * text.C (backspace): pasteParagraph now in global scipe
6045
6046         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6047         (pasteSelection): ditto
6048
6049         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6050         * paragraph_funcs.C (pasteParagraph): ... here
6051
6052 2002-08-20  André Pönitz <poenitz@gmx.net>
6053
6054         * commandtags.h: new LFUNs for swapping/copying table row/colums
6055
6056         * LyXAction.C:
6057         * lyxfunc.C: support for new lfuns
6058
6059 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * tabular.C:
6062         * buffer.[Ch]: remove NO_COMPABILITY stuff
6063
6064 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * boost.C (throw_exception): new file, with helper function for
6067         boost compiled without exceptions.
6068
6069         * paragraph.h:
6070         * lyxlength.C:
6071         * buffer.C:
6072         * ParameterStruct.h:
6073         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6074
6075         * bufferlist.C (emergencyWriteAll): use boost bind
6076
6077         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6078
6079         * text.C: include paragraph_funcs.h
6080         (breakParagraph): breakParagraph is now in global scope
6081
6082         * paragraph_funcs.[Ch]: new files
6083
6084         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6085         global scope
6086
6087         * buffer.C: include paragraph_funcs.h
6088         (insertStringAsLines): breakParagraph is now in global scope
6089
6090         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6091         paragraph_funcs.C
6092
6093         * CutAndPaste.C: include paragraph_funcs.h
6094         (cutSelection): breakParagraphConservative is now in global scope
6095         (pasteSelection): ditto
6096
6097         * buffer.h: declare oprator== and operator!= for
6098         Buffer::inset_iterator
6099
6100         * bufferlist.C (emergencyWrite): don't use fmt(...)
6101
6102         * text3.C: add using std::endl
6103
6104         * BufferView.C (moveCursorUpdate): remove default arg
6105
6106 2002-08-20  André Pönitz <poenitz@gmx.net>
6107
6108         * buffer.[Ch]: move inline functions to .C
6109
6110         * BufferView2.C:
6111         * BufferView_pimpl.C:
6112         * text.C:
6113         * buffer.[Ch]: use improved inset_iterator
6114
6115         * buffer.C:
6116         * paragraph.[Ch]: write one paragraph at a time
6117
6118 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6119
6120         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6121         style if style is not specified.
6122
6123 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6124
6125         * text2.C (setCounter): when searching for right label for a
6126         caption, make sure to recurse to parent insets (so that a caption
6127         in a minipage in a figure float works) (bug #568)
6128
6129 2002-08-20  André Pönitz <poenitz@gmx.net>
6130
6131         * text3.C: new file for LyXText::dispatch() and helpers
6132
6133         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6134
6135         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6136
6137 2002-08-19  André Pönitz <poenitz@gmx.net>
6138
6139         * lyxtext.h:
6140         * text.C: new LyXText::dispatch()
6141
6142         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6143
6144 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6145
6146         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6147
6148         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6149         Hebrew text.
6150
6151 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6152
6153         * Makefile.am: use $(variables) instead of @substitutions@
6154
6155 2002-08-15  André Pönitz <poenitz@gmx.net>
6156
6157         * lyxfunc.C:
6158         * BufferView_pimpl.C: streamlining mathed <-> outer world
6159         interaction
6160
6161         * commandtags.h:
6162         * LyXAction.C: remove unused LFUN_MATH
6163
6164 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6167
6168 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * paragraph.C (Paragraph): reformat a bit
6171         (cutIntoMinibuffer): use builtin InsetList function instad of
6172         doing it manually.
6173         (getInset): ditto
6174
6175         * buffer.C: include boost/bind.hpp, add using std::for_each
6176         (writeFileAscii): use ParagraphList iterators
6177         (validate): use for_each for validate traversal of paragraphs
6178         (getBibkeyList): use ParagraphList iterators
6179         (resizeInsets): use for_each to resizeInsetsLyXText for all
6180         paragraphs.
6181         (getParFromID): use ParagraphList iterators
6182
6183         * BufferView2.C (lockInset): use paragraph list and iterators
6184
6185 2002-08-14  John Levon  <levon@movementarian.org>
6186
6187         * lyxserver.C: remove spurious xforms include
6188
6189 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6190
6191         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6192
6193 2002-08-13  André Pönitz <poenitz@gmx.net>
6194
6195         * LyXAction.[Ch]:
6196         * lyxfunc.C: further cleaning
6197
6198 2002-08-13  André Pönitz <poenitz@gmx.net>
6199
6200         * funcrequest.h: new constructor
6201
6202         * funcrequest.C: move stuff here from .h
6203
6204         * Makefile.am:
6205         * BufferView_pimpl.C:
6206         * LyXAction.C:
6207         * toc.C:
6208         * lyxfunc.C: subsequent changes
6209
6210         * lyxfunc.h: new view() member function
6211
6212         * lyxfunc.C: subsequent changes
6213
6214 2002-08-13  Angus Leeming  <leeming@lyx.org>
6215
6216         * BufferView2.C:
6217         * BufferView_pimpl.C:
6218         * buffer.C:
6219         * converter.C:
6220         * importer.C:
6221         * lyxfunc.C:
6222         * lyxvc.C:
6223         * toc.C:
6224         * vc-backend.C:
6225         changes due to the changed LyXView interface that now returns references
6226         to member variables not pointers.
6227
6228 2002-08-13  Angus Leeming  <leeming@lyx.org>
6229
6230         * WordLangTuple (word, lang_code): return references to strings,
6231         not strings.
6232
6233         * BufferView.h:
6234         * SpellBase.h:
6235         * lyxtext.h: forward-declare WordLangTuple.
6236
6237         * BufferView2.C:
6238         * ispell.C:
6239         * pspell.C:
6240         * text.C: #include "WordLangTuple.h".
6241
6242         * lyxtext.h:
6243         * text.C: (selectNextWordToSpellcheck): constify return type.
6244
6245 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6246
6247         * buffer.C:
6248         * buffer.h:
6249         * lyxtext.h:
6250         * paragraph.C:
6251         * paragraph_pimpl.h:
6252         * text.C:
6253         * text2.C:
6254         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6255         suggested by Angus.
6256         Made updateCounter always count from start of buffer, and removed
6257         second argument (par).
6258         Reverted floats number display to '#'. Perhaps I'll try again when the
6259         code base is sanitized a bit.
6260
6261 2002-08-12  Angus Leeming  <leeming@lyx.org>
6262
6263         * buffer.[Ch] (getLabelList): constify.
6264
6265 2002-08-07  André Pönitz <poenitz@gmx.net>
6266
6267         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6268
6269         * funcrequest.h: extension to keep mouse (x,y) position
6270
6271 2002-08-12  Juergen Vigna  <jug@sad.it>
6272
6273         * BufferView2.C (insertErrors): forbid undo when inserting error
6274         insets.
6275
6276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6277
6278 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * ParagraphList.[Ch]: new files
6281
6282         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6283
6284         * BufferView2.C (lockInset): ParagraphList changes
6285         * toc.C: ditto
6286         * text2.C: ditto
6287         * bufferlist.C: ditto
6288         * buffer.h: ditto
6289         * buffer.C: ditto
6290
6291 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6294         unused class variable counter_,
6295
6296         * paragraph.[Ch] (getFirstCounter): delete unused function
6297
6298         * counters.C: include LAssert.h
6299         (reset): add a new function with no arg, change other version to
6300         not have def. arg and to not allow empty arg.
6301
6302         * text2.C (setCounter): remove empty arg from call to Counters::reset
6303
6304 2002-08-11  John Levon  <levon@movementarian.org>
6305
6306         * Makefile.am: add WordLangTuple.h
6307
6308 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6311         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6312
6313         * insets/insettext.C: InsetList changes
6314
6315         * graphics/GraphicsSupport.C (operator()): InsetList changes
6316
6317         * toc.C (getTocList): InsetList changes
6318
6319         * paragraph_pimpl.[Ch]: InsetList changes
6320
6321         * paragraph.[Ch]: InsetList changes
6322
6323         * buffer.C (inset_iterator): InsetList changes
6324         (setParagraph): ditto
6325         * buffer.h (inset_iterator): ditto
6326         * iterators.C (operator++): ditto
6327         * iterators.h: ditto
6328
6329         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6330
6331         * InsetList.[Ch]: new files, most InsetList handling moved out of
6332         paragraph.C.
6333
6334         * BufferView2.C (removeAutoInsets): InsetList changes
6335         (lockInset): ditto
6336         (ChangeInsets): ditto
6337
6338 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * paragraph_pimpl.h (empty): new function
6341
6342         * paragraph.[Ch] (empty): new function
6343
6344         * other files: use the new Paragraph::empty function
6345
6346 2002-08-09  John Levon  <levon@movementarian.org>
6347
6348         * lyxtext.h: remove unused refresh_height
6349
6350 2002-08-09  John Levon  <levon@movementarian.org>
6351
6352         * Makefile.am:
6353         * sgml.h:
6354         * sgml.C:
6355         * buffer.C:
6356         * paragraph.h:
6357         * paragraph.C: move sgml char escaping out of paragraph
6358
6359         * paragraph.h:
6360         * paragraph.C: remove id setter
6361
6362         * buffer.C:
6363         * paragraph.C:
6364         * paragraph_pimpl.C: remove dead tex_code_break_column
6365
6366         * bufferview_funcs.C: small cleanup
6367
6368         * lyxfunc.C: remove dead proto
6369
6370         * lyxtext.h: make some stuff private. Remove some dead stuff.
6371
6372         * lyxgluelength.C: make as[LyX]String() readable
6373
6374 2002-08-08  John Levon  <levon@movementarian.org>
6375
6376         * LyXAction.h:
6377         * LyXAction.C:
6378         * MenuBackend.C:
6379         * ToolbarDefaults.C:
6380         * lyxfunc.C:
6381         * lyxrc.C:
6382         * toc.C: lyxaction cleanup
6383
6384 2002-08-08  John Levon  <levon@movementarian.org>
6385
6386         * BufferView2.C: small cleanup
6387
6388         * lyxfind.h:
6389         * lyxfind.C: move unnecessary header into the .C
6390
6391 2002-08-08  John Levon  <levon@movementarian.org>
6392
6393         * funcrequest.h: just tedious nonsense
6394
6395         * lyx_main.h:
6396         * lyx_main.C: cleanups
6397
6398         * buffer.C:
6399         * vspace.C: remove dead header lyx_main.h
6400
6401 2002-08-07  Angus Leeming  <leeming@lyx.org>
6402
6403         * Paragraph.[Ch]:
6404         * paragraph_pimpl.h:
6405         Forward declare class Counters in paragraph.h by moving the ctrs member
6406         variable into Paragraph::Pimpl.
6407         (counters): new method, returning a reference to pimpl_->ctrs.
6408
6409         * text2.C: ensuing changes.
6410
6411 2002-08-07  John Levon  <levon@movementarian.org>
6412
6413         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6414
6415         * BufferView_pimpl.C: announce X selection on double/triple
6416           click
6417
6418         * lyx_main.C: use correct bool in batch dispatch
6419
6420         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6421
6422 2002-08-07  André Pönitz <poenitz@gmx.net>
6423
6424         * funcrequest.h: new class to wrap a kb_action and its argument
6425
6426         * BufferView.[Ch]:
6427         * BufferView_pimpl[Ch]:
6428         * LaTeX.C:
6429         * LyXAction.[Ch]:
6430         * lyxfunc.[Ch]:
6431         * lyxrc.C: subsequent changes
6432
6433
6434 2002-08-07  John Levon  <levon@movementarian.org>
6435
6436         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6437           document options change.
6438
6439 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6440
6441         * counters.[Ch]
6442         * text2.C
6443         * paragraph.[Ch]
6444         * makefile.am: move counters functionality over from
6445         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6446
6447 2002-08-06  John Levon  <levon@movementarian.org>
6448
6449         * WordLangTuple.h: new file for word + language code tuple
6450
6451         * SpellBase.h:
6452         * pspell.h:
6453         * pspell.C:
6454         * ispell.h:
6455         * ispell.C:
6456         * lyxtext.h:
6457         * text.C:
6458         * text2.C:
6459         * BufferView.h:
6460         * BufferView2.C: use WordLangTuple
6461
6462         * layout.h:
6463         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6464
6465 2002-08-06  John Levon  <levon@movementarian.org>
6466
6467         * lyx_main.C: fix cmdline batch handling
6468
6469 2002-08-06  André Pönitz <poenitz@gmx.net>
6470
6471         * lyxrc.C: set default for show_banner to true
6472
6473 2002-08-06  John Levon  <levon@movementarian.org>
6474
6475         * pspell.C: fix a crash, and allow new aspell to work
6476
6477 2002-08-06  John Levon  <levon@movementarian.org>
6478
6479         * lyxfunc.C:
6480         * kbmap.C: small cleanup
6481
6482         * vspace.h:
6483         * vspace.C: add const
6484
6485 2002-08-05  John Levon  <levon@movementarian.org>
6486
6487         * LyXAction.C: back to tabular-insert
6488
6489 2002-08-04  John Levon  <levon@movementarian.org>
6490
6491         * BufferView.h:
6492         * BufferView.C: cosmetic change
6493
6494         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6495
6496         * bufferlist.C:
6497         * buffer.h:
6498         * buffer.C:
6499         * lyxcb.h:
6500         * lyxcb.C:
6501         * lyxserver.C:
6502         * lyxvc.C:
6503         * vc-backend.C:
6504         * BufferView2.C: purge all "Lyx" not "LyX" strings
6505
6506         * lyxcursor.h:
6507         * lyxcursor.C: attempt to add some documentation
6508
6509         * lyxfunc.C:
6510         * commandtags.h:
6511         * LyXAction.C:
6512         * ToolbarDefaults.C:
6513         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6514           merge with LFUN_TABULAR_INSERT
6515
6516         * Makefile.am:
6517         * SpellBase.h:
6518         * ispell.h:
6519         * ispell.C:
6520         * pspell.h:
6521         * pspell.C: split up i/pspell implementations into separate
6522           files, many cleanups
6523
6524         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6525
6526         * text2.C: some cleanup
6527
6528         * lyxfunc.C: don't check for isp_command == "none" any more, it
6529           didn't make any sense
6530
6531 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6532
6533         * counters.[Ch]
6534         * text2.C
6535         * paragraph.[Ch]
6536         * makefile.am: move counters functionality over
6537         from text2.C/paragraph.[Ch] to counters.[Ch], and
6538         make proper C++.
6539 2002-08-02  John Levon  <levon@movementarian.org>
6540
6541         * buffer.C: s/lyxconvert/lyx2lyx/
6542
6543 2002-08-02  Angus Leeming  <leeming@lyx.org>
6544
6545         * lyxlex.C: revert John's change as it breaks reading of the user
6546         preamble.
6547
6548 2002-08-02  Angus Leeming  <leeming@lyx.org>
6549
6550         * importer.C (Import):
6551         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6552         changes due to LyXView::view() now returning a boost::shared_ptr.
6553
6554 2002-08-02  John Levon  <levon@movementarian.org>
6555
6556         * lyxlex.C: small cleanup
6557
6558 2002-08-02  John Levon  <levon@movementarian.org>
6559
6560         * text2.C (status): small cleanup, no logic change
6561
6562 2002-08-01  John Levon  <levon@movementarian.org>
6563
6564         * buffer.h:
6565         * buffer.C (writeFile): don't output alerts, caller
6566           handles this
6567
6568         * bufferlist.C:
6569         * lyx_cb.C: from above
6570
6571         * lyxfunc.C: allow to open non-existent files
6572
6573 2002-07-31  John Levon  <levon@movementarian.org>
6574
6575         * lyxserver.C: don't let incidental errors get
6576           in the way (errno)
6577
6578 2002-07-30  John Levon  <levon@movementarian.org>
6579
6580         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6581
6582 2002-07-30  John Levon  <levon@movementarian.org>
6583
6584         * lyxserver.h:
6585         * lyxserver.C: remove I/O callback too
6586
6587 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6588
6589         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6590         log.
6591
6592 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * many files: strip,frontStrip -> trim,ltrim,rtrim
6595
6596 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * PrinterParams.h: remove extern containsOnly, and include
6599         support/lstrings.h instead.
6600
6601         * LaTeX.C (scanAuxFile): modify because of strip changes
6602         (deplog): ditto
6603         * buffer.C (makeLaTeXFile): ditto
6604         * bufferparams.C (writeFile): ditt
6605         * lyxfont.C (stateText): ditto
6606         * lyxserver.C (read_ready): ditto
6607         * vc-backend.C (scanMaster): ditto
6608
6609         * BufferView_pimpl.h: ws changes
6610
6611         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6612
6613 2002-07-26  André Pönitz <poenitz@gmx.net>
6614
6615         * kb_sequence.C: remove unnedred usings
6616
6617 2002-07-26  Juergen Vigna  <jug@sad.it>
6618
6619         * lyxfind.C (LyXReplace): we have to check better if the returned
6620         text is not of theLockingInset()->getLockingInset().
6621
6622 2002-07-25  Juergen Vigna  <jug@sad.it>
6623
6624         * lyxfind.C (LyXReplace): don't replace if we don't get the
6625         right LyXText.
6626
6627         * undo_funcs.C (createUndo): remove debugging code.
6628
6629 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6630
6631         * buffer.C (parseSingleLyXformat2Token): Use default placement
6632         when reading old floats.
6633
6634         * FloatList.C (FloatList): Change the default placement of figure
6635         and tables to "tbp".
6636
6637 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6638
6639         * MenuBackend.C: using std::max
6640
6641 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6642
6643         * MenuBackend.C (expandToc):
6644         (expandToc2): code moved from xforms menu frontend. It is now
6645         generic and TOCs are transparent to menu frontends.
6646
6647 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6648
6649         * toc.C (getTocList): protect against buf=0
6650
6651         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6652         Menu as first parameter. Now, this calls itself recursively to
6653         expand a whole tree (this will be useful for TOC handling)
6654         (expandFloatInsert): remove 'wide' version of floats
6655
6656         * MenuBackend.h (submenuname): returns the name of the submenu.
6657         (submenu): returns the submenu itself, provided it has been
6658         created by MenuBackend::expand
6659
6660 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6661
6662         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6663         insets which have noFontChange == true. (bug #172)
6664
6665 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6666
6667         * BufferView_pimpl.C: add connection objects and use them...
6668         (Pimpl): here.
6669
6670 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6671
6672         * MenuBackend.C (expandLastfiles):
6673         (expandDocuments):
6674         (expandFormats):
6675         (expandFloatListInsert):
6676         (expandFloatInsert):
6677         (expand): split expand in parts
6678
6679 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6680
6681         * lyx_gui.C: use lyx_gui::exit()
6682
6683 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6684
6685         * LyXAction.C: show the failing pseudo action
6686
6687 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6688
6689         * buffer.C (readFile): Run the lyxconvert script in order to read
6690         old files.
6691
6692 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6693
6694         * LyXAction.C:
6695         * commandtags.h:
6696         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6697
6698 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6699
6700         * LyXAction.C:
6701         * commandtags.h:
6702         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6703
6704 2002-07-22  Herbert Voss  <voss@lyx.org>
6705
6706         * lengthcommon.C:
6707         * lyxlength.[Ch]: add support for the vertical lengths
6708
6709 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6710
6711         * toc.[Ch]: std:: fixes
6712
6713 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6714
6715         * lyxrc.C: do not include lyx_main.h
6716
6717         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6718         for layouts
6719
6720         * lyxrc.C:
6721         * encoding.C:
6722         * bufferlist.C:
6723         * BufferView2.C: include "lyxlex.h"
6724
6725         * tabular.h:
6726         * bufferparams.h: do not #include "lyxlex.h"
6727
6728         * lyxtextclasslist.C (Add): remove method
6729         (classlist): renamed to classlist_
6730
6731         * paragraph_pimpl.C:
6732         * paragraph.C:
6733         * text2.C:
6734         * CutAndPaste.C:
6735         * bufferview_funcs.C:
6736         * bufferlist.C:
6737         * text.C:
6738         * LaTeXFeatures.C:
6739         * buffer.C:
6740         * toc.C (getTocList): use BufferParams::getLyXTextClass
6741
6742         * toc.C (getTocList): use InsetFloat::addToToc
6743
6744         * toc.[Ch]: new files, containing helper functions to handle table
6745         of contents
6746
6747         * lyxfunc.C (dispatch): no need to remove spaces around command
6748         given as a string
6749         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6750         first command of the sequence; it is not very clever, but I do not
6751         have a better idea, actually
6752
6753         * LyXAction.C (LookupFunc): make sure to remove space at the
6754         beginning and end of the command
6755
6756 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * MenuBackend.C (getMenubar): new method: return the menubar of
6759         this menu set
6760         (read): treat differently reading of menu and menubar (in
6761         particular, the menubar has no name now)
6762         (Menu::menubar): remove
6763
6764         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6765         saving is finished
6766
6767 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6768
6769         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6770         a bibitem inset in a RTL paragraph.
6771
6772 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6773
6774         * paragraph_pimpl.C: constify
6775
6776         * BufferView_pimpl.C:
6777         * LaTeX.C:
6778         * lyxfunc.C: fix dispatch in a nicer way
6779
6780 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6781
6782         * lyxfunc.C (dispatch):
6783         * BufferView_pimpl.C:
6784         * BufferView_pimpl.h:
6785         * BufferView.C:
6786         * BufferView.h: rename Dispatch() to dispatch()
6787
6788         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6789
6790         * lyxlayout.C (Read): honor DependsOn tag
6791
6792         * lyxlayout.[Ch] (depends_on): new method
6793
6794         * version.C.in: update lyx_docversion
6795
6796         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6797
6798         * paragraph.C (validate): remove from here...
6799         * paragraph_pimpl.C (validate): ... and move here
6800         (isTextAt): make it const
6801
6802         * buffer.C (getLists): ws cleanup
6803
6804 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6805
6806         * language.C (read): Use iso8859-1 encoding in latex_lang
6807         (this prevents LyX from crashing when using iso10646-1 encoding).
6808
6809 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6810
6811         * text2.C (toggleInset): if cursor is inside an inset, close the
6812         inset and leave cursor _after_ it
6813
6814 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6815
6816         * lyxfunc.C: move minibuffer completion handling out of here
6817
6818 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6819
6820         * BufferView_pimpl.C:
6821         * LaTeX.C: fix dispatch calls
6822
6823 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6824
6825         * text.C (drawChars): Fix Arabic text rendering.
6826
6827 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6828
6829         * LyXAction.C:
6830         * commandtags.h:
6831         * lyxfunc.C: remove message-push/pop
6832
6833         * lyxserver.C:
6834         * lyxfunc.h:
6835         * lyxfunc.C: rationalise some code by removing verboseDispatch
6836           in favour of a bool argument to dispatch()
6837
6838 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6839
6840         * lyx_main.C (init): make sure to read symlinks as absolute paths
6841
6842 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6843
6844         * lyxfunc.h:
6845         * lyxfunc.C: no need for commandshortcut to be a member
6846
6847 2002-07-15  André Pönitz <poenitz@gmx.net>
6848
6849         * converter.C: add support for $$s (scripts from lib/scripts dir)
6850         * lyx_main.C: white space
6851
6852 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6853
6854         * bufferlist.C:
6855         * lyxrc.h:
6856         * lyxrc.C: remove second exit confirmation
6857
6858 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * BufferView.h:
6861         * BufferView.C:
6862         * BufferView2.C:
6863         * BufferView_pimpl.h:
6864         * BufferView_pimpl.C:
6865         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6866
6867 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6868
6869         * MenuBackend.C (expand): add numeric shortcuts to document menu
6870
6871         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6872
6873 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6874
6875         * lyxfont.C (setLyXFamily):
6876         (setLyXSeries):
6877         (setLyXShape):
6878         (setLyXSize):
6879         (setLyXMisc):
6880         (lyxRead):
6881         * debug.C (value):
6882         * buffer.C (asciiParagraph): use ascii_lowercase
6883
6884 2002-07-15  Mike Fabian  <mfabian@suse.de>
6885
6886         * lyxlex_pimpl.C (search_kw):
6887         * lyxlex.C (getLongString):
6888         * converter.h (operator<):
6889         * converter.C (operator<):
6890         * buffer.C (parseSingleLyXformat2Token):
6891         (asciiParagraph):
6892         * ToolbarDefaults.C (read):
6893         * MenuBackend.C (checkShortcuts):
6894         (read):
6895         * LColor.C (getFromGUIName):
6896         (getFromLyXName): use the compare_ascii_no_case instead of
6897         compare_no_case, because in turkish, 'i' is not the lowercase
6898         version of 'I', and thus turkish locale breaks parsing of tags.
6899
6900 2002-07-16  Angus Leeming  <leeming@lyx.org>
6901
6902         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6903         now takes a Buffer const & argument.
6904
6905 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * BufferView.C (resize): check there's a buffer to resize
6908
6909 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6910
6911         * lyxfunc.C: remove dead code
6912
6913         * lyxserver.h:
6914         * lyxserver.C: use lyx_guii::set_read_callback
6915
6916 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6917
6918         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6919         an inset in a RTL paragraph.
6920
6921 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * lyxfunc.C: repaint after a font size update
6924
6925 2002-07-15  André Pönitz <poenitz@gmx.net>
6926
6927         * lyxlength.C: inBP should be able to return negative values
6928
6929 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * lyxfunc.C: use lyx_gui::update_fonts()
6932
6933 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6934
6935         * lyxfunc.C: use lyx_gui::update_color()
6936
6937 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6938
6939         * bufferlist.C:
6940         * lyxfunc.h:
6941         * lyxfunc.C:
6942         * lyxrc.h:
6943         * lyxrc.C: remove file->new asks for name option, and let
6944           buffer-new take an argument
6945
6946 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6947
6948         * BufferView_pimpl.C: remove unneeded extra repaint()
6949
6950 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6951
6952         * LyXAction.C: allow command-sequence with NoBuffer
6953
6954         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6955
6956 2002-07-10  Angus Leeming  <leeming@lyx.org>
6957
6958         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6959
6960 2002-07-09  Angus Leeming  <leeming@lyx.org>
6961
6962         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6963
6964 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6965
6966         * lengthcommon.h: whitespace
6967
6968         * lyxfunc.C: update scrollbar after goto paragraph
6969
6970         * lyxtext.h: factor out page break drawing, and fix it so
6971           page break/added space paints as selected nicely
6972
6973 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6974
6975         * BufferView_pimpl.C: add FIXMEs, clean up a little
6976
6977 2002-07-09  André Pönitz <poenitz@gmx.net>
6978
6979         * lyxfont.[Ch]: support for wasy symbols
6980
6981 2002-07-08  André Pönitz <poenitz@gmx.net>
6982
6983         * BufferView_pimpl.C: apply John's patch for #93.
6984
6985 2002-07-05  Angus Leeming  <leeming@lyx.org>
6986
6987         * BufferView_pimpl.C (buffer): generate previews if desired.
6988
6989         * LColor.h: add "preview" to the color enum.
6990
6991         * LColor.C (LColor): add a corresponding entry to the items array.
6992
6993         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6994         with this buffer.
6995
6996 2002-07-05  Angus Leeming  <leeming@lyx.org>
6997
6998         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6999         The body of the code is now in the method that is passed an ostream &
7000         rather than a file name.
7001         Pass an additional only_preamble parameter, useful for the forthcoming
7002         preview stuff.
7003
7004 2002-07-03  André Pönitz <poenitz@gmx.net>
7005
7006         * lyxfunc.C: simplify getStatus() a bit for math stuff
7007
7008 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7009
7010         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7011
7012 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7013
7014         * text.C (changeRegionCase): do not change case of all the
7015         document when region ends at paragraph end (bug #461)
7016
7017 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7018
7019         * paragraph.C (startTeXParParams):
7020         (endTeXParParams): add \protect when necessary
7021
7022 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7023
7024         * BufferView_pimpl.C (workAreaExpose): remove warning
7025
7026 2002-06-27  Angus Leeming  <leeming@lyx.org>
7027
7028         * Makefile.am: add lyxlayout_ptr_fwd.h.
7029
7030 2002-06-26  André Pönitz <poenitz@gmx.net>
7031
7032         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7033
7034 2002-06-25  Angus Leeming  <leeming@lyx.org>
7035
7036         * lyxfunc.C (dispatch): Comment out the call to
7037         grfx::GCache::changeDisplay. The method no longer exists now that the
7038         pixmap generation part of the graphics loader has been moved into
7039         InsetGraphics.
7040
7041 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7042
7043         * text2.C: layout as layout
7044
7045         * text.C: layout as layout
7046
7047         * tabular.C (OldFormatRead): layout as layout
7048
7049         * paragraph_pimpl.C (TeXDeeper): layout as layout
7050         (realizeFont): layout as layout
7051
7052         * paragraph.C (writeFile): layout as layout
7053         (validate): layout as layout
7054         (getFont): layout as layout
7055         (getLabelFont): layout as layout
7056         (getLayoutFont): layout as layout
7057         (breakParagraph): layout as layout
7058         (stripLeadingSpaces): layout as layout
7059         (getEndLabel): layout as layout
7060         (getMaxDepthAfter): layout as layout
7061         (applyLayout): layout as layout
7062         (TeXOnePar): layout as layout
7063         (simpleTeXOnePar): layout as layout
7064         (TeXEnvironment): layout as layout
7065         (layout): layout as layout
7066         (layout): layout as layout
7067
7068         * lyxtextclass.C (compare_name): new functor to work with
7069         shared_ptr, layout as layout
7070         (Read): layout as layout
7071         (hasLayout): layout as layout
7072         (operator): layout as layout
7073         (delete_layout): layout as layout
7074         (defaultLayout): layout as layout
7075
7076         * lyxlayout_ptr_fwd.h: new file
7077
7078         * lyxlayout.C (Read): layout as layout
7079
7080         * lyx_cb.C (MenuInsertLabel): layout as layout
7081
7082         * bufferlist.C (newFile): layout as layout
7083
7084         * buffer.C (readLyXformat2): layout as layout
7085         (parseSingleLyXformat2Token): layout as layout
7086         (insertStringAsLines): layout as layout
7087         (asciiParagraph): layout as layout
7088         (latexParagraphs): layout as layout
7089         (makeLinuxDocFile): layout as layout
7090         (simpleLinuxDocOnePar): layout as layout
7091         (makeDocBookFile): layout as layout
7092         (simpleDocBookOnePar): layout as layout
7093         (getLists): layout as layout
7094
7095         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7096
7097         * CutAndPaste.C (cutSelection): layout as layout
7098         (pasteSelection): layout as layout
7099         (SwitchLayoutsBetweenClasses): layout as layout
7100
7101         * BufferView_pimpl.C (Dispatch): layout as layout
7102         (smartQuote): layout as layout
7103
7104         * BufferView2.C (unlockInset): layout as layout
7105
7106 2002-06-24  André Pönitz <poenitz@gmx.net>
7107
7108         * lyxfunc.C: fix #487
7109
7110 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7111
7112         * lyxrc.h:
7113         * lyxrc.C:
7114         * lyxfunc.C: remove display_shortcuts, show_banner
7115
7116 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7117
7118         * Buffer_pimpl.C: oops, update on resize
7119
7120 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7121
7122         * buffer.C:
7123         * converter.C:
7124         * exporter.C:
7125         * lyxfunc.C:
7126         * BufferView.h:
7127         * BufferView.C: use repaint()
7128
7129         * BufferView_pimpl.h:
7130         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7131           as it's a clearer description. Remove superfluous
7132           redraws.
7133
7134 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7135
7136         * text.C: fix bug 488. Not ideal, but getting
7137           getWord() to work properly for the insets that
7138           matter is more difficult ...
7139
7140 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7141
7142         * BufferView_pimpl.C:
7143         * LyXAction.C:
7144         * commandtags.h:
7145         * lyxfunc.C: remove the six million index lyxfuncs to just
7146           one, and DTRT (bug 458)
7147
7148 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7149
7150         * BufferView.h:
7151         * BufferView.C:
7152         * BufferView_pimpl.h:
7153         * BufferView_pimpl.C: clean up resize() stuff,
7154           and unnecessary updateScreen()s
7155
7156 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7157
7158         * BufferView.h:
7159         * BufferView.C:
7160         * BufferView_pimpl.h:
7161         * BufferView_pimpl.C:
7162         * lyxfind.h:
7163         * lyxfind.C:
7164         * minibuffer.C: remove focus management of workarea,
7165           not needed. Use screen's greyOut()
7166
7167 2002-06-17  Herbert Voss  <voss@lyx.org>
7168
7169         * converter.C: (convert) do not post a message, when converting
7170         fails, let the calling function decide what to do in this case
7171
7172 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7173
7174         * lyxfunc.C: tidy up a little
7175
7176 2002-06-16    <alstrup@diku.dk>
7177
7178         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7179         Got rid of FORMS_H_LOCATION include. Now we are
7180         GUII.
7181
7182 2002-06-15  LyX Development team  <lyx@rilke>
7183
7184         * buffer.[Ch] (sgmlOpenTag):
7185         (sgmlCloseTag): Added support for avoiding pernicious mixed
7186         content. Return number of lines written.
7187
7188         (makeLinuxDocFile):
7189         (makeDocBookFile): Fixed calls to sgml*Tag.
7190         Simple white space clean.
7191
7192         (simpleDocBookOnePar): Simple white space clean.
7193
7194         * tabular.[Ch] (docBook): Renamed to docbook and got another
7195         argument to related with the pernicious mixed content.
7196
7197         (docbookRow): Fixed calls for docbook inset method.
7198
7199 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7200
7201         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7202         so it's X11 independent.
7203
7204         * kb*.[Ch]: ditto.
7205
7206         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7207
7208 2002-06-15  Lyx Development team  <lyx@electronia>
7209
7210         * intl.h: Renamed getTrans to getTransManager.
7211
7212 2002-06-14  Angus Leeming  <leeming@lyx.org>
7213
7214         * Makefile.am: nuke forgotten stl_string_fwd.h.
7215
7216 2002-06-12  Angus Leeming  <leeming@lyx.org>
7217
7218         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7219
7220 2002-06-13  Angus Leeming  <leeming@lyx.org>
7221
7222         * LaTeX.C:
7223         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7224
7225 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7226
7227         * kbmap.C (getiso): add support for cyrillic and greek
7228
7229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * BufferView.h:
7232         * BufferView.C:
7233         * BufferView_pimpl.h:
7234         * BufferView_pimpl.C: move bogus scrolling logic
7235           to xforms
7236
7237 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7238
7239         * lyxfunc.C:
7240         * BufferView_pimpl.C: view->resize() change
7241
7242 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7243
7244         * BufferView_pimpl.C: topCursorVisible
7245           prototype change
7246
7247 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7248
7249         * Makefile.am:
7250         * lyx_gui.h:
7251         * lyx_gui.C: move to frontends/
7252
7253         * main.C:
7254         * lyx_main.h:
7255         * lyx_main.C: changes from above
7256
7257 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7258
7259         * intl.C:
7260         * intl.h:
7261         * kbmap.C:
7262         * kbsequence.C:
7263         * lyx_cb.C:
7264         * lyx_main.C: minor tidy
7265
7266 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7267
7268         * BufferView_pimpl.h:
7269         * BufferView_pimpl.C:
7270         * BufferView.h:
7271         * BufferView.C: make painter() const,
7272           remove dead code
7273
7274         * BufferView2.C: use screen() accessor
7275
7276         * lyx_main.h:
7277         * lyx_main.C: some minor cleanup
7278
7279 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7280
7281         * BufferView_pimpl.h:
7282         * BufferView_pimpl.C: remove enter/leaveView,
7283           use workHeight()
7284
7285 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7286
7287         * BufferView.h:
7288         * BufferView.C:
7289         * BufferView2.C:
7290         * BufferView_pimpl.h:
7291         * BufferView_pimpl.C: only construct screen once,
7292           rename
7293
7294         * lyxrc.C: remove pointless comment
7295
7296 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7297
7298         * BufferView.h:
7299         * BufferView.C: remove active() and belowMouse()
7300
7301         * BufferView_pimpl.h:
7302         * BufferView_pimpl.C: use workarea() not workarea_,
7303           and make it use a scoped_ptr instead
7304
7305 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * lyx_gui.C: add debug message on BadWindow
7308
7309 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7310
7311         * sp_spell.C: fdopen is not part of the C++ standard.
7312
7313         * paragraph.C (InsetIterator): use >= instead of ==
7314
7315 2002-06-07  Angus Leeming  <leeming@lyx.org>
7316
7317         Fixes needed to compile with Compaq cxx 6.5.
7318         * BufferView_pimpl.C:
7319         * DepTable.C:
7320         * buffer.C:
7321         * converter.C:
7322         * encoding.C:
7323         * lyx_gui.C:
7324         * lyx_main.C:
7325         * lyxtextclasslist.C:
7326         * minibuffer.C:
7327         * sp_spell.C:
7328         * tabular_funcs.C:
7329         * vc-backend.C:
7330         all c-library variables have been moved into namespace std. Wrap
7331         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7332
7333         * lyxlength.C:
7334         * tabular-old.C:
7335         * tabular.C:
7336         Add a using std::abs declaration.
7337
7338         * kbmap.h (modifier_pair):
7339         * paragraph.h (InsetTable, InsetList):
7340         * lyxfont.h (FontBits):
7341         type definition made public.
7342
7343         * bufferlist.C (emergencyWriteAll): the compiler complains that
7344         there is more than one possible lyx::class_fun template to choose from.
7345         I re-named the void specialisation as lyx::void_class_fun.
7346
7347         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7348
7349         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7350         the compiler is is unable to find tostr in write_attribute.
7351
7352 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7353
7354         * buffer.C (sgmlError): hide #warning
7355
7356 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7357
7358         * xtl/*: get rid of xtl, which is not in use anyway
7359
7360         * LyXAction.C (init):
7361         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7362         were unimplemented xtl experimentation
7363
7364 2002-06-04  André Pönitz <poenitz@gmx.net>
7365
7366         * lyxfunc.C: disable array operation on simple formulae
7367
7368 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7369
7370         * converter.C: constify a bit
7371
7372 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * lyx_gui.C: check xforms version correctly
7375
7376 2002-04-30  Herbert Voss  <voss@lyx.org>
7377
7378         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7379         "keep" option
7380
7381 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7382
7383         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7384           attempt to register it with a VCS)
7385
7386 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7387
7388         * lyx_main.C (init): honor variables LYX_DIR_13x and
7389         LYX_USERDIR_13x
7390
7391 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7392
7393         * buffer.h:
7394         * buffer.C:
7395         * lyx_main.C: fix a crash on bad command line,
7396           and give a useful exit status on error
7397
7398         * lyxfunc.C (doImport): allow -i lyx to work
7399
7400 2002-03-30  André Pönitz <poenitz@gmx.net>
7401
7402         * lyxfunc.C: mathed font changes
7403
7404 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * LaTeX.C:
7407         * importer.h:
7408         * importer.C:
7409         * lyx_sty.h:
7410         * lyx_sty.C:
7411         * lyxlex.C:
7412         * lyxrow.h:
7413         * lyxtext.h:
7414         * paragraph.h:
7415         * paragraph.C:
7416         * texrow.h:
7417         * texrow.C:
7418         * text.C:
7419         * trans_mgr.h: srcdocs, and some minor cleanups
7420
7421 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7422
7423         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7424         call getFont all the time)
7425
7426 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7427
7428         * switch from SigC signals to boost::signals
7429
7430 2002-05-29  André Pönitz <poenitz@gmx.net>
7431
7432         * paragraph_pimpl.C (getChar): don't call size() too often...
7433
7434 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * paragraph_pimpl.C (insertChar): do not try to update tables when
7437         appending (pos == size())
7438
7439         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7440         in order to reduce drastically the number of comparisons needed to
7441         parse a large document
7442
7443 2002-05-29  André Pönitz <poenitz@gmx.net>
7444
7445         * text.C:
7446         * text2.C:
7447         * lyxtextclass.C:
7448         * sp_pspell.h:
7449         * textclasslist.[Ch]:
7450         * sp_ispell.h: whitespace change
7451
7452 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7453
7454         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7455         lyxaction directly now.
7456
7457 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7458
7459         * trans.C:
7460         * lyxfont.C:
7461         * lyxvc.C: remove unused headers
7462
7463 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7464
7465         * Makefile.am:
7466         * buffer.h:
7467         * undostack.h:
7468         * undostack.C:
7469         * undo_funcs.h:
7470         * undo_funcs.C: some cleanups. Use shared_ptr
7471           and a template for the undo stacks.
7472
7473 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7474
7475         * BufferView_pimpl.h:
7476         * BufferView_pimpl.C:
7477         * kbmap.h:
7478         * kbmap.C:
7479         * kbsequence.h:
7480         * kbsequence.C:
7481         * lyxfunc.h:
7482         * lyxfunc.C:
7483         * text2.C: use key_state/mouse_state
7484
7485 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7486
7487         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7488         and LSubstring
7489
7490         * chset.C: change include order
7491         (loadFile): use boost regex and get rid of LRegex and LSubstring
7492
7493         * Makefile.am (BOOST_LIBS): new variable
7494         (lyx_LDADD): use it
7495
7496         * LaTeX.C: change include order.
7497         (scanAuxFile): use boost regex and get rid of LRegex and
7498         LSubstring
7499         (deplog): ditto
7500
7501 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7502
7503         * ColorHandler.h:
7504         * ColorHandler.C:
7505         * FontInfo.h:
7506         * FontInfo.C: moved to frontends/xforms/
7507
7508         * FontLoader.h:
7509         * FontLoader.C: moved into frontends for GUIIzation
7510
7511         * Makefile.am:
7512         * lyx_gui.C:
7513         * lyxfont.C:
7514         * lyxfunc.C: changes from above
7515
7516 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7517
7518         * LColor.C: remove spurious X include
7519
7520         * BufferView_pimpl.C:
7521         * Makefile.am:
7522         * font.h:
7523         * font.C:
7524         * text.C:
7525         * text2.C: move font metrics to frontends/
7526
7527 2002-05-24  Juergen Vigna  <jug@sad.it>
7528
7529         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7530         setting the undo_cursor.
7531
7532         * ParagraphParameters.h: include local includes first.
7533
7534 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7535
7536         * BufferView_pimpl.C:
7537         * BufferView_pimpl.h:
7538         * Makefile.am:
7539         * WorkArea.h:
7540         * WorkArea.C:
7541         * screen.C: move WorkArea into frontends/
7542
7543         * lyxscreen.h:
7544         * screen.C:
7545         * text.C:
7546         * BufferView.C:
7547         * BufferView2.C: move LyXScreen into frontends/
7548
7549         * lyxlookup.h:
7550         * lyxlookup.C:
7551         * lyx_gui.C: move lyxlookup into frontends/xforms/
7552
7553 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7554
7555         * BufferView2.C:
7556         * BufferView_pimpl.C:
7557         * FontLoader.C:
7558         * LyXView.h:
7559         * LyXView.C:
7560         * Makefile.am:
7561         * WorkArea.C:
7562         * XFormsView.h:
7563         * XFormsView.C:
7564         * buffer.C:
7565         * bufferlist.C:
7566         * bufferview_funcs.C:
7567         * converter.C:
7568         * importer.C:
7569         * lyx_cb.C:
7570         * lyx_gui.C:
7571         * lyx_main.C:
7572         * lyx_find.C:
7573         * lyxfunc.C:
7574         * lyxvc.C:
7575         * minibuffer.C:
7576         * text.C:
7577         * text2.C:
7578         * trans.C:
7579         * vc-backend.C: move LyX/XFormsView into frontends/
7580
7581 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7582
7583         * Makefile.am:
7584         * PainterBase.C:
7585         * PainterBase.h:
7586         * Painter.C:
7587         * Painter.h:
7588         * WorkArea.C:
7589         * WorkArea.h:
7590         * screen.C:
7591         * tabular.C:
7592         * text.C:
7593         * text2.C: move Painter to frontends/
7594
7595 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7596
7597         * buffer.C: comment out some some code that depend upon lyx_format
7598         < 220
7599
7600         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7601         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7602
7603         * buffer.h (NO_COMPABILITY): turn off compability
7604
7605         * ColorHandler.C: include scoped_array.hpp
7606
7607         * font.C: Use more specific smart_ptr header.
7608         * Painter.C: ditto
7609         * gettext.C: ditto
7610         * ShareContainer.h: ditto
7611         * lyx_main.h: ditto
7612         * kbmap.h: ditto
7613         * FontInfo.h: ditto
7614         * BufferView_pimpl.h: ditto
7615         * ColorHandler.h: ditto
7616
7617         * kbmap.C (defkey): change call to shared_ptr::reset
7618
7619 2002-05-21  Juergen Vigna  <jug@sad.it>
7620
7621         * buffer.C (insertErtContents): fix to insert ert asis if it is
7622         non empty. Skip it completely if it contains only whitespaces.
7623
7624 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7625
7626         * BufferView_pimpl.C:
7627         * BufferView2.C: clear selection on paste (bug 393)
7628
7629 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7630
7631         * DepTable.C: include ctime
7632
7633 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7634
7635         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7636
7637 2002-05-14  Juergen Vigna  <jug@sad.it>
7638
7639         * text.C (breakParagraph): fixed function to honor the keepempty
7640         layout in the right maner and also to permit the right breaking
7641         algorithm on empty or non empyt keepempty paragraphs.
7642
7643         * paragraph.C (breakParagraph): we have to check also if the par
7644         is really empty (!size()) for isempty otherwise we do the wrong
7645         paragraph break.
7646
7647 2002-05-10  Juergen Vigna  <jug@sad.it>
7648
7649         * buffer.[Ch] : The following are only changes to the ert
7650         compatibility read reading old LaTeX layout and font stuff and
7651         convert it to ERTInsets.
7652
7653         * buffer.h: added isErtInset().
7654
7655         * buffer.C (struct ErtComp): add a fromlayout bool to check
7656         if we're inside a LaTeX layout.
7657         (isErtInset): new helper function.
7658         (insertErtContents): look for other ert insets before this one
7659         and insert the contents there, so that we don't have subsequent
7660         ERT insets with nothing between them. This way we create only one
7661         inset with multiple paragraphs. Also check if we don't insert only
7662         spaces ' ' as they are ignored anyway afterwards in the .tex file
7663         so if we have only spaces we will ignore this latex part in the
7664         new file.
7665         (parseSingleLyXformat2Token \\layout): better compatibility when
7666         reading layout-latex stuff.
7667         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7668         language tag.
7669         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7670         stuff after reading the inset only get the information back from
7671         the stack.
7672
7673 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7674
7675         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7676
7677         * LaTeXFeatures.C (getBabelOptions): New method.
7678
7679 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7680
7681         * BufferView_pimpl.C (Dispatch): work around missing argument for
7682         'layout'
7683
7684 2002-05-08  Juergen Vigna  <jug@sad.it>
7685
7686         * text.C (leftMargin): handle paragraph leftindent.
7687
7688         * paragraph.C (writeFile): write the new \\leftindent tag.
7689         (validate): handle leftindent code.
7690         (TeXEnvironment): handle paragraphleftindent code again.
7691
7692         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7693
7694         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7695         for paragrap_extra indent code and new token \\leftindent.
7696         (latexParagraphs): handle the leftindent as environment.
7697
7698         * ParameterStruct.h: added leftindent support.
7699
7700         * ParagraphParameters.C (leftIndent): added support functions for
7701         the paragraph left indent.
7702
7703         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7704         more appropriate.
7705
7706 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7707
7708         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7709         inside insetERT.
7710
7711         * text.C (computeBidiTables): No bidi in insetERT.
7712
7713         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7714         in RTL documents.
7715
7716 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7717
7718         * version.C.in: pre 5
7719
7720 2002-05-02  José Matos  <jamatos@fep.up.pt>
7721         * buffer.C (makeDocBookFile): white space changes, add newline to
7722         command styles.
7723         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7724
7725         * tabular.C (docBook): fix typo.
7726
7727 2002-05-03  Juergen Vigna  <jug@sad.it>
7728
7729         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7730         change in LyXText as we can not be sure it was not freed.
7731         (drawOneRow): remove unused code.
7732
7733         * text.C (drawInset): redo the calculation of the need_break_row as
7734         it could have a row which was already freed.
7735         (draw): look at the return value of drawInset and return false if
7736         it also returned false.
7737         (paintRowText): look at the return value of draw and return false if
7738         it also returned false.
7739
7740         * lyxtext.h: added bool return type to drawInset() and draw() so that
7741         if we have a change in the row so that the rowbreak has to be redone
7742         we abort drawing as it will be called again.
7743
7744 2002-05-02  Juergen Vigna  <jug@sad.it>
7745
7746         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7747         a change in the maintext also if we're inside an inset.
7748         (Dispatch): set the cursor again after a break line and after the
7749         screen has been updated as it could be we're in a different row.
7750
7751         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7752         to set the cursor behind the pargraph with > size().
7753         (setCursor): check also for the same paragraph when checking where
7754         to put the cursor if we have a NFR inset.
7755
7756         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7757         parts of layout read further up as it still was in the wrong
7758         position.
7759
7760 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7761
7762         * screen.C (drawFromTo): change sine fullRebreak always return
7763         true.
7764
7765         * buffer.C (parseSingleLyXformat2Token): reindent some
7766
7767         * BufferView_pimpl.C (update): change since fullRebreak always
7768         return true.
7769         (Dispatch): git rid of the last hardcoded "Standard"s.
7770
7771 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7772
7773         * text2.[Ch] (fullRebreak): make it return void now that we always
7774         returned true.
7775
7776 2002-04-30  Juergen Vigna  <jug@sad.it>
7777
7778         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7779         ert compatibility check for "latex" layout.
7780
7781 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7782
7783         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7784         minipages: use col% instead of p%, and also use the current font.
7785         (makeLaTeXFile): Fix use babel condition.
7786         (parseSingleLyXformat2Token): Correct font when reading old floats.
7787
7788 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7789
7790         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7791         inserting list of floats.
7792
7793 2002-04-25  Herbert Voss  <voss@lyx.org>
7794
7795         * MenuBackend.C (expand): don't add the graphics extensions to the
7796         export menu
7797
7798 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7801         non-existing layout, do not complain if it was the default layout
7802         of the original class (bug #342)
7803
7804 2002-04-24  Juergen Vigna  <jug@sad.it>
7805
7806         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7807         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7808
7809 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7810
7811         * buffer.C (getBibkeyList): If using \bibliography, return the
7812         option field with the reference itself. Enables us to provide natbib
7813         support when using \bibliography.
7814
7815 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7816
7817         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7818
7819         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7820         natbib is provided by the LaTeX class.
7821
7822 2002-04-23  Juergen Vigna  <jug@sad.it>
7823
7824         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7825         Wakeup functions.
7826
7827         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7828
7829 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7830
7831         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7832
7833         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7834         ensuremath around textordmasculine, textordfeminine and
7835         textdegree.
7836
7837 2002-04-19  Juergen Vigna  <jug@sad.it>
7838
7839         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7840         reinitializing the buffer otherwise row-dimensions may be wrong.
7841         (update): reset also the selection cursors if they do exits otherwise
7842         their x/y positions may be wrong.
7843
7844         * text2.C (cursorDown): don't enter the inset if we came from a row
7845         above and are one row over the inset.
7846
7847         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7848         really leaving an inset.
7849
7850 2002-04-18  Juergen Vigna  <jug@sad.it>
7851
7852         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7853         of the selected paragraph does not have the selected layout also if
7854         the last one had!
7855
7856         * text2.C (setLayout): fixed bug which did not change last selected
7857         paragraph.
7858
7859         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7860         changed the read and substituted \\end_float with \\end_inset!
7861
7862         * BufferView_pimpl.C (cursorPrevious):
7863         (cursorNext): fixed to make it work with rows heigher than the work
7864         area without moving the cursor only the draw of the row.
7865         (workAreaMotionNotify): fix jumping over high rows.
7866
7867 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7868
7869         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7870         Ressler.
7871
7872 2002-04-16  Juergen Vigna  <jug@sad.it>
7873
7874         * text2.C (setCursor): set also the irow().
7875         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7876         (cursorUp):
7877         (cursorDown): support for locking an inset if the x_fix value goes
7878         inside it. That way I can transverse insets too with cursor up/down.
7879
7880         * lyxrow.h: added irow helper function same as other (i) functions.
7881
7882         * BufferView_pimpl.C (cursorPrevious):
7883         (cursorNext): fixed for insets!
7884
7885 2002-04-15  Juergen Vigna  <jug@sad.it>
7886
7887         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7888         position otherwise it is wrong in some cases.
7889
7890         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7891         inside the inset before the call.
7892
7893 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7894
7895         * buffer.[Ch] (getBibkeyList): make it const.
7896
7897 2002-04-12  Juergen Vigna  <jug@sad.it>
7898
7899         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7900
7901         * text2.C (getCursorX): new helper function
7902         (setCursor): compute also ix_
7903         (setCursorFromCoordinates): set also ix.
7904
7905         * lyxcursor.h: added ix_ and helper functions.
7906
7907         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7908
7909         * buffer.C (insertStringAsLines): dont break paragraph if the this
7910         paragraph is inside an inset which does not permit it!
7911
7912         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7913         also with no chars on this paragraph.
7914         (paintRowText): only paint stuff if it's inside the workarea!
7915
7916         * paragraph.C (breakParagraph): honor keepempty flag and break the
7917         paragraph always below not above.
7918
7919         * BufferView2.C (unlockInset): update the paragraph layout on inset
7920         unlock as we changed paragraph in such a case.
7921
7922         * lyxfind.C (LyXFind): clear the former selection if not found!
7923
7924         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7925         again called in insertChar().
7926
7927         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7928         an inset which uses the whole row!
7929         (rightMargin): ditto.
7930         (insertChar): force a rebreak if we inserted an inset!
7931
7932 2002-03-28  Herbert Voss  <voss@lyx.org>
7933
7934         * lyxlength.[Ch]: add inBP() to get the right PS-point
7935         units (BigPoint). With inPixels we have rounding errors
7936
7937 2002-04-11  Juergen Vigna  <jug@sad.it>
7938
7939         * text2.C (setCursorFromCoordinates): set iy to the right value.
7940         (setCursor): add check if row->previous exists!
7941
7942         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7943         an old float_type as this was the case in the old code!
7944
7945         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7946
7947         * BufferView2.C (showLockedInsetCursor): use iy
7948         (fitLockedInsetCursor): ditto
7949
7950         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7951         locked insets as there we have the right value now.
7952
7953         * lyxcursor.C: added iy_ variable and iy functions to set to the
7954         baseline of cursor-y of the locked inset.
7955
7956         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7957         (setCursor): fixed for insets which need a full row.
7958
7959         * text.C (rowLastPrintable): don't ignore the last space when before
7960         an inset which needs a full row.
7961         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7962         as last character of a row when before a inset which needs a full row.
7963
7964 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7965
7966         * version.C.in: update date
7967
7968         * text2.C (fullRebreak): try to always return true and see what
7969         happens...
7970
7971 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7972
7973         * MenuBackend.C (expand): use Floating::listName
7974
7975         * FloatList.C (FloatList): add listName argument to the built-in
7976         floats
7977
7978         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7979         text associated with the float.
7980
7981 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7982
7983         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7984
7985 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7986
7987         * ShareContainer.h: add a couple of missing typenames.
7988
7989 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7990
7991         * lyxrc.C (getDescription): use _() correctly rather than N_().
7992
7993 2002-03-28  Herbert Voss  <voss@lyx.org>
7994
7995         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7996         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7997
7998 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8001         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8002
8003 2002-03-29  Juergen Vigna  <jug@sad.it>
8004
8005         * lyxfunc.C (dispatch): add a missing fitCursor call.
8006
8007         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8008         it was scrolled by a cursor move, so return the bool status.
8009
8010         * BufferView.C (fitCursor): return the bool flag also to the outside
8011         world as this is needed.
8012
8013         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8014
8015         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8016         call the edit() as it is not needed (and wrong) IMO.
8017         (workAreaButtonPress): set the screen_first variable before evt.
8018         unlock the inset as this may change screen_first and then we have
8019         a wrong y position for the click!
8020
8021 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8022
8023         * MenuBackend.C (expand): another translation that I missed
8024
8025 2002-03-28  Juergen Vigna  <jug@sad.it>
8026
8027         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8028
8029         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8030
8031 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8032
8033         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8034
8035         * MenuBackend.C (expand): fix export/view/update when there is no
8036         document open.
8037
8038 2002-03-27  Herbert Voss  <voss@lyx.org>
8039
8040         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8041         and text%
8042
8043 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8044
8045         * bufferview_funcs.C (currentState): only show paragraph number
8046         for is DEVEL_VERSION is set.
8047
8048         * lyxfunc.C (dispatch): put warning in INFO channel
8049
8050         * MenuBackend.C (expand): translate the name of floats
8051
8052         * FloatList.C (FloatList): mark the float names for translation
8053
8054         * converter.C (convert): use LibScriptSearch
8055
8056 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8057
8058         * MenuBackend.C (defaults): fix default menu (we might as well get
8059         rid of it...)
8060
8061 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8062
8063         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8064         directory.
8065
8066 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8067
8068         * lyxvc.C: reorder includes.
8069
8070 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8073           properly
8074
8075 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8076
8077         * CutAndPaste.C: change layouts earlier on paste
8078           to avoid crashing when calling getFont()
8079
8080 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8081
8082         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8083         irritating #error.
8084
8085 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8086
8087         * WorkArea.C: remove 'Pending' debug message.
8088
8089         * most files: ws cleanup
8090
8091         * buffer.[Ch]: ws changes
8092
8093         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8094
8095 2002-03-21  Juergen Vigna  <jug@sad.it>
8096
8097         * tabular.C (SetMultiColumn): collapse also the contents of the
8098         cells and set the last border right. Added a Buffer const * param.
8099
8100 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8101
8102         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8103         linking or not.
8104
8105 2002-03-19  Juergen Vigna  <jug@sad.it>
8106
8107         * text2.C (clearSelection): reset also xsel_cache.
8108
8109         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8110         where it needs to be called (John tells us to do so too :)
8111         (selectionLost): reset sel_cache.
8112
8113         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8114
8115 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * text2.C (setCursorIntern): put debuging code in INSETS channel
8118
8119 2002-03-19  André Pönitz <poenitz@gmx.net>
8120
8121         * lyxfunc.C: tiny whitespace change
8122
8123 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8124
8125         * ToolbarDefaults.C (init):
8126         * LyXAction.C (init):
8127         * commandtags.h:
8128         * BufferView_pimpl.C (Dispatch):
8129         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8130
8131 2002-03-19  Allan Rae  <rae@lyx.org>
8132
8133         * exporter.C (Export): removeAutoInsets before doing anything else.
8134         While I've just introduced a dependency on BufferView this really is
8135         the best place to clean the buffer otherwise you need to cleanup in
8136         a dozen places before calling export or cleanup in a dozen functions
8137         that export calls.
8138
8139         * converter.C (runLaTeX):
8140         (scanLog): Better handling of removeAutoInsets and screen updates.
8141
8142         * lyxfunc.C (dispatch): small whitespace changes
8143
8144 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8145
8146         * WorkArea.C (C_WorkAreaEvent): return a value.
8147         (event_cb): return 1 if we handled the event, 0 otherwise.
8148
8149         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8150
8151 2002-03-18  Juergen Vigna  <jug@sad.it>
8152
8153         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8154         (GetAdditionalWidth): ditto.
8155         (RightLine): ditto.
8156         (LeftLine): ditto.
8157
8158         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8159         inset if we're there actually (probably not used right now but this
8160         is the direction to go for unifying code).
8161         (paste): disable code to clear the selection.
8162
8163         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8164         inside an InsetText and move the check further up as it is in the
8165         wrong place.
8166
8167         * text2.C (pasteSelection): set a selection over the pasted text.
8168
8169 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8170
8171         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8172         and libgraphics to build on Cygwin.
8173
8174 2002-03-15  Juergen Vigna  <jug@sad.it>
8175
8176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8177         inserting an Inset into the paragraph. I know this is not the best
8178         fix but we already use current_view in CutAndPaste so we will remove
8179         all of it's using at the same time.
8180
8181         * buffer.C (sgmlError): deactivated function till it is rewritten in
8182         the right mode, now it can create problems.
8183
8184         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8185         before accessing it.
8186
8187 2002-03-14  Juergen Vigna  <jug@sad.it>
8188
8189         * undo_funcs.C (textHandleUndo): do the right thing when updating
8190         the inset after the undo/redo.
8191
8192         * text2.C (setCursor): just some testcode for #44 not ready yet.
8193
8194         * undo_funcs.C (textHandleUndo): set the next() and previous()
8195         pointers of the paragraph to 0 before deleting otherwise we have
8196         problems with the Paragraph::[destructor].
8197
8198         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8199         on a paragraph insertion.
8200
8201 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8202
8203         * buffer.C (asciiParagraph): use += operator for char append to
8204         string.
8205
8206         * paragraph.C (getFontSettings): compare >= not just >
8207         (highestFontInRange): ditto
8208         (setFont): ditto
8209
8210 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8211
8212         * paragraph.C: change several algorithm to be more appripriate for
8213         the problem domain. This is lookip in FontList and in the InsetList.
8214
8215 2002-03-13  André Pönitz <poenitz@gmx.net>
8216
8217         * commandtags.h:
8218         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8219
8220 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * commandtags.h:
8223         * LyXAction.C:
8224         * lyxfunc.C:
8225         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8226
8227 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8228
8229         * Painter.C (display): anon helper function, adjust code for this
8230         change.
8231         (pixmap): remove function.
8232
8233         * Painter.h: remove private display variable.
8234
8235         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8236
8237 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8238
8239         * WorkArea.[Ch]: remove figinset_canvas cruft.
8240
8241 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8242
8243         * lyxtextclass.C (operator): add one item cache optimization.
8244
8245         * bufferlist.h: doxy changes
8246
8247         * bufferlist.C: ws changes
8248
8249         * DepTable.[Ch] (ext_exist): place const in the right spot.
8250
8251         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8252         call resizeInsets.
8253         (workAreaExpose): call resizeInsets when the with BufferView changes.
8254         (Dispatch): adjust for protectedBlank removal
8255         (specialChar): call updateInset if the insert went ok.
8256
8257         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8258         specialChar instead.
8259
8260         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8261
8262         * BufferView.h: doxy change
8263
8264         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8265
8266         * lyxtextclass.C (operator[]): remove non-const version
8267         (defaultLayout): remove non-const version
8268
8269 2002-03-12  Juergen Vigna  <jug@sad.it>
8270
8271         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8272         did resize the LyXText too.
8273
8274         * buffer.C (readLyXformat2): set layout information on newly allocated
8275         paragraphs.
8276
8277         * tabular.C (OldFormatRead): set layout information on the paragraph.
8278
8279 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8280
8281         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8282
8283 2002-03-11  Juergen Vigna  <jug@sad.it>
8284
8285         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8286         plainly wrong.
8287         (resizeCurrentBuffer): force also the insets to resize themselfes.
8288         (moveCursorUpdate): fixed up for InsetText.
8289
8290 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8291
8292         * commandtags.h:
8293         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8294         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8295         value of Dialogs::tooltipsEnabled().
8296         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8297
8298 2002-03-08  Juergen Vigna  <jug@sad.it>
8299
8300         * BufferView_pimpl.C (updateInset): update inset inside inset also
8301         if it isn't inside theLockingInset().
8302
8303 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8304
8305         * buffer.C (asciiParagraph): redo some of the word and line length
8306         handling.
8307         (getLists): look for Caption instead of caption.
8308
8309 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8310
8311         * buffer.C (Buffer): initialize niceFile to true
8312         (makeLaTeXFile):
8313         (makeLinuxDocFile):
8314         (makeDocBookFile): make sure niceFile is true on exit
8315
8316 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8317
8318         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8319
8320 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8321
8322         * LyXSendto.C: remove.
8323         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8324         * lyx_gui.C: remove now-redundant comment.
8325         * ColorHandler.h: remove forward declaration of class WorkArea.
8326         * lyxfunc.C: remove #include "WorkArea.h".
8327
8328 2002-03-07  Juergen Vigna  <jug@sad.it>
8329
8330         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8331         got moved away with the DEPM and also set the inset_owner always
8332         right which before could have been omitted.
8333
8334 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8337         wanted layout is not found.
8338
8339 2002-03-07  Juergen Vigna  <jug@sad.it>
8340
8341         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8342
8343 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8344
8345         * paragraph.C (breakParagraph): use default layout not layout of
8346         prev paragraph.
8347         (Paragraph): clear ParagraphParameters.
8348
8349 2002-03-06  Juergen Vigna  <jug@sad.it>
8350
8351         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8352         otherwise it would not be a valid lenght. Fixed a special case in
8353         the minipage compatibility read where we end the document with a
8354         minipage.
8355
8356         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8357         was set as it could be 0 for InsetTexts first entry.
8358
8359 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8360
8361         * paragraph.C (writeFile): if layout is empty write out
8362         defaultLayoutName().
8363
8364         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8365         file without named layout we set layout to defaultLayoutName().
8366
8367 2002-03-06  Juergen Vigna  <jug@sad.it>
8368
8369         * CutAndPaste.C (copySelection): set layout for new paragraph.
8370
8371         * text.C (prepareToPrint): leave ERT inset left aligned
8372         (leftMargin): don't indent paragraphs inside ERT insets
8373
8374 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8375
8376         * paragraph.C (breakParagraph): dont call clear do the work manually
8377
8378         * paragraph.[Ch] (clear): remove function
8379
8380 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8381
8382         * paragraph.C (Paragraph): dont call clear, the work has already
8383         been done.
8384
8385         * lyxtextclass.C (operator): assert if n is empty
8386
8387         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8388         work manually instead.
8389
8390 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * BufferView_pimpl.C: protect selectionLost against text == 0
8393
8394 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8395
8396         * text.C (breakParagraph): fix a setting layout to '0' problem.
8397
8398 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8399
8400         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8401         final location of file, for the included files, and graphics.
8402
8403 2002-03-05  Juergen Vigna  <jug@sad.it>
8404
8405         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8406
8407 2002-03-04  Juergen Vigna  <jug@sad.it>
8408
8409         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8410
8411         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8412         last column of multicolumn cells.
8413         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8414
8415 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8416
8417         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8418         file if it doesn't go to a temporary file.
8419
8420         * buffer.C (sgmlOpenTag):
8421         (sgmlCloseTag):  remove extra newline insertion.
8422
8423 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8424
8425         * text.C (getRowNearY): comment out debug msg
8426
8427 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8428
8429         * text2.C: first -> first_y
8430
8431         * text.C (getRowNearY): add some attemts at a possible
8432         optimization, not working.
8433
8434         * tabular.[Ch]: add BufferParams to several function so that newly
8435         created paragraph can be initialized to he default layotu for the
8436         buffers textclass.
8437
8438         * tabular-old.C (ReadOld): add buf->params to call of Init
8439
8440         * screen.C: rename text->first to text->first_y
8441
8442         * paragraph.C (breakParagraph): always set layout in the broken
8443         paragraph
8444
8445         * lyxtextclass.C (Read): remove lowercase
8446         (hasLayout): ditto
8447         (operator): ditto
8448         (delete_layout): ditto
8449
8450         * lyxtext.h: rename first -> first_y
8451
8452         * lyxlayout.C (Read): remove lowercase
8453         (name): ditto
8454         (setName): ditto
8455         (obsoleted_by): ditto
8456
8457         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8458
8459         * buffer.C (insertErtContents): add params are to InsetERT
8460         (parseSingleLyXformat2Token): add code to check if a paragraphs
8461         layout really exist.
8462         (parseSingleLyXformat2Token): add params to several inset
8463         constructors
8464         (asciiParagraph): remove lowercase, do the layout comparisons with
8465         no_case
8466
8467         * BufferView_pimpl.C (cursorNext): first -> first_y
8468         (resizeCurrentBuffer): first -> first_y
8469         (updateScrollbar): first -> first_y
8470         (scrollCB): first -> first_y
8471         (workAreaMotionNotify): first -> first_y
8472         (workAreaButtonPress): first -> first_y
8473         (checkInsetHit): first -> first_y
8474         (cursorPrevious): first -> first_y
8475         (cursorNext): first -> first_y
8476         (Dispatch): add buffer_->params to severl inset contructors
8477
8478 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8479
8480         * lyxlayout.C (Read): remove some debug info that I forgot.
8481
8482         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8483         clean up the code slightly.
8484         (makeLinuxDocFile): ditto
8485         (makeDocBookFile): ditto
8486
8487         * text2.C: layout as string
8488
8489         * text.C: layout as string
8490
8491         * paragraph_pimpl.C: layout as string
8492
8493         * paragraph.[Ch]: layout as string
8494
8495         * lyxtextclasslist.[Ch]: layout as string
8496
8497         * lyxtextclass.[Ch]: layout as string
8498
8499         * lyxtext.h: layout as string
8500
8501         * lyxlayout.[Ch]: layout as string
8502
8503         * lyx_cb.C: layout as string
8504
8505         * bufferview_funcs.C: layout as string
8506
8507         * bufferparams.C: layout as string
8508
8509         * buffer.C: layout as string
8510
8511         * LyXView.[Ch]: layout as string
8512
8513         * LaTeXFeatures.[Ch]: layout as string
8514
8515         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8516
8517         * BufferView_pimpl.C: change current_layout to string, remove
8518         lyx::layout_type.
8519         (Dispatch):
8520         (smartQuote):
8521         (insertInset):
8522         (workAreaButtonRelease): layout as string
8523
8524         * BufferView2.C (unlockInset): adjust
8525
8526         * vspace.C (asLatexCommand): use an explict temp variable.
8527
8528 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8529
8530         * Makefile.am: use FRONTEND_*
8531
8532 2002-03-01  Juergen Vigna  <jug@sad.it>
8533
8534         * tabular.C (SetWidthOfMulticolCell): changed to something better
8535         I hope but still work in progress.
8536         (recalculateMulticolumnsOfColumn): renamed function from
8537         recalculateMulticolCells as it is more appropriate now.
8538         (SetWidthOfCell): calculate multicols better.
8539
8540 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8541
8542         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8543
8544         * lyxfunc.C (processKeySym): print sequence also if it is
8545         `deleted' (complete)
8546
8547         * kbsequence.C (print): print sequence even if it is deleted
8548         (complete would be a better word, actually).
8549
8550         * lyxfunc.C (dispatch): print complete options after a prefix key
8551
8552         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8553
8554 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8555
8556         * text2.C (setCharFont): eliminate setCharFont code duplication.
8557
8558 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8561         LFUN_TABULAR_FEATURE (bug #177)
8562
8563 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8564
8565         * Makefile.am: remove figure.h
8566
8567 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8568
8569         * Bufferview_pimpl.C:
8570         * CutAndPasteC:
8571         * LaTeX.C:
8572         * LyXSendto.C:
8573         * buffer.C:
8574         * bufferlist.C:
8575         * converter.C:
8576         * language.C:
8577         * lyxfunc.C:
8578         * lyxvc.C:
8579         * paragraph.C:
8580         * text.C:
8581         * text2.C: remove #include "lyx_gui_misc.h".
8582
8583         * LaTeX.C: added #include <cstdio>
8584
8585 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8586
8587         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8588         that the paragraph following this one can have.
8589
8590         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8591
8592         * vspace.C (asLatexCommand): fix bogus gcc warning
8593
8594         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8595
8596 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8597
8598         * text2.C (setLayout): get rid of redundant code
8599
8600 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8601
8602         * text2.C (incDepth): make sure depth cannot be increased beyond
8603         reasonable values.
8604
8605 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8606
8607         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8608         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8609
8610         * PainterBase.h (image):
8611         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8612         a LyXImage const *.
8613
8614 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * BufferView.C:
8617         * BufferView.h:
8618         * BufferView_pimpl.C:
8619         * BufferView_pimpl.h:
8620         * LaTeXFeatures.C:
8621         * LyXAction.C:
8622         * LyXView.C:
8623         * Makefile.am:
8624         * UpdateList.h:
8625         * UpdateList.C:
8626         * buffer.C:
8627         * figure.h:
8628         * figureForm.C:
8629         * figureForm.h:
8630         * figure_form.C:
8631         * figure_form.h:
8632         * lyx_cb.C:
8633         * lyx_gui.C:
8634         * lyx_gui_misc.C:
8635         * lyxfunc.C:
8636         * sp_base.h:
8637         * sp_ispell.h:
8638         * sp_pspell.h:
8639         * sp_spell.C: remove fig inset, and the crap house of
8640           cards that follows it
8641
8642 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8643
8644         * Makefile.am:
8645         * lyxserver.C:
8646         * os2_defines.h:
8647         * os2_errortable.h:
8648         * nt_defines.h: move .h into support/
8649
8650         * vms_defines.h: remove
8651
8652         * WorkArea.C: add space in debug output
8653
8654         * text2.C:
8655         * paragraph.C:
8656         * buffer.C: add WITH_WARNINGS
8657
8658         * vc-backend.h:
8659         * vc-backend.C:
8660         * bufferlist.C: s/retrive/retrieve/, add docs
8661
8662         * vspace.h:
8663         * vspace.C:
8664         * kbmap.h:
8665         * lyxlength.h:
8666         * lyxgluelength.h:
8667         * length_common.h:
8668         * chset.h:
8669         * chset.C: add docs
8670
8671         * lyxgui.C: add ID to X error handler
8672
8673         * lyxtestclass.c: fix typo
8674
8675 2002-02-26  Juergen Vigna  <jug@sad.it>
8676
8677         * tabular_funcs.C (write_attribute): changed so that some default
8678         attributes are not written at all.
8679         (getTokenValue): set default values before trying to read the
8680         value so we have the return value always set as default if we don't
8681         find the token we search for.
8682
8683         * tabular.C (Write): write bools as bools not as strings!
8684
8685 2002-02-22  Juergen Vigna  <jug@sad.it>
8686
8687         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8688         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8689
8690         * text.C (leftMargin): don't add an indent for paragraphs inside
8691         tabular cells (fix #208).
8692
8693 2002-02-21  José Matos  <jamatos@fep.up.pt>
8694
8695         * tabular.C (docBook): fixed support for long tables.
8696
8697 2002-02-20  Juergen Vigna  <jug@sad.it>
8698
8699         * text2.C (getFont): get the drawing font of the Inset if this
8700         paragraph is inside an inset (only important for InsetERT for now).
8701
8702         * buffer.C (insertErtContents): use new lanugage params in ERT
8703         constructor.
8704
8705         * CutAndPaste.C: commenting out seemingly uneeded code.
8706
8707 2002-02-19  Allan Rae  <rae@lyx.org>
8708
8709         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8710         Iterators might be simple to use but they also get invalidated.
8711         (removeAutoInsets): renamed saved cursor tracking variables and added
8712         some comments to clarify what everything does.
8713
8714 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8715
8716         * Chktex.C:
8717         * LaTeX.C:
8718         * LyXSendto.C:
8719         * converter.C:
8720         * lyx_cb.C:
8721         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8722         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8723
8724         * lyxfunc.C:
8725         * vc-backend.h: remove #include "support/syscall.h"
8726
8727         * LaTeX.C:
8728         * LyXSendto.C:
8729         * converter.C: rearrange #includes in Lars' approved fashion.
8730
8731         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8732         forward declare class Timeout in the header file.
8733
8734         * XFormsView.C: changes due to the above.
8735
8736         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8737         similar to LyXView.
8738
8739         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8740         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8741
8742 2002-02-18  José Matos  <jamatos@fep.up.pt>
8743
8744         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8745         insets contents.
8746
8747 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8748
8749         * a lot of small ws changes
8750         * add a lot of using std::XXX
8751         * use std construcs some places where approp.
8752         * use some exisint stuff from lyxfunctional where approp.
8753         * Make file changes to use partial linking (lets test this now...)
8754
8755 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8756
8757         * Chktex.C:
8758         * buffer.C:
8759         remove #include "support/syscontr.h" as it's redundant. Always has been.
8760
8761         * Chktex.C:
8762         * LaTeX.C:
8763         * LyXSendto.C:
8764         * converter.C:
8765         * lyx_cb.C:
8766         * vc-backend.C:
8767         change Systemcalls::System to Systemcalls::Wait and
8768         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8769         No change of functionality, just reflects the stripped down Systemcalls
8770         class.
8771
8772 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8773
8774         * debug.[Ch]: add a GRAPHICS type to the enum.
8775
8776 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8779
8780         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8781         there is an inset.
8782
8783 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8786         match the changes below.
8787
8788         * text2.C (toggleInset): if there is not editable inset at cursor
8789         position, try to see if cursor is _inside_ a collapsable inset
8790         and close it.
8791
8792 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8793
8794         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8795         document menu has a nice checkbox
8796
8797 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8798
8799         * lyxlength.C (asLatexString): change PW to output as percent of
8800         \textwidth.
8801
8802         * lengthcommon.C: change '%' to 't%'
8803
8804         * lyxfunc.C (dispatch): a few comments from Martin
8805
8806 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * WorkArea.h:
8809         * WorkArea.C:
8810         * BufferView_pimpl.h:
8811         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8812           the X selection.
8813
8814 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * vspace.C (inPixels): fix compiler warning
8817
8818 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8819
8820         * lyxfunc.C (getStatus): fix status message for disabled commands.
8821
8822 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8823
8824         * BufferView_pimpl.C: fix crash on close buffer
8825         during selection (#227)
8826
8827 2002-01-27  Herbert Voss  <voss@lyx.org>
8828
8829         * buffer.C: link old Figure to new graphic inset
8830
8831 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * FontLoader.C (getFontinfo): Change the latex font names in order
8834         to match the names of type1inst.
8835
8836 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8837
8838         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8839
8840         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8841         (extchanged): ditto
8842         (ext_exist): ditto
8843         (remove_files_with_extension): ditto
8844         (remove_file): ditto
8845         (write): ditto
8846
8847         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8848         document is smaller than the work area height. Do not initialize
8849         static variables to 0.
8850
8851 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8854
8855         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8856         LFUN_LAYOUT_PARAGRAPHS.
8857
8858         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8859         tabular. It is possible to provide a possible cell, which will
8860         typically be the actcell from the corresponding insettabular
8861
8862         * lyxfunc.C (getStatus): small cleanup; disable
8863         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8864         true
8865
8866 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8867
8868         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8869
8870         * paragraph.C (startTeXParParams):
8871         (endTeXParParams): new methods. The LaTeX code to
8872         start/end paragraph formatting
8873         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8874         empty (fixes bug #200)
8875
8876         * vspace.C (inPixels): adapt to the change below
8877         (inPixels): [later] more cleanups (remove unused variables)
8878
8879         * lyxlength.C (inPixels): change to use a width and a height as
8880         parameter.
8881
8882 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8885         Replaced with \paperwidth
8886
8887         * DepTable.C (insert): add std:: qualifier
8888
8889 2002-01-18  Allan Rae  <rae@lyx.org>
8890
8891         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8892         updated also?
8893
8894         * text.C (drawInset): Turned out I didn't know enough about how
8895         rebreaking worked.  This fixes most of the redraw problems.  I see
8896         an occasional cursor trail when a line is broken now and the cursor
8897         placement can seem out by a few pixels also after a rebreak.
8898
8899 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * buffer.C (parseSingleLyXformat2Token): update because minipage
8902         width is now a LyXLength
8903
8904         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8905
8906         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8907         math insets
8908
8909 2002-01-17  Juergen Vigna  <jug@sad.it>
8910
8911         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8912
8913         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8914         is set correctly and the inset is updated correctly.
8915
8916 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8919         the beginning of the loop.
8920
8921 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8922
8923         * lyxrc.C: improve help for use_scalable_fonts
8924
8925 2002-01-17  Allan Rae  <rae@lyx.org>
8926
8927         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8928
8929 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8932         make sure to set their inset_owner to the right value (bug #171)
8933
8934 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8935
8936         * DepTable.h
8937         * DepTable.C: Implement mtime checking to reduce time spent doing
8938         CRCs.
8939
8940 2002-01-16  Juergen Vigna  <jug@sad.it>
8941
8942         * tabular.C (GetAdditionalHeight): one of error fixed.
8943
8944         * lyxrc.C (output): small fix in writing use_pspell.
8945
8946 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8947
8948         * sp_base.h: #include LString.h
8949
8950 2002-01-16  Allan Rae  <rae@lyx.org>
8951
8952         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8953         Can someone check this please?
8954
8955         * text.C (drawInset): It was possible that p.row would be removed by
8956         breakAgainOneRow upsetting a few other settings.  There may be another
8957         small tweak possible by setting need_break_row = 0 when p.row has been
8958         removed but I don't know enough about the logic here.
8959
8960 2002-01-15  Allan Rae  <rae@lyx.org>
8961
8962         * text.C (insertChar): removed conditional truism.
8963
8964         * BufferView2.C (removeAutoInsets): More tweaks.
8965         cur_par_prev could be a stray pointer.  Check for trailing empty line
8966         in case last line was cur_par and only had an error inset on it.
8967
8968 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8971         absolute
8972
8973         * vc-backend.C (most methods):
8974         * exporter.C (Export):
8975         * converter.C (convert):
8976         (runLaTeX):
8977         * LyXSendto.C (SendtoApplyCB):
8978         * lyxfunc.C (dispatch):
8979         (menuNew):
8980         (open):
8981         (doImport):
8982         * lyx_cb.C (AutoSave):
8983         (InsertAsciiFile):
8984         * BufferView_pimpl.C (MenuInsertLyXFile):
8985         * buffer.C (runChktex): use Buffer::filePath().
8986
8987         * buffer.h: rename filename to filename_; rename filepath to
8988         filepath_ and make it private
8989         (filePath): new method
8990
8991         * buffer.C (writeFile): use fileName()
8992         (getLatexName):
8993
8994         * lyx_main.C (init): fix starting  of LyX when the binary is a
8995         link from so,ewhere else.
8996
8997         * minibuffer.C: include <cctype> for isprint
8998
8999 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9000
9001         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9002         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9003         name clash with InsetCollapsable's width function.
9004
9005 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9006
9007         * lastfiles.C: include <iterator>
9008
9009 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9010
9011         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9012         std::count.
9013
9014         * buffer.C (makeLaTeXFile): ditto.
9015         Also make loop operation more transparent.
9016
9017 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9018
9019         * ToolbarDefaults.C: remove trailing comma closing namespace.
9020
9021         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9022
9023         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9024         as in WorkArea.
9025
9026         * trans.C (Load): comment out unused variable, allowed.
9027
9028 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9029
9030         * minibuffer.[Ch] (append_char): new method to recieve input from the
9031         drop-down completion browser. If a key was pressed, then recieve this
9032         char and append it to the existing string.
9033         (peek_event): modify the positioning data passed to the completion
9034         browser so that it can be placed above the minibuffer rather than below.
9035 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9036
9037         * LyXAction.C (init): alloe error-next for readonly documents.
9038
9039         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9040         count.
9041
9042 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9043
9044         * bufferlist.C (readFile): create the buffer _after_ checking that
9045         the file exists.
9046
9047         * lyxfunc.C (verboseDispatch): fix handling of arguments
9048
9049         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9050
9051         * lyxrc.C: use string::erase() instead of initializing to "".
9052
9053
9054 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * BufferView_pimpl.h:
9057         * BufferView_pimpl.C:
9058         * WorkArea.h:
9059         * WorkArea.C:
9060         * text2.C: tell X when we have made a selection for copying
9061
9062 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * BufferView_pimpl.C (MenuInsertLyXFile):
9065         * lyxfunc.C (menuNew):
9066         (open):
9067         (doImport): add shortcuts to directory buttons
9068
9069         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9070         open a float)
9071
9072         * lyxfunc.C (setStatusMessage):
9073         (getStatusMessage): new methods
9074         (getStatus):use setStatusMessage instead of setErrorMessage
9075         (dispatch): when function is disabled, set error message here
9076         [instead of in getStatus previously]
9077
9078         * BufferView_pimpl.C (workAreaButtonRelease): update
9079         toolbar/menubar here too.
9080
9081 2002-01-13  Allan Rae  <rae@lyx.org>
9082
9083         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9084         Now seems indestructible.  Remaining task is to audit all other
9085         code affected by deleteEmptyParagraphMechanism.  One small quirk
9086         left is that an empty document with an error in the preamble can
9087         be made to report an error but no error box appears.  I don't know
9088         where it goes.
9089         (removeAutoInsets): Improved comments.
9090
9091 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9092
9093         * Thesaurus.h:
9094         * Thesaurus.C: update for Aiksaurus 0.14
9095
9096 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9097
9098         * text2.C (firstParagraph): removed member function, all uses
9099         replaces with ownerParagraph
9100         (redoParagraphs): here
9101         (updateInset): here
9102         (toggleAppendix): here
9103         * BufferView2.C (insertErrors): here
9104         (setCursorFromRow): here
9105
9106 2002-01-13  Allan Rae  <rae@lyx.org>
9107
9108         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9109         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9110         There is still a way to segfault this although you may have to do this
9111         multiple times: Have an InsetERT with an unknown command in it.
9112         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9113         <down-arrow>, <Enter> again, View->DVI, BANG!
9114
9115         * text2.C (setCursor):
9116         (deleteEmptyParagraphMechanism):
9117         * lyxtext.h (setCursor):
9118         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9119         Making use of the return value may help fix other bugs.
9120
9121 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9122
9123         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9124
9125         * LyXView.C (updateMenubar): call MenuBar::update here
9126         (updateToolbar): but not here
9127         (showState): do not update toolbar/menubar
9128
9129         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9130         should need to care about that.
9131
9132         * lyxfunc.C (verboseDispatch): simplify a bit
9133         (getStatus): have a version which takes a pseudoaction, and
9134         another which requires a (kb_action,string).
9135
9136         * LyXAction.C (retrieveActionArg): make it work also when action
9137         is not a pseudo-action.
9138         (getActionName): simplify a bit
9139         (helpText):
9140
9141 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * lyxfunc.C (verboseDispatch): new families of methods with
9144         several ways to specify a command and a bool to indicate whether
9145         the command name and shortcut should be displayed in minibuffer
9146         (eventually, we could extend that to a finer bitmask like
9147         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9148         (dispatch): the pristine dispatch command which just, well,
9149         dispatchs! Note it still sets its result to minibuffer; I'm not
9150         sure we want that.
9151
9152         * lyxfunc.h: remove setHintMessage
9153
9154         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9155
9156 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9157
9158         * BufferView_pimpl.C (specialChar): delete new inset if we have
9159         not been able to insert it.
9160
9161         * kbmap.C: revert to using int instead of kb_action, since all we
9162         are dealing with is pseudo-actions.
9163
9164         * LyXAction.C (searchActionArg): change to return int instead of
9165         kb_action, since the result is a pseudoaction.
9166
9167 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9168
9169         * buffer.C (insertErtContents): Fix (partially) the font bug.
9170
9171 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9172
9173         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9174         as the other one is broken on my machine!
9175
9176 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9177
9178         * commandtags.h:
9179         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9180
9181 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9182
9183         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9184         reflect their actual use. Provide compatibility code for older lyxrc
9185         files.
9186
9187         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9188         FL_NORMAL_STYLE.
9189         change names of popup font variables in line with the changes to lyxrc.C
9190
9191 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * buffer.C (asciiParagraph): avoid outputing a word twice after
9194         an inset.
9195
9196         * lyxrc.C (getDescription): document that document_path and
9197         template_path can be empty.
9198
9199 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * LaTeXFeatures.C (getMacros):
9202         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9203
9204         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9205
9206         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9207         getPackages.
9208         (getPackages): rename feature "floats" to "float". Use an array to
9209         iterate over 'simple' features (i.e. just a \usepackage). Add
9210         handling of "amsmath" (renamed from "amsstyle").
9211
9212 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9213
9214         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9215         features list.
9216
9217 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9218
9219         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9220         FuncStaus::FuncStatus & FuncStaus::some_method().
9221
9222 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9223
9224         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9225         of the func_satus stuff. Edited and massaged in various ways by
9226         JMarc.
9227
9228         * lyxfunc.C (getStatus): use FuncStatus
9229
9230 2002-01-08  Juergen Vigna  <jug@sad.it>
9231
9232         * text.C (nextBreakPoint): use function Inset::isChar().
9233
9234         * paragraph.C (TeXOnePar): use function
9235         Inset::forceDefaultParagraphs.
9236
9237         * buffer.C (latexParagraphs): use function
9238         Inset::forceDefaultParagraphs.
9239
9240 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9241
9242         * lyx_gui.C (init): set the style of the menu popups to
9243         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9244
9245 2002-01-07  Juergen Vigna  <jug@sad.it>
9246
9247         * text.C (setHeightOfRow): small fix
9248         (prepareToPrint): don't look at alignment if we don't have the place
9249         for doing it.
9250
9251 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9252
9253         * box.C: New file. Move the Box methods and functions out of box.h,
9254         following Lars' suggestion.
9255
9256 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9257
9258         * box.h: #include "support/LOstream.h", needed for inlined function.
9259
9260         * lyxtextclass.C:
9261         * lyxtextclasslist.C: added some using std declarations.
9262
9263 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * box.h: make signed dimensions to allow insets wider than
9266           the screen (bug #162)
9267
9268         * BufferView_pimpl.C: add some insetHit debug
9269
9270 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * vc-backend.C: add FIXME
9273
9274 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9275
9276         * lyxfunc.C (getStatus): enable code for showing math font status
9277         in toolbar/menu.
9278
9279 2002-01-07  Juergen Vigna  <jug@sad.it>
9280
9281         * text.C (nextBreakPoint): removed debug output not needed anymore.
9282
9283 2002-01-06  Juergen Vigna  <jug@sad.it>
9284
9285         * text.C (nextBreakPoint): fixed up this function we had this bug
9286         since ever but now hopefully we break row better.
9287         (insertChar): we have to check if an inset is the next char as it
9288         could now happen that a large inset is causing a break.
9289
9290 2002-01-05  Juergen Vigna  <jug@sad.it>
9291
9292         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9293         if it doesn't like to be drawed.
9294
9295 2002-01-04  Juergen Vigna  <jug@sad.it>
9296
9297         * BufferView2.C (lockInset): forgot to set a cursor.
9298
9299         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9300
9301 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9302
9303         * FormMathsPanel.C:
9304         * FormMathsPanel.h
9305         * MathsSymbols.C:
9306         * form_maths_panel.C:
9307         * form_maths_panel.h:
9308         * form_maths_panel.fd: implemented sub- and super- buttons in math
9309         panel.
9310
9311         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9312         (or ^ space) to be used as in TeX (req'd by André).
9313
9314         * lyxfunc.C: Allow ^ and _ again to be used both as
9315         super/subscript (mathed) and as themselves (in text).
9316
9317 2002-01-03  Allan Rae  <rae@lyx.org>
9318
9319         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9320         "LyX" or the filename of the current buffer if it has one.  This is a
9321         modified form of John Levon's patch.
9322
9323         * XFormsView.C (setWindowTitle): also set icon title.
9324
9325         * LyXView.h (setWindowTitle): signature changed.
9326         * XFormsView.h (setWindowTitle): ditto.
9327
9328 2002-01-02  Juergen Vigna  <jug@sad.it>
9329
9330         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9331
9332 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9333
9334         * screen.C (topCursorVisible): introduce a temp var for
9335         text->cursor.row(), handle the case where this row is null. (kindo
9336         hachish)
9337
9338         * text2.C (setCursor): add a couple of asserts.
9339
9340         * paragraph.h (inset_iterator): add -> operator
9341
9342         * paragraph.[Ch] (autoDeleteInsets): remove member function
9343
9344         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9345         cursor pos correctly and handle inset deletion by itself.
9346         (insertErrors): move iterator declaration out of for expression
9347
9348         * lyxtextclass.C: add <algorithm>
9349
9350         * Makefile.am: added the new files to sources, removed layout.C
9351
9352         * layout.C: removed file
9353
9354         * layout.h: remove LYX_DUMMY_LAYOUT
9355
9356         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9357         layout.
9358
9359         * lyxlayout.[Ch]:
9360         * lyxtextclass.[Ch]:
9361         * lyxtextclasslist.[Ch]: new files
9362
9363         * include order changes to a lot of files, also changes because of
9364         the six new files.
9365
9366 2001-12-27  Juergen Vigna  <jug@sad.it>
9367
9368         * buffer.C (asciiParagraph): more fixes.
9369
9370         * tabular.C (ascii): make ascii export support export of only the
9371         data separated by a column-delimiter.
9372         (ascii): better support for ascii export.
9373
9374         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9375
9376 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9377
9378         * tabular_funcs.C: use a "using std::getline" instead of the
9379         previous fix from Angus (necessary for cxx + lyxstring)
9380
9381 2001-12-24  Juergen Vigna  <jug@sad.it>
9382
9383         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9384
9385         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9386         problems. First check a minipage also if we have some ert-contents
9387         (not only on par->size(), second set the right depth of the paragraph
9388         on the relink to the root-paragraph-list!
9389
9390         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9391         which then did not anymore update the main paragraphs on undo/redo!
9392
9393 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9394
9395         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9396         code. Support all font-changing funcs (even those which are not in
9397         menu currently). Support for reporting font settings in
9398         mathed (disabled until Andre provides a function on mathed's side).
9399
9400         * func_status.h (toggle): small helper function to set toggle
9401         state on a flag.
9402
9403 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9404
9405         * tabular_funcs.C: getline -> std::getline
9406
9407 2001-12-21  Juergen Vigna  <jug@sad.it>
9408
9409         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9410         accessed and could be 0 (I couldn't generate this but it seems
9411         Michael could!).
9412
9413 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9414
9415         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9416         * tabular_funcs.h: here and include iosfwd
9417
9418 2001-12-20  Juergen Vigna  <jug@sad.it>
9419
9420         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9421         inside inset but undo_par was.
9422
9423 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9424
9425         * Thesaurus.C: always include <config.h> in sources.
9426
9427         * Painter.h:
9428         * lyxlookup.h:
9429         * box.h: do not include <config.h> in header files
9430
9431         * text.C (paintLastRow): remove unused variable
9432
9433         * text.C (transformChar):
9434         (insertChar):
9435         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9436
9437         * Painter.C (text):
9438         * font.C (width): rewrite to use uppercase() instead of
9439         islower/toupper.
9440
9441         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9442
9443 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * lyxfind.C: clean up of find failure position change
9446
9447 2001-12-20  Juergen Vigna  <jug@sad.it>
9448
9449         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9450
9451         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9452         (TeXRow): added to LaTeX a single tabular row.
9453         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9454         (Latex): simplified and finally good LT-h/f support.
9455         (various_functions): just small adaptions for LT-h/f support.
9456
9457         * tabular_funcs.[hC]: added and moved here all not classfunctions
9458         of LyXTabular.
9459
9460 2001-12-19  Juergen Vigna  <jug@sad.it>
9461
9462         * tabular.[Ch]: better support for longtabular options (not finished
9463         yet!)
9464
9465 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * text.C (paintLastRow): use the label font instead of the font of
9468         the last character to compute the size of *_BOX. This makes more
9469         sense and avoids a crash with empty paragraphs.
9470         Use Painter::rectangle to draw EMPTY_BOX.
9471
9472 2001-12-19  Juergen Vigna  <jug@sad.it>
9473
9474         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9475         the paragraphs if the replaced paragraph is not the first one!
9476         Tried to delete not used paragraphs but does not work yet so for
9477         now it's inside #ifdef's and by default off!
9478
9479 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9480
9481         * MenuBackend.C: include "lyx_main.h" instead of declaring
9482         lastfiles (actually was declared as LastFiles* instead of a
9483         scoped_ptr).
9484
9485 2001-12-17  Juergen Vigna  <jug@sad.it>
9486
9487         * tabular.C (AppendColumn): applied John's fix
9488
9489 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * BufferView.h:
9492         * BufferView.C:
9493         * BufferView_pimpl.h:
9494         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9495
9496         * Makefile.am:
9497         * box.h: new start of class for above
9498
9499         * lyxfunc.C: ignore space-only minibuffer dispatches.
9500           Show the command name when it doesn't exist
9501
9502         * minibuffer.C: don't add empty lines to the history
9503
9504         * minibuffer.C: add a space on dropdown completion
9505
9506 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * text.C: fix line above/below drawing in insets
9509
9510 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9511
9512         * lyxlength.C (LyXLength): Initialize private variables.
9513
9514 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9515
9516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9517         when inserting error insets.
9518
9519 2001-12-13  Juergen Vigna  <jug@sad.it>
9520
9521         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9522         actually sometimes the before-paragraph.
9523         (setUndo): don't clear the redostack if we're not actually undoing!
9524
9525 2001-12-06  Juergen Vigna  <jug@sad.it>
9526
9527         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9528         and fixed redoing of main paragraph, so we can use it now ;)
9529
9530         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9531
9532 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9535         Juergen's request
9536
9537 2001-12-13  André Pönitz <poenitz@gmx.net>
9538
9539         * undostack.[Ch]:
9540         * undo_func.C: minor cleanup
9541
9542 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9543
9544         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9545         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9546         font in urw-fonts package which is marked as -urw-fontspecific and
9547         does not work (incidentally, changing the encoding in the
9548         fonts.dir of this package to -adobe-fontspecific fixes the
9549         problem).
9550
9551         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9552         is a crash when undoing first paragraph (Juergen, please take a
9553         look). THis does not mean the undo fix is wrong, just that it
9554         uncovers problems.
9555
9556         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9557         the (Paragraph*) version when needed instead of duplicating the
9558         code.
9559
9560         * text.C (workWidth): use Inset::parOwner to find out where the
9561         inset has been inserted. This is a huge performance gain for large
9562         documents with lots of insets. If Inset::parOwner is not set, fall
9563         back on the brute force method
9564
9565         * paragraph_pimpl.C (insertInset):
9566         * paragraph.C (Paragraph):
9567         (cutIntoMinibuffer): set parOwner of insets when
9568         inserting/removing them
9569
9570         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9571
9572 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9573
9574         * commandtags.h:
9575         * LyXAction.C:
9576         * lyx_main.C:
9577         * lyxfunc.C:
9578         * mathed/formulabase.C:
9579         * mathed/math_cursor.[Ch]:
9580         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9581
9582
9583 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9584
9585         * lyxlength.[Ch] (operator!=): new function
9586
9587 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * text.C (workWidth): use Inset::parOwner to find out where the
9590         inset has been inserted. This is a huge performance gain for large
9591         documents with lots of insets. If Inset::parOwner is not set, fall
9592         back on the brute force method
9593
9594         * paragraph_pimpl.C (insertInset):
9595         * paragraph.C (Paragraph):
9596         (cutIntoMinibuffer): set parOwner of insets when
9597         inserting/removing them
9598
9599         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9600
9601 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9602
9603         * tabular-old.C (getTokenValue):
9604         * tabular.C (getTokenValue):
9605         (write_attribute): new versions for LyXLength
9606         (everywhere): adjust the use of widths
9607
9608         * tabular.h: change the type of widths from string to LyXLength
9609
9610 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9611
9612         * paragraph.C: fixed missing line number count when exporting
9613         Environments to LaTeX file
9614
9615         * buffer.C: added informational message for checking line numbers.
9616
9617 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9618
9619         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9620         paragraph, do the 'double space' part, but not the 'empty
9621         paragraph' one.
9622
9623         * text.C (workWidth): small optimization
9624         (getLengthMarkerHeight): use minimal size for negative lengths.
9625
9626 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9627
9628         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9629
9630         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9631
9632 2001-12-11  André Pönitz <poenitz@gmx.net>
9633
9634         * FontLoader.C:
9635         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9636
9637 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * text2.C: keep selection on a setFont()
9640
9641 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * lyx_cb.C: another bv->text misuse, from insert label
9644
9645 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * kbsequence.h:
9648         * kbsequence.C: re-instate nmodifier mask
9649
9650 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9651
9652         * lyx_main.h: make lyxGUI private.
9653
9654 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9655
9656         * lyxfind.C: place the cursor correctly on failed search
9657
9658 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9659
9660         * text.C (getLengthMarkerHeight): for small heights, the arrows
9661         are not always on top/bottom of the text
9662         (drawLengthMarker): smaller arrows; take the left margin in
9663         account; draw also vfills.
9664         (paintFirstRow):
9665         (paintLastRow): remove special code for vfill and standard spaces,
9666         since everything is handled in drawLengthMarker now.
9667
9668 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9669
9670         * buffer.C (insertErtContents): try to handle font and language
9671         interaction a bit better.g
9672
9673         * ColorHandler.C (updateColor): change the hash to cover the whole
9674         LColor enum, ws cleanup
9675         (getGCLinepars): ditto
9676         (getGCLinepars): only lookup in the linecache once.
9677
9678 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * iterators.C (operator++): Make the iterator more robust
9681
9682         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9683         (John's patch)
9684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9685
9686 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * lyxtext.h:
9689         * text.C: better added space drawing
9690
9691 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * LyXView.C:
9694         * BufferView2.C: fix layout combo update on inset unlock
9695
9696 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * Makefile.am: don't compile unused files
9699
9700 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * lyxfunc.C:
9703         * commandtags.h:
9704         * LyXAction.C: remove old LFUN_LAYOUTNO
9705
9706 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * paragraph_pimpl.h:
9709         * paragraph_pimpl.C: isTextAt() doesn't need font param
9710
9711 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * lyxlex.h:
9714         * lyxlex.C: little cleanup
9715
9716 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * BufferView_pimpl.C: fix insertAscii for insets
9719
9720 2001-12-05  Juergen Vigna  <jug@sad.it>
9721
9722         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9723         set the right font on the "multi" paragraph paste!
9724
9725 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9726
9727         * trans_decl.h:
9728         * trans_mgr.[Ch]:
9729         * trans.[Ch]:
9730         * lyxgluelength.C:
9731         * lyxlength.C: remove out-commented code.
9732
9733         * BufferView_pimpl:
9734         * CutAndPaste.C:
9735         * DepTable.C:
9736         * buffer.C:
9737         * chset.C:
9738         * lastfiles.C:
9739         * lyxlex.C:
9740         * lyxlex_pimpl.C:
9741         * lyxserver.C:
9742         * screen.C:
9743         * tabular-old.C:
9744         * tabular.C:
9745         * text.C:
9746         * trans_mgr.C:
9747         * vc-backend.C: change "while(" to "while ("
9748
9749         * lyxlength.[Ch]: add zero function to check if length is zero or
9750         not
9751         * lyxgluelength.C: use it
9752
9753 2001-12-05  Allan Rae  <rae@lyx.org>
9754
9755         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9756         Works for 2.95.3, from what I understand of Garst's reports this should
9757         work for other g++ versions.  We're screwed if the abs(int) definition
9758         changed between bugfix releases of gcc.
9759
9760 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9761
9762         * text.C: fix chapter label offset !
9763
9764 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lyxtext.h:
9767         * text.C: fix hfill at end of line, clean up
9768
9769 2001-12-04  Juergen Vigna  <jug@sad.it>
9770
9771         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9772         that we force an update of the inset and it's owners if neccessary.
9773
9774 2001-12-03  Juergen Vigna  <jug@sad.it>
9775
9776         * text.C (rowLast): simplified code
9777
9778 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * lyxfunc.C: fix show options on timeout
9781
9782 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9783
9784         * screen.C (topCursorVisible): scroll half a page when the cursor
9785         reached top of bottom of screen
9786
9787 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * minibuffer.C: deactivate on loss of focus
9790
9791 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * vspace.[Ch] (operator!=): add operator.
9794
9795 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * BufferView_pimpl.C: refuse to open an inset when
9798         there's a selection.
9799
9800 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * BufferView_pimpl.C: allow to click on RHS of full row insets
9803
9804 2001-11-30  Juergen Vigna  <jug@sad.it>
9805
9806         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9807         insets for undo reasons.
9808
9809 2001-11-28  André Pönitz <poenitz@gmx.net>
9810
9811         * vspace.[Ch]: cosmetical changes
9812
9813 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * LyXAction.h:
9816         * LyXAction.C:
9817         * lyxfunc.h:
9818         * lyxfunc.C:
9819         * kbmap.h:
9820         * kbmap.C:
9821         * lyxrc.C:
9822         * kbsequence.h:
9823         * kbsequence.C: part re-write of old kb code
9824
9825         * Painter.C:
9826         * WorkArea.C: remove Lgb_bug_find_hack
9827
9828 2001-11-30  José Matos <jamatos@fep.up.pt>
9829
9830         * buffer.C (makeDocBookFile): add a comment to point a hack.
9831         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9832         Fixed a double write of labels.
9833
9834 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9835
9836         * LaTeX.C:
9837         * LaTeX.h Fixed bug in LaTeX class where it would not
9838         re-run latex if no depfiles were changed, but the .dvi was removed.
9839
9840 2001-11-28  André Pönitz <poenitz@gmx.net>
9841
9842         * all the files from the change on 2001/11/26:
9843         use lyx::layout_type instead of LyXTextClass::size_type
9844         use lyx::textclass_type instead of LyXTextClassList::size_type
9845
9846 2001-11-29  Juergen Vigna  <jug@sad.it>
9847
9848         * text.C: added support for paragraph::isFreeSpacing()
9849
9850         * buffer.C: same as above
9851
9852         * paragraph.h: inserted isFreeSpacing() function to enable
9853         FreeSpacing inside InsetERT.
9854
9855         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9856         of the paragraph's in the cut/copy buffer to 0!
9857
9858         * text2.C (removeRow): remove the assert as it can!
9859
9860         * lyxtext.h: added helper function firstRow returning firstrow and
9861         made firstrow private again.
9862
9863         * BufferView2.C (lockInset): don't relock if we're already locked!
9864
9865         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9866         the only paragraph.
9867         (removeRow): added Assert::(firstrow)
9868
9869         * debug.C: forgot to add INSETTEXT here.
9870
9871 2001-11-28  Juergen Vigna  <jug@sad.it>
9872
9873         * sp_spell.C (initialize): changed error text to more general
9874         spellchecker command use (not only ispell!)
9875
9876         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9877
9878         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9879
9880 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * vspace.C: initialise lyxgluelength on failure
9883
9884 2001-11-28  Allan Rae  <rae@lyx.org>
9885
9886         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9887         declaration & definition that looks like a function declaration.
9888
9889 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9890
9891         * BufferView2.C (copy):
9892         (copyEnvironment): do not clear the selection when doing a copy.
9893
9894         * text.C (paintFirstRow): compilation fix
9895
9896 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9897
9898         * tabular.C (Latex): correct line count when writing latex.
9899
9900 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * paragraph_pimpl.h:
9903         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9904           bug a bit
9905
9906 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * text.C:
9909         * LColor.h:
9910         * LColor.C: change vfillline->added_space
9911
9912         * text.C: add markers and text for added space
9913
9914         * vspace.C: fix comment
9915
9916 2001-11-28  André Pönitz <poenitz@gmx.net>
9917
9918         * paragraph.C: whitespace changes
9919         * all the other files from the change on 2001/11/26:
9920         change *::pos_type into lyx::pos_type
9921
9922 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9923
9924         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9925         language of the document when inserting error insets.
9926
9927 2001-11-26  André Pönitz <poenitz@gmx.net>
9928
9929         * BufferView_pimpl.[Ch]:
9930         *       CutAndPaste.C:
9931         * buffer.[Ch]:
9932         * lyxcursor.[Ch]:
9933         * lyxfind.C:
9934         * lyxfunc.C:
9935         * lyxrow.[Ch]:
9936         * paragraph.[Ch]:
9937         * paragraph_pimpl.[Ch]:
9938         * sp_spell.C:
9939         * text.C:
9940         * text2.C: reduce header dependencies, introduce type for positions
9941
9942 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * <various>: change to use Alert.h
9945
9946 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9947
9948         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9949         when encountering an unknown token.
9950         (readLyXformat2): Show an error message if there were unknown tokens.
9951
9952 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * BufferView2.C:
9955         * BufferView_pimpl.C:
9956         * buffer.C:
9957         * paragraph.h:
9958         * text.C:
9959         * text2.C: use par->isInset()
9960
9961 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * paragraph_pimpl.h:
9964         * paragraph_pimpl.C: cleanup
9965
9966 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9967
9968         * text2.C (removeRow):
9969         * text.C (setHeightOfRow): remove useless (and costly) call to
9970         getRow.
9971
9972 2001-11-20  Allan Rae  <rae@lyx.org>
9973
9974         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9975         Now need Inset*::checkInsertChar() to return true for appropriate
9976         cases so that the characters in the minibuffer will actually be
9977         inserted.
9978
9979 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9980
9981         * text.C: change the order of the includes.
9982         (workWidth): initialize it at once.
9983         (workWidth): make maxw unsigned
9984         (setHeightOfRow): remove unused variable (inset)
9985         (selectSelectedWord): remove unused variable (inset)
9986         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9987
9988 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9989
9990         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9991         server is not running.
9992         (openConnection):
9993         (closeConnection): add debug info when server is disabled.
9994
9995         * ColorHandler.C (getGCForeground): send debug message to GUI
9996         channel.
9997
9998         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9999
10000         * kbmap.C (bind): modify because return conventions of
10001         kb_sequence::parse have changed.
10002
10003         * kbsequence.C (parse): only ignore spaces and not any stupid
10004         control character. This avoids tests like s[i] <= ' ', which are
10005         guaranteed to fail with 8bit characters and signed chars.
10006         Change return code to string::npos when there have been no error
10007         (0 was a bad idea when error is at first character)
10008
10009 2001-11-14  José Matos  <jamatos@fep.up.pt>
10010
10011         * buffer.h:
10012         * buffer.C (simpleDocBookOnePar): removed unused argument.
10013
10014 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10017         insets which are part of a word. Paragraph::isLetter takes care of
10018         that now. Use Paragraph::isInset to identify insets.
10019         (selectSelectedWord): do not test for hyphenation break.
10020
10021         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10022         that protected spaces are considered as spaces.
10023
10024         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10025         Inset::isLetter.
10026
10027 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * lyxserver.h:
10030         * lyxserver.C: fix it. and small cleanup.
10031
10032 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * BufferView_pimpl.C: use inline helpers
10035
10036         * LaTeXFeatures.h:
10037         * LaTeXFeatures.C: fix typos
10038
10039         * Spacing.h:
10040         * Spacing.C: move spacing_string into class
10041
10042         * ToolbarDefaults.C: move stuff into namespace anon
10043
10044         * layout.h: update enum
10045
10046         * lyxfunc.C: use better debug
10047
10048         * minibuffer.h: fix typo
10049
10050         * debug.h:
10051         * debug.C:
10052         * WorkArea.C: add and use Debug::WORKAREA
10053
10054         * lyxtext.h:
10055         * text.C:
10056         * text2.C: code re-organisation, inline helpers
10057
10058 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10059
10060         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10061         std::vector.empty().
10062
10063 2001-11-09  Allan Rae  <rae@lyx.org>
10064
10065         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10066         '\n's after tables.  Tabular and ERT inset work now makes this no
10067         longer necessary.
10068
10069 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10070
10071         * minibuffer.h:
10072         * minibuffer.C: fix crash, improve drop-down completion
10073
10074 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * lyxserver.h:
10077         * lyxserver.C: invalidate fd's when doing endPipe()
10078
10079 2001-11-08  José Matos  <jamatos@fep.up.pt>
10080
10081         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10082         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10083
10084         * paragraph.h:
10085         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10086
10087 2001-11-07  José Matos  <jamatos@fep.up.pt>
10088
10089         * buffer.h:
10090         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10091         const qualifier.
10092
10093         * buffer.C (sgmlOpenTag):
10094         * buffer.C (sgmlCloseTag): removed debug info.
10095
10096         * buffer.h (sgmlOpenTag):
10097         * buffer.h (sgmlCloseTag): made public.
10098
10099 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10100
10101         * buffer.C (saveParamsAsDefaults):
10102         * lyx_cb.C (MenuLayoutSave): remove
10103
10104         * LyXAction.C (init):
10105         * commandtags.h:
10106         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10107
10108 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10109
10110         * buffer.C (setPaperStuff): removed from here...
10111
10112         * bufferparams.C (setPaperStuff): ... and moved there.
10113
10114 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10115
10116         * minibuffer.h:
10117         * minibuffer.C:
10118         * XFormsView.C: add support for drop-down completion
10119
10120 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10121
10122         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10123         commands.
10124
10125 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10126
10127         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10128         disabled.
10129
10130 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10131
10132         * lyx_main.C: change ref to known bugs
10133
10134 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10135
10136         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10137         to work around older babel problems.
10138
10139 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10140
10141         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10142
10143 2001-10-24  Juergen Vigna  <jug@sad.it>
10144
10145         * tabular-old.C (ReadOld): below variable changes reflected.
10146
10147         * tabular.[Ch]: added ltType struct for longtable header/footer
10148         defines and changed all instances where they are used. Added
10149         future support for double top/bottom rows.
10150
10151 2001-10-24  José Matos  <jamatos@fep.up.pt>
10152
10153         * buffer.h (docbookHandleCaption):
10154         * buffer.C (docbookHandleCaption): removed unused function.
10155         (makeDocBookFile): moved docbook supported version to v4.1.
10156
10157 2001-10-24  José Matos  <jamatos@fep.up.pt>
10158
10159         * tabular.h:
10160         * tabular.C (docbookRow): new function to export docbook code of a row.
10161         (DocBook): now honors the longtable flags.
10162
10163 2001-10-23  José Matos  <jamatos@fep.up.pt>
10164
10165         * LaTeXFeatures.h:
10166         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10167         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10168
10169         * buffer.C (makeLinuxDocFile):
10170         (makeDocBookFile): reworked the preamble, more clean, and with
10171         support for lyx defined entities. Changed the document declaration
10172         to be more XML friendly.
10173
10174         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10175         if we need to output XML that should be done with a filter.
10176
10177 2001-10-22  Juergen Vigna  <jug@sad.it>
10178
10179         * sp_pspell.h (class PSpell): add alive function needed in the
10180         controller to see if the spellchecker could be started.
10181
10182 2001-10-22  Juergen Vigna  <jug@sad.it>
10183
10184         * buffer.C (insertStringAsLines): modify the font for inserting
10185         chars in certain conditions by calling checkInsertChar(font).
10186
10187 2001-10-19  Juergen Vigna  <jug@sad.it>
10188
10189         * text.C (workWidth): use getRow instead of wrong algorithm.
10190         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10191
10192 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10193
10194         * lyxserver.h:
10195         * lyxserver.C:
10196         * lyx_main.h:
10197         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10198
10199 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10200
10201         * text.C (workWidth): do not search for the exact row when
10202         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10203         optimization for big documents.
10204
10205 2001-10-18  Juergen Vigna  <jug@sad.it>
10206
10207         * text.C (workWidth): new function with added Inset * parameter.
10208
10209 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10210
10211         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10212
10213         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10214         change return type of getColumnNearX.
10215
10216
10217         * text.C (changeRegionCase): use uppercase/lowercase instead of
10218         toupper/tolower.
10219         (leftMargin):
10220         (rightMargin): simplify code by factoring out the uses of
10221         textclasslist.
10222         (labelFill):
10223         (numberOfHfills):
10224         (setHeightOfRow):
10225         (appendParagraph): use Paragraph::size_type
10226
10227 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * vspace.C (asLatexString): add a missing break
10230
10231 2001-10-15  Herbert Voss  <voss@perce.de>
10232
10233         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10234
10235 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10236
10237         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10238         is not available.
10239
10240 2001-10-10  André Pönitz <poenitz@gmx.net>
10241
10242         * lyxfunc.C: removed greek_kb_flag.
10243
10244 2001-10-10  Herbert Voss  <voss@perce.de>
10245
10246         * lyx_main.C: delete global string help_lyxdir.
10247
10248 2001-10-09  Herbert Voss  <voss@perce.de>
10249
10250         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10251
10252         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10253
10254         * lyx_main.C: added global string help_lyxdir.
10255
10256         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10257
10258 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10259
10260         * lyxrc.C (set_font_norm_type): support iso8859-4
10261
10262 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10263
10264         * LaTeX.C (deplog): add another regex for MikTeX
10265
10266 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10267
10268         * lyxrc.C (set_font_norm_type): support iso8859-3
10269
10270 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10271
10272         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10273
10274         * LaTeXFeatures.C: remove special case of french and index
10275
10276         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10277         before \begin{document}). This solves several incompatibilities.
10278
10279 2001-10-03  Garst Reese  <reese@isn.net>
10280
10281         * lyx_cb.C: change CheckTex error msg.
10282
10283 2001-10-03  José Matos  <jamatos@fep.up.pt>
10284
10285         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10286
10287 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10288
10289         * .cvsignore: update
10290
10291         * lyx_main.C (commandLineVersionInfo): use new style version info.
10292
10293         * buffer.C (writeFile):
10294         (makeLaTeXFile):
10295         (makeLinuxDocFile):
10296         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10297
10298         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10299
10300         * version.h: update to use stuff in version.C
10301
10302         * version.C.in: new file. Contains version information determined
10303         at compile time. This is a merging of version.h and
10304         version_info.h.in.
10305
10306 2001-10-03  Juergen Vigna  <jug@sad.it>
10307
10308         * BufferView_pimpl.C (update): don't change "dirty" status in
10309         updateInset call.
10310
10311 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10312
10313         * WorkArea.C (c-tor): re-position version string slightly.
10314
10315 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10316
10317         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10318         revert to previous code.
10319
10320         WorkArea.[Ch]: (show, destroySplash): methods removed.
10321
10322         WorkArea.C: rework code so that it's an amalgam of the codes before and
10323         after the splash screen was moved to WorkArea.
10324
10325 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10326
10327         * lyxrc.C (read):
10328         * vspace.C (inPixels):
10329         (lyx_advance):
10330         * kbmap.C (bind):
10331         * buffer.C (insertStringAsLines):
10332         (asciiParagraph): fix types to be large enough
10333
10334         * lyxlex_pimpl.h: change member status from short to int
10335
10336         * layout.h: fix type of endlabeltype
10337
10338         * kbmap.C (bind):
10339         * kbsequence.C (parse): change return type to string::size_type
10340
10341         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10342         variable
10343
10344         * Bullet.C (bulletSize):
10345         (bulletEntry): do not use short ints as parameters
10346
10347         * BufferView2.C (insertLyXFile): change a char to an int.
10348
10349         * WorkArea.C (WorkArea): remove unneeded floats in computation
10350
10351 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10352
10353         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10354
10355         * paragraph.C (asString): Do not ignore newline/hfill chars when
10356         copying to the clipboard.
10357
10358 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10359
10360         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10361         after a multi-line inset.
10362
10363 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10364
10365         * paragraph.C (validate): Set NeedLyXFootnoteCode
10366
10367 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10368
10369         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10370         and decrease-error to decrease.
10371
10372 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10373
10374         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10375         it more readable (should be equivalent)
10376
10377 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10378
10379         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10380
10381 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10382
10383         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10384         of a cursor (row, etc.) after a character has been deleted
10385         (deleteEmptyParagraphMechanism): call the method above on _all_
10386         cursors held by the LyXText when a double space has been
10387         detected/deleted.
10388
10389 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10390
10391         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10392         pixmap.
10393         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10394
10395         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10396         background. Use greyOut() and the new show() methods to toggle between
10397         the foreground and background. Add code to remove the splash after
10398         its initial showing.
10399
10400         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10401         (create_forms): no longer call Dialogs::showSplash.
10402
10403 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10404
10405         * .cvsignore: add version_info.h
10406
10407 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10408
10409         * version_info.h.in: new file
10410
10411         * Makefile.am: add version_info.h.in
10412
10413         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10414         version_info.h instead of VERSION_INFO
10415
10416 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10417
10418         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10419         The ERT inset now returns string().
10420
10421 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10422
10423         * lyxtext.h, text.C (selectNextWord): renamed as
10424         selectNextWordToSpellcheck.
10425
10426         * text.C (selectNextWordToSpellcheck): Modified to not select
10427         words inside an ERT inset.
10428
10429 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10430
10431         * lyx_cb.C (MenuLayoutSave): change a bit the question
10432
10433         * sp_base.h: include <sys/types.h>
10434
10435 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10436
10437         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10438
10439 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10440
10441         * several files: fix typos in user-visible strings
10442
10443 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10444
10445         * text2.C (pasteSelection): do not set the selection, since it
10446         will be cleared later. Actually, the intent was to fix the way the
10447         selection was set, but I figured rmoving the code was just as good.
10448
10449 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10450
10451         * FontLoader.C (available): Check if font is available without
10452         loading the font.
10453
10454 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10455
10456         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10457
10458 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10459
10460         * lyxrc.[Ch]: added display_graphics variable and associated code.
10461
10462 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * bufferparams.C (hasClassDefaults): new method. Returns true if
10465         the buffer parameters correspond to known class defaults
10466
10467 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10468
10469         * XFormsView.C (show): set minimum size to the main window.
10470
10471 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10472
10473         * text2.C (copySelection):
10474         (cutSelection):
10475         * lyxfind.C (LyXReplace):
10476         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10477         LyXText::selectionAsString.
10478
10479         * paragraph.C (asString): add "label" argument to the second form
10480
10481         * text2.C (selectionAsString): add "label" argument and pass it to
10482         Paragraph::asString.
10483
10484 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10485
10486         * lyx_main.C (commandLineHelp): remove version information
10487
10488 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10489
10490         * lyx_main.C: add -version commandline option
10491
10492 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10493
10494         * paragraph.h: make the optional constructor arg required instead.
10495         some modifications to other files because of this.
10496
10497         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10498
10499         * lyxserver.C (C_LyXComm_callback): make it static
10500
10501         * lyx_main.C (error_handler): make it static
10502
10503         * lyx_gui.C (LyX_XErrHandler): make it static
10504
10505         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10506
10507         * WorkArea.C: make the extern "C" methods static.
10508
10509         * Makefile.am (lyx_LDADD): simplify
10510
10511 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10512
10513         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10514         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10515
10516         * LyXAction.C (init):
10517         * lyxfunc.C (dispatch): associated code removal.
10518
10519 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10520
10521         * lyxfont.h (isSymbolFont): shut off warning
10522
10523         * text.C (setHeightOfRow):
10524         (getVisibleRow): fix crash with empty paragraphs which have a
10525         bottom line
10526
10527 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10528
10529         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10530         code.
10531
10532 2001-09-04  José Matos  <jamatos@fep.up.pt>
10533         * buffer.C
10534         * buffer.h
10535         * tabular.C (docbook): rename docBook method to docbook.
10536
10537 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10538
10539         * Makefile.am: add dependencies to main.o.
10540
10541 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10542
10543         * FontLoader.C (available): Return false if !lyxrc.use_gui
10544
10545 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10546
10547         * FontInfo.C (query):
10548         * converter.C (view):
10549         * importer.C (Import):
10550         * exporter.C (Export): Can not -> cannot.
10551
10552 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * BufferView_pimpl.C: allow to create index inset even if
10555           string is empty
10556
10557 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10558
10559         * buffer.C (getLists): replace boost::tie code with an explicit pair
10560         as boost::tie can break some compilers.
10561
10562         * iterators.h: Added a std:: declaration to the return type of
10563         ParIterator::size.
10564
10565 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10568           case.
10569
10570 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10571
10572         * iterators.[Ch]: New files. Provide paragraph iterators.
10573
10574         * buffer.C (changeLanguage): Use paragraph iterators.
10575         (isMultiLingual): ditto
10576
10577         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10578
10579 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10580
10581         * FontLoader.C: Support for cmr font.
10582
10583 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10584
10585         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10586         (available): New method.
10587
10588         * FontInfo.C (getFontname): Use scalable fonts even when
10589         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10590         found.
10591
10592 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * converter.C (Formats::view): reverted! Incorrect fix.
10595
10596 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10597
10598         * converter.C (Formats::view): only output the -paper option
10599         if the dvi viewer is xdvi, thereby fixing bug #233429.
10600
10601 2001-08-23  Herbert Voss  <voss@perce>
10602
10603         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10604
10605 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10606
10607         * Spacing.h (Spacing): Set space to Default on in the default
10608         constructor.
10609
10610 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * vc-backend.h (RCS::versionString): add RCS to version
10613         (CVS::versionString): add CVS to version
10614
10615         * vc-backend.C (scanMaster): do not add CVS to version.
10616         (scanMaster): do not add RCS to version
10617
10618         * lyxvc.C (versionString): new method
10619
10620         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10621
10622 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * Spacing.C (set): initialize fval
10625
10626 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10627
10628         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10629         " or \.
10630
10631 2001-08-16  Juergen Vigna  <jug@sad.it>
10632
10633         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10634
10635 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * BufferView_pimpl.C:
10638         * figureForm.C:
10639         * lyxtext.h:
10640         * text2.C: setParagraph takes linespacing now
10641
10642 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * LyxAction.C: add internal LFUN_CITATION_INSERT
10645
10646         * LyXView.C: actually apply fix
10647
10648         * bufferlist.C: fix open non-existent file
10649
10650         * lyxfind.C: fix indentation
10651
10652         * lyxfunc.C: remove unneeded assert, fix typo
10653
10654 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * MenuBackend.C: use "Floatname List"
10657
10658 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10659
10660         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10661         when converting LaTeX layout to insetERT.
10662         Generate a non-collapsed float when reading old float
10663
10664 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10665
10666         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10667         ERT insets.
10668
10669 2001-08-13  Juergen Vigna  <jug@sad.it>
10670
10671         * text.C (fill): return 0 instead of 20 as this seems to be the more
10672         correct value.
10673
10674 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10675
10676         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10677         lyxrc.font_norm.
10678
10679 2001-08-13  Juergen Vigna  <jug@sad.it>
10680
10681         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10682         casesensitive off.
10683         (SearchBackward): comment out the unlocking of the inset_owner this
10684         should not be needed!
10685
10686 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * Many files: Remove inherit_language, and add latex_language
10689
10690         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10691         collapsible insets.
10692
10693 2001-08-10  Juergen Vigna  <jug@sad.it>
10694
10695         * text.C (prepareToPrint): fixed hfill-width in draw!
10696
10697         * BufferView2.C (selectLastWord): save the selection cursor as this
10698         now is cleared in the function LyXText::clearSelection!
10699
10700 2001-08-08  Juergen Vigna  <jug@sad.it>
10701
10702         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10703         BACKSPACE type functions.
10704
10705         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10706         is only cutted from the document but not put in the cut-buffer, where
10707         still the old stuff should be.
10708
10709         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10710
10711         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10712
10713         * tabular.C (SetWidthOfCell): fixed special case where the width
10714         was not updated!
10715         (LeftLine): handle '|' in align_special.
10716         (RightLine): ditto
10717         (LeftAlreadyDrawed): ditto
10718         (SetWidthOfCell): ditto
10719
10720 2001-08-07  Juergen Vigna  <jug@sad.it>
10721
10722         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10723
10724 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10725
10726         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10727         * lyxlex.[hC]: ditto
10728
10729 2001-08-06  Juergen Vigna  <jug@sad.it>
10730
10731         * text.C (getVisibleRow): fix up row clearing a bit.
10732
10733 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * minibuffer.C: make sure the X server sees the changes in the input.
10736
10737 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * paragraph.C (getFont): split into...
10740         (getLabelFont): this
10741         (getLayoutFont): and this
10742         * paragraph_pimpl.C (realizeFont): calling this
10743
10744         * text2.C (getFont): split into...
10745         (getLayoutFont): this
10746         (getLabelFont): and this
10747         (realizeFont): all three calling this
10748
10749         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10750         files where used.
10751
10752 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10753
10754         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10755
10756 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10757
10758         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10759         layouts from the Quote inset insertion.
10760
10761 2001-08-03  Juergen Vigna  <jug@sad.it>
10762
10763         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10764
10765         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10766         only if status not is already CHANGED_IN_DRAW (second level).
10767
10768         * text.C (draw): don't set the need_break_row when inside an
10769         InsetText LyXText.
10770
10771 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10772
10773         * buffer.C (parseSingleLyXformat2Token): handle more latex
10774         conversion cases.
10775
10776         * bufferview_funcs.[hC]: change function names to
10777         begin with small char, adjust other files.
10778
10779 2001-08-02  André Pönitz <poenitz@gmx.net>
10780
10781         * lyxfunc.C:
10782         BufferView_pimpl.C: remove broken special code for math-greek
10783
10784 2001-08-02  Juergen Vigna  <jug@sad.it>
10785
10786         * BufferView_pimpl.C (update): redone this function so that we
10787         update the text again if there was a CHANGE_IN_DRAW.
10788
10789         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10790         (drawFromTo): added a new internal bool which is used by draw() and
10791         redraw() function.
10792         (general): some cursor drawing problems fixed.
10793
10794 2001-08-01  Juergen Vigna  <jug@sad.it>
10795
10796         * lyxfind.C (LyXFind): fixed
10797         (SearchForward): ditto
10798         (SearchBackward): ditto
10799
10800         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10801         spurius drawing of the cursor in the main area.
10802
10803         * text2.C (status): small fix which could lead to a segfault!
10804         (clearSelection): remove unneeded BufferView param.
10805
10806 2001-08-01  André Pönitz <poenitz@gmx.net>
10807
10808         * lyxfunc.C: small change due to changed mathed interface
10809
10810 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10811
10812         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10813
10814 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * lyxfunc.c: fail gracefully if file doesn't exist
10817
10818         * LyXSendto.C:
10819         * buffer.C:
10820         * lyxfunc.C:
10821         * BufferView_pimpl.C: IsDirWriteable() proto changed
10822
10823         * LyXView.C: fix updateWindowTitle() to store the last title
10824
10825 2001-07-31  Juergen Vigna  <jug@sad.it>
10826
10827         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10828         the font (wrong since using of Paragraph::highestFontInRange).
10829
10830         * paragraph.C (highestFontInRange): added a default_size parameter.
10831
10832         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10833         (setHeightOfRow): reformat
10834
10835 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10836
10837         * converter.[hC] + affected files: move to (inital-char)lowercase
10838         function names.
10839
10840         * ParagraphParameters.C (ParagraphParameters): remove commented code
10841
10842         * PainterBase.[Ch]: remove commented code
10843
10844         * LaTeXFeatures.h: add "bool floats" for float.sty
10845
10846         * LaTeXFeatures.C (LaTeXFeatures): init floats
10847         (require): handle float
10848         (getPackages): do it with floats
10849
10850 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10851
10852         * BufferView_pimpl.C (Dispatch): improve handling of
10853         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10854
10855         * commandtags.h: #include lyxfont.h here temporarily to avoid
10856         keybinding bug.
10857
10858         * bufferlist.h: include LString.h here.
10859
10860 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10861
10862         * text2.C (getStringToIndex): new method.
10863
10864 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10865
10866         * *: Reduced header file dependencies all over.
10867
10868 2001-07-30  Baruch Even  <baruch@lyx.org>
10869
10870         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10871
10872 2001-07-29  Baruch Even  <baruch@lyx.org>
10873
10874         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10875
10876 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10877
10878         * ParameterStruct.h (endif): add a default constructor to make
10879         sure that all variables is initialized.
10880
10881         * ParagraphParameters.C (ParagraphParameters): adjust
10882
10883 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10884
10885         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10886         index; also, check that there is something to index, and that it
10887         does not span over several paragraphs.
10888         (doubleClick): use WHOLE_WORD_STRICT for double click.
10889
10890         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10891
10892         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10893         scheme.
10894
10895 2001-07-26  Baruch Even  <baruch@lyx.org>
10896
10897         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10898         an InsetFig figure, backwards compatible reading of old figure code.
10899
10900 2001-07-27  Juergen Vigna  <jug@sad.it>
10901
10902         * text2.C: font.realize function adaption.
10903
10904         * text.C (draw): add a warnings lyxerr text if needed.
10905
10906         * layout.C: font.realize function adaption.
10907
10908         * language.C: add inherit_language and implement it's handlings
10909
10910         * bufferview_funcs.C (StyleReset): remove language parameter from
10911         font creation (should be language_inherit now).
10912
10913         * bufferparams.C (writeFile): handle ignore_language.
10914
10915         * paragraph.C (getFontSettings): the language has to be resolved
10916         otherwise we have problems in LyXFont!
10917
10918         * lyxfont.C (lyxWriteChanges): added document_language parameter
10919         (update): removed unneeded language parameter
10920
10921         * paragraph.C (validate): fixed wrong output of color-package when
10922         using interface colors for certain fonts in certain environments,
10923         which should not seen as that on the final output.
10924
10925 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * BufferView_pimpl.C:
10928         * Thesaurus.h:
10929         * Thesaurus.C:
10930         * Makefile.am:
10931         * commandtags.h:
10932         * LyXAction.C: add thesaurus support
10933
10934         * lyxfind.h:
10935         * lyxfind.C: add "once" parameter, for thesaurus, to not
10936           move to the next match
10937
10938 2001-07-26  Juergen Vigna  <jug@sad.it>
10939
10940         * lyxfont.C (realize): honor ignore_language too!
10941         (resolved): ditto.
10942
10943         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10944
10945         * text.C (draw): one place more for ignore_language to not draw
10946         itself!
10947
10948 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10949
10950         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10951
10952 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10955         the minipage conversion problem.
10956
10957 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10958
10959         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10960         insert an inset.
10961
10962 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * BufferView.h: don't forward declare WorkArea
10965
10966         * BufferView.C: don't include WorkArea.h
10967
10968 2001-07-25  André Pönitz <poenitz@gmx.net>
10969
10970         * commandtags.h:
10971         * LyXAction.C:
10972         * lyxfunc.C:  new LFUN 'math-space'
10973
10974         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10975
10976 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * text2.C (toggleInset): call open/close
10979
10980 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * lyxfunc.C (dispatch): add debug for the disabled case
10983
10984         * font.C (buttonText): make similar to rectText
10985
10986         * buffer.C (readInset): comment out parsing of insetlist and
10987         insttheorem
10988
10989         * PainterBase.C (rectText): small correction
10990
10991         * BufferView_pimpl.C: comment out insettheorem and insetlist
10992         * LyXAction.C: ditto
10993         * commandtags.h: ditto
10994
10995 2001-07-24  Juergen Vigna  <jug@sad.it>
10996
10997         * text.C (draw): honor the ignore_language.
10998
10999         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11000
11001 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11002
11003         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11004         char inset.
11005
11006 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11007
11008         * lyxtext.h: remove unused (and unimplemented) methods
11009
11010 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11011
11012         * text.C (getVisibleRow): honor background color
11013
11014         * PainterBase.h:
11015         * Painter.h: remove default color argument for fillRectangle
11016
11017         * text.C (backgroundColor): new method
11018
11019 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11020
11021         * text.C (getVisibleRow): adjust
11022
11023         * font.[Ch] (rectText): new method, metrics
11024         (buttonText): new method, metrics
11025
11026         * PainterBase.[hC]: make rectText and buttonText always draw and take
11027         fewer paramteres.
11028
11029 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11030
11031         * ToolbarDefaults.C (read):
11032         * MenuBackend.C (read): allow escaping in all strings
11033
11034         * BufferView_pimpl.C (insertAndEditInset): new method.
11035         (Dispatch): use insertAndEditInset whenever appropriate.
11036
11037         * BufferView_pimpl.C (insertNote): removed
11038
11039         * BufferView_pimpl.C (smartQuote): new method, moved from
11040         BufferView; if an insetquote cannot be inserted, insert a '"'
11041         character instead.
11042
11043         * BufferView2.C: remove insertCorrectQuote();
11044
11045         * lyxfunc.C (getStatus): Add support for all remaingin
11046         inset-insert lfuns.
11047
11048         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11049
11050         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11051         command (necessary to pass " as parameter of self-insert.
11052
11053         * text.C (selectWordWhenUnderCursor):
11054         (selectWord): add word_location parameter
11055         (selectWordWhenUnderCursor): same + remove special code for word
11056         boundary.
11057         (selectNextWord): use kind() to guess type of insetspecialchar,
11058         not latex().
11059
11060         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11061         (insertErtContents): create ert insets as collapsed.
11062         (readInset): better compatibility code for Info inset.
11063
11064 2001-07-20  Juergen Vigna  <jug@sad.it>
11065
11066         * lyxfunc.C (dispatch): use always LyXFind now!
11067
11068         * text2.C (init): add a reinit flag so that the LyXText can be
11069         reinited instead of deleted and reallocated (used in InsetText).
11070
11071         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11072
11073         * text.C: ditto
11074
11075         * text2.C: ditto
11076
11077 2001-07-18  Juergen Vigna  <jug@sad.it>
11078
11079         * text.C (selectNextWord): handle insets inside inset by calling
11080         always the bv->text functions so that we can go up the_locking_inset!
11081
11082         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11083         in strange locations when inside an inset!
11084
11085         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11086         handling to include insets.
11087
11088         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11089
11090 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11091
11092         * LyXAction.C (init):
11093         * commandtags.h:
11094         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11095         LIGATURE_BREAK, since the name is so stupid.
11096
11097 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11098
11099         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11100         InsetInfos.
11101
11102         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11103
11104         * sp_form.[Ch]: remove.
11105
11106         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11107
11108         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11109         InsetInfo.
11110
11111         * src/buffer.C (readInset): ditto.
11112
11113 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11114
11115         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11116         menuSeparator(), endOfSentenceDot(), ldots() and
11117         hyphenationPoint(), which are therefore removed.
11118         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11119
11120         * LyXAction.C (init):
11121         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11122
11123         * paragraph.C (getWord): removed.
11124
11125         * BufferView_pimpl.C (Dispatch): use last word or selection for
11126         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11127
11128         * lyx_main.C (queryUserLyXDir): do not ask before creating
11129         user_dir, except if it has been named explicitely.
11130
11131 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11132
11133         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11134         a document of zero size.
11135
11136 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11137
11138         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11139         approriately in the c-tor and in require().
11140         (getPackages): output the appropriate LaTeX for natbib support.
11141
11142         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11143         variables "use_natbib" and "use_numerical_citations" when reading the
11144         LyX file.
11145         (readInset): read the various natbib cite commands.
11146         (validate): white-space change.
11147
11148         * bufferparams.[Ch]: new variables "bool use_natbib" and
11149         "bool use_numerical_citations".
11150         (writeFile): output them in the LyX file.
11151
11152 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11153
11154         * lyxfunc.C (getStatus): add support for all the inset insertion
11155         commands.
11156
11157         * text2.C (insertInset):
11158         * paragraph.C (insetAllowed):
11159         * BufferView_pimpl.C (insertInset): update to take in account the
11160         renaming of insertInsetAllowed
11161
11162         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11163
11164         * text2.C (getInset): new method. returns inset at cursor position.
11165
11166         * BufferView_pimpl.C (Dispatch): changes because of this.
11167
11168         * LyXAction.C (init): rename open-stuff to inset-toggle.
11169
11170         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11171
11172         * text2.C (toggleInset): renamed from openStuff; use
11173         Inset::open().
11174
11175 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11176
11177         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11178
11179         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11180
11181 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11182
11183         * buffer.C (readLyXformat2): Add filename to the error dialog
11184
11185 2001-07-18  Juergen Vigna  <jug@sad.it>
11186
11187         * tabular.C (GetCellNumber): put an assert here instead of the check!
11188
11189 2001-07-17  Juergen Vigna  <jug@sad.it>
11190
11191         * BufferView_pimpl.C (toggleSelection): adapted too.
11192
11193         * text.C (selectNextWord): adapted for use with insets.
11194         (selectSelectedWord): ditto
11195
11196 2001-07-17  Juergen Vigna  <jug@sad.it>
11197
11198         * sp_spell.C (PSpell): fix initialitation order.
11199
11200 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * paragraph.C: spacing
11203
11204 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11205
11206         * sp_spell.C: repair language selection for pspell
11207
11208 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11209
11210         * lyxfunc.h: change more methods to begin with lower char.
11211
11212 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11213
11214         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11215         for unknown layouts.
11216
11217 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11218
11219         * buffer.C (readLyXformat2): Generate an error dialog if there are
11220         unknown layouts.
11221
11222 2001-07-16  Juergen Vigna  <jug@sad.it>
11223
11224         * sp_spell.C: always compile ISpell part.
11225
11226         * lyxrc.C: added use_pspell entry and it's handling.
11227
11228 2001-07-13  Juergen Vigna  <jug@sad.it>
11229
11230         * sp_spell.C: removed double includes.
11231
11232 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11233
11234         Consistent use of Lsstream.h:
11235         * Lsstream.h: added using std::stringstream for consistencies sake.
11236
11237         * buffer.C: removed using std::stringstream
11238
11239         * lyxfont.C (stateText):
11240         * paragraph.C (asString):
11241         * text.C (selectNextWord, selectSelectedWord):
11242         * text2.C (setCounter):
11243         * vspace.C (asString, asLatexString):
11244         std::ostringstream -> ostringstream.
11245
11246 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11247
11248         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11249         * commandtags.h: add LFUN_HELP_ABOUTLYX
11250         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11251
11252 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11253
11254         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11255         cursorToggle()
11256         * lyx_gui_misc.C: remove spellchecker
11257         * lyxfunc.C: showSpellchecker
11258         * sp_base.h: added
11259         * sp_ispell.h: added
11260         * sp_pspell.h: added
11261         * sp_spell.C: added
11262         * sp_form.[Ch]: removed
11263         * spellchecker.[Ch]: removed
11264
11265 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11266
11267         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11268         is set.
11269         (simpleTeXSpecialChars): Simply print the input character without
11270         any special translation if pass_thru is set.
11271
11272         * layout.h: Added bool pass_thru to layout class for being able to
11273         implement pass through of a paragraph for Literate Programming.
11274
11275         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11276         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11277         * layout.C (Read): add "passthru" to list of layout tags and add
11278         code to set the pass_thru boolean when it is read.
11279
11280 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11281
11282         * trans_decl.h: remove allowed from KmodInfo
11283
11284         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11285         remove allowed code
11286         (Load): adjust
11287
11288         * paragraph_pimpl.C (erase): use boost::prior
11289
11290         * Painter.C (text): use data() instead of c_str() when length is
11291         also provided.
11292         * WorkArea.C (putClipboard): ditto
11293         * font.h (width): ditto
11294
11295         * BufferView2.C: use it-> instead of (*it). for iterators
11296         * texrow.C: ditto
11297         * paragraph_pimpl.C: ditto
11298         * paragraph.C: ditto
11299         * minibuffer.C: ditto
11300         * language.C: ditto
11301         * kbmap.C: ditto
11302         * encoding.C: ditto
11303         * counters.C: ditto
11304         * converter.C: ditto
11305         * chset.C: ditto
11306         * Variables.C: ditto
11307         * TextCache.C: ditto
11308         * MenuBackend.C: ditto
11309         * LyXAction.C: ditto
11310         * LColor.C: ditto
11311         * FloatList.C: ditto
11312         * DepTable.C: ditto
11313         * ColorHandler.C (LyXColorHandler): ditto
11314
11315 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11316
11317         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11318
11319         * text2.C (openStuff): reintroduce this method (which had been
11320         nuked in NEW_INSETS frenzy).
11321
11322         * lyxfunc.C (Dispatch): when an action has not been handled, use
11323         its name in the error message, not its number.
11324
11325         * paragraph.C (inInset): change method name to begin with lowercase.
11326
11327         * undo_funcs.C:
11328         * text2.C: updates because of this.
11329
11330 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11331
11332         * ToolbarDefaults.C (add): add spaces in error message
11333
11334 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11335
11336         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11337         (readLyXformat2): rename return_par to first_par, use lyxlex's
11338         pushToken and remove the manual push handling.
11339         (parseSingleLyXformat2Token): add another ert comp. variable:
11340         in_tabular, rename return_par to first_par. handle newlines better
11341
11342 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11345
11346 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * text2.C (getParFromID): removed
11349
11350         * buffer.C (getParFromID): new method moved form lyxtext.
11351         * BufferView2.C (insertErrors): adjust
11352         (setCursorFromRow): adjust
11353         * BufferView_pimpl.C (restorePosition): adjust
11354         * lyxfunc.C (Dispatch): adjust
11355         * undo_funcs.C (textUndo): adjust
11356         (textRedo): adjust
11357         (textHandleUndo): adjust
11358         (textHandleUndo): adjust
11359
11360 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * buffer.C: up' the LYX_FORMAT
11363
11364         * lyxfont.h: turn NO_LATEX on as default
11365
11366         * buffer.C (insertErtContents): new methods of tex style compability.
11367         (parseSingleLyXformat2Token): use it several places.
11368         * tabular.C (OldFormatRead): and here
11369
11370 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * text2.C: remove some commented code.
11373         reindent file.
11374
11375         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11376         * trans.C: changes because of the above.
11377
11378 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11379
11380         * text2.C (setCounter): Fix counters bug with bibliography layout.
11381
11382 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11383
11384         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11385         own member functions
11386         (simpleTeXSpecialChars): ditto
11387
11388 2001-07-06  Juergen Vigna  <jug@sad.it>
11389
11390         * a lot of files: changed the access to LyXText::status and the
11391         call of undo-functions.
11392
11393         * undo.[Ch]: added a inset_id to the undo informations.
11394
11395         * undo_funcs.[Ch]: added and moved here all undo functions.
11396
11397         * lyxtext.h: give the status enum a weight, made status_ a private
11398         variable and made accessor functions for it, removed the whole bunch
11399         of undo-functions as they are now in their own file, make some
11400         functions publically available. Added function ownerParagraph with
11401         int parameter.
11402
11403         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11404         made InInset() a const function, added getParFromID() function.
11405
11406         * buffer.[Ch]: added const version for inset_iterator functions,
11407         added getInsetFromID() function.
11408
11409         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11410         changed undo functions for new version.
11411
11412 2001-07-05  Juergen Vigna  <jug@sad.it>
11413
11414         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11415         unknow mechanism does not call the proper constructor but only this
11416         one also if I request the other!?
11417
11418 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11419
11420         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11421
11422         * text2.C (LyXText): use initialization lists.
11423
11424         * lyxtext.h (Selection): initialize set_ and mark_
11425         (init): remove method
11426
11427 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11428
11429         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11430
11431 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * screen.[Ch]: change method names to begin with lowercase
11434
11435         * BufferView_pimpl.C (updateScrollbar): simplify further and
11436         hopefully make it a bit faster.
11437
11438 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11441         calling directly xforms functions.
11442
11443         * Painter.C (Painter):
11444         * lyx_cb.C (MenuWrite):
11445         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11446         fl_display.
11447
11448         * lyx_gui.C: remove bogus guiruntime extern declaration.
11449
11450 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11453         in NEW_INSETS
11454         (redoDrawingOfParagraph): ditto
11455         (redoParagraphs): ditto
11456         (cutSelection): don't create a object for CutAndPaste use the
11457         static method directly
11458         (pasteSelection): ditto
11459
11460         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11461         LyXview (+ rename)
11462
11463 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * modifications to some other files because of this.
11466
11467         * Makefile.am (lyx_SOURCES): add XFormsView
11468
11469         * XFormsView.[Ch]: new files
11470
11471         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11472         the main window. Move the gui dependent stuff to XFormsView
11473
11474 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11475
11476         * tabular.C (GetCellInset): update cur_cell also in the row/col
11477         version of this function.
11478
11479         * lyxfunc.C: no need to include figure_form.h here.
11480
11481         * FontLoader.h:
11482         * lyxfunc.h:
11483         * lyxscreen.h:
11484         * text2.C:
11485         * lyxvc.C: no need to include forms.h here.
11486
11487 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11490
11491         * lyxfunc.C (Dispatch):
11492         * Spacing.C (set):
11493         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11494         constructor argument.
11495
11496 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * paragraph.C (Paragraph): dont't clear, and just set layout.
11499         (makeSameLayout): use params's copy contructor.
11500
11501         * ParagraphParameters.[Ch] (makeSame): delete method
11502
11503 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * Variables.[Ch]: fix indentation, rename set to isSet
11506
11507 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11508
11509         * lyxfunc.C (Dispatch): fix typo
11510
11511 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11512
11513         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11514         upper_bound.
11515
11516         * bufferlist.C: include assert.h for emergencyWrite().
11517
11518 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11521           give up at last (bug #425202) !
11522
11523 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyx_gui_misc.C:
11526         * sp_form.h:
11527         * sp_form.C:
11528         * spellchecker.h:
11529         * spellchecker.C: strip spellchecker options and bring up
11530           preferences tab instead
11531
11532 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11533
11534         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11535         the istringstream constructor
11536
11537 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * paragraph.C (getLayout): fix return value
11540
11541         * paragraph.h: do not declare getLayout as inline.
11542
11543         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11544
11545 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * lyxcursor.h (operator<): new func
11548         (operator>): new func
11549         (operator>=): new func
11550         (operator<=): new func
11551
11552         * text.C (changeCase): use selection.start and selection.end
11553         (changeRegionCase): require from to be <= to. Require par to be a
11554         valid paragraph.
11555
11556         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11557
11558 2001-06-27  Juergen Vigna  <jug@sad.it>
11559
11560         * text.C (cursorLeftOneWord): changed to return the cursor and added
11561         overlay with BufferView * parameter which calls this one.
11562         (getWord): added
11563         (selectWord): use new getWord function.
11564         (changeCase): renamed from changeWordCase as and extended to work
11565         also on selections.
11566
11567         * lyxtext.h: added enum word_location
11568
11569         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11570         changeCase as this operates now also on selections.
11571
11572 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11573
11574         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11575
11576         * many files: send debug output to Debug::INFO instead of
11577         Debug::ANY.
11578
11579         * converter.C (View):
11580         (Convert):
11581         (Move): send debug output to Debug::FILES instead of console.
11582
11583 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11584
11585         * lyxfunc.C (getStatus): use func_status
11586
11587         * func_status.h: new header, describing the results of
11588         LyXFunc::getStatus;
11589
11590         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11591         LFUN_MATH_HALIGN.
11592
11593 2001-06-25  The LyX Project  <jug@sad.it>
11594
11595         * buffer.C (sgmlOpenTag):
11596         (sgmlCloseTag):
11597         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11598
11599 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11600
11601         * text2.C: remove some dead code
11602
11603         * tabular.C (GetCellInset): store the last cell checked (gotten)
11604
11605         * tabular.h: add the helper for the speedup
11606
11607         * lyxtext.h: remove some dead code
11608
11609 2001-06-26  The LyX Project  <Asger>
11610
11611         * paragraph.C: Change export to LaTeX of alignment to
11612         \begin{center} and family for better roundtrip work with reLyX.
11613
11614         * Tune the math drawing a bit.
11615
11616 2001-06-25  The LyX Project  <Asger>
11617
11618         * LColor.C (LColor): New color for math background. New color
11619         for buttons.
11620
11621 2001-06-25  The LyX Project  <jug@sad.it>
11622
11623         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11624
11625         * lyxfunc.C (Open):
11626         * bufferlist.C (newFile): do not restrict to files ending with
11627         .lyx
11628
11629         * BufferView_pimpl.C (MenuInsertLyXFile):
11630
11631 2001-06-24  The LyX Project  <jug@sad.it>
11632
11633         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11634         of compare_no_case
11635
11636 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * lyxtext.h: rename most methods to begin with a small char.
11639         Lots of changes because of this.
11640
11641         * paragraph.C (Paragraph): do not call fitToSize
11642         (erase): call Pimpl::erase
11643         (insertChar): call Pimpl::insertChar
11644         (insertInset): call Pipl::insertInset
11645         (breakParagraph): do not call fitToSize
11646         (breakParagraphConservative): do not call fitToSize
11647         (fitToSize): remove method
11648
11649         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11650
11651 2001-06-24  The LyX Project  <Asger>
11652
11653         * Fix Qt compilation^2
11654
11655 2001-06-24  The LyX Project  <jug@sad.it>
11656
11657         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11658         depthHook(getDepth()-1).
11659
11660         * paragraph.h:
11661         * ParagraphParameters.h:
11662         * ParameterStruct.h: change type of depth to unsigned int ==
11663         depth_type. Many adaptations to other files before of that.
11664
11665 2001-06-24  The LyX Project  <Asger>
11666
11667         * Fix Qt compilation.
11668
11669 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * paragraph.h: renamed several methods to begin with small letter.
11672         several changes to many parts of the code because of this.
11673
11674 2001-06-23  The LyX Project  <jug@sad.it>
11675
11676         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11677         rewritten to discard all double spaces when KeepEmpty is off
11678         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11679         to only handle newlines but not fiddle with spaces and friends.
11680
11681         * lyxfunc.C (MenuNew): when doing 'new from template', use
11682         template_path as default directory
11683
11684 2001-06-23  The LyX Project  <Asger>
11685
11686         * Clean-up of header file includes all over
11687         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11688
11689 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * paragraph.h: renamed from lyxparagraph.h
11692
11693 2001-06-23  Asger  <lyx@violet.home.sad.it>
11694
11695         * Buffer.h: Removed Buffer::resize
11696         * BufferList.h: Removed BufferList::resize
11697         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11698         the document lazily when we change the width, or the font settings.
11699
11700 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11703
11704 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * buffer.h: remove out of date comment
11707
11708 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * lyxscreen.h:
11711         * screen.C: fix "theoretical" GC leak
11712
11713 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * LaTeX.C (scanAuxFile):
11716         (deplog): remove trailing \r when reading stream (useful under
11717         win32)
11718
11719 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11720
11721         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11722         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11723         and BufferView::theLockingInset(Inset*), so should use them and not
11724         access bv_->text->the_locking_inset directly.
11725
11726         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11727
11728 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * Makefile.am:
11731         * tex-defs.h: remove old unused file
11732
11733 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView_pimpl.C: fix typo, remove minibuffer message
11736           when buffer has loaded
11737
11738 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * lyxfunc.C (Dispatch): use stringstream
11741         (MenuNew): use stringstream
11742         (Open): use stringstream
11743
11744         * importer.C (Import): use stringstream
11745
11746         * bufferview_funcs.C (CurrentState): use stringstream
11747
11748         * LaTeX.C (run): use stringstream
11749
11750         * BufferView_pimpl.C (savePosition): use stringstream
11751         (restorePosition): use stringstream
11752         (MenuInsertLyXFile): use stringstream
11753
11754 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11755
11756         * BufferView.C:
11757         * Bullet.C:
11758         * ColorHandler.C:
11759         * FontInfo.C:
11760         * FontLoader.C:
11761         * LColor.C:
11762         * LaTeXFeatures.C:
11763         * Painter.C:
11764         * gettext.C:
11765         * lyx_gui_misc.C:
11766         * lyxserver.C:
11767         * vspace.C: removed // -*- C++ -*- as first line.
11768
11769         * lyxfind.h:
11770         * version.h: added // -*- C++ -*- as first line.
11771
11772 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11773
11774         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11775
11776         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11777         of string
11778
11779 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11782         of floats.
11783
11784 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11785
11786         * gettext.C: include LString.h even when --disable-nls is on.
11787
11788 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11789
11790         * converter.h (Get): changed argument type from int to
11791         FormatList::size_type to avoid unnecessary conversion.
11792
11793         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11794         before using it.
11795
11796 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11797
11798         * gettext.h: include LString.h even when --disable-nls is on.
11799
11800 2001-06-07  Juergen Vigna  <jug@sad.it>
11801
11802         * text.C (BreakAgain): subst spaces with tabs.
11803
11804         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11805         (resizeInsetsLyXText): set force on resizeLyXText.
11806
11807 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11808
11809         * gettext.h (gettext_init):
11810         (locale_init): use a real definition instead of a macro
11811
11812 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * Bufferview_pimpl.C:
11815         * LColor.h:
11816         * LColor.C: further lcolor tidies
11817
11818 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11819
11820         * BufferView_pimpl.C (updateScrollbar): simplify.
11821
11822         * BufferView2.C: don't include insets/insetinfo.h, change
11823         prototype for insertInset and call the Pimpl version. let
11824         updateInset call Pimpl version.
11825
11826         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11827         gotoInset to BufferView::Pimpl
11828
11829 2001-06-01  Juergen Vigna  <jug@sad.it>
11830
11831         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11832         inside a LockingInset (is the update needed at all?).
11833
11834 2001-05-31  Juergen Vigna  <jug@sad.it>
11835
11836         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11837         here not the old one otherwise how should we compare it afterwards
11838         if it's the same!
11839
11840 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * lyxfont.C:
11843         * tabular.C:
11844         * tabular-old.C:
11845         * FontInfo.C: bring C functions into global namespace when
11846         necessary
11847
11848 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * LString.h: make sure config.h has been loaded before LString.h.
11851
11852         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11853         (one for each char read by EatLine!).
11854
11855         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11856         variables.
11857
11858 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11859
11860         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11861         to the same as the par we break from
11862
11863 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11864
11865         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11866
11867         * MenuBackend.C (expand): also create menu entries for wide
11868         versions of the floats.
11869
11870         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11871
11872         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11873
11874         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11875         frontends/Makefile.am
11876
11877         * text2.C: adjust
11878         * text.C: adjust
11879
11880
11881         * tabular.C (getTokenValue): add std::
11882
11883         * tabular-old.C (getTokenValue): add std::
11884         (getTokenValue): ditto
11885         (getTokenValue): ditto
11886
11887         * screen.C (ToggleSelection): adjust
11888
11889         * lyxtext.h: put selection cursors inside a Selection struct.
11890
11891         * lyxfunc.C (moveCursorUpdate): adjust
11892
11893         * lyxfont.C (latexWriteStartChanges): add std::
11894
11895         * lyxfind.C: adjust
11896
11897         * font.h: delete with(char const *, LyXFont const &)
11898
11899         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11900
11901         * FontInfo.C (getFontname): add std::
11902
11903         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11904         (workAreaButtonPress): adjust
11905         (tripleClick): adjust
11906         (update): adjust
11907         (moveCursorUpdate): adjust
11908         (Dispatch): adjust
11909
11910         * BufferView2.C (gotoInset): adjust
11911
11912 2001-05-30  Juergen Vigna  <jug@sad.it>
11913
11914         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11915         to check pspell I add this as default as I now have new pspell
11916         libraries and they seem to use this.
11917
11918 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * text2.C (CutSelection): make the cursor valid before the call to
11921         ClearSelection.
11922
11923 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11924
11925         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11926         relied on 0 terminated strings and other horrors. Bug found due to
11927         the new assert in lyxstring!
11928
11929         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11930         KP_ keys.
11931
11932 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11935         to latinkeys.bind.
11936
11937         * lyxfunc.C (processKeySym): change method of getting to the
11938         self-insert char.
11939
11940         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11941         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11942         * BufferView_pimpl.[Ch]: here as private methods.
11943
11944 2001-05-28  Juergen Vigna  <jug@sad.it>
11945
11946         * text.C (SetHeightOfRow): added the update() call again as it is
11947         needed to initialize inset dimensions!
11948
11949 2001-05-16  Juergen Vigna  <jug@sad.it>
11950
11951         * text2.C (SetCharFont): Add new function with BufferView * and
11952         bool toggleall parameters for setting insets internal fonts.
11953         (SetFont): Freeze the undo as we may change fonts in Insets and
11954         all this change should be inside only one Undo!
11955
11956         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11957         setting font's in insets as for them we have the SetFont function!
11958
11959 2001-05-15  Juergen Vigna  <jug@sad.it>
11960
11961         * text2.C (ClearSelection): to be sure we REALLY don't have any
11962         selection anymore!
11963
11964         * tabular.C (TeXCellPreamble): fixed the left border problem for
11965         multicolumn cells.
11966
11967 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11970         dependancy file
11971
11972 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11973
11974         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11975         LFUN_BREAKPARAGRAPH.
11976
11977         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11978         help test to "internal only", similar for LFUN_INSERT_URL
11979
11980         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11981         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11982         auto_region_delete and deadkeys.
11983
11984 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * LColor.h:
11987         * LColor.C: remove some dead entries, tidy a little
11988
11989 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11990
11991         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11992         commented code.
11993         (Dispatch): implement LFUN_ESCAPE
11994
11995         * commandtags.h: add LFUN_ESCAPE
11996
11997         * LyXAction.C (init): add entry for LFUN_ESCAPE
11998
11999         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12000         Remove commented code.
12001         (insertNote): moved here
12002         (open_new_inset): moved here
12003
12004         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12005         BufferView_pimpl
12006
12007 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12008
12009         * kbmap.C (findbinding): clean it up and make it work correctly.
12010
12011         * lyx_main.C (init): do not pass argc and argv as parameters
12012
12013 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12014
12015         * buffer.C: fix path for OS/2 & Win32
12016
12017         * lyx_gui.C:
12018         * lyx_main:
12019         * lyx_main.C: Added os:: class.
12020
12021         * os2_defines.h: update
12022
12023 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12026         better by trying again with reduced state.
12027
12028 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12029
12030         * lyxrc.C (read): print error about invalid key sequence only when
12031         debugging (because not all latinX keysyms are known to some X
12032         servers)
12033
12034         * kbsequence.C (getiso): add a few std:: qualifiers
12035         (getiso): comment out extra return statement.
12036
12037 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12040         handling.
12041         (Dispatch): enhance the accent inset a bit. (not perfect)
12042
12043 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12046
12047 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12048
12049         * bufferlist.C (emergencyWrite): fix assert() call
12050
12051 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12052
12053         * text.C (InsertChar): Added trivial patch to only send the "you
12054         can not do multiple spaces this way" message once during a
12055         session.
12056
12057 2001-05-08  Baruch Even  <baruch@lyx.org>
12058
12059         * Makefile.am: Changed order of libraries to get LyX to link properly
12060         with the gnome frontend.
12061
12062 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12063
12064         * LaTeXFeatures.h: add a std:: qualifier
12065
12066 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12067
12068         * paragraph.C (String): use stringstream
12069
12070 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * paragraph.C (writeFile): remove footflag arg
12073
12074         * buffer.C (makeLaTeXFile): use stringstream
12075         (latexParagraphs): remove footnot gurba
12076
12077         * LaTeXFeatures.C (getPackages): use stringstream
12078         (getMacros): likewise
12079         (getTClassPreamble): likewise
12080         (getFloatDefinitions): new method
12081
12082         * paragraph.C (writeFile): reindent
12083         (Erase): reindent
12084
12085         * WorkArea.h: revert the xpos + etc changes.
12086
12087         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12088
12089         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12090
12091         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12092         (pasteSelection): likewise
12093         * text2.C (CreateUndo): likewise
12094
12095 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12096
12097         * minibuffer.C (peek_event): temporarily reduce the functionality
12098         of the minibuffer (to allow args on lfuns)
12099
12100         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12101         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12102
12103         * buffer.C (readInset): add compability reading of old float
12104         lists, add reading of new style float list.
12105         (readInset): avoid reevaluation of inscmd.getCmdName()
12106         (getLists): reindent
12107
12108         * MenuBackend.C (MenuItem): implement parsing of
12109         md_floatlistinsert and md_floatinsert.
12110         (expand::LastFiles): move initalizaton of iterators out of loop,
12111         avoid reevaluation.
12112         (expand::Documents): introduce typdedef vector<string> Strings,
12113         and use it.
12114         (expand::ExportFormats): introduce typedef vector<Format const *>
12115         Formats, and use it.
12116         (expand): implement FloatListInsert and FloatInsert.
12117
12118         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12119         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12120         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12121
12122         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12123         handling.
12124         (Dispatch::LFUN_FLOAT_LIST): implement
12125
12126 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12127
12128         * LaTeX.C (run): Fix problem with --export code.
12129
12130 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * BufferView.[Ch] (workarea): removed.
12133         (getClipboard) new method; wrapper for workarea()->getClipboard()
12134
12135         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12136         bug.
12137
12138         * WorkArea.h (width, height, xpos, ypos): These methods all
12139         returned the dimensions of the work_area sub-area of WorkArea,
12140         resulting in a position error if the WorkArea were resized. Now
12141         return the dimensions of the entire WorkArea.
12142
12143         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12144
12145 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12146
12147         * LaTeX.C (deplog): correct the syntax of regex reg1
12148
12149 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * undo.C: remove !NEW_INSETS cruft
12152
12153 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * text2.C: remove !NEW_INSETS cruft
12156
12157         * text.C: remove !NEW_INSETS cruft
12158
12159         * tabular.C: remove !NEW_INSETS cruft
12160
12161         * spellchecker.C: remove !NEW_INSETS cruft
12162
12163         * lyxtext.h: remove !NEW_INSETS cruft
12164
12165         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12166
12167         * lyxfunc.C: remove !NEW_INSETS cruft
12168
12169         * lyxfind.C: remove !NEW_INSETS cruft
12170
12171         * lyx_cb.C: remove !NEW_INSETS cruft
12172
12173         * figureForm.C: remove  !NEW_INSETS cruft
12174
12175         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12176
12177         * buffer.[Ch]: remove !NEW_INSETS cruft
12178
12179         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12180
12181         * CutAndPaste.C: remove !NEW_INSETS cruft
12182
12183         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12184
12185         * BufferView2.C: remove !NEW_INSETS cruft
12186
12187         * BufferView.h: remove !NEW_INSETS cruft
12188
12189 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12190
12191         * Lsstream.h: include LString.h before the sstream headers to
12192         fix problem with gcc 2.95.3 and lyxstring
12193
12194 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12195
12196         * lyx_main.C: add using directives when needed for C functions
12197         declared in std:: namespace.
12198
12199 2001-04-27  Juergen Vigna  <jug@sad.it>
12200
12201         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12202         (SetHeightOfRow): comment out the update call should not be needed!
12203
12204 2001-04-13  Juergen Vigna  <jug@sad.it>
12205
12206         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12207         (LyXTabular): tried to minimize operator= operations (and realized
12208         hopfully Lars wish).
12209
12210 2001-04-27  Juergen Vigna  <jug@sad.it>
12211
12212         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12213
12214 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12217
12218         * buffer.C (readInset): hack to make listof algorithm work
12219
12220         * BufferView_pimpl.C: hack to make listof algorithm work
12221
12222 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * LyXAction.C: removed all !NEW_INSETS cruft
12225         (init): moved lfun_item in method
12226
12227         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12228
12229 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12230
12231         * BufferView2.C (theLockingInset): white space.
12232
12233 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * minibuffer.C: include <iostream>
12236
12237         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12238
12239         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12240
12241         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12242
12243         * text.[Ch] (TransposeChars): new method
12244
12245 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * call message directly through LyXView instead of through LyXFunc
12248         * BufferView2.C: adjust
12249         * BufferView_pimpl.C: adjust
12250         * FontLoader.C: adjust
12251         * buffer.C: adjust
12252         * bufferview_funcs.C: adjust
12253         * converter.C: adjust
12254         * figureForm.C: adjust
12255         * importer.C: adjust
12256         * lyx_cb.C: adjust
12257         * lyx_gui_misc.C: adjust
12258         * lyxfunc.C: adjust
12259         * lyxvc.C: adjust
12260         * text2.C: adjust
12261         + more files in subdirs
12262
12263         * lyxparagraph.h (size): move up int file
12264         (GetLayout): ditto
12265
12266         * adjust all uses of Assert to lyx::Assert.
12267
12268         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12269         lyxfunctional in namespace lyx
12270         * layout.C (hasLayout): ditto
12271         (GetLayout): ditto
12272         (GetLayout): ditto
12273         (delete_layout): ditto
12274         (NumberOfClass): ditto
12275         * converter.C (GetFormat): ditto
12276         (GetNumber): ditto
12277         (Add): ditto
12278         (Delete): ditto
12279         (SetViewer): ditto
12280         * bufferlist.C (getFileNames): ditto
12281         (emergencyWriteAll): ditto
12282         (exists): ditto
12283         (getBuffer): ditto
12284         * MenuBackend.C (hasSubmenu): ditto
12285         (hasMenu): ditto
12286         (getMenu): ditto
12287         * BufferView_pimpl.C (getInsetByCode): ditto
12288
12289 2001-04-18  Juergen Vigna  <jug@sad.it>
12290
12291         * vspace.C (asLatexString): fixed the 100% problem.
12292
12293 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * lyxfunc.C (Dispatch):
12296         * minibuffer.C:
12297         * minibuffer.h: add a few std:: qualifiers
12298
12299 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * minibuffer.[Ch]: reimplement so that commands is initiated and
12302         run from lyxfunc, simplified som handling, and made the completion
12303         and history code for complete. wip.
12304
12305         * lyxfunc.C (processKeySym): call message
12306         (miniDispatch): new temporary method
12307         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12308         (LFUN_MESSAGE): implement
12309         (LFUN_MESSAGE_PUSH): implement
12310         (LFUN_MESSAGE_POP): implement
12311         (initMiniBuffer): the initial/defualt minibuffer message.
12312
12313         * lyxfont.[Ch]: inline some more getters
12314
12315         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12316
12317         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12318
12319         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12320         (AutoSave): use LFUN_MESSAGE
12321         (Reconfigure): ditto
12322
12323         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12324
12325         * figureForm.C: use LFUN_MESSAGE
12326
12327         * converter.C (runLaTeX): use LFUN_MESSAGE
12328
12329         * bufferview_funcs.C: use LFUN_MESSAGE
12330         (Melt): ditto
12331         (changeDepth): ditto
12332
12333         * bufferparams.h: use boost::
12334
12335         * bufferlist.h: inherit privately from noncopyable
12336
12337         * bufferlist.C (loadLyXFile): remove some commented code.
12338
12339         * buffer.C (runChktex): use LFUN_MESSAGE
12340
12341         * ShareContainer.h: inherit privately from noncopyable
12342
12343         * ParagraphParameters.[hC] (depth): inline it.
12344
12345         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12346         methods.
12347         (message): new method
12348         (messagePush): ditto
12349         (messagePop): ditto
12350         (show): init minibuffer
12351         (showState): direct call
12352
12353         * LaTeX.[Ch]: inherit privately from noncopyable
12354         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12355         instead of WriteStatus.
12356
12357         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12358
12359         * BufferView_pimpl.C (buffer): don't init minibuffer
12360         (workAreaButtonPress): use LFUN_MESSAGE
12361         (workAreaButtonRelease): ditto
12362         (savePosition): ditto
12363         (restorePosition): ditto
12364         (MenuInsertLyXFile): ditto
12365         (workAreaExpose): don't init minibuffer
12366         (update): remove commented code, simplify
12367
12368         * BufferView2.C (openStuff): use LFUN_MESSAGE
12369         (toggleFloat): ditto
12370         (menuUndo): ditto
12371         (menuRedo): ditto
12372         (copyEnvironment): ditto
12373         (pasteEnvironment): ditto
12374         (copy): ditto
12375         (cut): ditto
12376         (paste): ditto
12377         (gotoInset): ditto
12378         (updateInset): remove some commented code
12379
12380         * lastfiles.h: inherit privately from noncopyable
12381         * layout.h: ditto
12382         * lyx_gui.h: ditto
12383         * lyx_main.h: ditto
12384         * lyxlex.h: ditto
12385         * lyxlex_pimpl.h: ditto
12386
12387         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12388         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12389         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12390
12391         * LyXAction.h: inherit privately from noncopyable, add methods
12392         func_begin, func_end, returning iterators to the func map.
12393
12394         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12395         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12396         (func_begin): new method
12397         (func_end): new method
12398
12399         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12400         and not)
12401         (copySelection): ditto
12402         (pasteSelection): ditto
12403
12404         * BufferView.C: whitespace change
12405         * BufferView.h: inherit privately from noncopyable
12406
12407 2001-04-16  Allan Rae  <rae@lyx.org>
12408
12409         * tabular-old.C (l_getline):
12410         * spellchecker.C (sc_check_word):
12411         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12412         an unrecognised preprocessor directive.  So ensure they're wrapped.
12413
12414 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12415
12416         * src/exporter.C (Export): Give an error message when path to file
12417         contains spaces.
12418
12419 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12420
12421         * LaTeX.C (deplog): Always check that foundfile exists.
12422
12423 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12424
12425         * lyx_main.h:
12426         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12427
12428 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12429
12430         * tabular.[Ch] (getLabelList): implement new method
12431
12432         * minibuffer.h: comment ouf setTiimer
12433
12434         * minibuffer.C (ExecutingCB): constify res
12435         (peek_event): constify s
12436         (Set): constify ntext
12437         (Init): constify nicename
12438
12439         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12440
12441         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12442         (savePosition): use two params to Minibuffer::Set
12443         (restorePosition): ditto
12444
12445 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * lyx_main.C: include language.h
12448
12449         * Makefile.am (lyx_main.o): add language.h
12450
12451 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * exporter.C:
12454         * paragraph.C:
12455         * screen.C:
12456         * tabular.C:
12457         * CutAndPaste.C: include gettext.h
12458
12459         * lyxfont.h: remove old hack with ON and OFF.
12460
12461         * lyxparagraph.h:
12462         * lyxfont.h: do not include language.h...
12463
12464         * BufferView2.C:
12465         * LaTeXFeatures.C:
12466         * Painter.C:
12467         * bufferview_funcs.C:
12468         * font.C:
12469         * lyxfont.C:
12470         * text.C:
12471         * text2.C:
12472         * trans_mgr.C:
12473         * paragraph.C: ... but do it here instead
12474
12475 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12478
12479         * tabular.C: small reformat
12480
12481         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12482         NEW_INSETS version
12483         (GetChar): ditto
12484         (BreakParagraph): ditto
12485         (SetOnlyLayout): ditto
12486         (SetLayout): ditto
12487
12488         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12489         with one arg less.
12490
12491         * lastfiles.C: removed most using decl, add std:: where needed
12492
12493         * buffer.C: ws changes
12494
12495         * MenuBackend.C (class compare_format): put into anon namespace
12496         (expand): constify label, names, action, action2
12497         (expand):
12498
12499         * text.C (SingleWidth): constify font
12500         (IsBoundary): constify rtl2
12501         (GetVisibleRow): constify ww
12502
12503         * LaTeX.C (deplog): constify logfile
12504
12505         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12506         start_x, end_x
12507         (workAreaExpose): constify widthChange, heightChange
12508
12509         * lyxrow.C (par): moved
12510         (height): moved
12511         (next): moved
12512         * lyxrow.h: as inlines here
12513
12514         * lyxfont.h (shape): moved from lyxfont.C
12515         (emph): moved from lyxfont.C
12516
12517         * lyxfont.C (LyXFont): use initialization list for all
12518         constructors
12519         (shape): move to lyxfont.h as inline
12520         (emph): move to lyxfont.h as inline
12521
12522
12523 2001-04-04  Juergen Vigna  <jug@sad.it>
12524
12525         * vspace.C: had to include stdio.h for use of sscanf
12526
12527 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12528
12529         * BufferView.h:
12530         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12531         independent of xforms.
12532
12533 2001-04-02  Juergen Vigna  <jug@sad.it>
12534
12535         * spellchecker.C: fixed namespace placing!
12536
12537 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12538
12539         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12540         the LyXParagraph * is 0.
12541
12542 2001-03-29  Juergen Vigna  <jug@sad.it>
12543
12544         * vspace.C: added support for %, c%, p%, l%.
12545         (stringFromUnit): added helper function.
12546         (asLatexString): changed to give right results for the %-values.
12547
12548         * buffer.C: convert the widthp in a width%.
12549
12550 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12551
12552         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12553         figureForm.[Ch].
12554
12555         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12556         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12557
12558         * lyx_cb.[Ch]: see above.
12559
12560         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12561         form1.[Ch].
12562
12563         * form1.[Ch]:
12564         * lyx.[Ch]: replaced by figure_form.[Ch].
12565
12566         * lyx_gui.C:
12567         * lyx_gui_misc.C:
12568         * lyxfunc.C: changed headers associated with above changes.
12569
12570 2001-03-27  Juergen Vigna  <jug@sad.it>
12571
12572         * BufferView_pimpl.C: set the temporary cursor right!
12573
12574 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12575
12576         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12577
12578 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12579
12580         * LString.h: removed "using std::getline"!
12581
12582         * BufferView_pimpl.C (Dispatch): changes due to changes in
12583         InsetInclude::Params.
12584
12585         * buffer.C (tag_name): removed redundant break statements as they were
12586         producing lots of warnings with my compiler.
12587
12588 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12589
12590         * LString.h: add "using std::getline" when using the real <string>.
12591
12592 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12593
12594         * buffer.C: removed bitset usage.
12595         PAR_TAG moved to an anonymous name space.
12596         (tag_name): new funtion, also in the anonymous namespace.
12597         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12598         (makeDocBookFile): clean code. Completed transition from string arrays
12599         to string vectors.
12600         (SimpleDocBookOnePar): code clean.
12601
12602 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12603
12604         * tabular.C: add some comments.
12605
12606 2001-03-22  Juergen Vigna  <jug@sad.it>
12607
12608         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12609         compatibility read a bit and fixed bug with minipage in different
12610         depth.
12611
12612 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12613
12614         * buffer.C (pop_tag): removed.
12615         (push_tag): removed.
12616         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12617         array replaced with vector. Added support for CDATA sections.
12618         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12619         at any nest level.
12620         (makeDocBookFile): XML conformant declaration of CDATA section,
12621         fixed bug related to <emphasis> in the first paragraph char.
12622         (sgmlOpenTag): exclude empty tags.
12623         (sgmlCloseTag): ditto.
12624
12625         * buffer.h (pop_tag): removed.
12626         (push_tag): removed.
12627
12628 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12629
12630         * language.h (Languages): added size_type and size().
12631
12632 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12633
12634         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12635         response on compability reading of minipages. One probliem is that
12636         the old usage of minipages was «flertydig»
12637
12638         * several files here and in subdirs: don't use static at file
12639         scope use anon namespaces instead.
12640
12641 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12642
12643         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12644         LaTeX output. This is necessary for Literate document
12645         processing.
12646
12647 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12648
12649         * buffer.C: insert hfill when needed.
12650
12651         * tabular.C (l_getline): use string::erase, small whitespace change.
12652
12653         * BufferView_pimpl.C: try the anon namespace.
12654         * WorkArea.C: ditto
12655
12656 2001-03-16  Juergen Vigna  <jug@sad.it>
12657
12658         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12659         otherwise it won't open options-dialogs.
12660
12661         * buffer.C: honor pextraWidth(p) on converting minipages.
12662
12663         * tabular.C (l_getline): changed the functions to strip trailing \r.
12664
12665 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12666
12667         * BufferView_pimpl.C:
12668         * minibuffer..C: added "using SigC::slot" declaration.
12669
12670 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12671
12672         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12673
12674         * text2.C: ditto
12675
12676         * text.C: ditto
12677
12678         * paragraph.C: ditto
12679
12680         * lyxtext.h: NO_PEXTRA
12681
12682         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12683
12684         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12685         * ParameterStruct.h: ditto
12686         * ParagraphParameters.h: ditto
12687         * lyxparagraph.h: ditto
12688
12689 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12690
12691         * buffer.C: add compability for minipage alignment.
12692         (latexParagraphs): remove unwanted pextra check.
12693
12694         * several files: remove CXX_WORKING_NAMESPACES
12695
12696         * buffer.C (pop_tag): tie is in namespace boost
12697
12698         * BufferView.h: noncopyable is in namespace boost
12699         * lyxlex.h: ditto
12700         * lyx_main.h: ditto
12701         * lyx_gui.h: ditto
12702         * layout.h: ditto
12703         * lastfiles.h: ditto
12704         * bufferlist.h: ditto
12705         * ShareContainer.h: ditto
12706         * LyXView.h: ditto
12707         * LyXAction.h: ditto
12708         * LaTeX.h: ditto
12709
12710 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12711
12712         * Merging changes from BRANCH_MVC back into HEAD.
12713
12714         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12715
12716 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * BufferView_pimpl.C: change from intl.C
12719
12720         * combox.h:
12721         * combox.C:
12722         * Makefile.am: move combox.*
12723
12724         * form1.h:
12725         * form1.C:
12726         * lyx_gui.C:
12727         * intl.h:
12728         * intl.C: remove dialog (covered by prefs)
12729
12730 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * lyxfunc.C (Dispatch): removed redundant break statement.
12733
12734 2001-03-14  Juergen Vigna  <jug@sad.it>
12735
12736         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12737
12738 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12739
12740         * buffer.C: add hack to fix compability reading of minipages.
12741
12742 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12743
12744         * buffer.C (getLists): Cleanup.
12745
12746 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12747
12748         * lyxfont.C (update): don't honor toggleall on font size.
12749
12750 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * bmtable.c:
12753         * bmtable.h:
12754         * Makefile.am: moved to frontends/xforms/
12755
12756         * lyx_gui_misc.C:
12757         * lyxfunc.C:
12758         * BufferView_pimpl.C: changes for moved mathpanel
12759
12760 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * gettext.h: fix gettext_init() in --disable-nls
12763
12764 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12765
12766         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12767
12768 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * lyx.C:
12771         * lyx.h: strip external form
12772
12773 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * BufferView_pimpl.C: add comment, destroySplash()
12776
12777 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * BufferView_pimpl.C:
12780         * LyXAction.C:
12781         * buffer.C:
12782         * commandtags.h:
12783         * lyxfunc.C: use re-worked insetinclude
12784
12785 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12786
12787         * buffer.C: add using std::stringstream.
12788
12789         * lyx_cb.C: readd using std::ios.
12790
12791         * buffer.C: add using std::map.
12792
12793         * BufferView_pimpl.C: add using std::vector.
12794
12795         * ShareContainer.h: add std:: to swap.
12796
12797         * buffer.h: add some typedefs
12798         * buffer.C (getLists): use them
12799         (getLists): renamed from getTocList.
12800         add a counter for the different float types and use it in the
12801         generated string.
12802         (getLists): use the same counter for the NEW_INSETS and the "non"
12803         NEW_INSETS
12804
12805         * lyx_cb.h: remove unused items, includes, using etc.
12806
12807         * ShareContainer.h: remove some commented code, add more comments
12808         and "documentation".
12809
12810 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12811
12812         * buffer.C (getTocList): make the list also when NEW_INSETS is
12813         defined.
12814
12815         * buffer.h: remove TocType
12816
12817         * buffer.C (getTocList): change to return a map<string,
12818         vector<TocItem> >, implement for dynamic number of list.
12819
12820         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12821         * text2.C (PasteSelection): adjust
12822         * CutAndPaste.C (pasteSelection): adjust
12823
12824         * FloatList.C (FloatList): update from the new_insets branch.
12825         * Floating.[Ch]: ditto
12826         * LaTeXFeatures.C: ditto
12827         * buffer.C: ditto
12828         * lyxlex_pimpl.C: ditto
12829
12830         * paragraph.C (Last): remove when NEW_INSETS is defined.
12831
12832         * other file: changes because of the above.
12833
12834 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12835
12836         * lyxparagraph.h: rename next to next_, previous to previous_,
12837         make them private for NEW_INSETS. Rename Next() to next(),
12838         Previous() to previous().
12839
12840         * other files: changes because of the above.
12841
12842 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12843
12844         * BufferView.h:
12845         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12846         problem.
12847
12848 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * main.C (main): pass lyx_localedir to gettext_init().
12851
12852         * gettext.h: remove locale_init and gettext_init macros
12853
12854         * gettext.C (locale_init): new function
12855         (gettext_init): new function
12856
12857         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12858         setlocale().
12859
12860 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12861
12862         * Moved credits to frontends:
12863         * credits.[Ch]: removed
12864         * credits_form.[Ch]: removed
12865         * lyx_gui_misc.C: remove credits stuff
12866         * Makefile.am:
12867
12868 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12869
12870         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12871
12872         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12873         unneeded destructor.
12874
12875         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12876         a standalone pointer again.
12877
12878         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12879
12880 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * Makefile.am:
12883         * filedlg.h:
12884         * filedlg.C:
12885         * LyXAction.C:
12886         * ToolbarDefaults.C:
12887         * bufferlist.C:
12888         * commandtags.h:
12889         * form1.C:
12890         * form1.h:
12891         * lyx_cb.C:
12892         * lyx_cb.h:
12893         * lyxfunc.h:
12894         * lyxfunc.C:
12895         * BufferView_pimpl.C: use new file dialog in GUII
12896
12897         * lyx_cb.h:
12898         * lyx_cb.C: remove LayoutsCB to Toolbar
12899
12900 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12901
12902         * ShareContainer.h (get): add std:: qualifier
12903
12904 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12905
12906         * ShareContainer.h: define a proper ShareContainer::value_type
12907         type (and use typename to please compaq cxx)
12908
12909 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12910
12911         * lyxparagraph.h: move serveral local vars to
12912         ParameterStruct/ParagraphParameters., use ShareContainer in
12913         FontTable., make vars in FontTable private and add getter and
12914         setter.
12915
12916         * paragraph.C: changes because of the above.
12917
12918         * lyxfont.h: remove copy constructor and copy assignment. (the
12919         default ones is ok), move number inside FontBits. move inlines to
12920         lyxfont.C
12921
12922         * lyxfont.C: add number to initializaton of statics, move several
12923         inlines here. constify several local vars. some whitespace
12924         cleanup. Dont hide outerscope variables.
12925
12926         * Spacing.h: add two new constructors to match the set methods.
12927
12928         * ShareContainer.h: new file, will perhaps be moved to support
12929
12930         * ParameterStruct.h: new file
12931
12932         * ParagraphParameters.h: new file
12933
12934         * ParagraphParameters.C: new file
12935
12936         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12937         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12938
12939         * BufferView_pimpl.C: ParagraphParameter changes.
12940         * buffer.C: Likewise.
12941         * bufferview_funcs.C: Likewise.
12942         * text.C: Likewise.
12943         * text2.C: Likewise.
12944
12945 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12946
12947         * lyxfind.C (LyXReplace): do not redefine default argument in
12948         implementation.
12949         (IsStringInText): ditto
12950         (SearchForward): ditto
12951         (SearchBackward): ditto
12952
12953 2001-03-06  Juergen Vigna  <jug@sad.it>
12954
12955         * lyxfind.C (IsStringInText): put parentes around expressions.
12956
12957 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12958
12959         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12960
12961 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12962
12963         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12964
12965         * stl_string_fwd.h: add comment
12966
12967         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12968
12969         * tabular.h:
12970         * tabular.C: remove unused DocBook methods
12971
12972         * intl.C:
12973         * language.C:
12974         * paragraph.C:
12975         * buffer.C:
12976         killed DO_USE_DEFAULT_LANGUAGE
12977
12978 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * lyx_gui.C: do not include language.h.
12981
12982         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12983         arguments in function implementation.
12984
12985 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12986
12987         * BufferView_pimpl.C: add <ctime>
12988
12989 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12990
12991         * BufferView_pimpl.C: add using std::find_if
12992
12993 2001-02-27  José Matos  <jamatos@fep.up.pt>
12994
12995         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12996         by OnlyPath.
12997
12998 2001-02-11  José Matos  <jamatos@fep.up.pt>
12999
13000         * buffer.C (makeDocBookFile): command styles now have a parameter as
13001         "title" by default.
13002
13003 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13004
13005         * layout_forms.[Ch]: removed
13006         * lyx_cb.[Ch]: out character
13007         * lyx_gui.C: out character
13008         * lyx_gui_misc.C: out character
13009         * bufferview_funcs.C: : out character,
13010         added toggleall as parameter in ToggleAndShow
13011
13012 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13013
13014         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13015
13016         * text2.C (SetCurrentFont): Disable number property at boundary.
13017
13018 2001-02-26  Juergen Vigna  <jug@sad.it>
13019
13020         * lyxfunc.C (getStatus): added a string argument override function so
13021         that this is correctly called from LyXFunc::Dispatch if it contains a
13022         do_not_use_argument which is used!
13023         (Dispatch): added check for "custom" export and call appropriate func.
13024
13025 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13026
13027         * lyxrc.C: Add language_command_local, language_use_babel and
13028         language_global_options.
13029
13030         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13031
13032         * buffer.C (makeLaTeXFile): Use language_use_babel and
13033         language_global_options.
13034
13035 2001-02-23  Juergen Vigna  <jug@sad.it>
13036
13037         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13038         which works with LyXText and putted it inside BufferView. Here now we
13039         only call for that part the BufferView::Dispatch() function.
13040
13041         * BufferView.C (Dispatch): added.
13042
13043         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13044         functions which needs to use a LyXText over from LyXFunc.
13045         (MenuInsertLyXFile): added
13046         (getInsetByCode): added
13047         (moveCursorUpdate): added
13048         (static TEXT): added
13049
13050 2001-02-22  Juergen Vigna  <jug@sad.it>
13051
13052         * BufferView_pimpl.C (update): call a status update to see if LyXText
13053         needs it.
13054
13055 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13056
13057         * vc-backend.C (revert): implement for CVS
13058         (getLog): implement for CVS
13059
13060 2001-02-20  Juergen Vigna  <jug@sad.it>
13061
13062         * text2.C (ClearSelection): added BufferView param for inset_owner call
13063
13064         * lyxfunc.C (TEXT): added this function and use it instead of
13065         directly owner->view()-text of getLyXText().
13066
13067 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13068
13069         * src/layout_forms.C: out preamble
13070         * src/layout_forms.h: out preamble
13071         * src/lyx_cb.C: out preamble
13072         * src/lyx_cb.h: out preamble
13073         * src/lyx_gui.C: out preamble
13074         * src/lyx_gui_misc.C: out preamble
13075         * src/lyxfunc.C: connect with guii preamble
13076
13077 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13078
13079         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13080
13081 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13082
13083         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13084         whether to run bibtex.
13085
13086 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13089
13090 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13091
13092         * Makefile.am (lyx_SOURCES): removed bibforms.h
13093
13094         * vspace.h: doxygen
13095
13096         * text.C (GetVisibleRow): make several local vars const
13097
13098         * tabular.C: small cleanup.
13099
13100         * lyxserver.C (callback): use compare instead of strncmp
13101
13102         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13103         inlines to after class or to paragraph.C
13104
13105         * lyxfont.h: remove friend operator!=
13106
13107         * converter.h: move friend bool operator< to non friend and after
13108         class def.
13109
13110         * combox.h: small cleanup
13111
13112         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13113         to inlines after class def.
13114
13115         * buffer.C (pop_tag): use string operations instead of strcmp
13116
13117         * bmtable.c: doxygen, small cleanup
13118
13119         * LaTeX.h: remove friend operator==
13120
13121 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13122
13123         * screen.C:
13124         * lyxrc.[Ch]:
13125         * lyxfunc.C:
13126         * lyxfont.[Ch]:
13127         * lyx_cb.C:
13128         * intl.[Ch]:
13129         * commandtags.h:
13130         * buffer.C:
13131         * WorkArea.[Ch]:
13132         * LyXAction.C:
13133         * BufferView_pimpl.C:
13134         * BufferView.[Ch]: remove cruft
13135
13136 2001-02-14  Juergen Vigna  <jug@sad.it>
13137
13138         * lyxfunc.C: removed #if 0 unused code
13139
13140         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13141
13142         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13143
13144         * text2.C (SetSelection): added a BufferView * parameter
13145
13146 2001-02-13  Juergen Vigna  <jug@sad.it>
13147
13148         * lyxfunc.C (Dispatch): fixed protected blank problem.
13149         * BufferView2.C (protectedBlank): added LyxText * parameter.
13150
13151         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13152         (AppendColumn): same as above for column_info.
13153
13154         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13155         (moveCursorUpdate): use a LyXText param for support of InsetText.
13156
13157         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13158         (tripleClick): ditto
13159
13160         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13161
13162         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13163
13164         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13165
13166         * text2.C (SetSelection): set correct update status if inset_owner
13167         (ToggleFree): ditto
13168
13169 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13170
13171         * tabular.C: remove some commented code.
13172
13173 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * BufferView_pimpl.C: call hideSplash()
13176
13177         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13178
13179         * include_form.h:
13180         * bibforms.h: remove
13181
13182         * lyxfunc.C:
13183         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13184           add LFUN_CHILD_CREATE
13185
13186         * counters.h: fix tiny typo
13187
13188         * lyx_cb.C:
13189         * lyx.h:
13190         * lyx_gui.C:
13191         * lyx.C: move splash to frontends/xforms/
13192
13193         * lyx_gui_misc.C: move Include and Bibform to frontends
13194
13195         * lyxvc.h: clarify comment
13196
13197         * vspace.C: tiny housekeeping
13198
13199 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13200
13201         * text.C (PrepareToPrint): RTL Fix.
13202
13203         * paragraph.C (GetUChar): New method.
13204         (String):  Use GetUChar.
13205
13206         * buffer.C (asciiParagraph): Use GetUChar.
13207
13208 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13209
13210         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13211
13212 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * buffer.h:
13215         * buffer.C: rename to getLogName(), handle
13216           build log / latex log nicely
13217
13218 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * MenuBackend.C:
13221         * MenuBackend.h: remove support for reference menuitem type.
13222
13223 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * BufferView_pimpl.C: housekeeping
13226         * BufferView_pimpl.h:
13227         * LyXView.h:
13228         * Makefile.am:
13229         * Timeout.C:
13230         * Timeout.h:
13231         * minibuffer.h: move Timeout GUI-I
13232
13233 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13234
13235         * lyxrc.C (read): Update converters data-structures.
13236
13237 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13238
13239         * LaTeX.h (operator!=): add operator != for Aux_Info
13240
13241 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13242
13243         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13244
13245         * LaTeXLog.C: deleted, useful code moved to Buffer
13246
13247         * buffer.h:
13248         * buffer.C: new function getLatexLogName()
13249
13250         * lyx_gui_misc.C:
13251         * lyx_gui.C:
13252         * lyxvc.C:
13253         * lyxvc.h:
13254         * lyxfunc.C: use frontends for LaTeX and VC logs
13255
13256 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * LaTeX.h: yet another std:: that Allan forgot.
13259
13260         * Variables.C (set): renamed from isset(), because this clashes
13261         with some HP-UX macros (grr).
13262
13263 2001-02-06  Allan Rae  <rae@lyx.org>
13264
13265         * LaTeX.h: Another bug fix.  Missing std:: this time.
13266
13267 2001-02-04  Allan Rae  <rae@lyx.org>
13268
13269         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13270         floats problem. I've left it commented out because it's not quite
13271         correct.  It should also test that the current object is a table or
13272         figure inset.  But I haven't gotten around to figuring out how to do
13273         that.  I *think* it'll be something like: "table" == inset.type()
13274
13275         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13276         bool.
13277
13278 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13279
13280         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13281         all the citation/databases/styles in the auxilary file.
13282         (run): Rerun latex if there was a babel language error.
13283
13284 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13285
13286         * text.C (Backspace): Preserve the font when changing newline char
13287         with a space.
13288         (BreakParagraph): If the cursor is before a space, delete the space.
13289
13290         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13291
13292 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13293
13294         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13295         new argument (code).
13296         (ChangeCitationsIfUnique): New method.
13297
13298         * paragraph.C (GetPositionOfInset): Handle bibkey.
13299
13300 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13301
13302         * BufferView_pimpl.h: change type of Position::par_pos to
13303         LyXParagraph::size_type.
13304
13305 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * BufferView_pimpl.C (savePosition, restorePosition): Write
13308         messages to minibuffer.
13309
13310 2001-01-28  José Matos  <jamatos@fep.up.pt>
13311
13312         * buffer.C (makeDocBookFile): adds support for document language.
13313         A silly restriction on the name of LatexCommand types where removed.
13314         Added support for CDATA sections, allows to chars unescaped, used
13315         among others in code, to avoid escape < and >.
13316
13317 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13318
13319         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13320         saved positions instrad of a stack. Furthermore, a position is
13321         stored using paragraph id/paragraph position.
13322
13323         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13324         Remove LFUN_REF_BACK.
13325
13326 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13327
13328         * converter.C (dvipdfm_options): New method.
13329
13330 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13331
13332         * vspace.C (isValidLength): Fix for empty input string.
13333
13334 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * LyXAction.C (init): change description of LFUN_FIGURE to
13337         "Insert Graphics"
13338
13339 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * LaTeX.C: add using directive
13342
13343 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13344
13345         * MenuBackend.C (expand): Fix the sorting of the formats.
13346
13347 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13348
13349         * lyx_main.C: tiny error message fix
13350
13351 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13354         calling fl_initialize(). This fixes the problem with ',' as
13355         decimal separator in text files.
13356
13357 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13358
13359         * trans.C (process): Fix the keymap bug.
13360
13361 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13362
13363         * LaTeX.C (scanAuxFiles): New method. Provides support for
13364         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13365         (scanLogFile) Scan for "run BibTeX" messages.
13366
13367         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13368         OT1 font encoding. Also, load the aecompl package if the ae
13369         package is loaded.
13370
13371         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13372
13373 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13374
13375         * texrow.C (increasePos): turn two error messages into debug
13376         messages.
13377
13378 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13379
13380         * LaTeX.C (scanAux): Handle the \@input macro.
13381         (runBibTeX): Use scanAux().
13382
13383         * language.C (latex_options_): New field.
13384
13385         * LaTeXFeatures.C (getMacros): Add language macros.
13386
13387         * buffer.C (makeLaTeXFile): Small fix.
13388
13389 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13392
13393         * text2.C: add a using directive.
13394
13395 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * BufferView2.C:
13398         * lyx_gui_misc.h:
13399         * lyxfr1.C:
13400         * lyxfunc.C: kill LyXBell.
13401
13402 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13403
13404         * text.C (IsBoundary): Remove the error message
13405
13406         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13407
13408         * lyxrc.C (setDefaults): Correct initialization value for
13409         font_norm_type.
13410
13411 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13412
13413         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13414         gotoError().
13415
13416         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13417         and GotoNextNote().
13418
13419         * src/LyXAction.C: Added reference-next.
13420
13421         * text.C (InsertChar): Use contains instead of strchr.
13422
13423         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13424
13425 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13426
13427         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13428         alignment commands (when needed).
13429
13430         * text.C (InsertChar): Add ':' to number separator chars.