]> git.lyx.org Git - features.git/blob - src/ChangeLog
take the bidi stuff out of lyxtext.h to its own file
[features.git] / src / ChangeLog
1 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2
3         * lyxtext.h: move the bidi stuff from here...
4         * text.C: and here
5         * text2.C: and here
6         * Bidi.[Ch]: ... to here
7
8 2003-10-23  André Pönitz  <poenitz@gmx.net>
9
10         * lyxtext.h:
11         * text.C (isLastRow, isFirstRow): new functions
12
13         * paragraph.h: new width cache member
14
15         * rowpainter.C: replace RowList::iterator with Row & where possible
16
17         * lyxfunc.C: replace several view()->text with a single call
18
19         * toc.C: fix 'unused' warning
20
21 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
22
23         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
24         when woring with stream::pos_type
25         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
26
27 2003-10-22  André Pönitz  <poenitz@gmx.net>
28
29         * lyxtext.h:
30         * text.C: use Row & instead of RowList::iterator
31
32         * lyxrow.h: rename end() to endpos()
33
34         * rowpainter.C:
35         * text.C:
36         * text2.C: adjust
37
38 2003-10-22  Angus Leeming  <leeming@lyx.org>
39
40         * buffer.[Ch] (fully_loaded): new member function, returning true
41         only when the file has been loaded fully.
42         Used to prevent the premature generation of previews and by the
43         citation inset to prevent computation of the natbib-style label.
44
45         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
46         templates are all set up.
47
48         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
49
50 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * text.C: fixed an "oops" in the "is a bit silly"
53         bug fix
54
55 2003-10-21  André Pönitz  <poenitz@gmx.net>
56
57         * FuncStatus.[Ch]: small stuff, whitespace
58
59         * lyxfont.[Ch]: operator<<() for debug reasons
60
61         * lyxfunc.C:
62         * lyxrow_funcs.C:
63         * lyxtext.h: whitespace, spelling
64
65         * paragraph.C: naming of variables
66
67         * text.C:
68         * text2.C: small stuff
69
70
71 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * text.C: (1) finish off the inset display() work;
74         (2) fix the "is a bit silly" bug (accessing char
75         past end of par).
76
77 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
78
79         * text.C: re-introduce display() for insets, fixing the
80         various bugs (stretch of line above, math inset
81         positioning, ...)
82
83 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * text.C (rightMargin): remove spurious semicolon
86
87         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
88         1415)
89
90 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * text3.C: fix one crash due to wrong cursor def
93
94 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
95
96         * vc-backend.C (scanMaster): make the regex static
97
98         * LaTeX.C (scanAuxFile): make the regexs static
99
100         * text3.C (doInsertInset, dispatch, dispatch):
101         * text2.C (cursorUp, cursorDown):
102         * text.C (selectNextWordToSpellcheck):
103         * BufferView_pimpl.C (dispatch):
104         * lyxfunc.C (dispatch):  localDispatch -> dispatch
105
106 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * lyxsocket.C: include <cerrno>
109
110 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
111
112         * lyxfunc.C (dispatch): remove textcache stuff
113
114         * bufferlist.C (release): remove textcache stuff
115         (closeAll): ditto
116
117         * TextCache.C: delete file
118         * TextCache.h: delete file
119
120         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
121
122         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
123         delete of the bv_->text.
124         (resizeCurrentBuffer): remove texcache stuff
125         (workAreaResize): ditto
126
127 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
128
129         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
130         action.
131
132 2003-10-16  André Pönitz  <poenitz@gmx.net>
133
134         * lyxrow.[Ch]:
135         * paragraph.h:
136         * rowpainter.C:
137         * text.C:
138         * text2.C:
139         * text3.C: speed up by storing y positions per paragraph plus per-row
140         offset instead of having a 'full' y position in the row.
141
142 2003-10-15  André Pönitz  <poenitz@gmx.net>
143
144         * iterators.[Ch]:
145         * iterators.[Ch]:
146         * undo.[Ch]: make undo aware of inner insets
147
148 2003-10-14  Angus Leeming  <leeming@lyx.org>
149
150         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
151         static member functions LyX::ref() and LyX::cref.
152         (lastfiles): new accessor functions for the new lastfiles_ member var.
153         (addLyXView, views_): add a new LyXView to the list of views_.
154         (updateInset): loop over all LyXViews to call their own updateInset
155         member function, returning a pointer to the Buffer owning the inset.
156
157         * BufferView_pimpl.C (loadLyXFile):
158         * MenuBackend.C (expandLastfiles):
159         * bufferlist.C (MenuWrite, QuitLyX):
160         lastfiles is no longer a global variable.
161         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
162
163         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
164         static function. Access through LyX::cref().emergencyCleanup().
165
166 2003-10-14  André Pönitz  <poenitz@gmx.net>
167
168         * iterators.[Ch]: new direct access to innermost LyXText and Inset
169
170         * undo.[Ch]: restoring part of 'undo in insets'
171
172         * Makefile.am:
173         * undo_funcs.[Ch]: merge with undo.[Ch]
174
175         * tabular.C: small cleansing stuff
176
177 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
178
179         * paragraph_funcs.C (readParToken): report unknown insets as error
180         boxes. Use the outer paragraph as location (also for unknown
181         tokens).
182
183         * factory.C (readInset): do not abort on reading an unknown inset.
184         Eat it and return 0.
185
186 2003-10-13  Angus Leeming  <leeming@lyx.org>
187
188         * lyx_main.C (LyX): remove call to setDisplayTranslator().
189
190         * lyxrc.C: displayTranslator is now a function,
191         declared in GraphicsTypes.h.
192
193 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
194
195         * format.C: new placeholder $$a to pass the socket address.
196
197         * bufferlist.[Ch]: new function getBufferFromTmp.
198
199         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
200           files in the temporary dir.
201
202 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
203
204         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
205
206         * Makefile.am: add lyxsocket.[Ch].
207
208         * lyx_main.C (error_handler): handle SIGPIPE.
209
210 2003-10-13  André Pönitz  <poenitz@gmx.net>
211
212         * BufferView_pimpl.C:
213         * lyxtext.h:
214         * text.C:
215         * text2.C:
216         * text3.C:
217         * undo_funcs.[Ch]: use paroffset_type instead of
218           ParagraphList::iterators to prevent multiple conversion
219           (and get a more robust interface)
220
221 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
222
223         * lyxfunc.C (dispatch): RESULT -> dispatch_result
224         * lyxtext.h: ditto
225         * text3.C (dispatch): ditto
226
227 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
228
229         * LaTeX.C (handleFoundFile): move the static to smaller scope,
230         move the onlyfile, use onlyfile instead of foundfile in a couple
231         of places.
232
233         * DepTable.C (update): flush the error stream a bit more
234
235 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
236
237         * lyxserver.C (callback): adjust
238
239         * lyxfunc.C (getStatus): add a missing brace in commented code
240         (ensureBufferClean): reindent
241         (dispatch): delete version taking a string
242
243 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
244
245         * LaTeX.C (deplog): move found file handlig from here...
246         (handleFoundFile): .. to new function here.
247         (deplog): make sure to discover several files mentioned on the
248         same log line.
249
250 2003-10-10  André Pönitz  <poenitz@gmx.net>
251
252         * lyxfunc.C:
253         * lyxtext.h:
254         * tabular.C:
255         * text.C:
256         * text2.C:
257         * text3.C: fix some of the tabular crashes
258
259 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
260
261         * MenuBackend.C (binding): put debug message into Debug::KBMAP
262
263         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
264
265 2003-10-09  André Pönitz  <poenitz@gmx.net>
266
267         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
268
269         * BufferView.C:
270         * BufferView_pimpl.C:
271         * bufferview_funcs.C:
272         * lyx_cb.C:
273         * lyxcursor.C:
274         * lyxfind.C:
275         * lyxfunc.C:
276         * lyxtext.h:
277         * text.C:
278         * text2.C:
279         * text3.C:
280         * text_funcs.[Ch]:
281         * textcursor.[Ch]:
282         * undo_funcs.C: adjust
283
284 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
285
286         * text2.C (incrementItemDepth): new function, use a backtracking
287         algorithm to discover the correct item depth.
288         (resetEnumCounterIfNeeded): new function, use a backtracking
289         algorithm to discover if counter reset is needed.
290         (setCounter): use them. Simplify a bit. Add different labels for
291         different item depths for itemize.
292
293         * paragraph.C (Paragraph): remove initialization of enumdepth
294         (operator=): ditto
295
296         * paragraph.h: get rid of enumdepth, and use itemdepth both for
297         enumerate and itemize. Change the type of itemdepth to signed char.
298
299 2003-10-08  André Pönitz  <poenitz@gmx.net>
300
301         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
302           thing assignable.
303         * text.C:
304         * text2.C: adjust
305
306         * tabular.[Ch]: fix crash after 'row-insert'
307
308 2003-10-08  Angus Leeming  <leeming@lyx.org>
309
310         Fix doxygen warnings.
311
312         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
313         Remove CutAndPaste:: prefix from header file declaration.
314
315         * LColor.h (fill): remove LColor:: prefix from declaration.
316
317         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
318         use lyx::depth_type rather than Paragraph::depth_type so that
319         header file and .C file match.
320
321         * converter.h (intToFormat): remove Converters:: prefix from declaration.
322
323         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
324         * aspell.C: \file aspell_local.C -> \file aspell.C
325         * gettext.C: \file gettext.C -> \file src/gettext.C
326         * gettext.h: \file gettext.h -> \file src/gettext.h
327         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
328         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
329         * text.C: \file text.C -> \file src/text.C
330
331         * toc.C: move comment so that doxygen is not confused.
332
333 2003-10-07  Angus Leeming  <leeming@lyx.org>
334
335         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
336
337 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
338
339         * aspell.C:
340         * aspell_local.h: add forgotten std::string's.
341
342 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
343
344         * LaTeXFeatures.C:
345         * LyXAction.C:
346         * factory.C:
347         * lfuns.h:
348         * lyxfunc.C:
349         * text3.C: The Box patch. Fancybox support, minipage, parbox
350
351 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
352
353         * CutAndPaste.h:
354         * DepTable.h:
355         * FloatList.h:
356         * LaTeXFeatures.h:
357         * ParagraphParameters.h:
358         * TextCache.h:
359         * Thesaurus.h:
360         * bufferlist.h:
361         * exporter.h:
362         * importer.h:
363         * lastfiles.h:
364         * lyxfind.h:
365         * lyxfont.h:
366         * lyxlex.h:
367         * lyxtextclasslist.h:
368         * messages.h:
369         * paragraph.h:
370         * paragraph_pimpl.C:
371         * textcursor.h: add <string> and other small fixes to make Lars'
372         std::string patch compile with STLport.
373
374 2003-10-06  Angus Leeming  <leeming@lyx.org>
375
376         * LColor.h: Add missing #include <string>.
377
378 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
379
380         * All most all file in all subdirs: Make <string> be the prefered
381         way of getting to std::string, add using declarations.
382
383 2003-10-06  André Pönitz  <poenitz@gmx.net>
384
385         * metricsinfo.C: initialize LyXFont before changing attribute.
386         (fixes the 'math in \emph is upright' bug)
387
388 2003-10-06  André Pönitz  <poenitz@gmx.net>
389
390         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
391
392 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
393
394         * graph.C:
395         * paragraph_pimpl.C: Small fixes to build using STLport
396
397 2003-10-02  André Pönitz  <poenitz@gmx.net>
398
399         * lyxfunc.C:
400         * text3.C: move handling of LFUN_DEPTH *; fix #1360
401
402 2003-10-01  André Pönitz  <poenitz@gmx.net>
403
404         * factory.C: assert early
405
406 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
407
408         * lyx_main.C: remove the global debug object
409
410         * debug.h: adjust for new debugstream
411
412         * debug.C: adjust for new debugstream and keep the global debug
413         object here.
414
415 2003-09-22  Angus Leeming  <leeming@lyx.org>
416
417         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
418         of g++ which otherwise complain that the scoped_ptr destructor can't delete
419         an incomplete class LyXFont.
420
421 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
422
423         * factory.C: bug fix in branches
424
425 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
426
427         * lyxfunc.C (processKeySym): adjust
428         (dispatch): adjust
429         (dispatch): change arg name from ev to func, adjust
430         (sendDispatchMessage): ditto
431
432         * lyx_main.C (defaultKeyBindings): adjust keybindings
433         (deadKeyBindings): ditto
434
435         * kbsequence.C (addkey): return a FuncRequest
436
437         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
438
439         * kbmap.C (bind): take a FuncRequest as arg, adjust
440         (read): adjust
441         (lookup): adjust
442         (defkey): change to take a FuncRequest as arg, adjust
443         (findbinding): take a FuncRequest as arg, adjust.
444
445         * funcrequest.h (operator=): added
446
447         * funcrequest.C (FuncRequest): default kb_action changed from
448         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
449
450         * buffer.C (dispatch): simplify
451         (dispatch): adjust to take a FuncRequest as arg, adjust
452
453         * boost.C (assertion_failed): change assertion message slightly
454
455         * ToolbarBackend.C (read): simplify
456
457         * MenuBackend.C (binding): adjust call to findbinding, add a
458         message if no binding is found.
459         (read): simplify
460         (expandToc): correct by adding a empty FuncRequest
461
462         * LyXAction.C: include <boost/assert.hpp>
463         (isPseudoAction): delete function
464         (LookupFunc): change name to...
465         (lookupFunc): this. change return type to FuncRequest.
466         (getActionName): take kb_action as arg, simplify
467         (funcHasFlag): add an assert, simplify.
468
469 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
470
471         * toc.C (action): return a FuncRequest, simplify
472
473         * lyxfunc.C (processKeySym): adjust
474         (getStatus): delete version that takes an int.
475         (getStatus): adjust
476         (dispatch): delete version that takes action as int
477         (dispatch): adjust
478         (sendDispatchMessage): simplify and adjust
479
480         * funcrequest.C (getArg): take unsigned int as arg
481
482         * ToolbarBackend.C (read): adjust
483         (add): delete version that takes func as a string.
484         (getIton): take a FuncRequest as arg
485
486         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
487         action.
488
489         * MenuBackend.C (MenuItem): add a new construct that only takes a
490         Kind, simplify the constructor use for submenus.
491         (add): adjust
492         (expandLastfiles): adjust
493         (expandDocuments): adjust
494         (expandFormats): adjust
495         (expandFloatListInsert): adjust
496         (expandFloatInsert): adjust
497         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
498
499         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
500         Remove class variables lyx_pseudo_map and lyx_arg_map
501
502         * LyXAction.C (searchActionArg): delete function
503         (getPseudoAction): delete function
504         (retrieveActionArg): delete function
505         (LookupFunc): make it return kb_action, simplify.
506         (getActionName): simplify
507
508         * factory.C (createInset): fix new bug
509
510 2003-09-19  Angus Leeming  <leeming@lyx.org>
511
512         * CutAndPaste.C (pasteSelection): remove fudge used to set the
513         masterFilename_ parameter in the include inset.
514
515         * factory.C (createInset): changes due to the changes to InsetInclude.
516
517 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
518
519         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
520
521 2003-09-18  Angus Leeming  <leeming@lyx.org>
522
523         * buffer.C:
524         * BufferView.C: pass the buffer when calling Inset::getLabelList,
525         Inset::fillWithBibKeys.
526         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
527
528 2003-09-18  Angus Leeming  <leeming@lyx.org>
529
530         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
531         variables.
532         (ctor): pass and store a 'Buffer const &'
533         (buffer): new member function.
534
535         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
536         '*this' to the LaTeXFeatures ctor.
537
538 2003-09-18  Angus Leeming  <leeming@lyx.org>
539
540         * LColor.h:
541         * lyxfont.C:
542         * lyxfont.h:
543         * lyxtext.h:
544         * text.C: rename EnumLColor as LColor_color.
545
546 2003-09-18  Angus Leeming  <leeming@lyx.org>
547
548         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
549         remove #include "insets/insetbase.h" from cursor.h.
550
551 2003-09-18  Angus Leeming  <leeming@lyx.org>
552
553         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
554         InsetOld_code to remove #include "inset.h".
555
556         * iterators.C: add #include "insets/inset.h"
557
558 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * BufferView.C: remove more locking stuff that apparently doesn't
561         do anything sensible.
562
563 2003-09-16  André Pönitz  <poenitz@gmx.net>
564
565         * paragraph.[Ch]:
566         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
567           performance boost.
568
569 2003-09-16  Angus Leeming  <leeming@lyx.org>
570
571         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
572
573         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
574         arg/return type.
575
576         * paragraph.h: remove #include "lyxfont.h". Forward declare
577         LyXFont_size.
578
579 2003-09-16  Angus Leeming  <leeming@lyx.org>
580
581         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
582         of support/textutils.h.
583         (isWord): move the contents of support/textutils.h's IsWordChar here.
584
585         * buffer.C:
586         * lyxfind.C:
587         * rowpainter.C:
588         * text.C:
589         * text2.C: add #include "paragraph.h".
590
591         * rowpainter.C:
592         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
593
594 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
595
596         * main.C:
597         * lyx_main.C:
598         * lyx_cb.C:
599         * buffer.C:
600         * LaTeX.C: use namespace alias for lyx::support::os
601
602 2003-09-16  Angus Leeming  <leeming@lyx.org>
603
604         * bufferparams.C:
605         * bufferview_funcs.C:
606         * factory.C:
607         * lyxfunc.C:
608         * paragraph_pimpl.C:
609         * rowpainter.C:
610         * text.C: add #include "LColor.h".
611
612 2003-09-16  Angus Leeming  <leeming@lyx.org>
613
614         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
615         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
616         return LyXFont &.
617         Store the FontBits::color variable as an int rather than as an
618         LColor::colorso that we can move LColor.h out of the lyxfont.h header
619         file.
620
621         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
622         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
623         string calls together.
624
625         * lyxrc.C: add #include "LColor.h".
626
627 2003-09-15  Angus Leeming  <leeming@lyx.org>
628
629         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
630         a cow_ptr.
631
632 2003-09-15  Angus Leeming  <leeming@lyx.org>
633
634         * LColor.h: add an EnumLColor wrapper for LColor::color.
635
636         * lyxfont.[Ch] (color, setColor, realColor):
637         * lyxtext.h, text.C (backgroundColor):
638         pass EnumLColor args to/from the functions, rather than LColor::color
639         ones.
640
641         * lyxfont.h:
642         * lyxtext.h: forward declare EnumLColor.
643
644         * lyx_main.C: add #include "LColor.h".
645
646 2003-09-15  Angus Leeming  <leeming@lyx.org>
647
648         * .cvsignore: add lyx-gtk.
649
650 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
651
652         * Chktex.C
653         * LaTeX.C
654         * LaTeXFeatures.C
655         * ParagraphParameters.C
656         * Spacing.C
657         * buffer.C
658         * bufferparams.C
659         * bufferview_funcs.C
660         * chset.C
661         * counters.C
662         * funcrequest.C
663         * lyxfont.C
664         * lyxgluelength.C
665         * lyxlength.C
666         * paragraph.C
667         * paragraph_funcs.C
668         * text3.C
669         * vc-backend.C: remove usage of STRCONV
670
671 2003-09-15  Angus Leeming  <leeming@lyx.org>
672
673         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
674         explicitly define the color passed to the painter.
675
676 2003-09-15  Angus Leeming  <leeming@lyx.org>
677
678         * bufferparams.C (BufferParams): reorder member initializers to avoid
679         compiler warning.
680
681 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
682
683         * CutAndPaste.C (pasteSelection): remove an outdated #warning
684         * text.C (updateRowPositions): remove an unusual nop
685
686 2003-09-12  André Pönitz  <poenitz@gmx.net>
687
688         * BufferView_pimpl.C:
689         * Bullet.C:
690         * layout.h:
691         * lyxfunc.C:
692         * lyxlayout.[Ch]:
693         * lyxtextclass.C:
694         * rowpainter.C:
695         * text.C:
696         * text2.C:
697         * Counters.[Ch]: finish the 'automatic counters' job
698
699 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
700
701         * aspell.C: include <boost/assert.cpp> (compile fix)
702
703 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
704
705         * boost.C (assertion_failed): use lyx::support::abort instead of
706         assert.
707
708 2003-09-10  Angus Leeming  <leeming@lyx.org>
709
710         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
711         with their _fwd progeny.
712
713 2003-09-09  Angus Leeming  <leeming@lyx.org>
714
715         134 files throughtout the source tree: replace 'using namespace abc;'
716         directives with the appropriate 'using abc::xyz;' declarations.
717
718 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
719
720         * boost.C (emergencyCleanup): moved here from LAssert.c
721         (assertion_failed): new function, called by BOOST_ASSERT
722
723         * several files: change Assert to BOOST_ASSERT
724
725 2003-09-09  Angus Leeming  <leeming@lyx.org>
726
727         * buffer.[Ch]: Add an Impl class and move Buffer's member
728         variables into it. As a result move several header files out of
729         buffer.h.
730
731         Add header files to lots of .C files all over the tree as a result.
732
733 2003-09-09  Angus Leeming  <leeming@lyx.org>
734
735         * buffer.[Ch]: make Buffer's member variables private. Add
736         accessor functions.
737
738         Lots of changes all over the tree as a result.
739
740 2003-09-08  Angus Leeming  <leeming@lyx.org>
741
742         * graph.C: #include <config.h>.
743
744 2003-09-08  Angus Leeming  <leeming@lyx.org>
745
746         * BranchList.C:
747         * BufferView.C:
748         * BufferView_pimpl.C:
749         * CutAndPaste.C:
750         * DepTable.C:
751         * LaTeX.C:
752         * LaTeXFeatures.C:
753         * LyXAction.C:
754         * MenuBackend.C:
755         * TextCache.C:
756         * aspell.C:
757         * buffer.C:
758         * bufferlist.C:
759         * changes.C:
760         * chset.C:
761         * converter.C:
762         * counters.C:
763         * debug.C:
764         * graph.C:
765         * ispell.C:
766         * lyx_cb.C:
767         * lyxfind.C:
768         * lyxfunc.C:
769         * lyxlex_pimpl.C:
770         * lyxrc.C:
771         * lyxrow.C:
772         * paragraph.C:
773         * rowpainter.C:
774         * texrow.C:
775         * text.C:
776         * text2.C:
777         * toc.C: remove redundant using directives.
778
779 2003-09-07  Angus Leeming  <leeming@lyx.org>
780
781         * LaTeXFeatures.h: remove #include "support/types.h".
782         * ToolbarBackend.h: remove #include <algorithm>.
783         * changes.h: remove #include <ctime>.
784         * debug.h: remove #include <iosfwd>.
785         * graph.h: remove #include "support/std_string.h".
786         * lyx_main.h: remove #include <csignal>.
787         * lyxlex_pimpl.h: remove #include <fstream>.
788         * sgml.h: remove #include <algorithm>, <utility>.
789         * toc.h: remove #include "support/std_ostream.h".
790         Add #include <iosfwd>.
791
792 2003-09-07  Angus Leeming  <leeming@lyx.org>
793
794         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
795
796         * converter.h: forward declare LatexRunParams.
797         * encoding.h: remove #include "lyxrc.h".
798         * lyxtext.h: remove #include "LColor.h".
799         * lyxtextclass.h: remove #include "support/types.h".
800         * trans.h: remove #include "tex-accent.h".
801         * trans_mgr.h: remove #include "tex-accent.h".
802         * insets/inset.h: remove #include "support/types.h", <vector>.
803         * insets/insetcollapsable.h: remove #include "LColor.h".
804         * insets/insetinclude.h: remove #include "dimension.h".
805         * insets/insetlatexaccent.h: remove #include "dimension.h".
806         * insets/insetoptarg.h:: remove #include "insettext.h".
807         * insets/insettext.h: remove #include "dimension.h",
808         <boost/shared_ptr.hpp>
809
810         * insets/renderers.h: add #include "dimension.h".
811         * insets/updatableinset.h: add #include "support/types.h".
812
813         * many .C files: Associated changes.
814
815 2003-09-06  Angus Leeming  <leeming@lyx.org>
816
817         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
818         one, inside testInvariant.
819
820         * PrinterParams.C: new file.
821         * PrinterParams.[Ch]: move the function bodies out of line.
822
823 2003-09-06  Angus Leeming  <leeming@lyx.org>
824
825         * ParagraphParameters.h: forward declare ParameterStruct rather than
826         including its header file.
827         (depth): moved out-of-line.
828
829 2003-09-06  Angus Leeming  <leeming@lyx.org>
830
831         * BufferView_pimpl.h:
832         * kbmap.h:
833         * kbsequence.h:
834         * lyxfunc.h: forward declare LyXKeySym rather than
835         #include "frontends/LyXKeySym.h".
836
837         * BufferView_pimpl.C:
838         * kbmap.C:
839         * kbsequence.C:
840         * lyxfunc.C: associated changes.
841
842 2003-09-06  Angus Leeming  <leeming@lyx.org>
843
844         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
845         As a result, can remove the #include "insets/inset.h" from BufferView.h
846
847 2003-09-06  Angus Leeming  <leeming@lyx.org>
848
849         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
850         As a result, can remove the #include "insets/inset.h" from BufferView.h
851
852 2003-09-06  Angus Leeming  <leeming@lyx.org>
853
854         * buffer_funcs.C:
855         * buffer.h:
856         * bufferlist.C:
857         * BufferView.C:
858         * bufferview_funcs.C:
859         * BufferView_pimpl.C:
860         * CutAndPaste.C:
861         * lyx_cb.C:
862         * lyxfunc.C:
863         * paragraph.h:
864         * ParagraphParameters.C:
865         * tabular.C:
866         * text3.C:
867         * toc.C:
868         * undo_funcs.C:
869         * frontends/controllers/ControlDocument.C:
870         * insets/insetcaption.C: rearrange the #includes into some sort of
871         coherent order.
872
873         * buffer.h: remove #includes ErrorList.h, undo.h
874
875 2003-09-06  Angus Leeming  <leeming@lyx.org>
876
877         * support/types.h: add a 'depth_type' typedef, used to store the
878         nesting depth of a paragraph.
879
880         * paragraph.h:
881         * ParameterStruct.h: use this lyx::depth_type typedef rather than
882         defining explicitly.
883
884         * buffer.h:
885         * paragraph_funcs.h:
886         * ParagraphParameters.h:
887         * sgml.h: use lyx::depth_type rather than Paragraph or
888         ParameterStruct's depth_type.
889
890         * buffer.h
891         * paragraph_funcs.h: no need to #include paragraph.h anymore.
892
893         * BufferView.C:
894         * BufferView_pimpl.C:
895         * CutAndPaste.C:
896         * ParagraphParameters.C:
897         * buffer_funcs.C:
898         * bufferlist.C:
899         * bufferview_funcs.C:
900         * lyx_cb.C:
901         * lyxfunc.C:
902         * tabular.C:
903         * text3.C:
904         * toc.C:
905         * undo_funcs.C:
906         * frontends/LyXView.C:
907         * frontends/controllers/ControlDocument.C:
908         * frontends/controllers/ControlErrorList.C:
909         * insets/insetbibitem.C:
910         * insets/insetbranch.C:
911         * insets/insetcaption.C:
912         * insets/insetcollapsable.C:
913         * insets/insetenv.C:
914         * insets/insetert.C:
915         * insets/insetfloat.C:
916         * insets/insetfoot.C:
917         * insets/insetfootlike.C:
918         * insets/insetnewline.C:
919         * insets/insetquotes.C:
920         * insets/insettabular.C:
921         * insets/insettext.C:
922         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
923
924         * frontends/controllers/ControlChanges.C: #include "changes.h".
925
926 2003-09-06  Angus Leeming  <leeming@lyx.org>
927
928         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
929         than #including paragraph.h.
930
931         * ParagraphList.h:
932         * RowList.h: deleted. Superfluous.
933
934         * CutAndPaste.h:
935         * iterators.h:
936         * lyxcursor.h:
937         * lyxtext.h:
938         * text_funcs.h:
939         * undo.h:
940         * undo_funcs.h:
941         * insets/inset.h:
942         * insets/insettext.h: use ParagraphList_fwd.h rather than
943         ParagraphList.h.
944
945         * paragraph.h: don't forward declare ParagraphList.
946
947         * buffer.h:
948         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
949         rather than ParagraphList.h. paragraph.h is still needed for the
950         Paragraph::depth_type parameters.
951
952         * textcursor.h: enable it to compile stand-alone in light of the
953         above changes.
954
955         * bufferview_funcs.C:
956         * iterators.C:
957         * lyxfunc.C:
958         * lyxrow_funcs.C:
959         * paragraph.C:
960         * rowpainter.C:
961         * text.C:
962         * text2.C:
963         * text3.C:
964         * text_funcs.C:
965         * textcursor.C:
966         * undo.C:
967         * frontends/controllers/ControlParagraph.C:
968         * frontends/controllers/ControlTabular.C:
969         * insets/insetmarginal.C:
970         * insets/insetminipage.C:
971         * insets/insetnote.C:
972         * insets/insetoptarg.C: add header files needed to compile again.
973
974 2003-09-06  Angus Leeming  <leeming@lyx.org>
975
976         * RowList_fwd.h: new file, forward-declaring Row rather than
977         #including lyxrow.h.
978
979         * lyxrow_funcs.h:
980         * lyxtext.h:
981         * paragraph.h:
982         * insets/insettext.h: use it instead of RowList.h
983
984         * bufferview_funcs.C:
985         * lyxfunc.C:
986         * lyxrow_funcs.C:
987         * paragraph.C:
988         * rowpainter.C:
989         * text.C:
990         * text2.C:
991         * text3.C: #include "RowList.h".
992
993 2003-09-05  Angus Leeming  <leeming@lyx.org>
994
995         * factory.C (createInset):
996         * vspace.C (c-tor): replace sscanf call with an istringstream.
997         * ispell.C: re-add missing HP/UX headers.
998         * lyxserver.C: re-add missing  os2 headers.
999
1000 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1001
1002         * BranchList.C:
1003         * graph.C:
1004         * ispell.C:
1005         * lastfiles.C:
1006         * lyx_cb.C:
1007         * lyxserver.C:
1008         * texrow.C:
1009         * text3.C: re-add missing system headers, needed for 2.95.2.
1010
1011 2003-09-05  Angus Leeming  <leeming@lyx.org>
1012
1013         Changes most place everywhere due to the removal of using directives
1014         from support/std_sstream.h.
1015
1016 2003-09-05  Angus Leeming  <leeming@lyx.org>
1017
1018         Replace LString.h with support/std_string.h,
1019         Lsstream.h with support/std_sstream.h,
1020         support/LIstream.h with support/std_istream.h,
1021         support/LOstream.h with support/std_ostream.h.
1022
1023         Changes resulting throughout the tree.
1024
1025 2003-09-05  Angus Leeming  <leeming@lyx.org>
1026
1027         * sgml.h: ensure that the header file can be compiled stand-alone.
1028         * *.C: strip out redundant #includes. (320 in total.)
1029
1030 2003-09-04  Angus Leeming  <leeming@lyx.org>
1031
1032         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1033         here (from getPackages).
1034
1035         * debug.[Ch]: add a new EXTERNAL tag.
1036
1037 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1038
1039         * text2.C (cursorEnd): simplify
1040         (setCursor): adjust
1041         (getColumnNearX): adjust
1042
1043         * text.C (computeBidiTables): adjust
1044         (fill): adjust
1045
1046         * rowpainter.C (paintChars): adjust
1047         (paintSelection): adjust
1048         (paintChangeBar): adjust
1049         (paintText): adjust
1050
1051         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1052         lastPos instead.
1053         (numberOfSeparators): adjust
1054
1055 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * LyXAction.C:
1058         * box.[Ch]:
1059         * lfuns.h:
1060         * lyxfunc.C:
1061         * text3.C: Restricts the mouse click functionality
1062         of insets like bibtex, include, toc and floatlist to the visible
1063         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1064         up the dialogs. Cursor has to be in front of the inset (i.e.
1065         start of row) for this to function.
1066
1067 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1068
1069         * bufferview_funcs.C (currentState): output row information
1070
1071 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1072
1073         * bufferview_funcs.C (currentState): output paragraph position
1074
1075 2003-09-04  Angus Leeming  <leeming@lyx.org>
1076
1077         * FloatList.h: move out #include "Floating.h".
1078         * LaTeX.h: move out #include "DepTable.h".
1079         * LyXAction.h: move out #include "funcrequest.h".
1080         * buffer.h: move out #include "author.h", "iterators.h".
1081         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1082         * lyx_main.h: move out #include "errorlist.h".
1083         * lyxfunc.h: move out #include "FuncStatus.h".
1084         * lyxtext: move out #include "lyxcursor.h".
1085         * paragraph_pimpl.h: move out #include "counters.h".
1086
1087 2003-09-03  Angus Leeming  <leeming@lyx.org>
1088
1089         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1090         preamble_snippets list, enabling us to add snippets to the preamble
1091         only if the snippet was not there already.
1092
1093 2003-09-04  Angus Leeming  <leeming@lyx.org>
1094
1095         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1096
1097 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1098
1099         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1100         update
1101
1102 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1103
1104         * BranchList.C: point fix, earlier forgotten
1105
1106 2003-09-02  Angus Leeming  <leeming@lyx.org>
1107
1108         * box.C (contains): renamed from 'contained' after a fantastic
1109         amount of hot air.
1110
1111 2003-09-02  John Levon  <levon@movementarian.org>
1112
1113         * BufferView.C:
1114         * lyxcursor.h:
1115         * lyxcursor.C:
1116         * lyxfunc.C:
1117         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1118
1119 2003-09-02  John Levon  <levon@movementarian.org>
1120
1121         * text2.C: simplification of cursorEnd(), including partial
1122         fix for bug 1376
1123
1124 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1125
1126         * buffer.C (readFile): add a space
1127
1128 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1129
1130         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1131
1132 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1133
1134         * buffer.C (readFile): new function, take a filename and a
1135         ParagraphList::iterator
1136         (readFile): adjust
1137         (readFile): adjust, make it private. don't use setStream, make
1138         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1139         always contain the filename.
1140
1141         * BufferView.C (insertLyXFile): simplify and make it work for
1142         gzipped files.
1143
1144 2003-08-30  John Levon  <levon@movementarian.org>
1145
1146         * Makefile.am: fix dist (from Kayvan)
1147
1148 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1149
1150         * most files: change to use const Buffer refs
1151
1152 2003-08-27  André Pönitz  <poenitz@gmx.net>
1153
1154         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1155         on top of ownerPar().
1156
1157 2003-08-27  John Levon  <levon@movementarian.org>
1158
1159         * funcrequest.C: properly initialise POD members
1160
1161 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1162
1163         * lyxtext.h (top_y): move top_y from here
1164         * text.C:
1165         * text2.C:
1166         * text3.C:
1167         * BufferView.[Ch]:
1168         * BufferView_pimpl.[Ch]: to here
1169         * frontends/screen.C:
1170         * insets/insettabular.C:
1171         * insets/insettext.C: adjust
1172         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1173
1174 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1175
1176         * BufferView.[Ch]:
1177         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1178
1179 2003-08-26  André Pönitz  <poenitz@gmx.net>
1180
1181         * paragraph_func.[Ch] (outerPar): new function
1182
1183         * paragraph.C:
1184         * paragraph_funcs.C:
1185         * paragraph_funcs.h:
1186         * paragraph_pimpl.C:
1187         * text2.C: remove Inset::par_owner
1188
1189 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1190
1191         * lyxrow_funcs.C:
1192         * lyxtext.h:
1193         * text.C:
1194         * text2.C: eliminates the needFullRow/display() stuff
1195         altogether, putting the logic in metrics/draw in the insets.
1196
1197 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1198
1199         * text2.C (redoParagraphInternal, redoParagraphs):
1200         * text.C (redoParagraph): add a call to updateRowPositions at the
1201         end of each 'metrics-like' call. Remove all others.
1202         (getRow): remove the 'y-computing' version.
1203         (getRowNearY): do not compute nor return the real y. Solve the
1204         'y < 0' problem and simplify.
1205
1206 2003-08-22  Angus Leeming  <leeming@lyx.org>
1207
1208         * *.[Ch]: clean-up of licence and author blurbs.
1209         Also move config.h out of a few .h files and into a few .C files.
1210
1211 2003-08-22  André Pönitz  <poenitz@gmx.net>
1212
1213         * lyxrow.[Ch]: add x_ and *fill_ members
1214
1215         * lyxtext.h:
1216         * text.C:
1217         * rowpainter.C:
1218         * text2.C: adjust/remove prepareToPrint() calls
1219
1220 2003-08-22  André Pönitz  <poenitz@gmx.net>
1221
1222         * lyxrow.[Ch]: add  end_ member
1223
1224         * lyxrow_funcs.C: use LyXRow::end_
1225
1226         * lyxtext.h (singleWidth): add LyXFont parameter
1227
1228         * rowpainter.C:
1229         * text2.C: adjust LyXText::singleWidth() calls
1230
1231         * text.C (redoParagraph): simplify row breaking logic
1232
1233
1234 2003-08-19  André Pönitz  <poenitz@gmx.net>
1235
1236         * funcrequest.C: initialize button_ member
1237
1238         * text3.C:
1239         * rowpainter.[Ch]: interface consolidation
1240
1241 2003-08-18  André Pönitz  <poenitz@gmx.net>
1242
1243         * BufferView.C:
1244         * BufferView_pimpl.C:
1245         * lyxfind.C:
1246         * paragraph_funcs.C:
1247         * rowpainter.C:
1248         * text3.C: remove LyXScreen::draw() and fitCursor calls
1249
1250         * BranchList.h: remove spurious semicolons
1251
1252         * MenuBackend.C: fix branchlist related crash
1253
1254 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1255
1256         * BranchList.[Ch]:
1257         * InsetList.[Ch]:
1258         * LColor.[Ch]:
1259         * LyXAction.C:
1260         * Makefile.am:
1261         * MenuBackend.[Ch]:
1262         * bufferparams.[Ch]:
1263         * factory.C:
1264         * lfuns.h:
1265         * lyxfunc.C:
1266         * text3.C: implements the 'branch inset'
1267         idea. This allows the output of various versions of a document
1268         from a single source version, selectively outputing or suppressing
1269         output of parts of the text.
1270         This implementation contains a 'branch list editor' in a separate
1271         tab of the document settings dialog. Branches are user definable
1272         and have a "display colour" to distinguish them on-screen.
1273
1274         ColorHandler was somewhat cleaned up.
1275         (1) make possible a dynamically growing LColor list by allowing
1276         the graphic context cache to grow along (vector);
1277         (2) eliminate an IMHO unnecessary step in colour allocation.
1278
1279 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1280
1281         * BufferView_pimpl.C: compile fix
1282
1283 2003-08-15  André Pönitz  <poenitz@gmx.net>
1284
1285         * rowpainter.C: remove extra metrics calls
1286
1287         * lyxtext.h: merge the two constructors into a single one,
1288           pass reference to owner's par list
1289
1290         * BufferView_pimpl.C:
1291         * text.C:
1292         * text2.C: adjust
1293
1294 2003-08-15  André Pönitz  <poenitz@gmx.net>
1295
1296         * lyxrow_funcs.[Ch]:
1297         * lyxtext.h:
1298         * paragraph.h:
1299         * paragraph_funcs.C:
1300         * rowpainter.C:
1301         * text.C:
1302         * text2.C:
1303         * text3.C:
1304         * text_funcs.C: split LyXText::rowlist_ into individual
1305         Paragraph::rows_ chunks
1306
1307         * BufferView.[Ch]:
1308         * BufferView_pimpl.[Ch]:
1309         * lyxfind.C:
1310         * lyxtext.h:
1311         * text3.C: remove toggleSelection()
1312
1313 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1314
1315         * bufferlist.C: beautify two alerts (shorter text of buttons)
1316         * buffer.C: Remove redundant ' ' from message
1317         * tabular.h:
1318         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1319         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1320         rename VALIGN_CENTER to VALIGN_MIDDLE
1321
1322 2003-08-11  André Pönitz  <poenitz@gmx.net>
1323
1324         * lyxtext.h (getPar):
1325         * text.C: new function
1326
1327 2003-08-11  André Pönitz  <poenitz@gmx.net>
1328
1329         * Makefile.am:
1330         * tracer.[Ch]: remove unneeded files
1331
1332         * InsetList.[Ch]: remove resizeInsetsLyXText()
1333
1334         * lyxtext.h:
1335         * text.C:
1336         * text2.C:
1337         * text3.C: merge insertParagraphs() and appendParagraph()
1338         remove breakAgain(), update()
1339
1340         * BufferView_pimpl.[Ch]:
1341         * bufferview_funcs.[Ch]:
1342         * lyxfunc.C:
1343         * paragraph.[Ch]:
1344         * rowpainter.C:
1345         * tabular.C: adjust after text & InsetList changes.
1346
1347 2003-08-08  André Pönitz  <poenitz@gmx.net>
1348
1349         * text.C (insertChar, backspace): replace rowlist fiddling
1350         with rebreak of full par
1351
1352         * lyxtext.h:
1353         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1354         checkParagraph, updateInset): removed
1355
1356 2003-08-07  André Pönitz  <poenitz@gmx.net>
1357
1358         * paragraph.C:
1359         * text3.C: merge some LFUN handlers, remove dead code
1360
1361 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1364
1365 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1366
1367         * text2.C (DEPM): fix part of bug 1255 and 1256
1368
1369 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * BufferView_pimpl.C (workAreaDispatch): change to use
1372         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1373         that are no mouse related.
1374
1375 2003-08-05  André Pönitz  <poenitz@gmx.net>
1376
1377         * BufferView.[Ch]:
1378         * BufferView_pimpl.[Ch]:
1379         * bufferview_funcs.C:
1380         * text2.C:
1381         * text3.C: rip out "deep update"
1382
1383         * textcursor.[Ch] (last_sel_cursor): remove unused member
1384
1385 2003-08-04  André Pönitz  <poenitz@gmx.net>
1386
1387         * BufferView.[Ch]:
1388         * BufferView_pimpl.[Ch]:
1389         * ParagraphParameters.C:
1390         * bufferview_funcs.C:
1391         * lyx_cb.C:
1392         * lyxfind.C:
1393         * lyxfunc.C:
1394         * text.C:
1395         * text2.C:
1396         * text3.C: replace "complicated" BufferView::update(...) calls with
1397         simpler ones.
1398
1399         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1400
1401 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1402
1403         * Makefile.am (lyx_SOURCES): add paper.h
1404
1405 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1406
1407         * Makefile.am: move things around so that both lyx-qt and
1408         lyx-xforms can be built (according to --with-frontend). Then lyx
1409         is a symbolic link to lyx-[firstfrontend]
1410
1411 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1412
1413         * Always use std::endl with lyxerr
1414
1415 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1416
1417         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1418
1419 2003-08-01  André Pönitz  <poenitz@gmx.net>
1420
1421         * BufferView.[Ch]:
1422         * BufferView_pimpl.[Ch]:
1423         * lyxfunc.C:
1424         * text3.C: merge BufferView::repaint() and BufferView::update()
1425
1426 2003-08-01  José Matos  <jamatos@lyx.org>
1427
1428         * buffer.[Ch]: file_format is no longer a buffer data element.
1429
1430 2003-08-01  André Pönitz  <poenitz@gmx.net>
1431
1432         * BufferView.C:
1433         * lyxtext.h:
1434         * text.C:
1435         * text2.C: make redoParagraph more independent of current cursor
1436
1437         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1438         * text.C:
1439         * text2.C: remove unneeded members
1440
1441 2003-07-30  André Pönitz  <poenitz@gmx.net>
1442
1443         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1444
1445         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1446           create a single function...
1447
1448         * paragraph_funcs.C (moveItem): ... here.
1449
1450         * text.C:
1451           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1452
1453 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1454
1455         * LColor.[Ch]: Add comment and greyedout logical colors.
1456
1457 2003-07-30  André Pönitz  <poenitz@gmx.net>
1458
1459         * tabular.C: don't use Assert too heavily. This crashes where it
1460           shouldn't
1461
1462 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1463
1464         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1465         is disabled (bug 1232)
1466
1467 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1468
1469         * factory.C: limited 'arg' scope
1470
1471 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1472
1473         * factory.C: fixed Note submenu issues
1474
1475 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1476
1477         * factory.C: submenu for Note/Comment/Greyedout
1478
1479 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1480
1481         * lyx_main.C (LyX):
1482         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1483
1484 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1485
1486         * LaTeXFeatures.C:
1487         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1488         greyedout. Patch provided by Jürgen Spitzmüller.
1489
1490 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1491
1492         * kbmap.C (read): fix error message when reading bind files
1493
1494 2003-07-29  Angus Leeming  <leeming@lyx.org>
1495
1496         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1497         certainly does not do what it purports to do. I am doing it, and
1498         us, a favour by killing it.
1499
1500 2003-07-28  José Matos  <jamatos@lyx.org>
1501
1502         * buffer.C (readBody, do_writeFile):
1503         * paragraph.C(readParagraph): \end_document replaces \the_end.
1504
1505 2003-07-29  André Pönitz  <poenitz@gmx.net>
1506
1507         * BufferView.[Ch]:
1508         * BufferView_pimpl.[Ch]:
1509         * lyxfunc.C:
1510         * text2.C:
1511         * text3.C:
1512         * textcursor.[Ch]: remove toggleToggle & Co
1513
1514 2003-07-28  José Matos  <jamatos@fep.up.pt>
1515
1516         * buffer.C (readParagraph):
1517         * params_func (readParToken, readParagraph):
1518         * paragraph.C (write): \layout -> \begin_layout.
1519
1520 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1521
1522         * lyxlex_pimpl.C (setFile): clean up slightly.
1523
1524         * bufferparams.h: add compressed var
1525
1526         * buffer_funcs.C (readFile): adjust for LyXLex change
1527         (newFile): ditto + simplify
1528
1529         * buffer.C (writeFile): handle writing of compressed files
1530
1531         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1532         Check if the file is compressed and set a bufferparm if so.
1533
1534         * Makefile.am (lyx_LDADD): remove explicit -lz
1535
1536 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1539         makeDocBookFile): put the real LyX version in the first line of
1540         the file
1541
1542         * version.h:
1543         * version.C.in: remove lyx_docversion
1544
1545         * tabular.C (write_attribute): add a template-based version to
1546         write enums properly
1547
1548 2003-07-28  André Pönitz  <poenitz@gmx.net>
1549
1550         * lyxtext.h:
1551         * text.C:
1552         * text2.C:
1553         * text3.C: use doubles again for x-coordinates. They are needed.
1554
1555 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1556
1557         * messages.C (getLocaleDir): use lyx_localedir()
1558
1559         * lyxlex_pimpl.C (setFile): compress stuff
1560
1561         * buffer.C (writeFile): add some compression stuff
1562         (do_writeFile): new func, dont call expliti close... will this
1563         breake anything?
1564
1565         * Makefile.am (lyx_LDADD): add -lz
1566
1567 2003-07-28  José Matos  <jamatos@fep.up.pt>
1568
1569         * buffer.C: increment file format.
1570         * paragraph_funcs (readParagraph, readParToken):
1571         * paragraph.C (readParagraph): add \end_layout.
1572
1573 2003-07-27  Angus Leeming  <leeming@lyx.org>
1574
1575         * Makefile.am: remove special casing for configure-time setting of
1576         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1577
1578         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1579         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1580
1581 2003-07-26  André Pönitz  <poenitz@gmx.net>
1582
1583         * paragraph_func.[Ch]:
1584         * paragraph.C (realizeFont): inline it whereever it is used
1585
1586         * rowpainter.C:
1587         * text.C:
1588         * text2.C:
1589         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1590
1591
1592 2003-07-26  André Pönitz  <poenitz@gmx.net>
1593
1594         *       lyxtext.h:
1595         * text.C:
1596         * text2.C: get rid of LyXText::need_break_row
1597
1598 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1599
1600         * toc.[Ch]: put namespace toc inside namespace lyx
1601
1602         * MenuBackend.C (expandToc2): adjust for lyx::toc
1603         (expandToc): ditto
1604
1605         * lyxfunc.C (dispatch): adjust for lyx::find
1606
1607         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1608         lyx::find instead. Reorganize a bit.
1609         (LyXReplace): rename to replace
1610         (LyXFind): rename to find
1611
1612         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1613         (dispatch): ditto
1614
1615 2003-07-26  André Pönitz  <poenitz@gmx.net>
1616
1617         * text.C (setHeightOfRow): restrict scope of temporary variable
1618
1619         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1620           code (never has been used?)
1621
1622 2003-07-27  Asger Alstrup  <alstrup@local>
1623
1624         * text.C (fill): Optimise algorithm to exploit that we can reuse
1625         the LyXFont for many characters.
1626         (setHeightOfRow): Same thing.
1627         (rowBreakPoint): Same thing.
1628
1629 2003-07-26  Asger Alstrup  <alstrup@local>
1630
1631         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1632
1633         * text.C (singleWidth): Spurious font copying in hot-spot
1634         singleWidth avoided. Reorder tests for arabic for efficiency.
1635
1636         * text.C (fill): handle empty paragraphs better.
1637
1638 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1639
1640         * ispell.C:
1641         * encoding.h: add includes
1642
1643         * lyxrc.C: remove reading of bind files
1644
1645         * lyx_main.C (init): setup bindings and menus only if we have a
1646         gui.
1647
1648         * kbmap.C (read): new method. Do the actual reading of bind
1649         files.
1650
1651         * converter.C (dvipdfm_options):
1652         * bufferparams.C:
1653         * lyxrc.C (read):
1654         (output): adapt PAPER_* enums.
1655
1656         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1657
1658         * bufferparams.h: remove paper-related enums from there
1659
1660         * paper.h: New file. A trivial header file to hold paper-related
1661         enums. It should later expand to contain many paper-related
1662         horrors access.
1663
1664         * lyxrc.C: declare extern displayTranslator
1665
1666 2003-07-27  José Matos  <jamatos@fep.up.pt>
1667
1668         * tabular.[Ch] (linuxdoc): add support for tables and figures
1669         (linuxdoc).
1670
1671 2003-07-27  José Matos  <jamatos@fep.up.pt>
1672
1673         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1674         consistency in both functions.
1675         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1676
1677 2003-07-26  Asger Alstrup  <alstrup@local>
1678
1679         * rowpainter.C (paintRows): Change algorithm to work directly on
1680         the insets rather than asking every character in the document
1681         whether its an inset.
1682
1683 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1684
1685         * buffer.C (openFileWrite): factorize some code
1686
1687 2003-07-26  Angus Leeming  <leeming@lyx.org>
1688
1689         * lyx_cb.C:
1690         * lyx_main.[Ch]: replace occurances of system_tempdir with
1691         os::getTmpDir().
1692
1693 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1694
1695         * rename Inset to InsetOld
1696
1697 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1698
1699         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1700         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1701         which I think is a bit clearer. EDIT is gone, since it was
1702         premature optimisation, and broken for mathed anyway.
1703         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1704         with cursor positioning in insets as well (math insets still do not
1705         work, but that's a different story anyway.) It mysteriously
1706         crashes sometimes with undo in the first paragraph, but I'm fairly
1707         confident that this is a compiler bug.
1708
1709 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * paragraph.C (Paragraph): adjust for new clone return type
1712         (operator==): ditto
1713         (copyIntoMinibuffer): ditto
1714
1715 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1716
1717         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1718         by not having a special case, and always doing a full rebreak of
1719         the document after undo.
1720
1721 2003-07-23  Angus Leeming  <leeming@lyx.org>
1722
1723         * factory.C (createInset): InsetExternal::setParams now takes a
1724         Buffer const * arg.
1725
1726 2003-07-23  Angus Leeming  <leeming@lyx.org>
1727
1728         * factory.C (createInset): changed interface to the external and
1729         graphics mailers' string2params functions.
1730
1731 2003-07-23  Angus Leeming  <leeming@lyx.org>
1732
1733         * factory.C (createInset): pass a
1734         Buffer const * parameter to InsetExternalMailer's string2params.
1735
1736 2003-07-22  John Levon  <levon@movementarian.org>
1737
1738         * Thesaurus.h: include the right aiksaurus header
1739
1740 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * MenuBackend.C (expand): check menu shortcuts unconditionally
1743
1744 2003-07-21  Angus Leeming  <leeming@lyx.org>
1745
1746         * factory.C (createInset): pass a
1747         buffer_path parameter to InsetGraphicsMailer's string2params.
1748
1749 2003-07-21  Angus Leeming  <leeming@lyx.org>
1750
1751         * BufferView_pimpl.C (buffer):
1752         * buffer.C (d-tor):
1753         * lyx_main.C (LyX):
1754         * lyxfunc.C (dispatch):
1755         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1756         rather than the grfx shortcut.
1757
1758 2003-07-21  André Pönitz  <poenitz@gmx.net>
1759
1760         * rowpainter.C: remove unused variables
1761
1762         * tabular_funcs.C:
1763         * tabular_funcs.h: move to tabular.C
1764         * Makefile.am: adjust
1765
1766         * tabular.[Ch]: basic optical cleaning
1767
1768         * author.h: pass references, not values
1769
1770 2003-07-18  André Pönitz  <poenitz@gmx.net>
1771
1772         * lyxtext.h:
1773         * metricsinfo.C:
1774         * metricsinfo.h:
1775         * rowpainter.C:
1776         * text.C:
1777         * text2.C:
1778         * text3.C: two-phase drawing for InsetText and InsetTabular
1779         some float -> int changes.
1780
1781 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1782
1783         * lyx_main.C: fix the fix
1784
1785 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1786
1787         * lyx_main.C: fix a crash in batch mode if no files specified
1788         * converter.C: ws
1789
1790 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * format.[Ch] (papersize): moved to BufferParams
1793         * converter.[Ch] (dvips_options): moved to BufferParams
1794         (dvipdfm_options): moved to anon namespace
1795         * bufferparams.[Ch]: added above functions.
1796
1797 2003-07-17  André Pönitz  <poenitz@gmx.net>
1798
1799         * lyxtext.h:
1800         * rowpainter.C:
1801         * text2.C: don't call inset->update() anymore
1802
1803         * metricsinfo.[Ch]: add convenience constructor
1804
1805 2003-07-16  André Pönitz  <poenitz@gmx.net>
1806
1807         * lyxcursor.[Ch]:
1808         * lyxfunc.[Ch]:
1809         * text.C:
1810         * text2.C: replace the LyXCursor::irow_ member with
1811          on-demand computation of the value
1812
1813 2003-07-16  John Levon  <levon@movementarian.org>
1814
1815         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1816
1817 2003-07-15  André Pönitz  <poenitz@gmx.net>
1818
1819         * text.C:
1820         * text2.C: remove no more needed refresh_row
1821
1822 2003-07-15  André Pönitz  <poenitz@gmx.net>
1823
1824         * lyxtext.h:
1825         * rowpainter.C:
1826         * text2.C:
1827         * text3.C: refresh_status tristate -> need_update bool
1828
1829 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1830
1831         * lyxtext.h (init): remove reinit argument (act as if always true)
1832         * text2.C: adjust to that
1833
1834 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1835
1836         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1837         * text3.C: use it to delete selections in some cases
1838         (bugs 441, 673, 702, 954).
1839
1840 2003-07-14  André Pönitz  <poenitz@gmx.net>
1841
1842         * rowpainter.[Ch]: reduce interface
1843
1844 2003-07-14  André Pönitz  <poenitz@gmx.net>
1845
1846         * BufferView_pimpl.C:
1847         * text2.C: adjust after removing unused BufferView * argument
1848
1849 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1850
1851         * text2.C (init): fix a crash fired on resize
1852
1853 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * buffer.[Ch]: added new closing signal
1856         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1857         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1858         BufferView::Pimpl via the closing the signal
1859
1860 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1861
1862         * buffer.[Ch]: take out all bv-related from buffer
1863         * BufferView.C:
1864         * BufferView_pimpl.[Ch]: connect to new signals
1865         * CutAndPaste.C: removed useless asserts
1866         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1867         * lyxvc.[Ch]:
1868         * vc-backend.[Ch]:
1869         * lyxfunc.C: moved view-related funciontality from vc here
1870         * paragraph.C: removed outdated comments
1871         * text.C: ws
1872
1873 2003-07-10  André Pönitz  <poenitz@gmx.net>
1874
1875         * BufferView_pimpl.C:
1876         * tabular.h:
1877         * tabular_funcs.C:
1878         * text.C:
1879         * text2.C: remove InsetText::InnerCache, clean up consequences
1880
1881 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1882
1883         * ispell.C: fix two typos in error messages
1884
1885 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1886
1887         * Extend Note inset to other forms of annotation like Comment
1888         and Greyedout. Right button click gives dialog.
1889
1890         Files modified or added (+):
1891
1892         * insetnote.[Ch]
1893         * FormNote.[Ch]      +
1894         * ControlNote.[Ch]   +
1895         * form_note.fd       +
1896         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1897         frontends/controllers
1898         * xforms/Dialogs.C
1899         * factory.C
1900
1901 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1902
1903         * aspell.C: add missing namespace lyx::support
1904
1905 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1906
1907         * BufferView.[Ch] (newFile): Add
1908         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1909         * LaTeX.[Ch] (message): added this signal and use it
1910         * buffer.[Ch] (busy, message): added these signals and use them
1911         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1912         * converter.C:
1913         * exporter.C:
1914         * format.C:
1915         * importer.C: use buffer signals instead of direct bv calling
1916         * lyx_cb.[Ch] (ShowMessage): removed
1917         * lyx_main.C:
1918         * lyxfunc.C:
1919         * paragraph_funcs.C:
1920         * text2.C: use buffer signals
1921
1922 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1923
1924         * introduce namespace lyx::graphics
1925
1926 2003-07-02  André Pönitz  <poenitz@gmx.net>
1927
1928         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1929
1930 2003-07-01  André Pönitz  <poenitz@gmx.net>
1931
1932         * text.C:
1933         * text2.C:
1934         * text3.C:
1935         * text_funcs.[Ch]:
1936         * textcursor.h:
1937         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1938           text*.C to text_func.C
1939
1940 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * introduce namespace lyx::support
1943
1944 2003-06-30  André Pönitz  <poenitz@gmx.net>
1945
1946         * Chktex.C:
1947         * funcrequest.C:
1948         * lyxtext.h:
1949         * text.C: re-enable --with-included-string
1950
1951 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1952
1953         * textcursor.C: add <config.h>
1954
1955         * text.C (getWord): remove const from word_location arg
1956
1957         * lyxvc.C (getLogFile): fix const type order
1958
1959         * lyxtext.h: remove const from word_location arg, add arg name
1960
1961         * lyxlayout.h: currect type on labeltype.
1962
1963         * importer.C: correct \file
1964
1965         * converter.C (intToFormat): use std:: on ret val, ws changes
1966
1967         * bufferlist.h: correct \file
1968
1969         * buffer.C (makeLinuxDocFile): fix const type order
1970         (makeDocBookFile): ditto
1971         (fillWithBibKeys): use std:: on stdlib args.
1972
1973         * CutAndPaste.C: fix authors.
1974         (availableSelections): use std:: on return vector
1975
1976 2003-06-27  André Pönitz  <poenitz@gmx.net>
1977
1978         * BufferView_pimpl.C:
1979         * bufferview_funcs.C:
1980         * lyxcursor.C:
1981         * lyxcursor.h:
1982         * lyxfunc.C:
1983         * lyxtext.h:
1984         * rowpainter.C:
1985         * text.C:
1986         * text2.C:
1987         * text3.C: remove LyXCursor::row_ member
1988
1989         * lyxtext.h:
1990         * text.C: rename fullRebreak() to partialRebreak() and implement
1991           a fullRebreak() that really bereks fully
1992
1993         * textcursor.h: new struct for cursor-related data
1994
1995 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1996
1997         * lyx_main.C (LyX): get full path of document loaded on the
1998         command line
1999
2000 2003-06-26  André Pönitz  <poenitz@gmx.net>
2001
2002         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2003           remove unused/broken operator>,<,>=.
2004
2005         *       text.C: remove only use of broken operator<= in an Assert().
2006
2007 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2008
2009         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2010         moved errorlist_.clear to showErrorList
2011
2012 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2013
2014         * converter.C (scanLog, runLaTeX):
2015         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2016         move the bv->showErrorList call to the callers
2017         * lyxfunc.C: i.e. here...
2018         * text2.C: and here
2019         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2020         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2021         namespace, the second to...
2022         * buffer_funcs (BufferFormat, parseErrors): added
2023         * errorlist.C (ErrorList(TeXErrors const &)): removed
2024
2025 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2028
2029 2003-06-24  "Garst R. Reese" <reese@isn.net>
2030
2031         * debug.C: fix typo
2032
2033 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2036
2037         * version.C.in: change docversion to 1.4
2038
2039 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2040
2041         * buffer.C: fix a bug just introduced
2042
2043 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2044
2045         * buffer.[Ch]: added the parseError signal and use it, removed
2046         sgmlError
2047         * BufferView.[Ch] (addError): moved to ...
2048         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2049         to the Buffer::parseError signal to catch (guess what) parse errors
2050         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2051
2052 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2055         ability to create a buffer and to return an existing one from
2056         the list. Moved these functions to...
2057         * buffer_funcs.[Ch]: added
2058         * BufferView.[Ch] (loadLyXFile): added
2059         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2060         job removed from bufferlist::loadLyXFile.
2061         * buffer.C (setReadOnly): make it work without view
2062         (i.e added an if (users))
2063
2064 2003-06-19  Angus Leeming  <leeming@lyx.org>
2065
2066         * lfuns.h:
2067         * LyXAction.C (init):
2068         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2069         with LFUN_DIALOG_SHOW <name> <data>.
2070
2071 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2072
2073         * CutAndPaste.C (availableSelections): small compilation fix for
2074         ancient (gcc 2.9x) compilers
2075
2076 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * text3.C (cursorNext): add tmp var
2079
2080         * text2.C (updateCounters): for function calling out of for clause
2081         (replaceSelectionWithString): ditto
2082         (insertStringAsParagraphs): ditto
2083         (getColumnNearX): add tmp var
2084         (setCursorFromCoordinates): add tmp var
2085         (cursorDownParagraph): add tmp var
2086         (deleteEmptyParagraphMechanism): add tmp var
2087
2088         * text.C (insertChar): add tmp var
2089
2090         * rowpainter.C (paintDepthBar): add tmp var
2091
2092         * CutAndPaste.C (availableSelections): potentially check all
2093         paragraphs in a cut to fill the shown strings.
2094
2095 2003-06-18  André Pönitz  <poenitz@gmx.net>
2096
2097         * kbmap.[Ch]: use vector<> instead of list<>
2098
2099 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2100
2101         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2102         pasteSelection with index
2103
2104         * text2.C (pasteSelection): modify, call pasteSelection with index
2105
2106         * paragraph.C (asString): reimplement version with no interval to
2107         call the one with interval.
2108
2109         * lyxtext.h: add index arg to pasteSelection
2110
2111         * MenuBackend.C (MenuItem): handle PasteRecent
2112         (Menu::read::Menutags): add md_pasterecent
2113         (read): handle it
2114         (expandPasteRecent): new function
2115         (expand): use it
2116
2117         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2118
2119         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2120         the limited stack
2121         (availableSelections): new function
2122
2123 2003-06-17  Angus Leeming  <leeming@lyx.org>
2124
2125         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2126
2127 2003-06-17  Angus Leeming  <leeming@lyx.org>
2128
2129         * lfuns.h:
2130         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2131
2132         * lyxfunc.C (dispatch): invoke it.
2133
2134 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         * iterators.C (operator++, ParPosition): reintroduce some
2137         const_cast for the benefit of older compilers.
2138
2139 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * text3.C (dispatch): do not modify clipboard when doing
2142         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2143         LFUN_DELETE_SKIP on a selection selection
2144
2145 2003-06-16  André Pönitz  <poenitz@gmx.net>
2146
2147         * BufferView.C:
2148         * buffer.C:
2149         * buffer.h:
2150         * paragraph.C:
2151         * tabular.[Ch]: IU of clone() and getLabelList();
2152
2153 2003-06-13  André Pönitz  <poenitz@gmx.net>
2154
2155         * tabular.h: compactification
2156
2157 2003-06-12  André Pönitz  <poenitz@gmx.net>
2158
2159         * tabular.C:
2160         * tabular.h:
2161         * tabular_funcs.h: some renaming plus whitespace
2162
2163 2003-06-12  André Pönitz  <poenitz@gmx.net>
2164
2165         * BufferView.C:
2166         * BufferView_pimpl.C:
2167         * CutAndPaste.C:
2168         * buffer.C:
2169         * iterators.[Ch]:
2170         * lyxfunc.C:
2171         * text.C:
2172         * toc.C: Return a Paragraph & for ParIterator::operator*()
2173
2174 2003-06-11  John Levon  <levon@movementarian.org>
2175
2176         * lyx_main.C:
2177         * ToolbarBackend.h:
2178         * ToolbarBackend.C: add "Toolbars" section and
2179         put the flags there
2180
2181 2003-06-10  Angus Leeming  <leeming@lyx.org>
2182
2183         * lfuns.h:
2184         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2185
2186         * lyxfunc.C (dispatch): invoke it.
2187
2188 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * main.C: protect <ios> with HAVE_IOS
2191         (main): protect sync_with_stdio with HAVE_IOS
2192
2193 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2194
2195         * text2.C (cutSelection): adjust
2196         (pasteSelection): adjust
2197
2198         * messages.C: handle get of empty string
2199
2200         * main.C (main): use sync_with_stdio(false)
2201
2202         * lyxfunc.C (dispatch): adjust
2203
2204         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2205         (WriteAs): remove unneeded BufferView arg.
2206
2207         * bufferparams.h: use correct types on papersize, papersize2 and
2208         paperpackage.
2209
2210         * bufferparams.C (readToken): adjust for type
2211         (writeLaTeX): add missing cases to switch.
2212
2213         * bufferlist.C (quitWriteBuffer): adjust
2214         (close): adjust
2215
2216         * buffer.C (asciiParagraph): remove some commented code.
2217
2218         * CutAndPaste.C: remove current_view extern variable.
2219         (cutSelection): add BufferParams arg.
2220         (eraseSelection): add BufferParams arg.
2221         (pasteSelection): add Buffer const & arg
2222
2223 2003-06-07  John Levon  <levon@movementarian.org>
2224
2225         * buffer.C:
2226         * paragraph_funcs.C:
2227         * paragraph_pimpl.C:
2228         * text.C:
2229         * text2.C:
2230         * paragraph.h:
2231         * paragraph.C: allow InsetERT to freely space lines,
2232         and some consolidation of code
2233
2234 2003-06-06  José Matos  <jamatos@fep.up.pt>
2235
2236         * buffer.C (makeDocBookFile): fix bug #821
2237
2238 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2241
2242 2003-06-04  Angus Leeming  <leeming@lyx.org>
2243
2244         * buffer.C: bump format to 224.
2245
2246 2003-06-05  André Pönitz  <poenitz@gmx.net>
2247
2248         * text2.C (redoParagraphs): remove two const_cast<>
2249
2250 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2251
2252         * ParagraphList.h: remove last remnants of NO_STD_LIST
2253
2254 2003-06-03  Angus Leeming  <leeming@lyx.org>
2255
2256         * factory.C (createInset): small change to the way InsetExternal's params
2257         are set.
2258
2259 2003-06-04  André Pönitz  <poenitz@gmx.net>
2260
2261         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2262
2263         * paragraph_pimpl.h:
2264         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2265
2266         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2267
2268         * undo_funcs.C: make some simple cases of undo work again
2269
2270 2003-06-03  John Levon  <levon@movementarian.org>
2271
2272         * ispell.C: HPUX doesn't have sys/select.h
2273         (from Albert Chin)
2274
2275 2003-06-03  John Levon  <levon@movementarian.org>
2276
2277         * CutAndPaste.C: update tabular and include inset
2278         buffer references
2279
2280         * buffer.h:
2281         * paragraph.h:
2282         * paragraph.C: remove owningBuffer(), don't pass Buffer
2283         to clone()
2284
2285         * factory.C: insetGraphicsParams changed
2286
2287 2003-06-02  John Levon  <levon@movementarian.org>
2288
2289         * LyXAction.C:
2290         * factory.C:
2291         * lfuns.h:
2292         * lyxfunc.C:
2293         * text3.C: remove insetparent
2294
2295 2003-06-02  John Levon  <levon@movementarian.org>
2296
2297         * buffer.h:
2298         * buffer.C: fix inset_iterator.end(), move out of line
2299         (bug 1149)
2300
2301 2003-06-01  John Levon  <levon@movementarian.org>
2302
2303         * text3.C: use a proper cut/paste when doing inset
2304         insert (from Jürgen Spitzmüller)
2305
2306 2003-06-01  John Levon  <levon@movementarian.org>
2307
2308         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2309
2310 2003-05-30  André Pönitz  <poenitz@gmx.net>
2311
2312         * rowpainter.C: unify second drawing phase
2313
2314 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * trans_mgr.C: remove one case of current_view
2317
2318         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2319
2320         * paragraph_funcs.h: remove paragraph.h include
2321
2322         * paragraph.h: delete NO_STD_LIST stuff
2323
2324         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2325
2326         * buffer.h: remove paragraph.h include
2327
2328         * ParagraphList.C: delete file
2329
2330         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2331
2332         * toc.C (getTocList): adjust
2333
2334         * paragraph_pimpl.C (validate): adjust
2335
2336         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2337
2338         * paragraph.C (Paragraph): adjust
2339         (getPositionOfInset): use const_iterator, adjust
2340         (bibitem): use const_iterator, adjust
2341         (setInsetOwner): adjust
2342
2343         * iterators.C (operator++): adjust
2344
2345         * InsetList.[Ch]: Replace selfmade iterator with standard
2346         vector::iterator also introduce const_iterator. Remove getPos,
2347         getInset and setInset from InsetTable. Adjust accordingly.
2348
2349         * BufferView.C (lockInset): adjust
2350         (ChangeInsets): adjust
2351
2352         * tabular.[Ch]: delete commented same_id functions
2353
2354 2003-05-28  John Levon  <levon@movementarian.org>
2355
2356         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2357
2358 2003-05-28  André Pönitz  <poenitz@gmx.net>
2359
2360         * metricsinfo.[Ch]: remove 'fullredraw' member
2361
2362 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2363
2364         * lyxtextclass.C (operator): remove caching.
2365
2366 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2367
2368         * text3.C: adjust
2369
2370         * text2.C (cursorBottom): adjust
2371         (setCounter): use ParagraphList::find, adjust
2372
2373         * text.C (workWidth): use ParagraphList::find, adjust
2374
2375         * lyxcursor.C (LyXCursor): adjust
2376
2377         * buffer.C (inset_iterator): adjust
2378
2379         * ParagraphList.h: make iterator(value_type) private, make
2380         ParagraphList a friend of iterator.
2381
2382         * ParagraphList.C (find): new function
2383
2384         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2385
2386 2003-05-27  André Pönitz  <poenitz@gmx.net>
2387
2388         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2389
2390 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2391
2392         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2393
2394 2003-05-26  John Levon  <levon@movementarian.org>
2395
2396         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2397
2398 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2399
2400         * remove same_id from function signatures, adjust.
2401
2402 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2405
2406         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2407
2408         * paragraph.C (Paragraph): get rid of same_ids parameter
2409
2410         * ParagraphList.C (insert): adjust
2411         (push_back): adjust
2412
2413 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2414
2415         * paragraph_funcs.C (breakParagraph): adjust
2416         (breakParagraphConservative): adjust
2417
2418         * buffer.C (readParagraph): adjust
2419
2420         * ParagraphList.C (insert): take a reference instead of a pointer
2421         (insert): adjust
2422
2423         * paragraph.[Ch] (id): new function
2424
2425         * bufferlist.C (newFile): adjust
2426
2427         * ParagraphList.C (ParagraphList): adjust
2428         (assign): adjust
2429         (push_back): take a reference instead of a pointer.
2430
2431         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2432
2433         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2434         instead.
2435
2436         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2437         set else use old code.
2438
2439         * ParagraphList.C: remove all NO_NEXT code and only compile this
2440         code of NO_STD_LIST is set.
2441
2442 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * BufferView_pimpl.C:
2445         * TextCache.C:
2446         * TextCache.h:
2447         * bufferlist.C:
2448         * errorlist.h:
2449         * format.C:
2450         * format.h:
2451         * graph.C:
2452         * lyxfunc.C:
2453         * lyxrc.C:
2454         * graphics/GraphicsConverter.C:
2455         * graphics/PreviewLoader.C: header adjustment
2456
2457 2003-05-23  Angus Leeming  <leeming@lyx.org>
2458
2459         * LaTeXFeatures.[Ch] (useBabel): new method.
2460         * bufferparams.C (writeLaTeX): use it.
2461
2462 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * ParagraphList.h (set): remove unused function.
2465
2466 2003-05-23  André Pönitz  <poenitz@gmx.net>
2467
2468         * BufferView.C:
2469         * BufferView_pimpl.C:
2470         * buffer.C:
2471         * buffer.h:
2472         * lyxfunc.C:
2473         * undo_funcs.C: setUndo reworked
2474
2475         * iterators.[Ch]: add access to topmost ParagraphList
2476
2477         * lyxtext.[Ch] (workWidth): add a const
2478
2479 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2480
2481         * texrow.[Ch] (increasePos): remove function
2482         * exporter.C (export): removed unused var and outdated comment
2483
2484 2003-05-23  Angus Leeming  <leeming@lyx.org>
2485
2486         * latexrunparams.h: rename fragile as moving_arg.
2487         * paragraph.C (simpleTeXOnePar): ditto.
2488         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2489
2490 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2493         (createUndo): ditto
2494         (textUndoOrRedo): comment out a currently unused var.
2495
2496         * paragraph.h (NO_NEXT): enable NO_NEXT
2497
2498         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2499
2500         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2501
2502         * exporter.C (Export): adjust for removeAutoInsets removal.
2503
2504         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2505
2506         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2507
2508         * BufferView.[Ch] (removeAutoInsets): delete function
2509
2510 2003-05-22  Angus Leeming  <leeming@lyx.org>
2511
2512         * latexrunparams.h: add a free_spacing variable.
2513
2514         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2515         to pass moving_arg, as the data is stored in runparams.fragile.
2516
2517         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2518         to Inset::latexOptional or to simpleTeXOnePar.
2519
2520         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2521         free_spacing arg to Inset::latexOptional.
2522
2523         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2524         free_spacing arg.
2525
2526 2003-05-22  Angus Leeming  <leeming@lyx.org>
2527
2528         * latexrunparams.h: add fragile and use_babel variables.
2529
2530         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2531         * buffer.C (makeLaTeXFile): store this returned value in
2532         runparams.use_babel, thus passing it to the inset::latex methods.
2533
2534         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2535         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2536
2537         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2538         longer has a fragile arg, as it is stored in runparams.fragile.
2539
2540         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2541         moving_arg parameter as the data is stored in runparams.fragile.
2542
2543         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2544         a fragile parameter as the data is stored in runparams.fragile.
2545
2546 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2547
2548         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2549
2550 2003-05-22  Angus Leeming  <leeming@lyx.org>
2551
2552         * latexrunparams.h: add a 'bool nice' which defaults to false.
2553
2554         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2555         now encapsulated within runparams.
2556
2557         * bufferlist.C (updateIncludedTeXfiles):
2558         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2559
2560 2003-05-22  Angus Leeming  <leeming@lyx.org>
2561
2562         * latexrunparams.h: new file containing struct LatexRunParams.
2563         * Makefile.am: add new file.
2564
2565         * LaTeX.[Ch] (c-tor, run):
2566         * buffer.[Ch] (makeLaTeXFile):
2567         * bufferlist.[Ch] (updateIncludedTeXfiles):
2568         * converter.C (convert, scanLog):
2569         * converter.[Ch] (runLaTeX):
2570         * exporter.C (Export):
2571         * paragraph.[Ch] (simpleTeXOnePar):
2572         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2573         * paragraph_funcs.[Ch] (latexParagraphs):
2574         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2575         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2576         pass around a LatexRunParams parameter.
2577
2578 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * paragraph.[Ch]: remove unused constructor
2581
2582         * ParagraphList.C (erase): new function, taking two iterators
2583
2584 2003-05-22  André Pönitz  <poenitz@gmx.net>
2585
2586         * undo_funcs.C: remove duplicated code
2587
2588         * iterator.[Ch]: operator=
2589
2590 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * tabular.C (SetMultiColumn): ws changes
2593
2594         * rowpainter.C (paintFirst): get rid of a ->previous
2595
2596         * lyx_cb.C (getPossibleLabel): parlist simplification
2597
2598         * BufferView.C (ChangeInsets): simplify slightly.
2599
2600 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2601
2602         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2603         * lfuns.h: new LFUN_SPACE
2604         * lyxfunc.C: protected space has a new lfun
2605         * paragraph_funcs.C: read new space insets
2606         * text3.C:
2607         * factory.C: handle new space insets
2608
2609 2003-05-22  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView.C:
2612         * BufferView_pimpl.C:
2613         * buffer.[Ch]:
2614         * lyxfunc.C:
2615         * undo_funcs.C: return a ParIterator from getParFromID.
2616
2617         * iterators.[Ch]: add two const's
2618
2619 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * toc.C (getTocList): adjust
2622
2623         * iterators.[Ch]: rework for parlist
2624
2625         * buffer.C (par_iterator_begin): adjust
2626         (par_iterator_end): adjust
2627
2628         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2629
2630         * BufferView.C (removeAutoInsets): adjust
2631         (ChangeInsets): adjust
2632
2633 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2634
2635         * text.C (top_y): fix bug 1110
2636
2637 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2638
2639         * errorlist.[Ch]: added
2640         * buffer.C:
2641         * BufferView.[Ch]:
2642         * BufferView_pimpl.C:
2643         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2644         instead
2645
2646 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2647
2648         * Makefile.am: ensure that lyx is relinked upon changes to the
2649         various "convenience" libs.
2650
2651 2003-05-20  Angus Leeming  <leeming@lyx.org>
2652
2653         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2654         files are compiled in alphabetical order again.
2655
2656         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2657
2658 2003-05-19  Angus Leeming  <leeming@lyx.org>
2659
2660         * gettext.[Ch]: remove "char const * _(char const *)".
2661
2662 2003-05-19  André Pönitz  <poenitz@gmx.net>
2663
2664         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2665
2666         * Makefile.am:
2667         * BufferView.C:
2668         * DepTable.h:
2669         * LaTeXFeatures.C:
2670         * buffer.C:
2671         * lyxfont.C:
2672         * lyxlex.h:
2673         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2674
2675 2003-05-19  André Pönitz  <poenitz@gmx.net>
2676
2677         * buffer.C:
2678         * lyxlayout.[Ch]:
2679         * lyxtextclass.[Ch]:
2680         * paragraph.C:
2681         * paragraph_funcs.[Ch]:
2682         * text2.C:
2683         * text3.C: more insetenv work
2684
2685 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2686
2687         * ParagraphParameters.C (params2string): small bug fixed
2688
2689 2003-05-16  André Pönitz  <poenitz@gmx.net>
2690
2691         * debug.C:
2692         * bufferview_funcs.C: patch from Kornel Benko to prevent
2693           crash when _(...) is called twice in a statement
2694
2695 2003-05-16  André Pönitz  <poenitz@gmx.net>
2696
2697         * BufferView.C:
2698         * lyxfunc.C:
2699         * text.C:
2700         * text2.C:
2701         * text3.C:
2702         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2703
2704 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2705
2706         * lyx_main.C (init): remove spurious static_cast
2707
2708 2003-05-14  André Pönitz  <poenitz@gmx.net>
2709
2710         * BufferView.C: fix format string
2711
2712 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * BufferView.[Ch] (insertErrors): removed
2715         * BufferView.[Ch] (showErrorList): added
2716         * buffer.C (runChkTeX):
2717         * converter.C (scanLog): call showErrorList instead of inserterrors
2718
2719 2003-05-13  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView_pimpl.C:
2722         * buffer.C:
2723         * bufferview_func.C:
2724         * MenuBackend.C:
2725         * lyxfunc.C:
2726         * lyxrc.C:
2727         * tex-accent.C:
2728         * text3.C:
2729         * toc.C:
2730         * tabular_funcs.h: tostr() from its own header
2731
2732         * ParagraphParameters.C:
2733         * ToolbarBackend.C:
2734         * bufferparams.C:
2735         * format.C:
2736         * lyxlex_pimpl.C:
2737         * text3.C: STRCONV()
2738
2739 2003-05-12  André Pönitz  <poenitz@gmx.net>
2740
2741         * BufferView.C:
2742         * BufferView_pimpl.C:
2743         * CutAndPaste.C:
2744         * LaTeX.C:
2745         * LaTeXFeatures.C:
2746         * ParagraphParameters.C:
2747         * buffer.C:
2748         * bufferlist.C:
2749         * bufferparams.C:
2750         * bufferview_funcs.C:
2751         * converter.C:
2752         * counters.C:
2753         * debug.C:
2754         * exporter.C:
2755         * format.C:
2756         * importer.C:
2757         * lyx_cb.C:
2758         * lyx_main.C:
2759         * lyxfont.C:
2760         * lyxfunc.C:
2761         * lyxvc.C:
2762         * paragraph.C:
2763         * paragraph_funcs.C:
2764         * tabular.C:
2765         * tabular_funcs.C:
2766         * text2.C:
2767         * text3.C:  boost::format -> bformat  all over the place
2768
2769
2770 2003-05-09  André Pönitz  <poenitz@gmx.net>
2771
2772         * LColor.[Ch]: Pimpl the #include <map> away
2773
2774 2003-05-09  John Levon  <levon@movementarian.org>
2775
2776         * bufferlist.C: never remove emergency saves
2777
2778 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2779
2780         * Makefile.am: better lib building
2781
2782 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2783
2784         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2785         instead.
2786         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2787         (simpleTeXSpecialChars): adjust
2788         (simpleTeXSpecialChars): adjust
2789         * paragraph.C (simpleTeXOnePar): adjust
2790         * buffer.C (makeLaTeXFile): adjust
2791
2792         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2793
2794         * text2.C (changeDepth): parlist cleanup
2795         (getColumnNearX): ditto
2796
2797         * rowpainter.C (getLabelFont): parlist cleanup
2798
2799         * bufferlist.C (newFile): parlist cleanup
2800
2801         * CutAndPaste.C (eraseSelection): parlist cleanup
2802
2803         * BufferView_pimpl.C (trackChanges): parlist cleanup
2804         (dispatch): ditto
2805
2806         * BufferView.C (lockInset): parlist cleanup.
2807         (ChangeInsets): ditto
2808
2809 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * CutAndPaste.h: Update file header.
2812
2813         * CutAndPaste.C: Update file header.
2814         Store the parts cut out of the Document in a limited_stack.
2815         (copySelection): adjust
2816         (pasteSelection): new function, takes the index in the limited stack.
2817         (nrOfParagraphs): adjust
2818         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2819         simplify error inset insertion.
2820         (checkPastePossible): adjust
2821
2822 2003-05-06  John Levon  <levon@movementarian.org>
2823
2824         * text2.C: don't cast wrap inset to float
2825
2826 2003-05-05  André Pönitz  <poenitz@gmx.net>
2827
2828         * iterator.C:
2829         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2830
2831         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2832           few naked Paragraph *.
2833
2834 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2835
2836         * bufferparams.C: Output warning if a document with missing
2837         TeX document class is loaded
2838         * exporter.C: Disable TeX exports if the document class is missing
2839         * lyxtextclass.C:
2840         * lyxtextclass.h:
2841         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2842         isTeXClassAvailable()
2843
2844 2003-05-03  John Levon  <levon@movementarian.org>
2845
2846         * BufferView.h:
2847         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2848         explicit cursor show/hide
2849
2850         * BufferView_pimpl.h:
2851         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2852         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2853
2854         * lyxfunc.C: hide cursor before dispatching.
2855
2856         * lyx_cb.C:
2857         * lyxfind.C:
2858         * text.C:
2859         * text3.C: remove explicit cursor hides
2860
2861 2003-05-02  André Pönitz  <poenitz@gmx.net>
2862
2863         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2864
2865         * undo_funcs.C:
2866         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2867           linked lists
2868
2869         * text2.C: tiny whitespace
2870
2871 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * undo_funcs.C: almost only ws changes.
2874
2875         * ParagraphList.C (splice): just return if pl is empty.
2876
2877 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2878
2879         * ParagraphList.C (splice): new function.
2880
2881         * CutAndPaste.C (pasteSelection): use it
2882
2883 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * CutAndPaste.C (pasteSelection): remove the last next and
2886         previous from this file.
2887
2888 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * CutAndPaste.C (pasteSelection): more clean up, user proper
2891         ParagraphList functions for pasteing.
2892
2893         * ParagraphList.C (insert): new function, three arg insert
2894
2895 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2896
2897         * ParagraphList.C (insert): new function, three arg insert
2898
2899         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2900         not on paragraphs.
2901
2902 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2903
2904         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2905
2906 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2907
2908         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2909
2910 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2911
2912         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2913         (copySelection): clean up a bit.
2914         (pasteSelection): use make_pair
2915
2916         * ParagraphList.C (ParagraphList): implement copy constructor
2917         (operator=): implement, base on copy constructor.
2918         (assign): new func
2919
2920         * paragraph.C (erase): return a bool
2921
2922         * paragraph_pimpl.C (erasePos): remove function, move contents...
2923         (erase): ... here. Return a bool.
2924         (erase): call erase instead of erasePos.
2925
2926 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * ParagraphList.h: define PitPosPair
2929         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2930         ParagraphList, fix a bug on pasting multiple pars
2931         * text2.C: change interface to C&P
2932
2933 2003-04-30  André Pönitz  <poenitz@gmx.net>
2934
2935         * undo_func.C: revert part of yesterday's patch 2
2936
2937 2003-04-30  John Levon  <levon@movementarian.org>
2938
2939         * LColor.C: s/tabular/table/
2940
2941 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * text3.C (dispatch): do not convert iterator -> pointer
2944         * undo_funcs.C (setCursorParUndo): ditto
2945         * text_funcs.C (transposeChars): ditto
2946
2947         * text2.C (setLayout): ws changes only
2948
2949         * text.C (breakParagraph): do not convert iterator -> pointer
2950         (insertChar): ditto
2951         (acceptChange): ditto
2952         (rejectChange): ditto
2953         (changeCase): ditto
2954         (Delete): ditto
2955         (backspace): ditto
2956
2957         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2958         pointer
2959
2960 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * text3.C (gotoInset): YABG (yet another bad getChar)
2963
2964 2003-04-29  André Pönitz  <poenitz@gmx.net>
2965
2966         * paragraph.h: make operator= private unimplemented as long as
2967           it is unusable
2968
2969         * ParagraphList.C: whitespace
2970
2971         * paragraph.[Ch]:
2972         * paragraph_pimpl.[Ch]:
2973         * paragraph_funcs.C:
2974         * CutAndPaste.C:
2975         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2976
2977         * text2.C:
2978           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2979
2980 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2981
2982         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2983         * paragraph.[Ch] (erase):
2984         * paragraph_pimpl.[Ch] (erase): change return type and value
2985         * text2.C (cutSelection): some rework
2986
2987 2003-04-28  John Levon  <levon@movementarian.org>
2988
2989         * bufferlist.C: changes for unsaved changes dialog
2990
2991 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * bufferlist.C (newFile): set language (messages_) for new
2994         documents also.
2995
2996         * buffer.C (readFile): ws changes only.
2997
2998 2003-04-28  André Pönitz  <poenitz@gmx.net>
2999
3000         * undo_funcs.C:
3001         * lyxfunc.C:
3002         * buffer.[Ch]:
3003         * BufferView_pimpl.C:
3004         * BufferView.C: getParFromID related ParagraphList::iterator changes
3005
3006 2003-04-28  André Pönitz  <poenitz@gmx.net>
3007
3008         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3009           Changes
3010
3011 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * messages.C: remove one more localedir class variable.
3014
3015 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * messages.C (getLocaleDir): singleton generation function
3018         (Pimpl): use it.
3019         (Messages): add a default constructor.
3020
3021         * main.C (main): do not setup localedir here, do not call
3022         gettext_init.
3023
3024         * gettext.C (_): use it.
3025         (gettext_init): delete funciton
3026
3027 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * gettext.C (getLyXMessages): new singleton generating function.
3030
3031         * buffer.C (updateDocLang): adjust
3032
3033         * Makefile.am (messages.o): add target
3034         (main.o): remove target
3035
3036 2003-04-27  John Levon  <levon@movementarian.org>
3037
3038         * bufferlist.C:
3039         * lyx_cb.C:
3040         * lyxfunc.C:
3041         * lyxvc.C: specify cancel button in Alert::prompt
3042
3043 2003-04-26  John Levon  <levon@movementarian.org>
3044
3045         * text3.C:
3046         * lyxfunc.C:
3047         * lfuns.h:
3048         * LyXAction.C: add LFUN_INSET_SETTINGS
3049
3050         * lyxfunc.C: don't enable tabular-feature when there's
3051         just any locking inset
3052
3053 2003-04-26  John Levon  <levon@movementarian.org>
3054
3055         * bufferlist.C: re-add Cancel to buffer close question
3056
3057         * lyxfunc.C: fix import UI a bit
3058
3059 2003-04-25  John Levon  <levon@movementarian.org>
3060
3061         * gettext.C: remove the broken asserts for now
3062
3063 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * messages.C: make case where setlocale cannot comply work better.
3066
3067         * buffer.C (updateDocLang): new function
3068         (changeLanguage): use it
3069         (readFile): use it
3070
3071         * text2.C (setCounter): use B_ a bit.
3072
3073         * lyxlayout.C (Read): be sure to trim the label strings.
3074
3075         * messages.C (Messages): fix typo in comment
3076
3077         * buffer.C (readFile): set message_ after file is loaded.
3078         (makeDocBookFile): remove double return
3079         (changeLanguage): reset message_ upon language change.
3080         (B_): new func, use this to get translated buffer strings.
3081
3082         * main.C: add myself and Jean Marc as authors.
3083
3084 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * messages.[hC]: pimplify Messages, and three different pimpls to be
3087         used in different circumstances.
3088
3089         * gettext.[Ch]: change for use with new message code.
3090
3091 2003-04-24 André Pönitz <poenitz@gmx.net>
3092
3093         * factory.C: support for eqref
3094
3095 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * messages.[Ch]: add missing char
3098
3099         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3100
3101         * messages.[Ch]: New files
3102
3103 2003-04-18  John Levon  <levon@movementarian.org>
3104
3105         * BufferView.h:
3106         * BufferView.C:
3107         * BufferView_pimpl.C:
3108         * lfuns.h:
3109         * LyXAction.C:
3110         * lyxtext.h:
3111         * text2.C: remove layout-copy/paste (bug 778)
3112
3113 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3116
3117 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3120         if they succeed. Act accordingly.
3121
3122 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * text2.C (setCharFont): adjust
3125         (setCounter): adjust
3126         (insertStringAsLines): adjust
3127
3128         * text.C (leftMargin): adjust
3129         (setHeightOfRow): adjust
3130
3131         * rowpainter.C (paintFirst): adjust
3132         (paintLast): adjust
3133
3134         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3135         (outerHook): ditto
3136         (isFirstInSequence): ditto
3137         (getEndLabel): ditto
3138         (outerFont): adjust
3139
3140         * paragraph.C (getParLanguage): comment out some hard stuff.
3141
3142         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3143         (sgmlError): ditto
3144         (simpleDocBookOnePar): ditto
3145         (makeDocBookFile): use ParagraphList::iterator
3146
3147         * CutAndPaste.C (pasteSelection): adjust
3148
3149 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3150
3151         * text2.C (getFont): adjust
3152         (getLayoutFont): adjust
3153         (getLabelFont): adjust
3154
3155         * paragraph_funcs.C (TeXOnePar): adjust
3156
3157         * buffer.C (simpleLinuxDocOnePar): adjust
3158         (simpleDocBookOnePar): adjust
3159
3160         * CutAndPaste.C (pasteSelection): adjust
3161
3162         * BufferView.C (getEncoding): adjust
3163
3164         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3165
3166 2003-04-16  John Levon  <levon@movementarian.org>
3167
3168         * lyxfind.C: use parlist stuff for search/changes
3169
3170 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3173
3174         * text2.C (deleteEmptyParagraphMechanism): adjust
3175
3176         * text2.[Ch] (ownerParagraph): delete func (both of them
3177
3178 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3181
3182 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * ParagraphList.C: prepare for NO_NEXT
3185
3186 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3187
3188         * text2.C (getFont): adjust
3189         (getLayoutFont): adjust
3190         (getLabelFont): adjust
3191
3192         * paragraph.C (getFont): adjust
3193         (getLabelFont): adjust
3194         (getLayoutFont): adjust
3195
3196         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3197
3198 2003-04-15  John Levon  <levon@movementarian.org>
3199
3200         From Angus Leeming
3201
3202         * lyx_main.C: handle Include in .ui files
3203
3204 2003-04-15  John Levon  <levon@movementarian.org>
3205
3206         * MenuBackend.C: make the doc files length shorter
3207
3208         * ToolbarBackend.h:
3209         * ToolbarBackend.C: handle toolbar placement flags,
3210         Minibuffer
3211
3212 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3213
3214         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3215         adjust
3216
3217         * paragraph_funcs.C (TeXOnePar): adjust
3218
3219         * paragraph.C (getLabelFont): add outerfont arg, adjust
3220         (getLayoutFont): ditto
3221         (simpleTeXOnePar): adjust
3222
3223         * paragraph_pimpl.C (realizeFont): delete func
3224
3225 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3226
3227         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3228         row argument, constify cur argument.
3229
3230 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * text2.C (getFont): adjust
3233         (getLayoutFont): adjust
3234         (getLabelFont): adjust
3235
3236         * paragraph_funcs.C (TeXOnePar): adjust
3237         (outerFont): new func...
3238         (realizeFont): ...moved out from here, changed this to facilitate
3239         transition
3240
3241         * paragraph.C (getFont): take outerfont as arg, adjust
3242         (simpleTeXOnePar): add outerfont arg, adjust
3243
3244         * buffer.C (simpleLinuxDocOnePar): adjust
3245         (simpleDocBookOnePar): adjust
3246
3247         * CutAndPaste.C (pasteSelection): adjust
3248
3249         * BufferView.C (getEncoding): adjust
3250
3251 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * text2.C (setCharFont): adjust
3254         (setCounter): adjust
3255
3256         * text.C (leftMargin): adjust
3257         (setHeightOfRow): adjust
3258
3259         * rowpainter.C (paintFirst): adjust
3260         (paintLast): adjust
3261
3262         * paragraph_pimpl.C (realizeFont): adjust
3263
3264         * paragraph.C (isFirstInSequence): move from here...
3265         * paragraph_funcs.C (isFirstInSequence): ...to here
3266
3267         * paragraph.C (outerHook): move from here...
3268         * paragraph_funcs.C (outerHook): ...to here
3269
3270         * paragraph.C (depthHook): move from here...
3271         * paragraph_funcs.C (depthHook): ...to here
3272
3273         * paragraph.C (getEndLabel): move from here...
3274         * paragraph_funcs.C (getEndLabel): ...to here
3275
3276         * text2.C (realizeFont): move from here...
3277         * paragraph_funcs.C (realizeFont): ...to here
3278
3279 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3282
3283 2003-04-14  Angus Leeming  <leeming@lyx.org>
3284
3285         * LColor.[Ch]: scrap LColor mathcursor.
3286
3287 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * lyxlex.[Ch] (text): delete function
3290         * trans.C (Load): adjust
3291         * paragraph_funcs.C (readParToken): adjust
3292
3293 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3294
3295         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3296         vector<char> instead of a char[].
3297
3298         * lyxlex_pimpl.C (getString): adjust
3299         (next): adjust
3300         (lex): use getString
3301         (eatLine): adjust
3302         (nextToken): adjust
3303
3304         * lyxlex.C (text): use pimpl_->getString()
3305         (getBool): ditto
3306         (findToken): ditto
3307
3308 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3311         (makeFontEntriesLayoutSpecific): temp var for par.size()
3312         (setLayout): temp var for ownerParagraphs().end()
3313         (fullRebreak): temp var for rows().end()
3314         (selectionAsString): temp var for boost::next(startpit), realize
3315         that the while really is a regular for loop.
3316         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3317         setCursor in one place.
3318         (setParagraph): temp vr for ownerParagraphs().end()
3319         (updateCounters): make the while loop a for loop
3320         (cutSelection): temp var for ownerParagraphs().end()
3321         (updateInset): make the do {} while() a regular for loop
3322         (getCursorX): use temp vars
3323         (setCurrentFont): use temp vars
3324         (getColumnNearX): use temp vars
3325
3326 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * text.C (transformChar): use temp var for getChar
3329         (computeBidiTables): use temp var for row->par()
3330         (fill): move temp vars for row->par() and pit->layout() earlier in
3331         the function.
3332         (labelFill): use temp var for row->par()
3333         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3334         asc and desc, realize that pit never changes and that firstpit is
3335         just a duplicate and not needed. Exchange rit->par() with pit in a
3336         lot of places.
3337         (breakAgain): use a temp var for boost::next(rit)
3338         (breakAgainOneRow): ditto
3339         (breakParagraph): use a temp var for rows().begin()
3340         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3341         (cursorRightOneWord): use temp var for cursor.par() and
3342         cursor.pos(), remove usage of tmpcursor.
3343         (cursorLeftOneWord): use temp var for cursor.par() and
3344         cursor.pos() only set cur at end of function.
3345
3346 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * text.C, text2.C: exchange all usage of Paragraph::next with
3349         boost::next(ParagraphList::iterator)
3350
3351         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3352
3353         * text2.C (cursorTop): simplify implementation
3354         (cursorBottom): ditto
3355         (setParagraph): use ParagraphList::iterator
3356         (setCurrentFont): adjust
3357         (getColumnNearX): adjust
3358         (cursorRight): adjust
3359         (cursorLeft): remove usage of Paragraph::previous
3360         (cursorUpParagraph): ditto
3361         (deleteEmptyParagraphMechanism): slight cleanup
3362
3363         * text.C (isBoundary): take a Paragraph const & instead of a
3364         pointer as arg.
3365         (addressBreakPoint): ditto
3366         (leftMargin): remove usage of Paragraph::previous.
3367         (setHeightOfRow): ditto
3368         (cursorLeftOneWord): ditto
3369         (selectNextWordToSpellcheck): ditto
3370         (Delete): ditto
3371         (backspace): ditto
3372         (breakParagraph): remove one usage of Paragraph::next
3373         (redoParagraph): ditto
3374         (acceptChange): ditto
3375         (insertChar): adjust
3376         (rowBreakPoint): adjust
3377
3378         * bufferview_funcs.C (toggleAndShow): adjust
3379
3380 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3383         methods to access it.
3384         * lyxtext.h:
3385         * text.C: Added updateRowPositions to compute all row positions.
3386         Make top_y and getRowNearY() to use the cached y position
3387
3388 2003-04-11  John Levon  <levon@movementarian.org>
3389
3390         * text.C (rowBreakPoint): reintroduce the labelEnd
3391         checks, code copied from the row fill stuff. Deep voodoo.
3392
3393         * text.C (fill): add a comment and debugging for the
3394         next poor soul.
3395
3396 2003-04-11  John Levon  <levon@movementarian.org>
3397
3398         * text.C: make sure fullrow insets get wrapped to the next line,
3399         even when they're in a manual label
3400
3401 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * text2.C (insertParagraph): make it take ParagraphList::iterator
3404         as arg.
3405         (setLayout): make it return ParagraphList::iterator
3406         (redoParagraphs): ditto
3407         (setCounter): ditto
3408         (checkParagraph): ditto
3409
3410         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3411
3412         * text2.C: adjust several funcs.
3413         (realizeFont): take a ParagraphList::iterator as arg.
3414         (getLayoutFont): ditto
3415         (getLabelFont): ditto
3416         (setCharFont): ditto
3417
3418         * text.C: adjust several funcs.
3419
3420 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * text.C (selectNextWordToSpellcheck): don't accidentally
3423         skip insets
3424
3425 2003-04-10  John Levon  <levon@movementarian.org>
3426
3427         * ToolbarBackend.C (getIcon): special handling for
3428         LFUN_MATH_DELIM
3429
3430 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3431
3432         * text2.C (cursorRight): a getChar assert fixed
3433
3434 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3435
3436         * text2.C (getFont): change to take a ParagraphList::iterator
3437         instead of Paragraph*
3438         Adjust several functions.
3439
3440         * text.C (transformChar): change to take a ParagraphList::iterator
3441         instead of Paragraph*
3442         (singleWidth): ditto
3443         Adjust several functions.
3444
3445         * rowpainter.C: adjust several functions
3446         * rowpainter.h:store a ParagraphList::iterator and not a
3447         Paragraph&.
3448
3449
3450 2003-04-09  John Levon  <levon@movementarian.org>
3451
3452         * lyxfunc.C:
3453         * lfuns.h:
3454         * LyXAction.h:
3455         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3456         and the "help" bits as well
3457
3458 2003-04-09  John Levon  <levon@movementarian.org>
3459
3460         * ToolbarBackend.h:
3461         * ToolbarBackend.C: allow multiple toolbars
3462
3463 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * undo_funcs.C (setCursorParUndo): adjust
3466
3467         * text_funcs.C (transposeChars): adjust
3468
3469         * text3.C (gotoNextInset): adjust
3470         (dispatch): adjust
3471
3472         * text2.C (setLayout): adjust
3473         (changeDepth): adjust
3474         (setFont): adjust
3475         (redoParagraphs): adjust
3476         (selectionAsString): adjust
3477         (setParagraph): adjust
3478         (insertInset): adjust
3479         (cutSelection): adjust
3480         (copySelection): adjust
3481         (pasteSelection): adjust
3482         (insertStringAsLines): adjust
3483         (updateInset): adjust
3484         (setCursor): change to take a ParagraphList::iterator parameter
3485         (setCursorIntern): change to take a ParagraphList::iterator parameter
3486         (setCurrentFont): adjust
3487         (cursorLeft): adjust
3488         (cursorRight): adjust
3489         (deleteEmptyParagraphMechanism): adjust
3490
3491         * text.C (breakParagraph): adjust
3492         (insertChar): adjust
3493         (acceptChange): adjust
3494         (rejectChange): adjust
3495         (selectNextWordToSpellcheck): adjust
3496         (changeCase): adjust
3497         (Delete): adjust
3498         (backspace): adjust
3499
3500         * lyxfind.C (SearchForward): adjust
3501         (SearchBackward): adjust
3502         (nextChange): adjust
3503
3504         * lyxcursor.C (par): adjust
3505
3506         * lyxcursor.h: store a ParagraphList::iterator instead of a
3507         Paragraph*
3508
3509         * lyx_cb.C (getPossibleLabel): adjust
3510
3511         * bufferview_funcs.C (toggleAndShow): adjust
3512
3513         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3514         (dispatch): adjust
3515
3516         * BufferView.C (removeAutoInsets): adjust
3517         (lockedInsetStoreUndo): adjust
3518
3519 2003-04-09  John Levon  <levon@movementarian.org>
3520
3521         * ToolbarBackend.C: try icon without argument
3522         if with argument fails
3523
3524 2003-04-08  John Levon  <levon@movementarian.org>
3525
3526         * ToolbarBackend.h:
3527         * ToolbarBackend.C: add getIcon(), handle tooltip,
3528         and change from "Icon" to "Item".
3529
3530 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3531
3532         * BufferView.C (lockInset): another bad getchar crunched
3533
3534 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3537         again)
3538
3539 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * lyxfind.C (searchForward, searchBackwards): bug 782
3542
3543 2003-04-07  John Levon  <levon@movementarian.org>
3544
3545         * paragraph.C: remove dead comment
3546
3547         * text.C: remove troublesome depth-fiddling code
3548         in leftMargin() and rightMargin() (bug 1017)
3549
3550         * text.C: fix breaking of rows in nested lists
3551         (bug 1004)
3552
3553         * text2.C (updateCounters): fix up depth values
3554         (bug 1013)
3555
3556 2003-04-07  John Levon  <levon@movementarian.org>
3557
3558         * BufferView_pimpl.C: clear message when doc finishes resizing,
3559         and after a mouse event
3560
3561         * lyxfunc.C: clear message after exiting inset
3562
3563 2003-04-07  John Levon  <levon@movementarian.org>
3564
3565         * bufferview_funcs.C: show math status not outside
3566         status in the statusbar
3567
3568 2003-04-07  John Levon  <levon@movementarian.org>
3569
3570         * lyxfunc.C: note status changed after a depth change
3571
3572 2003-04-04  Angus Leeming  <leeming@lyx.org>
3573
3574         * LaTeX.h: move AuxInfo operator==, != out of line.
3575         Remove LaTeX virtual destructor; nothing derives from it.
3576         Move operator()() out of public area and rename it startscript().
3577         Change protected for private.
3578
3579 2003-04-04  Angus Leeming  <leeming@lyx.org>
3580
3581         * lyxfunc.C:
3582         * text2.C: remove unneeded #includes.
3583
3584 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * text2.C (dEPM): fix the heigth of the next row
3587
3588 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * text.C: squashed an invalid getChar requester + some ws changes
3591
3592 2003-04-03  John Levon  <levon@movementarian.org>
3593
3594         * bufferview_funcs.h:
3595         * bufferview_funcs.C:
3596         * lyxfunc.C:
3597         * lyxtext.h:
3598         * text2.C: make getStatus work for the env depth lfuns
3599
3600 2003-04-03  John Levon  <levon@movementarian.org>
3601
3602         * bufferview_funcs.h:
3603         * bufferview_funcs.C:
3604         * lyxfunc.C:
3605         * lyxtext.h:
3606         * text2.C: parlistize decDepth(), by merging it with incDepth()
3607
3608 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * lyxrow.h: store a ParagraphList::iterator instead of a
3611         Paragraph* and adjust other class functions to suit.
3612
3613         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3614         above.
3615
3616 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3617
3618         * text2.C (setCursor): do not anchor to cursor row for the time being
3619
3620 2003-04-02  John Levon  <levon@movementarian.org>
3621
3622         * LyXAction.C:
3623         * lfuns.h:
3624         * lyx_main.C:
3625         * lyxtext.h:
3626         * text.C:
3627         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3628
3629 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3630
3631         * paragraph.h: make ParagraphList and ParagraphList::iterator
3632         friends of Paragraph.
3633
3634         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3635
3636         * ParagraphList.C: Use the private next_ and previous_ from
3637         Paragraph.
3638
3639 2003-04-01  John Levon  <levon@movementarian.org>
3640
3641         * ToolbarBackend.h:
3642         * ToolbarBackend.C:
3643         * Makefile.am: rename, remove defaults gunk
3644
3645         * MenuBackend.h:
3646         * MenuBackend.C: remove defaults gunk
3647
3648         * Languages.h:
3649         * Languages.C: remove defaults gunk
3650
3651         * lyx_main.h:
3652         * lyx_main.C: error out if files couldn't be found.
3653
3654 2003-04-02  John Levon  <levon@movementarian.org>
3655
3656         * text2.C: make incDepth() use parlist
3657
3658 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * undo_funcs.C (firstUndoParagraph): adjust
3661
3662         * text3.C (gotoInset): adjust
3663         (dispatch): adjust, and rewrite loop.
3664
3665         * text2.C (init): adjust, and rewrite loop.
3666         (redoParagraphs): adjust
3667         (updateInset): adjust, and rewrite loop.
3668         (deleteEmptyParagraphMechanism): adjust
3669
3670         * tabular.C (LyXTabular): adjust
3671         (SetMultiColumn): adjust
3672         (TeXRow): adjust
3673
3674         * lyxtext.[Ch] (ownerParagraph): delete function
3675         (ownerParagraphs): new function returns a ParagraphList.
3676
3677         * BufferView.C (removeAutoInsets): adjust
3678         (insertErrors): adjust
3679         (setCursorFromRow): adjust
3680
3681 2003-04-01  Angus Leeming  <leeming@lyx.org>
3682
3683         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3684         in the frontends.
3685
3686 2003-04-02  John Levon  <levon@movementarian.org>
3687
3688         * lyxtext.h:
3689         * text.C:
3690         * Makefile.am:
3691         * text_funcs.h:
3692         * text_funcs.C: make transposeChars a free function
3693
3694         * lyxrow_funcs.C: remove wrong comment
3695
3696 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * lyxtext.h: adjust
3699         * rowpainter.C: adjust
3700         * text.C: adjust
3701         * text2.C: adjust
3702         * text3.C: adjust
3703
3704         * lyxrow_funcs. [Ch]: new files
3705
3706         * lyxrow.[Ch]: remove next and previous pointers
3707         (next,previous): remove accessor functions
3708         (isParEnd): move to lyxrow_funcs
3709         (lastPos): move to lyxrow_funcs
3710         (nextRowIsAllInset): move to lyxrow_funcs
3711         (lastPrintablePos): move to lyxrow_funcs
3712         (numberOfSeparators): move to lyxrow_funcs
3713         (numberOfHfills): move to lyxrow_funcs
3714         (numberOfLabelHfills): move to lyxrow_funcs
3715         (hfillExpansion): move to lyxrow_funcs
3716
3717         * lyxfunc.C: adjust
3718
3719         * bufferview_funcs.C (toggleAndShow): adjust
3720
3721         * RowList.h: Remove class RowList from file leave just a
3722         std::list<Row>.
3723
3724         * RowList.C: delete file
3725
3726         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3727         and lyxrow_funcs.h
3728
3729 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * text3.C (cursorPrevious): adjust
3732         (cursorNext): adjust
3733         (dispatch): adjust
3734
3735         * text2.C (redoHeightOfParagraph): adjust
3736         (redoDrawingOfParagraph): adjust
3737         (setCursor): adjust
3738
3739         * text.C (breakParagraph): adjust
3740         (insertChar): adjust
3741         (backspace): adjust
3742
3743         * rowpainter.C (RowPainter): adjust
3744         (leftMargin): simplify and adjust
3745         (most rowpainter functions): adjust.
3746
3747         * rowpainter.h: store the row as RowList::iterator not as Row*
3748
3749         * lyxcursor.C (row): taka RowList::iterator as arg
3750         (irow): ditto
3751
3752         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3753         of Row*.
3754
3755 2003-04-01  Angus Leeming  <leeming@lyx.org>
3756
3757         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3758         stuff like bool Bool.
3759
3760 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3761
3762         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3763         rewrite a loop
3764
3765 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3768         RowList::iterator.
3769
3770         * lyxtext.h (rows): drop one version and leve a const variant that
3771         returns a RowList::iterator.
3772
3773 2003-03-31  Angus Leeming  <leeming@lyx.org>
3774
3775         * text.C (fill): ensure that the signature is the same as that in the
3776         header file.
3777
3778 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * text2.C (redoParagraphs): adjust
3781         (updateCounters): adjust
3782         (checkParagraph): adjust
3783         (getColumnNearX): adjust and reformat a bit.
3784
3785         * text.C (top_y): adjust
3786         (workWidth): adjust
3787         (leftMargin): adjust
3788         (prepareToPrint): adjust
3789         (getRow): adjust
3790         (getRowNearY): adjust
3791
3792         * lyxtext.h: make rowlist_ mutable.
3793
3794         * RowList.h: add const_iterator
3795         * RowList.C: adjust for RowList::const_iterator.
3796
3797         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3798         adjust.
3799
3800 2003-03-31  John Levon  <levon@movementarian.org>
3801
3802         * lyxrc.h:
3803         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3804
3805         * lyx_main.C: set default fonts from using lyx_gui funcs
3806
3807         * exporter.C: pdf_mode moved from lyxrc
3808
3809         * lyx_cb.C:
3810         * lyxfunc.C: changes from above
3811
3812 2003-03-31  John Levon  <levon@movementarian.org>
3813
3814         * lyx_main.C: fix to the last fix
3815
3816 2003-03-31  John Levon  <levon@movementarian.org>
3817
3818         * bufferlist.C: "Load original" -> "Load Original"
3819
3820         * converter.C:
3821         * exporter.C:
3822         * importer.C:
3823         * lyx_main.C:
3824         * format.C: more Alert cleanups
3825
3826 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * text2.C (removeParagraph): make it take a RowList::iterator as
3829         arg, adjust.
3830         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3831         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3832
3833         * text.C (anchor_row): make it take a RowList::iterator as arg,
3834         adjust.
3835         (computeBidiTables): make it take a const reference to Row instead
3836         of Row pointer, adjust.
3837         (leftMargin): make it take a RowList::iterator as arg, adjust.
3838         (rowBreakPoint): adjust
3839         (breakAgainOneRow): make it take a RowList::iterator as arg,
3840         adjust.
3841         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3842
3843         * bufferview_funcs.C (toggleAndShow): adjust
3844
3845 2003-03-30  John Levon  <levon@movementarian.org>
3846
3847         * Makefile.am:
3848         * BoostFormat.h:
3849         * boost-inst.C: moved to support
3850
3851         * several files: changes as a result
3852
3853 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * text2.C (LyXText): adjust.
3856         (init): adjust
3857         (removeRow): make it take a RowList::iterator as arg, adjust.
3858         (fullRebreak): adjust
3859         (deleteEmptyParagraphMechanism): adjust
3860         (clearPaint): adjust
3861         (postPaint): adjust
3862
3863         * text.C (top_y): adjust
3864         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3865         (breakAgain): make it take a RowList::iterator as arg, adjust.
3866         (breakParagraph): adjust
3867         (insertChar): adjust
3868         (backspace): adjust
3869
3870         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3871         need_break_row, and refresh_row.
3872
3873         * text3.C (dispatch): adjust
3874
3875         * text2.C (checkParagraph): adjust
3876         (setCursor): adjust
3877         (setCursorFromCoordinates): adjust
3878
3879         * text.C (top_y): adjust
3880         (workWidth): adjust
3881         (getRow): make it return a RowList::iterator, adjust
3882         (getRowNearY): make it return a RowList::iterator, adjust
3883
3884         * text2.C (init): adjust
3885         (insertRow): remove function
3886         (insertParagraph): adjust
3887         (redoParagraphs): adjust
3888         (fullRebreak): adjust
3889         (updateCounters): adjust
3890
3891         * text.C (top_y): rewrite to use RowList iterators.
3892         (top_y): adjust
3893         (setHeightOfRow): rewrite to sue RowList iterators.
3894         (appendParagraph): adjust
3895         (breakAgain): adjust
3896         (breakAgainOneRow): adjust
3897         (breakParagraph): adjust
3898         (getRow): adjust
3899         (getRowNearY): adjust, and remove commented code.
3900
3901         * lyxtext.h (firstRow): delete function
3902         (lastRow): delete function
3903         (rows): new function (const and non-const versions.)
3904         (insertRow): delete function
3905
3906         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3907
3908 2003-03-29  John Levon  <levon@movementarian.org>
3909
3910         * BufferView_pimpl.C: always update scrollbar top
3911         because pasting text when we're anchored could mean we
3912         miss an update altogether
3913
3914 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * text2.C (init): use rowlist_.end() and not 0.
3917         (insertRow): change to take a RowList::iterator as arg, adjust
3918         for this.
3919         (insertParagraph): change to take a RowList::iterator as arg,
3920         adjust for this.
3921         (redoParagraphs): remove some debug msgs.
3922
3923         * text.C (appendParagraph): change to take a RowList::iterator
3924         arg, adjust for this.
3925         (breakAgain): add an assert
3926         (breakAgainOneRow): ditto
3927
3928 2003-03-29  John Levon  <levon@movementarian.org>
3929
3930         * text2.C: do not clear selection after inc/decDepth
3931         (bug 550)
3932
3933 2003-03-29  John Levon  <levon@movementarian.org>
3934
3935         * BufferView.C:
3936         * buffer.C: fix broken strerrors according to Lars
3937
3938 2003-03-29  John Levon  <levon@movementarian.org>
3939
3940         * converters.C: more Alert cleanups
3941
3942 2003-03-29  John Levon  <levon@movementarian.org>
3943
3944         * bufferview_funcs.C: remove pointless Alert
3945
3946         * buffer.C: fix confusing error message when
3947         a template is chmoded 000
3948
3949 2003-03-29  John Levon  <levon@movementarian.org>
3950
3951         * BufferView.C:
3952         * BufferView.h:
3953         * BufferView_pimpl.C: Alert fixes
3954
3955         * Makefile.am:
3956         * tabular.C:
3957         * tabular-old.C: remove unused table compat reading
3958
3959 2003-03-29  John Levon  <levon@movementarian.org>
3960
3961         * BufferView.C:
3962         * buffer.C:
3963         * lyx_cb.h:
3964         * lyx_cb.C: more Alert cleanups
3965
3966         * lyxfunc.C: don't allow chktex if not latex document
3967
3968 2003-03-29  John Levon  <levon@movementarian.org>
3969
3970         * lyx_cb.C:
3971         * BufferView.C:
3972         * buffer.C: warnings pushed down from support/,
3973         kill err_alert
3974
3975 2003-03-29  John Levon  <levon@movementarian.org>
3976
3977         * lyxfunc.C: safety check for C-r (revert)
3978
3979 2003-03-29  John Levon  <levon@movementarian.org>
3980
3981         * bufferlist.h:
3982         * bufferlist.C: several UI fixes using Alert::prompt.
3983         Fix the pointless looping quit code. Fix stupid revert
3984         behaviour (bug 938)
3985
3986         * lyxvc.h:
3987         * lyxvc.C:
3988         * lyx_cb.C: use Alert::prompt
3989
3990         * lyx_main.C: remove a silly question
3991
3992         * lyxfunc.C: remove a couple of silly questions,
3993         use Alert::prompt
3994
3995 2003-03-28  John Levon  <levon@movementarian.org>
3996
3997         * text2.C: fix bug 974 (End on empty par)
3998
3999 2003-03-28  John Levon  <levon@movementarian.org>
4000
4001         * BufferView_pimpl.C:
4002         * LyXAction.C:
4003         * lfuns.h: remove do-nothing math greek lfuns
4004
4005 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * lyxgluelength.h (isValidGlueLength): add default arg on
4008         parameter 2. Remove default arg from friend in class.
4009
4010         * lyxlength.h (isValidLength): add default arg on parameter 2.
4011         Remove default arg from friend in class.
4012
4013         * text2.C (LyXText): adjust, initialize refresh_row.
4014         (init): adjust
4015         (removeRow): adjust
4016         (insertRow): adjust
4017         (insertParagraph): adjst
4018         (redoParagraphs): adjust
4019         (fullRebreak): adjust
4020         (updateCounters): adjust
4021         (deleteEmptyParagraphMechanism): first attempt at fixing a
4022         crashing bug.
4023
4024         * text.C (top_y): adjust
4025         (setHeightOfRow): adjust
4026         (getRow): adjust
4027         (getRowNearY): adjust
4028
4029         * lyxtext.h: include RowList.h
4030         (~LyXText): not needed anymore, deleted.
4031         (firstRow): modify for RowList
4032         (lastRow): new function
4033         Delete firstrow and lastrow class variables, add a Rowlist
4034         rowlist_ class variable.
4035
4036         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4037         paragraph is empty.
4038
4039         * RowList.C (insert): fix case where it == begin().
4040
4041 2003-03-26  Angus Leeming  <leeming@lyx.org>
4042
4043         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4044         the thesaurus dialog.
4045
4046 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4049
4050         * RowList.[Ch]: new files
4051
4052         * ParagraphList.C (erase): handle the case where it == begin
4053         correctly.
4054
4055 2003-03-25  John Levon  <levon@movementarian.org>
4056
4057         * Makefile.am:
4058         * aspell_local.h:
4059         * aspell.C: add new aspell support
4060
4061         * lyxrc.h:
4062         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4063         have it accessible.
4064
4065 2003-03-25  Angus Leeming  <leeming@lyx.org>
4066
4067         * lfuns.h:
4068         * LyXAction.C (init): new LFUN_INSET_INSERT.
4069
4070         * BufferView_pimpl.C (dispatch): split out part of the
4071         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4072
4073         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4074         LFUN_INSET_APPLY.
4075
4076 2003-03-25  Angus Leeming  <leeming@lyx.org>
4077
4078         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4079
4080 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * text2.C:
4083         * text3.C: remove useless row->height(0)
4084
4085 2003-03-25  John Levon  <levon@movementarian.org>
4086
4087         * lyxtext.h:
4088         * text2.C:
4089         * text3.C: rename the refreshing stuff to better names
4090
4091 2003-03-24  John Levon  <levon@movementarian.org>
4092
4093         * BufferView_pimpl.h:
4094         * BufferView_pimpl.C: update layout choice on a mouse
4095         press/release
4096
4097 2003-03-23  John Levon  <levon@movementarian.org>
4098
4099         * Makefile.am: fix commandtags.h reference
4100
4101 2003-03-22  John Levon  <levon@movementarian.org>
4102
4103         * BufferView_pimpl.C:
4104         * lyxtext.h:
4105         * rowpainter.C:
4106         * rowpainter.h:
4107         * text.C:
4108         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4109
4110 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4111
4112         * lyxtext.h:
4113         * text.C: take the rtl methods out of line
4114
4115 2003-03-21 André Pönitz <poenitz@gmx.net>
4116
4117         * metricsinfo.[Ch]: new files containing structures to be passed around
4118         during the two-phase-drawing...
4119
4120 2003-03-21 André Pönitz <poenitz@gmx.net>
4121
4122         * lyxtextclass.C: read 'environment' tag.
4123
4124 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text2.C (removeRow): fix bug 964
4127
4128 2003-03-20  John Levon  <levon@movementarian.org>
4129
4130         * rowpainter.C:
4131         * text.C:
4132         * text2.C: paint cleanups. Inset::update() dropped font
4133         parameter
4134
4135 2003-03-19  John Levon  <levon@movementarian.org>
4136
4137         * lyxfunc.C: only fitcursor/markDirty if available()
4138
4139 2003-03-19  John Levon  <levon@movementarian.org>
4140
4141         * commandtags.h: rename to ...
4142
4143         * lfuns.h: ... this, and renumber / cleanup
4144
4145 2003-03-19  John Levon  <levon@movementarian.org>
4146
4147         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4148         fit the cursor after an lfun
4149
4150         * BufferView.h:
4151         * BufferView.C:
4152         * BufferView_pimpl.h:
4153         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4154
4155         * LyXAction.C: layout-character should have ReadOnly
4156
4157         * ParagraphParameters.C:
4158         * buffer.C:
4159         * bufferview_funcs.C:
4160         * lyx_cb.C:
4161         * lyxfind.C:
4162         * lyxtext.h:
4163         * text.C:
4164         * text2.C:
4165         * text3.C:
4166         * undo_funcs.C: changes from above
4167
4168 2003-03-18  John Levon  <levon@movementarian.org>
4169
4170         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4171         remove it from update()
4172
4173         * lyxfunc.C: update layout choice after an lfun
4174
4175         * text3.C: remove extra updateLayoutChoice()s
4176
4177 2003-03-18  John Levon  <levon@movementarian.org>
4178
4179         * text.C: top_y change means full repaint, fix
4180         a drawing bug with cursor movement
4181
4182 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4183
4184         * lyxtext.h:
4185         * text.C:
4186         * text2.C: anchor row on setCursor
4187
4188 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4189
4190         * lyxtext.h: remove almost all mutable keywords
4191         * text.C:
4192         * text2.C:
4193         * text3.C: remove const keywords accordingly
4194
4195 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4198         anon namespace
4199         (TeXEnvironment): ditto
4200         (TeXOnePar): ditto
4201
4202 2003-03-17  John Levon  <levon@movementarian.org>
4203
4204         * text.C (rowBreakPoint): remove attempt to fix displayed
4205         math insets inside a manual label
4206
4207 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4208
4209         * lyxtext.h: remove BufferView* as first arg from almost all class
4210         functions.
4211         * other files: adjust.
4212
4213 2003-03-17  John Levon  <levon@movementarian.org>
4214
4215         * lyxtext.h:
4216         * undo_funcs.C:
4217         * text2.C: more paint cleanups
4218
4219         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4220
4221         * rowpainter.h:
4222         * rowpainter.C: remove "smart" background painting code
4223
4224 2003-03-16  John Levon  <levon@movementarian.org>
4225
4226         * lyxtext.h:
4227         * text.C:
4228         * text2.C:
4229         * text3.C: add helper functions for setting refresh_row/y
4230
4231 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4232
4233         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4234         newline inset which *can* get inserted in the pass_thru layouts.
4235         This is primarily for literate documents.
4236
4237 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4238
4239         * buffer.C: increment LYX_FORMAT to 223
4240
4241 2003-03-14 André Pönitz <poenitz@gmx.net>
4242
4243         * textclass.h: prepare for environment handling, ws changes
4244         * lyxlayout.C: read latexheader and latexfooter tags
4245
4246 2003-03-14  John Levon  <levon@movementarian.org>
4247
4248         * text2.C: rewrite ::status() a bit
4249
4250 2003-03-13  John Levon  <levon@movementarian.org>
4251
4252         * lyxtext.h: add some docs
4253
4254 2003-03-13  John Levon  <levon@movementarian.org>
4255
4256         * lyxtext.h:
4257         * text.C:
4258         * text2.C:
4259         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4260
4261 2003-03-13  John Levon  <levon@movementarian.org>
4262
4263         * text3.C: fix appendix redrawing
4264
4265 2003-03-13  John Levon  <levon@movementarian.org>
4266
4267         * text.C (setHeightOfRow):
4268         * rowpainter.h:
4269         * rowpainter.C: make appendix mark have the text
4270           "Appendix" so the user knows what it is
4271
4272         * LColor.h:
4273         * LColor.C: s/appendixline/appendix/ from above
4274
4275 2003-03-13  John Levon  <levon@movementarian.org>
4276
4277         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4278
4279         * text.C: fix a getChar(pos) bug properly
4280
4281 2003-03-13  Angus Leeming  <leeming@lyx.org>
4282
4283         * commandtags.h:
4284         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4285         Probably only temporary. Let's see how things pan out.
4286
4287         * BufferView.C (unlockInset):
4288         * BufferView_pimpl.C (fitCursor):
4289         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4290
4291         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4292         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4293
4294         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4295         new functions that convert ParagraphParameters to and from a string.
4296
4297         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4298         BufferView::Pimpl's dispatch.
4299         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4300
4301 2003-03-13 André Pönitz <poenitz@gmx.net>
4302
4303         * lyxfunc.C:
4304         * text3.C:
4305         * factory.C: make it aware of InsetEnv
4306
4307 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * text2.C (setCursor): never ask for one past last
4310         (setCursor): add some debugging messages.
4311
4312         * text.C (singleWidth): never ask for one past last
4313         (singleWidth): ditto
4314         (leftMargin): ditto
4315         (rightMargin): ditto
4316         (rowBreakPoint): ditto
4317         (setHeightOfRow): ditto
4318         (prepareToPrint): ditto
4319
4320         * rowpainter.C (paintBackground): never ask for one past last
4321         (paintText): never ask for one past last
4322
4323         * paragraph_pimpl.C (getChar): make the assert stricter, never
4324         allow the one past last pos to be taken
4325
4326         * paragraph.C (getChar): ws changes only
4327
4328         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4329         (numberOfSeparators): ditto
4330         (numberOfHfills): ditto
4331
4332 2003-03-12  John Levon  <levon@movementarian.org>
4333
4334         * author.h:
4335         * author.C:
4336         * bufferparams.h:
4337         * bufferparams.C:
4338         * paragraph_funcs.C: fix per-buffer authorlists
4339
4340 2003-03-12  John Levon  <levon@movementarian.org>
4341
4342         * text.C: fix newline in right address
4343
4344 2003-03-12  Angus Leeming  <leeming@lyx.org>
4345
4346         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4347         duplicate those in LyXFunc::dispatch.
4348
4349         * commandtags.h:
4350         * LyXAction.C:
4351         * ToolbarDefaults.C:
4352         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4353         Add LFUN_FONTFREE_UPDATE.
4354
4355         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4356         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4357
4358         * bufferview_func.[Ch]: several new functions to facilliate
4359         transfer of data to and from the character dialog.
4360
4361 2003-03-12  John Levon  <levon@movementarian.org>
4362
4363         * buffer.C:
4364         * paragraph.h:
4365         * paragraph.C:
4366         * paragraph_funcs.C:
4367         * paragraph_pimpl.C:
4368         * sgml.C:
4369         * tabular.C:
4370         * text.C:
4371         * text3.C: remove META_NEWLINE in favour of an inset
4372
4373         * rowpainter.h:
4374         * rowpainter.C: remove paintNewline (done by inset)
4375
4376 2003-03-12  John Levon  <levon@movementarian.org>
4377
4378         * paragraph_pimpl.C: complain about bad getChar()s
4379         for a while at least
4380
4381 2003-03-12  John Levon  <levon@movementarian.org>
4382
4383         * buffer.h:
4384         * buffer.C: move paragraph read into a separate function,
4385         a little renaming to reflect that.
4386
4387         * bufferparams.h:
4388         * bufferparams.C: remove the author_ids map, not necessary now
4389
4390         * factory.h:
4391         * factory.C: moved Buffer::readInset to here
4392
4393         * paragraph_funcs.h:
4394         * paragraph_funcs.C: readParagraph free function moved from
4395         buffer.C
4396
4397         * tabular.C: name change
4398
4399 2003-03-12  John Levon  <levon@movementarian.org>
4400
4401         * buffer.C:
4402         * ParagraphParameters.C: move par params input to
4403         a read() method
4404
4405         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4406         behave like a normal read from the stream wrt reading
4407         a line vs. a \\token
4408
4409 2003-03-12  John Levon  <levon@movementarian.org>
4410
4411         * paragraph.C:
4412         * ParagraphParameters.h:
4413         * ParagraphParameters.C: move output code to a
4414         ::write() method
4415
4416 2003-03-12  John Levon  <levon@movementarian.org>
4417
4418         * BufferView.C (insertLyXFile):
4419         * buffer.h:
4420         * buffer.C:
4421         * tabular.C: use a parlist iterator for creating the
4422           document.
4423
4424 2003-03-12  John Levon  <levon@movementarian.org>
4425
4426         * buffer.C: make current_change static local not
4427           static file-scope
4428
4429 2003-03-12  John Levon  <levon@movementarian.org>
4430
4431         * buffer.C: fix insertStringAsLines for change tracking
4432
4433 2003-03-12  John Levon  <levon@movementarian.org>
4434
4435         * BufferView.C:
4436         * tabular.C:
4437         * buffer.h:
4438         * buffer.C:
4439         * bufferparams.h:
4440         * bufferparams.C: move author list into params. Rename some
4441           functions. Move the header reading into a separate token
4442           loop. Move the header token reading into BufferParams.
4443
4444 2003-03-12  John Levon  <levon@movementarian.org>
4445
4446         * changes.C: put debug inside lyxerr.debugging() checks
4447
4448 2003-03-11 André Pönitz <poenitz@gmx.net>
4449
4450         * factory.C: make it aware of InsetHFill
4451
4452 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4453
4454         * buffer.C (latexParagraphs): move function from here...
4455         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4456         args.
4457
4458 2003-03-10  Angus Leeming  <leeming@lyx.org>
4459
4460         * LyXAction.C (init): fix bug in poplating array with multiple entries
4461         with the same LFUN (spotted by JMarc).
4462
4463 2003-03-10  John Levon  <levon@movementarian.org>
4464
4465         * text.C:
4466         * text2.C: move getColumnNearX() near its
4467         only call site
4468
4469 2003-03-10  John Levon  <levon@movementarian.org>
4470
4471         * text.C: fix break before a minipage
4472
4473 2003-03-10  John Levon  <levon@movementarian.org>
4474
4475         * text.C: fix the last commit
4476
4477 2003-03-09  John Levon  <levon@movementarian.org>
4478
4479         * lyxtext.h:
4480         * text.C:
4481         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4482         bug 365 (don't break before insets unless needed). Don't
4483         return a value > last under any circumstances.
4484
4485 2003-03-09  Angus Leeming  <leeming@lyx.org>
4486
4487         * BufferView_pimpl.C (trackChanges, dispatch): call
4488         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4489
4490 2003-03-09  Angus Leeming  <leeming@lyx.org>
4491
4492         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4493         than Dialogs::showAboutlyx().
4494
4495 2003-03-09  Angus Leeming  <leeming@lyx.org>
4496
4497         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4498         than Dialogs::showTabularCreate().
4499
4500 2003-03-09  John Levon  <levon@movementarian.org>
4501
4502         * lyxtext.h:
4503         * text.C:
4504         * text2.C: 3rd arg to nextBreakPoint was always the same.
4505           Use references.
4506
4507 2003-03-08  John Levon  <levon@movementarian.org>
4508
4509         * lyxrow.C:
4510         * paragraph.C:
4511         * paragraph.h:
4512         * rowpainter.C:
4513         * text.C:
4514         * text2.C: Remove the "main" bit from the "main body"
4515           notion.
4516
4517 2003-03-08  John Levon  <levon@movementarian.org>
4518
4519         * text.C (leftMargin): The left margin of an empty
4520         manual label paragraph should not include the label width
4521         string length.
4522
4523         * text.C (prepareToPrint): don't attempt to measure hfills
4524         for empty manual label paragraphs - the answer should be 0
4525
4526 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * CutAndPaste.C: remove commented code and reindent.
4529
4530 2003-03-08  John Levon  <levon@movementarian.org>
4531
4532         * lyxfunc.h:
4533         * lyxfunc.C: move reloadBuffer()
4534
4535         * BufferView.h:
4536         * BufferView.C: to here
4537
4538         * lyxvc.C: add comment
4539
4540         * vc-backend.h:
4541         * vc-backend.C: call bv->reload() to avoid
4542           getStatus() check on MENURELOAD
4543
4544 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4545
4546         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4547         to an old format .dep file.
4548
4549 2003-03-07  Angus Leeming  <leeming@lyx.org>
4550
4551         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4552         when the LFUN_MOUSE_RELEASE should have been handled by
4553         inset->localDispatch.
4554
4555 2003-03-07  Angus Leeming  <leeming@lyx.org>
4556
4557         * BufferView_pimpl.C (dispatch):
4558         * LyXAction.C (init):
4559         * ToolbarDefaults.C (init):
4560         * commandtags.h:
4561         * lyxfunc.C (getStatus):
4562         remove LFUN_INSET_GRAPHICS.
4563
4564         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4565
4566 2003-03-07  Angus Leeming  <leeming@lyx.org>
4567
4568         * commandtags.h:
4569         * LyXAction.C (init):
4570         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4571
4572         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4573
4574         * commandtags.h:
4575         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4576
4577         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4578         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4579
4580 2003-03-07  Angus Leeming  <leeming@lyx.org>
4581
4582         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4583         remove "ert".
4584
4585 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * ParagraphList.C (front): new function
4588         (back): implement
4589
4590 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4591
4592         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4593         and top_row_offset_. removed var first_y.
4594         * text.C (top_y):
4595         * text2.C (LyXText, removeRow):
4596         * text3.C:
4597         * BufferView_pimpl.C:
4598         use these methods instead of using first_y
4599
4600 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * text2.C (pasteSelection): adjust for checkPastePossible
4603
4604         * CutAndPaste.C: remove Paragraph * buf and replace with
4605         ParagraphList paragraphs.
4606         (DeleteBuffer): delete
4607         (cutSelection): change the tc type to textclass_type
4608         (copySelection): change the tc type to textclass_type
4609         (copySelection): adjust for ParagraphList
4610         (pasteSelection): change the tc type to textclass_type
4611         (pasteSelection): adjust for Paragraphlist
4612         (nrOfParagraphs): simplify for ParagraphList
4613         (checkPastePossible): simplify for ParagraphList
4614         (checkPastePossible): remove unused arg
4615
4616         * ParagraphList.C (insert): handle the case where there are no
4617         paragraphs yet.
4618
4619         * CutAndPaste.h: make CutAndPaste a namespace.
4620
4621         * text3.C (dispatch): adjust
4622
4623         * text.C (breakParagraph): add a ParagraphList as arg
4624
4625         * paragraph_funcs.C (breakParagraph): change to take a
4626         BufferParams and a ParagraphList as args.
4627         (breakParagraphConservative): ditto
4628         (mergeParagraph): ditto
4629         (TeXDeeper): add a ParagraphList arg
4630         (TeXEnvironment): ditto
4631         (TeXOnePar): ditto
4632
4633         * buffer.C (readLyXformat2): adjust
4634         (insertStringAsLines): adjust
4635         (latexParagraphs): adjust
4636
4637         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4638         (cutSelection): adjust
4639         (pasteSelection): adjust
4640
4641         * BufferView_pimpl.C (insertInset): adjust
4642
4643 2003-03-05  Angus Leeming  <leeming@lyx.org>
4644
4645         * commandtags.h:
4646         * LyXAction.C (init):
4647         * BufferView_pimpl.C (dispatch):
4648         * lyxfunc.C (getStatus):
4649         remove LFUN_CHILD_INSERT.
4650
4651         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4652
4653 2003-03-05  Angus Leeming  <leeming@lyx.org>
4654
4655         * commandtags.h:
4656         * LyXAction.C (init):
4657         * src/factory.C (createInset):
4658         * lyxfunc.C (getStatus):
4659         * text3.C (dispatch):
4660         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4661
4662         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4663
4664 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * ParagraphList.C (insert): handle insert right before end()
4667         (erase): fix cases where it can be first or last paragraph.
4668
4669 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4672         Paragraph::next and Paragraph::previous
4673         (TeXOnePar): ditto
4674
4675         * text.C (breakParagraph): adjust
4676
4677         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4678         BufferParams& as arg.
4679         (breakParagraph): use ParagraphList::insert
4680         (breakParagraphConservative): take a Buffer* instead of a
4681         BufferParams& as arg.
4682         (breakParagraphConservative): use ParagraphList::insert.
4683
4684         * buffer.C (insertStringAsLines): un-const it
4685         (insertStringAsLines): adjust
4686
4687         * ParagraphList.C (insert): new function
4688
4689         * CutAndPaste.C (pasteSelection): adjust
4690
4691         * text.C (backspace): adjust
4692
4693         * tabular.C (SetMultiColumn): adjust
4694
4695         * CutAndPaste.C (cutSelection): adjust
4696         (pasteSelection): adjust
4697
4698         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4699         Buffer const * as arg
4700
4701         * ParagraphList.C (erase): new function
4702         * paragraph_funcs.C (mergeParagraph): use it
4703         (mergeParagraph): make it take a Buffer* instead of a
4704         BufferParams* as arg
4705
4706         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4707         as arg
4708         (breakParagraphConservative): ditto
4709
4710         * paragraph.h: remove the breakParagraph friend
4711
4712         * paragraph.C (eraseIntern): new function
4713         (setChange): new function
4714
4715         * paragraph_funcs.C (mergeParagraph): make it take a
4716         ParagraphList::iterator instead of a Paragraph *, adjust
4717         accordingly.
4718
4719         * paragraph.h: move an #endif so that the change tracking stuff
4720         also works in the NO_NEXT case.
4721
4722 2003-03-04  Angus Leeming  <leeming@lyx.org>
4723
4724         * commandtags.h:
4725         * LyXAction.C: new LFUN_INSET_MODIFY.
4726
4727         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4728         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4729
4730 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * several files: ws changes only
4733
4734         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4735         (TeXEnvironment): ditto
4736         (TeXDeeper): ditto
4737
4738         * buffer.C (makeLaTeXFile): adjust
4739         (latexParagraphs): make it take ParagraphList::iterator as args
4740
4741 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * buffer.C (latexParagraphs): adjust
4744
4745         * paragraph.C (TeXOnePar): move function...
4746         (optArgInset): move function...
4747         (TeXEnvironment): move function...
4748         * paragraph_pimpl.C (TeXDeeper): move function...
4749         * paragraph_funcs.C: ...here
4750
4751         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4752
4753 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * buffer.C (readInset): remove compability code for old Figure and
4756         InsetInfo insets
4757
4758 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * buffer.C: ws changes
4761         (readInset):
4762
4763         * BufferView_pimpl.C: ditto
4764         * author.C: ditto
4765         * buffer.h: ditto
4766         * bufferlist.h: ditto
4767         * changes.h: ditto
4768         * lyxfunc.C: ditto
4769
4770 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4771
4772         * converter.[Ch]: split into itself +
4773         * graph.[Ch]
4774         * format.[Ch]
4775         * Makefile.am: += graph.[Ch] + format.[Ch]
4776         * MenuBackend.C
4777         * buffer.C
4778         * exporter.C
4779         * importer.C
4780         * lyx_main.C
4781         * lyxfunc.C
4782         * lyxrc.C: added #include "format.h"
4783
4784 2003-02-27  Angus Leeming  <leeming@lyx.org>
4785
4786         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4787           a label.
4788
4789         * factory.C (createInset): add "label" to the factory.
4790
4791         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4792           string and do no more.
4793
4794 2003-02-27  Angus Leeming  <leeming@lyx.org>
4795
4796         * commandtags.h:
4797         * LyXAction.C (init):
4798         * factory.C (createInset):
4799         * BufferView_pimpl.C (dispatch):
4800           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4801
4802         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4803
4804         * lyxfunc.C (dispatch):
4805         * text3.C (dispatch): pass name to params2string.
4806
4807 2003-02-26  Angus Leeming  <leeming@lyx.org>
4808
4809         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4810           blocks together.
4811           Rearrange the ~includes. Strip out the unnecessary ones.
4812
4813         * factory.C (createInset): reformat.
4814           create new insets for the various LFUN_XYZ_APPLY lfuns.
4815
4816 2003-02-26  John Levon  <levon@movementarian.org>
4817
4818         * lyxrow.h:
4819         * lyxrow.C: add isParStart,isParEnd helpers
4820
4821         * paragraph.h: make isInserted/DeletedText take refs
4822
4823         * paragraph_funcs.h:
4824         * paragraph_funcs.C: remove #if 0'd code
4825
4826         * lyxtext.h:
4827         * text3.C:
4828         * text2.C:
4829         * text.C: use lyxrow helpers above.
4830           Move draw and paint routines to RowPainter.
4831           Make several methods use refs not pointers.
4832           Make backgroundColor() const.
4833           Add markChangeInDraw(), isInInset().
4834           Merge changeRegionCase into changeCase.
4835           Make workWidth() shouldn't-happen code into an Assert.
4836
4837         * rowpainter.h:
4838         * rowpainter.C: new class for painting a row.
4839
4840         * vspace.h:
4841         * vspace.C: make inPixels take a ref
4842
4843 2003-02-26  Angus Leeming  <leeming@lyx.org>
4844
4845         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4846         LFUN_REF_APPLY.
4847
4848 2003-02-25  John Levon  <levon@movementarian.org>
4849
4850         * ispell.C: give the forked command a more accurate name
4851
4852 2003-02-22  John Levon  <levon@movementarian.org>
4853
4854         * toc.h:
4855         * toc.C: make TocItem store an id not a Paragraph *
4856           (bug #913)
4857
4858 2003-02-21  Angus Leeming  <leeming@lyx.org>
4859
4860         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4861           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4862           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4863           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4864           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4865           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4866
4867         * BufferView_pimpl.C (dispatch):
4868         * LyXAction.C (init):
4869         * factory.C (createInset):
4870         * lyxfunc.C (getStatus, dispatch):
4871         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4872
4873 2003-02-21  Angus Leeming  <leeming@lyx.org>
4874
4875         * BufferView_pimpl.C (MenuInsertLyXFile):
4876         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4877         * lyxfunc.C (menuNew, open, doImport):
4878           no longer pass a LyXView & to fileDlg.
4879
4880 2003-02-21  Angus Leeming  <leeming@lyx.org>
4881
4882         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4883         * LyXAction.C: change, BIBKEY to BIBITEM.
4884         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4885         Change InsetBibKey to InsetBibitem.
4886         Change BIBKEY_CODE to BIBITEM_CODE.
4887         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4888         * factory.C: replace insetbib.h with insetbibitem.h.
4889         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4890         * paragraph.C: replace insetbib.h with insetbibitem.h.
4891         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4892         Change bibkey() to bibitem().
4893         * text.C: remove insetbib.h.
4894         * text2.C: replace insetbib.h with insetbibitem.h.
4895         change bibkey() to bibitem().
4896         * text3.C: remove insetbib.h.
4897         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4898
4899 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4900
4901         * lyxrc.C (output): enclose user email in quotes (in case there are
4902         several words)
4903
4904 2003-02-18  John Levon  <levon@movementarian.org>
4905
4906         * buffer.h: add std::
4907
4908 2003-02-17  John Levon  <levon@movementarian.org>
4909
4910         * SpellBase.h:
4911         * ispell.h:
4912         * ispell.C:
4913         * pspell.h:
4914         * pspell.C: reworking. Especially in ispell, a large
4915           number of clean ups and bug fixes.
4916
4917         * lyxfunc.C: fix revert to behave sensibly
4918
4919 2003-02-17 André Pönitz <poenitz@gmx.net>
4920
4921         * LyXAction.C:
4922         * commandtags.h: new LFUN_INSERT_BIBKEY
4923
4924         * layout.h:
4925         * lyxlayout.C:
4926         * buffer.C:
4927         * factory.C:
4928         * text.C:
4929         * text2.C:
4930         * text3.C:
4931         * paragraph.[Ch]:
4932         * paragraph_func.C: remove special bibkey handling
4933
4934 2003-02-17  John Levon  <levon@movementarian.org>
4935
4936         * text.C (Delete): fix case where delete at the end of
4937           the very first paragraph would not merge the pars
4938
4939 2003-02-17  John Levon  <levon@movementarian.org>
4940
4941         * lyxrow.C: fix lastPrintablePos()
4942
4943 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4944
4945         * bufferparams.C (writeLaTeX): add a std:here
4946
4947         * buffer.C: and remove a using directive there
4948
4949 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4950
4951         * buffer.C (makeLaTeXFile): move the code that generates the
4952           preamble...
4953
4954         * bufferparams.C (writeLaTeX): ... in this new method
4955
4956         * LaTeXFeatures.C (getEncodingSet): make const
4957           (getLanguages): make const
4958
4959         * MenuBackend.C (binding): returns the binding associated to this
4960           action
4961           (add): sets the status of each item by calling getStatus. Adds
4962           some intelligence.
4963           (read): add support for OptSubMenu
4964           (expand): remove extra separator at the end of expanded menu
4965
4966 2003-02-15  John Levon  <levon@movementarian.org>
4967
4968         * BufferView.C:
4969         * BufferView_pimpl.C:
4970         * bufferlist.h:
4971         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4972           inset code that had no actual effect. Remove unneeded status
4973           code.
4974
4975 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4976
4977         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4978           in preamble
4979
4980 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4981
4982         * text.C (drawLengthMarker): also draw an arrow marker for
4983           symbolic lengths (medskip...)
4984
4985 2003-02-14  John Levon  <levon@movementarian.org>
4986
4987         * tabular.h:
4988         * tabular.C: better method names
4989
4990 2003-02-14  John Levon  <levon@movementarian.org>
4991
4992         * BufferView_pimpl.C:
4993         * bufferlist.C:
4994         * buffer.C:
4995         * converter.C:
4996         * lyx_cb.C:
4997         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4998           it's a more accurate name. Remove some pointless uses.
4999
5000 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5001
5002         * text2.C (LyXText): change order of initilizers to shut off
5003           warnings
5004
5005 2003-02-14  John Levon  <levon@movementarian.org>
5006
5007         * buffer.C: use ParIterator for getParFromID()
5008
5009         * paragraph.h:
5010         * paragraph.C:
5011         * paragraph_pimpl.h:
5012         * paragraph_pimpl.C: remove unused getParFromID()
5013
5014 2003-02-14  John Levon  <levon@movementarian.org>
5015
5016         * buffer.C: remove some very old #if 0'd parse code
5017
5018 2003-02-13  John Levon  <levon@movementarian.org>
5019
5020         * text.h:
5021         * text.C:
5022         * text2.C: move hfillExpansion(), numberOfSeparators(),
5023           rowLast(), rowLastPrintable(), numberofHfills(),
5024           numberOfLabelHfills() ...
5025
5026         * lyxrow.h:
5027         * lyxrow.C: ... to member functions here.
5028
5029         * paragraph.h:
5030         * paragraph.C:
5031         * lyxtext.h:
5032         * text.C: remove LyXText::beginningOfMainBody(), and call
5033           p->beginningOfMainBody() directly. Move the check for
5034           LABEL_MANUAL into the latter.
5035
5036         * text.h:
5037         * text.C:
5038         * text2.C:
5039         * vspace.C:
5040         * BufferView.h:
5041         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5042
5043         * text.h:
5044         * text.C:
5045         * text2.C:
5046         * text3.C:
5047         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5048           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5049
5050 2003-02-13  John Levon  <levon@movementarian.org>
5051
5052         * CutAndPaste.C: remove debug
5053
5054 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5055
5056         * paragraph.C (asString): remove two unused variables
5057
5058         * lyxtextclass.C (readTitleType):
5059           (Read):
5060           (LyXTextClass): handle new members titletype_ and titlename_
5061
5062         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5063
5064 2003-02-09  John Levon  <levon@movementarian.org>
5065
5066         * buffer.h:
5067         * buffer.C: replace hand-coded list with a map for the dep clean
5068
5069 2003-02-08  John Levon  <levon@movementarian.org>
5070
5071         * LaTeX.C: consolidate code into showRunMessage() helper
5072
5073 2003-02-08  John Levon  <levon@movementarian.org>
5074
5075         * lyxfind.C:
5076         * lyxtext.h:
5077         * text2.C:
5078         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5079           and pass the size in explicitly
5080
5081         * BufferView_pimpl.h:
5082         * BufferView_pimpl.C:
5083         * BufferView.h:
5084         * BufferView.C: add getCurrentChange()
5085
5086         * BufferView_pimpl.h:
5087         * BufferView_pimpl.C: handle change lfuns
5088
5089         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5090           for changes. Mark pasted paragraphs as new.
5091
5092         * support/lyxtime.h:
5093         * support/lyxtime.C:
5094         * DepTable.C: abstract time_t as lyx::time_type
5095
5096         * LColor.h:
5097         * LColor.C: add colours for new text, deleted text, changebars
5098
5099         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5100           package use "usenames" option.
5101
5102         * commandtags.h:
5103         * lyxfunc.C:
5104         * LyXAction.C: add change lfuns
5105
5106         * Makefile.am:
5107         * author.h:
5108         * author.C: author handling
5109
5110         * buffer.h:
5111         * buffer.C: add a per-buffer author list, with first entry as
5112           current author. Handle new .lyx tokens for change tracking. Output
5113           author list to .lyx file. Output dvipost stuff to .tex preamble.
5114           Bump lyx format to 222.
5115
5116         * bufferlist.h:
5117         * bufferlist.C: add setCurrentAuthor() to reset current author details
5118           in all buffers.
5119
5120         * bufferparams.h:
5121         * bufferparams.C: add param for tracking
5122
5123         * bufferview_funcs.C: output change info in minibuffer
5124
5125         * Makefile.am:
5126         * changes.h:
5127         * changes.C: add change-tracking structure
5128
5129         * debug.h:
5130         * debug.C: add CHANGES debug flag
5131
5132         * lyxfind.h:
5133         * lyxfind.C: add code for finding the next change piece
5134
5135         * lyxrc.h:
5136         * lyxrc.C: add user_name and user_email
5137
5138         * lyxrow.h:
5139         * lyxrow.C: add a metric for the top of the text line
5140
5141         * lyxtext.h:
5142         * text.C: implement accept/rejectChange()
5143
5144         * lyxtext.h:
5145         * text.C: paint changebars. Paint new/deleted text in the chosen
5146         colours. Strike through deleted text.
5147
5148         * paragraph.h:
5149         * paragraph.C:
5150         * paragraph_pimpl.h:
5151         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5152           in the current change to the insert functions. Rework erase to
5153           mark text as deleted, adding an eraseIntern() and a range-based
5154           erase(). Implement per-paragraph change lookup and
5155           accept/reject.
5156
5157         * paragraph_funcs.C: Fixup paste for change tracking.
5158
5159         * tabular.C: mark added row/columns as new.
5160
5161         * text.C: fix rowLast() to never return -1. Don't allow
5162           spellchecking of deleted text. Track transpose changes. Don't
5163           allow paragraph break or merge where appropriate.
5164
5165         * text2.C: leave cursor at end of selection after a cut.
5166
5167 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5168
5169         * text.C (getLengthMarkerHeight):
5170         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5171         visible on screen too.
5172
5173 2003-02-07  John Levon  <levon@movementarian.org>
5174
5175         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5176
5177 2003-02-05  Angus Leeming  <leeming@lyx.org>
5178
5179         * lyxserver.C (read_ready): revert my patch of 11 September last year
5180         as it sends PC cpu through the roof. Presumably this means that
5181         the lyxserver will no longer run on an Alpha...
5182
5183 2003-01-30  Angus Leeming  <leeming@lyx.org>
5184
5185         * factory.C (createInset): create an InsetCommandParam of type "index"
5186         and use it to 'do the right thing'.
5187
5188         * text2.C (getStringToIndex): ensure that cursor position is always
5189         reset to the reset_cursor position.
5190
5191 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5192
5193         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5194         disabled.
5195
5196 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5197
5198         * bufferview.C:
5199         * lyxcb.C:
5200         * lyxfunc.C: Output messages with identical spelling, punctuation,
5201         and spaces
5202
5203 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5204
5205         * MenuBackend.C (expandFormats): List only viewable export formats
5206         in "View" menu
5207
5208         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5209         message
5210
5211         * lyxfunc.C (getStatus): Make sure that formats other than
5212         "fax" can also be disabled
5213
5214 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5215
5216         * text3.C (dispatch): put the lfuns that insert insets in 3
5217         groups, and call doInsertInset with appropriate arguments.
5218         (doInsertInset): new function, that creates an inset and inserts
5219         it according to some boolean parameters.
5220
5221 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * buffer.C (readFile): remember to pass on 'par' when calling
5224         readFile recursively.
5225
5226 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5227
5228         * MenuBackend.C (expandFormats): add "..." to import formats.
5229
5230 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5231
5232         * paragraph.C (asString): Remove XForms RTL hacks.
5233
5234 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5235         * buffer.C: fix typo
5236
5237 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * Makefile.am (LIBS): delete var
5240         (lyx_LDADD): add @LIBS@ here instead.
5241
5242 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5243
5244         * Clarify the meaning of "wheel mouse jump"
5245
5246 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5247
5248         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5249         tabular in a float
5250
5251 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5252
5253         * importer.C (Loaders): do not preallocate 3 elements in the
5254         vector, since one ends up with 6 elements otherwise
5255
5256 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5257
5258         * DepTable.C (write): write the file name as last element of the
5259         .dep file (because it may contain spaces)
5260         (read): read info in the right order
5261
5262 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5263
5264         * paragraph_pimpl.C (simpleTeXBlanks):
5265         (simpleTeXSpecialChars):
5266         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5267
5268         * tabular.C (latex): add some missing case statements. Reindent.
5269
5270         * MenuBackend.C (expandToc): remove unused variable.
5271
5272 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5273
5274         * LColor.C:
5275         * LaTeX.C:
5276         * LyXAction.C:
5277         * MenuBackend.C:
5278         * buffer.C:
5279         * exporter.C:
5280         * lyxfunc.C:
5281         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5282         and the like.
5283
5284 2003-01-05  John Levon  <levon@movementarian.org>
5285
5286         * BufferView.h:
5287         * BufferView.C: add getEncoding()
5288
5289         * kbsequence.h:
5290         * kbsequence.C: do not store last keypress
5291
5292         * lyxfunc.h:
5293         * lyxfunc.C: store last keypress here instead. Pass encoding
5294           to getISOEncoded()
5295
5296 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5297
5298         * lyx_main.C (init): remove annoying error message when following
5299         symbolic links (bug #780)
5300
5301 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5302
5303         * text.C (insertChar):
5304         * lyxrc.C (getDescription): remove extra spaces
5305
5306 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5307
5308         * lyxrc.C (getDescription): remove extra spaces
5309
5310 2002-12-20  John Levon  <levon@movementarian.org>
5311
5312         * text3.C: hack fix for page up/down across tall rows
5313
5314 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5315
5316         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5317         not been invoked
5318
5319 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5320
5321         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5322         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5323         thesaurus is not compiled in
5324
5325 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5326
5327         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5328
5329 2002-12-16  Angus Leeming  <leeming@lyx.org>
5330
5331         * lyxrc.[Ch]:
5332         * lyx_main.C (init): remove override_x_deadkeys stuff.
5333
5334 2002-12-12  John Levon  <levon@movementarian.org>
5335
5336         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5337           insert. Only remove shift modifier under strict
5338           circumstances.
5339
5340 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * MenuBackend.C (expandToc): fix crash.
5343
5344 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5345
5346         * MenuBackend.C (expandToc): gettext on float names.
5347
5348 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5349
5350         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5351         implement bool empty() [bug 490]
5352
5353 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5356
5357 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * several files: ws changes
5360
5361 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * text2.C (setCounter): clean up a bit, use boost.format.
5364         (updateCounters): initialize par upon declaration.
5365
5366         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5367         if the layout exists. We do not just store the layout any more.
5368         (SwitchLayoutsBetweenClasses): use boost.format
5369
5370 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5371
5372         * converter.C (convert): if from and to files are the same, use a
5373         temporary files as intermediary
5374
5375 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5376
5377         * commandtags.h:
5378         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5379
5380 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5381
5382         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5383
5384 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * tabular.C (asciiPrintCell): use string(size, char) instead of
5387         explicit loop.
5388
5389         * sgml.C (openTag): fix order of arguments to string constructor
5390         (closeTag): ditto
5391
5392         * lyxfunc.C (dispatch): use boost.format
5393
5394         * lots of files: change "c" -> 'c'
5395
5396 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5397
5398         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5399
5400 2002-11-25  Angus Leeming  <leeming@lyx.org>
5401
5402         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5403
5404         * lyx_main.C (init): compile fix.
5405
5406 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * lyx_cb.C (start): boost.formatify
5409         do not include <iostream>
5410
5411         * lengthcommon.C: ws only
5412
5413         * boost-inst.C,BoostFormat.h: add more explict instantations
5414
5415 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * lots of files: handle USE_BOOST_FORMAT
5418
5419 2002-11-21  John Levon  <levon@movementarian.org>
5420
5421         * pspell.C: fix compile
5422
5423 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5424
5425         * lyxfunc.C (dispatch): use boost::format
5426         (open): ditto
5427         (doImport): ditto
5428
5429         * lyxfont.C (stateText): use boost::format
5430
5431         * lyx_main.C (LyX): use boost::format
5432         (init): ditto
5433         (queryUserLyXDir): ditto
5434         (readRcFile): ditto
5435         (parse_dbg): ditto
5436         (typedef boost::function): use the recommened syntax.
5437
5438         * importer.C (Import): use boost::format
5439
5440         * debug.C (showLevel): use boost::format
5441
5442         * converter.C (view): use boost::format
5443         (convert): ditto
5444         (move): ditto
5445         (scanLog): ditto
5446
5447         * bufferview_funcs.C (currentState): use boost::format
5448
5449         * bufferlist.C (emergencyWrite): use boost::format
5450
5451         * buffer.C (readLyXformat2): use boost::format
5452         (parseSingleLyXformat2Token): ditto
5453
5454         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5455
5456         * LaTeX.C (run): use boost::format
5457
5458         * Chktex.C (scanLogFile): use boost::format
5459
5460         * BufferView_pimpl.C (savePosition): use boost::format
5461         (restorePosition): ditto
5462         (MenuInsertLyXFile): ditto
5463
5464         * BoostFormat.h: help file for explicit instation.
5465
5466 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5467
5468         * tabular.C (latex): Support for block alignment in fixed width
5469         columns.
5470
5471 2002-11-17  John Levon  <levon@movementarian.org>
5472
5473         * BufferView_pimpl.C:
5474         * lyx_cb.C:
5475         * lyxfunc.C: split filedialog into open/save
5476
5477 2002-11-08  Juergen Vigna  <jug@sad.it>
5478
5479         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5480         by my last patch (hopefully).
5481
5482 2002-11-08  John Levon  <levon@movementarian.org>
5483
5484         * iterators.h:
5485         * iterators.C:
5486         * buffer.h:
5487         * buffer.C:
5488         * paragraph.h:
5489         * paragraph.C:
5490         * toc.h:
5491         * toc.C: ParConstIterator, and use it (from Lars)
5492
5493 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5494
5495         * lyxtextclass.[Ch]: revise and add doxygen comments
5496
5497 2002-11-07  John Levon  <levon@movementarian.org>
5498
5499         * text.C: fix progress value for spellchecker
5500
5501         * toc.C: fix navigate menu for insetwrap inside minipage
5502
5503         * paragraph_funcs.C: added FIXME for suspect code
5504
5505 2002-11-07  John Levon  <levon@movementarian.org>
5506
5507         * BufferView_pimpl.C: fix redrawing of insets
5508           on buffer switch
5509
5510 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5511
5512         * text2.C (updateCounters): fix bug 668
5513
5514 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5515
5516         * text3.C (dispatch): Do not make the buffer dirty when moving the
5517         cursor.
5518
5519 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * vc-backend.C: STRCONV
5522         (scanMaster): ditto
5523
5524         * text2.C (setCounter): STRCONV
5525
5526         * paragraph.C (asString): STRCONV
5527
5528         * lyxlength.C (asString): STRCONV
5529         (asLatexString): ditto
5530
5531         * lyxgluelength.C (asString): STRCONV
5532         (asLatexString): ditto
5533
5534         * lyxfunc.C (dispatch): STRCONV
5535         (open): ditto
5536
5537         * lyxfont.C (stateText): STRCONV
5538
5539         * importer.C (Import): STRCONV
5540
5541         * counters.C (labelItem): STRCONV
5542         (numberLabel): ditto
5543         (numberLabel): remove unused ostringstream o
5544
5545         * chset.C: STRCONV
5546         (loadFile): ditto
5547
5548         * bufferview_funcs.C (currentState): STRCONV
5549
5550         * buffer.C (readFile): STRCONV
5551         (asciiParagraph): ditto
5552         (makeLaTeXFile): ditto
5553
5554         * Spacing.C (writeEnvirBegin): STRCONV
5555
5556         * LaTeXFeatures.C (getLanguages): STRCONV
5557         (getPackages): ditto
5558         (getMacros): ditto
5559         (getBabelOptions): ditto
5560         (getTClassPreamble): ditto
5561         (getLyXSGMLEntities): ditto
5562         (getIncludedFiles): ditto
5563
5564         * LaTeX.C: STRCONV
5565         (run): ditto
5566         (scanAuxFile): ditto
5567         (deplog): ditto
5568
5569         * LString.h: add the STRCONV macros
5570
5571         * BufferView_pimpl.C (savePosition): STRCONV
5572         (restorePosition): ditto
5573         (MenuInsertLyXFile): ditto
5574
5575         * vc-backend.C (scanMaster): change from submatch[...] to
5576         submatch.str(...)
5577
5578         * funcrequest.C: include config.h
5579
5580         * factory.C: include config.h
5581
5582         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5583
5584         * box.C: include config.h
5585
5586         * LaTeX.C (scanAuxFile): change from submatch[...] to
5587         submatch.str(...)
5588         (deplog): ditto
5589
5590 2002-10-25  Angus Leeming  <leeming@lyx.org>
5591
5592         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5593
5594         * ispell.[Ch] (setError): new method.
5595         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5596         Use setError() insetead of goto END.
5597
5598         * lyx_cb.C (AutoSave): move out child process into new class
5599         AutoSaveBuffer.
5600
5601 2002-10-30  John Levon  <levon@movementarian.org>
5602
5603         * text3.C: make start appendix undoable
5604
5605 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5606
5607         * lyxlength.C (inPixels): Fix returned value.
5608
5609         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5610         environment.
5611
5612 2002-10-24  Angus Leeming  <leeming@lyx.org>
5613
5614         * lyxgluelength.h: no need to forward declare BufferParams
5615         or BufferView, so don't.
5616
5617 2002-10-21  John Levon  <levon@movementarian.org>
5618
5619         * BufferView.C: menuUndo ->undo, redo
5620
5621         * BufferView.h: document, remove dead, make some methods private
5622
5623         * paragraph_funcs.h:
5624         * paragraph_funcs.C:
5625         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5626
5627         * buffer.h:
5628         * buffer.C:
5629         * sgml.h:
5630         * sgml.C: move sgml open/close tag into sgml.C
5631
5632         * bufferview_funcs.h: unused prototype
5633
5634         * lyxfunc.h:
5635         * lyxfunc.C: remove unused
5636
5637         * lyxtext.h:
5638         * text.C: remove unused
5639
5640 2002-10-21  John Levon  <levon@movementarian.org>
5641
5642         * BufferView.h:
5643         * BufferView.C:
5644         * BufferView_pimpl.h:
5645         * BufferView_pimpl.C: fix mouse wheel handling based on
5646           patch from Darren Freeman
5647
5648 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5649
5650         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5651
5652 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5653
5654         * lyxlength.C (inPixels): Fix hanfling of negative length.
5655         Fix LyXLength::MU case.
5656
5657 2002-10-16  John Levon  <levon@movementarian.org>
5658
5659         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5660
5661 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5662
5663         * converter.C (view): add support for $$i (file name) and $$p
5664         (file path) for the viewer command. If $$i is not specified, then
5665         it is appended to the command (for compatibility with old syntax)
5666
5667 2002-10-14  Juergen Vigna  <jug@sad.it>
5668
5669         * undo_funcs.C (textHandleUndo): alter the order in which the
5670         new undopar is added to the LyXText, as we have to set first
5671         the right prev/next and then add it as otherwise the rebuild of
5672         LyXText is not correct. Also reset the cursor to the right paragraph,
5673         with this IMO we could remove the hack in "redoParagraphs()".
5674
5675 2002-10-09  Angus Leeming  <leeming@lyx.org>
5676
5677         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5678         to turn off an optimisation if a new inset is to be inserted.
5679
5680 2002-10-11 André Pönitz <poenitz@gmx.net>
5681
5682         * lyxtext.h: make some functions public to allow access
5683         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5684
5685 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5686
5687         * text3.C (dispatch): when changing layout, avoid an infinite loop
5688         [bug #652]
5689
5690 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5691
5692         * lyxrc.C (read): treat a viewer or converter command of "none" as
5693         if it were empty.
5694
5695         * MenuBackend.C (expandFormats): for an update, also allow the
5696         formats that are not viewable
5697
5698         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5699         script if it is newer than the lyxrc.defaults in user directory
5700
5701 2002-10-07 André Pönitz <poenitz@gmx.net>
5702
5703         * text.C: Vitaly Lipatov's small i18n fix
5704
5705 2002-09-25  Angus Leeming  <leeming@lyx.org>
5706
5707         * ispell.h: doxygen fix.
5708
5709 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5710
5711         * buffer.h (readFile): Add a new argument to the method, to allow
5712         reading of old-format templates.
5713
5714 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5715
5716         * toc.C (getTocList): Get TOC from InsetWrap.
5717
5718 2002-09-16  John Levon  <levon@movementarian.org>
5719
5720         * lyxfunc.C: check tabular for cut/copy too
5721
5722 2002-09-12  John Levon  <levon@movementarian.org>
5723
5724         * LyXAction.C: tidy
5725
5726         * factory.h:
5727         * factory.C: add header
5728
5729         * paragraph_funcs.h:
5730         * paragraph_funcs.C: cleanup
5731
5732 2002-09-11  John Levon  <levon@movementarian.org>
5733
5734         * PrinterParams.h: odd/even default to true
5735
5736 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5737
5738         * PrinterParams.h: update printer parameters for new xforms dialog
5739
5740 2002-09-11  Angus Leeming  <leeming@lyx.org>
5741
5742         * lyxserver.C (read_ready): re-write to make it more transparent
5743         and to make it work in coherent fashion under Tru64 Unix.
5744
5745 2002-09-11  André Pönitz <poenitz@gmx.net>
5746
5747         * commandtags.h:
5748         * LyXAction.C:
5749         * text3.C: implement LFUN_WORDSEL
5750
5751 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5754         make floatlist_ a boost::shared_ptr<FloatList>
5755
5756         * lyxtextclass.C: include FloatList.h
5757         (LyXTextClass): initialize floatlist_
5758         (TextClassTags): add TC_NOFLOAT
5759         (Read): match "nofloat" to TC_NOFLOAT and use it.
5760         (readFloat): modify call to floatlist_
5761         (floats): ditto
5762         (floats): ditto
5763
5764         * FloatList.[Ch] (FloatList): remove commented out float
5765         initialization.
5766         (erase): new function
5767
5768 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5769
5770         * MenuBackend.C (expandToc): fix crash when there is no document
5771         open
5772
5773 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5774
5775         * many files: Add insetwrap.
5776
5777 2002-09-09  John Levon  <levon@movementarian.org>
5778
5779         * text2.C: remove confusing and awkward depth wraparound
5780
5781 2002-09-09  John Levon  <levon@movementarian.org>
5782
5783         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5784
5785         * buffer.h:
5786         * buffer.C: remove getIncludeonlyList()
5787
5788         * paragraph.C:
5789         * lyxfunc.C: remove headers
5790
5791 2002-09-09  Juergen Vigna  <jug@sad.it>
5792
5793         * text.C (getColumnNearX): fix form Michael this is most
5794         probably a cut&paste bug.
5795
5796 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5799
5800         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5801         references, ws changes.
5802
5803         * text2.C (init): update counters after init
5804         (insertParagraph): no need to set counter on idividual paragraphs.
5805         (setCounter): access the counters object in the textclass object
5806         on in the buffer object.
5807         (updateCounters): ditto
5808
5809         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5810         shared_ptr<Counters> to avoid loading counters.h in all
5811         compilation units.
5812         (LyXTextClass): initialize ctrs_
5813         (TextClassTags): add TC_COUNTER, and ...
5814         (Read): use it here.
5815         (CounterTags): new tags
5816         (readCounter): new function
5817         (counters): new funtion
5818         (defaultLayoutName): return a const reference
5819
5820         * counters.C (Counters): remove contructor
5821         (newCounter): remove a couple of unneeded statements.
5822         (newCounter): simplify a bit.
5823         (numberLabel): some small formatting changes.
5824
5825         * buffer.[Ch]: remove all traces of counters, move the Counters
5826         object to the LyXTextClass.
5827
5828 2002-09-06  Alain Castera  <castera@in2p3.fr>
5829
5830         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5831         package to set the horizontal alignment on fixed width columns.
5832
5833         * lyx_sty.C:
5834         * lyx_sty.h: added tabularnewline macro def.
5835
5836         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5837
5838 2002-09-06  John Levon  <levon@movementarian.org>
5839
5840         * LyXAction.C: tooltips for sub/superscript
5841
5842         * MenuBackend.C: a bit more verbose
5843
5844         * lyxfunc.C: tiny clean
5845
5846         * undo_funcs.C: document undo_frozen
5847
5848 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5849
5850         * counters.C (Counters): add missing algorithm counter.
5851
5852         * text2.C (setCounter): lookup the counter with layouts latexname
5853         instead of by section number.
5854         (setCounter): use a hackish way to lookup the correct enum
5855         counter.
5856         a float name->type change
5857         reset enum couners with counter name directly instead of depth value.
5858
5859         * counters.C (Counters): remove the push_backs, change to use the
5860         float type not the float name.
5861         (labelItem): remove unused string, float name->type change
5862
5863         * counters.h: don't include vector, loose the enums and sects vectors
5864
5865 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5868         (Read): add float->TC_FLOAT to textclassTags
5869         (Read): and handle it in the switch
5870         (readFloat): new function
5871
5872         * FloatList.C (FloatList): comment out the hardcoded float
5873         definitions.
5874
5875         * lyxlayout.h: ws change.
5876
5877 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5878
5879         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5880
5881 2002-09-03  Angus Leeming  <leeming@lyx.org>
5882
5883         * BufferView_pimpl.h: qualified name is not allowed in member
5884         declaration: WorkArea & Pimpl::workarea() const;
5885
5886         * factory.C: added using std::endl directive.
5887
5888         * text3.C: added using std::find and std::vector directives.
5889
5890 2002-08-29  André Pönitz <poenitz@gmx.net>
5891
5892         * lyxtext.h:
5893         * text2.C: remove unused member number_of_rows
5894
5895         * Makefile.am:
5896         * BufferView2.C: remove file, move contents to...
5897         * BufferView.C: ... here
5898
5899         * BufferView_pimpl.C:
5900         * factory.C: move more inset creation to factory
5901
5902         * vspace.C: avoid direct usage of LyXText, ws changes
5903
5904         * BufferView.[Ch]:
5905                 don't provide direct access to WorkArea, use two simple
5906                 acessors haveSelction() and workHeight() instead
5907
5908
5909 2002-08-29  John Levon  <levon@movementarian.org>
5910
5911         * BufferView_pimpl.C (dispatch): do not continue when
5912           no buffer
5913
5914 2002-08-28  André Pönitz <poenitz@gmx.net>
5915
5916         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5917
5918         * BufferView.h:
5919         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5920
5921 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5922
5923         * buffer.C: increment LYX_FORMAT to 221
5924
5925         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5926         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5927
5928         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5929
5930         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5931
5932 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5933
5934         * factory.C (createInset): use LyXTextClass::floats
5935
5936         * MenuBackend.C (expandFloatListInsert):
5937         (expandFloatInsert):
5938         (expandToc):
5939
5940         * text2.C (setCounter):
5941
5942         * LaTeXFeatures.C (useFloat):
5943         (getFloatDefinitions):
5944
5945         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5946
5947         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5948         floatlist_, with accessor floats().
5949
5950         * FloatList.h: remove global FloatList
5951
5952 2002-08-26  André Pönitz <poenitz@gmx.net>
5953
5954         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5955
5956         * BufferView.h:
5957         * BufferView2.C:
5958         * BufferView_pimpl.C:
5959         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5960
5961 2002-08-25  John Levon  <levon@movementarian.org>
5962
5963         * LyXAction.C: fix margin note description
5964
5965 2002-08-24  John Levon  <levon@movementarian.org>
5966
5967         * buffer.C:
5968         * bufferlist.C:
5969         * bufferview_funcs.C:
5970         * lyxfont.C:
5971         * undo_funcs.C: cleanups
5972
5973         * lyxfunc.C: disable CUT/COPY when no selection
5974
5975 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5976
5977         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5978         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5979
5980         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5981         Add backward compatibility to "mono", "gray" and "no".
5982
5983 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5984
5985         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5986         (and file_format >= 200).
5987
5988 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5989
5990         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5991
5992 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5993
5994         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5995
5996 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5997
5998         * BufferView_pimpl.C:
5999         * LyXAction.C:
6000         * buffer.C:
6001         * commandtags.h:
6002         * lyxfunc.C:
6003         * paragraph.[Ch]:
6004         * text2.C:
6005         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6006         inset and code to make it  work with the paragraph code. The inset
6007         can be anywhere in the paragraph, but will only do the expected
6008         thing in LaTeX if the layout file contains the parameter line
6009                         OptionalArgs    1
6010         (or more generally, a nonzero value) for that layout.
6011
6012 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * paragraph.h: remove the declaration of undefined counters class
6015         function.
6016
6017 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6018
6019         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6020         Dr. Richard Hawkins.
6021
6022 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6023
6024         * paragraph_funcs.h: remove some unneeded includes
6025
6026         * text.C (backspace): pasteParagraph now in global scipe
6027
6028         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6029         (pasteSelection): ditto
6030
6031         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6032         * paragraph_funcs.C (pasteParagraph): ... here
6033
6034 2002-08-20  André Pönitz <poenitz@gmx.net>
6035
6036         * commandtags.h: new LFUNs for swapping/copying table row/colums
6037
6038         * LyXAction.C:
6039         * lyxfunc.C: support for new lfuns
6040
6041 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * tabular.C:
6044         * buffer.[Ch]: remove NO_COMPABILITY stuff
6045
6046 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * boost.C (throw_exception): new file, with helper function for
6049         boost compiled without exceptions.
6050
6051         * paragraph.h:
6052         * lyxlength.C:
6053         * buffer.C:
6054         * ParameterStruct.h:
6055         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6056
6057         * bufferlist.C (emergencyWriteAll): use boost bind
6058
6059         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6060
6061         * text.C: include paragraph_funcs.h
6062         (breakParagraph): breakParagraph is now in global scope
6063
6064         * paragraph_funcs.[Ch]: new files
6065
6066         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6067         global scope
6068
6069         * buffer.C: include paragraph_funcs.h
6070         (insertStringAsLines): breakParagraph is now in global scope
6071
6072         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6073         paragraph_funcs.C
6074
6075         * CutAndPaste.C: include paragraph_funcs.h
6076         (cutSelection): breakParagraphConservative is now in global scope
6077         (pasteSelection): ditto
6078
6079         * buffer.h: declare oprator== and operator!= for
6080         Buffer::inset_iterator
6081
6082         * bufferlist.C (emergencyWrite): don't use fmt(...)
6083
6084         * text3.C: add using std::endl
6085
6086         * BufferView.C (moveCursorUpdate): remove default arg
6087
6088 2002-08-20  André Pönitz <poenitz@gmx.net>
6089
6090         * buffer.[Ch]: move inline functions to .C
6091
6092         * BufferView2.C:
6093         * BufferView_pimpl.C:
6094         * text.C:
6095         * buffer.[Ch]: use improved inset_iterator
6096
6097         * buffer.C:
6098         * paragraph.[Ch]: write one paragraph at a time
6099
6100 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6101
6102         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6103         style if style is not specified.
6104
6105 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6106
6107         * text2.C (setCounter): when searching for right label for a
6108         caption, make sure to recurse to parent insets (so that a caption
6109         in a minipage in a figure float works) (bug #568)
6110
6111 2002-08-20  André Pönitz <poenitz@gmx.net>
6112
6113         * text3.C: new file for LyXText::dispatch() and helpers
6114
6115         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6116
6117         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6118
6119 2002-08-19  André Pönitz <poenitz@gmx.net>
6120
6121         * lyxtext.h:
6122         * text.C: new LyXText::dispatch()
6123
6124         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6125
6126 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6127
6128         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6129
6130         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6131         Hebrew text.
6132
6133 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6134
6135         * Makefile.am: use $(variables) instead of @substitutions@
6136
6137 2002-08-15  André Pönitz <poenitz@gmx.net>
6138
6139         * lyxfunc.C:
6140         * BufferView_pimpl.C: streamlining mathed <-> outer world
6141         interaction
6142
6143         * commandtags.h:
6144         * LyXAction.C: remove unused LFUN_MATH
6145
6146 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6149
6150 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * paragraph.C (Paragraph): reformat a bit
6153         (cutIntoMinibuffer): use builtin InsetList function instad of
6154         doing it manually.
6155         (getInset): ditto
6156
6157         * buffer.C: include boost/bind.hpp, add using std::for_each
6158         (writeFileAscii): use ParagraphList iterators
6159         (validate): use for_each for validate traversal of paragraphs
6160         (getBibkeyList): use ParagraphList iterators
6161         (resizeInsets): use for_each to resizeInsetsLyXText for all
6162         paragraphs.
6163         (getParFromID): use ParagraphList iterators
6164
6165         * BufferView2.C (lockInset): use paragraph list and iterators
6166
6167 2002-08-14  John Levon  <levon@movementarian.org>
6168
6169         * lyxserver.C: remove spurious xforms include
6170
6171 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6172
6173         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6174
6175 2002-08-13  André Pönitz <poenitz@gmx.net>
6176
6177         * LyXAction.[Ch]:
6178         * lyxfunc.C: further cleaning
6179
6180 2002-08-13  André Pönitz <poenitz@gmx.net>
6181
6182         * funcrequest.h: new constructor
6183
6184         * funcrequest.C: move stuff here from .h
6185
6186         * Makefile.am:
6187         * BufferView_pimpl.C:
6188         * LyXAction.C:
6189         * toc.C:
6190         * lyxfunc.C: subsequent changes
6191
6192         * lyxfunc.h: new view() member function
6193
6194         * lyxfunc.C: subsequent changes
6195
6196 2002-08-13  Angus Leeming  <leeming@lyx.org>
6197
6198         * BufferView2.C:
6199         * BufferView_pimpl.C:
6200         * buffer.C:
6201         * converter.C:
6202         * importer.C:
6203         * lyxfunc.C:
6204         * lyxvc.C:
6205         * toc.C:
6206         * vc-backend.C:
6207         changes due to the changed LyXView interface that now returns references
6208         to member variables not pointers.
6209
6210 2002-08-13  Angus Leeming  <leeming@lyx.org>
6211
6212         * WordLangTuple (word, lang_code): return references to strings,
6213         not strings.
6214
6215         * BufferView.h:
6216         * SpellBase.h:
6217         * lyxtext.h: forward-declare WordLangTuple.
6218
6219         * BufferView2.C:
6220         * ispell.C:
6221         * pspell.C:
6222         * text.C: #include "WordLangTuple.h".
6223
6224         * lyxtext.h:
6225         * text.C: (selectNextWordToSpellcheck): constify return type.
6226
6227 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6228
6229         * buffer.C:
6230         * buffer.h:
6231         * lyxtext.h:
6232         * paragraph.C:
6233         * paragraph_pimpl.h:
6234         * text.C:
6235         * text2.C:
6236         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6237         suggested by Angus.
6238         Made updateCounter always count from start of buffer, and removed
6239         second argument (par).
6240         Reverted floats number display to '#'. Perhaps I'll try again when the
6241         code base is sanitized a bit.
6242
6243 2002-08-12  Angus Leeming  <leeming@lyx.org>
6244
6245         * buffer.[Ch] (getLabelList): constify.
6246
6247 2002-08-07  André Pönitz <poenitz@gmx.net>
6248
6249         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6250
6251         * funcrequest.h: extension to keep mouse (x,y) position
6252
6253 2002-08-12  Juergen Vigna  <jug@sad.it>
6254
6255         * BufferView2.C (insertErrors): forbid undo when inserting error
6256         insets.
6257
6258         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6259
6260 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * ParagraphList.[Ch]: new files
6263
6264         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6265
6266         * BufferView2.C (lockInset): ParagraphList changes
6267         * toc.C: ditto
6268         * text2.C: ditto
6269         * bufferlist.C: ditto
6270         * buffer.h: ditto
6271         * buffer.C: ditto
6272
6273 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6276         unused class variable counter_,
6277
6278         * paragraph.[Ch] (getFirstCounter): delete unused function
6279
6280         * counters.C: include LAssert.h
6281         (reset): add a new function with no arg, change other version to
6282         not have def. arg and to not allow empty arg.
6283
6284         * text2.C (setCounter): remove empty arg from call to Counters::reset
6285
6286 2002-08-11  John Levon  <levon@movementarian.org>
6287
6288         * Makefile.am: add WordLangTuple.h
6289
6290 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6293         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6294
6295         * insets/insettext.C: InsetList changes
6296
6297         * graphics/GraphicsSupport.C (operator()): InsetList changes
6298
6299         * toc.C (getTocList): InsetList changes
6300
6301         * paragraph_pimpl.[Ch]: InsetList changes
6302
6303         * paragraph.[Ch]: InsetList changes
6304
6305         * buffer.C (inset_iterator): InsetList changes
6306         (setParagraph): ditto
6307         * buffer.h (inset_iterator): ditto
6308         * iterators.C (operator++): ditto
6309         * iterators.h: ditto
6310
6311         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6312
6313         * InsetList.[Ch]: new files, most InsetList handling moved out of
6314         paragraph.C.
6315
6316         * BufferView2.C (removeAutoInsets): InsetList changes
6317         (lockInset): ditto
6318         (ChangeInsets): ditto
6319
6320 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * paragraph_pimpl.h (empty): new function
6323
6324         * paragraph.[Ch] (empty): new function
6325
6326         * other files: use the new Paragraph::empty function
6327
6328 2002-08-09  John Levon  <levon@movementarian.org>
6329
6330         * lyxtext.h: remove unused refresh_height
6331
6332 2002-08-09  John Levon  <levon@movementarian.org>
6333
6334         * Makefile.am:
6335         * sgml.h:
6336         * sgml.C:
6337         * buffer.C:
6338         * paragraph.h:
6339         * paragraph.C: move sgml char escaping out of paragraph
6340
6341         * paragraph.h:
6342         * paragraph.C: remove id setter
6343
6344         * buffer.C:
6345         * paragraph.C:
6346         * paragraph_pimpl.C: remove dead tex_code_break_column
6347
6348         * bufferview_funcs.C: small cleanup
6349
6350         * lyxfunc.C: remove dead proto
6351
6352         * lyxtext.h: make some stuff private. Remove some dead stuff.
6353
6354         * lyxgluelength.C: make as[LyX]String() readable
6355
6356 2002-08-08  John Levon  <levon@movementarian.org>
6357
6358         * LyXAction.h:
6359         * LyXAction.C:
6360         * MenuBackend.C:
6361         * ToolbarDefaults.C:
6362         * lyxfunc.C:
6363         * lyxrc.C:
6364         * toc.C: lyxaction cleanup
6365
6366 2002-08-08  John Levon  <levon@movementarian.org>
6367
6368         * BufferView2.C: small cleanup
6369
6370         * lyxfind.h:
6371         * lyxfind.C: move unnecessary header into the .C
6372
6373 2002-08-08  John Levon  <levon@movementarian.org>
6374
6375         * funcrequest.h: just tedious nonsense
6376
6377         * lyx_main.h:
6378         * lyx_main.C: cleanups
6379
6380         * buffer.C:
6381         * vspace.C: remove dead header lyx_main.h
6382
6383 2002-08-07  Angus Leeming  <leeming@lyx.org>
6384
6385         * Paragraph.[Ch]:
6386         * paragraph_pimpl.h:
6387         Forward declare class Counters in paragraph.h by moving the ctrs member
6388         variable into Paragraph::Pimpl.
6389         (counters): new method, returning a reference to pimpl_->ctrs.
6390
6391         * text2.C: ensuing changes.
6392
6393 2002-08-07  John Levon  <levon@movementarian.org>
6394
6395         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6396
6397         * BufferView_pimpl.C: announce X selection on double/triple
6398           click
6399
6400         * lyx_main.C: use correct bool in batch dispatch
6401
6402         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6403
6404 2002-08-07  André Pönitz <poenitz@gmx.net>
6405
6406         * funcrequest.h: new class to wrap a kb_action and its argument
6407
6408         * BufferView.[Ch]:
6409         * BufferView_pimpl[Ch]:
6410         * LaTeX.C:
6411         * LyXAction.[Ch]:
6412         * lyxfunc.[Ch]:
6413         * lyxrc.C: subsequent changes
6414
6415
6416 2002-08-07  John Levon  <levon@movementarian.org>
6417
6418         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6419           document options change.
6420
6421 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6422
6423         * counters.[Ch]
6424         * text2.C
6425         * paragraph.[Ch]
6426         * makefile.am: move counters functionality over from
6427         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6428
6429 2002-08-06  John Levon  <levon@movementarian.org>
6430
6431         * WordLangTuple.h: new file for word + language code tuple
6432
6433         * SpellBase.h:
6434         * pspell.h:
6435         * pspell.C:
6436         * ispell.h:
6437         * ispell.C:
6438         * lyxtext.h:
6439         * text.C:
6440         * text2.C:
6441         * BufferView.h:
6442         * BufferView2.C: use WordLangTuple
6443
6444         * layout.h:
6445         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6446
6447 2002-08-06  John Levon  <levon@movementarian.org>
6448
6449         * lyx_main.C: fix cmdline batch handling
6450
6451 2002-08-06  André Pönitz <poenitz@gmx.net>
6452
6453         * lyxrc.C: set default for show_banner to true
6454
6455 2002-08-06  John Levon  <levon@movementarian.org>
6456
6457         * pspell.C: fix a crash, and allow new aspell to work
6458
6459 2002-08-06  John Levon  <levon@movementarian.org>
6460
6461         * lyxfunc.C:
6462         * kbmap.C: small cleanup
6463
6464         * vspace.h:
6465         * vspace.C: add const
6466
6467 2002-08-05  John Levon  <levon@movementarian.org>
6468
6469         * LyXAction.C: back to tabular-insert
6470
6471 2002-08-04  John Levon  <levon@movementarian.org>
6472
6473         * BufferView.h:
6474         * BufferView.C: cosmetic change
6475
6476         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6477
6478         * bufferlist.C:
6479         * buffer.h:
6480         * buffer.C:
6481         * lyxcb.h:
6482         * lyxcb.C:
6483         * lyxserver.C:
6484         * lyxvc.C:
6485         * vc-backend.C:
6486         * BufferView2.C: purge all "Lyx" not "LyX" strings
6487
6488         * lyxcursor.h:
6489         * lyxcursor.C: attempt to add some documentation
6490
6491         * lyxfunc.C:
6492         * commandtags.h:
6493         * LyXAction.C:
6494         * ToolbarDefaults.C:
6495         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6496           merge with LFUN_TABULAR_INSERT
6497
6498         * Makefile.am:
6499         * SpellBase.h:
6500         * ispell.h:
6501         * ispell.C:
6502         * pspell.h:
6503         * pspell.C: split up i/pspell implementations into separate
6504           files, many cleanups
6505
6506         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6507
6508         * text2.C: some cleanup
6509
6510         * lyxfunc.C: don't check for isp_command == "none" any more, it
6511           didn't make any sense
6512
6513 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6514
6515         * counters.[Ch]
6516         * text2.C
6517         * paragraph.[Ch]
6518         * makefile.am: move counters functionality over
6519         from text2.C/paragraph.[Ch] to counters.[Ch], and
6520         make proper C++.
6521 2002-08-02  John Levon  <levon@movementarian.org>
6522
6523         * buffer.C: s/lyxconvert/lyx2lyx/
6524
6525 2002-08-02  Angus Leeming  <leeming@lyx.org>
6526
6527         * lyxlex.C: revert John's change as it breaks reading of the user
6528         preamble.
6529
6530 2002-08-02  Angus Leeming  <leeming@lyx.org>
6531
6532         * importer.C (Import):
6533         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6534         changes due to LyXView::view() now returning a boost::shared_ptr.
6535
6536 2002-08-02  John Levon  <levon@movementarian.org>
6537
6538         * lyxlex.C: small cleanup
6539
6540 2002-08-02  John Levon  <levon@movementarian.org>
6541
6542         * text2.C (status): small cleanup, no logic change
6543
6544 2002-08-01  John Levon  <levon@movementarian.org>
6545
6546         * buffer.h:
6547         * buffer.C (writeFile): don't output alerts, caller
6548           handles this
6549
6550         * bufferlist.C:
6551         * lyx_cb.C: from above
6552
6553         * lyxfunc.C: allow to open non-existent files
6554
6555 2002-07-31  John Levon  <levon@movementarian.org>
6556
6557         * lyxserver.C: don't let incidental errors get
6558           in the way (errno)
6559
6560 2002-07-30  John Levon  <levon@movementarian.org>
6561
6562         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6563
6564 2002-07-30  John Levon  <levon@movementarian.org>
6565
6566         * lyxserver.h:
6567         * lyxserver.C: remove I/O callback too
6568
6569 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6570
6571         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6572         log.
6573
6574 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * many files: strip,frontStrip -> trim,ltrim,rtrim
6577
6578 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * PrinterParams.h: remove extern containsOnly, and include
6581         support/lstrings.h instead.
6582
6583         * LaTeX.C (scanAuxFile): modify because of strip changes
6584         (deplog): ditto
6585         * buffer.C (makeLaTeXFile): ditto
6586         * bufferparams.C (writeFile): ditt
6587         * lyxfont.C (stateText): ditto
6588         * lyxserver.C (read_ready): ditto
6589         * vc-backend.C (scanMaster): ditto
6590
6591         * BufferView_pimpl.h: ws changes
6592
6593         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6594
6595 2002-07-26  André Pönitz <poenitz@gmx.net>
6596
6597         * kb_sequence.C: remove unnedred usings
6598
6599 2002-07-26  Juergen Vigna  <jug@sad.it>
6600
6601         * lyxfind.C (LyXReplace): we have to check better if the returned
6602         text is not of theLockingInset()->getLockingInset().
6603
6604 2002-07-25  Juergen Vigna  <jug@sad.it>
6605
6606         * lyxfind.C (LyXReplace): don't replace if we don't get the
6607         right LyXText.
6608
6609         * undo_funcs.C (createUndo): remove debugging code.
6610
6611 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6612
6613         * buffer.C (parseSingleLyXformat2Token): Use default placement
6614         when reading old floats.
6615
6616         * FloatList.C (FloatList): Change the default placement of figure
6617         and tables to "tbp".
6618
6619 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6620
6621         * MenuBackend.C: using std::max
6622
6623 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6624
6625         * MenuBackend.C (expandToc):
6626         (expandToc2): code moved from xforms menu frontend. It is now
6627         generic and TOCs are transparent to menu frontends.
6628
6629 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6630
6631         * toc.C (getTocList): protect against buf=0
6632
6633         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6634         Menu as first parameter. Now, this calls itself recursively to
6635         expand a whole tree (this will be useful for TOC handling)
6636         (expandFloatInsert): remove 'wide' version of floats
6637
6638         * MenuBackend.h (submenuname): returns the name of the submenu.
6639         (submenu): returns the submenu itself, provided it has been
6640         created by MenuBackend::expand
6641
6642 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6643
6644         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6645         insets which have noFontChange == true. (bug #172)
6646
6647 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6648
6649         * BufferView_pimpl.C: add connection objects and use them...
6650         (Pimpl): here.
6651
6652 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6653
6654         * MenuBackend.C (expandLastfiles):
6655         (expandDocuments):
6656         (expandFormats):
6657         (expandFloatListInsert):
6658         (expandFloatInsert):
6659         (expand): split expand in parts
6660
6661 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6662
6663         * lyx_gui.C: use lyx_gui::exit()
6664
6665 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6666
6667         * LyXAction.C: show the failing pseudo action
6668
6669 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6670
6671         * buffer.C (readFile): Run the lyxconvert script in order to read
6672         old files.
6673
6674 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6675
6676         * LyXAction.C:
6677         * commandtags.h:
6678         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6679
6680 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6681
6682         * LyXAction.C:
6683         * commandtags.h:
6684         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6685
6686 2002-07-22  Herbert Voss  <voss@lyx.org>
6687
6688         * lengthcommon.C:
6689         * lyxlength.[Ch]: add support for the vertical lengths
6690
6691 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6692
6693         * toc.[Ch]: std:: fixes
6694
6695 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6696
6697         * lyxrc.C: do not include lyx_main.h
6698
6699         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6700         for layouts
6701
6702         * lyxrc.C:
6703         * encoding.C:
6704         * bufferlist.C:
6705         * BufferView2.C: include "lyxlex.h"
6706
6707         * tabular.h:
6708         * bufferparams.h: do not #include "lyxlex.h"
6709
6710         * lyxtextclasslist.C (Add): remove method
6711         (classlist): renamed to classlist_
6712
6713         * paragraph_pimpl.C:
6714         * paragraph.C:
6715         * text2.C:
6716         * CutAndPaste.C:
6717         * bufferview_funcs.C:
6718         * bufferlist.C:
6719         * text.C:
6720         * LaTeXFeatures.C:
6721         * buffer.C:
6722         * toc.C (getTocList): use BufferParams::getLyXTextClass
6723
6724         * toc.C (getTocList): use InsetFloat::addToToc
6725
6726         * toc.[Ch]: new files, containing helper functions to handle table
6727         of contents
6728
6729         * lyxfunc.C (dispatch): no need to remove spaces around command
6730         given as a string
6731         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6732         first command of the sequence; it is not very clever, but I do not
6733         have a better idea, actually
6734
6735         * LyXAction.C (LookupFunc): make sure to remove space at the
6736         beginning and end of the command
6737
6738 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6739
6740         * MenuBackend.C (getMenubar): new method: return the menubar of
6741         this menu set
6742         (read): treat differently reading of menu and menubar (in
6743         particular, the menubar has no name now)
6744         (Menu::menubar): remove
6745
6746         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6747         saving is finished
6748
6749 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6750
6751         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6752         a bibitem inset in a RTL paragraph.
6753
6754 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6755
6756         * paragraph_pimpl.C: constify
6757
6758         * BufferView_pimpl.C:
6759         * LaTeX.C:
6760         * lyxfunc.C: fix dispatch in a nicer way
6761
6762 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6763
6764         * lyxfunc.C (dispatch):
6765         * BufferView_pimpl.C:
6766         * BufferView_pimpl.h:
6767         * BufferView.C:
6768         * BufferView.h: rename Dispatch() to dispatch()
6769
6770         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6771
6772         * lyxlayout.C (Read): honor DependsOn tag
6773
6774         * lyxlayout.[Ch] (depends_on): new method
6775
6776         * version.C.in: update lyx_docversion
6777
6778         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6779
6780         * paragraph.C (validate): remove from here...
6781         * paragraph_pimpl.C (validate): ... and move here
6782         (isTextAt): make it const
6783
6784         * buffer.C (getLists): ws cleanup
6785
6786 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6787
6788         * language.C (read): Use iso8859-1 encoding in latex_lang
6789         (this prevents LyX from crashing when using iso10646-1 encoding).
6790
6791 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6792
6793         * text2.C (toggleInset): if cursor is inside an inset, close the
6794         inset and leave cursor _after_ it
6795
6796 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6797
6798         * lyxfunc.C: move minibuffer completion handling out of here
6799
6800 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6801
6802         * BufferView_pimpl.C:
6803         * LaTeX.C: fix dispatch calls
6804
6805 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6806
6807         * text.C (drawChars): Fix Arabic text rendering.
6808
6809 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6810
6811         * LyXAction.C:
6812         * commandtags.h:
6813         * lyxfunc.C: remove message-push/pop
6814
6815         * lyxserver.C:
6816         * lyxfunc.h:
6817         * lyxfunc.C: rationalise some code by removing verboseDispatch
6818           in favour of a bool argument to dispatch()
6819
6820 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6821
6822         * lyx_main.C (init): make sure to read symlinks as absolute paths
6823
6824 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6825
6826         * lyxfunc.h:
6827         * lyxfunc.C: no need for commandshortcut to be a member
6828
6829 2002-07-15  André Pönitz <poenitz@gmx.net>
6830
6831         * converter.C: add support for $$s (scripts from lib/scripts dir)
6832         * lyx_main.C: white space
6833
6834 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * bufferlist.C:
6837         * lyxrc.h:
6838         * lyxrc.C: remove second exit confirmation
6839
6840 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6841
6842         * BufferView.h:
6843         * BufferView.C:
6844         * BufferView2.C:
6845         * BufferView_pimpl.h:
6846         * BufferView_pimpl.C:
6847         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6848
6849 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6850
6851         * MenuBackend.C (expand): add numeric shortcuts to document menu
6852
6853         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6854
6855 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6856
6857         * lyxfont.C (setLyXFamily):
6858         (setLyXSeries):
6859         (setLyXShape):
6860         (setLyXSize):
6861         (setLyXMisc):
6862         (lyxRead):
6863         * debug.C (value):
6864         * buffer.C (asciiParagraph): use ascii_lowercase
6865
6866 2002-07-15  Mike Fabian  <mfabian@suse.de>
6867
6868         * lyxlex_pimpl.C (search_kw):
6869         * lyxlex.C (getLongString):
6870         * converter.h (operator<):
6871         * converter.C (operator<):
6872         * buffer.C (parseSingleLyXformat2Token):
6873         (asciiParagraph):
6874         * ToolbarDefaults.C (read):
6875         * MenuBackend.C (checkShortcuts):
6876         (read):
6877         * LColor.C (getFromGUIName):
6878         (getFromLyXName): use the compare_ascii_no_case instead of
6879         compare_no_case, because in turkish, 'i' is not the lowercase
6880         version of 'I', and thus turkish locale breaks parsing of tags.
6881
6882 2002-07-16  Angus Leeming  <leeming@lyx.org>
6883
6884         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6885         now takes a Buffer const & argument.
6886
6887 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6888
6889         * BufferView.C (resize): check there's a buffer to resize
6890
6891 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6892
6893         * lyxfunc.C: remove dead code
6894
6895         * lyxserver.h:
6896         * lyxserver.C: use lyx_guii::set_read_callback
6897
6898 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6899
6900         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6901         an inset in a RTL paragraph.
6902
6903 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6904
6905         * lyxfunc.C: repaint after a font size update
6906
6907 2002-07-15  André Pönitz <poenitz@gmx.net>
6908
6909         * lyxlength.C: inBP should be able to return negative values
6910
6911 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6912
6913         * lyxfunc.C: use lyx_gui::update_fonts()
6914
6915 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6916
6917         * lyxfunc.C: use lyx_gui::update_color()
6918
6919 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6920
6921         * bufferlist.C:
6922         * lyxfunc.h:
6923         * lyxfunc.C:
6924         * lyxrc.h:
6925         * lyxrc.C: remove file->new asks for name option, and let
6926           buffer-new take an argument
6927
6928 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6929
6930         * BufferView_pimpl.C: remove unneeded extra repaint()
6931
6932 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6933
6934         * LyXAction.C: allow command-sequence with NoBuffer
6935
6936         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6937
6938 2002-07-10  Angus Leeming  <leeming@lyx.org>
6939
6940         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6941
6942 2002-07-09  Angus Leeming  <leeming@lyx.org>
6943
6944         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6945
6946 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6947
6948         * lengthcommon.h: whitespace
6949
6950         * lyxfunc.C: update scrollbar after goto paragraph
6951
6952         * lyxtext.h: factor out page break drawing, and fix it so
6953           page break/added space paints as selected nicely
6954
6955 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6956
6957         * BufferView_pimpl.C: add FIXMEs, clean up a little
6958
6959 2002-07-09  André Pönitz <poenitz@gmx.net>
6960
6961         * lyxfont.[Ch]: support for wasy symbols
6962
6963 2002-07-08  André Pönitz <poenitz@gmx.net>
6964
6965         * BufferView_pimpl.C: apply John's patch for #93.
6966
6967 2002-07-05  Angus Leeming  <leeming@lyx.org>
6968
6969         * BufferView_pimpl.C (buffer): generate previews if desired.
6970
6971         * LColor.h: add "preview" to the color enum.
6972
6973         * LColor.C (LColor): add a corresponding entry to the items array.
6974
6975         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6976         with this buffer.
6977
6978 2002-07-05  Angus Leeming  <leeming@lyx.org>
6979
6980         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6981         The body of the code is now in the method that is passed an ostream &
6982         rather than a file name.
6983         Pass an additional only_preamble parameter, useful for the forthcoming
6984         preview stuff.
6985
6986 2002-07-03  André Pönitz <poenitz@gmx.net>
6987
6988         * lyxfunc.C: simplify getStatus() a bit for math stuff
6989
6990 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6991
6992         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6993
6994 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6995
6996         * text.C (changeRegionCase): do not change case of all the
6997         document when region ends at paragraph end (bug #461)
6998
6999 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7000
7001         * paragraph.C (startTeXParParams):
7002         (endTeXParParams): add \protect when necessary
7003
7004 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7005
7006         * BufferView_pimpl.C (workAreaExpose): remove warning
7007
7008 2002-06-27  Angus Leeming  <leeming@lyx.org>
7009
7010         * Makefile.am: add lyxlayout_ptr_fwd.h.
7011
7012 2002-06-26  André Pönitz <poenitz@gmx.net>
7013
7014         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7015
7016 2002-06-25  Angus Leeming  <leeming@lyx.org>
7017
7018         * lyxfunc.C (dispatch): Comment out the call to
7019         grfx::GCache::changeDisplay. The method no longer exists now that the
7020         pixmap generation part of the graphics loader has been moved into
7021         InsetGraphics.
7022
7023 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7024
7025         * text2.C: layout as layout
7026
7027         * text.C: layout as layout
7028
7029         * tabular.C (OldFormatRead): layout as layout
7030
7031         * paragraph_pimpl.C (TeXDeeper): layout as layout
7032         (realizeFont): layout as layout
7033
7034         * paragraph.C (writeFile): layout as layout
7035         (validate): layout as layout
7036         (getFont): layout as layout
7037         (getLabelFont): layout as layout
7038         (getLayoutFont): layout as layout
7039         (breakParagraph): layout as layout
7040         (stripLeadingSpaces): layout as layout
7041         (getEndLabel): layout as layout
7042         (getMaxDepthAfter): layout as layout
7043         (applyLayout): layout as layout
7044         (TeXOnePar): layout as layout
7045         (simpleTeXOnePar): layout as layout
7046         (TeXEnvironment): layout as layout
7047         (layout): layout as layout
7048         (layout): layout as layout
7049
7050         * lyxtextclass.C (compare_name): new functor to work with
7051         shared_ptr, layout as layout
7052         (Read): layout as layout
7053         (hasLayout): layout as layout
7054         (operator): layout as layout
7055         (delete_layout): layout as layout
7056         (defaultLayout): layout as layout
7057
7058         * lyxlayout_ptr_fwd.h: new file
7059
7060         * lyxlayout.C (Read): layout as layout
7061
7062         * lyx_cb.C (MenuInsertLabel): layout as layout
7063
7064         * bufferlist.C (newFile): layout as layout
7065
7066         * buffer.C (readLyXformat2): layout as layout
7067         (parseSingleLyXformat2Token): layout as layout
7068         (insertStringAsLines): layout as layout
7069         (asciiParagraph): layout as layout
7070         (latexParagraphs): layout as layout
7071         (makeLinuxDocFile): layout as layout
7072         (simpleLinuxDocOnePar): layout as layout
7073         (makeDocBookFile): layout as layout
7074         (simpleDocBookOnePar): layout as layout
7075         (getLists): layout as layout
7076
7077         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7078
7079         * CutAndPaste.C (cutSelection): layout as layout
7080         (pasteSelection): layout as layout
7081         (SwitchLayoutsBetweenClasses): layout as layout
7082
7083         * BufferView_pimpl.C (Dispatch): layout as layout
7084         (smartQuote): layout as layout
7085
7086         * BufferView2.C (unlockInset): layout as layout
7087
7088 2002-06-24  André Pönitz <poenitz@gmx.net>
7089
7090         * lyxfunc.C: fix #487
7091
7092 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7093
7094         * lyxrc.h:
7095         * lyxrc.C:
7096         * lyxfunc.C: remove display_shortcuts, show_banner
7097
7098 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7099
7100         * Buffer_pimpl.C: oops, update on resize
7101
7102 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * buffer.C:
7105         * converter.C:
7106         * exporter.C:
7107         * lyxfunc.C:
7108         * BufferView.h:
7109         * BufferView.C: use repaint()
7110
7111         * BufferView_pimpl.h:
7112         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7113           as it's a clearer description. Remove superfluous
7114           redraws.
7115
7116 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7117
7118         * text.C: fix bug 488. Not ideal, but getting
7119           getWord() to work properly for the insets that
7120           matter is more difficult ...
7121
7122 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7123
7124         * BufferView_pimpl.C:
7125         * LyXAction.C:
7126         * commandtags.h:
7127         * lyxfunc.C: remove the six million index lyxfuncs to just
7128           one, and DTRT (bug 458)
7129
7130 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7131
7132         * BufferView.h:
7133         * BufferView.C:
7134         * BufferView_pimpl.h:
7135         * BufferView_pimpl.C: clean up resize() stuff,
7136           and unnecessary updateScreen()s
7137
7138 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7139
7140         * BufferView.h:
7141         * BufferView.C:
7142         * BufferView_pimpl.h:
7143         * BufferView_pimpl.C:
7144         * lyxfind.h:
7145         * lyxfind.C:
7146         * minibuffer.C: remove focus management of workarea,
7147           not needed. Use screen's greyOut()
7148
7149 2002-06-17  Herbert Voss  <voss@lyx.org>
7150
7151         * converter.C: (convert) do not post a message, when converting
7152         fails, let the calling function decide what to do in this case
7153
7154 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7155
7156         * lyxfunc.C: tidy up a little
7157
7158 2002-06-16    <alstrup@diku.dk>
7159
7160         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7161         Got rid of FORMS_H_LOCATION include. Now we are
7162         GUII.
7163
7164 2002-06-15  LyX Development team  <lyx@rilke>
7165
7166         * buffer.[Ch] (sgmlOpenTag):
7167         (sgmlCloseTag): Added support for avoiding pernicious mixed
7168         content. Return number of lines written.
7169
7170         (makeLinuxDocFile):
7171         (makeDocBookFile): Fixed calls to sgml*Tag.
7172         Simple white space clean.
7173
7174         (simpleDocBookOnePar): Simple white space clean.
7175
7176         * tabular.[Ch] (docBook): Renamed to docbook and got another
7177         argument to related with the pernicious mixed content.
7178
7179         (docbookRow): Fixed calls for docbook inset method.
7180
7181 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7182
7183         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7184         so it's X11 independent.
7185
7186         * kb*.[Ch]: ditto.
7187
7188         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7189
7190 2002-06-15  Lyx Development team  <lyx@electronia>
7191
7192         * intl.h: Renamed getTrans to getTransManager.
7193
7194 2002-06-14  Angus Leeming  <leeming@lyx.org>
7195
7196         * Makefile.am: nuke forgotten stl_string_fwd.h.
7197
7198 2002-06-12  Angus Leeming  <leeming@lyx.org>
7199
7200         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7201
7202 2002-06-13  Angus Leeming  <leeming@lyx.org>
7203
7204         * LaTeX.C:
7205         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7206
7207 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7208
7209         * kbmap.C (getiso): add support for cyrillic and greek
7210
7211 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * BufferView.h:
7214         * BufferView.C:
7215         * BufferView_pimpl.h:
7216         * BufferView_pimpl.C: move bogus scrolling logic
7217           to xforms
7218
7219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7220
7221         * lyxfunc.C:
7222         * BufferView_pimpl.C: view->resize() change
7223
7224 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7225
7226         * BufferView_pimpl.C: topCursorVisible
7227           prototype change
7228
7229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * Makefile.am:
7232         * lyx_gui.h:
7233         * lyx_gui.C: move to frontends/
7234
7235         * main.C:
7236         * lyx_main.h:
7237         * lyx_main.C: changes from above
7238
7239 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7240
7241         * intl.C:
7242         * intl.h:
7243         * kbmap.C:
7244         * kbsequence.C:
7245         * lyx_cb.C:
7246         * lyx_main.C: minor tidy
7247
7248 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7249
7250         * BufferView_pimpl.h:
7251         * BufferView_pimpl.C:
7252         * BufferView.h:
7253         * BufferView.C: make painter() const,
7254           remove dead code
7255
7256         * BufferView2.C: use screen() accessor
7257
7258         * lyx_main.h:
7259         * lyx_main.C: some minor cleanup
7260
7261 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7262
7263         * BufferView_pimpl.h:
7264         * BufferView_pimpl.C: remove enter/leaveView,
7265           use workHeight()
7266
7267 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7268
7269         * BufferView.h:
7270         * BufferView.C:
7271         * BufferView2.C:
7272         * BufferView_pimpl.h:
7273         * BufferView_pimpl.C: only construct screen once,
7274           rename
7275
7276         * lyxrc.C: remove pointless comment
7277
7278 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7279
7280         * BufferView.h:
7281         * BufferView.C: remove active() and belowMouse()
7282
7283         * BufferView_pimpl.h:
7284         * BufferView_pimpl.C: use workarea() not workarea_,
7285           and make it use a scoped_ptr instead
7286
7287 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7288
7289         * lyx_gui.C: add debug message on BadWindow
7290
7291 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7292
7293         * sp_spell.C: fdopen is not part of the C++ standard.
7294
7295         * paragraph.C (InsetIterator): use >= instead of ==
7296
7297 2002-06-07  Angus Leeming  <leeming@lyx.org>
7298
7299         Fixes needed to compile with Compaq cxx 6.5.
7300         * BufferView_pimpl.C:
7301         * DepTable.C:
7302         * buffer.C:
7303         * converter.C:
7304         * encoding.C:
7305         * lyx_gui.C:
7306         * lyx_main.C:
7307         * lyxtextclasslist.C:
7308         * minibuffer.C:
7309         * sp_spell.C:
7310         * tabular_funcs.C:
7311         * vc-backend.C:
7312         all c-library variables have been moved into namespace std. Wrap
7313         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7314
7315         * lyxlength.C:
7316         * tabular-old.C:
7317         * tabular.C:
7318         Add a using std::abs declaration.
7319
7320         * kbmap.h (modifier_pair):
7321         * paragraph.h (InsetTable, InsetList):
7322         * lyxfont.h (FontBits):
7323         type definition made public.
7324
7325         * bufferlist.C (emergencyWriteAll): the compiler complains that
7326         there is more than one possible lyx::class_fun template to choose from.
7327         I re-named the void specialisation as lyx::void_class_fun.
7328
7329         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7330
7331         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7332         the compiler is is unable to find tostr in write_attribute.
7333
7334 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7335
7336         * buffer.C (sgmlError): hide #warning
7337
7338 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7339
7340         * xtl/*: get rid of xtl, which is not in use anyway
7341
7342         * LyXAction.C (init):
7343         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7344         were unimplemented xtl experimentation
7345
7346 2002-06-04  André Pönitz <poenitz@gmx.net>
7347
7348         * lyxfunc.C: disable array operation on simple formulae
7349
7350 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7351
7352         * converter.C: constify a bit
7353
7354 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7355
7356         * lyx_gui.C: check xforms version correctly
7357
7358 2002-04-30  Herbert Voss  <voss@lyx.org>
7359
7360         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7361         "keep" option
7362
7363 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7364
7365         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7366           attempt to register it with a VCS)
7367
7368 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7369
7370         * lyx_main.C (init): honor variables LYX_DIR_13x and
7371         LYX_USERDIR_13x
7372
7373 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7374
7375         * buffer.h:
7376         * buffer.C:
7377         * lyx_main.C: fix a crash on bad command line,
7378           and give a useful exit status on error
7379
7380         * lyxfunc.C (doImport): allow -i lyx to work
7381
7382 2002-03-30  André Pönitz <poenitz@gmx.net>
7383
7384         * lyxfunc.C: mathed font changes
7385
7386 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7387
7388         * LaTeX.C:
7389         * importer.h:
7390         * importer.C:
7391         * lyx_sty.h:
7392         * lyx_sty.C:
7393         * lyxlex.C:
7394         * lyxrow.h:
7395         * lyxtext.h:
7396         * paragraph.h:
7397         * paragraph.C:
7398         * texrow.h:
7399         * texrow.C:
7400         * text.C:
7401         * trans_mgr.h: srcdocs, and some minor cleanups
7402
7403 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7404
7405         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7406         call getFont all the time)
7407
7408 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7409
7410         * switch from SigC signals to boost::signals
7411
7412 2002-05-29  André Pönitz <poenitz@gmx.net>
7413
7414         * paragraph_pimpl.C (getChar): don't call size() too often...
7415
7416 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7417
7418         * paragraph_pimpl.C (insertChar): do not try to update tables when
7419         appending (pos == size())
7420
7421         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7422         in order to reduce drastically the number of comparisons needed to
7423         parse a large document
7424
7425 2002-05-29  André Pönitz <poenitz@gmx.net>
7426
7427         * text.C:
7428         * text2.C:
7429         * lyxtextclass.C:
7430         * sp_pspell.h:
7431         * textclasslist.[Ch]:
7432         * sp_ispell.h: whitespace change
7433
7434 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7437         lyxaction directly now.
7438
7439 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7440
7441         * trans.C:
7442         * lyxfont.C:
7443         * lyxvc.C: remove unused headers
7444
7445 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7446
7447         * Makefile.am:
7448         * buffer.h:
7449         * undostack.h:
7450         * undostack.C:
7451         * undo_funcs.h:
7452         * undo_funcs.C: some cleanups. Use shared_ptr
7453           and a template for the undo stacks.
7454
7455 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7456
7457         * BufferView_pimpl.h:
7458         * BufferView_pimpl.C:
7459         * kbmap.h:
7460         * kbmap.C:
7461         * kbsequence.h:
7462         * kbsequence.C:
7463         * lyxfunc.h:
7464         * lyxfunc.C:
7465         * text2.C: use key_state/mouse_state
7466
7467 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7468
7469         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7470         and LSubstring
7471
7472         * chset.C: change include order
7473         (loadFile): use boost regex and get rid of LRegex and LSubstring
7474
7475         * Makefile.am (BOOST_LIBS): new variable
7476         (lyx_LDADD): use it
7477
7478         * LaTeX.C: change include order.
7479         (scanAuxFile): use boost regex and get rid of LRegex and
7480         LSubstring
7481         (deplog): ditto
7482
7483 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7484
7485         * ColorHandler.h:
7486         * ColorHandler.C:
7487         * FontInfo.h:
7488         * FontInfo.C: moved to frontends/xforms/
7489
7490         * FontLoader.h:
7491         * FontLoader.C: moved into frontends for GUIIzation
7492
7493         * Makefile.am:
7494         * lyx_gui.C:
7495         * lyxfont.C:
7496         * lyxfunc.C: changes from above
7497
7498 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * LColor.C: remove spurious X include
7501
7502         * BufferView_pimpl.C:
7503         * Makefile.am:
7504         * font.h:
7505         * font.C:
7506         * text.C:
7507         * text2.C: move font metrics to frontends/
7508
7509 2002-05-24  Juergen Vigna  <jug@sad.it>
7510
7511         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7512         setting the undo_cursor.
7513
7514         * ParagraphParameters.h: include local includes first.
7515
7516 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7517
7518         * BufferView_pimpl.C:
7519         * BufferView_pimpl.h:
7520         * Makefile.am:
7521         * WorkArea.h:
7522         * WorkArea.C:
7523         * screen.C: move WorkArea into frontends/
7524
7525         * lyxscreen.h:
7526         * screen.C:
7527         * text.C:
7528         * BufferView.C:
7529         * BufferView2.C: move LyXScreen into frontends/
7530
7531         * lyxlookup.h:
7532         * lyxlookup.C:
7533         * lyx_gui.C: move lyxlookup into frontends/xforms/
7534
7535 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * BufferView2.C:
7538         * BufferView_pimpl.C:
7539         * FontLoader.C:
7540         * LyXView.h:
7541         * LyXView.C:
7542         * Makefile.am:
7543         * WorkArea.C:
7544         * XFormsView.h:
7545         * XFormsView.C:
7546         * buffer.C:
7547         * bufferlist.C:
7548         * bufferview_funcs.C:
7549         * converter.C:
7550         * importer.C:
7551         * lyx_cb.C:
7552         * lyx_gui.C:
7553         * lyx_main.C:
7554         * lyx_find.C:
7555         * lyxfunc.C:
7556         * lyxvc.C:
7557         * minibuffer.C:
7558         * text.C:
7559         * text2.C:
7560         * trans.C:
7561         * vc-backend.C: move LyX/XFormsView into frontends/
7562
7563 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * Makefile.am:
7566         * PainterBase.C:
7567         * PainterBase.h:
7568         * Painter.C:
7569         * Painter.h:
7570         * WorkArea.C:
7571         * WorkArea.h:
7572         * screen.C:
7573         * tabular.C:
7574         * text.C:
7575         * text2.C: move Painter to frontends/
7576
7577 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7578
7579         * buffer.C: comment out some some code that depend upon lyx_format
7580         < 220
7581
7582         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7583         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7584
7585         * buffer.h (NO_COMPABILITY): turn off compability
7586
7587         * ColorHandler.C: include scoped_array.hpp
7588
7589         * font.C: Use more specific smart_ptr header.
7590         * Painter.C: ditto
7591         * gettext.C: ditto
7592         * ShareContainer.h: ditto
7593         * lyx_main.h: ditto
7594         * kbmap.h: ditto
7595         * FontInfo.h: ditto
7596         * BufferView_pimpl.h: ditto
7597         * ColorHandler.h: ditto
7598
7599         * kbmap.C (defkey): change call to shared_ptr::reset
7600
7601 2002-05-21  Juergen Vigna  <jug@sad.it>
7602
7603         * buffer.C (insertErtContents): fix to insert ert asis if it is
7604         non empty. Skip it completely if it contains only whitespaces.
7605
7606 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7607
7608         * BufferView_pimpl.C:
7609         * BufferView2.C: clear selection on paste (bug 393)
7610
7611 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7612
7613         * DepTable.C: include ctime
7614
7615 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7616
7617         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7618
7619 2002-05-14  Juergen Vigna  <jug@sad.it>
7620
7621         * text.C (breakParagraph): fixed function to honor the keepempty
7622         layout in the right maner and also to permit the right breaking
7623         algorithm on empty or non empyt keepempty paragraphs.
7624
7625         * paragraph.C (breakParagraph): we have to check also if the par
7626         is really empty (!size()) for isempty otherwise we do the wrong
7627         paragraph break.
7628
7629 2002-05-10  Juergen Vigna  <jug@sad.it>
7630
7631         * buffer.[Ch] : The following are only changes to the ert
7632         compatibility read reading old LaTeX layout and font stuff and
7633         convert it to ERTInsets.
7634
7635         * buffer.h: added isErtInset().
7636
7637         * buffer.C (struct ErtComp): add a fromlayout bool to check
7638         if we're inside a LaTeX layout.
7639         (isErtInset): new helper function.
7640         (insertErtContents): look for other ert insets before this one
7641         and insert the contents there, so that we don't have subsequent
7642         ERT insets with nothing between them. This way we create only one
7643         inset with multiple paragraphs. Also check if we don't insert only
7644         spaces ' ' as they are ignored anyway afterwards in the .tex file
7645         so if we have only spaces we will ignore this latex part in the
7646         new file.
7647         (parseSingleLyXformat2Token \\layout): better compatibility when
7648         reading layout-latex stuff.
7649         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7650         language tag.
7651         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7652         stuff after reading the inset only get the information back from
7653         the stack.
7654
7655 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7656
7657         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7658
7659         * LaTeXFeatures.C (getBabelOptions): New method.
7660
7661 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7662
7663         * BufferView_pimpl.C (Dispatch): work around missing argument for
7664         'layout'
7665
7666 2002-05-08  Juergen Vigna  <jug@sad.it>
7667
7668         * text.C (leftMargin): handle paragraph leftindent.
7669
7670         * paragraph.C (writeFile): write the new \\leftindent tag.
7671         (validate): handle leftindent code.
7672         (TeXEnvironment): handle paragraphleftindent code again.
7673
7674         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7675
7676         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7677         for paragrap_extra indent code and new token \\leftindent.
7678         (latexParagraphs): handle the leftindent as environment.
7679
7680         * ParameterStruct.h: added leftindent support.
7681
7682         * ParagraphParameters.C (leftIndent): added support functions for
7683         the paragraph left indent.
7684
7685         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7686         more appropriate.
7687
7688 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7689
7690         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7691         inside insetERT.
7692
7693         * text.C (computeBidiTables): No bidi in insetERT.
7694
7695         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7696         in RTL documents.
7697
7698 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7699
7700         * version.C.in: pre 5
7701
7702 2002-05-02  José Matos  <jamatos@fep.up.pt>
7703         * buffer.C (makeDocBookFile): white space changes, add newline to
7704         command styles.
7705         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7706
7707         * tabular.C (docBook): fix typo.
7708
7709 2002-05-03  Juergen Vigna  <jug@sad.it>
7710
7711         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7712         change in LyXText as we can not be sure it was not freed.
7713         (drawOneRow): remove unused code.
7714
7715         * text.C (drawInset): redo the calculation of the need_break_row as
7716         it could have a row which was already freed.
7717         (draw): look at the return value of drawInset and return false if
7718         it also returned false.
7719         (paintRowText): look at the return value of draw and return false if
7720         it also returned false.
7721
7722         * lyxtext.h: added bool return type to drawInset() and draw() so that
7723         if we have a change in the row so that the rowbreak has to be redone
7724         we abort drawing as it will be called again.
7725
7726 2002-05-02  Juergen Vigna  <jug@sad.it>
7727
7728         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7729         a change in the maintext also if we're inside an inset.
7730         (Dispatch): set the cursor again after a break line and after the
7731         screen has been updated as it could be we're in a different row.
7732
7733         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7734         to set the cursor behind the pargraph with > size().
7735         (setCursor): check also for the same paragraph when checking where
7736         to put the cursor if we have a NFR inset.
7737
7738         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7739         parts of layout read further up as it still was in the wrong
7740         position.
7741
7742 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7743
7744         * screen.C (drawFromTo): change sine fullRebreak always return
7745         true.
7746
7747         * buffer.C (parseSingleLyXformat2Token): reindent some
7748
7749         * BufferView_pimpl.C (update): change since fullRebreak always
7750         return true.
7751         (Dispatch): git rid of the last hardcoded "Standard"s.
7752
7753 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7754
7755         * text2.[Ch] (fullRebreak): make it return void now that we always
7756         returned true.
7757
7758 2002-04-30  Juergen Vigna  <jug@sad.it>
7759
7760         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7761         ert compatibility check for "latex" layout.
7762
7763 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7764
7765         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7766         minipages: use col% instead of p%, and also use the current font.
7767         (makeLaTeXFile): Fix use babel condition.
7768         (parseSingleLyXformat2Token): Correct font when reading old floats.
7769
7770 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7771
7772         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7773         inserting list of floats.
7774
7775 2002-04-25  Herbert Voss  <voss@lyx.org>
7776
7777         * MenuBackend.C (expand): don't add the graphics extensions to the
7778         export menu
7779
7780 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7781
7782         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7783         non-existing layout, do not complain if it was the default layout
7784         of the original class (bug #342)
7785
7786 2002-04-24  Juergen Vigna  <jug@sad.it>
7787
7788         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7789         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7790
7791 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7792
7793         * buffer.C (getBibkeyList): If using \bibliography, return the
7794         option field with the reference itself. Enables us to provide natbib
7795         support when using \bibliography.
7796
7797 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7798
7799         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7800
7801         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7802         natbib is provided by the LaTeX class.
7803
7804 2002-04-23  Juergen Vigna  <jug@sad.it>
7805
7806         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7807         Wakeup functions.
7808
7809         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7810
7811 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7812
7813         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7814
7815         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7816         ensuremath around textordmasculine, textordfeminine and
7817         textdegree.
7818
7819 2002-04-19  Juergen Vigna  <jug@sad.it>
7820
7821         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7822         reinitializing the buffer otherwise row-dimensions may be wrong.
7823         (update): reset also the selection cursors if they do exits otherwise
7824         their x/y positions may be wrong.
7825
7826         * text2.C (cursorDown): don't enter the inset if we came from a row
7827         above and are one row over the inset.
7828
7829         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7830         really leaving an inset.
7831
7832 2002-04-18  Juergen Vigna  <jug@sad.it>
7833
7834         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7835         of the selected paragraph does not have the selected layout also if
7836         the last one had!
7837
7838         * text2.C (setLayout): fixed bug which did not change last selected
7839         paragraph.
7840
7841         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7842         changed the read and substituted \\end_float with \\end_inset!
7843
7844         * BufferView_pimpl.C (cursorPrevious):
7845         (cursorNext): fixed to make it work with rows heigher than the work
7846         area without moving the cursor only the draw of the row.
7847         (workAreaMotionNotify): fix jumping over high rows.
7848
7849 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7850
7851         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7852         Ressler.
7853
7854 2002-04-16  Juergen Vigna  <jug@sad.it>
7855
7856         * text2.C (setCursor): set also the irow().
7857         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7858         (cursorUp):
7859         (cursorDown): support for locking an inset if the x_fix value goes
7860         inside it. That way I can transverse insets too with cursor up/down.
7861
7862         * lyxrow.h: added irow helper function same as other (i) functions.
7863
7864         * BufferView_pimpl.C (cursorPrevious):
7865         (cursorNext): fixed for insets!
7866
7867 2002-04-15  Juergen Vigna  <jug@sad.it>
7868
7869         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7870         position otherwise it is wrong in some cases.
7871
7872         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7873         inside the inset before the call.
7874
7875 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7876
7877         * buffer.[Ch] (getBibkeyList): make it const.
7878
7879 2002-04-12  Juergen Vigna  <jug@sad.it>
7880
7881         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7882
7883         * text2.C (getCursorX): new helper function
7884         (setCursor): compute also ix_
7885         (setCursorFromCoordinates): set also ix.
7886
7887         * lyxcursor.h: added ix_ and helper functions.
7888
7889         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7890
7891         * buffer.C (insertStringAsLines): dont break paragraph if the this
7892         paragraph is inside an inset which does not permit it!
7893
7894         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7895         also with no chars on this paragraph.
7896         (paintRowText): only paint stuff if it's inside the workarea!
7897
7898         * paragraph.C (breakParagraph): honor keepempty flag and break the
7899         paragraph always below not above.
7900
7901         * BufferView2.C (unlockInset): update the paragraph layout on inset
7902         unlock as we changed paragraph in such a case.
7903
7904         * lyxfind.C (LyXFind): clear the former selection if not found!
7905
7906         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7907         again called in insertChar().
7908
7909         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7910         an inset which uses the whole row!
7911         (rightMargin): ditto.
7912         (insertChar): force a rebreak if we inserted an inset!
7913
7914 2002-03-28  Herbert Voss  <voss@lyx.org>
7915
7916         * lyxlength.[Ch]: add inBP() to get the right PS-point
7917         units (BigPoint). With inPixels we have rounding errors
7918
7919 2002-04-11  Juergen Vigna  <jug@sad.it>
7920
7921         * text2.C (setCursorFromCoordinates): set iy to the right value.
7922         (setCursor): add check if row->previous exists!
7923
7924         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7925         an old float_type as this was the case in the old code!
7926
7927         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7928
7929         * BufferView2.C (showLockedInsetCursor): use iy
7930         (fitLockedInsetCursor): ditto
7931
7932         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7933         locked insets as there we have the right value now.
7934
7935         * lyxcursor.C: added iy_ variable and iy functions to set to the
7936         baseline of cursor-y of the locked inset.
7937
7938         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7939         (setCursor): fixed for insets which need a full row.
7940
7941         * text.C (rowLastPrintable): don't ignore the last space when before
7942         an inset which needs a full row.
7943         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7944         as last character of a row when before a inset which needs a full row.
7945
7946 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7947
7948         * version.C.in: update date
7949
7950         * text2.C (fullRebreak): try to always return true and see what
7951         happens...
7952
7953 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * MenuBackend.C (expand): use Floating::listName
7956
7957         * FloatList.C (FloatList): add listName argument to the built-in
7958         floats
7959
7960         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7961         text associated with the float.
7962
7963 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7964
7965         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7966
7967 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7968
7969         * ShareContainer.h: add a couple of missing typenames.
7970
7971 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7972
7973         * lyxrc.C (getDescription): use _() correctly rather than N_().
7974
7975 2002-03-28  Herbert Voss  <voss@lyx.org>
7976
7977         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7978         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7979
7980 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7981
7982         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7983         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7984
7985 2002-03-29  Juergen Vigna  <jug@sad.it>
7986
7987         * lyxfunc.C (dispatch): add a missing fitCursor call.
7988
7989         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7990         it was scrolled by a cursor move, so return the bool status.
7991
7992         * BufferView.C (fitCursor): return the bool flag also to the outside
7993         world as this is needed.
7994
7995         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7996
7997         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7998         call the edit() as it is not needed (and wrong) IMO.
7999         (workAreaButtonPress): set the screen_first variable before evt.
8000         unlock the inset as this may change screen_first and then we have
8001         a wrong y position for the click!
8002
8003 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8004
8005         * MenuBackend.C (expand): another translation that I missed
8006
8007 2002-03-28  Juergen Vigna  <jug@sad.it>
8008
8009         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8010
8011         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8012
8013 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8014
8015         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8016
8017         * MenuBackend.C (expand): fix export/view/update when there is no
8018         document open.
8019
8020 2002-03-27  Herbert Voss  <voss@lyx.org>
8021
8022         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8023         and text%
8024
8025 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8026
8027         * bufferview_funcs.C (currentState): only show paragraph number
8028         for is DEVEL_VERSION is set.
8029
8030         * lyxfunc.C (dispatch): put warning in INFO channel
8031
8032         * MenuBackend.C (expand): translate the name of floats
8033
8034         * FloatList.C (FloatList): mark the float names for translation
8035
8036         * converter.C (convert): use LibScriptSearch
8037
8038 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8039
8040         * MenuBackend.C (defaults): fix default menu (we might as well get
8041         rid of it...)
8042
8043 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8044
8045         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8046         directory.
8047
8048 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8049
8050         * lyxvc.C: reorder includes.
8051
8052 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8055           properly
8056
8057 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * CutAndPaste.C: change layouts earlier on paste
8060           to avoid crashing when calling getFont()
8061
8062 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8063
8064         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8065         irritating #error.
8066
8067 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8068
8069         * WorkArea.C: remove 'Pending' debug message.
8070
8071         * most files: ws cleanup
8072
8073         * buffer.[Ch]: ws changes
8074
8075         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8076
8077 2002-03-21  Juergen Vigna  <jug@sad.it>
8078
8079         * tabular.C (SetMultiColumn): collapse also the contents of the
8080         cells and set the last border right. Added a Buffer const * param.
8081
8082 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8083
8084         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8085         linking or not.
8086
8087 2002-03-19  Juergen Vigna  <jug@sad.it>
8088
8089         * text2.C (clearSelection): reset also xsel_cache.
8090
8091         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8092         where it needs to be called (John tells us to do so too :)
8093         (selectionLost): reset sel_cache.
8094
8095         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8096
8097 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8098
8099         * text2.C (setCursorIntern): put debuging code in INSETS channel
8100
8101 2002-03-19  André Pönitz <poenitz@gmx.net>
8102
8103         * lyxfunc.C: tiny whitespace change
8104
8105 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8106
8107         * ToolbarDefaults.C (init):
8108         * LyXAction.C (init):
8109         * commandtags.h:
8110         * BufferView_pimpl.C (Dispatch):
8111         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8112
8113 2002-03-19  Allan Rae  <rae@lyx.org>
8114
8115         * exporter.C (Export): removeAutoInsets before doing anything else.
8116         While I've just introduced a dependency on BufferView this really is
8117         the best place to clean the buffer otherwise you need to cleanup in
8118         a dozen places before calling export or cleanup in a dozen functions
8119         that export calls.
8120
8121         * converter.C (runLaTeX):
8122         (scanLog): Better handling of removeAutoInsets and screen updates.
8123
8124         * lyxfunc.C (dispatch): small whitespace changes
8125
8126 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8127
8128         * WorkArea.C (C_WorkAreaEvent): return a value.
8129         (event_cb): return 1 if we handled the event, 0 otherwise.
8130
8131         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8132
8133 2002-03-18  Juergen Vigna  <jug@sad.it>
8134
8135         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8136         (GetAdditionalWidth): ditto.
8137         (RightLine): ditto.
8138         (LeftLine): ditto.
8139
8140         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8141         inset if we're there actually (probably not used right now but this
8142         is the direction to go for unifying code).
8143         (paste): disable code to clear the selection.
8144
8145         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8146         inside an InsetText and move the check further up as it is in the
8147         wrong place.
8148
8149         * text2.C (pasteSelection): set a selection over the pasted text.
8150
8151 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8152
8153         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8154         and libgraphics to build on Cygwin.
8155
8156 2002-03-15  Juergen Vigna  <jug@sad.it>
8157
8158         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8159         inserting an Inset into the paragraph. I know this is not the best
8160         fix but we already use current_view in CutAndPaste so we will remove
8161         all of it's using at the same time.
8162
8163         * buffer.C (sgmlError): deactivated function till it is rewritten in
8164         the right mode, now it can create problems.
8165
8166         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8167         before accessing it.
8168
8169 2002-03-14  Juergen Vigna  <jug@sad.it>
8170
8171         * undo_funcs.C (textHandleUndo): do the right thing when updating
8172         the inset after the undo/redo.
8173
8174         * text2.C (setCursor): just some testcode for #44 not ready yet.
8175
8176         * undo_funcs.C (textHandleUndo): set the next() and previous()
8177         pointers of the paragraph to 0 before deleting otherwise we have
8178         problems with the Paragraph::[destructor].
8179
8180         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8181         on a paragraph insertion.
8182
8183 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8184
8185         * buffer.C (asciiParagraph): use += operator for char append to
8186         string.
8187
8188         * paragraph.C (getFontSettings): compare >= not just >
8189         (highestFontInRange): ditto
8190         (setFont): ditto
8191
8192 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8193
8194         * paragraph.C: change several algorithm to be more appripriate for
8195         the problem domain. This is lookip in FontList and in the InsetList.
8196
8197 2002-03-13  André Pönitz <poenitz@gmx.net>
8198
8199         * commandtags.h:
8200         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8201
8202 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * commandtags.h:
8205         * LyXAction.C:
8206         * lyxfunc.C:
8207         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8208
8209 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8210
8211         * Painter.C (display): anon helper function, adjust code for this
8212         change.
8213         (pixmap): remove function.
8214
8215         * Painter.h: remove private display variable.
8216
8217         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8218
8219 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8220
8221         * WorkArea.[Ch]: remove figinset_canvas cruft.
8222
8223 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * lyxtextclass.C (operator): add one item cache optimization.
8226
8227         * bufferlist.h: doxy changes
8228
8229         * bufferlist.C: ws changes
8230
8231         * DepTable.[Ch] (ext_exist): place const in the right spot.
8232
8233         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8234         call resizeInsets.
8235         (workAreaExpose): call resizeInsets when the with BufferView changes.
8236         (Dispatch): adjust for protectedBlank removal
8237         (specialChar): call updateInset if the insert went ok.
8238
8239         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8240         specialChar instead.
8241
8242         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8243
8244         * BufferView.h: doxy change
8245
8246         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8247
8248         * lyxtextclass.C (operator[]): remove non-const version
8249         (defaultLayout): remove non-const version
8250
8251 2002-03-12  Juergen Vigna  <jug@sad.it>
8252
8253         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8254         did resize the LyXText too.
8255
8256         * buffer.C (readLyXformat2): set layout information on newly allocated
8257         paragraphs.
8258
8259         * tabular.C (OldFormatRead): set layout information on the paragraph.
8260
8261 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8262
8263         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8264
8265 2002-03-11  Juergen Vigna  <jug@sad.it>
8266
8267         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8268         plainly wrong.
8269         (resizeCurrentBuffer): force also the insets to resize themselfes.
8270         (moveCursorUpdate): fixed up for InsetText.
8271
8272 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8273
8274         * commandtags.h:
8275         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8276         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8277         value of Dialogs::tooltipsEnabled().
8278         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8279
8280 2002-03-08  Juergen Vigna  <jug@sad.it>
8281
8282         * BufferView_pimpl.C (updateInset): update inset inside inset also
8283         if it isn't inside theLockingInset().
8284
8285 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8286
8287         * buffer.C (asciiParagraph): redo some of the word and line length
8288         handling.
8289         (getLists): look for Caption instead of caption.
8290
8291 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8292
8293         * buffer.C (Buffer): initialize niceFile to true
8294         (makeLaTeXFile):
8295         (makeLinuxDocFile):
8296         (makeDocBookFile): make sure niceFile is true on exit
8297
8298 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8301
8302 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8303
8304         * LyXSendto.C: remove.
8305         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8306         * lyx_gui.C: remove now-redundant comment.
8307         * ColorHandler.h: remove forward declaration of class WorkArea.
8308         * lyxfunc.C: remove #include "WorkArea.h".
8309
8310 2002-03-07  Juergen Vigna  <jug@sad.it>
8311
8312         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8313         got moved away with the DEPM and also set the inset_owner always
8314         right which before could have been omitted.
8315
8316 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8319         wanted layout is not found.
8320
8321 2002-03-07  Juergen Vigna  <jug@sad.it>
8322
8323         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8324
8325 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8326
8327         * paragraph.C (breakParagraph): use default layout not layout of
8328         prev paragraph.
8329         (Paragraph): clear ParagraphParameters.
8330
8331 2002-03-06  Juergen Vigna  <jug@sad.it>
8332
8333         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8334         otherwise it would not be a valid lenght. Fixed a special case in
8335         the minipage compatibility read where we end the document with a
8336         minipage.
8337
8338         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8339         was set as it could be 0 for InsetTexts first entry.
8340
8341 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8342
8343         * paragraph.C (writeFile): if layout is empty write out
8344         defaultLayoutName().
8345
8346         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8347         file without named layout we set layout to defaultLayoutName().
8348
8349 2002-03-06  Juergen Vigna  <jug@sad.it>
8350
8351         * CutAndPaste.C (copySelection): set layout for new paragraph.
8352
8353         * text.C (prepareToPrint): leave ERT inset left aligned
8354         (leftMargin): don't indent paragraphs inside ERT insets
8355
8356 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * paragraph.C (breakParagraph): dont call clear do the work manually
8359
8360         * paragraph.[Ch] (clear): remove function
8361
8362 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8363
8364         * paragraph.C (Paragraph): dont call clear, the work has already
8365         been done.
8366
8367         * lyxtextclass.C (operator): assert if n is empty
8368
8369         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8370         work manually instead.
8371
8372 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * BufferView_pimpl.C: protect selectionLost against text == 0
8375
8376 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8377
8378         * text.C (breakParagraph): fix a setting layout to '0' problem.
8379
8380 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8381
8382         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8383         final location of file, for the included files, and graphics.
8384
8385 2002-03-05  Juergen Vigna  <jug@sad.it>
8386
8387         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8388
8389 2002-03-04  Juergen Vigna  <jug@sad.it>
8390
8391         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8392
8393         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8394         last column of multicolumn cells.
8395         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8396
8397 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8398
8399         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8400         file if it doesn't go to a temporary file.
8401
8402         * buffer.C (sgmlOpenTag):
8403         (sgmlCloseTag):  remove extra newline insertion.
8404
8405 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8406
8407         * text.C (getRowNearY): comment out debug msg
8408
8409 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8410
8411         * text2.C: first -> first_y
8412
8413         * text.C (getRowNearY): add some attemts at a possible
8414         optimization, not working.
8415
8416         * tabular.[Ch]: add BufferParams to several function so that newly
8417         created paragraph can be initialized to he default layotu for the
8418         buffers textclass.
8419
8420         * tabular-old.C (ReadOld): add buf->params to call of Init
8421
8422         * screen.C: rename text->first to text->first_y
8423
8424         * paragraph.C (breakParagraph): always set layout in the broken
8425         paragraph
8426
8427         * lyxtextclass.C (Read): remove lowercase
8428         (hasLayout): ditto
8429         (operator): ditto
8430         (delete_layout): ditto
8431
8432         * lyxtext.h: rename first -> first_y
8433
8434         * lyxlayout.C (Read): remove lowercase
8435         (name): ditto
8436         (setName): ditto
8437         (obsoleted_by): ditto
8438
8439         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8440
8441         * buffer.C (insertErtContents): add params are to InsetERT
8442         (parseSingleLyXformat2Token): add code to check if a paragraphs
8443         layout really exist.
8444         (parseSingleLyXformat2Token): add params to several inset
8445         constructors
8446         (asciiParagraph): remove lowercase, do the layout comparisons with
8447         no_case
8448
8449         * BufferView_pimpl.C (cursorNext): first -> first_y
8450         (resizeCurrentBuffer): first -> first_y
8451         (updateScrollbar): first -> first_y
8452         (scrollCB): first -> first_y
8453         (workAreaMotionNotify): first -> first_y
8454         (workAreaButtonPress): first -> first_y
8455         (checkInsetHit): first -> first_y
8456         (cursorPrevious): first -> first_y
8457         (cursorNext): first -> first_y
8458         (Dispatch): add buffer_->params to severl inset contructors
8459
8460 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8461
8462         * lyxlayout.C (Read): remove some debug info that I forgot.
8463
8464         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8465         clean up the code slightly.
8466         (makeLinuxDocFile): ditto
8467         (makeDocBookFile): ditto
8468
8469         * text2.C: layout as string
8470
8471         * text.C: layout as string
8472
8473         * paragraph_pimpl.C: layout as string
8474
8475         * paragraph.[Ch]: layout as string
8476
8477         * lyxtextclasslist.[Ch]: layout as string
8478
8479         * lyxtextclass.[Ch]: layout as string
8480
8481         * lyxtext.h: layout as string
8482
8483         * lyxlayout.[Ch]: layout as string
8484
8485         * lyx_cb.C: layout as string
8486
8487         * bufferview_funcs.C: layout as string
8488
8489         * bufferparams.C: layout as string
8490
8491         * buffer.C: layout as string
8492
8493         * LyXView.[Ch]: layout as string
8494
8495         * LaTeXFeatures.[Ch]: layout as string
8496
8497         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8498
8499         * BufferView_pimpl.C: change current_layout to string, remove
8500         lyx::layout_type.
8501         (Dispatch):
8502         (smartQuote):
8503         (insertInset):
8504         (workAreaButtonRelease): layout as string
8505
8506         * BufferView2.C (unlockInset): adjust
8507
8508         * vspace.C (asLatexCommand): use an explict temp variable.
8509
8510 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8511
8512         * Makefile.am: use FRONTEND_*
8513
8514 2002-03-01  Juergen Vigna  <jug@sad.it>
8515
8516         * tabular.C (SetWidthOfMulticolCell): changed to something better
8517         I hope but still work in progress.
8518         (recalculateMulticolumnsOfColumn): renamed function from
8519         recalculateMulticolCells as it is more appropriate now.
8520         (SetWidthOfCell): calculate multicols better.
8521
8522 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8523
8524         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8525
8526         * lyxfunc.C (processKeySym): print sequence also if it is
8527         `deleted' (complete)
8528
8529         * kbsequence.C (print): print sequence even if it is deleted
8530         (complete would be a better word, actually).
8531
8532         * lyxfunc.C (dispatch): print complete options after a prefix key
8533
8534         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8535
8536 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8537
8538         * text2.C (setCharFont): eliminate setCharFont code duplication.
8539
8540 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8541
8542         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8543         LFUN_TABULAR_FEATURE (bug #177)
8544
8545 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8546
8547         * Makefile.am: remove figure.h
8548
8549 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8550
8551         * Bufferview_pimpl.C:
8552         * CutAndPasteC:
8553         * LaTeX.C:
8554         * LyXSendto.C:
8555         * buffer.C:
8556         * bufferlist.C:
8557         * converter.C:
8558         * language.C:
8559         * lyxfunc.C:
8560         * lyxvc.C:
8561         * paragraph.C:
8562         * text.C:
8563         * text2.C: remove #include "lyx_gui_misc.h".
8564
8565         * LaTeX.C: added #include <cstdio>
8566
8567 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8568
8569         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8570         that the paragraph following this one can have.
8571
8572         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8573
8574         * vspace.C (asLatexCommand): fix bogus gcc warning
8575
8576         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8577
8578 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8579
8580         * text2.C (setLayout): get rid of redundant code
8581
8582 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8583
8584         * text2.C (incDepth): make sure depth cannot be increased beyond
8585         reasonable values.
8586
8587 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8588
8589         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8590         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8591
8592         * PainterBase.h (image):
8593         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8594         a LyXImage const *.
8595
8596 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * BufferView.C:
8599         * BufferView.h:
8600         * BufferView_pimpl.C:
8601         * BufferView_pimpl.h:
8602         * LaTeXFeatures.C:
8603         * LyXAction.C:
8604         * LyXView.C:
8605         * Makefile.am:
8606         * UpdateList.h:
8607         * UpdateList.C:
8608         * buffer.C:
8609         * figure.h:
8610         * figureForm.C:
8611         * figureForm.h:
8612         * figure_form.C:
8613         * figure_form.h:
8614         * lyx_cb.C:
8615         * lyx_gui.C:
8616         * lyx_gui_misc.C:
8617         * lyxfunc.C:
8618         * sp_base.h:
8619         * sp_ispell.h:
8620         * sp_pspell.h:
8621         * sp_spell.C: remove fig inset, and the crap house of
8622           cards that follows it
8623
8624 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * Makefile.am:
8627         * lyxserver.C:
8628         * os2_defines.h:
8629         * os2_errortable.h:
8630         * nt_defines.h: move .h into support/
8631
8632         * vms_defines.h: remove
8633
8634         * WorkArea.C: add space in debug output
8635
8636         * text2.C:
8637         * paragraph.C:
8638         * buffer.C: add WITH_WARNINGS
8639
8640         * vc-backend.h:
8641         * vc-backend.C:
8642         * bufferlist.C: s/retrive/retrieve/, add docs
8643
8644         * vspace.h:
8645         * vspace.C:
8646         * kbmap.h:
8647         * lyxlength.h:
8648         * lyxgluelength.h:
8649         * length_common.h:
8650         * chset.h:
8651         * chset.C: add docs
8652
8653         * lyxgui.C: add ID to X error handler
8654
8655         * lyxtestclass.c: fix typo
8656
8657 2002-02-26  Juergen Vigna  <jug@sad.it>
8658
8659         * tabular_funcs.C (write_attribute): changed so that some default
8660         attributes are not written at all.
8661         (getTokenValue): set default values before trying to read the
8662         value so we have the return value always set as default if we don't
8663         find the token we search for.
8664
8665         * tabular.C (Write): write bools as bools not as strings!
8666
8667 2002-02-22  Juergen Vigna  <jug@sad.it>
8668
8669         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8670         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8671
8672         * text.C (leftMargin): don't add an indent for paragraphs inside
8673         tabular cells (fix #208).
8674
8675 2002-02-21  José Matos  <jamatos@fep.up.pt>
8676
8677         * tabular.C (docBook): fixed support for long tables.
8678
8679 2002-02-20  Juergen Vigna  <jug@sad.it>
8680
8681         * text2.C (getFont): get the drawing font of the Inset if this
8682         paragraph is inside an inset (only important for InsetERT for now).
8683
8684         * buffer.C (insertErtContents): use new lanugage params in ERT
8685         constructor.
8686
8687         * CutAndPaste.C: commenting out seemingly uneeded code.
8688
8689 2002-02-19  Allan Rae  <rae@lyx.org>
8690
8691         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8692         Iterators might be simple to use but they also get invalidated.
8693         (removeAutoInsets): renamed saved cursor tracking variables and added
8694         some comments to clarify what everything does.
8695
8696 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8697
8698         * Chktex.C:
8699         * LaTeX.C:
8700         * LyXSendto.C:
8701         * converter.C:
8702         * lyx_cb.C:
8703         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8704         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8705
8706         * lyxfunc.C:
8707         * vc-backend.h: remove #include "support/syscall.h"
8708
8709         * LaTeX.C:
8710         * LyXSendto.C:
8711         * converter.C: rearrange #includes in Lars' approved fashion.
8712
8713         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8714         forward declare class Timeout in the header file.
8715
8716         * XFormsView.C: changes due to the above.
8717
8718         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8719         similar to LyXView.
8720
8721         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8722         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8723
8724 2002-02-18  José Matos  <jamatos@fep.up.pt>
8725
8726         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8727         insets contents.
8728
8729 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8730
8731         * a lot of small ws changes
8732         * add a lot of using std::XXX
8733         * use std construcs some places where approp.
8734         * use some exisint stuff from lyxfunctional where approp.
8735         * Make file changes to use partial linking (lets test this now...)
8736
8737 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8738
8739         * Chktex.C:
8740         * buffer.C:
8741         remove #include "support/syscontr.h" as it's redundant. Always has been.
8742
8743         * Chktex.C:
8744         * LaTeX.C:
8745         * LyXSendto.C:
8746         * converter.C:
8747         * lyx_cb.C:
8748         * vc-backend.C:
8749         change Systemcalls::System to Systemcalls::Wait and
8750         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8751         No change of functionality, just reflects the stripped down Systemcalls
8752         class.
8753
8754 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8755
8756         * debug.[Ch]: add a GRAPHICS type to the enum.
8757
8758 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8759
8760         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8761
8762         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8763         there is an inset.
8764
8765 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8766
8767         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8768         match the changes below.
8769
8770         * text2.C (toggleInset): if there is not editable inset at cursor
8771         position, try to see if cursor is _inside_ a collapsable inset
8772         and close it.
8773
8774 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8775
8776         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8777         document menu has a nice checkbox
8778
8779 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * lyxlength.C (asLatexString): change PW to output as percent of
8782         \textwidth.
8783
8784         * lengthcommon.C: change '%' to 't%'
8785
8786         * lyxfunc.C (dispatch): a few comments from Martin
8787
8788 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8789
8790         * WorkArea.h:
8791         * WorkArea.C:
8792         * BufferView_pimpl.h:
8793         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8794           the X selection.
8795
8796 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * vspace.C (inPixels): fix compiler warning
8799
8800 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8801
8802         * lyxfunc.C (getStatus): fix status message for disabled commands.
8803
8804 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8805
8806         * BufferView_pimpl.C: fix crash on close buffer
8807         during selection (#227)
8808
8809 2002-01-27  Herbert Voss  <voss@lyx.org>
8810
8811         * buffer.C: link old Figure to new graphic inset
8812
8813 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8814
8815         * FontLoader.C (getFontinfo): Change the latex font names in order
8816         to match the names of type1inst.
8817
8818 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8819
8820         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8821
8822         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8823         (extchanged): ditto
8824         (ext_exist): ditto
8825         (remove_files_with_extension): ditto
8826         (remove_file): ditto
8827         (write): ditto
8828
8829         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8830         document is smaller than the work area height. Do not initialize
8831         static variables to 0.
8832
8833 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8834
8835         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8836
8837         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8838         LFUN_LAYOUT_PARAGRAPHS.
8839
8840         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8841         tabular. It is possible to provide a possible cell, which will
8842         typically be the actcell from the corresponding insettabular
8843
8844         * lyxfunc.C (getStatus): small cleanup; disable
8845         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8846         true
8847
8848 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8849
8850         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8851
8852         * paragraph.C (startTeXParParams):
8853         (endTeXParParams): new methods. The LaTeX code to
8854         start/end paragraph formatting
8855         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8856         empty (fixes bug #200)
8857
8858         * vspace.C (inPixels): adapt to the change below
8859         (inPixels): [later] more cleanups (remove unused variables)
8860
8861         * lyxlength.C (inPixels): change to use a width and a height as
8862         parameter.
8863
8864 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8867         Replaced with \paperwidth
8868
8869         * DepTable.C (insert): add std:: qualifier
8870
8871 2002-01-18  Allan Rae  <rae@lyx.org>
8872
8873         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8874         updated also?
8875
8876         * text.C (drawInset): Turned out I didn't know enough about how
8877         rebreaking worked.  This fixes most of the redraw problems.  I see
8878         an occasional cursor trail when a line is broken now and the cursor
8879         placement can seem out by a few pixels also after a rebreak.
8880
8881 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * buffer.C (parseSingleLyXformat2Token): update because minipage
8884         width is now a LyXLength
8885
8886         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8887
8888         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8889         math insets
8890
8891 2002-01-17  Juergen Vigna  <jug@sad.it>
8892
8893         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8894
8895         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8896         is set correctly and the inset is updated correctly.
8897
8898 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8901         the beginning of the loop.
8902
8903 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8904
8905         * lyxrc.C: improve help for use_scalable_fonts
8906
8907 2002-01-17  Allan Rae  <rae@lyx.org>
8908
8909         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8910
8911 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8914         make sure to set their inset_owner to the right value (bug #171)
8915
8916 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8917
8918         * DepTable.h
8919         * DepTable.C: Implement mtime checking to reduce time spent doing
8920         CRCs.
8921
8922 2002-01-16  Juergen Vigna  <jug@sad.it>
8923
8924         * tabular.C (GetAdditionalHeight): one of error fixed.
8925
8926         * lyxrc.C (output): small fix in writing use_pspell.
8927
8928 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8929
8930         * sp_base.h: #include LString.h
8931
8932 2002-01-16  Allan Rae  <rae@lyx.org>
8933
8934         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8935         Can someone check this please?
8936
8937         * text.C (drawInset): It was possible that p.row would be removed by
8938         breakAgainOneRow upsetting a few other settings.  There may be another
8939         small tweak possible by setting need_break_row = 0 when p.row has been
8940         removed but I don't know enough about the logic here.
8941
8942 2002-01-15  Allan Rae  <rae@lyx.org>
8943
8944         * text.C (insertChar): removed conditional truism.
8945
8946         * BufferView2.C (removeAutoInsets): More tweaks.
8947         cur_par_prev could be a stray pointer.  Check for trailing empty line
8948         in case last line was cur_par and only had an error inset on it.
8949
8950 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8951
8952         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8953         absolute
8954
8955         * vc-backend.C (most methods):
8956         * exporter.C (Export):
8957         * converter.C (convert):
8958         (runLaTeX):
8959         * LyXSendto.C (SendtoApplyCB):
8960         * lyxfunc.C (dispatch):
8961         (menuNew):
8962         (open):
8963         (doImport):
8964         * lyx_cb.C (AutoSave):
8965         (InsertAsciiFile):
8966         * BufferView_pimpl.C (MenuInsertLyXFile):
8967         * buffer.C (runChktex): use Buffer::filePath().
8968
8969         * buffer.h: rename filename to filename_; rename filepath to
8970         filepath_ and make it private
8971         (filePath): new method
8972
8973         * buffer.C (writeFile): use fileName()
8974         (getLatexName):
8975
8976         * lyx_main.C (init): fix starting  of LyX when the binary is a
8977         link from so,ewhere else.
8978
8979         * minibuffer.C: include <cctype> for isprint
8980
8981 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8982
8983         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8984         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8985         name clash with InsetCollapsable's width function.
8986
8987 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8988
8989         * lastfiles.C: include <iterator>
8990
8991 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8992
8993         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8994         std::count.
8995
8996         * buffer.C (makeLaTeXFile): ditto.
8997         Also make loop operation more transparent.
8998
8999 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9000
9001         * ToolbarDefaults.C: remove trailing comma closing namespace.
9002
9003         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9004
9005         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9006         as in WorkArea.
9007
9008         * trans.C (Load): comment out unused variable, allowed.
9009
9010 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9011
9012         * minibuffer.[Ch] (append_char): new method to recieve input from the
9013         drop-down completion browser. If a key was pressed, then recieve this
9014         char and append it to the existing string.
9015         (peek_event): modify the positioning data passed to the completion
9016         browser so that it can be placed above the minibuffer rather than below.
9017 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9018
9019         * LyXAction.C (init): alloe error-next for readonly documents.
9020
9021         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9022         count.
9023
9024 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9025
9026         * bufferlist.C (readFile): create the buffer _after_ checking that
9027         the file exists.
9028
9029         * lyxfunc.C (verboseDispatch): fix handling of arguments
9030
9031         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9032
9033         * lyxrc.C: use string::erase() instead of initializing to "".
9034
9035
9036 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9037
9038         * BufferView_pimpl.h:
9039         * BufferView_pimpl.C:
9040         * WorkArea.h:
9041         * WorkArea.C:
9042         * text2.C: tell X when we have made a selection for copying
9043
9044 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9045
9046         * BufferView_pimpl.C (MenuInsertLyXFile):
9047         * lyxfunc.C (menuNew):
9048         (open):
9049         (doImport): add shortcuts to directory buttons
9050
9051         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9052         open a float)
9053
9054         * lyxfunc.C (setStatusMessage):
9055         (getStatusMessage): new methods
9056         (getStatus):use setStatusMessage instead of setErrorMessage
9057         (dispatch): when function is disabled, set error message here
9058         [instead of in getStatus previously]
9059
9060         * BufferView_pimpl.C (workAreaButtonRelease): update
9061         toolbar/menubar here too.
9062
9063 2002-01-13  Allan Rae  <rae@lyx.org>
9064
9065         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9066         Now seems indestructible.  Remaining task is to audit all other
9067         code affected by deleteEmptyParagraphMechanism.  One small quirk
9068         left is that an empty document with an error in the preamble can
9069         be made to report an error but no error box appears.  I don't know
9070         where it goes.
9071         (removeAutoInsets): Improved comments.
9072
9073 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * Thesaurus.h:
9076         * Thesaurus.C: update for Aiksaurus 0.14
9077
9078 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9079
9080         * text2.C (firstParagraph): removed member function, all uses
9081         replaces with ownerParagraph
9082         (redoParagraphs): here
9083         (updateInset): here
9084         (toggleAppendix): here
9085         * BufferView2.C (insertErrors): here
9086         (setCursorFromRow): here
9087
9088 2002-01-13  Allan Rae  <rae@lyx.org>
9089
9090         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9091         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9092         There is still a way to segfault this although you may have to do this
9093         multiple times: Have an InsetERT with an unknown command in it.
9094         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9095         <down-arrow>, <Enter> again, View->DVI, BANG!
9096
9097         * text2.C (setCursor):
9098         (deleteEmptyParagraphMechanism):
9099         * lyxtext.h (setCursor):
9100         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9101         Making use of the return value may help fix other bugs.
9102
9103 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9104
9105         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9106
9107         * LyXView.C (updateMenubar): call MenuBar::update here
9108         (updateToolbar): but not here
9109         (showState): do not update toolbar/menubar
9110
9111         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9112         should need to care about that.
9113
9114         * lyxfunc.C (verboseDispatch): simplify a bit
9115         (getStatus): have a version which takes a pseudoaction, and
9116         another which requires a (kb_action,string).
9117
9118         * LyXAction.C (retrieveActionArg): make it work also when action
9119         is not a pseudo-action.
9120         (getActionName): simplify a bit
9121         (helpText):
9122
9123 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9124
9125         * lyxfunc.C (verboseDispatch): new families of methods with
9126         several ways to specify a command and a bool to indicate whether
9127         the command name and shortcut should be displayed in minibuffer
9128         (eventually, we could extend that to a finer bitmask like
9129         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9130         (dispatch): the pristine dispatch command which just, well,
9131         dispatchs! Note it still sets its result to minibuffer; I'm not
9132         sure we want that.
9133
9134         * lyxfunc.h: remove setHintMessage
9135
9136         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9137
9138 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9139
9140         * BufferView_pimpl.C (specialChar): delete new inset if we have
9141         not been able to insert it.
9142
9143         * kbmap.C: revert to using int instead of kb_action, since all we
9144         are dealing with is pseudo-actions.
9145
9146         * LyXAction.C (searchActionArg): change to return int instead of
9147         kb_action, since the result is a pseudoaction.
9148
9149 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9150
9151         * buffer.C (insertErtContents): Fix (partially) the font bug.
9152
9153 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9154
9155         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9156         as the other one is broken on my machine!
9157
9158 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9159
9160         * commandtags.h:
9161         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9162
9163 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9164
9165         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9166         reflect their actual use. Provide compatibility code for older lyxrc
9167         files.
9168
9169         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9170         FL_NORMAL_STYLE.
9171         change names of popup font variables in line with the changes to lyxrc.C
9172
9173 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9174
9175         * buffer.C (asciiParagraph): avoid outputing a word twice after
9176         an inset.
9177
9178         * lyxrc.C (getDescription): document that document_path and
9179         template_path can be empty.
9180
9181 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9182
9183         * LaTeXFeatures.C (getMacros):
9184         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9185
9186         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9187
9188         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9189         getPackages.
9190         (getPackages): rename feature "floats" to "float". Use an array to
9191         iterate over 'simple' features (i.e. just a \usepackage). Add
9192         handling of "amsmath" (renamed from "amsstyle").
9193
9194 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9195
9196         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9197         features list.
9198
9199 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9200
9201         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9202         FuncStaus::FuncStatus & FuncStaus::some_method().
9203
9204 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9205
9206         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9207         of the func_satus stuff. Edited and massaged in various ways by
9208         JMarc.
9209
9210         * lyxfunc.C (getStatus): use FuncStatus
9211
9212 2002-01-08  Juergen Vigna  <jug@sad.it>
9213
9214         * text.C (nextBreakPoint): use function Inset::isChar().
9215
9216         * paragraph.C (TeXOnePar): use function
9217         Inset::forceDefaultParagraphs.
9218
9219         * buffer.C (latexParagraphs): use function
9220         Inset::forceDefaultParagraphs.
9221
9222 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9223
9224         * lyx_gui.C (init): set the style of the menu popups to
9225         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9226
9227 2002-01-07  Juergen Vigna  <jug@sad.it>
9228
9229         * text.C (setHeightOfRow): small fix
9230         (prepareToPrint): don't look at alignment if we don't have the place
9231         for doing it.
9232
9233 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9234
9235         * box.C: New file. Move the Box methods and functions out of box.h,
9236         following Lars' suggestion.
9237
9238 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9239
9240         * box.h: #include "support/LOstream.h", needed for inlined function.
9241
9242         * lyxtextclass.C:
9243         * lyxtextclasslist.C: added some using std declarations.
9244
9245 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9246
9247         * box.h: make signed dimensions to allow insets wider than
9248           the screen (bug #162)
9249
9250         * BufferView_pimpl.C: add some insetHit debug
9251
9252 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * vc-backend.C: add FIXME
9255
9256 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9257
9258         * lyxfunc.C (getStatus): enable code for showing math font status
9259         in toolbar/menu.
9260
9261 2002-01-07  Juergen Vigna  <jug@sad.it>
9262
9263         * text.C (nextBreakPoint): removed debug output not needed anymore.
9264
9265 2002-01-06  Juergen Vigna  <jug@sad.it>
9266
9267         * text.C (nextBreakPoint): fixed up this function we had this bug
9268         since ever but now hopefully we break row better.
9269         (insertChar): we have to check if an inset is the next char as it
9270         could now happen that a large inset is causing a break.
9271
9272 2002-01-05  Juergen Vigna  <jug@sad.it>
9273
9274         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9275         if it doesn't like to be drawed.
9276
9277 2002-01-04  Juergen Vigna  <jug@sad.it>
9278
9279         * BufferView2.C (lockInset): forgot to set a cursor.
9280
9281         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9282
9283 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9284
9285         * FormMathsPanel.C:
9286         * FormMathsPanel.h
9287         * MathsSymbols.C:
9288         * form_maths_panel.C:
9289         * form_maths_panel.h:
9290         * form_maths_panel.fd: implemented sub- and super- buttons in math
9291         panel.
9292
9293         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9294         (or ^ space) to be used as in TeX (req'd by André).
9295
9296         * lyxfunc.C: Allow ^ and _ again to be used both as
9297         super/subscript (mathed) and as themselves (in text).
9298
9299 2002-01-03  Allan Rae  <rae@lyx.org>
9300
9301         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9302         "LyX" or the filename of the current buffer if it has one.  This is a
9303         modified form of John Levon's patch.
9304
9305         * XFormsView.C (setWindowTitle): also set icon title.
9306
9307         * LyXView.h (setWindowTitle): signature changed.
9308         * XFormsView.h (setWindowTitle): ditto.
9309
9310 2002-01-02  Juergen Vigna  <jug@sad.it>
9311
9312         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9313
9314 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9315
9316         * screen.C (topCursorVisible): introduce a temp var for
9317         text->cursor.row(), handle the case where this row is null. (kindo
9318         hachish)
9319
9320         * text2.C (setCursor): add a couple of asserts.
9321
9322         * paragraph.h (inset_iterator): add -> operator
9323
9324         * paragraph.[Ch] (autoDeleteInsets): remove member function
9325
9326         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9327         cursor pos correctly and handle inset deletion by itself.
9328         (insertErrors): move iterator declaration out of for expression
9329
9330         * lyxtextclass.C: add <algorithm>
9331
9332         * Makefile.am: added the new files to sources, removed layout.C
9333
9334         * layout.C: removed file
9335
9336         * layout.h: remove LYX_DUMMY_LAYOUT
9337
9338         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9339         layout.
9340
9341         * lyxlayout.[Ch]:
9342         * lyxtextclass.[Ch]:
9343         * lyxtextclasslist.[Ch]: new files
9344
9345         * include order changes to a lot of files, also changes because of
9346         the six new files.
9347
9348 2001-12-27  Juergen Vigna  <jug@sad.it>
9349
9350         * buffer.C (asciiParagraph): more fixes.
9351
9352         * tabular.C (ascii): make ascii export support export of only the
9353         data separated by a column-delimiter.
9354         (ascii): better support for ascii export.
9355
9356         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9357
9358 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9359
9360         * tabular_funcs.C: use a "using std::getline" instead of the
9361         previous fix from Angus (necessary for cxx + lyxstring)
9362
9363 2001-12-24  Juergen Vigna  <jug@sad.it>
9364
9365         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9366
9367         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9368         problems. First check a minipage also if we have some ert-contents
9369         (not only on par->size(), second set the right depth of the paragraph
9370         on the relink to the root-paragraph-list!
9371
9372         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9373         which then did not anymore update the main paragraphs on undo/redo!
9374
9375 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9376
9377         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9378         code. Support all font-changing funcs (even those which are not in
9379         menu currently). Support for reporting font settings in
9380         mathed (disabled until Andre provides a function on mathed's side).
9381
9382         * func_status.h (toggle): small helper function to set toggle
9383         state on a flag.
9384
9385 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9386
9387         * tabular_funcs.C: getline -> std::getline
9388
9389 2001-12-21  Juergen Vigna  <jug@sad.it>
9390
9391         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9392         accessed and could be 0 (I couldn't generate this but it seems
9393         Michael could!).
9394
9395 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9396
9397         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9398         * tabular_funcs.h: here and include iosfwd
9399
9400 2001-12-20  Juergen Vigna  <jug@sad.it>
9401
9402         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9403         inside inset but undo_par was.
9404
9405 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * Thesaurus.C: always include <config.h> in sources.
9408
9409         * Painter.h:
9410         * lyxlookup.h:
9411         * box.h: do not include <config.h> in header files
9412
9413         * text.C (paintLastRow): remove unused variable
9414
9415         * text.C (transformChar):
9416         (insertChar):
9417         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9418
9419         * Painter.C (text):
9420         * font.C (width): rewrite to use uppercase() instead of
9421         islower/toupper.
9422
9423         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9424
9425 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9426
9427         * lyxfind.C: clean up of find failure position change
9428
9429 2001-12-20  Juergen Vigna  <jug@sad.it>
9430
9431         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9432
9433         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9434         (TeXRow): added to LaTeX a single tabular row.
9435         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9436         (Latex): simplified and finally good LT-h/f support.
9437         (various_functions): just small adaptions for LT-h/f support.
9438
9439         * tabular_funcs.[hC]: added and moved here all not classfunctions
9440         of LyXTabular.
9441
9442 2001-12-19  Juergen Vigna  <jug@sad.it>
9443
9444         * tabular.[Ch]: better support for longtabular options (not finished
9445         yet!)
9446
9447 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * text.C (paintLastRow): use the label font instead of the font of
9450         the last character to compute the size of *_BOX. This makes more
9451         sense and avoids a crash with empty paragraphs.
9452         Use Painter::rectangle to draw EMPTY_BOX.
9453
9454 2001-12-19  Juergen Vigna  <jug@sad.it>
9455
9456         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9457         the paragraphs if the replaced paragraph is not the first one!
9458         Tried to delete not used paragraphs but does not work yet so for
9459         now it's inside #ifdef's and by default off!
9460
9461 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * MenuBackend.C: include "lyx_main.h" instead of declaring
9464         lastfiles (actually was declared as LastFiles* instead of a
9465         scoped_ptr).
9466
9467 2001-12-17  Juergen Vigna  <jug@sad.it>
9468
9469         * tabular.C (AppendColumn): applied John's fix
9470
9471 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * BufferView.h:
9474         * BufferView.C:
9475         * BufferView_pimpl.h:
9476         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9477
9478         * Makefile.am:
9479         * box.h: new start of class for above
9480
9481         * lyxfunc.C: ignore space-only minibuffer dispatches.
9482           Show the command name when it doesn't exist
9483
9484         * minibuffer.C: don't add empty lines to the history
9485
9486         * minibuffer.C: add a space on dropdown completion
9487
9488 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * text.C: fix line above/below drawing in insets
9491
9492 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9493
9494         * lyxlength.C (LyXLength): Initialize private variables.
9495
9496 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9497
9498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9499         when inserting error insets.
9500
9501 2001-12-13  Juergen Vigna  <jug@sad.it>
9502
9503         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9504         actually sometimes the before-paragraph.
9505         (setUndo): don't clear the redostack if we're not actually undoing!
9506
9507 2001-12-06  Juergen Vigna  <jug@sad.it>
9508
9509         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9510         and fixed redoing of main paragraph, so we can use it now ;)
9511
9512         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9513
9514 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9515
9516         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9517         Juergen's request
9518
9519 2001-12-13  André Pönitz <poenitz@gmx.net>
9520
9521         * undostack.[Ch]:
9522         * undo_func.C: minor cleanup
9523
9524 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9525
9526         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9527         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9528         font in urw-fonts package which is marked as -urw-fontspecific and
9529         does not work (incidentally, changing the encoding in the
9530         fonts.dir of this package to -adobe-fontspecific fixes the
9531         problem).
9532
9533         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9534         is a crash when undoing first paragraph (Juergen, please take a
9535         look). THis does not mean the undo fix is wrong, just that it
9536         uncovers problems.
9537
9538         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9539         the (Paragraph*) version when needed instead of duplicating the
9540         code.
9541
9542         * text.C (workWidth): use Inset::parOwner to find out where the
9543         inset has been inserted. This is a huge performance gain for large
9544         documents with lots of insets. If Inset::parOwner is not set, fall
9545         back on the brute force method
9546
9547         * paragraph_pimpl.C (insertInset):
9548         * paragraph.C (Paragraph):
9549         (cutIntoMinibuffer): set parOwner of insets when
9550         inserting/removing them
9551
9552         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9553
9554 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9555
9556         * commandtags.h:
9557         * LyXAction.C:
9558         * lyx_main.C:
9559         * lyxfunc.C:
9560         * mathed/formulabase.C:
9561         * mathed/math_cursor.[Ch]:
9562         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9563
9564
9565 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * lyxlength.[Ch] (operator!=): new function
9568
9569 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9570
9571         * text.C (workWidth): use Inset::parOwner to find out where the
9572         inset has been inserted. This is a huge performance gain for large
9573         documents with lots of insets. If Inset::parOwner is not set, fall
9574         back on the brute force method
9575
9576         * paragraph_pimpl.C (insertInset):
9577         * paragraph.C (Paragraph):
9578         (cutIntoMinibuffer): set parOwner of insets when
9579         inserting/removing them
9580
9581         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9582
9583 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * tabular-old.C (getTokenValue):
9586         * tabular.C (getTokenValue):
9587         (write_attribute): new versions for LyXLength
9588         (everywhere): adjust the use of widths
9589
9590         * tabular.h: change the type of widths from string to LyXLength
9591
9592 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9593
9594         * paragraph.C: fixed missing line number count when exporting
9595         Environments to LaTeX file
9596
9597         * buffer.C: added informational message for checking line numbers.
9598
9599 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9602         paragraph, do the 'double space' part, but not the 'empty
9603         paragraph' one.
9604
9605         * text.C (workWidth): small optimization
9606         (getLengthMarkerHeight): use minimal size for negative lengths.
9607
9608 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9609
9610         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9611
9612         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9613
9614 2001-12-11  André Pönitz <poenitz@gmx.net>
9615
9616         * FontLoader.C:
9617         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9618
9619 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * text2.C: keep selection on a setFont()
9622
9623 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9624
9625         * lyx_cb.C: another bv->text misuse, from insert label
9626
9627 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * kbsequence.h:
9630         * kbsequence.C: re-instate nmodifier mask
9631
9632 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9633
9634         * lyx_main.h: make lyxGUI private.
9635
9636 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * lyxfind.C: place the cursor correctly on failed search
9639
9640 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * text.C (getLengthMarkerHeight): for small heights, the arrows
9643         are not always on top/bottom of the text
9644         (drawLengthMarker): smaller arrows; take the left margin in
9645         account; draw also vfills.
9646         (paintFirstRow):
9647         (paintLastRow): remove special code for vfill and standard spaces,
9648         since everything is handled in drawLengthMarker now.
9649
9650 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * buffer.C (insertErtContents): try to handle font and language
9653         interaction a bit better.g
9654
9655         * ColorHandler.C (updateColor): change the hash to cover the whole
9656         LColor enum, ws cleanup
9657         (getGCLinepars): ditto
9658         (getGCLinepars): only lookup in the linecache once.
9659
9660 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9661
9662         * iterators.C (operator++): Make the iterator more robust
9663
9664         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9665         (John's patch)
9666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9667
9668 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * lyxtext.h:
9671         * text.C: better added space drawing
9672
9673 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * LyXView.C:
9676         * BufferView2.C: fix layout combo update on inset unlock
9677
9678 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * Makefile.am: don't compile unused files
9681
9682 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * lyxfunc.C:
9685         * commandtags.h:
9686         * LyXAction.C: remove old LFUN_LAYOUTNO
9687
9688 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * paragraph_pimpl.h:
9691         * paragraph_pimpl.C: isTextAt() doesn't need font param
9692
9693 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * lyxlex.h:
9696         * lyxlex.C: little cleanup
9697
9698 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * BufferView_pimpl.C: fix insertAscii for insets
9701
9702 2001-12-05  Juergen Vigna  <jug@sad.it>
9703
9704         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9705         set the right font on the "multi" paragraph paste!
9706
9707 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9708
9709         * trans_decl.h:
9710         * trans_mgr.[Ch]:
9711         * trans.[Ch]:
9712         * lyxgluelength.C:
9713         * lyxlength.C: remove out-commented code.
9714
9715         * BufferView_pimpl:
9716         * CutAndPaste.C:
9717         * DepTable.C:
9718         * buffer.C:
9719         * chset.C:
9720         * lastfiles.C:
9721         * lyxlex.C:
9722         * lyxlex_pimpl.C:
9723         * lyxserver.C:
9724         * screen.C:
9725         * tabular-old.C:
9726         * tabular.C:
9727         * text.C:
9728         * trans_mgr.C:
9729         * vc-backend.C: change "while(" to "while ("
9730
9731         * lyxlength.[Ch]: add zero function to check if length is zero or
9732         not
9733         * lyxgluelength.C: use it
9734
9735 2001-12-05  Allan Rae  <rae@lyx.org>
9736
9737         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9738         Works for 2.95.3, from what I understand of Garst's reports this should
9739         work for other g++ versions.  We're screwed if the abs(int) definition
9740         changed between bugfix releases of gcc.
9741
9742 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * text.C: fix chapter label offset !
9745
9746 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * lyxtext.h:
9749         * text.C: fix hfill at end of line, clean up
9750
9751 2001-12-04  Juergen Vigna  <jug@sad.it>
9752
9753         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9754         that we force an update of the inset and it's owners if neccessary.
9755
9756 2001-12-03  Juergen Vigna  <jug@sad.it>
9757
9758         * text.C (rowLast): simplified code
9759
9760 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9761
9762         * lyxfunc.C: fix show options on timeout
9763
9764 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * screen.C (topCursorVisible): scroll half a page when the cursor
9767         reached top of bottom of screen
9768
9769 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * minibuffer.C: deactivate on loss of focus
9772
9773 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9774
9775         * vspace.[Ch] (operator!=): add operator.
9776
9777 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9778
9779         * BufferView_pimpl.C: refuse to open an inset when
9780         there's a selection.
9781
9782 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9783
9784         * BufferView_pimpl.C: allow to click on RHS of full row insets
9785
9786 2001-11-30  Juergen Vigna  <jug@sad.it>
9787
9788         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9789         insets for undo reasons.
9790
9791 2001-11-28  André Pönitz <poenitz@gmx.net>
9792
9793         * vspace.[Ch]: cosmetical changes
9794
9795 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * LyXAction.h:
9798         * LyXAction.C:
9799         * lyxfunc.h:
9800         * lyxfunc.C:
9801         * kbmap.h:
9802         * kbmap.C:
9803         * lyxrc.C:
9804         * kbsequence.h:
9805         * kbsequence.C: part re-write of old kb code
9806
9807         * Painter.C:
9808         * WorkArea.C: remove Lgb_bug_find_hack
9809
9810 2001-11-30  José Matos <jamatos@fep.up.pt>
9811
9812         * buffer.C (makeDocBookFile): add a comment to point a hack.
9813         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9814         Fixed a double write of labels.
9815
9816 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9817
9818         * LaTeX.C:
9819         * LaTeX.h Fixed bug in LaTeX class where it would not
9820         re-run latex if no depfiles were changed, but the .dvi was removed.
9821
9822 2001-11-28  André Pönitz <poenitz@gmx.net>
9823
9824         * all the files from the change on 2001/11/26:
9825         use lyx::layout_type instead of LyXTextClass::size_type
9826         use lyx::textclass_type instead of LyXTextClassList::size_type
9827
9828 2001-11-29  Juergen Vigna  <jug@sad.it>
9829
9830         * text.C: added support for paragraph::isFreeSpacing()
9831
9832         * buffer.C: same as above
9833
9834         * paragraph.h: inserted isFreeSpacing() function to enable
9835         FreeSpacing inside InsetERT.
9836
9837         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9838         of the paragraph's in the cut/copy buffer to 0!
9839
9840         * text2.C (removeRow): remove the assert as it can!
9841
9842         * lyxtext.h: added helper function firstRow returning firstrow and
9843         made firstrow private again.
9844
9845         * BufferView2.C (lockInset): don't relock if we're already locked!
9846
9847         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9848         the only paragraph.
9849         (removeRow): added Assert::(firstrow)
9850
9851         * debug.C: forgot to add INSETTEXT here.
9852
9853 2001-11-28  Juergen Vigna  <jug@sad.it>
9854
9855         * sp_spell.C (initialize): changed error text to more general
9856         spellchecker command use (not only ispell!)
9857
9858         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9859
9860         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9861
9862 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * vspace.C: initialise lyxgluelength on failure
9865
9866 2001-11-28  Allan Rae  <rae@lyx.org>
9867
9868         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9869         declaration & definition that looks like a function declaration.
9870
9871 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * BufferView2.C (copy):
9874         (copyEnvironment): do not clear the selection when doing a copy.
9875
9876         * text.C (paintFirstRow): compilation fix
9877
9878 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9879
9880         * tabular.C (Latex): correct line count when writing latex.
9881
9882 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * paragraph_pimpl.h:
9885         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9886           bug a bit
9887
9888 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * text.C:
9891         * LColor.h:
9892         * LColor.C: change vfillline->added_space
9893
9894         * text.C: add markers and text for added space
9895
9896         * vspace.C: fix comment
9897
9898 2001-11-28  André Pönitz <poenitz@gmx.net>
9899
9900         * paragraph.C: whitespace changes
9901         * all the other files from the change on 2001/11/26:
9902         change *::pos_type into lyx::pos_type
9903
9904 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9905
9906         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9907         language of the document when inserting error insets.
9908
9909 2001-11-26  André Pönitz <poenitz@gmx.net>
9910
9911         * BufferView_pimpl.[Ch]:
9912         *       CutAndPaste.C:
9913         * buffer.[Ch]:
9914         * lyxcursor.[Ch]:
9915         * lyxfind.C:
9916         * lyxfunc.C:
9917         * lyxrow.[Ch]:
9918         * paragraph.[Ch]:
9919         * paragraph_pimpl.[Ch]:
9920         * sp_spell.C:
9921         * text.C:
9922         * text2.C: reduce header dependencies, introduce type for positions
9923
9924 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9925
9926         * <various>: change to use Alert.h
9927
9928 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9929
9930         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9931         when encountering an unknown token.
9932         (readLyXformat2): Show an error message if there were unknown tokens.
9933
9934 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * BufferView2.C:
9937         * BufferView_pimpl.C:
9938         * buffer.C:
9939         * paragraph.h:
9940         * text.C:
9941         * text2.C: use par->isInset()
9942
9943 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * paragraph_pimpl.h:
9946         * paragraph_pimpl.C: cleanup
9947
9948 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * text2.C (removeRow):
9951         * text.C (setHeightOfRow): remove useless (and costly) call to
9952         getRow.
9953
9954 2001-11-20  Allan Rae  <rae@lyx.org>
9955
9956         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9957         Now need Inset*::checkInsertChar() to return true for appropriate
9958         cases so that the characters in the minibuffer will actually be
9959         inserted.
9960
9961 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9962
9963         * text.C: change the order of the includes.
9964         (workWidth): initialize it at once.
9965         (workWidth): make maxw unsigned
9966         (setHeightOfRow): remove unused variable (inset)
9967         (selectSelectedWord): remove unused variable (inset)
9968         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9969
9970 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9971
9972         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9973         server is not running.
9974         (openConnection):
9975         (closeConnection): add debug info when server is disabled.
9976
9977         * ColorHandler.C (getGCForeground): send debug message to GUI
9978         channel.
9979
9980         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9981
9982         * kbmap.C (bind): modify because return conventions of
9983         kb_sequence::parse have changed.
9984
9985         * kbsequence.C (parse): only ignore spaces and not any stupid
9986         control character. This avoids tests like s[i] <= ' ', which are
9987         guaranteed to fail with 8bit characters and signed chars.
9988         Change return code to string::npos when there have been no error
9989         (0 was a bad idea when error is at first character)
9990
9991 2001-11-14  José Matos  <jamatos@fep.up.pt>
9992
9993         * buffer.h:
9994         * buffer.C (simpleDocBookOnePar): removed unused argument.
9995
9996 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9997
9998         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9999         insets which are part of a word. Paragraph::isLetter takes care of
10000         that now. Use Paragraph::isInset to identify insets.
10001         (selectSelectedWord): do not test for hyphenation break.
10002
10003         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10004         that protected spaces are considered as spaces.
10005
10006         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10007         Inset::isLetter.
10008
10009 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * lyxserver.h:
10012         * lyxserver.C: fix it. and small cleanup.
10013
10014 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10015
10016         * BufferView_pimpl.C: use inline helpers
10017
10018         * LaTeXFeatures.h:
10019         * LaTeXFeatures.C: fix typos
10020
10021         * Spacing.h:
10022         * Spacing.C: move spacing_string into class
10023
10024         * ToolbarDefaults.C: move stuff into namespace anon
10025
10026         * layout.h: update enum
10027
10028         * lyxfunc.C: use better debug
10029
10030         * minibuffer.h: fix typo
10031
10032         * debug.h:
10033         * debug.C:
10034         * WorkArea.C: add and use Debug::WORKAREA
10035
10036         * lyxtext.h:
10037         * text.C:
10038         * text2.C: code re-organisation, inline helpers
10039
10040 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10041
10042         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10043         std::vector.empty().
10044
10045 2001-11-09  Allan Rae  <rae@lyx.org>
10046
10047         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10048         '\n's after tables.  Tabular and ERT inset work now makes this no
10049         longer necessary.
10050
10051 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * minibuffer.h:
10054         * minibuffer.C: fix crash, improve drop-down completion
10055
10056 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * lyxserver.h:
10059         * lyxserver.C: invalidate fd's when doing endPipe()
10060
10061 2001-11-08  José Matos  <jamatos@fep.up.pt>
10062
10063         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10064         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10065
10066         * paragraph.h:
10067         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10068
10069 2001-11-07  José Matos  <jamatos@fep.up.pt>
10070
10071         * buffer.h:
10072         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10073         const qualifier.
10074
10075         * buffer.C (sgmlOpenTag):
10076         * buffer.C (sgmlCloseTag): removed debug info.
10077
10078         * buffer.h (sgmlOpenTag):
10079         * buffer.h (sgmlCloseTag): made public.
10080
10081 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10082
10083         * buffer.C (saveParamsAsDefaults):
10084         * lyx_cb.C (MenuLayoutSave): remove
10085
10086         * LyXAction.C (init):
10087         * commandtags.h:
10088         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10089
10090 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10091
10092         * buffer.C (setPaperStuff): removed from here...
10093
10094         * bufferparams.C (setPaperStuff): ... and moved there.
10095
10096 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * minibuffer.h:
10099         * minibuffer.C:
10100         * XFormsView.C: add support for drop-down completion
10101
10102 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10103
10104         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10105         commands.
10106
10107 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10108
10109         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10110         disabled.
10111
10112 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * lyx_main.C: change ref to known bugs
10115
10116 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10117
10118         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10119         to work around older babel problems.
10120
10121 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10122
10123         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10124
10125 2001-10-24  Juergen Vigna  <jug@sad.it>
10126
10127         * tabular-old.C (ReadOld): below variable changes reflected.
10128
10129         * tabular.[Ch]: added ltType struct for longtable header/footer
10130         defines and changed all instances where they are used. Added
10131         future support for double top/bottom rows.
10132
10133 2001-10-24  José Matos  <jamatos@fep.up.pt>
10134
10135         * buffer.h (docbookHandleCaption):
10136         * buffer.C (docbookHandleCaption): removed unused function.
10137         (makeDocBookFile): moved docbook supported version to v4.1.
10138
10139 2001-10-24  José Matos  <jamatos@fep.up.pt>
10140
10141         * tabular.h:
10142         * tabular.C (docbookRow): new function to export docbook code of a row.
10143         (DocBook): now honors the longtable flags.
10144
10145 2001-10-23  José Matos  <jamatos@fep.up.pt>
10146
10147         * LaTeXFeatures.h:
10148         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10149         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10150
10151         * buffer.C (makeLinuxDocFile):
10152         (makeDocBookFile): reworked the preamble, more clean, and with
10153         support for lyx defined entities. Changed the document declaration
10154         to be more XML friendly.
10155
10156         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10157         if we need to output XML that should be done with a filter.
10158
10159 2001-10-22  Juergen Vigna  <jug@sad.it>
10160
10161         * sp_pspell.h (class PSpell): add alive function needed in the
10162         controller to see if the spellchecker could be started.
10163
10164 2001-10-22  Juergen Vigna  <jug@sad.it>
10165
10166         * buffer.C (insertStringAsLines): modify the font for inserting
10167         chars in certain conditions by calling checkInsertChar(font).
10168
10169 2001-10-19  Juergen Vigna  <jug@sad.it>
10170
10171         * text.C (workWidth): use getRow instead of wrong algorithm.
10172         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10173
10174 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * lyxserver.h:
10177         * lyxserver.C:
10178         * lyx_main.h:
10179         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10180
10181 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10182
10183         * text.C (workWidth): do not search for the exact row when
10184         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10185         optimization for big documents.
10186
10187 2001-10-18  Juergen Vigna  <jug@sad.it>
10188
10189         * text.C (workWidth): new function with added Inset * parameter.
10190
10191 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10194
10195         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10196         change return type of getColumnNearX.
10197
10198
10199         * text.C (changeRegionCase): use uppercase/lowercase instead of
10200         toupper/tolower.
10201         (leftMargin):
10202         (rightMargin): simplify code by factoring out the uses of
10203         textclasslist.
10204         (labelFill):
10205         (numberOfHfills):
10206         (setHeightOfRow):
10207         (appendParagraph): use Paragraph::size_type
10208
10209 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10210
10211         * vspace.C (asLatexString): add a missing break
10212
10213 2001-10-15  Herbert Voss  <voss@perce.de>
10214
10215         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10216
10217 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10218
10219         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10220         is not available.
10221
10222 2001-10-10  André Pönitz <poenitz@gmx.net>
10223
10224         * lyxfunc.C: removed greek_kb_flag.
10225
10226 2001-10-10  Herbert Voss  <voss@perce.de>
10227
10228         * lyx_main.C: delete global string help_lyxdir.
10229
10230 2001-10-09  Herbert Voss  <voss@perce.de>
10231
10232         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10233
10234         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10235
10236         * lyx_main.C: added global string help_lyxdir.
10237
10238         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10239
10240 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10241
10242         * lyxrc.C (set_font_norm_type): support iso8859-4
10243
10244 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10245
10246         * LaTeX.C (deplog): add another regex for MikTeX
10247
10248 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10249
10250         * lyxrc.C (set_font_norm_type): support iso8859-3
10251
10252 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10253
10254         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10255
10256         * LaTeXFeatures.C: remove special case of french and index
10257
10258         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10259         before \begin{document}). This solves several incompatibilities.
10260
10261 2001-10-03  Garst Reese  <reese@isn.net>
10262
10263         * lyx_cb.C: change CheckTex error msg.
10264
10265 2001-10-03  José Matos  <jamatos@fep.up.pt>
10266
10267         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10268
10269 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10270
10271         * .cvsignore: update
10272
10273         * lyx_main.C (commandLineVersionInfo): use new style version info.
10274
10275         * buffer.C (writeFile):
10276         (makeLaTeXFile):
10277         (makeLinuxDocFile):
10278         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10279
10280         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10281
10282         * version.h: update to use stuff in version.C
10283
10284         * version.C.in: new file. Contains version information determined
10285         at compile time. This is a merging of version.h and
10286         version_info.h.in.
10287
10288 2001-10-03  Juergen Vigna  <jug@sad.it>
10289
10290         * BufferView_pimpl.C (update): don't change "dirty" status in
10291         updateInset call.
10292
10293 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10294
10295         * WorkArea.C (c-tor): re-position version string slightly.
10296
10297 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10298
10299         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10300         revert to previous code.
10301
10302         WorkArea.[Ch]: (show, destroySplash): methods removed.
10303
10304         WorkArea.C: rework code so that it's an amalgam of the codes before and
10305         after the splash screen was moved to WorkArea.
10306
10307 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10308
10309         * lyxrc.C (read):
10310         * vspace.C (inPixels):
10311         (lyx_advance):
10312         * kbmap.C (bind):
10313         * buffer.C (insertStringAsLines):
10314         (asciiParagraph): fix types to be large enough
10315
10316         * lyxlex_pimpl.h: change member status from short to int
10317
10318         * layout.h: fix type of endlabeltype
10319
10320         * kbmap.C (bind):
10321         * kbsequence.C (parse): change return type to string::size_type
10322
10323         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10324         variable
10325
10326         * Bullet.C (bulletSize):
10327         (bulletEntry): do not use short ints as parameters
10328
10329         * BufferView2.C (insertLyXFile): change a char to an int.
10330
10331         * WorkArea.C (WorkArea): remove unneeded floats in computation
10332
10333 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10334
10335         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10336
10337         * paragraph.C (asString): Do not ignore newline/hfill chars when
10338         copying to the clipboard.
10339
10340 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10341
10342         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10343         after a multi-line inset.
10344
10345 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10346
10347         * paragraph.C (validate): Set NeedLyXFootnoteCode
10348
10349 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10350
10351         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10352         and decrease-error to decrease.
10353
10354 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10355
10356         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10357         it more readable (should be equivalent)
10358
10359 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10360
10361         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10362
10363 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10364
10365         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10366         of a cursor (row, etc.) after a character has been deleted
10367         (deleteEmptyParagraphMechanism): call the method above on _all_
10368         cursors held by the LyXText when a double space has been
10369         detected/deleted.
10370
10371 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10372
10373         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10374         pixmap.
10375         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10376
10377         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10378         background. Use greyOut() and the new show() methods to toggle between
10379         the foreground and background. Add code to remove the splash after
10380         its initial showing.
10381
10382         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10383         (create_forms): no longer call Dialogs::showSplash.
10384
10385 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * .cvsignore: add version_info.h
10388
10389 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * version_info.h.in: new file
10392
10393         * Makefile.am: add version_info.h.in
10394
10395         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10396         version_info.h instead of VERSION_INFO
10397
10398 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10399
10400         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10401         The ERT inset now returns string().
10402
10403 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10404
10405         * lyxtext.h, text.C (selectNextWord): renamed as
10406         selectNextWordToSpellcheck.
10407
10408         * text.C (selectNextWordToSpellcheck): Modified to not select
10409         words inside an ERT inset.
10410
10411 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10412
10413         * lyx_cb.C (MenuLayoutSave): change a bit the question
10414
10415         * sp_base.h: include <sys/types.h>
10416
10417 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10418
10419         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10420
10421 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10422
10423         * several files: fix typos in user-visible strings
10424
10425 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10426
10427         * text2.C (pasteSelection): do not set the selection, since it
10428         will be cleared later. Actually, the intent was to fix the way the
10429         selection was set, but I figured rmoving the code was just as good.
10430
10431 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10432
10433         * FontLoader.C (available): Check if font is available without
10434         loading the font.
10435
10436 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10437
10438         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10439
10440 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10441
10442         * lyxrc.[Ch]: added display_graphics variable and associated code.
10443
10444 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10445
10446         * bufferparams.C (hasClassDefaults): new method. Returns true if
10447         the buffer parameters correspond to known class defaults
10448
10449 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * XFormsView.C (show): set minimum size to the main window.
10452
10453 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10454
10455         * text2.C (copySelection):
10456         (cutSelection):
10457         * lyxfind.C (LyXReplace):
10458         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10459         LyXText::selectionAsString.
10460
10461         * paragraph.C (asString): add "label" argument to the second form
10462
10463         * text2.C (selectionAsString): add "label" argument and pass it to
10464         Paragraph::asString.
10465
10466 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10467
10468         * lyx_main.C (commandLineHelp): remove version information
10469
10470 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10471
10472         * lyx_main.C: add -version commandline option
10473
10474 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10475
10476         * paragraph.h: make the optional constructor arg required instead.
10477         some modifications to other files because of this.
10478
10479         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10480
10481         * lyxserver.C (C_LyXComm_callback): make it static
10482
10483         * lyx_main.C (error_handler): make it static
10484
10485         * lyx_gui.C (LyX_XErrHandler): make it static
10486
10487         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10488
10489         * WorkArea.C: make the extern "C" methods static.
10490
10491         * Makefile.am (lyx_LDADD): simplify
10492
10493 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10494
10495         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10496         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10497
10498         * LyXAction.C (init):
10499         * lyxfunc.C (dispatch): associated code removal.
10500
10501 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10502
10503         * lyxfont.h (isSymbolFont): shut off warning
10504
10505         * text.C (setHeightOfRow):
10506         (getVisibleRow): fix crash with empty paragraphs which have a
10507         bottom line
10508
10509 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10510
10511         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10512         code.
10513
10514 2001-09-04  José Matos  <jamatos@fep.up.pt>
10515         * buffer.C
10516         * buffer.h
10517         * tabular.C (docbook): rename docBook method to docbook.
10518
10519 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10520
10521         * Makefile.am: add dependencies to main.o.
10522
10523 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * FontLoader.C (available): Return false if !lyxrc.use_gui
10526
10527 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10528
10529         * FontInfo.C (query):
10530         * converter.C (view):
10531         * importer.C (Import):
10532         * exporter.C (Export): Can not -> cannot.
10533
10534 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * BufferView_pimpl.C: allow to create index inset even if
10537           string is empty
10538
10539 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10540
10541         * buffer.C (getLists): replace boost::tie code with an explicit pair
10542         as boost::tie can break some compilers.
10543
10544         * iterators.h: Added a std:: declaration to the return type of
10545         ParIterator::size.
10546
10547 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10550           case.
10551
10552 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10553
10554         * iterators.[Ch]: New files. Provide paragraph iterators.
10555
10556         * buffer.C (changeLanguage): Use paragraph iterators.
10557         (isMultiLingual): ditto
10558
10559         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10560
10561 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10562
10563         * FontLoader.C: Support for cmr font.
10564
10565 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10566
10567         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10568         (available): New method.
10569
10570         * FontInfo.C (getFontname): Use scalable fonts even when
10571         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10572         found.
10573
10574 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10575
10576         * converter.C (Formats::view): reverted! Incorrect fix.
10577
10578 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10579
10580         * converter.C (Formats::view): only output the -paper option
10581         if the dvi viewer is xdvi, thereby fixing bug #233429.
10582
10583 2001-08-23  Herbert Voss  <voss@perce>
10584
10585         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10586
10587 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10588
10589         * Spacing.h (Spacing): Set space to Default on in the default
10590         constructor.
10591
10592 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10593
10594         * vc-backend.h (RCS::versionString): add RCS to version
10595         (CVS::versionString): add CVS to version
10596
10597         * vc-backend.C (scanMaster): do not add CVS to version.
10598         (scanMaster): do not add RCS to version
10599
10600         * lyxvc.C (versionString): new method
10601
10602         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10603
10604 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10605
10606         * Spacing.C (set): initialize fval
10607
10608 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10609
10610         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10611         " or \.
10612
10613 2001-08-16  Juergen Vigna  <jug@sad.it>
10614
10615         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10616
10617 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * BufferView_pimpl.C:
10620         * figureForm.C:
10621         * lyxtext.h:
10622         * text2.C: setParagraph takes linespacing now
10623
10624 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * LyxAction.C: add internal LFUN_CITATION_INSERT
10627
10628         * LyXView.C: actually apply fix
10629
10630         * bufferlist.C: fix open non-existent file
10631
10632         * lyxfind.C: fix indentation
10633
10634         * lyxfunc.C: remove unneeded assert, fix typo
10635
10636 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * MenuBackend.C: use "Floatname List"
10639
10640 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10641
10642         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10643         when converting LaTeX layout to insetERT.
10644         Generate a non-collapsed float when reading old float
10645
10646 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10649         ERT insets.
10650
10651 2001-08-13  Juergen Vigna  <jug@sad.it>
10652
10653         * text.C (fill): return 0 instead of 20 as this seems to be the more
10654         correct value.
10655
10656 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10657
10658         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10659         lyxrc.font_norm.
10660
10661 2001-08-13  Juergen Vigna  <jug@sad.it>
10662
10663         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10664         casesensitive off.
10665         (SearchBackward): comment out the unlocking of the inset_owner this
10666         should not be needed!
10667
10668 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10669
10670         * Many files: Remove inherit_language, and add latex_language
10671
10672         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10673         collapsible insets.
10674
10675 2001-08-10  Juergen Vigna  <jug@sad.it>
10676
10677         * text.C (prepareToPrint): fixed hfill-width in draw!
10678
10679         * BufferView2.C (selectLastWord): save the selection cursor as this
10680         now is cleared in the function LyXText::clearSelection!
10681
10682 2001-08-08  Juergen Vigna  <jug@sad.it>
10683
10684         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10685         BACKSPACE type functions.
10686
10687         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10688         is only cutted from the document but not put in the cut-buffer, where
10689         still the old stuff should be.
10690
10691         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10692
10693         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10694
10695         * tabular.C (SetWidthOfCell): fixed special case where the width
10696         was not updated!
10697         (LeftLine): handle '|' in align_special.
10698         (RightLine): ditto
10699         (LeftAlreadyDrawed): ditto
10700         (SetWidthOfCell): ditto
10701
10702 2001-08-07  Juergen Vigna  <jug@sad.it>
10703
10704         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10705
10706 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10709         * lyxlex.[hC]: ditto
10710
10711 2001-08-06  Juergen Vigna  <jug@sad.it>
10712
10713         * text.C (getVisibleRow): fix up row clearing a bit.
10714
10715 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * minibuffer.C: make sure the X server sees the changes in the input.
10718
10719 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10720
10721         * paragraph.C (getFont): split into...
10722         (getLabelFont): this
10723         (getLayoutFont): and this
10724         * paragraph_pimpl.C (realizeFont): calling this
10725
10726         * text2.C (getFont): split into...
10727         (getLayoutFont): this
10728         (getLabelFont): and this
10729         (realizeFont): all three calling this
10730
10731         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10732         files where used.
10733
10734 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10735
10736         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10737
10738 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10739
10740         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10741         layouts from the Quote inset insertion.
10742
10743 2001-08-03  Juergen Vigna  <jug@sad.it>
10744
10745         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10746
10747         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10748         only if status not is already CHANGED_IN_DRAW (second level).
10749
10750         * text.C (draw): don't set the need_break_row when inside an
10751         InsetText LyXText.
10752
10753 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * buffer.C (parseSingleLyXformat2Token): handle more latex
10756         conversion cases.
10757
10758         * bufferview_funcs.[hC]: change function names to
10759         begin with small char, adjust other files.
10760
10761 2001-08-02  André Pönitz <poenitz@gmx.net>
10762
10763         * lyxfunc.C:
10764         BufferView_pimpl.C: remove broken special code for math-greek
10765
10766 2001-08-02  Juergen Vigna  <jug@sad.it>
10767
10768         * BufferView_pimpl.C (update): redone this function so that we
10769         update the text again if there was a CHANGE_IN_DRAW.
10770
10771         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10772         (drawFromTo): added a new internal bool which is used by draw() and
10773         redraw() function.
10774         (general): some cursor drawing problems fixed.
10775
10776 2001-08-01  Juergen Vigna  <jug@sad.it>
10777
10778         * lyxfind.C (LyXFind): fixed
10779         (SearchForward): ditto
10780         (SearchBackward): ditto
10781
10782         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10783         spurius drawing of the cursor in the main area.
10784
10785         * text2.C (status): small fix which could lead to a segfault!
10786         (clearSelection): remove unneeded BufferView param.
10787
10788 2001-08-01  André Pönitz <poenitz@gmx.net>
10789
10790         * lyxfunc.C: small change due to changed mathed interface
10791
10792 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10795
10796 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * lyxfunc.c: fail gracefully if file doesn't exist
10799
10800         * LyXSendto.C:
10801         * buffer.C:
10802         * lyxfunc.C:
10803         * BufferView_pimpl.C: IsDirWriteable() proto changed
10804
10805         * LyXView.C: fix updateWindowTitle() to store the last title
10806
10807 2001-07-31  Juergen Vigna  <jug@sad.it>
10808
10809         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10810         the font (wrong since using of Paragraph::highestFontInRange).
10811
10812         * paragraph.C (highestFontInRange): added a default_size parameter.
10813
10814         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10815         (setHeightOfRow): reformat
10816
10817 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * converter.[hC] + affected files: move to (inital-char)lowercase
10820         function names.
10821
10822         * ParagraphParameters.C (ParagraphParameters): remove commented code
10823
10824         * PainterBase.[Ch]: remove commented code
10825
10826         * LaTeXFeatures.h: add "bool floats" for float.sty
10827
10828         * LaTeXFeatures.C (LaTeXFeatures): init floats
10829         (require): handle float
10830         (getPackages): do it with floats
10831
10832 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10833
10834         * BufferView_pimpl.C (Dispatch): improve handling of
10835         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10836
10837         * commandtags.h: #include lyxfont.h here temporarily to avoid
10838         keybinding bug.
10839
10840         * bufferlist.h: include LString.h here.
10841
10842 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10843
10844         * text2.C (getStringToIndex): new method.
10845
10846 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10847
10848         * *: Reduced header file dependencies all over.
10849
10850 2001-07-30  Baruch Even  <baruch@lyx.org>
10851
10852         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10853
10854 2001-07-29  Baruch Even  <baruch@lyx.org>
10855
10856         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10857
10858 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10859
10860         * ParameterStruct.h (endif): add a default constructor to make
10861         sure that all variables is initialized.
10862
10863         * ParagraphParameters.C (ParagraphParameters): adjust
10864
10865 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10868         index; also, check that there is something to index, and that it
10869         does not span over several paragraphs.
10870         (doubleClick): use WHOLE_WORD_STRICT for double click.
10871
10872         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10873
10874         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10875         scheme.
10876
10877 2001-07-26  Baruch Even  <baruch@lyx.org>
10878
10879         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10880         an InsetFig figure, backwards compatible reading of old figure code.
10881
10882 2001-07-27  Juergen Vigna  <jug@sad.it>
10883
10884         * text2.C: font.realize function adaption.
10885
10886         * text.C (draw): add a warnings lyxerr text if needed.
10887
10888         * layout.C: font.realize function adaption.
10889
10890         * language.C: add inherit_language and implement it's handlings
10891
10892         * bufferview_funcs.C (StyleReset): remove language parameter from
10893         font creation (should be language_inherit now).
10894
10895         * bufferparams.C (writeFile): handle ignore_language.
10896
10897         * paragraph.C (getFontSettings): the language has to be resolved
10898         otherwise we have problems in LyXFont!
10899
10900         * lyxfont.C (lyxWriteChanges): added document_language parameter
10901         (update): removed unneeded language parameter
10902
10903         * paragraph.C (validate): fixed wrong output of color-package when
10904         using interface colors for certain fonts in certain environments,
10905         which should not seen as that on the final output.
10906
10907 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * BufferView_pimpl.C:
10910         * Thesaurus.h:
10911         * Thesaurus.C:
10912         * Makefile.am:
10913         * commandtags.h:
10914         * LyXAction.C: add thesaurus support
10915
10916         * lyxfind.h:
10917         * lyxfind.C: add "once" parameter, for thesaurus, to not
10918           move to the next match
10919
10920 2001-07-26  Juergen Vigna  <jug@sad.it>
10921
10922         * lyxfont.C (realize): honor ignore_language too!
10923         (resolved): ditto.
10924
10925         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10926
10927         * text.C (draw): one place more for ignore_language to not draw
10928         itself!
10929
10930 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10931
10932         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10933
10934 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10937         the minipage conversion problem.
10938
10939 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10942         insert an inset.
10943
10944 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10945
10946         * BufferView.h: don't forward declare WorkArea
10947
10948         * BufferView.C: don't include WorkArea.h
10949
10950 2001-07-25  André Pönitz <poenitz@gmx.net>
10951
10952         * commandtags.h:
10953         * LyXAction.C:
10954         * lyxfunc.C:  new LFUN 'math-space'
10955
10956         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10957
10958 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * text2.C (toggleInset): call open/close
10961
10962 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * lyxfunc.C (dispatch): add debug for the disabled case
10965
10966         * font.C (buttonText): make similar to rectText
10967
10968         * buffer.C (readInset): comment out parsing of insetlist and
10969         insttheorem
10970
10971         * PainterBase.C (rectText): small correction
10972
10973         * BufferView_pimpl.C: comment out insettheorem and insetlist
10974         * LyXAction.C: ditto
10975         * commandtags.h: ditto
10976
10977 2001-07-24  Juergen Vigna  <jug@sad.it>
10978
10979         * text.C (draw): honor the ignore_language.
10980
10981         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10982
10983 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10984
10985         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10986         char inset.
10987
10988 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10989
10990         * lyxtext.h: remove unused (and unimplemented) methods
10991
10992 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10993
10994         * text.C (getVisibleRow): honor background color
10995
10996         * PainterBase.h:
10997         * Painter.h: remove default color argument for fillRectangle
10998
10999         * text.C (backgroundColor): new method
11000
11001 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * text.C (getVisibleRow): adjust
11004
11005         * font.[Ch] (rectText): new method, metrics
11006         (buttonText): new method, metrics
11007
11008         * PainterBase.[hC]: make rectText and buttonText always draw and take
11009         fewer paramteres.
11010
11011 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11012
11013         * ToolbarDefaults.C (read):
11014         * MenuBackend.C (read): allow escaping in all strings
11015
11016         * BufferView_pimpl.C (insertAndEditInset): new method.
11017         (Dispatch): use insertAndEditInset whenever appropriate.
11018
11019         * BufferView_pimpl.C (insertNote): removed
11020
11021         * BufferView_pimpl.C (smartQuote): new method, moved from
11022         BufferView; if an insetquote cannot be inserted, insert a '"'
11023         character instead.
11024
11025         * BufferView2.C: remove insertCorrectQuote();
11026
11027         * lyxfunc.C (getStatus): Add support for all remaingin
11028         inset-insert lfuns.
11029
11030         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11031
11032         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11033         command (necessary to pass " as parameter of self-insert.
11034
11035         * text.C (selectWordWhenUnderCursor):
11036         (selectWord): add word_location parameter
11037         (selectWordWhenUnderCursor): same + remove special code for word
11038         boundary.
11039         (selectNextWord): use kind() to guess type of insetspecialchar,
11040         not latex().
11041
11042         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11043         (insertErtContents): create ert insets as collapsed.
11044         (readInset): better compatibility code for Info inset.
11045
11046 2001-07-20  Juergen Vigna  <jug@sad.it>
11047
11048         * lyxfunc.C (dispatch): use always LyXFind now!
11049
11050         * text2.C (init): add a reinit flag so that the LyXText can be
11051         reinited instead of deleted and reallocated (used in InsetText).
11052
11053         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11054
11055         * text.C: ditto
11056
11057         * text2.C: ditto
11058
11059 2001-07-18  Juergen Vigna  <jug@sad.it>
11060
11061         * text.C (selectNextWord): handle insets inside inset by calling
11062         always the bv->text functions so that we can go up the_locking_inset!
11063
11064         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11065         in strange locations when inside an inset!
11066
11067         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11068         handling to include insets.
11069
11070         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11071
11072 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11073
11074         * LyXAction.C (init):
11075         * commandtags.h:
11076         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11077         LIGATURE_BREAK, since the name is so stupid.
11078
11079 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11080
11081         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11082         InsetInfos.
11083
11084         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11085
11086         * sp_form.[Ch]: remove.
11087
11088         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11089
11090         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11091         InsetInfo.
11092
11093         * src/buffer.C (readInset): ditto.
11094
11095 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11096
11097         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11098         menuSeparator(), endOfSentenceDot(), ldots() and
11099         hyphenationPoint(), which are therefore removed.
11100         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11101
11102         * LyXAction.C (init):
11103         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11104
11105         * paragraph.C (getWord): removed.
11106
11107         * BufferView_pimpl.C (Dispatch): use last word or selection for
11108         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11109
11110         * lyx_main.C (queryUserLyXDir): do not ask before creating
11111         user_dir, except if it has been named explicitely.
11112
11113 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11116         a document of zero size.
11117
11118 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11119
11120         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11121         approriately in the c-tor and in require().
11122         (getPackages): output the appropriate LaTeX for natbib support.
11123
11124         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11125         variables "use_natbib" and "use_numerical_citations" when reading the
11126         LyX file.
11127         (readInset): read the various natbib cite commands.
11128         (validate): white-space change.
11129
11130         * bufferparams.[Ch]: new variables "bool use_natbib" and
11131         "bool use_numerical_citations".
11132         (writeFile): output them in the LyX file.
11133
11134 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11135
11136         * lyxfunc.C (getStatus): add support for all the inset insertion
11137         commands.
11138
11139         * text2.C (insertInset):
11140         * paragraph.C (insetAllowed):
11141         * BufferView_pimpl.C (insertInset): update to take in account the
11142         renaming of insertInsetAllowed
11143
11144         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11145
11146         * text2.C (getInset): new method. returns inset at cursor position.
11147
11148         * BufferView_pimpl.C (Dispatch): changes because of this.
11149
11150         * LyXAction.C (init): rename open-stuff to inset-toggle.
11151
11152         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11153
11154         * text2.C (toggleInset): renamed from openStuff; use
11155         Inset::open().
11156
11157 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11158
11159         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11160
11161         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11162
11163 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11164
11165         * buffer.C (readLyXformat2): Add filename to the error dialog
11166
11167 2001-07-18  Juergen Vigna  <jug@sad.it>
11168
11169         * tabular.C (GetCellNumber): put an assert here instead of the check!
11170
11171 2001-07-17  Juergen Vigna  <jug@sad.it>
11172
11173         * BufferView_pimpl.C (toggleSelection): adapted too.
11174
11175         * text.C (selectNextWord): adapted for use with insets.
11176         (selectSelectedWord): ditto
11177
11178 2001-07-17  Juergen Vigna  <jug@sad.it>
11179
11180         * sp_spell.C (PSpell): fix initialitation order.
11181
11182 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * paragraph.C: spacing
11185
11186 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11187
11188         * sp_spell.C: repair language selection for pspell
11189
11190 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * lyxfunc.h: change more methods to begin with lower char.
11193
11194 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11195
11196         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11197         for unknown layouts.
11198
11199 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11200
11201         * buffer.C (readLyXformat2): Generate an error dialog if there are
11202         unknown layouts.
11203
11204 2001-07-16  Juergen Vigna  <jug@sad.it>
11205
11206         * sp_spell.C: always compile ISpell part.
11207
11208         * lyxrc.C: added use_pspell entry and it's handling.
11209
11210 2001-07-13  Juergen Vigna  <jug@sad.it>
11211
11212         * sp_spell.C: removed double includes.
11213
11214 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         Consistent use of Lsstream.h:
11217         * Lsstream.h: added using std::stringstream for consistencies sake.
11218
11219         * buffer.C: removed using std::stringstream
11220
11221         * lyxfont.C (stateText):
11222         * paragraph.C (asString):
11223         * text.C (selectNextWord, selectSelectedWord):
11224         * text2.C (setCounter):
11225         * vspace.C (asString, asLatexString):
11226         std::ostringstream -> ostringstream.
11227
11228 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11229
11230         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11231         * commandtags.h: add LFUN_HELP_ABOUTLYX
11232         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11233
11234 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11235
11236         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11237         cursorToggle()
11238         * lyx_gui_misc.C: remove spellchecker
11239         * lyxfunc.C: showSpellchecker
11240         * sp_base.h: added
11241         * sp_ispell.h: added
11242         * sp_pspell.h: added
11243         * sp_spell.C: added
11244         * sp_form.[Ch]: removed
11245         * spellchecker.[Ch]: removed
11246
11247 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11248
11249         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11250         is set.
11251         (simpleTeXSpecialChars): Simply print the input character without
11252         any special translation if pass_thru is set.
11253
11254         * layout.h: Added bool pass_thru to layout class for being able to
11255         implement pass through of a paragraph for Literate Programming.
11256
11257         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11258         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11259         * layout.C (Read): add "passthru" to list of layout tags and add
11260         code to set the pass_thru boolean when it is read.
11261
11262 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * trans_decl.h: remove allowed from KmodInfo
11265
11266         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11267         remove allowed code
11268         (Load): adjust
11269
11270         * paragraph_pimpl.C (erase): use boost::prior
11271
11272         * Painter.C (text): use data() instead of c_str() when length is
11273         also provided.
11274         * WorkArea.C (putClipboard): ditto
11275         * font.h (width): ditto
11276
11277         * BufferView2.C: use it-> instead of (*it). for iterators
11278         * texrow.C: ditto
11279         * paragraph_pimpl.C: ditto
11280         * paragraph.C: ditto
11281         * minibuffer.C: ditto
11282         * language.C: ditto
11283         * kbmap.C: ditto
11284         * encoding.C: ditto
11285         * counters.C: ditto
11286         * converter.C: ditto
11287         * chset.C: ditto
11288         * Variables.C: ditto
11289         * TextCache.C: ditto
11290         * MenuBackend.C: ditto
11291         * LyXAction.C: ditto
11292         * LColor.C: ditto
11293         * FloatList.C: ditto
11294         * DepTable.C: ditto
11295         * ColorHandler.C (LyXColorHandler): ditto
11296
11297 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11298
11299         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11300
11301         * text2.C (openStuff): reintroduce this method (which had been
11302         nuked in NEW_INSETS frenzy).
11303
11304         * lyxfunc.C (Dispatch): when an action has not been handled, use
11305         its name in the error message, not its number.
11306
11307         * paragraph.C (inInset): change method name to begin with lowercase.
11308
11309         * undo_funcs.C:
11310         * text2.C: updates because of this.
11311
11312 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11313
11314         * ToolbarDefaults.C (add): add spaces in error message
11315
11316 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11317
11318         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11319         (readLyXformat2): rename return_par to first_par, use lyxlex's
11320         pushToken and remove the manual push handling.
11321         (parseSingleLyXformat2Token): add another ert comp. variable:
11322         in_tabular, rename return_par to first_par. handle newlines better
11323
11324 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11325
11326         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11327
11328 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11329
11330         * text2.C (getParFromID): removed
11331
11332         * buffer.C (getParFromID): new method moved form lyxtext.
11333         * BufferView2.C (insertErrors): adjust
11334         (setCursorFromRow): adjust
11335         * BufferView_pimpl.C (restorePosition): adjust
11336         * lyxfunc.C (Dispatch): adjust
11337         * undo_funcs.C (textUndo): adjust
11338         (textRedo): adjust
11339         (textHandleUndo): adjust
11340         (textHandleUndo): adjust
11341
11342 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11343
11344         * buffer.C: up' the LYX_FORMAT
11345
11346         * lyxfont.h: turn NO_LATEX on as default
11347
11348         * buffer.C (insertErtContents): new methods of tex style compability.
11349         (parseSingleLyXformat2Token): use it several places.
11350         * tabular.C (OldFormatRead): and here
11351
11352 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * text2.C: remove some commented code.
11355         reindent file.
11356
11357         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11358         * trans.C: changes because of the above.
11359
11360 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11361
11362         * text2.C (setCounter): Fix counters bug with bibliography layout.
11363
11364 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11367         own member functions
11368         (simpleTeXSpecialChars): ditto
11369
11370 2001-07-06  Juergen Vigna  <jug@sad.it>
11371
11372         * a lot of files: changed the access to LyXText::status and the
11373         call of undo-functions.
11374
11375         * undo.[Ch]: added a inset_id to the undo informations.
11376
11377         * undo_funcs.[Ch]: added and moved here all undo functions.
11378
11379         * lyxtext.h: give the status enum a weight, made status_ a private
11380         variable and made accessor functions for it, removed the whole bunch
11381         of undo-functions as they are now in their own file, make some
11382         functions publically available. Added function ownerParagraph with
11383         int parameter.
11384
11385         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11386         made InInset() a const function, added getParFromID() function.
11387
11388         * buffer.[Ch]: added const version for inset_iterator functions,
11389         added getInsetFromID() function.
11390
11391         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11392         changed undo functions for new version.
11393
11394 2001-07-05  Juergen Vigna  <jug@sad.it>
11395
11396         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11397         unknow mechanism does not call the proper constructor but only this
11398         one also if I request the other!?
11399
11400 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11403
11404         * text2.C (LyXText): use initialization lists.
11405
11406         * lyxtext.h (Selection): initialize set_ and mark_
11407         (init): remove method
11408
11409 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11410
11411         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11412
11413 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * screen.[Ch]: change method names to begin with lowercase
11416
11417         * BufferView_pimpl.C (updateScrollbar): simplify further and
11418         hopefully make it a bit faster.
11419
11420 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11421
11422         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11423         calling directly xforms functions.
11424
11425         * Painter.C (Painter):
11426         * lyx_cb.C (MenuWrite):
11427         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11428         fl_display.
11429
11430         * lyx_gui.C: remove bogus guiruntime extern declaration.
11431
11432 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11435         in NEW_INSETS
11436         (redoDrawingOfParagraph): ditto
11437         (redoParagraphs): ditto
11438         (cutSelection): don't create a object for CutAndPaste use the
11439         static method directly
11440         (pasteSelection): ditto
11441
11442         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11443         LyXview (+ rename)
11444
11445 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * modifications to some other files because of this.
11448
11449         * Makefile.am (lyx_SOURCES): add XFormsView
11450
11451         * XFormsView.[Ch]: new files
11452
11453         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11454         the main window. Move the gui dependent stuff to XFormsView
11455
11456 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11457
11458         * tabular.C (GetCellInset): update cur_cell also in the row/col
11459         version of this function.
11460
11461         * lyxfunc.C: no need to include figure_form.h here.
11462
11463         * FontLoader.h:
11464         * lyxfunc.h:
11465         * lyxscreen.h:
11466         * text2.C:
11467         * lyxvc.C: no need to include forms.h here.
11468
11469 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11470
11471         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11472
11473         * lyxfunc.C (Dispatch):
11474         * Spacing.C (set):
11475         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11476         constructor argument.
11477
11478 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * paragraph.C (Paragraph): dont't clear, and just set layout.
11481         (makeSameLayout): use params's copy contructor.
11482
11483         * ParagraphParameters.[Ch] (makeSame): delete method
11484
11485 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * Variables.[Ch]: fix indentation, rename set to isSet
11488
11489 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * lyxfunc.C (Dispatch): fix typo
11492
11493 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11496         upper_bound.
11497
11498         * bufferlist.C: include assert.h for emergencyWrite().
11499
11500 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11503           give up at last (bug #425202) !
11504
11505 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11506
11507         * lyx_gui_misc.C:
11508         * sp_form.h:
11509         * sp_form.C:
11510         * spellchecker.h:
11511         * spellchecker.C: strip spellchecker options and bring up
11512           preferences tab instead
11513
11514 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11515
11516         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11517         the istringstream constructor
11518
11519 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * paragraph.C (getLayout): fix return value
11522
11523         * paragraph.h: do not declare getLayout as inline.
11524
11525         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11526
11527 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * lyxcursor.h (operator<): new func
11530         (operator>): new func
11531         (operator>=): new func
11532         (operator<=): new func
11533
11534         * text.C (changeCase): use selection.start and selection.end
11535         (changeRegionCase): require from to be <= to. Require par to be a
11536         valid paragraph.
11537
11538         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11539
11540 2001-06-27  Juergen Vigna  <jug@sad.it>
11541
11542         * text.C (cursorLeftOneWord): changed to return the cursor and added
11543         overlay with BufferView * parameter which calls this one.
11544         (getWord): added
11545         (selectWord): use new getWord function.
11546         (changeCase): renamed from changeWordCase as and extended to work
11547         also on selections.
11548
11549         * lyxtext.h: added enum word_location
11550
11551         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11552         changeCase as this operates now also on selections.
11553
11554 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11555
11556         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11557
11558         * many files: send debug output to Debug::INFO instead of
11559         Debug::ANY.
11560
11561         * converter.C (View):
11562         (Convert):
11563         (Move): send debug output to Debug::FILES instead of console.
11564
11565 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11566
11567         * lyxfunc.C (getStatus): use func_status
11568
11569         * func_status.h: new header, describing the results of
11570         LyXFunc::getStatus;
11571
11572         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11573         LFUN_MATH_HALIGN.
11574
11575 2001-06-25  The LyX Project  <jug@sad.it>
11576
11577         * buffer.C (sgmlOpenTag):
11578         (sgmlCloseTag):
11579         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11580
11581 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * text2.C: remove some dead code
11584
11585         * tabular.C (GetCellInset): store the last cell checked (gotten)
11586
11587         * tabular.h: add the helper for the speedup
11588
11589         * lyxtext.h: remove some dead code
11590
11591 2001-06-26  The LyX Project  <Asger>
11592
11593         * paragraph.C: Change export to LaTeX of alignment to
11594         \begin{center} and family for better roundtrip work with reLyX.
11595
11596         * Tune the math drawing a bit.
11597
11598 2001-06-25  The LyX Project  <Asger>
11599
11600         * LColor.C (LColor): New color for math background. New color
11601         for buttons.
11602
11603 2001-06-25  The LyX Project  <jug@sad.it>
11604
11605         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11606
11607         * lyxfunc.C (Open):
11608         * bufferlist.C (newFile): do not restrict to files ending with
11609         .lyx
11610
11611         * BufferView_pimpl.C (MenuInsertLyXFile):
11612
11613 2001-06-24  The LyX Project  <jug@sad.it>
11614
11615         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11616         of compare_no_case
11617
11618 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * lyxtext.h: rename most methods to begin with a small char.
11621         Lots of changes because of this.
11622
11623         * paragraph.C (Paragraph): do not call fitToSize
11624         (erase): call Pimpl::erase
11625         (insertChar): call Pimpl::insertChar
11626         (insertInset): call Pipl::insertInset
11627         (breakParagraph): do not call fitToSize
11628         (breakParagraphConservative): do not call fitToSize
11629         (fitToSize): remove method
11630
11631         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11632
11633 2001-06-24  The LyX Project  <Asger>
11634
11635         * Fix Qt compilation^2
11636
11637 2001-06-24  The LyX Project  <jug@sad.it>
11638
11639         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11640         depthHook(getDepth()-1).
11641
11642         * paragraph.h:
11643         * ParagraphParameters.h:
11644         * ParameterStruct.h: change type of depth to unsigned int ==
11645         depth_type. Many adaptations to other files before of that.
11646
11647 2001-06-24  The LyX Project  <Asger>
11648
11649         * Fix Qt compilation.
11650
11651 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * paragraph.h: renamed several methods to begin with small letter.
11654         several changes to many parts of the code because of this.
11655
11656 2001-06-23  The LyX Project  <jug@sad.it>
11657
11658         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11659         rewritten to discard all double spaces when KeepEmpty is off
11660         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11661         to only handle newlines but not fiddle with spaces and friends.
11662
11663         * lyxfunc.C (MenuNew): when doing 'new from template', use
11664         template_path as default directory
11665
11666 2001-06-23  The LyX Project  <Asger>
11667
11668         * Clean-up of header file includes all over
11669         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11670
11671 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * paragraph.h: renamed from lyxparagraph.h
11674
11675 2001-06-23  Asger  <lyx@violet.home.sad.it>
11676
11677         * Buffer.h: Removed Buffer::resize
11678         * BufferList.h: Removed BufferList::resize
11679         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11680         the document lazily when we change the width, or the font settings.
11681
11682 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11685
11686 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11687
11688         * buffer.h: remove out of date comment
11689
11690 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * lyxscreen.h:
11693         * screen.C: fix "theoretical" GC leak
11694
11695 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11696
11697         * LaTeX.C (scanAuxFile):
11698         (deplog): remove trailing \r when reading stream (useful under
11699         win32)
11700
11701 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11702
11703         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11704         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11705         and BufferView::theLockingInset(Inset*), so should use them and not
11706         access bv_->text->the_locking_inset directly.
11707
11708         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11709
11710 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * Makefile.am:
11713         * tex-defs.h: remove old unused file
11714
11715 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11716
11717         * BufferView_pimpl.C: fix typo, remove minibuffer message
11718           when buffer has loaded
11719
11720 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * lyxfunc.C (Dispatch): use stringstream
11723         (MenuNew): use stringstream
11724         (Open): use stringstream
11725
11726         * importer.C (Import): use stringstream
11727
11728         * bufferview_funcs.C (CurrentState): use stringstream
11729
11730         * LaTeX.C (run): use stringstream
11731
11732         * BufferView_pimpl.C (savePosition): use stringstream
11733         (restorePosition): use stringstream
11734         (MenuInsertLyXFile): use stringstream
11735
11736 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11737
11738         * BufferView.C:
11739         * Bullet.C:
11740         * ColorHandler.C:
11741         * FontInfo.C:
11742         * FontLoader.C:
11743         * LColor.C:
11744         * LaTeXFeatures.C:
11745         * Painter.C:
11746         * gettext.C:
11747         * lyx_gui_misc.C:
11748         * lyxserver.C:
11749         * vspace.C: removed // -*- C++ -*- as first line.
11750
11751         * lyxfind.h:
11752         * version.h: added // -*- C++ -*- as first line.
11753
11754 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11757
11758         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11759         of string
11760
11761 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11764         of floats.
11765
11766 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11767
11768         * gettext.C: include LString.h even when --disable-nls is on.
11769
11770 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11771
11772         * converter.h (Get): changed argument type from int to
11773         FormatList::size_type to avoid unnecessary conversion.
11774
11775         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11776         before using it.
11777
11778 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11779
11780         * gettext.h: include LString.h even when --disable-nls is on.
11781
11782 2001-06-07  Juergen Vigna  <jug@sad.it>
11783
11784         * text.C (BreakAgain): subst spaces with tabs.
11785
11786         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11787         (resizeInsetsLyXText): set force on resizeLyXText.
11788
11789 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11790
11791         * gettext.h (gettext_init):
11792         (locale_init): use a real definition instead of a macro
11793
11794 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * Bufferview_pimpl.C:
11797         * LColor.h:
11798         * LColor.C: further lcolor tidies
11799
11800 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * BufferView_pimpl.C (updateScrollbar): simplify.
11803
11804         * BufferView2.C: don't include insets/insetinfo.h, change
11805         prototype for insertInset and call the Pimpl version. let
11806         updateInset call Pimpl version.
11807
11808         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11809         gotoInset to BufferView::Pimpl
11810
11811 2001-06-01  Juergen Vigna  <jug@sad.it>
11812
11813         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11814         inside a LockingInset (is the update needed at all?).
11815
11816 2001-05-31  Juergen Vigna  <jug@sad.it>
11817
11818         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11819         here not the old one otherwise how should we compare it afterwards
11820         if it's the same!
11821
11822 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11823
11824         * lyxfont.C:
11825         * tabular.C:
11826         * tabular-old.C:
11827         * FontInfo.C: bring C functions into global namespace when
11828         necessary
11829
11830 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * LString.h: make sure config.h has been loaded before LString.h.
11833
11834         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11835         (one for each char read by EatLine!).
11836
11837         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11838         variables.
11839
11840 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11843         to the same as the par we break from
11844
11845 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11848
11849         * MenuBackend.C (expand): also create menu entries for wide
11850         versions of the floats.
11851
11852         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11853
11854         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11855
11856         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11857         frontends/Makefile.am
11858
11859         * text2.C: adjust
11860         * text.C: adjust
11861
11862
11863         * tabular.C (getTokenValue): add std::
11864
11865         * tabular-old.C (getTokenValue): add std::
11866         (getTokenValue): ditto
11867         (getTokenValue): ditto
11868
11869         * screen.C (ToggleSelection): adjust
11870
11871         * lyxtext.h: put selection cursors inside a Selection struct.
11872
11873         * lyxfunc.C (moveCursorUpdate): adjust
11874
11875         * lyxfont.C (latexWriteStartChanges): add std::
11876
11877         * lyxfind.C: adjust
11878
11879         * font.h: delete with(char const *, LyXFont const &)
11880
11881         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11882
11883         * FontInfo.C (getFontname): add std::
11884
11885         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11886         (workAreaButtonPress): adjust
11887         (tripleClick): adjust
11888         (update): adjust
11889         (moveCursorUpdate): adjust
11890         (Dispatch): adjust
11891
11892         * BufferView2.C (gotoInset): adjust
11893
11894 2001-05-30  Juergen Vigna  <jug@sad.it>
11895
11896         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11897         to check pspell I add this as default as I now have new pspell
11898         libraries and they seem to use this.
11899
11900 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * text2.C (CutSelection): make the cursor valid before the call to
11903         ClearSelection.
11904
11905 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11906
11907         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11908         relied on 0 terminated strings and other horrors. Bug found due to
11909         the new assert in lyxstring!
11910
11911         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11912         KP_ keys.
11913
11914 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11917         to latinkeys.bind.
11918
11919         * lyxfunc.C (processKeySym): change method of getting to the
11920         self-insert char.
11921
11922         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11923         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11924         * BufferView_pimpl.[Ch]: here as private methods.
11925
11926 2001-05-28  Juergen Vigna  <jug@sad.it>
11927
11928         * text.C (SetHeightOfRow): added the update() call again as it is
11929         needed to initialize inset dimensions!
11930
11931 2001-05-16  Juergen Vigna  <jug@sad.it>
11932
11933         * text2.C (SetCharFont): Add new function with BufferView * and
11934         bool toggleall parameters for setting insets internal fonts.
11935         (SetFont): Freeze the undo as we may change fonts in Insets and
11936         all this change should be inside only one Undo!
11937
11938         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11939         setting font's in insets as for them we have the SetFont function!
11940
11941 2001-05-15  Juergen Vigna  <jug@sad.it>
11942
11943         * text2.C (ClearSelection): to be sure we REALLY don't have any
11944         selection anymore!
11945
11946         * tabular.C (TeXCellPreamble): fixed the left border problem for
11947         multicolumn cells.
11948
11949 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11950
11951         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11952         dependancy file
11953
11954 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11957         LFUN_BREAKPARAGRAPH.
11958
11959         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11960         help test to "internal only", similar for LFUN_INSERT_URL
11961
11962         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11963         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11964         auto_region_delete and deadkeys.
11965
11966 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * LColor.h:
11969         * LColor.C: remove some dead entries, tidy a little
11970
11971 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11974         commented code.
11975         (Dispatch): implement LFUN_ESCAPE
11976
11977         * commandtags.h: add LFUN_ESCAPE
11978
11979         * LyXAction.C (init): add entry for LFUN_ESCAPE
11980
11981         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11982         Remove commented code.
11983         (insertNote): moved here
11984         (open_new_inset): moved here
11985
11986         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11987         BufferView_pimpl
11988
11989 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11990
11991         * kbmap.C (findbinding): clean it up and make it work correctly.
11992
11993         * lyx_main.C (init): do not pass argc and argv as parameters
11994
11995 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11996
11997         * buffer.C: fix path for OS/2 & Win32
11998
11999         * lyx_gui.C:
12000         * lyx_main:
12001         * lyx_main.C: Added os:: class.
12002
12003         * os2_defines.h: update
12004
12005 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12008         better by trying again with reduced state.
12009
12010 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12011
12012         * lyxrc.C (read): print error about invalid key sequence only when
12013         debugging (because not all latinX keysyms are known to some X
12014         servers)
12015
12016         * kbsequence.C (getiso): add a few std:: qualifiers
12017         (getiso): comment out extra return statement.
12018
12019 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12022         handling.
12023         (Dispatch): enhance the accent inset a bit. (not perfect)
12024
12025 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12028
12029 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * bufferlist.C (emergencyWrite): fix assert() call
12032
12033 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12034
12035         * text.C (InsertChar): Added trivial patch to only send the "you
12036         can not do multiple spaces this way" message once during a
12037         session.
12038
12039 2001-05-08  Baruch Even  <baruch@lyx.org>
12040
12041         * Makefile.am: Changed order of libraries to get LyX to link properly
12042         with the gnome frontend.
12043
12044 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12045
12046         * LaTeXFeatures.h: add a std:: qualifier
12047
12048 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * paragraph.C (String): use stringstream
12051
12052 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * paragraph.C (writeFile): remove footflag arg
12055
12056         * buffer.C (makeLaTeXFile): use stringstream
12057         (latexParagraphs): remove footnot gurba
12058
12059         * LaTeXFeatures.C (getPackages): use stringstream
12060         (getMacros): likewise
12061         (getTClassPreamble): likewise
12062         (getFloatDefinitions): new method
12063
12064         * paragraph.C (writeFile): reindent
12065         (Erase): reindent
12066
12067         * WorkArea.h: revert the xpos + etc changes.
12068
12069         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12070
12071         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12072
12073         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12074         (pasteSelection): likewise
12075         * text2.C (CreateUndo): likewise
12076
12077 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * minibuffer.C (peek_event): temporarily reduce the functionality
12080         of the minibuffer (to allow args on lfuns)
12081
12082         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12083         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12084
12085         * buffer.C (readInset): add compability reading of old float
12086         lists, add reading of new style float list.
12087         (readInset): avoid reevaluation of inscmd.getCmdName()
12088         (getLists): reindent
12089
12090         * MenuBackend.C (MenuItem): implement parsing of
12091         md_floatlistinsert and md_floatinsert.
12092         (expand::LastFiles): move initalizaton of iterators out of loop,
12093         avoid reevaluation.
12094         (expand::Documents): introduce typdedef vector<string> Strings,
12095         and use it.
12096         (expand::ExportFormats): introduce typedef vector<Format const *>
12097         Formats, and use it.
12098         (expand): implement FloatListInsert and FloatInsert.
12099
12100         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12101         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12102         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12103
12104         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12105         handling.
12106         (Dispatch::LFUN_FLOAT_LIST): implement
12107
12108 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12109
12110         * LaTeX.C (run): Fix problem with --export code.
12111
12112 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * BufferView.[Ch] (workarea): removed.
12115         (getClipboard) new method; wrapper for workarea()->getClipboard()
12116
12117         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12118         bug.
12119
12120         * WorkArea.h (width, height, xpos, ypos): These methods all
12121         returned the dimensions of the work_area sub-area of WorkArea,
12122         resulting in a position error if the WorkArea were resized. Now
12123         return the dimensions of the entire WorkArea.
12124
12125         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12126
12127 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12128
12129         * LaTeX.C (deplog): correct the syntax of regex reg1
12130
12131 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * undo.C: remove !NEW_INSETS cruft
12134
12135 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12136
12137         * text2.C: remove !NEW_INSETS cruft
12138
12139         * text.C: remove !NEW_INSETS cruft
12140
12141         * tabular.C: remove !NEW_INSETS cruft
12142
12143         * spellchecker.C: remove !NEW_INSETS cruft
12144
12145         * lyxtext.h: remove !NEW_INSETS cruft
12146
12147         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12148
12149         * lyxfunc.C: remove !NEW_INSETS cruft
12150
12151         * lyxfind.C: remove !NEW_INSETS cruft
12152
12153         * lyx_cb.C: remove !NEW_INSETS cruft
12154
12155         * figureForm.C: remove  !NEW_INSETS cruft
12156
12157         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12158
12159         * buffer.[Ch]: remove !NEW_INSETS cruft
12160
12161         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12162
12163         * CutAndPaste.C: remove !NEW_INSETS cruft
12164
12165         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12166
12167         * BufferView2.C: remove !NEW_INSETS cruft
12168
12169         * BufferView.h: remove !NEW_INSETS cruft
12170
12171 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12172
12173         * Lsstream.h: include LString.h before the sstream headers to
12174         fix problem with gcc 2.95.3 and lyxstring
12175
12176 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * lyx_main.C: add using directives when needed for C functions
12179         declared in std:: namespace.
12180
12181 2001-04-27  Juergen Vigna  <jug@sad.it>
12182
12183         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12184         (SetHeightOfRow): comment out the update call should not be needed!
12185
12186 2001-04-13  Juergen Vigna  <jug@sad.it>
12187
12188         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12189         (LyXTabular): tried to minimize operator= operations (and realized
12190         hopfully Lars wish).
12191
12192 2001-04-27  Juergen Vigna  <jug@sad.it>
12193
12194         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12195
12196 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12197
12198         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12199
12200         * buffer.C (readInset): hack to make listof algorithm work
12201
12202         * BufferView_pimpl.C: hack to make listof algorithm work
12203
12204 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * LyXAction.C: removed all !NEW_INSETS cruft
12207         (init): moved lfun_item in method
12208
12209         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12210
12211 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12212
12213         * BufferView2.C (theLockingInset): white space.
12214
12215 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12216
12217         * minibuffer.C: include <iostream>
12218
12219         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12220
12221         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12222
12223         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12224
12225         * text.[Ch] (TransposeChars): new method
12226
12227 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * call message directly through LyXView instead of through LyXFunc
12230         * BufferView2.C: adjust
12231         * BufferView_pimpl.C: adjust
12232         * FontLoader.C: adjust
12233         * buffer.C: adjust
12234         * bufferview_funcs.C: adjust
12235         * converter.C: adjust
12236         * figureForm.C: adjust
12237         * importer.C: adjust
12238         * lyx_cb.C: adjust
12239         * lyx_gui_misc.C: adjust
12240         * lyxfunc.C: adjust
12241         * lyxvc.C: adjust
12242         * text2.C: adjust
12243         + more files in subdirs
12244
12245         * lyxparagraph.h (size): move up int file
12246         (GetLayout): ditto
12247
12248         * adjust all uses of Assert to lyx::Assert.
12249
12250         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12251         lyxfunctional in namespace lyx
12252         * layout.C (hasLayout): ditto
12253         (GetLayout): ditto
12254         (GetLayout): ditto
12255         (delete_layout): ditto
12256         (NumberOfClass): ditto
12257         * converter.C (GetFormat): ditto
12258         (GetNumber): ditto
12259         (Add): ditto
12260         (Delete): ditto
12261         (SetViewer): ditto
12262         * bufferlist.C (getFileNames): ditto
12263         (emergencyWriteAll): ditto
12264         (exists): ditto
12265         (getBuffer): ditto
12266         * MenuBackend.C (hasSubmenu): ditto
12267         (hasMenu): ditto
12268         (getMenu): ditto
12269         * BufferView_pimpl.C (getInsetByCode): ditto
12270
12271 2001-04-18  Juergen Vigna  <jug@sad.it>
12272
12273         * vspace.C (asLatexString): fixed the 100% problem.
12274
12275 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12276
12277         * lyxfunc.C (Dispatch):
12278         * minibuffer.C:
12279         * minibuffer.h: add a few std:: qualifiers
12280
12281 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * minibuffer.[Ch]: reimplement so that commands is initiated and
12284         run from lyxfunc, simplified som handling, and made the completion
12285         and history code for complete. wip.
12286
12287         * lyxfunc.C (processKeySym): call message
12288         (miniDispatch): new temporary method
12289         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12290         (LFUN_MESSAGE): implement
12291         (LFUN_MESSAGE_PUSH): implement
12292         (LFUN_MESSAGE_POP): implement
12293         (initMiniBuffer): the initial/defualt minibuffer message.
12294
12295         * lyxfont.[Ch]: inline some more getters
12296
12297         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12298
12299         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12300
12301         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12302         (AutoSave): use LFUN_MESSAGE
12303         (Reconfigure): ditto
12304
12305         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12306
12307         * figureForm.C: use LFUN_MESSAGE
12308
12309         * converter.C (runLaTeX): use LFUN_MESSAGE
12310
12311         * bufferview_funcs.C: use LFUN_MESSAGE
12312         (Melt): ditto
12313         (changeDepth): ditto
12314
12315         * bufferparams.h: use boost::
12316
12317         * bufferlist.h: inherit privately from noncopyable
12318
12319         * bufferlist.C (loadLyXFile): remove some commented code.
12320
12321         * buffer.C (runChktex): use LFUN_MESSAGE
12322
12323         * ShareContainer.h: inherit privately from noncopyable
12324
12325         * ParagraphParameters.[hC] (depth): inline it.
12326
12327         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12328         methods.
12329         (message): new method
12330         (messagePush): ditto
12331         (messagePop): ditto
12332         (show): init minibuffer
12333         (showState): direct call
12334
12335         * LaTeX.[Ch]: inherit privately from noncopyable
12336         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12337         instead of WriteStatus.
12338
12339         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12340
12341         * BufferView_pimpl.C (buffer): don't init minibuffer
12342         (workAreaButtonPress): use LFUN_MESSAGE
12343         (workAreaButtonRelease): ditto
12344         (savePosition): ditto
12345         (restorePosition): ditto
12346         (MenuInsertLyXFile): ditto
12347         (workAreaExpose): don't init minibuffer
12348         (update): remove commented code, simplify
12349
12350         * BufferView2.C (openStuff): use LFUN_MESSAGE
12351         (toggleFloat): ditto
12352         (menuUndo): ditto
12353         (menuRedo): ditto
12354         (copyEnvironment): ditto
12355         (pasteEnvironment): ditto
12356         (copy): ditto
12357         (cut): ditto
12358         (paste): ditto
12359         (gotoInset): ditto
12360         (updateInset): remove some commented code
12361
12362         * lastfiles.h: inherit privately from noncopyable
12363         * layout.h: ditto
12364         * lyx_gui.h: ditto
12365         * lyx_main.h: ditto
12366         * lyxlex.h: ditto
12367         * lyxlex_pimpl.h: ditto
12368
12369         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12370         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12371         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12372
12373         * LyXAction.h: inherit privately from noncopyable, add methods
12374         func_begin, func_end, returning iterators to the func map.
12375
12376         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12377         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12378         (func_begin): new method
12379         (func_end): new method
12380
12381         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12382         and not)
12383         (copySelection): ditto
12384         (pasteSelection): ditto
12385
12386         * BufferView.C: whitespace change
12387         * BufferView.h: inherit privately from noncopyable
12388
12389 2001-04-16  Allan Rae  <rae@lyx.org>
12390
12391         * tabular-old.C (l_getline):
12392         * spellchecker.C (sc_check_word):
12393         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12394         an unrecognised preprocessor directive.  So ensure they're wrapped.
12395
12396 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12397
12398         * src/exporter.C (Export): Give an error message when path to file
12399         contains spaces.
12400
12401 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12402
12403         * LaTeX.C (deplog): Always check that foundfile exists.
12404
12405 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12406
12407         * lyx_main.h:
12408         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12409
12410 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * tabular.[Ch] (getLabelList): implement new method
12413
12414         * minibuffer.h: comment ouf setTiimer
12415
12416         * minibuffer.C (ExecutingCB): constify res
12417         (peek_event): constify s
12418         (Set): constify ntext
12419         (Init): constify nicename
12420
12421         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12422
12423         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12424         (savePosition): use two params to Minibuffer::Set
12425         (restorePosition): ditto
12426
12427 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * lyx_main.C: include language.h
12430
12431         * Makefile.am (lyx_main.o): add language.h
12432
12433 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12434
12435         * exporter.C:
12436         * paragraph.C:
12437         * screen.C:
12438         * tabular.C:
12439         * CutAndPaste.C: include gettext.h
12440
12441         * lyxfont.h: remove old hack with ON and OFF.
12442
12443         * lyxparagraph.h:
12444         * lyxfont.h: do not include language.h...
12445
12446         * BufferView2.C:
12447         * LaTeXFeatures.C:
12448         * Painter.C:
12449         * bufferview_funcs.C:
12450         * font.C:
12451         * lyxfont.C:
12452         * text.C:
12453         * text2.C:
12454         * trans_mgr.C:
12455         * paragraph.C: ... but do it here instead
12456
12457 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12460
12461         * tabular.C: small reformat
12462
12463         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12464         NEW_INSETS version
12465         (GetChar): ditto
12466         (BreakParagraph): ditto
12467         (SetOnlyLayout): ditto
12468         (SetLayout): ditto
12469
12470         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12471         with one arg less.
12472
12473         * lastfiles.C: removed most using decl, add std:: where needed
12474
12475         * buffer.C: ws changes
12476
12477         * MenuBackend.C (class compare_format): put into anon namespace
12478         (expand): constify label, names, action, action2
12479         (expand):
12480
12481         * text.C (SingleWidth): constify font
12482         (IsBoundary): constify rtl2
12483         (GetVisibleRow): constify ww
12484
12485         * LaTeX.C (deplog): constify logfile
12486
12487         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12488         start_x, end_x
12489         (workAreaExpose): constify widthChange, heightChange
12490
12491         * lyxrow.C (par): moved
12492         (height): moved
12493         (next): moved
12494         * lyxrow.h: as inlines here
12495
12496         * lyxfont.h (shape): moved from lyxfont.C
12497         (emph): moved from lyxfont.C
12498
12499         * lyxfont.C (LyXFont): use initialization list for all
12500         constructors
12501         (shape): move to lyxfont.h as inline
12502         (emph): move to lyxfont.h as inline
12503
12504
12505 2001-04-04  Juergen Vigna  <jug@sad.it>
12506
12507         * vspace.C: had to include stdio.h for use of sscanf
12508
12509 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12510
12511         * BufferView.h:
12512         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12513         independent of xforms.
12514
12515 2001-04-02  Juergen Vigna  <jug@sad.it>
12516
12517         * spellchecker.C: fixed namespace placing!
12518
12519 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12522         the LyXParagraph * is 0.
12523
12524 2001-03-29  Juergen Vigna  <jug@sad.it>
12525
12526         * vspace.C: added support for %, c%, p%, l%.
12527         (stringFromUnit): added helper function.
12528         (asLatexString): changed to give right results for the %-values.
12529
12530         * buffer.C: convert the widthp in a width%.
12531
12532 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12533
12534         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12535         figureForm.[Ch].
12536
12537         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12538         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12539
12540         * lyx_cb.[Ch]: see above.
12541
12542         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12543         form1.[Ch].
12544
12545         * form1.[Ch]:
12546         * lyx.[Ch]: replaced by figure_form.[Ch].
12547
12548         * lyx_gui.C:
12549         * lyx_gui_misc.C:
12550         * lyxfunc.C: changed headers associated with above changes.
12551
12552 2001-03-27  Juergen Vigna  <jug@sad.it>
12553
12554         * BufferView_pimpl.C: set the temporary cursor right!
12555
12556 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12559
12560 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * LString.h: removed "using std::getline"!
12563
12564         * BufferView_pimpl.C (Dispatch): changes due to changes in
12565         InsetInclude::Params.
12566
12567         * buffer.C (tag_name): removed redundant break statements as they were
12568         producing lots of warnings with my compiler.
12569
12570 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * LString.h: add "using std::getline" when using the real <string>.
12573
12574 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12575
12576         * buffer.C: removed bitset usage.
12577         PAR_TAG moved to an anonymous name space.
12578         (tag_name): new funtion, also in the anonymous namespace.
12579         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12580         (makeDocBookFile): clean code. Completed transition from string arrays
12581         to string vectors.
12582         (SimpleDocBookOnePar): code clean.
12583
12584 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12585
12586         * tabular.C: add some comments.
12587
12588 2001-03-22  Juergen Vigna  <jug@sad.it>
12589
12590         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12591         compatibility read a bit and fixed bug with minipage in different
12592         depth.
12593
12594 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12595
12596         * buffer.C (pop_tag): removed.
12597         (push_tag): removed.
12598         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12599         array replaced with vector. Added support for CDATA sections.
12600         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12601         at any nest level.
12602         (makeDocBookFile): XML conformant declaration of CDATA section,
12603         fixed bug related to <emphasis> in the first paragraph char.
12604         (sgmlOpenTag): exclude empty tags.
12605         (sgmlCloseTag): ditto.
12606
12607         * buffer.h (pop_tag): removed.
12608         (push_tag): removed.
12609
12610 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12611
12612         * language.h (Languages): added size_type and size().
12613
12614 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12615
12616         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12617         response on compability reading of minipages. One probliem is that
12618         the old usage of minipages was «flertydig»
12619
12620         * several files here and in subdirs: don't use static at file
12621         scope use anon namespaces instead.
12622
12623 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12624
12625         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12626         LaTeX output. This is necessary for Literate document
12627         processing.
12628
12629 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12630
12631         * buffer.C: insert hfill when needed.
12632
12633         * tabular.C (l_getline): use string::erase, small whitespace change.
12634
12635         * BufferView_pimpl.C: try the anon namespace.
12636         * WorkArea.C: ditto
12637
12638 2001-03-16  Juergen Vigna  <jug@sad.it>
12639
12640         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12641         otherwise it won't open options-dialogs.
12642
12643         * buffer.C: honor pextraWidth(p) on converting minipages.
12644
12645         * tabular.C (l_getline): changed the functions to strip trailing \r.
12646
12647 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12648
12649         * BufferView_pimpl.C:
12650         * minibuffer..C: added "using SigC::slot" declaration.
12651
12652 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12653
12654         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12655
12656         * text2.C: ditto
12657
12658         * text.C: ditto
12659
12660         * paragraph.C: ditto
12661
12662         * lyxtext.h: NO_PEXTRA
12663
12664         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12665
12666         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12667         * ParameterStruct.h: ditto
12668         * ParagraphParameters.h: ditto
12669         * lyxparagraph.h: ditto
12670
12671 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12672
12673         * buffer.C: add compability for minipage alignment.
12674         (latexParagraphs): remove unwanted pextra check.
12675
12676         * several files: remove CXX_WORKING_NAMESPACES
12677
12678         * buffer.C (pop_tag): tie is in namespace boost
12679
12680         * BufferView.h: noncopyable is in namespace boost
12681         * lyxlex.h: ditto
12682         * lyx_main.h: ditto
12683         * lyx_gui.h: ditto
12684         * layout.h: ditto
12685         * lastfiles.h: ditto
12686         * bufferlist.h: ditto
12687         * ShareContainer.h: ditto
12688         * LyXView.h: ditto
12689         * LyXAction.h: ditto
12690         * LaTeX.h: ditto
12691
12692 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12693
12694         * Merging changes from BRANCH_MVC back into HEAD.
12695
12696         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12697
12698 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * BufferView_pimpl.C: change from intl.C
12701
12702         * combox.h:
12703         * combox.C:
12704         * Makefile.am: move combox.*
12705
12706         * form1.h:
12707         * form1.C:
12708         * lyx_gui.C:
12709         * intl.h:
12710         * intl.C: remove dialog (covered by prefs)
12711
12712 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * lyxfunc.C (Dispatch): removed redundant break statement.
12715
12716 2001-03-14  Juergen Vigna  <jug@sad.it>
12717
12718         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12719
12720 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12721
12722         * buffer.C: add hack to fix compability reading of minipages.
12723
12724 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12725
12726         * buffer.C (getLists): Cleanup.
12727
12728 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12729
12730         * lyxfont.C (update): don't honor toggleall on font size.
12731
12732 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12733
12734         * bmtable.c:
12735         * bmtable.h:
12736         * Makefile.am: moved to frontends/xforms/
12737
12738         * lyx_gui_misc.C:
12739         * lyxfunc.C:
12740         * BufferView_pimpl.C: changes for moved mathpanel
12741
12742 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * gettext.h: fix gettext_init() in --disable-nls
12745
12746 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12747
12748         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12749
12750 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * lyx.C:
12753         * lyx.h: strip external form
12754
12755 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12756
12757         * BufferView_pimpl.C: add comment, destroySplash()
12758
12759 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * BufferView_pimpl.C:
12762         * LyXAction.C:
12763         * buffer.C:
12764         * commandtags.h:
12765         * lyxfunc.C: use re-worked insetinclude
12766
12767 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12768
12769         * buffer.C: add using std::stringstream.
12770
12771         * lyx_cb.C: readd using std::ios.
12772
12773         * buffer.C: add using std::map.
12774
12775         * BufferView_pimpl.C: add using std::vector.
12776
12777         * ShareContainer.h: add std:: to swap.
12778
12779         * buffer.h: add some typedefs
12780         * buffer.C (getLists): use them
12781         (getLists): renamed from getTocList.
12782         add a counter for the different float types and use it in the
12783         generated string.
12784         (getLists): use the same counter for the NEW_INSETS and the "non"
12785         NEW_INSETS
12786
12787         * lyx_cb.h: remove unused items, includes, using etc.
12788
12789         * ShareContainer.h: remove some commented code, add more comments
12790         and "documentation".
12791
12792 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12793
12794         * buffer.C (getTocList): make the list also when NEW_INSETS is
12795         defined.
12796
12797         * buffer.h: remove TocType
12798
12799         * buffer.C (getTocList): change to return a map<string,
12800         vector<TocItem> >, implement for dynamic number of list.
12801
12802         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12803         * text2.C (PasteSelection): adjust
12804         * CutAndPaste.C (pasteSelection): adjust
12805
12806         * FloatList.C (FloatList): update from the new_insets branch.
12807         * Floating.[Ch]: ditto
12808         * LaTeXFeatures.C: ditto
12809         * buffer.C: ditto
12810         * lyxlex_pimpl.C: ditto
12811
12812         * paragraph.C (Last): remove when NEW_INSETS is defined.
12813
12814         * other file: changes because of the above.
12815
12816 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12817
12818         * lyxparagraph.h: rename next to next_, previous to previous_,
12819         make them private for NEW_INSETS. Rename Next() to next(),
12820         Previous() to previous().
12821
12822         * other files: changes because of the above.
12823
12824 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12825
12826         * BufferView.h:
12827         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12828         problem.
12829
12830 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * main.C (main): pass lyx_localedir to gettext_init().
12833
12834         * gettext.h: remove locale_init and gettext_init macros
12835
12836         * gettext.C (locale_init): new function
12837         (gettext_init): new function
12838
12839         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12840         setlocale().
12841
12842 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12843
12844         * Moved credits to frontends:
12845         * credits.[Ch]: removed
12846         * credits_form.[Ch]: removed
12847         * lyx_gui_misc.C: remove credits stuff
12848         * Makefile.am:
12849
12850 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12851
12852         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12853
12854         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12855         unneeded destructor.
12856
12857         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12858         a standalone pointer again.
12859
12860         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12861
12862 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * Makefile.am:
12865         * filedlg.h:
12866         * filedlg.C:
12867         * LyXAction.C:
12868         * ToolbarDefaults.C:
12869         * bufferlist.C:
12870         * commandtags.h:
12871         * form1.C:
12872         * form1.h:
12873         * lyx_cb.C:
12874         * lyx_cb.h:
12875         * lyxfunc.h:
12876         * lyxfunc.C:
12877         * BufferView_pimpl.C: use new file dialog in GUII
12878
12879         * lyx_cb.h:
12880         * lyx_cb.C: remove LayoutsCB to Toolbar
12881
12882 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * ShareContainer.h (get): add std:: qualifier
12885
12886 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12887
12888         * ShareContainer.h: define a proper ShareContainer::value_type
12889         type (and use typename to please compaq cxx)
12890
12891 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12892
12893         * lyxparagraph.h: move serveral local vars to
12894         ParameterStruct/ParagraphParameters., use ShareContainer in
12895         FontTable., make vars in FontTable private and add getter and
12896         setter.
12897
12898         * paragraph.C: changes because of the above.
12899
12900         * lyxfont.h: remove copy constructor and copy assignment. (the
12901         default ones is ok), move number inside FontBits. move inlines to
12902         lyxfont.C
12903
12904         * lyxfont.C: add number to initializaton of statics, move several
12905         inlines here. constify several local vars. some whitespace
12906         cleanup. Dont hide outerscope variables.
12907
12908         * Spacing.h: add two new constructors to match the set methods.
12909
12910         * ShareContainer.h: new file, will perhaps be moved to support
12911
12912         * ParameterStruct.h: new file
12913
12914         * ParagraphParameters.h: new file
12915
12916         * ParagraphParameters.C: new file
12917
12918         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12919         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12920
12921         * BufferView_pimpl.C: ParagraphParameter changes.
12922         * buffer.C: Likewise.
12923         * bufferview_funcs.C: Likewise.
12924         * text.C: Likewise.
12925         * text2.C: Likewise.
12926
12927 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * lyxfind.C (LyXReplace): do not redefine default argument in
12930         implementation.
12931         (IsStringInText): ditto
12932         (SearchForward): ditto
12933         (SearchBackward): ditto
12934
12935 2001-03-06  Juergen Vigna  <jug@sad.it>
12936
12937         * lyxfind.C (IsStringInText): put parentes around expressions.
12938
12939 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12940
12941         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12942
12943 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12946
12947         * stl_string_fwd.h: add comment
12948
12949         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12950
12951         * tabular.h:
12952         * tabular.C: remove unused DocBook methods
12953
12954         * intl.C:
12955         * language.C:
12956         * paragraph.C:
12957         * buffer.C:
12958         killed DO_USE_DEFAULT_LANGUAGE
12959
12960 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12961
12962         * lyx_gui.C: do not include language.h.
12963
12964         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12965         arguments in function implementation.
12966
12967 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12968
12969         * BufferView_pimpl.C: add <ctime>
12970
12971 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12972
12973         * BufferView_pimpl.C: add using std::find_if
12974
12975 2001-02-27  José Matos  <jamatos@fep.up.pt>
12976
12977         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12978         by OnlyPath.
12979
12980 2001-02-11  José Matos  <jamatos@fep.up.pt>
12981
12982         * buffer.C (makeDocBookFile): command styles now have a parameter as
12983         "title" by default.
12984
12985 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12986
12987         * layout_forms.[Ch]: removed
12988         * lyx_cb.[Ch]: out character
12989         * lyx_gui.C: out character
12990         * lyx_gui_misc.C: out character
12991         * bufferview_funcs.C: : out character,
12992         added toggleall as parameter in ToggleAndShow
12993
12994 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12995
12996         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12997
12998         * text2.C (SetCurrentFont): Disable number property at boundary.
12999
13000 2001-02-26  Juergen Vigna  <jug@sad.it>
13001
13002         * lyxfunc.C (getStatus): added a string argument override function so
13003         that this is correctly called from LyXFunc::Dispatch if it contains a
13004         do_not_use_argument which is used!
13005         (Dispatch): added check for "custom" export and call appropriate func.
13006
13007 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * lyxrc.C: Add language_command_local, language_use_babel and
13010         language_global_options.
13011
13012         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13013
13014         * buffer.C (makeLaTeXFile): Use language_use_babel and
13015         language_global_options.
13016
13017 2001-02-23  Juergen Vigna  <jug@sad.it>
13018
13019         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13020         which works with LyXText and putted it inside BufferView. Here now we
13021         only call for that part the BufferView::Dispatch() function.
13022
13023         * BufferView.C (Dispatch): added.
13024
13025         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13026         functions which needs to use a LyXText over from LyXFunc.
13027         (MenuInsertLyXFile): added
13028         (getInsetByCode): added
13029         (moveCursorUpdate): added
13030         (static TEXT): added
13031
13032 2001-02-22  Juergen Vigna  <jug@sad.it>
13033
13034         * BufferView_pimpl.C (update): call a status update to see if LyXText
13035         needs it.
13036
13037 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13038
13039         * vc-backend.C (revert): implement for CVS
13040         (getLog): implement for CVS
13041
13042 2001-02-20  Juergen Vigna  <jug@sad.it>
13043
13044         * text2.C (ClearSelection): added BufferView param for inset_owner call
13045
13046         * lyxfunc.C (TEXT): added this function and use it instead of
13047         directly owner->view()-text of getLyXText().
13048
13049 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13050
13051         * src/layout_forms.C: out preamble
13052         * src/layout_forms.h: out preamble
13053         * src/lyx_cb.C: out preamble
13054         * src/lyx_cb.h: out preamble
13055         * src/lyx_gui.C: out preamble
13056         * src/lyx_gui_misc.C: out preamble
13057         * src/lyxfunc.C: connect with guii preamble
13058
13059 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13062
13063 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13064
13065         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13066         whether to run bibtex.
13067
13068 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13069
13070         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13071
13072 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13073
13074         * Makefile.am (lyx_SOURCES): removed bibforms.h
13075
13076         * vspace.h: doxygen
13077
13078         * text.C (GetVisibleRow): make several local vars const
13079
13080         * tabular.C: small cleanup.
13081
13082         * lyxserver.C (callback): use compare instead of strncmp
13083
13084         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13085         inlines to after class or to paragraph.C
13086
13087         * lyxfont.h: remove friend operator!=
13088
13089         * converter.h: move friend bool operator< to non friend and after
13090         class def.
13091
13092         * combox.h: small cleanup
13093
13094         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13095         to inlines after class def.
13096
13097         * buffer.C (pop_tag): use string operations instead of strcmp
13098
13099         * bmtable.c: doxygen, small cleanup
13100
13101         * LaTeX.h: remove friend operator==
13102
13103 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13104
13105         * screen.C:
13106         * lyxrc.[Ch]:
13107         * lyxfunc.C:
13108         * lyxfont.[Ch]:
13109         * lyx_cb.C:
13110         * intl.[Ch]:
13111         * commandtags.h:
13112         * buffer.C:
13113         * WorkArea.[Ch]:
13114         * LyXAction.C:
13115         * BufferView_pimpl.C:
13116         * BufferView.[Ch]: remove cruft
13117
13118 2001-02-14  Juergen Vigna  <jug@sad.it>
13119
13120         * lyxfunc.C: removed #if 0 unused code
13121
13122         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13123
13124         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13125
13126         * text2.C (SetSelection): added a BufferView * parameter
13127
13128 2001-02-13  Juergen Vigna  <jug@sad.it>
13129
13130         * lyxfunc.C (Dispatch): fixed protected blank problem.
13131         * BufferView2.C (protectedBlank): added LyxText * parameter.
13132
13133         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13134         (AppendColumn): same as above for column_info.
13135
13136         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13137         (moveCursorUpdate): use a LyXText param for support of InsetText.
13138
13139         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13140         (tripleClick): ditto
13141
13142         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13143
13144         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13145
13146         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13147
13148         * text2.C (SetSelection): set correct update status if inset_owner
13149         (ToggleFree): ditto
13150
13151 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13152
13153         * tabular.C: remove some commented code.
13154
13155 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13156
13157         * BufferView_pimpl.C: call hideSplash()
13158
13159         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13160
13161         * include_form.h:
13162         * bibforms.h: remove
13163
13164         * lyxfunc.C:
13165         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13166           add LFUN_CHILD_CREATE
13167
13168         * counters.h: fix tiny typo
13169
13170         * lyx_cb.C:
13171         * lyx.h:
13172         * lyx_gui.C:
13173         * lyx.C: move splash to frontends/xforms/
13174
13175         * lyx_gui_misc.C: move Include and Bibform to frontends
13176
13177         * lyxvc.h: clarify comment
13178
13179         * vspace.C: tiny housekeeping
13180
13181 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13182
13183         * text.C (PrepareToPrint): RTL Fix.
13184
13185         * paragraph.C (GetUChar): New method.
13186         (String):  Use GetUChar.
13187
13188         * buffer.C (asciiParagraph): Use GetUChar.
13189
13190 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13193
13194 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * buffer.h:
13197         * buffer.C: rename to getLogName(), handle
13198           build log / latex log nicely
13199
13200 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13201
13202         * MenuBackend.C:
13203         * MenuBackend.h: remove support for reference menuitem type.
13204
13205 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * BufferView_pimpl.C: housekeeping
13208         * BufferView_pimpl.h:
13209         * LyXView.h:
13210         * Makefile.am:
13211         * Timeout.C:
13212         * Timeout.h:
13213         * minibuffer.h: move Timeout GUI-I
13214
13215 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13216
13217         * lyxrc.C (read): Update converters data-structures.
13218
13219 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13220
13221         * LaTeX.h (operator!=): add operator != for Aux_Info
13222
13223 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13226
13227         * LaTeXLog.C: deleted, useful code moved to Buffer
13228
13229         * buffer.h:
13230         * buffer.C: new function getLatexLogName()
13231
13232         * lyx_gui_misc.C:
13233         * lyx_gui.C:
13234         * lyxvc.C:
13235         * lyxvc.h:
13236         * lyxfunc.C: use frontends for LaTeX and VC logs
13237
13238 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * LaTeX.h: yet another std:: that Allan forgot.
13241
13242         * Variables.C (set): renamed from isset(), because this clashes
13243         with some HP-UX macros (grr).
13244
13245 2001-02-06  Allan Rae  <rae@lyx.org>
13246
13247         * LaTeX.h: Another bug fix.  Missing std:: this time.
13248
13249 2001-02-04  Allan Rae  <rae@lyx.org>
13250
13251         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13252         floats problem. I've left it commented out because it's not quite
13253         correct.  It should also test that the current object is a table or
13254         figure inset.  But I haven't gotten around to figuring out how to do
13255         that.  I *think* it'll be something like: "table" == inset.type()
13256
13257         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13258         bool.
13259
13260 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13261
13262         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13263         all the citation/databases/styles in the auxilary file.
13264         (run): Rerun latex if there was a babel language error.
13265
13266 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13267
13268         * text.C (Backspace): Preserve the font when changing newline char
13269         with a space.
13270         (BreakParagraph): If the cursor is before a space, delete the space.
13271
13272         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13273
13274 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13275
13276         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13277         new argument (code).
13278         (ChangeCitationsIfUnique): New method.
13279
13280         * paragraph.C (GetPositionOfInset): Handle bibkey.
13281
13282 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13283
13284         * BufferView_pimpl.h: change type of Position::par_pos to
13285         LyXParagraph::size_type.
13286
13287 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13288
13289         * BufferView_pimpl.C (savePosition, restorePosition): Write
13290         messages to minibuffer.
13291
13292 2001-01-28  José Matos  <jamatos@fep.up.pt>
13293
13294         * buffer.C (makeDocBookFile): adds support for document language.
13295         A silly restriction on the name of LatexCommand types where removed.
13296         Added support for CDATA sections, allows to chars unescaped, used
13297         among others in code, to avoid escape < and >.
13298
13299 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13302         saved positions instrad of a stack. Furthermore, a position is
13303         stored using paragraph id/paragraph position.
13304
13305         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13306         Remove LFUN_REF_BACK.
13307
13308 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13309
13310         * converter.C (dvipdfm_options): New method.
13311
13312 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13313
13314         * vspace.C (isValidLength): Fix for empty input string.
13315
13316 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * LyXAction.C (init): change description of LFUN_FIGURE to
13319         "Insert Graphics"
13320
13321 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * LaTeX.C: add using directive
13324
13325 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13326
13327         * MenuBackend.C (expand): Fix the sorting of the formats.
13328
13329 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * lyx_main.C: tiny error message fix
13332
13333 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13334
13335         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13336         calling fl_initialize(). This fixes the problem with ',' as
13337         decimal separator in text files.
13338
13339 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * trans.C (process): Fix the keymap bug.
13342
13343 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13344
13345         * LaTeX.C (scanAuxFiles): New method. Provides support for
13346         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13347         (scanLogFile) Scan for "run BibTeX" messages.
13348
13349         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13350         OT1 font encoding. Also, load the aecompl package if the ae
13351         package is loaded.
13352
13353         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13354
13355 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13356
13357         * texrow.C (increasePos): turn two error messages into debug
13358         messages.
13359
13360 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13361
13362         * LaTeX.C (scanAux): Handle the \@input macro.
13363         (runBibTeX): Use scanAux().
13364
13365         * language.C (latex_options_): New field.
13366
13367         * LaTeXFeatures.C (getMacros): Add language macros.
13368
13369         * buffer.C (makeLaTeXFile): Small fix.
13370
13371 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13374
13375         * text2.C: add a using directive.
13376
13377 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13378
13379         * BufferView2.C:
13380         * lyx_gui_misc.h:
13381         * lyxfr1.C:
13382         * lyxfunc.C: kill LyXBell.
13383
13384 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13385
13386         * text.C (IsBoundary): Remove the error message
13387
13388         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13389
13390         * lyxrc.C (setDefaults): Correct initialization value for
13391         font_norm_type.
13392
13393 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13394
13395         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13396         gotoError().
13397
13398         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13399         and GotoNextNote().
13400
13401         * src/LyXAction.C: Added reference-next.
13402
13403         * text.C (InsertChar): Use contains instead of strchr.
13404
13405         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13406
13407 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13408
13409         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13410         alignment commands (when needed).
13411
13412         * text.C (InsertChar): Add ':' to number separator chars.