]> git.lyx.org Git - features.git/blob - src/ChangeLog
Use correct types when working with stream::pos_type.
[features.git] / src / ChangeLog
1 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4         when woring with stream::pos_type
5         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
6
7 2003-10-22  André Pönitz  <poenitz@gmx.net>
8
9         * lyxtext.h:
10         * text.C: use Row & instead of RowList::iterator
11
12         * lyxrow.h: rename end() to endpos()
13
14         * rowpainter.C:
15         * text.C:
16         * text2.C: adjust
17
18 2003-10-22  Angus Leeming  <leeming@lyx.org>
19
20         * buffer.[Ch] (fully_loaded): new member function, returning true
21         only when the file has been loaded fully.
22         Used to prevent the premature generation of previews and by the
23         citation inset to prevent computation of the natbib-style label.
24
25         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
26         templates are all set up.
27
28         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
29
30 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
31
32         * text.C: fixed an "oops" in the "is a bit silly"
33         bug fix
34
35 2003-10-21  André Pönitz  <poenitz@gmx.net>
36
37         * FuncStatus.[Ch]: small stuff, whitespace
38
39         * lyxfont.[Ch]: operator<<() for debug reasons
40
41         * lyxfunc.C:
42         * lyxrow_funcs.C:
43         * lyxtext.h: whitespace, spelling
44
45         * paragraph.C: naming of variables
46
47         * text.C:
48         * text2.C: small stuff
49
50
51 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * text.C: (1) finish off the inset display() work;
54         (2) fix the "is a bit silly" bug (accessing char
55         past end of par).
56
57 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * text.C: re-introduce display() for insets, fixing the
60         various bugs (stretch of line above, math inset
61         positioning, ...)
62
63 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * text.C (rightMargin): remove spurious semicolon
66
67         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
68         1415)
69
70 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
71
72         * text3.C: fix one crash due to wrong cursor def
73
74 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
75
76         * vc-backend.C (scanMaster): make the regex static
77
78         * LaTeX.C (scanAuxFile): make the regexs static
79
80         * text3.C (doInsertInset, dispatch, dispatch):
81         * text2.C (cursorUp, cursorDown):
82         * text.C (selectNextWordToSpellcheck):
83         * BufferView_pimpl.C (dispatch):
84         * lyxfunc.C (dispatch):  localDispatch -> dispatch
85
86 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * lyxsocket.C: include <cerrno>
89
90 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
91
92         * lyxfunc.C (dispatch): remove textcache stuff
93
94         * bufferlist.C (release): remove textcache stuff
95         (closeAll): ditto
96
97         * TextCache.C: delete file
98         * TextCache.h: delete file
99
100         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
101
102         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
103         delete of the bv_->text.
104         (resizeCurrentBuffer): remove texcache stuff
105         (workAreaResize): ditto
106
107 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
108
109         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
110         action.
111
112 2003-10-16  André Pönitz  <poenitz@gmx.net>
113
114         * lyxrow.[Ch]:
115         * paragraph.h:
116         * rowpainter.C:
117         * text.C:
118         * text2.C:
119         * text3.C: speed up by storing y positions per paragraph plus per-row
120         offset instead of having a 'full' y position in the row.
121
122 2003-10-15  André Pönitz  <poenitz@gmx.net>
123
124         * iterators.[Ch]:
125         * iterators.[Ch]:
126         * undo.[Ch]: make undo aware of inner insets
127
128 2003-10-14  Angus Leeming  <leeming@lyx.org>
129
130         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
131         static member functions LyX::ref() and LyX::cref.
132         (lastfiles): new accessor functions for the new lastfiles_ member var.
133         (addLyXView, views_): add a new LyXView to the list of views_.
134         (updateInset): loop over all LyXViews to call their own updateInset
135         member function, returning a pointer to the Buffer owning the inset.
136
137         * BufferView_pimpl.C (loadLyXFile):
138         * MenuBackend.C (expandLastfiles):
139         * bufferlist.C (MenuWrite, QuitLyX):
140         lastfiles is no longer a global variable.
141         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
142
143         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
144         static function. Access through LyX::cref().emergencyCleanup().
145
146 2003-10-14  André Pönitz  <poenitz@gmx.net>
147
148         * iterators.[Ch]: new direct access to innermost LyXText and Inset
149
150         * undo.[Ch]: restoring part of 'undo in insets'
151
152         * Makefile.am:
153         * undo_funcs.[Ch]: merge with undo.[Ch]
154
155         * tabular.C: small cleansing stuff
156
157 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
158
159         * paragraph_funcs.C (readParToken): report unknown insets as error
160         boxes. Use the outer paragraph as location (also for unknown
161         tokens).
162
163         * factory.C (readInset): do not abort on reading an unknown inset.
164         Eat it and return 0.
165
166 2003-10-13  Angus Leeming  <leeming@lyx.org>
167
168         * lyx_main.C (LyX): remove call to setDisplayTranslator().
169
170         * lyxrc.C: displayTranslator is now a function,
171         declared in GraphicsTypes.h.
172
173 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
174
175         * format.C: new placeholder $$a to pass the socket address.
176
177         * bufferlist.[Ch]: new function getBufferFromTmp.
178
179         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
180           files in the temporary dir.
181
182 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
183
184         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
185
186         * Makefile.am: add lyxsocket.[Ch].
187
188         * lyx_main.C (error_handler): handle SIGPIPE.
189
190 2003-10-13  André Pönitz  <poenitz@gmx.net>
191
192         * BufferView_pimpl.C:
193         * lyxtext.h:
194         * text.C:
195         * text2.C:
196         * text3.C:
197         * undo_funcs.[Ch]: use paroffset_type instead of
198           ParagraphList::iterators to prevent multiple conversion
199           (and get a more robust interface)
200
201 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
202
203         * lyxfunc.C (dispatch): RESULT -> dispatch_result
204         * lyxtext.h: ditto
205         * text3.C (dispatch): ditto
206
207 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
208
209         * LaTeX.C (handleFoundFile): move the static to smaller scope,
210         move the onlyfile, use onlyfile instead of foundfile in a couple
211         of places.
212
213         * DepTable.C (update): flush the error stream a bit more
214
215 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
216
217         * lyxserver.C (callback): adjust
218
219         * lyxfunc.C (getStatus): add a missing brace in commented code
220         (ensureBufferClean): reindent
221         (dispatch): delete version taking a string
222
223 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
224
225         * LaTeX.C (deplog): move found file handlig from here...
226         (handleFoundFile): .. to new function here.
227         (deplog): make sure to discover several files mentioned on the
228         same log line.
229
230 2003-10-10  André Pönitz  <poenitz@gmx.net>
231
232         * lyxfunc.C:
233         * lyxtext.h:
234         * tabular.C:
235         * text.C:
236         * text2.C:
237         * text3.C: fix some of the tabular crashes
238
239 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
240
241         * MenuBackend.C (binding): put debug message into Debug::KBMAP
242
243         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
244
245 2003-10-09  André Pönitz  <poenitz@gmx.net>
246
247         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
248
249         * BufferView.C:
250         * BufferView_pimpl.C:
251         * bufferview_funcs.C:
252         * lyx_cb.C:
253         * lyxcursor.C:
254         * lyxfind.C:
255         * lyxfunc.C:
256         * lyxtext.h:
257         * text.C:
258         * text2.C:
259         * text3.C:
260         * text_funcs.[Ch]:
261         * textcursor.[Ch]:
262         * undo_funcs.C: adjust
263
264 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
265
266         * text2.C (incrementItemDepth): new function, use a backtracking
267         algorithm to discover the correct item depth.
268         (resetEnumCounterIfNeeded): new function, use a backtracking
269         algorithm to discover if counter reset is needed.
270         (setCounter): use them. Simplify a bit. Add different labels for
271         different item depths for itemize.
272
273         * paragraph.C (Paragraph): remove initialization of enumdepth
274         (operator=): ditto
275
276         * paragraph.h: get rid of enumdepth, and use itemdepth both for
277         enumerate and itemize. Change the type of itemdepth to signed char.
278
279 2003-10-08  André Pönitz  <poenitz@gmx.net>
280
281         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
282           thing assignable.
283         * text.C:
284         * text2.C: adjust
285
286         * tabular.[Ch]: fix crash after 'row-insert'
287
288 2003-10-08  Angus Leeming  <leeming@lyx.org>
289
290         Fix doxygen warnings.
291
292         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
293         Remove CutAndPaste:: prefix from header file declaration.
294
295         * LColor.h (fill): remove LColor:: prefix from declaration.
296
297         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
298         use lyx::depth_type rather than Paragraph::depth_type so that
299         header file and .C file match.
300
301         * converter.h (intToFormat): remove Converters:: prefix from declaration.
302
303         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
304         * aspell.C: \file aspell_local.C -> \file aspell.C
305         * gettext.C: \file gettext.C -> \file src/gettext.C
306         * gettext.h: \file gettext.h -> \file src/gettext.h
307         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
308         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
309         * text.C: \file text.C -> \file src/text.C
310
311         * toc.C: move comment so that doxygen is not confused.
312
313 2003-10-07  Angus Leeming  <leeming@lyx.org>
314
315         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
316
317 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
318
319         * aspell.C:
320         * aspell_local.h: add forgotten std::string's.
321
322 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
323
324         * LaTeXFeatures.C:
325         * LyXAction.C:
326         * factory.C:
327         * lfuns.h:
328         * lyxfunc.C:
329         * text3.C: The Box patch. Fancybox support, minipage, parbox
330
331 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
332
333         * CutAndPaste.h:
334         * DepTable.h:
335         * FloatList.h:
336         * LaTeXFeatures.h:
337         * ParagraphParameters.h:
338         * TextCache.h:
339         * Thesaurus.h:
340         * bufferlist.h:
341         * exporter.h:
342         * importer.h:
343         * lastfiles.h:
344         * lyxfind.h:
345         * lyxfont.h:
346         * lyxlex.h:
347         * lyxtextclasslist.h:
348         * messages.h:
349         * paragraph.h:
350         * paragraph_pimpl.C:
351         * textcursor.h: add <string> and other small fixes to make Lars'
352         std::string patch compile with STLport.
353
354 2003-10-06  Angus Leeming  <leeming@lyx.org>
355
356         * LColor.h: Add missing #include <string>.
357
358 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
359
360         * All most all file in all subdirs: Make <string> be the prefered
361         way of getting to std::string, add using declarations.
362
363 2003-10-06  André Pönitz  <poenitz@gmx.net>
364
365         * metricsinfo.C: initialize LyXFont before changing attribute.
366         (fixes the 'math in \emph is upright' bug)
367
368 2003-10-06  André Pönitz  <poenitz@gmx.net>
369
370         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
371
372 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
373
374         * graph.C:
375         * paragraph_pimpl.C: Small fixes to build using STLport
376
377 2003-10-02  André Pönitz  <poenitz@gmx.net>
378
379         * lyxfunc.C:
380         * text3.C: move handling of LFUN_DEPTH *; fix #1360
381
382 2003-10-01  André Pönitz  <poenitz@gmx.net>
383
384         * factory.C: assert early
385
386 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
387
388         * lyx_main.C: remove the global debug object
389
390         * debug.h: adjust for new debugstream
391
392         * debug.C: adjust for new debugstream and keep the global debug
393         object here.
394
395 2003-09-22  Angus Leeming  <leeming@lyx.org>
396
397         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
398         of g++ which otherwise complain that the scoped_ptr destructor can't delete
399         an incomplete class LyXFont.
400
401 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * factory.C: bug fix in branches
404
405 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
406
407         * lyxfunc.C (processKeySym): adjust
408         (dispatch): adjust
409         (dispatch): change arg name from ev to func, adjust
410         (sendDispatchMessage): ditto
411
412         * lyx_main.C (defaultKeyBindings): adjust keybindings
413         (deadKeyBindings): ditto
414
415         * kbsequence.C (addkey): return a FuncRequest
416
417         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
418
419         * kbmap.C (bind): take a FuncRequest as arg, adjust
420         (read): adjust
421         (lookup): adjust
422         (defkey): change to take a FuncRequest as arg, adjust
423         (findbinding): take a FuncRequest as arg, adjust.
424
425         * funcrequest.h (operator=): added
426
427         * funcrequest.C (FuncRequest): default kb_action changed from
428         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
429
430         * buffer.C (dispatch): simplify
431         (dispatch): adjust to take a FuncRequest as arg, adjust
432
433         * boost.C (assertion_failed): change assertion message slightly
434
435         * ToolbarBackend.C (read): simplify
436
437         * MenuBackend.C (binding): adjust call to findbinding, add a
438         message if no binding is found.
439         (read): simplify
440         (expandToc): correct by adding a empty FuncRequest
441
442         * LyXAction.C: include <boost/assert.hpp>
443         (isPseudoAction): delete function
444         (LookupFunc): change name to...
445         (lookupFunc): this. change return type to FuncRequest.
446         (getActionName): take kb_action as arg, simplify
447         (funcHasFlag): add an assert, simplify.
448
449 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
450
451         * toc.C (action): return a FuncRequest, simplify
452
453         * lyxfunc.C (processKeySym): adjust
454         (getStatus): delete version that takes an int.
455         (getStatus): adjust
456         (dispatch): delete version that takes action as int
457         (dispatch): adjust
458         (sendDispatchMessage): simplify and adjust
459
460         * funcrequest.C (getArg): take unsigned int as arg
461
462         * ToolbarBackend.C (read): adjust
463         (add): delete version that takes func as a string.
464         (getIton): take a FuncRequest as arg
465
466         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
467         action.
468
469         * MenuBackend.C (MenuItem): add a new construct that only takes a
470         Kind, simplify the constructor use for submenus.
471         (add): adjust
472         (expandLastfiles): adjust
473         (expandDocuments): adjust
474         (expandFormats): adjust
475         (expandFloatListInsert): adjust
476         (expandFloatInsert): adjust
477         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
478
479         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
480         Remove class variables lyx_pseudo_map and lyx_arg_map
481
482         * LyXAction.C (searchActionArg): delete function
483         (getPseudoAction): delete function
484         (retrieveActionArg): delete function
485         (LookupFunc): make it return kb_action, simplify.
486         (getActionName): simplify
487
488         * factory.C (createInset): fix new bug
489
490 2003-09-19  Angus Leeming  <leeming@lyx.org>
491
492         * CutAndPaste.C (pasteSelection): remove fudge used to set the
493         masterFilename_ parameter in the include inset.
494
495         * factory.C (createInset): changes due to the changes to InsetInclude.
496
497 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
498
499         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
500
501 2003-09-18  Angus Leeming  <leeming@lyx.org>
502
503         * buffer.C:
504         * BufferView.C: pass the buffer when calling Inset::getLabelList,
505         Inset::fillWithBibKeys.
506         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
507
508 2003-09-18  Angus Leeming  <leeming@lyx.org>
509
510         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
511         variables.
512         (ctor): pass and store a 'Buffer const &'
513         (buffer): new member function.
514
515         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
516         '*this' to the LaTeXFeatures ctor.
517
518 2003-09-18  Angus Leeming  <leeming@lyx.org>
519
520         * LColor.h:
521         * lyxfont.C:
522         * lyxfont.h:
523         * lyxtext.h:
524         * text.C: rename EnumLColor as LColor_color.
525
526 2003-09-18  Angus Leeming  <leeming@lyx.org>
527
528         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
529         remove #include "insets/insetbase.h" from cursor.h.
530
531 2003-09-18  Angus Leeming  <leeming@lyx.org>
532
533         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
534         InsetOld_code to remove #include "inset.h".
535
536         * iterators.C: add #include "insets/inset.h"
537
538 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
539
540         * BufferView.C: remove more locking stuff that apparently doesn't
541         do anything sensible.
542
543 2003-09-16  André Pönitz  <poenitz@gmx.net>
544
545         * paragraph.[Ch]:
546         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
547           performance boost.
548
549 2003-09-16  Angus Leeming  <leeming@lyx.org>
550
551         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
552
553         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
554         arg/return type.
555
556         * paragraph.h: remove #include "lyxfont.h". Forward declare
557         LyXFont_size.
558
559 2003-09-16  Angus Leeming  <leeming@lyx.org>
560
561         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
562         of support/textutils.h.
563         (isWord): move the contents of support/textutils.h's IsWordChar here.
564
565         * buffer.C:
566         * lyxfind.C:
567         * rowpainter.C:
568         * text.C:
569         * text2.C: add #include "paragraph.h".
570
571         * rowpainter.C:
572         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
573
574 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
575
576         * main.C:
577         * lyx_main.C:
578         * lyx_cb.C:
579         * buffer.C:
580         * LaTeX.C: use namespace alias for lyx::support::os
581
582 2003-09-16  Angus Leeming  <leeming@lyx.org>
583
584         * bufferparams.C:
585         * bufferview_funcs.C:
586         * factory.C:
587         * lyxfunc.C:
588         * paragraph_pimpl.C:
589         * rowpainter.C:
590         * text.C: add #include "LColor.h".
591
592 2003-09-16  Angus Leeming  <leeming@lyx.org>
593
594         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
595         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
596         return LyXFont &.
597         Store the FontBits::color variable as an int rather than as an
598         LColor::colorso that we can move LColor.h out of the lyxfont.h header
599         file.
600
601         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
602         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
603         string calls together.
604
605         * lyxrc.C: add #include "LColor.h".
606
607 2003-09-15  Angus Leeming  <leeming@lyx.org>
608
609         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
610         a cow_ptr.
611
612 2003-09-15  Angus Leeming  <leeming@lyx.org>
613
614         * LColor.h: add an EnumLColor wrapper for LColor::color.
615
616         * lyxfont.[Ch] (color, setColor, realColor):
617         * lyxtext.h, text.C (backgroundColor):
618         pass EnumLColor args to/from the functions, rather than LColor::color
619         ones.
620
621         * lyxfont.h:
622         * lyxtext.h: forward declare EnumLColor.
623
624         * lyx_main.C: add #include "LColor.h".
625
626 2003-09-15  Angus Leeming  <leeming@lyx.org>
627
628         * .cvsignore: add lyx-gtk.
629
630 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
631
632         * Chktex.C
633         * LaTeX.C
634         * LaTeXFeatures.C
635         * ParagraphParameters.C
636         * Spacing.C
637         * buffer.C
638         * bufferparams.C
639         * bufferview_funcs.C
640         * chset.C
641         * counters.C
642         * funcrequest.C
643         * lyxfont.C
644         * lyxgluelength.C
645         * lyxlength.C
646         * paragraph.C
647         * paragraph_funcs.C
648         * text3.C
649         * vc-backend.C: remove usage of STRCONV
650
651 2003-09-15  Angus Leeming  <leeming@lyx.org>
652
653         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
654         explicitly define the color passed to the painter.
655
656 2003-09-15  Angus Leeming  <leeming@lyx.org>
657
658         * bufferparams.C (BufferParams): reorder member initializers to avoid
659         compiler warning.
660
661 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
662
663         * CutAndPaste.C (pasteSelection): remove an outdated #warning
664         * text.C (updateRowPositions): remove an unusual nop
665
666 2003-09-12  André Pönitz  <poenitz@gmx.net>
667
668         * BufferView_pimpl.C:
669         * Bullet.C:
670         * layout.h:
671         * lyxfunc.C:
672         * lyxlayout.[Ch]:
673         * lyxtextclass.C:
674         * rowpainter.C:
675         * text.C:
676         * text2.C:
677         * Counters.[Ch]: finish the 'automatic counters' job
678
679 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
680
681         * aspell.C: include <boost/assert.cpp> (compile fix)
682
683 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
684
685         * boost.C (assertion_failed): use lyx::support::abort instead of
686         assert.
687
688 2003-09-10  Angus Leeming  <leeming@lyx.org>
689
690         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
691         with their _fwd progeny.
692
693 2003-09-09  Angus Leeming  <leeming@lyx.org>
694
695         134 files throughtout the source tree: replace 'using namespace abc;'
696         directives with the appropriate 'using abc::xyz;' declarations.
697
698 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
699
700         * boost.C (emergencyCleanup): moved here from LAssert.c
701         (assertion_failed): new function, called by BOOST_ASSERT
702
703         * several files: change Assert to BOOST_ASSERT
704
705 2003-09-09  Angus Leeming  <leeming@lyx.org>
706
707         * buffer.[Ch]: Add an Impl class and move Buffer's member
708         variables into it. As a result move several header files out of
709         buffer.h.
710
711         Add header files to lots of .C files all over the tree as a result.
712
713 2003-09-09  Angus Leeming  <leeming@lyx.org>
714
715         * buffer.[Ch]: make Buffer's member variables private. Add
716         accessor functions.
717
718         Lots of changes all over the tree as a result.
719
720 2003-09-08  Angus Leeming  <leeming@lyx.org>
721
722         * graph.C: #include <config.h>.
723
724 2003-09-08  Angus Leeming  <leeming@lyx.org>
725
726         * BranchList.C:
727         * BufferView.C:
728         * BufferView_pimpl.C:
729         * CutAndPaste.C:
730         * DepTable.C:
731         * LaTeX.C:
732         * LaTeXFeatures.C:
733         * LyXAction.C:
734         * MenuBackend.C:
735         * TextCache.C:
736         * aspell.C:
737         * buffer.C:
738         * bufferlist.C:
739         * changes.C:
740         * chset.C:
741         * converter.C:
742         * counters.C:
743         * debug.C:
744         * graph.C:
745         * ispell.C:
746         * lyx_cb.C:
747         * lyxfind.C:
748         * lyxfunc.C:
749         * lyxlex_pimpl.C:
750         * lyxrc.C:
751         * lyxrow.C:
752         * paragraph.C:
753         * rowpainter.C:
754         * texrow.C:
755         * text.C:
756         * text2.C:
757         * toc.C: remove redundant using directives.
758
759 2003-09-07  Angus Leeming  <leeming@lyx.org>
760
761         * LaTeXFeatures.h: remove #include "support/types.h".
762         * ToolbarBackend.h: remove #include <algorithm>.
763         * changes.h: remove #include <ctime>.
764         * debug.h: remove #include <iosfwd>.
765         * graph.h: remove #include "support/std_string.h".
766         * lyx_main.h: remove #include <csignal>.
767         * lyxlex_pimpl.h: remove #include <fstream>.
768         * sgml.h: remove #include <algorithm>, <utility>.
769         * toc.h: remove #include "support/std_ostream.h".
770         Add #include <iosfwd>.
771
772 2003-09-07  Angus Leeming  <leeming@lyx.org>
773
774         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
775
776         * converter.h: forward declare LatexRunParams.
777         * encoding.h: remove #include "lyxrc.h".
778         * lyxtext.h: remove #include "LColor.h".
779         * lyxtextclass.h: remove #include "support/types.h".
780         * trans.h: remove #include "tex-accent.h".
781         * trans_mgr.h: remove #include "tex-accent.h".
782         * insets/inset.h: remove #include "support/types.h", <vector>.
783         * insets/insetcollapsable.h: remove #include "LColor.h".
784         * insets/insetinclude.h: remove #include "dimension.h".
785         * insets/insetlatexaccent.h: remove #include "dimension.h".
786         * insets/insetoptarg.h:: remove #include "insettext.h".
787         * insets/insettext.h: remove #include "dimension.h",
788         <boost/shared_ptr.hpp>
789
790         * insets/renderers.h: add #include "dimension.h".
791         * insets/updatableinset.h: add #include "support/types.h".
792
793         * many .C files: Associated changes.
794
795 2003-09-06  Angus Leeming  <leeming@lyx.org>
796
797         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
798         one, inside testInvariant.
799
800         * PrinterParams.C: new file.
801         * PrinterParams.[Ch]: move the function bodies out of line.
802
803 2003-09-06  Angus Leeming  <leeming@lyx.org>
804
805         * ParagraphParameters.h: forward declare ParameterStruct rather than
806         including its header file.
807         (depth): moved out-of-line.
808
809 2003-09-06  Angus Leeming  <leeming@lyx.org>
810
811         * BufferView_pimpl.h:
812         * kbmap.h:
813         * kbsequence.h:
814         * lyxfunc.h: forward declare LyXKeySym rather than
815         #include "frontends/LyXKeySym.h".
816
817         * BufferView_pimpl.C:
818         * kbmap.C:
819         * kbsequence.C:
820         * lyxfunc.C: associated changes.
821
822 2003-09-06  Angus Leeming  <leeming@lyx.org>
823
824         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
825         As a result, can remove the #include "insets/inset.h" from BufferView.h
826
827 2003-09-06  Angus Leeming  <leeming@lyx.org>
828
829         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
830         As a result, can remove the #include "insets/inset.h" from BufferView.h
831
832 2003-09-06  Angus Leeming  <leeming@lyx.org>
833
834         * buffer_funcs.C:
835         * buffer.h:
836         * bufferlist.C:
837         * BufferView.C:
838         * bufferview_funcs.C:
839         * BufferView_pimpl.C:
840         * CutAndPaste.C:
841         * lyx_cb.C:
842         * lyxfunc.C:
843         * paragraph.h:
844         * ParagraphParameters.C:
845         * tabular.C:
846         * text3.C:
847         * toc.C:
848         * undo_funcs.C:
849         * frontends/controllers/ControlDocument.C:
850         * insets/insetcaption.C: rearrange the #includes into some sort of
851         coherent order.
852
853         * buffer.h: remove #includes ErrorList.h, undo.h
854
855 2003-09-06  Angus Leeming  <leeming@lyx.org>
856
857         * support/types.h: add a 'depth_type' typedef, used to store the
858         nesting depth of a paragraph.
859
860         * paragraph.h:
861         * ParameterStruct.h: use this lyx::depth_type typedef rather than
862         defining explicitly.
863
864         * buffer.h:
865         * paragraph_funcs.h:
866         * ParagraphParameters.h:
867         * sgml.h: use lyx::depth_type rather than Paragraph or
868         ParameterStruct's depth_type.
869
870         * buffer.h
871         * paragraph_funcs.h: no need to #include paragraph.h anymore.
872
873         * BufferView.C:
874         * BufferView_pimpl.C:
875         * CutAndPaste.C:
876         * ParagraphParameters.C:
877         * buffer_funcs.C:
878         * bufferlist.C:
879         * bufferview_funcs.C:
880         * lyx_cb.C:
881         * lyxfunc.C:
882         * tabular.C:
883         * text3.C:
884         * toc.C:
885         * undo_funcs.C:
886         * frontends/LyXView.C:
887         * frontends/controllers/ControlDocument.C:
888         * frontends/controllers/ControlErrorList.C:
889         * insets/insetbibitem.C:
890         * insets/insetbranch.C:
891         * insets/insetcaption.C:
892         * insets/insetcollapsable.C:
893         * insets/insetenv.C:
894         * insets/insetert.C:
895         * insets/insetfloat.C:
896         * insets/insetfoot.C:
897         * insets/insetfootlike.C:
898         * insets/insetnewline.C:
899         * insets/insetquotes.C:
900         * insets/insettabular.C:
901         * insets/insettext.C:
902         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
903
904         * frontends/controllers/ControlChanges.C: #include "changes.h".
905
906 2003-09-06  Angus Leeming  <leeming@lyx.org>
907
908         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
909         than #including paragraph.h.
910
911         * ParagraphList.h:
912         * RowList.h: deleted. Superfluous.
913
914         * CutAndPaste.h:
915         * iterators.h:
916         * lyxcursor.h:
917         * lyxtext.h:
918         * text_funcs.h:
919         * undo.h:
920         * undo_funcs.h:
921         * insets/inset.h:
922         * insets/insettext.h: use ParagraphList_fwd.h rather than
923         ParagraphList.h.
924
925         * paragraph.h: don't forward declare ParagraphList.
926
927         * buffer.h:
928         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
929         rather than ParagraphList.h. paragraph.h is still needed for the
930         Paragraph::depth_type parameters.
931
932         * textcursor.h: enable it to compile stand-alone in light of the
933         above changes.
934
935         * bufferview_funcs.C:
936         * iterators.C:
937         * lyxfunc.C:
938         * lyxrow_funcs.C:
939         * paragraph.C:
940         * rowpainter.C:
941         * text.C:
942         * text2.C:
943         * text3.C:
944         * text_funcs.C:
945         * textcursor.C:
946         * undo.C:
947         * frontends/controllers/ControlParagraph.C:
948         * frontends/controllers/ControlTabular.C:
949         * insets/insetmarginal.C:
950         * insets/insetminipage.C:
951         * insets/insetnote.C:
952         * insets/insetoptarg.C: add header files needed to compile again.
953
954 2003-09-06  Angus Leeming  <leeming@lyx.org>
955
956         * RowList_fwd.h: new file, forward-declaring Row rather than
957         #including lyxrow.h.
958
959         * lyxrow_funcs.h:
960         * lyxtext.h:
961         * paragraph.h:
962         * insets/insettext.h: use it instead of RowList.h
963
964         * bufferview_funcs.C:
965         * lyxfunc.C:
966         * lyxrow_funcs.C:
967         * paragraph.C:
968         * rowpainter.C:
969         * text.C:
970         * text2.C:
971         * text3.C: #include "RowList.h".
972
973 2003-09-05  Angus Leeming  <leeming@lyx.org>
974
975         * factory.C (createInset):
976         * vspace.C (c-tor): replace sscanf call with an istringstream.
977         * ispell.C: re-add missing HP/UX headers.
978         * lyxserver.C: re-add missing  os2 headers.
979
980 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
981
982         * BranchList.C:
983         * graph.C:
984         * ispell.C:
985         * lastfiles.C:
986         * lyx_cb.C:
987         * lyxserver.C:
988         * texrow.C:
989         * text3.C: re-add missing system headers, needed for 2.95.2.
990
991 2003-09-05  Angus Leeming  <leeming@lyx.org>
992
993         Changes most place everywhere due to the removal of using directives
994         from support/std_sstream.h.
995
996 2003-09-05  Angus Leeming  <leeming@lyx.org>
997
998         Replace LString.h with support/std_string.h,
999         Lsstream.h with support/std_sstream.h,
1000         support/LIstream.h with support/std_istream.h,
1001         support/LOstream.h with support/std_ostream.h.
1002
1003         Changes resulting throughout the tree.
1004
1005 2003-09-05  Angus Leeming  <leeming@lyx.org>
1006
1007         * sgml.h: ensure that the header file can be compiled stand-alone.
1008         * *.C: strip out redundant #includes. (320 in total.)
1009
1010 2003-09-04  Angus Leeming  <leeming@lyx.org>
1011
1012         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1013         here (from getPackages).
1014
1015         * debug.[Ch]: add a new EXTERNAL tag.
1016
1017 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1018
1019         * text2.C (cursorEnd): simplify
1020         (setCursor): adjust
1021         (getColumnNearX): adjust
1022
1023         * text.C (computeBidiTables): adjust
1024         (fill): adjust
1025
1026         * rowpainter.C (paintChars): adjust
1027         (paintSelection): adjust
1028         (paintChangeBar): adjust
1029         (paintText): adjust
1030
1031         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1032         lastPos instead.
1033         (numberOfSeparators): adjust
1034
1035 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1036
1037         * LyXAction.C:
1038         * box.[Ch]:
1039         * lfuns.h:
1040         * lyxfunc.C:
1041         * text3.C: Restricts the mouse click functionality
1042         of insets like bibtex, include, toc and floatlist to the visible
1043         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1044         up the dialogs. Cursor has to be in front of the inset (i.e.
1045         start of row) for this to function.
1046
1047 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1048
1049         * bufferview_funcs.C (currentState): output row information
1050
1051 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1052
1053         * bufferview_funcs.C (currentState): output paragraph position
1054
1055 2003-09-04  Angus Leeming  <leeming@lyx.org>
1056
1057         * FloatList.h: move out #include "Floating.h".
1058         * LaTeX.h: move out #include "DepTable.h".
1059         * LyXAction.h: move out #include "funcrequest.h".
1060         * buffer.h: move out #include "author.h", "iterators.h".
1061         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1062         * lyx_main.h: move out #include "errorlist.h".
1063         * lyxfunc.h: move out #include "FuncStatus.h".
1064         * lyxtext: move out #include "lyxcursor.h".
1065         * paragraph_pimpl.h: move out #include "counters.h".
1066
1067 2003-09-03  Angus Leeming  <leeming@lyx.org>
1068
1069         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1070         preamble_snippets list, enabling us to add snippets to the preamble
1071         only if the snippet was not there already.
1072
1073 2003-09-04  Angus Leeming  <leeming@lyx.org>
1074
1075         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1076
1077 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1078
1079         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1080         update
1081
1082 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1083
1084         * BranchList.C: point fix, earlier forgotten
1085
1086 2003-09-02  Angus Leeming  <leeming@lyx.org>
1087
1088         * box.C (contains): renamed from 'contained' after a fantastic
1089         amount of hot air.
1090
1091 2003-09-02  John Levon  <levon@movementarian.org>
1092
1093         * BufferView.C:
1094         * lyxcursor.h:
1095         * lyxcursor.C:
1096         * lyxfunc.C:
1097         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1098
1099 2003-09-02  John Levon  <levon@movementarian.org>
1100
1101         * text2.C: simplification of cursorEnd(), including partial
1102         fix for bug 1376
1103
1104 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1105
1106         * buffer.C (readFile): add a space
1107
1108 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1109
1110         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1111
1112 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1113
1114         * buffer.C (readFile): new function, take a filename and a
1115         ParagraphList::iterator
1116         (readFile): adjust
1117         (readFile): adjust, make it private. don't use setStream, make
1118         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1119         always contain the filename.
1120
1121         * BufferView.C (insertLyXFile): simplify and make it work for
1122         gzipped files.
1123
1124 2003-08-30  John Levon  <levon@movementarian.org>
1125
1126         * Makefile.am: fix dist (from Kayvan)
1127
1128 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1129
1130         * most files: change to use const Buffer refs
1131
1132 2003-08-27  André Pönitz  <poenitz@gmx.net>
1133
1134         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1135         on top of ownerPar().
1136
1137 2003-08-27  John Levon  <levon@movementarian.org>
1138
1139         * funcrequest.C: properly initialise POD members
1140
1141 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1142
1143         * lyxtext.h (top_y): move top_y from here
1144         * text.C:
1145         * text2.C:
1146         * text3.C:
1147         * BufferView.[Ch]:
1148         * BufferView_pimpl.[Ch]: to here
1149         * frontends/screen.C:
1150         * insets/insettabular.C:
1151         * insets/insettext.C: adjust
1152         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1153
1154 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1155
1156         * BufferView.[Ch]:
1157         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1158
1159 2003-08-26  André Pönitz  <poenitz@gmx.net>
1160
1161         * paragraph_func.[Ch] (outerPar): new function
1162
1163         * paragraph.C:
1164         * paragraph_funcs.C:
1165         * paragraph_funcs.h:
1166         * paragraph_pimpl.C:
1167         * text2.C: remove Inset::par_owner
1168
1169 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1170
1171         * lyxrow_funcs.C:
1172         * lyxtext.h:
1173         * text.C:
1174         * text2.C: eliminates the needFullRow/display() stuff
1175         altogether, putting the logic in metrics/draw in the insets.
1176
1177 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1178
1179         * text2.C (redoParagraphInternal, redoParagraphs):
1180         * text.C (redoParagraph): add a call to updateRowPositions at the
1181         end of each 'metrics-like' call. Remove all others.
1182         (getRow): remove the 'y-computing' version.
1183         (getRowNearY): do not compute nor return the real y. Solve the
1184         'y < 0' problem and simplify.
1185
1186 2003-08-22  Angus Leeming  <leeming@lyx.org>
1187
1188         * *.[Ch]: clean-up of licence and author blurbs.
1189         Also move config.h out of a few .h files and into a few .C files.
1190
1191 2003-08-22  André Pönitz  <poenitz@gmx.net>
1192
1193         * lyxrow.[Ch]: add x_ and *fill_ members
1194
1195         * lyxtext.h:
1196         * text.C:
1197         * rowpainter.C:
1198         * text2.C: adjust/remove prepareToPrint() calls
1199
1200 2003-08-22  André Pönitz  <poenitz@gmx.net>
1201
1202         * lyxrow.[Ch]: add  end_ member
1203
1204         * lyxrow_funcs.C: use LyXRow::end_
1205
1206         * lyxtext.h (singleWidth): add LyXFont parameter
1207
1208         * rowpainter.C:
1209         * text2.C: adjust LyXText::singleWidth() calls
1210
1211         * text.C (redoParagraph): simplify row breaking logic
1212
1213
1214 2003-08-19  André Pönitz  <poenitz@gmx.net>
1215
1216         * funcrequest.C: initialize button_ member
1217
1218         * text3.C:
1219         * rowpainter.[Ch]: interface consolidation
1220
1221 2003-08-18  André Pönitz  <poenitz@gmx.net>
1222
1223         * BufferView.C:
1224         * BufferView_pimpl.C:
1225         * lyxfind.C:
1226         * paragraph_funcs.C:
1227         * rowpainter.C:
1228         * text3.C: remove LyXScreen::draw() and fitCursor calls
1229
1230         * BranchList.h: remove spurious semicolons
1231
1232         * MenuBackend.C: fix branchlist related crash
1233
1234 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1235
1236         * BranchList.[Ch]:
1237         * InsetList.[Ch]:
1238         * LColor.[Ch]:
1239         * LyXAction.C:
1240         * Makefile.am:
1241         * MenuBackend.[Ch]:
1242         * bufferparams.[Ch]:
1243         * factory.C:
1244         * lfuns.h:
1245         * lyxfunc.C:
1246         * text3.C: implements the 'branch inset'
1247         idea. This allows the output of various versions of a document
1248         from a single source version, selectively outputing or suppressing
1249         output of parts of the text.
1250         This implementation contains a 'branch list editor' in a separate
1251         tab of the document settings dialog. Branches are user definable
1252         and have a "display colour" to distinguish them on-screen.
1253
1254         ColorHandler was somewhat cleaned up.
1255         (1) make possible a dynamically growing LColor list by allowing
1256         the graphic context cache to grow along (vector);
1257         (2) eliminate an IMHO unnecessary step in colour allocation.
1258
1259 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1260
1261         * BufferView_pimpl.C: compile fix
1262
1263 2003-08-15  André Pönitz  <poenitz@gmx.net>
1264
1265         * rowpainter.C: remove extra metrics calls
1266
1267         * lyxtext.h: merge the two constructors into a single one,
1268           pass reference to owner's par list
1269
1270         * BufferView_pimpl.C:
1271         * text.C:
1272         * text2.C: adjust
1273
1274 2003-08-15  André Pönitz  <poenitz@gmx.net>
1275
1276         * lyxrow_funcs.[Ch]:
1277         * lyxtext.h:
1278         * paragraph.h:
1279         * paragraph_funcs.C:
1280         * rowpainter.C:
1281         * text.C:
1282         * text2.C:
1283         * text3.C:
1284         * text_funcs.C: split LyXText::rowlist_ into individual
1285         Paragraph::rows_ chunks
1286
1287         * BufferView.[Ch]:
1288         * BufferView_pimpl.[Ch]:
1289         * lyxfind.C:
1290         * lyxtext.h:
1291         * text3.C: remove toggleSelection()
1292
1293 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1294
1295         * bufferlist.C: beautify two alerts (shorter text of buttons)
1296         * buffer.C: Remove redundant ' ' from message
1297         * tabular.h:
1298         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1299         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1300         rename VALIGN_CENTER to VALIGN_MIDDLE
1301
1302 2003-08-11  André Pönitz  <poenitz@gmx.net>
1303
1304         * lyxtext.h (getPar):
1305         * text.C: new function
1306
1307 2003-08-11  André Pönitz  <poenitz@gmx.net>
1308
1309         * Makefile.am:
1310         * tracer.[Ch]: remove unneeded files
1311
1312         * InsetList.[Ch]: remove resizeInsetsLyXText()
1313
1314         * lyxtext.h:
1315         * text.C:
1316         * text2.C:
1317         * text3.C: merge insertParagraphs() and appendParagraph()
1318         remove breakAgain(), update()
1319
1320         * BufferView_pimpl.[Ch]:
1321         * bufferview_funcs.[Ch]:
1322         * lyxfunc.C:
1323         * paragraph.[Ch]:
1324         * rowpainter.C:
1325         * tabular.C: adjust after text & InsetList changes.
1326
1327 2003-08-08  André Pönitz  <poenitz@gmx.net>
1328
1329         * text.C (insertChar, backspace): replace rowlist fiddling
1330         with rebreak of full par
1331
1332         * lyxtext.h:
1333         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1334         checkParagraph, updateInset): removed
1335
1336 2003-08-07  André Pönitz  <poenitz@gmx.net>
1337
1338         * paragraph.C:
1339         * text3.C: merge some LFUN handlers, remove dead code
1340
1341 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1344
1345 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1346
1347         * text2.C (DEPM): fix part of bug 1255 and 1256
1348
1349 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * BufferView_pimpl.C (workAreaDispatch): change to use
1352         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1353         that are no mouse related.
1354
1355 2003-08-05  André Pönitz  <poenitz@gmx.net>
1356
1357         * BufferView.[Ch]:
1358         * BufferView_pimpl.[Ch]:
1359         * bufferview_funcs.C:
1360         * text2.C:
1361         * text3.C: rip out "deep update"
1362
1363         * textcursor.[Ch] (last_sel_cursor): remove unused member
1364
1365 2003-08-04  André Pönitz  <poenitz@gmx.net>
1366
1367         * BufferView.[Ch]:
1368         * BufferView_pimpl.[Ch]:
1369         * ParagraphParameters.C:
1370         * bufferview_funcs.C:
1371         * lyx_cb.C:
1372         * lyxfind.C:
1373         * lyxfunc.C:
1374         * text.C:
1375         * text2.C:
1376         * text3.C: replace "complicated" BufferView::update(...) calls with
1377         simpler ones.
1378
1379         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1380
1381 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1382
1383         * Makefile.am (lyx_SOURCES): add paper.h
1384
1385 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1386
1387         * Makefile.am: move things around so that both lyx-qt and
1388         lyx-xforms can be built (according to --with-frontend). Then lyx
1389         is a symbolic link to lyx-[firstfrontend]
1390
1391 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1392
1393         * Always use std::endl with lyxerr
1394
1395 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1396
1397         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1398
1399 2003-08-01  André Pönitz  <poenitz@gmx.net>
1400
1401         * BufferView.[Ch]:
1402         * BufferView_pimpl.[Ch]:
1403         * lyxfunc.C:
1404         * text3.C: merge BufferView::repaint() and BufferView::update()
1405
1406 2003-08-01  José Matos  <jamatos@lyx.org>
1407
1408         * buffer.[Ch]: file_format is no longer a buffer data element.
1409
1410 2003-08-01  André Pönitz  <poenitz@gmx.net>
1411
1412         * BufferView.C:
1413         * lyxtext.h:
1414         * text.C:
1415         * text2.C: make redoParagraph more independent of current cursor
1416
1417         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1418         * text.C:
1419         * text2.C: remove unneeded members
1420
1421 2003-07-30  André Pönitz  <poenitz@gmx.net>
1422
1423         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1424
1425         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1426           create a single function...
1427
1428         * paragraph_funcs.C (moveItem): ... here.
1429
1430         * text.C:
1431           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1432
1433 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * LColor.[Ch]: Add comment and greyedout logical colors.
1436
1437 2003-07-30  André Pönitz  <poenitz@gmx.net>
1438
1439         * tabular.C: don't use Assert too heavily. This crashes where it
1440           shouldn't
1441
1442 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1443
1444         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1445         is disabled (bug 1232)
1446
1447 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1448
1449         * factory.C: limited 'arg' scope
1450
1451 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1452
1453         * factory.C: fixed Note submenu issues
1454
1455 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1456
1457         * factory.C: submenu for Note/Comment/Greyedout
1458
1459 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1460
1461         * lyx_main.C (LyX):
1462         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1463
1464 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * LaTeXFeatures.C:
1467         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1468         greyedout. Patch provided by Jürgen Spitzmüller.
1469
1470 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * kbmap.C (read): fix error message when reading bind files
1473
1474 2003-07-29  Angus Leeming  <leeming@lyx.org>
1475
1476         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1477         certainly does not do what it purports to do. I am doing it, and
1478         us, a favour by killing it.
1479
1480 2003-07-28  José Matos  <jamatos@lyx.org>
1481
1482         * buffer.C (readBody, do_writeFile):
1483         * paragraph.C(readParagraph): \end_document replaces \the_end.
1484
1485 2003-07-29  André Pönitz  <poenitz@gmx.net>
1486
1487         * BufferView.[Ch]:
1488         * BufferView_pimpl.[Ch]:
1489         * lyxfunc.C:
1490         * text2.C:
1491         * text3.C:
1492         * textcursor.[Ch]: remove toggleToggle & Co
1493
1494 2003-07-28  José Matos  <jamatos@fep.up.pt>
1495
1496         * buffer.C (readParagraph):
1497         * params_func (readParToken, readParagraph):
1498         * paragraph.C (write): \layout -> \begin_layout.
1499
1500 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1501
1502         * lyxlex_pimpl.C (setFile): clean up slightly.
1503
1504         * bufferparams.h: add compressed var
1505
1506         * buffer_funcs.C (readFile): adjust for LyXLex change
1507         (newFile): ditto + simplify
1508
1509         * buffer.C (writeFile): handle writing of compressed files
1510
1511         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1512         Check if the file is compressed and set a bufferparm if so.
1513
1514         * Makefile.am (lyx_LDADD): remove explicit -lz
1515
1516 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1517
1518         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1519         makeDocBookFile): put the real LyX version in the first line of
1520         the file
1521
1522         * version.h:
1523         * version.C.in: remove lyx_docversion
1524
1525         * tabular.C (write_attribute): add a template-based version to
1526         write enums properly
1527
1528 2003-07-28  André Pönitz  <poenitz@gmx.net>
1529
1530         * lyxtext.h:
1531         * text.C:
1532         * text2.C:
1533         * text3.C: use doubles again for x-coordinates. They are needed.
1534
1535 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1536
1537         * messages.C (getLocaleDir): use lyx_localedir()
1538
1539         * lyxlex_pimpl.C (setFile): compress stuff
1540
1541         * buffer.C (writeFile): add some compression stuff
1542         (do_writeFile): new func, dont call expliti close... will this
1543         breake anything?
1544
1545         * Makefile.am (lyx_LDADD): add -lz
1546
1547 2003-07-28  José Matos  <jamatos@fep.up.pt>
1548
1549         * buffer.C: increment file format.
1550         * paragraph_funcs (readParagraph, readParToken):
1551         * paragraph.C (readParagraph): add \end_layout.
1552
1553 2003-07-27  Angus Leeming  <leeming@lyx.org>
1554
1555         * Makefile.am: remove special casing for configure-time setting of
1556         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1557
1558         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1559         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1560
1561 2003-07-26  André Pönitz  <poenitz@gmx.net>
1562
1563         * paragraph_func.[Ch]:
1564         * paragraph.C (realizeFont): inline it whereever it is used
1565
1566         * rowpainter.C:
1567         * text.C:
1568         * text2.C:
1569         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1570
1571
1572 2003-07-26  André Pönitz  <poenitz@gmx.net>
1573
1574         *       lyxtext.h:
1575         * text.C:
1576         * text2.C: get rid of LyXText::need_break_row
1577
1578 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1579
1580         * toc.[Ch]: put namespace toc inside namespace lyx
1581
1582         * MenuBackend.C (expandToc2): adjust for lyx::toc
1583         (expandToc): ditto
1584
1585         * lyxfunc.C (dispatch): adjust for lyx::find
1586
1587         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1588         lyx::find instead. Reorganize a bit.
1589         (LyXReplace): rename to replace
1590         (LyXFind): rename to find
1591
1592         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1593         (dispatch): ditto
1594
1595 2003-07-26  André Pönitz  <poenitz@gmx.net>
1596
1597         * text.C (setHeightOfRow): restrict scope of temporary variable
1598
1599         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1600           code (never has been used?)
1601
1602 2003-07-27  Asger Alstrup  <alstrup@local>
1603
1604         * text.C (fill): Optimise algorithm to exploit that we can reuse
1605         the LyXFont for many characters.
1606         (setHeightOfRow): Same thing.
1607         (rowBreakPoint): Same thing.
1608
1609 2003-07-26  Asger Alstrup  <alstrup@local>
1610
1611         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1612
1613         * text.C (singleWidth): Spurious font copying in hot-spot
1614         singleWidth avoided. Reorder tests for arabic for efficiency.
1615
1616         * text.C (fill): handle empty paragraphs better.
1617
1618 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * ispell.C:
1621         * encoding.h: add includes
1622
1623         * lyxrc.C: remove reading of bind files
1624
1625         * lyx_main.C (init): setup bindings and menus only if we have a
1626         gui.
1627
1628         * kbmap.C (read): new method. Do the actual reading of bind
1629         files.
1630
1631         * converter.C (dvipdfm_options):
1632         * bufferparams.C:
1633         * lyxrc.C (read):
1634         (output): adapt PAPER_* enums.
1635
1636         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1637
1638         * bufferparams.h: remove paper-related enums from there
1639
1640         * paper.h: New file. A trivial header file to hold paper-related
1641         enums. It should later expand to contain many paper-related
1642         horrors access.
1643
1644         * lyxrc.C: declare extern displayTranslator
1645
1646 2003-07-27  José Matos  <jamatos@fep.up.pt>
1647
1648         * tabular.[Ch] (linuxdoc): add support for tables and figures
1649         (linuxdoc).
1650
1651 2003-07-27  José Matos  <jamatos@fep.up.pt>
1652
1653         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1654         consistency in both functions.
1655         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1656
1657 2003-07-26  Asger Alstrup  <alstrup@local>
1658
1659         * rowpainter.C (paintRows): Change algorithm to work directly on
1660         the insets rather than asking every character in the document
1661         whether its an inset.
1662
1663 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1664
1665         * buffer.C (openFileWrite): factorize some code
1666
1667 2003-07-26  Angus Leeming  <leeming@lyx.org>
1668
1669         * lyx_cb.C:
1670         * lyx_main.[Ch]: replace occurances of system_tempdir with
1671         os::getTmpDir().
1672
1673 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1674
1675         * rename Inset to InsetOld
1676
1677 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1678
1679         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1680         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1681         which I think is a bit clearer. EDIT is gone, since it was
1682         premature optimisation, and broken for mathed anyway.
1683         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1684         with cursor positioning in insets as well (math insets still do not
1685         work, but that's a different story anyway.) It mysteriously
1686         crashes sometimes with undo in the first paragraph, but I'm fairly
1687         confident that this is a compiler bug.
1688
1689 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1690
1691         * paragraph.C (Paragraph): adjust for new clone return type
1692         (operator==): ditto
1693         (copyIntoMinibuffer): ditto
1694
1695 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1696
1697         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1698         by not having a special case, and always doing a full rebreak of
1699         the document after undo.
1700
1701 2003-07-23  Angus Leeming  <leeming@lyx.org>
1702
1703         * factory.C (createInset): InsetExternal::setParams now takes a
1704         Buffer const * arg.
1705
1706 2003-07-23  Angus Leeming  <leeming@lyx.org>
1707
1708         * factory.C (createInset): changed interface to the external and
1709         graphics mailers' string2params functions.
1710
1711 2003-07-23  Angus Leeming  <leeming@lyx.org>
1712
1713         * factory.C (createInset): pass a
1714         Buffer const * parameter to InsetExternalMailer's string2params.
1715
1716 2003-07-22  John Levon  <levon@movementarian.org>
1717
1718         * Thesaurus.h: include the right aiksaurus header
1719
1720 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * MenuBackend.C (expand): check menu shortcuts unconditionally
1723
1724 2003-07-21  Angus Leeming  <leeming@lyx.org>
1725
1726         * factory.C (createInset): pass a
1727         buffer_path parameter to InsetGraphicsMailer's string2params.
1728
1729 2003-07-21  Angus Leeming  <leeming@lyx.org>
1730
1731         * BufferView_pimpl.C (buffer):
1732         * buffer.C (d-tor):
1733         * lyx_main.C (LyX):
1734         * lyxfunc.C (dispatch):
1735         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1736         rather than the grfx shortcut.
1737
1738 2003-07-21  André Pönitz  <poenitz@gmx.net>
1739
1740         * rowpainter.C: remove unused variables
1741
1742         * tabular_funcs.C:
1743         * tabular_funcs.h: move to tabular.C
1744         * Makefile.am: adjust
1745
1746         * tabular.[Ch]: basic optical cleaning
1747
1748         * author.h: pass references, not values
1749
1750 2003-07-18  André Pönitz  <poenitz@gmx.net>
1751
1752         * lyxtext.h:
1753         * metricsinfo.C:
1754         * metricsinfo.h:
1755         * rowpainter.C:
1756         * text.C:
1757         * text2.C:
1758         * text3.C: two-phase drawing for InsetText and InsetTabular
1759         some float -> int changes.
1760
1761 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1762
1763         * lyx_main.C: fix the fix
1764
1765 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1766
1767         * lyx_main.C: fix a crash in batch mode if no files specified
1768         * converter.C: ws
1769
1770 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1771
1772         * format.[Ch] (papersize): moved to BufferParams
1773         * converter.[Ch] (dvips_options): moved to BufferParams
1774         (dvipdfm_options): moved to anon namespace
1775         * bufferparams.[Ch]: added above functions.
1776
1777 2003-07-17  André Pönitz  <poenitz@gmx.net>
1778
1779         * lyxtext.h:
1780         * rowpainter.C:
1781         * text2.C: don't call inset->update() anymore
1782
1783         * metricsinfo.[Ch]: add convenience constructor
1784
1785 2003-07-16  André Pönitz  <poenitz@gmx.net>
1786
1787         * lyxcursor.[Ch]:
1788         * lyxfunc.[Ch]:
1789         * text.C:
1790         * text2.C: replace the LyXCursor::irow_ member with
1791          on-demand computation of the value
1792
1793 2003-07-16  John Levon  <levon@movementarian.org>
1794
1795         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1796
1797 2003-07-15  André Pönitz  <poenitz@gmx.net>
1798
1799         * text.C:
1800         * text2.C: remove no more needed refresh_row
1801
1802 2003-07-15  André Pönitz  <poenitz@gmx.net>
1803
1804         * lyxtext.h:
1805         * rowpainter.C:
1806         * text2.C:
1807         * text3.C: refresh_status tristate -> need_update bool
1808
1809 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1810
1811         * lyxtext.h (init): remove reinit argument (act as if always true)
1812         * text2.C: adjust to that
1813
1814 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1815
1816         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1817         * text3.C: use it to delete selections in some cases
1818         (bugs 441, 673, 702, 954).
1819
1820 2003-07-14  André Pönitz  <poenitz@gmx.net>
1821
1822         * rowpainter.[Ch]: reduce interface
1823
1824 2003-07-14  André Pönitz  <poenitz@gmx.net>
1825
1826         * BufferView_pimpl.C:
1827         * text2.C: adjust after removing unused BufferView * argument
1828
1829 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1830
1831         * text2.C (init): fix a crash fired on resize
1832
1833 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * buffer.[Ch]: added new closing signal
1836         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1837         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1838         BufferView::Pimpl via the closing the signal
1839
1840 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1841
1842         * buffer.[Ch]: take out all bv-related from buffer
1843         * BufferView.C:
1844         * BufferView_pimpl.[Ch]: connect to new signals
1845         * CutAndPaste.C: removed useless asserts
1846         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1847         * lyxvc.[Ch]:
1848         * vc-backend.[Ch]:
1849         * lyxfunc.C: moved view-related funciontality from vc here
1850         * paragraph.C: removed outdated comments
1851         * text.C: ws
1852
1853 2003-07-10  André Pönitz  <poenitz@gmx.net>
1854
1855         * BufferView_pimpl.C:
1856         * tabular.h:
1857         * tabular_funcs.C:
1858         * text.C:
1859         * text2.C: remove InsetText::InnerCache, clean up consequences
1860
1861 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1862
1863         * ispell.C: fix two typos in error messages
1864
1865 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1866
1867         * Extend Note inset to other forms of annotation like Comment
1868         and Greyedout. Right button click gives dialog.
1869
1870         Files modified or added (+):
1871
1872         * insetnote.[Ch]
1873         * FormNote.[Ch]      +
1874         * ControlNote.[Ch]   +
1875         * form_note.fd       +
1876         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1877         frontends/controllers
1878         * xforms/Dialogs.C
1879         * factory.C
1880
1881 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1882
1883         * aspell.C: add missing namespace lyx::support
1884
1885 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * BufferView.[Ch] (newFile): Add
1888         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1889         * LaTeX.[Ch] (message): added this signal and use it
1890         * buffer.[Ch] (busy, message): added these signals and use them
1891         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1892         * converter.C:
1893         * exporter.C:
1894         * format.C:
1895         * importer.C: use buffer signals instead of direct bv calling
1896         * lyx_cb.[Ch] (ShowMessage): removed
1897         * lyx_main.C:
1898         * lyxfunc.C:
1899         * paragraph_funcs.C:
1900         * text2.C: use buffer signals
1901
1902 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1903
1904         * introduce namespace lyx::graphics
1905
1906 2003-07-02  André Pönitz  <poenitz@gmx.net>
1907
1908         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1909
1910 2003-07-01  André Pönitz  <poenitz@gmx.net>
1911
1912         * text.C:
1913         * text2.C:
1914         * text3.C:
1915         * text_funcs.[Ch]:
1916         * textcursor.h:
1917         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1918           text*.C to text_func.C
1919
1920 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * introduce namespace lyx::support
1923
1924 2003-06-30  André Pönitz  <poenitz@gmx.net>
1925
1926         * Chktex.C:
1927         * funcrequest.C:
1928         * lyxtext.h:
1929         * text.C: re-enable --with-included-string
1930
1931 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1932
1933         * textcursor.C: add <config.h>
1934
1935         * text.C (getWord): remove const from word_location arg
1936
1937         * lyxvc.C (getLogFile): fix const type order
1938
1939         * lyxtext.h: remove const from word_location arg, add arg name
1940
1941         * lyxlayout.h: currect type on labeltype.
1942
1943         * importer.C: correct \file
1944
1945         * converter.C (intToFormat): use std:: on ret val, ws changes
1946
1947         * bufferlist.h: correct \file
1948
1949         * buffer.C (makeLinuxDocFile): fix const type order
1950         (makeDocBookFile): ditto
1951         (fillWithBibKeys): use std:: on stdlib args.
1952
1953         * CutAndPaste.C: fix authors.
1954         (availableSelections): use std:: on return vector
1955
1956 2003-06-27  André Pönitz  <poenitz@gmx.net>
1957
1958         * BufferView_pimpl.C:
1959         * bufferview_funcs.C:
1960         * lyxcursor.C:
1961         * lyxcursor.h:
1962         * lyxfunc.C:
1963         * lyxtext.h:
1964         * rowpainter.C:
1965         * text.C:
1966         * text2.C:
1967         * text3.C: remove LyXCursor::row_ member
1968
1969         * lyxtext.h:
1970         * text.C: rename fullRebreak() to partialRebreak() and implement
1971           a fullRebreak() that really bereks fully
1972
1973         * textcursor.h: new struct for cursor-related data
1974
1975 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * lyx_main.C (LyX): get full path of document loaded on the
1978         command line
1979
1980 2003-06-26  André Pönitz  <poenitz@gmx.net>
1981
1982         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1983           remove unused/broken operator>,<,>=.
1984
1985         *       text.C: remove only use of broken operator<= in an Assert().
1986
1987 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1988
1989         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1990         moved errorlist_.clear to showErrorList
1991
1992 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1993
1994         * converter.C (scanLog, runLaTeX):
1995         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1996         move the bv->showErrorList call to the callers
1997         * lyxfunc.C: i.e. here...
1998         * text2.C: and here
1999         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2000         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2001         namespace, the second to...
2002         * buffer_funcs (BufferFormat, parseErrors): added
2003         * errorlist.C (ErrorList(TeXErrors const &)): removed
2004
2005 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2006
2007         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2008
2009 2003-06-24  "Garst R. Reese" <reese@isn.net>
2010
2011         * debug.C: fix typo
2012
2013 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2014
2015         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2016
2017         * version.C.in: change docversion to 1.4
2018
2019 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2020
2021         * buffer.C: fix a bug just introduced
2022
2023 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2024
2025         * buffer.[Ch]: added the parseError signal and use it, removed
2026         sgmlError
2027         * BufferView.[Ch] (addError): moved to ...
2028         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2029         to the Buffer::parseError signal to catch (guess what) parse errors
2030         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2031
2032 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2033
2034         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2035         ability to create a buffer and to return an existing one from
2036         the list. Moved these functions to...
2037         * buffer_funcs.[Ch]: added
2038         * BufferView.[Ch] (loadLyXFile): added
2039         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2040         job removed from bufferlist::loadLyXFile.
2041         * buffer.C (setReadOnly): make it work without view
2042         (i.e added an if (users))
2043
2044 2003-06-19  Angus Leeming  <leeming@lyx.org>
2045
2046         * lfuns.h:
2047         * LyXAction.C (init):
2048         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2049         with LFUN_DIALOG_SHOW <name> <data>.
2050
2051 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * CutAndPaste.C (availableSelections): small compilation fix for
2054         ancient (gcc 2.9x) compilers
2055
2056 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2057
2058         * text3.C (cursorNext): add tmp var
2059
2060         * text2.C (updateCounters): for function calling out of for clause
2061         (replaceSelectionWithString): ditto
2062         (insertStringAsParagraphs): ditto
2063         (getColumnNearX): add tmp var
2064         (setCursorFromCoordinates): add tmp var
2065         (cursorDownParagraph): add tmp var
2066         (deleteEmptyParagraphMechanism): add tmp var
2067
2068         * text.C (insertChar): add tmp var
2069
2070         * rowpainter.C (paintDepthBar): add tmp var
2071
2072         * CutAndPaste.C (availableSelections): potentially check all
2073         paragraphs in a cut to fill the shown strings.
2074
2075 2003-06-18  André Pönitz  <poenitz@gmx.net>
2076
2077         * kbmap.[Ch]: use vector<> instead of list<>
2078
2079 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2080
2081         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2082         pasteSelection with index
2083
2084         * text2.C (pasteSelection): modify, call pasteSelection with index
2085
2086         * paragraph.C (asString): reimplement version with no interval to
2087         call the one with interval.
2088
2089         * lyxtext.h: add index arg to pasteSelection
2090
2091         * MenuBackend.C (MenuItem): handle PasteRecent
2092         (Menu::read::Menutags): add md_pasterecent
2093         (read): handle it
2094         (expandPasteRecent): new function
2095         (expand): use it
2096
2097         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2098
2099         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2100         the limited stack
2101         (availableSelections): new function
2102
2103 2003-06-17  Angus Leeming  <leeming@lyx.org>
2104
2105         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2106
2107 2003-06-17  Angus Leeming  <leeming@lyx.org>
2108
2109         * lfuns.h:
2110         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2111
2112         * lyxfunc.C (dispatch): invoke it.
2113
2114 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * iterators.C (operator++, ParPosition): reintroduce some
2117         const_cast for the benefit of older compilers.
2118
2119 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2120
2121         * text3.C (dispatch): do not modify clipboard when doing
2122         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2123         LFUN_DELETE_SKIP on a selection selection
2124
2125 2003-06-16  André Pönitz  <poenitz@gmx.net>
2126
2127         * BufferView.C:
2128         * buffer.C:
2129         * buffer.h:
2130         * paragraph.C:
2131         * tabular.[Ch]: IU of clone() and getLabelList();
2132
2133 2003-06-13  André Pönitz  <poenitz@gmx.net>
2134
2135         * tabular.h: compactification
2136
2137 2003-06-12  André Pönitz  <poenitz@gmx.net>
2138
2139         * tabular.C:
2140         * tabular.h:
2141         * tabular_funcs.h: some renaming plus whitespace
2142
2143 2003-06-12  André Pönitz  <poenitz@gmx.net>
2144
2145         * BufferView.C:
2146         * BufferView_pimpl.C:
2147         * CutAndPaste.C:
2148         * buffer.C:
2149         * iterators.[Ch]:
2150         * lyxfunc.C:
2151         * text.C:
2152         * toc.C: Return a Paragraph & for ParIterator::operator*()
2153
2154 2003-06-11  John Levon  <levon@movementarian.org>
2155
2156         * lyx_main.C:
2157         * ToolbarBackend.h:
2158         * ToolbarBackend.C: add "Toolbars" section and
2159         put the flags there
2160
2161 2003-06-10  Angus Leeming  <leeming@lyx.org>
2162
2163         * lfuns.h:
2164         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2165
2166         * lyxfunc.C (dispatch): invoke it.
2167
2168 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * main.C: protect <ios> with HAVE_IOS
2171         (main): protect sync_with_stdio with HAVE_IOS
2172
2173 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2174
2175         * text2.C (cutSelection): adjust
2176         (pasteSelection): adjust
2177
2178         * messages.C: handle get of empty string
2179
2180         * main.C (main): use sync_with_stdio(false)
2181
2182         * lyxfunc.C (dispatch): adjust
2183
2184         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2185         (WriteAs): remove unneeded BufferView arg.
2186
2187         * bufferparams.h: use correct types on papersize, papersize2 and
2188         paperpackage.
2189
2190         * bufferparams.C (readToken): adjust for type
2191         (writeLaTeX): add missing cases to switch.
2192
2193         * bufferlist.C (quitWriteBuffer): adjust
2194         (close): adjust
2195
2196         * buffer.C (asciiParagraph): remove some commented code.
2197
2198         * CutAndPaste.C: remove current_view extern variable.
2199         (cutSelection): add BufferParams arg.
2200         (eraseSelection): add BufferParams arg.
2201         (pasteSelection): add Buffer const & arg
2202
2203 2003-06-07  John Levon  <levon@movementarian.org>
2204
2205         * buffer.C:
2206         * paragraph_funcs.C:
2207         * paragraph_pimpl.C:
2208         * text.C:
2209         * text2.C:
2210         * paragraph.h:
2211         * paragraph.C: allow InsetERT to freely space lines,
2212         and some consolidation of code
2213
2214 2003-06-06  José Matos  <jamatos@fep.up.pt>
2215
2216         * buffer.C (makeDocBookFile): fix bug #821
2217
2218 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2219
2220         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2221
2222 2003-06-04  Angus Leeming  <leeming@lyx.org>
2223
2224         * buffer.C: bump format to 224.
2225
2226 2003-06-05  André Pönitz  <poenitz@gmx.net>
2227
2228         * text2.C (redoParagraphs): remove two const_cast<>
2229
2230 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2231
2232         * ParagraphList.h: remove last remnants of NO_STD_LIST
2233
2234 2003-06-03  Angus Leeming  <leeming@lyx.org>
2235
2236         * factory.C (createInset): small change to the way InsetExternal's params
2237         are set.
2238
2239 2003-06-04  André Pönitz  <poenitz@gmx.net>
2240
2241         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2242
2243         * paragraph_pimpl.h:
2244         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2245
2246         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2247
2248         * undo_funcs.C: make some simple cases of undo work again
2249
2250 2003-06-03  John Levon  <levon@movementarian.org>
2251
2252         * ispell.C: HPUX doesn't have sys/select.h
2253         (from Albert Chin)
2254
2255 2003-06-03  John Levon  <levon@movementarian.org>
2256
2257         * CutAndPaste.C: update tabular and include inset
2258         buffer references
2259
2260         * buffer.h:
2261         * paragraph.h:
2262         * paragraph.C: remove owningBuffer(), don't pass Buffer
2263         to clone()
2264
2265         * factory.C: insetGraphicsParams changed
2266
2267 2003-06-02  John Levon  <levon@movementarian.org>
2268
2269         * LyXAction.C:
2270         * factory.C:
2271         * lfuns.h:
2272         * lyxfunc.C:
2273         * text3.C: remove insetparent
2274
2275 2003-06-02  John Levon  <levon@movementarian.org>
2276
2277         * buffer.h:
2278         * buffer.C: fix inset_iterator.end(), move out of line
2279         (bug 1149)
2280
2281 2003-06-01  John Levon  <levon@movementarian.org>
2282
2283         * text3.C: use a proper cut/paste when doing inset
2284         insert (from Jürgen Spitzmüller)
2285
2286 2003-06-01  John Levon  <levon@movementarian.org>
2287
2288         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2289
2290 2003-05-30  André Pönitz  <poenitz@gmx.net>
2291
2292         * rowpainter.C: unify second drawing phase
2293
2294 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * trans_mgr.C: remove one case of current_view
2297
2298         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2299
2300         * paragraph_funcs.h: remove paragraph.h include
2301
2302         * paragraph.h: delete NO_STD_LIST stuff
2303
2304         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2305
2306         * buffer.h: remove paragraph.h include
2307
2308         * ParagraphList.C: delete file
2309
2310         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2311
2312         * toc.C (getTocList): adjust
2313
2314         * paragraph_pimpl.C (validate): adjust
2315
2316         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2317
2318         * paragraph.C (Paragraph): adjust
2319         (getPositionOfInset): use const_iterator, adjust
2320         (bibitem): use const_iterator, adjust
2321         (setInsetOwner): adjust
2322
2323         * iterators.C (operator++): adjust
2324
2325         * InsetList.[Ch]: Replace selfmade iterator with standard
2326         vector::iterator also introduce const_iterator. Remove getPos,
2327         getInset and setInset from InsetTable. Adjust accordingly.
2328
2329         * BufferView.C (lockInset): adjust
2330         (ChangeInsets): adjust
2331
2332         * tabular.[Ch]: delete commented same_id functions
2333
2334 2003-05-28  John Levon  <levon@movementarian.org>
2335
2336         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2337
2338 2003-05-28  André Pönitz  <poenitz@gmx.net>
2339
2340         * metricsinfo.[Ch]: remove 'fullredraw' member
2341
2342 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2343
2344         * lyxtextclass.C (operator): remove caching.
2345
2346 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * text3.C: adjust
2349
2350         * text2.C (cursorBottom): adjust
2351         (setCounter): use ParagraphList::find, adjust
2352
2353         * text.C (workWidth): use ParagraphList::find, adjust
2354
2355         * lyxcursor.C (LyXCursor): adjust
2356
2357         * buffer.C (inset_iterator): adjust
2358
2359         * ParagraphList.h: make iterator(value_type) private, make
2360         ParagraphList a friend of iterator.
2361
2362         * ParagraphList.C (find): new function
2363
2364         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2365
2366 2003-05-27  André Pönitz  <poenitz@gmx.net>
2367
2368         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2369
2370 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2371
2372         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2373
2374 2003-05-26  John Levon  <levon@movementarian.org>
2375
2376         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2377
2378 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2379
2380         * remove same_id from function signatures, adjust.
2381
2382 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2383
2384         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2385
2386         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2387
2388         * paragraph.C (Paragraph): get rid of same_ids parameter
2389
2390         * ParagraphList.C (insert): adjust
2391         (push_back): adjust
2392
2393 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * paragraph_funcs.C (breakParagraph): adjust
2396         (breakParagraphConservative): adjust
2397
2398         * buffer.C (readParagraph): adjust
2399
2400         * ParagraphList.C (insert): take a reference instead of a pointer
2401         (insert): adjust
2402
2403         * paragraph.[Ch] (id): new function
2404
2405         * bufferlist.C (newFile): adjust
2406
2407         * ParagraphList.C (ParagraphList): adjust
2408         (assign): adjust
2409         (push_back): take a reference instead of a pointer.
2410
2411         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2412
2413         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2414         instead.
2415
2416         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2417         set else use old code.
2418
2419         * ParagraphList.C: remove all NO_NEXT code and only compile this
2420         code of NO_STD_LIST is set.
2421
2422 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * BufferView_pimpl.C:
2425         * TextCache.C:
2426         * TextCache.h:
2427         * bufferlist.C:
2428         * errorlist.h:
2429         * format.C:
2430         * format.h:
2431         * graph.C:
2432         * lyxfunc.C:
2433         * lyxrc.C:
2434         * graphics/GraphicsConverter.C:
2435         * graphics/PreviewLoader.C: header adjustment
2436
2437 2003-05-23  Angus Leeming  <leeming@lyx.org>
2438
2439         * LaTeXFeatures.[Ch] (useBabel): new method.
2440         * bufferparams.C (writeLaTeX): use it.
2441
2442 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * ParagraphList.h (set): remove unused function.
2445
2446 2003-05-23  André Pönitz  <poenitz@gmx.net>
2447
2448         * BufferView.C:
2449         * BufferView_pimpl.C:
2450         * buffer.C:
2451         * buffer.h:
2452         * lyxfunc.C:
2453         * undo_funcs.C: setUndo reworked
2454
2455         * iterators.[Ch]: add access to topmost ParagraphList
2456
2457         * lyxtext.[Ch] (workWidth): add a const
2458
2459 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2460
2461         * texrow.[Ch] (increasePos): remove function
2462         * exporter.C (export): removed unused var and outdated comment
2463
2464 2003-05-23  Angus Leeming  <leeming@lyx.org>
2465
2466         * latexrunparams.h: rename fragile as moving_arg.
2467         * paragraph.C (simpleTeXOnePar): ditto.
2468         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2469
2470 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2473         (createUndo): ditto
2474         (textUndoOrRedo): comment out a currently unused var.
2475
2476         * paragraph.h (NO_NEXT): enable NO_NEXT
2477
2478         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2479
2480         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2481
2482         * exporter.C (Export): adjust for removeAutoInsets removal.
2483
2484         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2485
2486         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2487
2488         * BufferView.[Ch] (removeAutoInsets): delete function
2489
2490 2003-05-22  Angus Leeming  <leeming@lyx.org>
2491
2492         * latexrunparams.h: add a free_spacing variable.
2493
2494         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2495         to pass moving_arg, as the data is stored in runparams.fragile.
2496
2497         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2498         to Inset::latexOptional or to simpleTeXOnePar.
2499
2500         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2501         free_spacing arg to Inset::latexOptional.
2502
2503         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2504         free_spacing arg.
2505
2506 2003-05-22  Angus Leeming  <leeming@lyx.org>
2507
2508         * latexrunparams.h: add fragile and use_babel variables.
2509
2510         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2511         * buffer.C (makeLaTeXFile): store this returned value in
2512         runparams.use_babel, thus passing it to the inset::latex methods.
2513
2514         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2515         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2516
2517         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2518         longer has a fragile arg, as it is stored in runparams.fragile.
2519
2520         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2521         moving_arg parameter as the data is stored in runparams.fragile.
2522
2523         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2524         a fragile parameter as the data is stored in runparams.fragile.
2525
2526 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2529
2530 2003-05-22  Angus Leeming  <leeming@lyx.org>
2531
2532         * latexrunparams.h: add a 'bool nice' which defaults to false.
2533
2534         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2535         now encapsulated within runparams.
2536
2537         * bufferlist.C (updateIncludedTeXfiles):
2538         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2539
2540 2003-05-22  Angus Leeming  <leeming@lyx.org>
2541
2542         * latexrunparams.h: new file containing struct LatexRunParams.
2543         * Makefile.am: add new file.
2544
2545         * LaTeX.[Ch] (c-tor, run):
2546         * buffer.[Ch] (makeLaTeXFile):
2547         * bufferlist.[Ch] (updateIncludedTeXfiles):
2548         * converter.C (convert, scanLog):
2549         * converter.[Ch] (runLaTeX):
2550         * exporter.C (Export):
2551         * paragraph.[Ch] (simpleTeXOnePar):
2552         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2553         * paragraph_funcs.[Ch] (latexParagraphs):
2554         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2555         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2556         pass around a LatexRunParams parameter.
2557
2558 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2559
2560         * paragraph.[Ch]: remove unused constructor
2561
2562         * ParagraphList.C (erase): new function, taking two iterators
2563
2564 2003-05-22  André Pönitz  <poenitz@gmx.net>
2565
2566         * undo_funcs.C: remove duplicated code
2567
2568         * iterator.[Ch]: operator=
2569
2570 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * tabular.C (SetMultiColumn): ws changes
2573
2574         * rowpainter.C (paintFirst): get rid of a ->previous
2575
2576         * lyx_cb.C (getPossibleLabel): parlist simplification
2577
2578         * BufferView.C (ChangeInsets): simplify slightly.
2579
2580 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2581
2582         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2583         * lfuns.h: new LFUN_SPACE
2584         * lyxfunc.C: protected space has a new lfun
2585         * paragraph_funcs.C: read new space insets
2586         * text3.C:
2587         * factory.C: handle new space insets
2588
2589 2003-05-22  André Pönitz  <poenitz@gmx.net>
2590
2591         * BufferView.C:
2592         * BufferView_pimpl.C:
2593         * buffer.[Ch]:
2594         * lyxfunc.C:
2595         * undo_funcs.C: return a ParIterator from getParFromID.
2596
2597         * iterators.[Ch]: add two const's
2598
2599 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * toc.C (getTocList): adjust
2602
2603         * iterators.[Ch]: rework for parlist
2604
2605         * buffer.C (par_iterator_begin): adjust
2606         (par_iterator_end): adjust
2607
2608         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2609
2610         * BufferView.C (removeAutoInsets): adjust
2611         (ChangeInsets): adjust
2612
2613 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2614
2615         * text.C (top_y): fix bug 1110
2616
2617 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * errorlist.[Ch]: added
2620         * buffer.C:
2621         * BufferView.[Ch]:
2622         * BufferView_pimpl.C:
2623         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2624         instead
2625
2626 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * Makefile.am: ensure that lyx is relinked upon changes to the
2629         various "convenience" libs.
2630
2631 2003-05-20  Angus Leeming  <leeming@lyx.org>
2632
2633         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2634         files are compiled in alphabetical order again.
2635
2636         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2637
2638 2003-05-19  Angus Leeming  <leeming@lyx.org>
2639
2640         * gettext.[Ch]: remove "char const * _(char const *)".
2641
2642 2003-05-19  André Pönitz  <poenitz@gmx.net>
2643
2644         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2645
2646         * Makefile.am:
2647         * BufferView.C:
2648         * DepTable.h:
2649         * LaTeXFeatures.C:
2650         * buffer.C:
2651         * lyxfont.C:
2652         * lyxlex.h:
2653         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2654
2655 2003-05-19  André Pönitz  <poenitz@gmx.net>
2656
2657         * buffer.C:
2658         * lyxlayout.[Ch]:
2659         * lyxtextclass.[Ch]:
2660         * paragraph.C:
2661         * paragraph_funcs.[Ch]:
2662         * text2.C:
2663         * text3.C: more insetenv work
2664
2665 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2666
2667         * ParagraphParameters.C (params2string): small bug fixed
2668
2669 2003-05-16  André Pönitz  <poenitz@gmx.net>
2670
2671         * debug.C:
2672         * bufferview_funcs.C: patch from Kornel Benko to prevent
2673           crash when _(...) is called twice in a statement
2674
2675 2003-05-16  André Pönitz  <poenitz@gmx.net>
2676
2677         * BufferView.C:
2678         * lyxfunc.C:
2679         * text.C:
2680         * text2.C:
2681         * text3.C:
2682         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2683
2684 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * lyx_main.C (init): remove spurious static_cast
2687
2688 2003-05-14  André Pönitz  <poenitz@gmx.net>
2689
2690         * BufferView.C: fix format string
2691
2692 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * BufferView.[Ch] (insertErrors): removed
2695         * BufferView.[Ch] (showErrorList): added
2696         * buffer.C (runChkTeX):
2697         * converter.C (scanLog): call showErrorList instead of inserterrors
2698
2699 2003-05-13  André Pönitz  <poenitz@gmx.net>
2700
2701         * BufferView_pimpl.C:
2702         * buffer.C:
2703         * bufferview_func.C:
2704         * MenuBackend.C:
2705         * lyxfunc.C:
2706         * lyxrc.C:
2707         * tex-accent.C:
2708         * text3.C:
2709         * toc.C:
2710         * tabular_funcs.h: tostr() from its own header
2711
2712         * ParagraphParameters.C:
2713         * ToolbarBackend.C:
2714         * bufferparams.C:
2715         * format.C:
2716         * lyxlex_pimpl.C:
2717         * text3.C: STRCONV()
2718
2719 2003-05-12  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView.C:
2722         * BufferView_pimpl.C:
2723         * CutAndPaste.C:
2724         * LaTeX.C:
2725         * LaTeXFeatures.C:
2726         * ParagraphParameters.C:
2727         * buffer.C:
2728         * bufferlist.C:
2729         * bufferparams.C:
2730         * bufferview_funcs.C:
2731         * converter.C:
2732         * counters.C:
2733         * debug.C:
2734         * exporter.C:
2735         * format.C:
2736         * importer.C:
2737         * lyx_cb.C:
2738         * lyx_main.C:
2739         * lyxfont.C:
2740         * lyxfunc.C:
2741         * lyxvc.C:
2742         * paragraph.C:
2743         * paragraph_funcs.C:
2744         * tabular.C:
2745         * tabular_funcs.C:
2746         * text2.C:
2747         * text3.C:  boost::format -> bformat  all over the place
2748
2749
2750 2003-05-09  André Pönitz  <poenitz@gmx.net>
2751
2752         * LColor.[Ch]: Pimpl the #include <map> away
2753
2754 2003-05-09  John Levon  <levon@movementarian.org>
2755
2756         * bufferlist.C: never remove emergency saves
2757
2758 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * Makefile.am: better lib building
2761
2762 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2765         instead.
2766         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2767         (simpleTeXSpecialChars): adjust
2768         (simpleTeXSpecialChars): adjust
2769         * paragraph.C (simpleTeXOnePar): adjust
2770         * buffer.C (makeLaTeXFile): adjust
2771
2772         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2773
2774         * text2.C (changeDepth): parlist cleanup
2775         (getColumnNearX): ditto
2776
2777         * rowpainter.C (getLabelFont): parlist cleanup
2778
2779         * bufferlist.C (newFile): parlist cleanup
2780
2781         * CutAndPaste.C (eraseSelection): parlist cleanup
2782
2783         * BufferView_pimpl.C (trackChanges): parlist cleanup
2784         (dispatch): ditto
2785
2786         * BufferView.C (lockInset): parlist cleanup.
2787         (ChangeInsets): ditto
2788
2789 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2790
2791         * CutAndPaste.h: Update file header.
2792
2793         * CutAndPaste.C: Update file header.
2794         Store the parts cut out of the Document in a limited_stack.
2795         (copySelection): adjust
2796         (pasteSelection): new function, takes the index in the limited stack.
2797         (nrOfParagraphs): adjust
2798         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2799         simplify error inset insertion.
2800         (checkPastePossible): adjust
2801
2802 2003-05-06  John Levon  <levon@movementarian.org>
2803
2804         * text2.C: don't cast wrap inset to float
2805
2806 2003-05-05  André Pönitz  <poenitz@gmx.net>
2807
2808         * iterator.C:
2809         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2810
2811         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2812           few naked Paragraph *.
2813
2814 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2815
2816         * bufferparams.C: Output warning if a document with missing
2817         TeX document class is loaded
2818         * exporter.C: Disable TeX exports if the document class is missing
2819         * lyxtextclass.C:
2820         * lyxtextclass.h:
2821         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2822         isTeXClassAvailable()
2823
2824 2003-05-03  John Levon  <levon@movementarian.org>
2825
2826         * BufferView.h:
2827         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2828         explicit cursor show/hide
2829
2830         * BufferView_pimpl.h:
2831         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2832         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2833
2834         * lyxfunc.C: hide cursor before dispatching.
2835
2836         * lyx_cb.C:
2837         * lyxfind.C:
2838         * text.C:
2839         * text3.C: remove explicit cursor hides
2840
2841 2003-05-02  André Pönitz  <poenitz@gmx.net>
2842
2843         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2844
2845         * undo_funcs.C:
2846         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2847           linked lists
2848
2849         * text2.C: tiny whitespace
2850
2851 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * undo_funcs.C: almost only ws changes.
2854
2855         * ParagraphList.C (splice): just return if pl is empty.
2856
2857 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * ParagraphList.C (splice): new function.
2860
2861         * CutAndPaste.C (pasteSelection): use it
2862
2863 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * CutAndPaste.C (pasteSelection): remove the last next and
2866         previous from this file.
2867
2868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * CutAndPaste.C (pasteSelection): more clean up, user proper
2871         ParagraphList functions for pasteing.
2872
2873         * ParagraphList.C (insert): new function, three arg insert
2874
2875 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * ParagraphList.C (insert): new function, three arg insert
2878
2879         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2880         not on paragraphs.
2881
2882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2885
2886 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2889
2890 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2893         (copySelection): clean up a bit.
2894         (pasteSelection): use make_pair
2895
2896         * ParagraphList.C (ParagraphList): implement copy constructor
2897         (operator=): implement, base on copy constructor.
2898         (assign): new func
2899
2900         * paragraph.C (erase): return a bool
2901
2902         * paragraph_pimpl.C (erasePos): remove function, move contents...
2903         (erase): ... here. Return a bool.
2904         (erase): call erase instead of erasePos.
2905
2906 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * ParagraphList.h: define PitPosPair
2909         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2910         ParagraphList, fix a bug on pasting multiple pars
2911         * text2.C: change interface to C&P
2912
2913 2003-04-30  André Pönitz  <poenitz@gmx.net>
2914
2915         * undo_func.C: revert part of yesterday's patch 2
2916
2917 2003-04-30  John Levon  <levon@movementarian.org>
2918
2919         * LColor.C: s/tabular/table/
2920
2921 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * text3.C (dispatch): do not convert iterator -> pointer
2924         * undo_funcs.C (setCursorParUndo): ditto
2925         * text_funcs.C (transposeChars): ditto
2926
2927         * text2.C (setLayout): ws changes only
2928
2929         * text.C (breakParagraph): do not convert iterator -> pointer
2930         (insertChar): ditto
2931         (acceptChange): ditto
2932         (rejectChange): ditto
2933         (changeCase): ditto
2934         (Delete): ditto
2935         (backspace): ditto
2936
2937         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2938         pointer
2939
2940 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2941
2942         * text3.C (gotoInset): YABG (yet another bad getChar)
2943
2944 2003-04-29  André Pönitz  <poenitz@gmx.net>
2945
2946         * paragraph.h: make operator= private unimplemented as long as
2947           it is unusable
2948
2949         * ParagraphList.C: whitespace
2950
2951         * paragraph.[Ch]:
2952         * paragraph_pimpl.[Ch]:
2953         * paragraph_funcs.C:
2954         * CutAndPaste.C:
2955         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2956
2957         * text2.C:
2958           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2959
2960 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2963         * paragraph.[Ch] (erase):
2964         * paragraph_pimpl.[Ch] (erase): change return type and value
2965         * text2.C (cutSelection): some rework
2966
2967 2003-04-28  John Levon  <levon@movementarian.org>
2968
2969         * bufferlist.C: changes for unsaved changes dialog
2970
2971 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * bufferlist.C (newFile): set language (messages_) for new
2974         documents also.
2975
2976         * buffer.C (readFile): ws changes only.
2977
2978 2003-04-28  André Pönitz  <poenitz@gmx.net>
2979
2980         * undo_funcs.C:
2981         * lyxfunc.C:
2982         * buffer.[Ch]:
2983         * BufferView_pimpl.C:
2984         * BufferView.C: getParFromID related ParagraphList::iterator changes
2985
2986 2003-04-28  André Pönitz  <poenitz@gmx.net>
2987
2988         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2989           Changes
2990
2991 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * messages.C: remove one more localedir class variable.
2994
2995 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * messages.C (getLocaleDir): singleton generation function
2998         (Pimpl): use it.
2999         (Messages): add a default constructor.
3000
3001         * main.C (main): do not setup localedir here, do not call
3002         gettext_init.
3003
3004         * gettext.C (_): use it.
3005         (gettext_init): delete funciton
3006
3007 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3008
3009         * gettext.C (getLyXMessages): new singleton generating function.
3010
3011         * buffer.C (updateDocLang): adjust
3012
3013         * Makefile.am (messages.o): add target
3014         (main.o): remove target
3015
3016 2003-04-27  John Levon  <levon@movementarian.org>
3017
3018         * bufferlist.C:
3019         * lyx_cb.C:
3020         * lyxfunc.C:
3021         * lyxvc.C: specify cancel button in Alert::prompt
3022
3023 2003-04-26  John Levon  <levon@movementarian.org>
3024
3025         * text3.C:
3026         * lyxfunc.C:
3027         * lfuns.h:
3028         * LyXAction.C: add LFUN_INSET_SETTINGS
3029
3030         * lyxfunc.C: don't enable tabular-feature when there's
3031         just any locking inset
3032
3033 2003-04-26  John Levon  <levon@movementarian.org>
3034
3035         * bufferlist.C: re-add Cancel to buffer close question
3036
3037         * lyxfunc.C: fix import UI a bit
3038
3039 2003-04-25  John Levon  <levon@movementarian.org>
3040
3041         * gettext.C: remove the broken asserts for now
3042
3043 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * messages.C: make case where setlocale cannot comply work better.
3046
3047         * buffer.C (updateDocLang): new function
3048         (changeLanguage): use it
3049         (readFile): use it
3050
3051         * text2.C (setCounter): use B_ a bit.
3052
3053         * lyxlayout.C (Read): be sure to trim the label strings.
3054
3055         * messages.C (Messages): fix typo in comment
3056
3057         * buffer.C (readFile): set message_ after file is loaded.
3058         (makeDocBookFile): remove double return
3059         (changeLanguage): reset message_ upon language change.
3060         (B_): new func, use this to get translated buffer strings.
3061
3062         * main.C: add myself and Jean Marc as authors.
3063
3064 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * messages.[hC]: pimplify Messages, and three different pimpls to be
3067         used in different circumstances.
3068
3069         * gettext.[Ch]: change for use with new message code.
3070
3071 2003-04-24 André Pönitz <poenitz@gmx.net>
3072
3073         * factory.C: support for eqref
3074
3075 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3076
3077         * messages.[Ch]: add missing char
3078
3079         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3080
3081         * messages.[Ch]: New files
3082
3083 2003-04-18  John Levon  <levon@movementarian.org>
3084
3085         * BufferView.h:
3086         * BufferView.C:
3087         * BufferView_pimpl.C:
3088         * lfuns.h:
3089         * LyXAction.C:
3090         * lyxtext.h:
3091         * text2.C: remove layout-copy/paste (bug 778)
3092
3093 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3094
3095         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3096
3097 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3098
3099         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3100         if they succeed. Act accordingly.
3101
3102 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * text2.C (setCharFont): adjust
3105         (setCounter): adjust
3106         (insertStringAsLines): adjust
3107
3108         * text.C (leftMargin): adjust
3109         (setHeightOfRow): adjust
3110
3111         * rowpainter.C (paintFirst): adjust
3112         (paintLast): adjust
3113
3114         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3115         (outerHook): ditto
3116         (isFirstInSequence): ditto
3117         (getEndLabel): ditto
3118         (outerFont): adjust
3119
3120         * paragraph.C (getParLanguage): comment out some hard stuff.
3121
3122         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3123         (sgmlError): ditto
3124         (simpleDocBookOnePar): ditto
3125         (makeDocBookFile): use ParagraphList::iterator
3126
3127         * CutAndPaste.C (pasteSelection): adjust
3128
3129 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * text2.C (getFont): adjust
3132         (getLayoutFont): adjust
3133         (getLabelFont): adjust
3134
3135         * paragraph_funcs.C (TeXOnePar): adjust
3136
3137         * buffer.C (simpleLinuxDocOnePar): adjust
3138         (simpleDocBookOnePar): adjust
3139
3140         * CutAndPaste.C (pasteSelection): adjust
3141
3142         * BufferView.C (getEncoding): adjust
3143
3144         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3145
3146 2003-04-16  John Levon  <levon@movementarian.org>
3147
3148         * lyxfind.C: use parlist stuff for search/changes
3149
3150 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3153
3154         * text2.C (deleteEmptyParagraphMechanism): adjust
3155
3156         * text2.[Ch] (ownerParagraph): delete func (both of them
3157
3158 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3161
3162 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * ParagraphList.C: prepare for NO_NEXT
3165
3166 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3167
3168         * text2.C (getFont): adjust
3169         (getLayoutFont): adjust
3170         (getLabelFont): adjust
3171
3172         * paragraph.C (getFont): adjust
3173         (getLabelFont): adjust
3174         (getLayoutFont): adjust
3175
3176         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3177
3178 2003-04-15  John Levon  <levon@movementarian.org>
3179
3180         From Angus Leeming
3181
3182         * lyx_main.C: handle Include in .ui files
3183
3184 2003-04-15  John Levon  <levon@movementarian.org>
3185
3186         * MenuBackend.C: make the doc files length shorter
3187
3188         * ToolbarBackend.h:
3189         * ToolbarBackend.C: handle toolbar placement flags,
3190         Minibuffer
3191
3192 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3195         adjust
3196
3197         * paragraph_funcs.C (TeXOnePar): adjust
3198
3199         * paragraph.C (getLabelFont): add outerfont arg, adjust
3200         (getLayoutFont): ditto
3201         (simpleTeXOnePar): adjust
3202
3203         * paragraph_pimpl.C (realizeFont): delete func
3204
3205 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3206
3207         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3208         row argument, constify cur argument.
3209
3210 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3211
3212         * text2.C (getFont): adjust
3213         (getLayoutFont): adjust
3214         (getLabelFont): adjust
3215
3216         * paragraph_funcs.C (TeXOnePar): adjust
3217         (outerFont): new func...
3218         (realizeFont): ...moved out from here, changed this to facilitate
3219         transition
3220
3221         * paragraph.C (getFont): take outerfont as arg, adjust
3222         (simpleTeXOnePar): add outerfont arg, adjust
3223
3224         * buffer.C (simpleLinuxDocOnePar): adjust
3225         (simpleDocBookOnePar): adjust
3226
3227         * CutAndPaste.C (pasteSelection): adjust
3228
3229         * BufferView.C (getEncoding): adjust
3230
3231 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * text2.C (setCharFont): adjust
3234         (setCounter): adjust
3235
3236         * text.C (leftMargin): adjust
3237         (setHeightOfRow): adjust
3238
3239         * rowpainter.C (paintFirst): adjust
3240         (paintLast): adjust
3241
3242         * paragraph_pimpl.C (realizeFont): adjust
3243
3244         * paragraph.C (isFirstInSequence): move from here...
3245         * paragraph_funcs.C (isFirstInSequence): ...to here
3246
3247         * paragraph.C (outerHook): move from here...
3248         * paragraph_funcs.C (outerHook): ...to here
3249
3250         * paragraph.C (depthHook): move from here...
3251         * paragraph_funcs.C (depthHook): ...to here
3252
3253         * paragraph.C (getEndLabel): move from here...
3254         * paragraph_funcs.C (getEndLabel): ...to here
3255
3256         * text2.C (realizeFont): move from here...
3257         * paragraph_funcs.C (realizeFont): ...to here
3258
3259 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3262
3263 2003-04-14  Angus Leeming  <leeming@lyx.org>
3264
3265         * LColor.[Ch]: scrap LColor mathcursor.
3266
3267 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3268
3269         * lyxlex.[Ch] (text): delete function
3270         * trans.C (Load): adjust
3271         * paragraph_funcs.C (readParToken): adjust
3272
3273 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3276         vector<char> instead of a char[].
3277
3278         * lyxlex_pimpl.C (getString): adjust
3279         (next): adjust
3280         (lex): use getString
3281         (eatLine): adjust
3282         (nextToken): adjust
3283
3284         * lyxlex.C (text): use pimpl_->getString()
3285         (getBool): ditto
3286         (findToken): ditto
3287
3288 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3291         (makeFontEntriesLayoutSpecific): temp var for par.size()
3292         (setLayout): temp var for ownerParagraphs().end()
3293         (fullRebreak): temp var for rows().end()
3294         (selectionAsString): temp var for boost::next(startpit), realize
3295         that the while really is a regular for loop.
3296         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3297         setCursor in one place.
3298         (setParagraph): temp vr for ownerParagraphs().end()
3299         (updateCounters): make the while loop a for loop
3300         (cutSelection): temp var for ownerParagraphs().end()
3301         (updateInset): make the do {} while() a regular for loop
3302         (getCursorX): use temp vars
3303         (setCurrentFont): use temp vars
3304         (getColumnNearX): use temp vars
3305
3306 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * text.C (transformChar): use temp var for getChar
3309         (computeBidiTables): use temp var for row->par()
3310         (fill): move temp vars for row->par() and pit->layout() earlier in
3311         the function.
3312         (labelFill): use temp var for row->par()
3313         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3314         asc and desc, realize that pit never changes and that firstpit is
3315         just a duplicate and not needed. Exchange rit->par() with pit in a
3316         lot of places.
3317         (breakAgain): use a temp var for boost::next(rit)
3318         (breakAgainOneRow): ditto
3319         (breakParagraph): use a temp var for rows().begin()
3320         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3321         (cursorRightOneWord): use temp var for cursor.par() and
3322         cursor.pos(), remove usage of tmpcursor.
3323         (cursorLeftOneWord): use temp var for cursor.par() and
3324         cursor.pos() only set cur at end of function.
3325
3326 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * text.C, text2.C: exchange all usage of Paragraph::next with
3329         boost::next(ParagraphList::iterator)
3330
3331         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3332
3333         * text2.C (cursorTop): simplify implementation
3334         (cursorBottom): ditto
3335         (setParagraph): use ParagraphList::iterator
3336         (setCurrentFont): adjust
3337         (getColumnNearX): adjust
3338         (cursorRight): adjust
3339         (cursorLeft): remove usage of Paragraph::previous
3340         (cursorUpParagraph): ditto
3341         (deleteEmptyParagraphMechanism): slight cleanup
3342
3343         * text.C (isBoundary): take a Paragraph const & instead of a
3344         pointer as arg.
3345         (addressBreakPoint): ditto
3346         (leftMargin): remove usage of Paragraph::previous.
3347         (setHeightOfRow): ditto
3348         (cursorLeftOneWord): ditto
3349         (selectNextWordToSpellcheck): ditto
3350         (Delete): ditto
3351         (backspace): ditto
3352         (breakParagraph): remove one usage of Paragraph::next
3353         (redoParagraph): ditto
3354         (acceptChange): ditto
3355         (insertChar): adjust
3356         (rowBreakPoint): adjust
3357
3358         * bufferview_funcs.C (toggleAndShow): adjust
3359
3360 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3363         methods to access it.
3364         * lyxtext.h:
3365         * text.C: Added updateRowPositions to compute all row positions.
3366         Make top_y and getRowNearY() to use the cached y position
3367
3368 2003-04-11  John Levon  <levon@movementarian.org>
3369
3370         * text.C (rowBreakPoint): reintroduce the labelEnd
3371         checks, code copied from the row fill stuff. Deep voodoo.
3372
3373         * text.C (fill): add a comment and debugging for the
3374         next poor soul.
3375
3376 2003-04-11  John Levon  <levon@movementarian.org>
3377
3378         * text.C: make sure fullrow insets get wrapped to the next line,
3379         even when they're in a manual label
3380
3381 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * text2.C (insertParagraph): make it take ParagraphList::iterator
3384         as arg.
3385         (setLayout): make it return ParagraphList::iterator
3386         (redoParagraphs): ditto
3387         (setCounter): ditto
3388         (checkParagraph): ditto
3389
3390         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3391
3392         * text2.C: adjust several funcs.
3393         (realizeFont): take a ParagraphList::iterator as arg.
3394         (getLayoutFont): ditto
3395         (getLabelFont): ditto
3396         (setCharFont): ditto
3397
3398         * text.C: adjust several funcs.
3399
3400 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3401
3402         * text.C (selectNextWordToSpellcheck): don't accidentally
3403         skip insets
3404
3405 2003-04-10  John Levon  <levon@movementarian.org>
3406
3407         * ToolbarBackend.C (getIcon): special handling for
3408         LFUN_MATH_DELIM
3409
3410 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3411
3412         * text2.C (cursorRight): a getChar assert fixed
3413
3414 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * text2.C (getFont): change to take a ParagraphList::iterator
3417         instead of Paragraph*
3418         Adjust several functions.
3419
3420         * text.C (transformChar): change to take a ParagraphList::iterator
3421         instead of Paragraph*
3422         (singleWidth): ditto
3423         Adjust several functions.
3424
3425         * rowpainter.C: adjust several functions
3426         * rowpainter.h:store a ParagraphList::iterator and not a
3427         Paragraph&.
3428
3429
3430 2003-04-09  John Levon  <levon@movementarian.org>
3431
3432         * lyxfunc.C:
3433         * lfuns.h:
3434         * LyXAction.h:
3435         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3436         and the "help" bits as well
3437
3438 2003-04-09  John Levon  <levon@movementarian.org>
3439
3440         * ToolbarBackend.h:
3441         * ToolbarBackend.C: allow multiple toolbars
3442
3443 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3444
3445         * undo_funcs.C (setCursorParUndo): adjust
3446
3447         * text_funcs.C (transposeChars): adjust
3448
3449         * text3.C (gotoNextInset): adjust
3450         (dispatch): adjust
3451
3452         * text2.C (setLayout): adjust
3453         (changeDepth): adjust
3454         (setFont): adjust
3455         (redoParagraphs): adjust
3456         (selectionAsString): adjust
3457         (setParagraph): adjust
3458         (insertInset): adjust
3459         (cutSelection): adjust
3460         (copySelection): adjust
3461         (pasteSelection): adjust
3462         (insertStringAsLines): adjust
3463         (updateInset): adjust
3464         (setCursor): change to take a ParagraphList::iterator parameter
3465         (setCursorIntern): change to take a ParagraphList::iterator parameter
3466         (setCurrentFont): adjust
3467         (cursorLeft): adjust
3468         (cursorRight): adjust
3469         (deleteEmptyParagraphMechanism): adjust
3470
3471         * text.C (breakParagraph): adjust
3472         (insertChar): adjust
3473         (acceptChange): adjust
3474         (rejectChange): adjust
3475         (selectNextWordToSpellcheck): adjust
3476         (changeCase): adjust
3477         (Delete): adjust
3478         (backspace): adjust
3479
3480         * lyxfind.C (SearchForward): adjust
3481         (SearchBackward): adjust
3482         (nextChange): adjust
3483
3484         * lyxcursor.C (par): adjust
3485
3486         * lyxcursor.h: store a ParagraphList::iterator instead of a
3487         Paragraph*
3488
3489         * lyx_cb.C (getPossibleLabel): adjust
3490
3491         * bufferview_funcs.C (toggleAndShow): adjust
3492
3493         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3494         (dispatch): adjust
3495
3496         * BufferView.C (removeAutoInsets): adjust
3497         (lockedInsetStoreUndo): adjust
3498
3499 2003-04-09  John Levon  <levon@movementarian.org>
3500
3501         * ToolbarBackend.C: try icon without argument
3502         if with argument fails
3503
3504 2003-04-08  John Levon  <levon@movementarian.org>
3505
3506         * ToolbarBackend.h:
3507         * ToolbarBackend.C: add getIcon(), handle tooltip,
3508         and change from "Icon" to "Item".
3509
3510 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * BufferView.C (lockInset): another bad getchar crunched
3513
3514 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3517         again)
3518
3519 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * lyxfind.C (searchForward, searchBackwards): bug 782
3522
3523 2003-04-07  John Levon  <levon@movementarian.org>
3524
3525         * paragraph.C: remove dead comment
3526
3527         * text.C: remove troublesome depth-fiddling code
3528         in leftMargin() and rightMargin() (bug 1017)
3529
3530         * text.C: fix breaking of rows in nested lists
3531         (bug 1004)
3532
3533         * text2.C (updateCounters): fix up depth values
3534         (bug 1013)
3535
3536 2003-04-07  John Levon  <levon@movementarian.org>
3537
3538         * BufferView_pimpl.C: clear message when doc finishes resizing,
3539         and after a mouse event
3540
3541         * lyxfunc.C: clear message after exiting inset
3542
3543 2003-04-07  John Levon  <levon@movementarian.org>
3544
3545         * bufferview_funcs.C: show math status not outside
3546         status in the statusbar
3547
3548 2003-04-07  John Levon  <levon@movementarian.org>
3549
3550         * lyxfunc.C: note status changed after a depth change
3551
3552 2003-04-04  Angus Leeming  <leeming@lyx.org>
3553
3554         * LaTeX.h: move AuxInfo operator==, != out of line.
3555         Remove LaTeX virtual destructor; nothing derives from it.
3556         Move operator()() out of public area and rename it startscript().
3557         Change protected for private.
3558
3559 2003-04-04  Angus Leeming  <leeming@lyx.org>
3560
3561         * lyxfunc.C:
3562         * text2.C: remove unneeded #includes.
3563
3564 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * text2.C (dEPM): fix the heigth of the next row
3567
3568 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * text.C: squashed an invalid getChar requester + some ws changes
3571
3572 2003-04-03  John Levon  <levon@movementarian.org>
3573
3574         * bufferview_funcs.h:
3575         * bufferview_funcs.C:
3576         * lyxfunc.C:
3577         * lyxtext.h:
3578         * text2.C: make getStatus work for the env depth lfuns
3579
3580 2003-04-03  John Levon  <levon@movementarian.org>
3581
3582         * bufferview_funcs.h:
3583         * bufferview_funcs.C:
3584         * lyxfunc.C:
3585         * lyxtext.h:
3586         * text2.C: parlistize decDepth(), by merging it with incDepth()
3587
3588 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * lyxrow.h: store a ParagraphList::iterator instead of a
3591         Paragraph* and adjust other class functions to suit.
3592
3593         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3594         above.
3595
3596 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * text2.C (setCursor): do not anchor to cursor row for the time being
3599
3600 2003-04-02  John Levon  <levon@movementarian.org>
3601
3602         * LyXAction.C:
3603         * lfuns.h:
3604         * lyx_main.C:
3605         * lyxtext.h:
3606         * text.C:
3607         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3608
3609 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * paragraph.h: make ParagraphList and ParagraphList::iterator
3612         friends of Paragraph.
3613
3614         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3615
3616         * ParagraphList.C: Use the private next_ and previous_ from
3617         Paragraph.
3618
3619 2003-04-01  John Levon  <levon@movementarian.org>
3620
3621         * ToolbarBackend.h:
3622         * ToolbarBackend.C:
3623         * Makefile.am: rename, remove defaults gunk
3624
3625         * MenuBackend.h:
3626         * MenuBackend.C: remove defaults gunk
3627
3628         * Languages.h:
3629         * Languages.C: remove defaults gunk
3630
3631         * lyx_main.h:
3632         * lyx_main.C: error out if files couldn't be found.
3633
3634 2003-04-02  John Levon  <levon@movementarian.org>
3635
3636         * text2.C: make incDepth() use parlist
3637
3638 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * undo_funcs.C (firstUndoParagraph): adjust
3641
3642         * text3.C (gotoInset): adjust
3643         (dispatch): adjust, and rewrite loop.
3644
3645         * text2.C (init): adjust, and rewrite loop.
3646         (redoParagraphs): adjust
3647         (updateInset): adjust, and rewrite loop.
3648         (deleteEmptyParagraphMechanism): adjust
3649
3650         * tabular.C (LyXTabular): adjust
3651         (SetMultiColumn): adjust
3652         (TeXRow): adjust
3653
3654         * lyxtext.[Ch] (ownerParagraph): delete function
3655         (ownerParagraphs): new function returns a ParagraphList.
3656
3657         * BufferView.C (removeAutoInsets): adjust
3658         (insertErrors): adjust
3659         (setCursorFromRow): adjust
3660
3661 2003-04-01  Angus Leeming  <leeming@lyx.org>
3662
3663         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3664         in the frontends.
3665
3666 2003-04-02  John Levon  <levon@movementarian.org>
3667
3668         * lyxtext.h:
3669         * text.C:
3670         * Makefile.am:
3671         * text_funcs.h:
3672         * text_funcs.C: make transposeChars a free function
3673
3674         * lyxrow_funcs.C: remove wrong comment
3675
3676 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * lyxtext.h: adjust
3679         * rowpainter.C: adjust
3680         * text.C: adjust
3681         * text2.C: adjust
3682         * text3.C: adjust
3683
3684         * lyxrow_funcs. [Ch]: new files
3685
3686         * lyxrow.[Ch]: remove next and previous pointers
3687         (next,previous): remove accessor functions
3688         (isParEnd): move to lyxrow_funcs
3689         (lastPos): move to lyxrow_funcs
3690         (nextRowIsAllInset): move to lyxrow_funcs
3691         (lastPrintablePos): move to lyxrow_funcs
3692         (numberOfSeparators): move to lyxrow_funcs
3693         (numberOfHfills): move to lyxrow_funcs
3694         (numberOfLabelHfills): move to lyxrow_funcs
3695         (hfillExpansion): move to lyxrow_funcs
3696
3697         * lyxfunc.C: adjust
3698
3699         * bufferview_funcs.C (toggleAndShow): adjust
3700
3701         * RowList.h: Remove class RowList from file leave just a
3702         std::list<Row>.
3703
3704         * RowList.C: delete file
3705
3706         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3707         and lyxrow_funcs.h
3708
3709 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * text3.C (cursorPrevious): adjust
3712         (cursorNext): adjust
3713         (dispatch): adjust
3714
3715         * text2.C (redoHeightOfParagraph): adjust
3716         (redoDrawingOfParagraph): adjust
3717         (setCursor): adjust
3718
3719         * text.C (breakParagraph): adjust
3720         (insertChar): adjust
3721         (backspace): adjust
3722
3723         * rowpainter.C (RowPainter): adjust
3724         (leftMargin): simplify and adjust
3725         (most rowpainter functions): adjust.
3726
3727         * rowpainter.h: store the row as RowList::iterator not as Row*
3728
3729         * lyxcursor.C (row): taka RowList::iterator as arg
3730         (irow): ditto
3731
3732         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3733         of Row*.
3734
3735 2003-04-01  Angus Leeming  <leeming@lyx.org>
3736
3737         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3738         stuff like bool Bool.
3739
3740 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3741
3742         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3743         rewrite a loop
3744
3745 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3748         RowList::iterator.
3749
3750         * lyxtext.h (rows): drop one version and leve a const variant that
3751         returns a RowList::iterator.
3752
3753 2003-03-31  Angus Leeming  <leeming@lyx.org>
3754
3755         * text.C (fill): ensure that the signature is the same as that in the
3756         header file.
3757
3758 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * text2.C (redoParagraphs): adjust
3761         (updateCounters): adjust
3762         (checkParagraph): adjust
3763         (getColumnNearX): adjust and reformat a bit.
3764
3765         * text.C (top_y): adjust
3766         (workWidth): adjust
3767         (leftMargin): adjust
3768         (prepareToPrint): adjust
3769         (getRow): adjust
3770         (getRowNearY): adjust
3771
3772         * lyxtext.h: make rowlist_ mutable.
3773
3774         * RowList.h: add const_iterator
3775         * RowList.C: adjust for RowList::const_iterator.
3776
3777         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3778         adjust.
3779
3780 2003-03-31  John Levon  <levon@movementarian.org>
3781
3782         * lyxrc.h:
3783         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3784
3785         * lyx_main.C: set default fonts from using lyx_gui funcs
3786
3787         * exporter.C: pdf_mode moved from lyxrc
3788
3789         * lyx_cb.C:
3790         * lyxfunc.C: changes from above
3791
3792 2003-03-31  John Levon  <levon@movementarian.org>
3793
3794         * lyx_main.C: fix to the last fix
3795
3796 2003-03-31  John Levon  <levon@movementarian.org>
3797
3798         * bufferlist.C: "Load original" -> "Load Original"
3799
3800         * converter.C:
3801         * exporter.C:
3802         * importer.C:
3803         * lyx_main.C:
3804         * format.C: more Alert cleanups
3805
3806 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3807
3808         * text2.C (removeParagraph): make it take a RowList::iterator as
3809         arg, adjust.
3810         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3811         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3812
3813         * text.C (anchor_row): make it take a RowList::iterator as arg,
3814         adjust.
3815         (computeBidiTables): make it take a const reference to Row instead
3816         of Row pointer, adjust.
3817         (leftMargin): make it take a RowList::iterator as arg, adjust.
3818         (rowBreakPoint): adjust
3819         (breakAgainOneRow): make it take a RowList::iterator as arg,
3820         adjust.
3821         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3822
3823         * bufferview_funcs.C (toggleAndShow): adjust
3824
3825 2003-03-30  John Levon  <levon@movementarian.org>
3826
3827         * Makefile.am:
3828         * BoostFormat.h:
3829         * boost-inst.C: moved to support
3830
3831         * several files: changes as a result
3832
3833 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * text2.C (LyXText): adjust.
3836         (init): adjust
3837         (removeRow): make it take a RowList::iterator as arg, adjust.
3838         (fullRebreak): adjust
3839         (deleteEmptyParagraphMechanism): adjust
3840         (clearPaint): adjust
3841         (postPaint): adjust
3842
3843         * text.C (top_y): adjust
3844         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3845         (breakAgain): make it take a RowList::iterator as arg, adjust.
3846         (breakParagraph): adjust
3847         (insertChar): adjust
3848         (backspace): adjust
3849
3850         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3851         need_break_row, and refresh_row.
3852
3853         * text3.C (dispatch): adjust
3854
3855         * text2.C (checkParagraph): adjust
3856         (setCursor): adjust
3857         (setCursorFromCoordinates): adjust
3858
3859         * text.C (top_y): adjust
3860         (workWidth): adjust
3861         (getRow): make it return a RowList::iterator, adjust
3862         (getRowNearY): make it return a RowList::iterator, adjust
3863
3864         * text2.C (init): adjust
3865         (insertRow): remove function
3866         (insertParagraph): adjust
3867         (redoParagraphs): adjust
3868         (fullRebreak): adjust
3869         (updateCounters): adjust
3870
3871         * text.C (top_y): rewrite to use RowList iterators.
3872         (top_y): adjust
3873         (setHeightOfRow): rewrite to sue RowList iterators.
3874         (appendParagraph): adjust
3875         (breakAgain): adjust
3876         (breakAgainOneRow): adjust
3877         (breakParagraph): adjust
3878         (getRow): adjust
3879         (getRowNearY): adjust, and remove commented code.
3880
3881         * lyxtext.h (firstRow): delete function
3882         (lastRow): delete function
3883         (rows): new function (const and non-const versions.)
3884         (insertRow): delete function
3885
3886         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3887
3888 2003-03-29  John Levon  <levon@movementarian.org>
3889
3890         * BufferView_pimpl.C: always update scrollbar top
3891         because pasting text when we're anchored could mean we
3892         miss an update altogether
3893
3894 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * text2.C (init): use rowlist_.end() and not 0.
3897         (insertRow): change to take a RowList::iterator as arg, adjust
3898         for this.
3899         (insertParagraph): change to take a RowList::iterator as arg,
3900         adjust for this.
3901         (redoParagraphs): remove some debug msgs.
3902
3903         * text.C (appendParagraph): change to take a RowList::iterator
3904         arg, adjust for this.
3905         (breakAgain): add an assert
3906         (breakAgainOneRow): ditto
3907
3908 2003-03-29  John Levon  <levon@movementarian.org>
3909
3910         * text2.C: do not clear selection after inc/decDepth
3911         (bug 550)
3912
3913 2003-03-29  John Levon  <levon@movementarian.org>
3914
3915         * BufferView.C:
3916         * buffer.C: fix broken strerrors according to Lars
3917
3918 2003-03-29  John Levon  <levon@movementarian.org>
3919
3920         * converters.C: more Alert cleanups
3921
3922 2003-03-29  John Levon  <levon@movementarian.org>
3923
3924         * bufferview_funcs.C: remove pointless Alert
3925
3926         * buffer.C: fix confusing error message when
3927         a template is chmoded 000
3928
3929 2003-03-29  John Levon  <levon@movementarian.org>
3930
3931         * BufferView.C:
3932         * BufferView.h:
3933         * BufferView_pimpl.C: Alert fixes
3934
3935         * Makefile.am:
3936         * tabular.C:
3937         * tabular-old.C: remove unused table compat reading
3938
3939 2003-03-29  John Levon  <levon@movementarian.org>
3940
3941         * BufferView.C:
3942         * buffer.C:
3943         * lyx_cb.h:
3944         * lyx_cb.C: more Alert cleanups
3945
3946         * lyxfunc.C: don't allow chktex if not latex document
3947
3948 2003-03-29  John Levon  <levon@movementarian.org>
3949
3950         * lyx_cb.C:
3951         * BufferView.C:
3952         * buffer.C: warnings pushed down from support/,
3953         kill err_alert
3954
3955 2003-03-29  John Levon  <levon@movementarian.org>
3956
3957         * lyxfunc.C: safety check for C-r (revert)
3958
3959 2003-03-29  John Levon  <levon@movementarian.org>
3960
3961         * bufferlist.h:
3962         * bufferlist.C: several UI fixes using Alert::prompt.
3963         Fix the pointless looping quit code. Fix stupid revert
3964         behaviour (bug 938)
3965
3966         * lyxvc.h:
3967         * lyxvc.C:
3968         * lyx_cb.C: use Alert::prompt
3969
3970         * lyx_main.C: remove a silly question
3971
3972         * lyxfunc.C: remove a couple of silly questions,
3973         use Alert::prompt
3974
3975 2003-03-28  John Levon  <levon@movementarian.org>
3976
3977         * text2.C: fix bug 974 (End on empty par)
3978
3979 2003-03-28  John Levon  <levon@movementarian.org>
3980
3981         * BufferView_pimpl.C:
3982         * LyXAction.C:
3983         * lfuns.h: remove do-nothing math greek lfuns
3984
3985 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * lyxgluelength.h (isValidGlueLength): add default arg on
3988         parameter 2. Remove default arg from friend in class.
3989
3990         * lyxlength.h (isValidLength): add default arg on parameter 2.
3991         Remove default arg from friend in class.
3992
3993         * text2.C (LyXText): adjust, initialize refresh_row.
3994         (init): adjust
3995         (removeRow): adjust
3996         (insertRow): adjust
3997         (insertParagraph): adjst
3998         (redoParagraphs): adjust
3999         (fullRebreak): adjust
4000         (updateCounters): adjust
4001         (deleteEmptyParagraphMechanism): first attempt at fixing a
4002         crashing bug.
4003
4004         * text.C (top_y): adjust
4005         (setHeightOfRow): adjust
4006         (getRow): adjust
4007         (getRowNearY): adjust
4008
4009         * lyxtext.h: include RowList.h
4010         (~LyXText): not needed anymore, deleted.
4011         (firstRow): modify for RowList
4012         (lastRow): new function
4013         Delete firstrow and lastrow class variables, add a Rowlist
4014         rowlist_ class variable.
4015
4016         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4017         paragraph is empty.
4018
4019         * RowList.C (insert): fix case where it == begin().
4020
4021 2003-03-26  Angus Leeming  <leeming@lyx.org>
4022
4023         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4024         the thesaurus dialog.
4025
4026 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4029
4030         * RowList.[Ch]: new files
4031
4032         * ParagraphList.C (erase): handle the case where it == begin
4033         correctly.
4034
4035 2003-03-25  John Levon  <levon@movementarian.org>
4036
4037         * Makefile.am:
4038         * aspell_local.h:
4039         * aspell.C: add new aspell support
4040
4041         * lyxrc.h:
4042         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4043         have it accessible.
4044
4045 2003-03-25  Angus Leeming  <leeming@lyx.org>
4046
4047         * lfuns.h:
4048         * LyXAction.C (init): new LFUN_INSET_INSERT.
4049
4050         * BufferView_pimpl.C (dispatch): split out part of the
4051         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4052
4053         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4054         LFUN_INSET_APPLY.
4055
4056 2003-03-25  Angus Leeming  <leeming@lyx.org>
4057
4058         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4059
4060 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4061
4062         * text2.C:
4063         * text3.C: remove useless row->height(0)
4064
4065 2003-03-25  John Levon  <levon@movementarian.org>
4066
4067         * lyxtext.h:
4068         * text2.C:
4069         * text3.C: rename the refreshing stuff to better names
4070
4071 2003-03-24  John Levon  <levon@movementarian.org>
4072
4073         * BufferView_pimpl.h:
4074         * BufferView_pimpl.C: update layout choice on a mouse
4075         press/release
4076
4077 2003-03-23  John Levon  <levon@movementarian.org>
4078
4079         * Makefile.am: fix commandtags.h reference
4080
4081 2003-03-22  John Levon  <levon@movementarian.org>
4082
4083         * BufferView_pimpl.C:
4084         * lyxtext.h:
4085         * rowpainter.C:
4086         * rowpainter.h:
4087         * text.C:
4088         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4089
4090 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * lyxtext.h:
4093         * text.C: take the rtl methods out of line
4094
4095 2003-03-21 André Pönitz <poenitz@gmx.net>
4096
4097         * metricsinfo.[Ch]: new files containing structures to be passed around
4098         during the two-phase-drawing...
4099
4100 2003-03-21 André Pönitz <poenitz@gmx.net>
4101
4102         * lyxtextclass.C: read 'environment' tag.
4103
4104 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4105
4106         * text2.C (removeRow): fix bug 964
4107
4108 2003-03-20  John Levon  <levon@movementarian.org>
4109
4110         * rowpainter.C:
4111         * text.C:
4112         * text2.C: paint cleanups. Inset::update() dropped font
4113         parameter
4114
4115 2003-03-19  John Levon  <levon@movementarian.org>
4116
4117         * lyxfunc.C: only fitcursor/markDirty if available()
4118
4119 2003-03-19  John Levon  <levon@movementarian.org>
4120
4121         * commandtags.h: rename to ...
4122
4123         * lfuns.h: ... this, and renumber / cleanup
4124
4125 2003-03-19  John Levon  <levon@movementarian.org>
4126
4127         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4128         fit the cursor after an lfun
4129
4130         * BufferView.h:
4131         * BufferView.C:
4132         * BufferView_pimpl.h:
4133         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4134
4135         * LyXAction.C: layout-character should have ReadOnly
4136
4137         * ParagraphParameters.C:
4138         * buffer.C:
4139         * bufferview_funcs.C:
4140         * lyx_cb.C:
4141         * lyxfind.C:
4142         * lyxtext.h:
4143         * text.C:
4144         * text2.C:
4145         * text3.C:
4146         * undo_funcs.C: changes from above
4147
4148 2003-03-18  John Levon  <levon@movementarian.org>
4149
4150         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4151         remove it from update()
4152
4153         * lyxfunc.C: update layout choice after an lfun
4154
4155         * text3.C: remove extra updateLayoutChoice()s
4156
4157 2003-03-18  John Levon  <levon@movementarian.org>
4158
4159         * text.C: top_y change means full repaint, fix
4160         a drawing bug with cursor movement
4161
4162 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4163
4164         * lyxtext.h:
4165         * text.C:
4166         * text2.C: anchor row on setCursor
4167
4168 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * lyxtext.h: remove almost all mutable keywords
4171         * text.C:
4172         * text2.C:
4173         * text3.C: remove const keywords accordingly
4174
4175 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4178         anon namespace
4179         (TeXEnvironment): ditto
4180         (TeXOnePar): ditto
4181
4182 2003-03-17  John Levon  <levon@movementarian.org>
4183
4184         * text.C (rowBreakPoint): remove attempt to fix displayed
4185         math insets inside a manual label
4186
4187 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * lyxtext.h: remove BufferView* as first arg from almost all class
4190         functions.
4191         * other files: adjust.
4192
4193 2003-03-17  John Levon  <levon@movementarian.org>
4194
4195         * lyxtext.h:
4196         * undo_funcs.C:
4197         * text2.C: more paint cleanups
4198
4199         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4200
4201         * rowpainter.h:
4202         * rowpainter.C: remove "smart" background painting code
4203
4204 2003-03-16  John Levon  <levon@movementarian.org>
4205
4206         * lyxtext.h:
4207         * text.C:
4208         * text2.C:
4209         * text3.C: add helper functions for setting refresh_row/y
4210
4211 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4212
4213         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4214         newline inset which *can* get inserted in the pass_thru layouts.
4215         This is primarily for literate documents.
4216
4217 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4218
4219         * buffer.C: increment LYX_FORMAT to 223
4220
4221 2003-03-14 André Pönitz <poenitz@gmx.net>
4222
4223         * textclass.h: prepare for environment handling, ws changes
4224         * lyxlayout.C: read latexheader and latexfooter tags
4225
4226 2003-03-14  John Levon  <levon@movementarian.org>
4227
4228         * text2.C: rewrite ::status() a bit
4229
4230 2003-03-13  John Levon  <levon@movementarian.org>
4231
4232         * lyxtext.h: add some docs
4233
4234 2003-03-13  John Levon  <levon@movementarian.org>
4235
4236         * lyxtext.h:
4237         * text.C:
4238         * text2.C:
4239         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4240
4241 2003-03-13  John Levon  <levon@movementarian.org>
4242
4243         * text3.C: fix appendix redrawing
4244
4245 2003-03-13  John Levon  <levon@movementarian.org>
4246
4247         * text.C (setHeightOfRow):
4248         * rowpainter.h:
4249         * rowpainter.C: make appendix mark have the text
4250           "Appendix" so the user knows what it is
4251
4252         * LColor.h:
4253         * LColor.C: s/appendixline/appendix/ from above
4254
4255 2003-03-13  John Levon  <levon@movementarian.org>
4256
4257         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4258
4259         * text.C: fix a getChar(pos) bug properly
4260
4261 2003-03-13  Angus Leeming  <leeming@lyx.org>
4262
4263         * commandtags.h:
4264         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4265         Probably only temporary. Let's see how things pan out.
4266
4267         * BufferView.C (unlockInset):
4268         * BufferView_pimpl.C (fitCursor):
4269         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4270
4271         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4272         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4273
4274         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4275         new functions that convert ParagraphParameters to and from a string.
4276
4277         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4278         BufferView::Pimpl's dispatch.
4279         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4280
4281 2003-03-13 André Pönitz <poenitz@gmx.net>
4282
4283         * lyxfunc.C:
4284         * text3.C:
4285         * factory.C: make it aware of InsetEnv
4286
4287 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * text2.C (setCursor): never ask for one past last
4290         (setCursor): add some debugging messages.
4291
4292         * text.C (singleWidth): never ask for one past last
4293         (singleWidth): ditto
4294         (leftMargin): ditto
4295         (rightMargin): ditto
4296         (rowBreakPoint): ditto
4297         (setHeightOfRow): ditto
4298         (prepareToPrint): ditto
4299
4300         * rowpainter.C (paintBackground): never ask for one past last
4301         (paintText): never ask for one past last
4302
4303         * paragraph_pimpl.C (getChar): make the assert stricter, never
4304         allow the one past last pos to be taken
4305
4306         * paragraph.C (getChar): ws changes only
4307
4308         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4309         (numberOfSeparators): ditto
4310         (numberOfHfills): ditto
4311
4312 2003-03-12  John Levon  <levon@movementarian.org>
4313
4314         * author.h:
4315         * author.C:
4316         * bufferparams.h:
4317         * bufferparams.C:
4318         * paragraph_funcs.C: fix per-buffer authorlists
4319
4320 2003-03-12  John Levon  <levon@movementarian.org>
4321
4322         * text.C: fix newline in right address
4323
4324 2003-03-12  Angus Leeming  <leeming@lyx.org>
4325
4326         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4327         duplicate those in LyXFunc::dispatch.
4328
4329         * commandtags.h:
4330         * LyXAction.C:
4331         * ToolbarDefaults.C:
4332         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4333         Add LFUN_FONTFREE_UPDATE.
4334
4335         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4336         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4337
4338         * bufferview_func.[Ch]: several new functions to facilliate
4339         transfer of data to and from the character dialog.
4340
4341 2003-03-12  John Levon  <levon@movementarian.org>
4342
4343         * buffer.C:
4344         * paragraph.h:
4345         * paragraph.C:
4346         * paragraph_funcs.C:
4347         * paragraph_pimpl.C:
4348         * sgml.C:
4349         * tabular.C:
4350         * text.C:
4351         * text3.C: remove META_NEWLINE in favour of an inset
4352
4353         * rowpainter.h:
4354         * rowpainter.C: remove paintNewline (done by inset)
4355
4356 2003-03-12  John Levon  <levon@movementarian.org>
4357
4358         * paragraph_pimpl.C: complain about bad getChar()s
4359         for a while at least
4360
4361 2003-03-12  John Levon  <levon@movementarian.org>
4362
4363         * buffer.h:
4364         * buffer.C: move paragraph read into a separate function,
4365         a little renaming to reflect that.
4366
4367         * bufferparams.h:
4368         * bufferparams.C: remove the author_ids map, not necessary now
4369
4370         * factory.h:
4371         * factory.C: moved Buffer::readInset to here
4372
4373         * paragraph_funcs.h:
4374         * paragraph_funcs.C: readParagraph free function moved from
4375         buffer.C
4376
4377         * tabular.C: name change
4378
4379 2003-03-12  John Levon  <levon@movementarian.org>
4380
4381         * buffer.C:
4382         * ParagraphParameters.C: move par params input to
4383         a read() method
4384
4385         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4386         behave like a normal read from the stream wrt reading
4387         a line vs. a \\token
4388
4389 2003-03-12  John Levon  <levon@movementarian.org>
4390
4391         * paragraph.C:
4392         * ParagraphParameters.h:
4393         * ParagraphParameters.C: move output code to a
4394         ::write() method
4395
4396 2003-03-12  John Levon  <levon@movementarian.org>
4397
4398         * BufferView.C (insertLyXFile):
4399         * buffer.h:
4400         * buffer.C:
4401         * tabular.C: use a parlist iterator for creating the
4402           document.
4403
4404 2003-03-12  John Levon  <levon@movementarian.org>
4405
4406         * buffer.C: make current_change static local not
4407           static file-scope
4408
4409 2003-03-12  John Levon  <levon@movementarian.org>
4410
4411         * buffer.C: fix insertStringAsLines for change tracking
4412
4413 2003-03-12  John Levon  <levon@movementarian.org>
4414
4415         * BufferView.C:
4416         * tabular.C:
4417         * buffer.h:
4418         * buffer.C:
4419         * bufferparams.h:
4420         * bufferparams.C: move author list into params. Rename some
4421           functions. Move the header reading into a separate token
4422           loop. Move the header token reading into BufferParams.
4423
4424 2003-03-12  John Levon  <levon@movementarian.org>
4425
4426         * changes.C: put debug inside lyxerr.debugging() checks
4427
4428 2003-03-11 André Pönitz <poenitz@gmx.net>
4429
4430         * factory.C: make it aware of InsetHFill
4431
4432 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4433
4434         * buffer.C (latexParagraphs): move function from here...
4435         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4436         args.
4437
4438 2003-03-10  Angus Leeming  <leeming@lyx.org>
4439
4440         * LyXAction.C (init): fix bug in poplating array with multiple entries
4441         with the same LFUN (spotted by JMarc).
4442
4443 2003-03-10  John Levon  <levon@movementarian.org>
4444
4445         * text.C:
4446         * text2.C: move getColumnNearX() near its
4447         only call site
4448
4449 2003-03-10  John Levon  <levon@movementarian.org>
4450
4451         * text.C: fix break before a minipage
4452
4453 2003-03-10  John Levon  <levon@movementarian.org>
4454
4455         * text.C: fix the last commit
4456
4457 2003-03-09  John Levon  <levon@movementarian.org>
4458
4459         * lyxtext.h:
4460         * text.C:
4461         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4462         bug 365 (don't break before insets unless needed). Don't
4463         return a value > last under any circumstances.
4464
4465 2003-03-09  Angus Leeming  <leeming@lyx.org>
4466
4467         * BufferView_pimpl.C (trackChanges, dispatch): call
4468         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4469
4470 2003-03-09  Angus Leeming  <leeming@lyx.org>
4471
4472         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4473         than Dialogs::showAboutlyx().
4474
4475 2003-03-09  Angus Leeming  <leeming@lyx.org>
4476
4477         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4478         than Dialogs::showTabularCreate().
4479
4480 2003-03-09  John Levon  <levon@movementarian.org>
4481
4482         * lyxtext.h:
4483         * text.C:
4484         * text2.C: 3rd arg to nextBreakPoint was always the same.
4485           Use references.
4486
4487 2003-03-08  John Levon  <levon@movementarian.org>
4488
4489         * lyxrow.C:
4490         * paragraph.C:
4491         * paragraph.h:
4492         * rowpainter.C:
4493         * text.C:
4494         * text2.C: Remove the "main" bit from the "main body"
4495           notion.
4496
4497 2003-03-08  John Levon  <levon@movementarian.org>
4498
4499         * text.C (leftMargin): The left margin of an empty
4500         manual label paragraph should not include the label width
4501         string length.
4502
4503         * text.C (prepareToPrint): don't attempt to measure hfills
4504         for empty manual label paragraphs - the answer should be 0
4505
4506 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * CutAndPaste.C: remove commented code and reindent.
4509
4510 2003-03-08  John Levon  <levon@movementarian.org>
4511
4512         * lyxfunc.h:
4513         * lyxfunc.C: move reloadBuffer()
4514
4515         * BufferView.h:
4516         * BufferView.C: to here
4517
4518         * lyxvc.C: add comment
4519
4520         * vc-backend.h:
4521         * vc-backend.C: call bv->reload() to avoid
4522           getStatus() check on MENURELOAD
4523
4524 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4525
4526         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4527         to an old format .dep file.
4528
4529 2003-03-07  Angus Leeming  <leeming@lyx.org>
4530
4531         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4532         when the LFUN_MOUSE_RELEASE should have been handled by
4533         inset->localDispatch.
4534
4535 2003-03-07  Angus Leeming  <leeming@lyx.org>
4536
4537         * BufferView_pimpl.C (dispatch):
4538         * LyXAction.C (init):
4539         * ToolbarDefaults.C (init):
4540         * commandtags.h:
4541         * lyxfunc.C (getStatus):
4542         remove LFUN_INSET_GRAPHICS.
4543
4544         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4545
4546 2003-03-07  Angus Leeming  <leeming@lyx.org>
4547
4548         * commandtags.h:
4549         * LyXAction.C (init):
4550         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4551
4552         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4553
4554         * commandtags.h:
4555         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4556
4557         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4558         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4559
4560 2003-03-07  Angus Leeming  <leeming@lyx.org>
4561
4562         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4563         remove "ert".
4564
4565 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * ParagraphList.C (front): new function
4568         (back): implement
4569
4570 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4573         and top_row_offset_. removed var first_y.
4574         * text.C (top_y):
4575         * text2.C (LyXText, removeRow):
4576         * text3.C:
4577         * BufferView_pimpl.C:
4578         use these methods instead of using first_y
4579
4580 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * text2.C (pasteSelection): adjust for checkPastePossible
4583
4584         * CutAndPaste.C: remove Paragraph * buf and replace with
4585         ParagraphList paragraphs.
4586         (DeleteBuffer): delete
4587         (cutSelection): change the tc type to textclass_type
4588         (copySelection): change the tc type to textclass_type
4589         (copySelection): adjust for ParagraphList
4590         (pasteSelection): change the tc type to textclass_type
4591         (pasteSelection): adjust for Paragraphlist
4592         (nrOfParagraphs): simplify for ParagraphList
4593         (checkPastePossible): simplify for ParagraphList
4594         (checkPastePossible): remove unused arg
4595
4596         * ParagraphList.C (insert): handle the case where there are no
4597         paragraphs yet.
4598
4599         * CutAndPaste.h: make CutAndPaste a namespace.
4600
4601         * text3.C (dispatch): adjust
4602
4603         * text.C (breakParagraph): add a ParagraphList as arg
4604
4605         * paragraph_funcs.C (breakParagraph): change to take a
4606         BufferParams and a ParagraphList as args.
4607         (breakParagraphConservative): ditto
4608         (mergeParagraph): ditto
4609         (TeXDeeper): add a ParagraphList arg
4610         (TeXEnvironment): ditto
4611         (TeXOnePar): ditto
4612
4613         * buffer.C (readLyXformat2): adjust
4614         (insertStringAsLines): adjust
4615         (latexParagraphs): adjust
4616
4617         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4618         (cutSelection): adjust
4619         (pasteSelection): adjust
4620
4621         * BufferView_pimpl.C (insertInset): adjust
4622
4623 2003-03-05  Angus Leeming  <leeming@lyx.org>
4624
4625         * commandtags.h:
4626         * LyXAction.C (init):
4627         * BufferView_pimpl.C (dispatch):
4628         * lyxfunc.C (getStatus):
4629         remove LFUN_CHILD_INSERT.
4630
4631         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4632
4633 2003-03-05  Angus Leeming  <leeming@lyx.org>
4634
4635         * commandtags.h:
4636         * LyXAction.C (init):
4637         * src/factory.C (createInset):
4638         * lyxfunc.C (getStatus):
4639         * text3.C (dispatch):
4640         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4641
4642         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4643
4644 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * ParagraphList.C (insert): handle insert right before end()
4647         (erase): fix cases where it can be first or last paragraph.
4648
4649 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4652         Paragraph::next and Paragraph::previous
4653         (TeXOnePar): ditto
4654
4655         * text.C (breakParagraph): adjust
4656
4657         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4658         BufferParams& as arg.
4659         (breakParagraph): use ParagraphList::insert
4660         (breakParagraphConservative): take a Buffer* instead of a
4661         BufferParams& as arg.
4662         (breakParagraphConservative): use ParagraphList::insert.
4663
4664         * buffer.C (insertStringAsLines): un-const it
4665         (insertStringAsLines): adjust
4666
4667         * ParagraphList.C (insert): new function
4668
4669         * CutAndPaste.C (pasteSelection): adjust
4670
4671         * text.C (backspace): adjust
4672
4673         * tabular.C (SetMultiColumn): adjust
4674
4675         * CutAndPaste.C (cutSelection): adjust
4676         (pasteSelection): adjust
4677
4678         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4679         Buffer const * as arg
4680
4681         * ParagraphList.C (erase): new function
4682         * paragraph_funcs.C (mergeParagraph): use it
4683         (mergeParagraph): make it take a Buffer* instead of a
4684         BufferParams* as arg
4685
4686         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4687         as arg
4688         (breakParagraphConservative): ditto
4689
4690         * paragraph.h: remove the breakParagraph friend
4691
4692         * paragraph.C (eraseIntern): new function
4693         (setChange): new function
4694
4695         * paragraph_funcs.C (mergeParagraph): make it take a
4696         ParagraphList::iterator instead of a Paragraph *, adjust
4697         accordingly.
4698
4699         * paragraph.h: move an #endif so that the change tracking stuff
4700         also works in the NO_NEXT case.
4701
4702 2003-03-04  Angus Leeming  <leeming@lyx.org>
4703
4704         * commandtags.h:
4705         * LyXAction.C: new LFUN_INSET_MODIFY.
4706
4707         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4708         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4709
4710 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * several files: ws changes only
4713
4714         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4715         (TeXEnvironment): ditto
4716         (TeXDeeper): ditto
4717
4718         * buffer.C (makeLaTeXFile): adjust
4719         (latexParagraphs): make it take ParagraphList::iterator as args
4720
4721 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * buffer.C (latexParagraphs): adjust
4724
4725         * paragraph.C (TeXOnePar): move function...
4726         (optArgInset): move function...
4727         (TeXEnvironment): move function...
4728         * paragraph_pimpl.C (TeXDeeper): move function...
4729         * paragraph_funcs.C: ...here
4730
4731         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4732
4733 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * buffer.C (readInset): remove compability code for old Figure and
4736         InsetInfo insets
4737
4738 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * buffer.C: ws changes
4741         (readInset):
4742
4743         * BufferView_pimpl.C: ditto
4744         * author.C: ditto
4745         * buffer.h: ditto
4746         * bufferlist.h: ditto
4747         * changes.h: ditto
4748         * lyxfunc.C: ditto
4749
4750 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4751
4752         * converter.[Ch]: split into itself +
4753         * graph.[Ch]
4754         * format.[Ch]
4755         * Makefile.am: += graph.[Ch] + format.[Ch]
4756         * MenuBackend.C
4757         * buffer.C
4758         * exporter.C
4759         * importer.C
4760         * lyx_main.C
4761         * lyxfunc.C
4762         * lyxrc.C: added #include "format.h"
4763
4764 2003-02-27  Angus Leeming  <leeming@lyx.org>
4765
4766         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4767           a label.
4768
4769         * factory.C (createInset): add "label" to the factory.
4770
4771         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4772           string and do no more.
4773
4774 2003-02-27  Angus Leeming  <leeming@lyx.org>
4775
4776         * commandtags.h:
4777         * LyXAction.C (init):
4778         * factory.C (createInset):
4779         * BufferView_pimpl.C (dispatch):
4780           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4781
4782         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4783
4784         * lyxfunc.C (dispatch):
4785         * text3.C (dispatch): pass name to params2string.
4786
4787 2003-02-26  Angus Leeming  <leeming@lyx.org>
4788
4789         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4790           blocks together.
4791           Rearrange the ~includes. Strip out the unnecessary ones.
4792
4793         * factory.C (createInset): reformat.
4794           create new insets for the various LFUN_XYZ_APPLY lfuns.
4795
4796 2003-02-26  John Levon  <levon@movementarian.org>
4797
4798         * lyxrow.h:
4799         * lyxrow.C: add isParStart,isParEnd helpers
4800
4801         * paragraph.h: make isInserted/DeletedText take refs
4802
4803         * paragraph_funcs.h:
4804         * paragraph_funcs.C: remove #if 0'd code
4805
4806         * lyxtext.h:
4807         * text3.C:
4808         * text2.C:
4809         * text.C: use lyxrow helpers above.
4810           Move draw and paint routines to RowPainter.
4811           Make several methods use refs not pointers.
4812           Make backgroundColor() const.
4813           Add markChangeInDraw(), isInInset().
4814           Merge changeRegionCase into changeCase.
4815           Make workWidth() shouldn't-happen code into an Assert.
4816
4817         * rowpainter.h:
4818         * rowpainter.C: new class for painting a row.
4819
4820         * vspace.h:
4821         * vspace.C: make inPixels take a ref
4822
4823 2003-02-26  Angus Leeming  <leeming@lyx.org>
4824
4825         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4826         LFUN_REF_APPLY.
4827
4828 2003-02-25  John Levon  <levon@movementarian.org>
4829
4830         * ispell.C: give the forked command a more accurate name
4831
4832 2003-02-22  John Levon  <levon@movementarian.org>
4833
4834         * toc.h:
4835         * toc.C: make TocItem store an id not a Paragraph *
4836           (bug #913)
4837
4838 2003-02-21  Angus Leeming  <leeming@lyx.org>
4839
4840         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4841           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4842           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4843           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4844           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4845           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4846
4847         * BufferView_pimpl.C (dispatch):
4848         * LyXAction.C (init):
4849         * factory.C (createInset):
4850         * lyxfunc.C (getStatus, dispatch):
4851         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4852
4853 2003-02-21  Angus Leeming  <leeming@lyx.org>
4854
4855         * BufferView_pimpl.C (MenuInsertLyXFile):
4856         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4857         * lyxfunc.C (menuNew, open, doImport):
4858           no longer pass a LyXView & to fileDlg.
4859
4860 2003-02-21  Angus Leeming  <leeming@lyx.org>
4861
4862         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4863         * LyXAction.C: change, BIBKEY to BIBITEM.
4864         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4865         Change InsetBibKey to InsetBibitem.
4866         Change BIBKEY_CODE to BIBITEM_CODE.
4867         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4868         * factory.C: replace insetbib.h with insetbibitem.h.
4869         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4870         * paragraph.C: replace insetbib.h with insetbibitem.h.
4871         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4872         Change bibkey() to bibitem().
4873         * text.C: remove insetbib.h.
4874         * text2.C: replace insetbib.h with insetbibitem.h.
4875         change bibkey() to bibitem().
4876         * text3.C: remove insetbib.h.
4877         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4878
4879 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4880
4881         * lyxrc.C (output): enclose user email in quotes (in case there are
4882         several words)
4883
4884 2003-02-18  John Levon  <levon@movementarian.org>
4885
4886         * buffer.h: add std::
4887
4888 2003-02-17  John Levon  <levon@movementarian.org>
4889
4890         * SpellBase.h:
4891         * ispell.h:
4892         * ispell.C:
4893         * pspell.h:
4894         * pspell.C: reworking. Especially in ispell, a large
4895           number of clean ups and bug fixes.
4896
4897         * lyxfunc.C: fix revert to behave sensibly
4898
4899 2003-02-17 André Pönitz <poenitz@gmx.net>
4900
4901         * LyXAction.C:
4902         * commandtags.h: new LFUN_INSERT_BIBKEY
4903
4904         * layout.h:
4905         * lyxlayout.C:
4906         * buffer.C:
4907         * factory.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C:
4911         * paragraph.[Ch]:
4912         * paragraph_func.C: remove special bibkey handling
4913
4914 2003-02-17  John Levon  <levon@movementarian.org>
4915
4916         * text.C (Delete): fix case where delete at the end of
4917           the very first paragraph would not merge the pars
4918
4919 2003-02-17  John Levon  <levon@movementarian.org>
4920
4921         * lyxrow.C: fix lastPrintablePos()
4922
4923 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4924
4925         * bufferparams.C (writeLaTeX): add a std:here
4926
4927         * buffer.C: and remove a using directive there
4928
4929 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4930
4931         * buffer.C (makeLaTeXFile): move the code that generates the
4932           preamble...
4933
4934         * bufferparams.C (writeLaTeX): ... in this new method
4935
4936         * LaTeXFeatures.C (getEncodingSet): make const
4937           (getLanguages): make const
4938
4939         * MenuBackend.C (binding): returns the binding associated to this
4940           action
4941           (add): sets the status of each item by calling getStatus. Adds
4942           some intelligence.
4943           (read): add support for OptSubMenu
4944           (expand): remove extra separator at the end of expanded menu
4945
4946 2003-02-15  John Levon  <levon@movementarian.org>
4947
4948         * BufferView.C:
4949         * BufferView_pimpl.C:
4950         * bufferlist.h:
4951         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4952           inset code that had no actual effect. Remove unneeded status
4953           code.
4954
4955 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4956
4957         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4958           in preamble
4959
4960 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4961
4962         * text.C (drawLengthMarker): also draw an arrow marker for
4963           symbolic lengths (medskip...)
4964
4965 2003-02-14  John Levon  <levon@movementarian.org>
4966
4967         * tabular.h:
4968         * tabular.C: better method names
4969
4970 2003-02-14  John Levon  <levon@movementarian.org>
4971
4972         * BufferView_pimpl.C:
4973         * bufferlist.C:
4974         * buffer.C:
4975         * converter.C:
4976         * lyx_cb.C:
4977         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4978           it's a more accurate name. Remove some pointless uses.
4979
4980 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4981
4982         * text2.C (LyXText): change order of initilizers to shut off
4983           warnings
4984
4985 2003-02-14  John Levon  <levon@movementarian.org>
4986
4987         * buffer.C: use ParIterator for getParFromID()
4988
4989         * paragraph.h:
4990         * paragraph.C:
4991         * paragraph_pimpl.h:
4992         * paragraph_pimpl.C: remove unused getParFromID()
4993
4994 2003-02-14  John Levon  <levon@movementarian.org>
4995
4996         * buffer.C: remove some very old #if 0'd parse code
4997
4998 2003-02-13  John Levon  <levon@movementarian.org>
4999
5000         * text.h:
5001         * text.C:
5002         * text2.C: move hfillExpansion(), numberOfSeparators(),
5003           rowLast(), rowLastPrintable(), numberofHfills(),
5004           numberOfLabelHfills() ...
5005
5006         * lyxrow.h:
5007         * lyxrow.C: ... to member functions here.
5008
5009         * paragraph.h:
5010         * paragraph.C:
5011         * lyxtext.h:
5012         * text.C: remove LyXText::beginningOfMainBody(), and call
5013           p->beginningOfMainBody() directly. Move the check for
5014           LABEL_MANUAL into the latter.
5015
5016         * text.h:
5017         * text.C:
5018         * text2.C:
5019         * vspace.C:
5020         * BufferView.h:
5021         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5022
5023         * text.h:
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5028           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5029
5030 2003-02-13  John Levon  <levon@movementarian.org>
5031
5032         * CutAndPaste.C: remove debug
5033
5034 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5035
5036         * paragraph.C (asString): remove two unused variables
5037
5038         * lyxtextclass.C (readTitleType):
5039           (Read):
5040           (LyXTextClass): handle new members titletype_ and titlename_
5041
5042         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5043
5044 2003-02-09  John Levon  <levon@movementarian.org>
5045
5046         * buffer.h:
5047         * buffer.C: replace hand-coded list with a map for the dep clean
5048
5049 2003-02-08  John Levon  <levon@movementarian.org>
5050
5051         * LaTeX.C: consolidate code into showRunMessage() helper
5052
5053 2003-02-08  John Levon  <levon@movementarian.org>
5054
5055         * lyxfind.C:
5056         * lyxtext.h:
5057         * text2.C:
5058         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5059           and pass the size in explicitly
5060
5061         * BufferView_pimpl.h:
5062         * BufferView_pimpl.C:
5063         * BufferView.h:
5064         * BufferView.C: add getCurrentChange()
5065
5066         * BufferView_pimpl.h:
5067         * BufferView_pimpl.C: handle change lfuns
5068
5069         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5070           for changes. Mark pasted paragraphs as new.
5071
5072         * support/lyxtime.h:
5073         * support/lyxtime.C:
5074         * DepTable.C: abstract time_t as lyx::time_type
5075
5076         * LColor.h:
5077         * LColor.C: add colours for new text, deleted text, changebars
5078
5079         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5080           package use "usenames" option.
5081
5082         * commandtags.h:
5083         * lyxfunc.C:
5084         * LyXAction.C: add change lfuns
5085
5086         * Makefile.am:
5087         * author.h:
5088         * author.C: author handling
5089
5090         * buffer.h:
5091         * buffer.C: add a per-buffer author list, with first entry as
5092           current author. Handle new .lyx tokens for change tracking. Output
5093           author list to .lyx file. Output dvipost stuff to .tex preamble.
5094           Bump lyx format to 222.
5095
5096         * bufferlist.h:
5097         * bufferlist.C: add setCurrentAuthor() to reset current author details
5098           in all buffers.
5099
5100         * bufferparams.h:
5101         * bufferparams.C: add param for tracking
5102
5103         * bufferview_funcs.C: output change info in minibuffer
5104
5105         * Makefile.am:
5106         * changes.h:
5107         * changes.C: add change-tracking structure
5108
5109         * debug.h:
5110         * debug.C: add CHANGES debug flag
5111
5112         * lyxfind.h:
5113         * lyxfind.C: add code for finding the next change piece
5114
5115         * lyxrc.h:
5116         * lyxrc.C: add user_name and user_email
5117
5118         * lyxrow.h:
5119         * lyxrow.C: add a metric for the top of the text line
5120
5121         * lyxtext.h:
5122         * text.C: implement accept/rejectChange()
5123
5124         * lyxtext.h:
5125         * text.C: paint changebars. Paint new/deleted text in the chosen
5126         colours. Strike through deleted text.
5127
5128         * paragraph.h:
5129         * paragraph.C:
5130         * paragraph_pimpl.h:
5131         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5132           in the current change to the insert functions. Rework erase to
5133           mark text as deleted, adding an eraseIntern() and a range-based
5134           erase(). Implement per-paragraph change lookup and
5135           accept/reject.
5136
5137         * paragraph_funcs.C: Fixup paste for change tracking.
5138
5139         * tabular.C: mark added row/columns as new.
5140
5141         * text.C: fix rowLast() to never return -1. Don't allow
5142           spellchecking of deleted text. Track transpose changes. Don't
5143           allow paragraph break or merge where appropriate.
5144
5145         * text2.C: leave cursor at end of selection after a cut.
5146
5147 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5148
5149         * text.C (getLengthMarkerHeight):
5150         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5151         visible on screen too.
5152
5153 2003-02-07  John Levon  <levon@movementarian.org>
5154
5155         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5156
5157 2003-02-05  Angus Leeming  <leeming@lyx.org>
5158
5159         * lyxserver.C (read_ready): revert my patch of 11 September last year
5160         as it sends PC cpu through the roof. Presumably this means that
5161         the lyxserver will no longer run on an Alpha...
5162
5163 2003-01-30  Angus Leeming  <leeming@lyx.org>
5164
5165         * factory.C (createInset): create an InsetCommandParam of type "index"
5166         and use it to 'do the right thing'.
5167
5168         * text2.C (getStringToIndex): ensure that cursor position is always
5169         reset to the reset_cursor position.
5170
5171 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5172
5173         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5174         disabled.
5175
5176 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5177
5178         * bufferview.C:
5179         * lyxcb.C:
5180         * lyxfunc.C: Output messages with identical spelling, punctuation,
5181         and spaces
5182
5183 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5184
5185         * MenuBackend.C (expandFormats): List only viewable export formats
5186         in "View" menu
5187
5188         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5189         message
5190
5191         * lyxfunc.C (getStatus): Make sure that formats other than
5192         "fax" can also be disabled
5193
5194 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5195
5196         * text3.C (dispatch): put the lfuns that insert insets in 3
5197         groups, and call doInsertInset with appropriate arguments.
5198         (doInsertInset): new function, that creates an inset and inserts
5199         it according to some boolean parameters.
5200
5201 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * buffer.C (readFile): remember to pass on 'par' when calling
5204         readFile recursively.
5205
5206 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5207
5208         * MenuBackend.C (expandFormats): add "..." to import formats.
5209
5210 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5211
5212         * paragraph.C (asString): Remove XForms RTL hacks.
5213
5214 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5215         * buffer.C: fix typo
5216
5217 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * Makefile.am (LIBS): delete var
5220         (lyx_LDADD): add @LIBS@ here instead.
5221
5222 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5223
5224         * Clarify the meaning of "wheel mouse jump"
5225
5226 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5227
5228         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5229         tabular in a float
5230
5231 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5232
5233         * importer.C (Loaders): do not preallocate 3 elements in the
5234         vector, since one ends up with 6 elements otherwise
5235
5236 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5237
5238         * DepTable.C (write): write the file name as last element of the
5239         .dep file (because it may contain spaces)
5240         (read): read info in the right order
5241
5242 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5243
5244         * paragraph_pimpl.C (simpleTeXBlanks):
5245         (simpleTeXSpecialChars):
5246         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5247
5248         * tabular.C (latex): add some missing case statements. Reindent.
5249
5250         * MenuBackend.C (expandToc): remove unused variable.
5251
5252 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5253
5254         * LColor.C:
5255         * LaTeX.C:
5256         * LyXAction.C:
5257         * MenuBackend.C:
5258         * buffer.C:
5259         * exporter.C:
5260         * lyxfunc.C:
5261         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5262         and the like.
5263
5264 2003-01-05  John Levon  <levon@movementarian.org>
5265
5266         * BufferView.h:
5267         * BufferView.C: add getEncoding()
5268
5269         * kbsequence.h:
5270         * kbsequence.C: do not store last keypress
5271
5272         * lyxfunc.h:
5273         * lyxfunc.C: store last keypress here instead. Pass encoding
5274           to getISOEncoded()
5275
5276 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5277
5278         * lyx_main.C (init): remove annoying error message when following
5279         symbolic links (bug #780)
5280
5281 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5282
5283         * text.C (insertChar):
5284         * lyxrc.C (getDescription): remove extra spaces
5285
5286 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5287
5288         * lyxrc.C (getDescription): remove extra spaces
5289
5290 2002-12-20  John Levon  <levon@movementarian.org>
5291
5292         * text3.C: hack fix for page up/down across tall rows
5293
5294 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5295
5296         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5297         not been invoked
5298
5299 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5300
5301         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5302         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5303         thesaurus is not compiled in
5304
5305 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5306
5307         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5308
5309 2002-12-16  Angus Leeming  <leeming@lyx.org>
5310
5311         * lyxrc.[Ch]:
5312         * lyx_main.C (init): remove override_x_deadkeys stuff.
5313
5314 2002-12-12  John Levon  <levon@movementarian.org>
5315
5316         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5317           insert. Only remove shift modifier under strict
5318           circumstances.
5319
5320 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * MenuBackend.C (expandToc): fix crash.
5323
5324 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * MenuBackend.C (expandToc): gettext on float names.
5327
5328 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5329
5330         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5331         implement bool empty() [bug 490]
5332
5333 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5336
5337 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * several files: ws changes
5340
5341 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * text2.C (setCounter): clean up a bit, use boost.format.
5344         (updateCounters): initialize par upon declaration.
5345
5346         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5347         if the layout exists. We do not just store the layout any more.
5348         (SwitchLayoutsBetweenClasses): use boost.format
5349
5350 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5351
5352         * converter.C (convert): if from and to files are the same, use a
5353         temporary files as intermediary
5354
5355 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5356
5357         * commandtags.h:
5358         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5359
5360 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5361
5362         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5363
5364 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * tabular.C (asciiPrintCell): use string(size, char) instead of
5367         explicit loop.
5368
5369         * sgml.C (openTag): fix order of arguments to string constructor
5370         (closeTag): ditto
5371
5372         * lyxfunc.C (dispatch): use boost.format
5373
5374         * lots of files: change "c" -> 'c'
5375
5376 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5377
5378         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5379
5380 2002-11-25  Angus Leeming  <leeming@lyx.org>
5381
5382         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5383
5384         * lyx_main.C (init): compile fix.
5385
5386 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * lyx_cb.C (start): boost.formatify
5389         do not include <iostream>
5390
5391         * lengthcommon.C: ws only
5392
5393         * boost-inst.C,BoostFormat.h: add more explict instantations
5394
5395 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * lots of files: handle USE_BOOST_FORMAT
5398
5399 2002-11-21  John Levon  <levon@movementarian.org>
5400
5401         * pspell.C: fix compile
5402
5403 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5404
5405         * lyxfunc.C (dispatch): use boost::format
5406         (open): ditto
5407         (doImport): ditto
5408
5409         * lyxfont.C (stateText): use boost::format
5410
5411         * lyx_main.C (LyX): use boost::format
5412         (init): ditto
5413         (queryUserLyXDir): ditto
5414         (readRcFile): ditto
5415         (parse_dbg): ditto
5416         (typedef boost::function): use the recommened syntax.
5417
5418         * importer.C (Import): use boost::format
5419
5420         * debug.C (showLevel): use boost::format
5421
5422         * converter.C (view): use boost::format
5423         (convert): ditto
5424         (move): ditto
5425         (scanLog): ditto
5426
5427         * bufferview_funcs.C (currentState): use boost::format
5428
5429         * bufferlist.C (emergencyWrite): use boost::format
5430
5431         * buffer.C (readLyXformat2): use boost::format
5432         (parseSingleLyXformat2Token): ditto
5433
5434         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5435
5436         * LaTeX.C (run): use boost::format
5437
5438         * Chktex.C (scanLogFile): use boost::format
5439
5440         * BufferView_pimpl.C (savePosition): use boost::format
5441         (restorePosition): ditto
5442         (MenuInsertLyXFile): ditto
5443
5444         * BoostFormat.h: help file for explicit instation.
5445
5446 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5447
5448         * tabular.C (latex): Support for block alignment in fixed width
5449         columns.
5450
5451 2002-11-17  John Levon  <levon@movementarian.org>
5452
5453         * BufferView_pimpl.C:
5454         * lyx_cb.C:
5455         * lyxfunc.C: split filedialog into open/save
5456
5457 2002-11-08  Juergen Vigna  <jug@sad.it>
5458
5459         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5460         by my last patch (hopefully).
5461
5462 2002-11-08  John Levon  <levon@movementarian.org>
5463
5464         * iterators.h:
5465         * iterators.C:
5466         * buffer.h:
5467         * buffer.C:
5468         * paragraph.h:
5469         * paragraph.C:
5470         * toc.h:
5471         * toc.C: ParConstIterator, and use it (from Lars)
5472
5473 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5474
5475         * lyxtextclass.[Ch]: revise and add doxygen comments
5476
5477 2002-11-07  John Levon  <levon@movementarian.org>
5478
5479         * text.C: fix progress value for spellchecker
5480
5481         * toc.C: fix navigate menu for insetwrap inside minipage
5482
5483         * paragraph_funcs.C: added FIXME for suspect code
5484
5485 2002-11-07  John Levon  <levon@movementarian.org>
5486
5487         * BufferView_pimpl.C: fix redrawing of insets
5488           on buffer switch
5489
5490 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5491
5492         * text2.C (updateCounters): fix bug 668
5493
5494 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5495
5496         * text3.C (dispatch): Do not make the buffer dirty when moving the
5497         cursor.
5498
5499 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5500
5501         * vc-backend.C: STRCONV
5502         (scanMaster): ditto
5503
5504         * text2.C (setCounter): STRCONV
5505
5506         * paragraph.C (asString): STRCONV
5507
5508         * lyxlength.C (asString): STRCONV
5509         (asLatexString): ditto
5510
5511         * lyxgluelength.C (asString): STRCONV
5512         (asLatexString): ditto
5513
5514         * lyxfunc.C (dispatch): STRCONV
5515         (open): ditto
5516
5517         * lyxfont.C (stateText): STRCONV
5518
5519         * importer.C (Import): STRCONV
5520
5521         * counters.C (labelItem): STRCONV
5522         (numberLabel): ditto
5523         (numberLabel): remove unused ostringstream o
5524
5525         * chset.C: STRCONV
5526         (loadFile): ditto
5527
5528         * bufferview_funcs.C (currentState): STRCONV
5529
5530         * buffer.C (readFile): STRCONV
5531         (asciiParagraph): ditto
5532         (makeLaTeXFile): ditto
5533
5534         * Spacing.C (writeEnvirBegin): STRCONV
5535
5536         * LaTeXFeatures.C (getLanguages): STRCONV
5537         (getPackages): ditto
5538         (getMacros): ditto
5539         (getBabelOptions): ditto
5540         (getTClassPreamble): ditto
5541         (getLyXSGMLEntities): ditto
5542         (getIncludedFiles): ditto
5543
5544         * LaTeX.C: STRCONV
5545         (run): ditto
5546         (scanAuxFile): ditto
5547         (deplog): ditto
5548
5549         * LString.h: add the STRCONV macros
5550
5551         * BufferView_pimpl.C (savePosition): STRCONV
5552         (restorePosition): ditto
5553         (MenuInsertLyXFile): ditto
5554
5555         * vc-backend.C (scanMaster): change from submatch[...] to
5556         submatch.str(...)
5557
5558         * funcrequest.C: include config.h
5559
5560         * factory.C: include config.h
5561
5562         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5563
5564         * box.C: include config.h
5565
5566         * LaTeX.C (scanAuxFile): change from submatch[...] to
5567         submatch.str(...)
5568         (deplog): ditto
5569
5570 2002-10-25  Angus Leeming  <leeming@lyx.org>
5571
5572         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5573
5574         * ispell.[Ch] (setError): new method.
5575         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5576         Use setError() insetead of goto END.
5577
5578         * lyx_cb.C (AutoSave): move out child process into new class
5579         AutoSaveBuffer.
5580
5581 2002-10-30  John Levon  <levon@movementarian.org>
5582
5583         * text3.C: make start appendix undoable
5584
5585 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5586
5587         * lyxlength.C (inPixels): Fix returned value.
5588
5589         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5590         environment.
5591
5592 2002-10-24  Angus Leeming  <leeming@lyx.org>
5593
5594         * lyxgluelength.h: no need to forward declare BufferParams
5595         or BufferView, so don't.
5596
5597 2002-10-21  John Levon  <levon@movementarian.org>
5598
5599         * BufferView.C: menuUndo ->undo, redo
5600
5601         * BufferView.h: document, remove dead, make some methods private
5602
5603         * paragraph_funcs.h:
5604         * paragraph_funcs.C:
5605         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5606
5607         * buffer.h:
5608         * buffer.C:
5609         * sgml.h:
5610         * sgml.C: move sgml open/close tag into sgml.C
5611
5612         * bufferview_funcs.h: unused prototype
5613
5614         * lyxfunc.h:
5615         * lyxfunc.C: remove unused
5616
5617         * lyxtext.h:
5618         * text.C: remove unused
5619
5620 2002-10-21  John Levon  <levon@movementarian.org>
5621
5622         * BufferView.h:
5623         * BufferView.C:
5624         * BufferView_pimpl.h:
5625         * BufferView_pimpl.C: fix mouse wheel handling based on
5626           patch from Darren Freeman
5627
5628 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5629
5630         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5631
5632 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5633
5634         * lyxlength.C (inPixels): Fix hanfling of negative length.
5635         Fix LyXLength::MU case.
5636
5637 2002-10-16  John Levon  <levon@movementarian.org>
5638
5639         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5640
5641 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5642
5643         * converter.C (view): add support for $$i (file name) and $$p
5644         (file path) for the viewer command. If $$i is not specified, then
5645         it is appended to the command (for compatibility with old syntax)
5646
5647 2002-10-14  Juergen Vigna  <jug@sad.it>
5648
5649         * undo_funcs.C (textHandleUndo): alter the order in which the
5650         new undopar is added to the LyXText, as we have to set first
5651         the right prev/next and then add it as otherwise the rebuild of
5652         LyXText is not correct. Also reset the cursor to the right paragraph,
5653         with this IMO we could remove the hack in "redoParagraphs()".
5654
5655 2002-10-09  Angus Leeming  <leeming@lyx.org>
5656
5657         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5658         to turn off an optimisation if a new inset is to be inserted.
5659
5660 2002-10-11 André Pönitz <poenitz@gmx.net>
5661
5662         * lyxtext.h: make some functions public to allow access
5663         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5664
5665 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5666
5667         * text3.C (dispatch): when changing layout, avoid an infinite loop
5668         [bug #652]
5669
5670 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5671
5672         * lyxrc.C (read): treat a viewer or converter command of "none" as
5673         if it were empty.
5674
5675         * MenuBackend.C (expandFormats): for an update, also allow the
5676         formats that are not viewable
5677
5678         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5679         script if it is newer than the lyxrc.defaults in user directory
5680
5681 2002-10-07 André Pönitz <poenitz@gmx.net>
5682
5683         * text.C: Vitaly Lipatov's small i18n fix
5684
5685 2002-09-25  Angus Leeming  <leeming@lyx.org>
5686
5687         * ispell.h: doxygen fix.
5688
5689 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5690
5691         * buffer.h (readFile): Add a new argument to the method, to allow
5692         reading of old-format templates.
5693
5694 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5695
5696         * toc.C (getTocList): Get TOC from InsetWrap.
5697
5698 2002-09-16  John Levon  <levon@movementarian.org>
5699
5700         * lyxfunc.C: check tabular for cut/copy too
5701
5702 2002-09-12  John Levon  <levon@movementarian.org>
5703
5704         * LyXAction.C: tidy
5705
5706         * factory.h:
5707         * factory.C: add header
5708
5709         * paragraph_funcs.h:
5710         * paragraph_funcs.C: cleanup
5711
5712 2002-09-11  John Levon  <levon@movementarian.org>
5713
5714         * PrinterParams.h: odd/even default to true
5715
5716 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5717
5718         * PrinterParams.h: update printer parameters for new xforms dialog
5719
5720 2002-09-11  Angus Leeming  <leeming@lyx.org>
5721
5722         * lyxserver.C (read_ready): re-write to make it more transparent
5723         and to make it work in coherent fashion under Tru64 Unix.
5724
5725 2002-09-11  André Pönitz <poenitz@gmx.net>
5726
5727         * commandtags.h:
5728         * LyXAction.C:
5729         * text3.C: implement LFUN_WORDSEL
5730
5731 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5734         make floatlist_ a boost::shared_ptr<FloatList>
5735
5736         * lyxtextclass.C: include FloatList.h
5737         (LyXTextClass): initialize floatlist_
5738         (TextClassTags): add TC_NOFLOAT
5739         (Read): match "nofloat" to TC_NOFLOAT and use it.
5740         (readFloat): modify call to floatlist_
5741         (floats): ditto
5742         (floats): ditto
5743
5744         * FloatList.[Ch] (FloatList): remove commented out float
5745         initialization.
5746         (erase): new function
5747
5748 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5749
5750         * MenuBackend.C (expandToc): fix crash when there is no document
5751         open
5752
5753 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5754
5755         * many files: Add insetwrap.
5756
5757 2002-09-09  John Levon  <levon@movementarian.org>
5758
5759         * text2.C: remove confusing and awkward depth wraparound
5760
5761 2002-09-09  John Levon  <levon@movementarian.org>
5762
5763         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5764
5765         * buffer.h:
5766         * buffer.C: remove getIncludeonlyList()
5767
5768         * paragraph.C:
5769         * lyxfunc.C: remove headers
5770
5771 2002-09-09  Juergen Vigna  <jug@sad.it>
5772
5773         * text.C (getColumnNearX): fix form Michael this is most
5774         probably a cut&paste bug.
5775
5776 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5779
5780         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5781         references, ws changes.
5782
5783         * text2.C (init): update counters after init
5784         (insertParagraph): no need to set counter on idividual paragraphs.
5785         (setCounter): access the counters object in the textclass object
5786         on in the buffer object.
5787         (updateCounters): ditto
5788
5789         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5790         shared_ptr<Counters> to avoid loading counters.h in all
5791         compilation units.
5792         (LyXTextClass): initialize ctrs_
5793         (TextClassTags): add TC_COUNTER, and ...
5794         (Read): use it here.
5795         (CounterTags): new tags
5796         (readCounter): new function
5797         (counters): new funtion
5798         (defaultLayoutName): return a const reference
5799
5800         * counters.C (Counters): remove contructor
5801         (newCounter): remove a couple of unneeded statements.
5802         (newCounter): simplify a bit.
5803         (numberLabel): some small formatting changes.
5804
5805         * buffer.[Ch]: remove all traces of counters, move the Counters
5806         object to the LyXTextClass.
5807
5808 2002-09-06  Alain Castera  <castera@in2p3.fr>
5809
5810         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5811         package to set the horizontal alignment on fixed width columns.
5812
5813         * lyx_sty.C:
5814         * lyx_sty.h: added tabularnewline macro def.
5815
5816         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5817
5818 2002-09-06  John Levon  <levon@movementarian.org>
5819
5820         * LyXAction.C: tooltips for sub/superscript
5821
5822         * MenuBackend.C: a bit more verbose
5823
5824         * lyxfunc.C: tiny clean
5825
5826         * undo_funcs.C: document undo_frozen
5827
5828 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * counters.C (Counters): add missing algorithm counter.
5831
5832         * text2.C (setCounter): lookup the counter with layouts latexname
5833         instead of by section number.
5834         (setCounter): use a hackish way to lookup the correct enum
5835         counter.
5836         a float name->type change
5837         reset enum couners with counter name directly instead of depth value.
5838
5839         * counters.C (Counters): remove the push_backs, change to use the
5840         float type not the float name.
5841         (labelItem): remove unused string, float name->type change
5842
5843         * counters.h: don't include vector, loose the enums and sects vectors
5844
5845 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5848         (Read): add float->TC_FLOAT to textclassTags
5849         (Read): and handle it in the switch
5850         (readFloat): new function
5851
5852         * FloatList.C (FloatList): comment out the hardcoded float
5853         definitions.
5854
5855         * lyxlayout.h: ws change.
5856
5857 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5858
5859         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5860
5861 2002-09-03  Angus Leeming  <leeming@lyx.org>
5862
5863         * BufferView_pimpl.h: qualified name is not allowed in member
5864         declaration: WorkArea & Pimpl::workarea() const;
5865
5866         * factory.C: added using std::endl directive.
5867
5868         * text3.C: added using std::find and std::vector directives.
5869
5870 2002-08-29  André Pönitz <poenitz@gmx.net>
5871
5872         * lyxtext.h:
5873         * text2.C: remove unused member number_of_rows
5874
5875         * Makefile.am:
5876         * BufferView2.C: remove file, move contents to...
5877         * BufferView.C: ... here
5878
5879         * BufferView_pimpl.C:
5880         * factory.C: move more inset creation to factory
5881
5882         * vspace.C: avoid direct usage of LyXText, ws changes
5883
5884         * BufferView.[Ch]:
5885                 don't provide direct access to WorkArea, use two simple
5886                 acessors haveSelction() and workHeight() instead
5887
5888
5889 2002-08-29  John Levon  <levon@movementarian.org>
5890
5891         * BufferView_pimpl.C (dispatch): do not continue when
5892           no buffer
5893
5894 2002-08-28  André Pönitz <poenitz@gmx.net>
5895
5896         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5897
5898         * BufferView.h:
5899         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5900
5901 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5902
5903         * buffer.C: increment LYX_FORMAT to 221
5904
5905         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5906         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5907
5908         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5909
5910         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5911
5912 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5913
5914         * factory.C (createInset): use LyXTextClass::floats
5915
5916         * MenuBackend.C (expandFloatListInsert):
5917         (expandFloatInsert):
5918         (expandToc):
5919
5920         * text2.C (setCounter):
5921
5922         * LaTeXFeatures.C (useFloat):
5923         (getFloatDefinitions):
5924
5925         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5926
5927         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5928         floatlist_, with accessor floats().
5929
5930         * FloatList.h: remove global FloatList
5931
5932 2002-08-26  André Pönitz <poenitz@gmx.net>
5933
5934         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5935
5936         * BufferView.h:
5937         * BufferView2.C:
5938         * BufferView_pimpl.C:
5939         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5940
5941 2002-08-25  John Levon  <levon@movementarian.org>
5942
5943         * LyXAction.C: fix margin note description
5944
5945 2002-08-24  John Levon  <levon@movementarian.org>
5946
5947         * buffer.C:
5948         * bufferlist.C:
5949         * bufferview_funcs.C:
5950         * lyxfont.C:
5951         * undo_funcs.C: cleanups
5952
5953         * lyxfunc.C: disable CUT/COPY when no selection
5954
5955 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5956
5957         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5958         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5959
5960         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5961         Add backward compatibility to "mono", "gray" and "no".
5962
5963 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5964
5965         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5966         (and file_format >= 200).
5967
5968 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5969
5970         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5971
5972 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5973
5974         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5975
5976 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5977
5978         * BufferView_pimpl.C:
5979         * LyXAction.C:
5980         * buffer.C:
5981         * commandtags.h:
5982         * lyxfunc.C:
5983         * paragraph.[Ch]:
5984         * text2.C:
5985         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5986         inset and code to make it  work with the paragraph code. The inset
5987         can be anywhere in the paragraph, but will only do the expected
5988         thing in LaTeX if the layout file contains the parameter line
5989                         OptionalArgs    1
5990         (or more generally, a nonzero value) for that layout.
5991
5992 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * paragraph.h: remove the declaration of undefined counters class
5995         function.
5996
5997 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5998
5999         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6000         Dr. Richard Hawkins.
6001
6002 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6003
6004         * paragraph_funcs.h: remove some unneeded includes
6005
6006         * text.C (backspace): pasteParagraph now in global scipe
6007
6008         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6009         (pasteSelection): ditto
6010
6011         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6012         * paragraph_funcs.C (pasteParagraph): ... here
6013
6014 2002-08-20  André Pönitz <poenitz@gmx.net>
6015
6016         * commandtags.h: new LFUNs for swapping/copying table row/colums
6017
6018         * LyXAction.C:
6019         * lyxfunc.C: support for new lfuns
6020
6021 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * tabular.C:
6024         * buffer.[Ch]: remove NO_COMPABILITY stuff
6025
6026 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * boost.C (throw_exception): new file, with helper function for
6029         boost compiled without exceptions.
6030
6031         * paragraph.h:
6032         * lyxlength.C:
6033         * buffer.C:
6034         * ParameterStruct.h:
6035         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6036
6037         * bufferlist.C (emergencyWriteAll): use boost bind
6038
6039         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6040
6041         * text.C: include paragraph_funcs.h
6042         (breakParagraph): breakParagraph is now in global scope
6043
6044         * paragraph_funcs.[Ch]: new files
6045
6046         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6047         global scope
6048
6049         * buffer.C: include paragraph_funcs.h
6050         (insertStringAsLines): breakParagraph is now in global scope
6051
6052         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6053         paragraph_funcs.C
6054
6055         * CutAndPaste.C: include paragraph_funcs.h
6056         (cutSelection): breakParagraphConservative is now in global scope
6057         (pasteSelection): ditto
6058
6059         * buffer.h: declare oprator== and operator!= for
6060         Buffer::inset_iterator
6061
6062         * bufferlist.C (emergencyWrite): don't use fmt(...)
6063
6064         * text3.C: add using std::endl
6065
6066         * BufferView.C (moveCursorUpdate): remove default arg
6067
6068 2002-08-20  André Pönitz <poenitz@gmx.net>
6069
6070         * buffer.[Ch]: move inline functions to .C
6071
6072         * BufferView2.C:
6073         * BufferView_pimpl.C:
6074         * text.C:
6075         * buffer.[Ch]: use improved inset_iterator
6076
6077         * buffer.C:
6078         * paragraph.[Ch]: write one paragraph at a time
6079
6080 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6081
6082         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6083         style if style is not specified.
6084
6085 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6086
6087         * text2.C (setCounter): when searching for right label for a
6088         caption, make sure to recurse to parent insets (so that a caption
6089         in a minipage in a figure float works) (bug #568)
6090
6091 2002-08-20  André Pönitz <poenitz@gmx.net>
6092
6093         * text3.C: new file for LyXText::dispatch() and helpers
6094
6095         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6096
6097         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6098
6099 2002-08-19  André Pönitz <poenitz@gmx.net>
6100
6101         * lyxtext.h:
6102         * text.C: new LyXText::dispatch()
6103
6104         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6105
6106 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6107
6108         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6109
6110         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6111         Hebrew text.
6112
6113 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6114
6115         * Makefile.am: use $(variables) instead of @substitutions@
6116
6117 2002-08-15  André Pönitz <poenitz@gmx.net>
6118
6119         * lyxfunc.C:
6120         * BufferView_pimpl.C: streamlining mathed <-> outer world
6121         interaction
6122
6123         * commandtags.h:
6124         * LyXAction.C: remove unused LFUN_MATH
6125
6126 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6129
6130 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6131
6132         * paragraph.C (Paragraph): reformat a bit
6133         (cutIntoMinibuffer): use builtin InsetList function instad of
6134         doing it manually.
6135         (getInset): ditto
6136
6137         * buffer.C: include boost/bind.hpp, add using std::for_each
6138         (writeFileAscii): use ParagraphList iterators
6139         (validate): use for_each for validate traversal of paragraphs
6140         (getBibkeyList): use ParagraphList iterators
6141         (resizeInsets): use for_each to resizeInsetsLyXText for all
6142         paragraphs.
6143         (getParFromID): use ParagraphList iterators
6144
6145         * BufferView2.C (lockInset): use paragraph list and iterators
6146
6147 2002-08-14  John Levon  <levon@movementarian.org>
6148
6149         * lyxserver.C: remove spurious xforms include
6150
6151 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6152
6153         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6154
6155 2002-08-13  André Pönitz <poenitz@gmx.net>
6156
6157         * LyXAction.[Ch]:
6158         * lyxfunc.C: further cleaning
6159
6160 2002-08-13  André Pönitz <poenitz@gmx.net>
6161
6162         * funcrequest.h: new constructor
6163
6164         * funcrequest.C: move stuff here from .h
6165
6166         * Makefile.am:
6167         * BufferView_pimpl.C:
6168         * LyXAction.C:
6169         * toc.C:
6170         * lyxfunc.C: subsequent changes
6171
6172         * lyxfunc.h: new view() member function
6173
6174         * lyxfunc.C: subsequent changes
6175
6176 2002-08-13  Angus Leeming  <leeming@lyx.org>
6177
6178         * BufferView2.C:
6179         * BufferView_pimpl.C:
6180         * buffer.C:
6181         * converter.C:
6182         * importer.C:
6183         * lyxfunc.C:
6184         * lyxvc.C:
6185         * toc.C:
6186         * vc-backend.C:
6187         changes due to the changed LyXView interface that now returns references
6188         to member variables not pointers.
6189
6190 2002-08-13  Angus Leeming  <leeming@lyx.org>
6191
6192         * WordLangTuple (word, lang_code): return references to strings,
6193         not strings.
6194
6195         * BufferView.h:
6196         * SpellBase.h:
6197         * lyxtext.h: forward-declare WordLangTuple.
6198
6199         * BufferView2.C:
6200         * ispell.C:
6201         * pspell.C:
6202         * text.C: #include "WordLangTuple.h".
6203
6204         * lyxtext.h:
6205         * text.C: (selectNextWordToSpellcheck): constify return type.
6206
6207 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6208
6209         * buffer.C:
6210         * buffer.h:
6211         * lyxtext.h:
6212         * paragraph.C:
6213         * paragraph_pimpl.h:
6214         * text.C:
6215         * text2.C:
6216         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6217         suggested by Angus.
6218         Made updateCounter always count from start of buffer, and removed
6219         second argument (par).
6220         Reverted floats number display to '#'. Perhaps I'll try again when the
6221         code base is sanitized a bit.
6222
6223 2002-08-12  Angus Leeming  <leeming@lyx.org>
6224
6225         * buffer.[Ch] (getLabelList): constify.
6226
6227 2002-08-07  André Pönitz <poenitz@gmx.net>
6228
6229         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6230
6231         * funcrequest.h: extension to keep mouse (x,y) position
6232
6233 2002-08-12  Juergen Vigna  <jug@sad.it>
6234
6235         * BufferView2.C (insertErrors): forbid undo when inserting error
6236         insets.
6237
6238         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6239
6240 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * ParagraphList.[Ch]: new files
6243
6244         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6245
6246         * BufferView2.C (lockInset): ParagraphList changes
6247         * toc.C: ditto
6248         * text2.C: ditto
6249         * bufferlist.C: ditto
6250         * buffer.h: ditto
6251         * buffer.C: ditto
6252
6253 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6256         unused class variable counter_,
6257
6258         * paragraph.[Ch] (getFirstCounter): delete unused function
6259
6260         * counters.C: include LAssert.h
6261         (reset): add a new function with no arg, change other version to
6262         not have def. arg and to not allow empty arg.
6263
6264         * text2.C (setCounter): remove empty arg from call to Counters::reset
6265
6266 2002-08-11  John Levon  <levon@movementarian.org>
6267
6268         * Makefile.am: add WordLangTuple.h
6269
6270 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6273         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6274
6275         * insets/insettext.C: InsetList changes
6276
6277         * graphics/GraphicsSupport.C (operator()): InsetList changes
6278
6279         * toc.C (getTocList): InsetList changes
6280
6281         * paragraph_pimpl.[Ch]: InsetList changes
6282
6283         * paragraph.[Ch]: InsetList changes
6284
6285         * buffer.C (inset_iterator): InsetList changes
6286         (setParagraph): ditto
6287         * buffer.h (inset_iterator): ditto
6288         * iterators.C (operator++): ditto
6289         * iterators.h: ditto
6290
6291         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6292
6293         * InsetList.[Ch]: new files, most InsetList handling moved out of
6294         paragraph.C.
6295
6296         * BufferView2.C (removeAutoInsets): InsetList changes
6297         (lockInset): ditto
6298         (ChangeInsets): ditto
6299
6300 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * paragraph_pimpl.h (empty): new function
6303
6304         * paragraph.[Ch] (empty): new function
6305
6306         * other files: use the new Paragraph::empty function
6307
6308 2002-08-09  John Levon  <levon@movementarian.org>
6309
6310         * lyxtext.h: remove unused refresh_height
6311
6312 2002-08-09  John Levon  <levon@movementarian.org>
6313
6314         * Makefile.am:
6315         * sgml.h:
6316         * sgml.C:
6317         * buffer.C:
6318         * paragraph.h:
6319         * paragraph.C: move sgml char escaping out of paragraph
6320
6321         * paragraph.h:
6322         * paragraph.C: remove id setter
6323
6324         * buffer.C:
6325         * paragraph.C:
6326         * paragraph_pimpl.C: remove dead tex_code_break_column
6327
6328         * bufferview_funcs.C: small cleanup
6329
6330         * lyxfunc.C: remove dead proto
6331
6332         * lyxtext.h: make some stuff private. Remove some dead stuff.
6333
6334         * lyxgluelength.C: make as[LyX]String() readable
6335
6336 2002-08-08  John Levon  <levon@movementarian.org>
6337
6338         * LyXAction.h:
6339         * LyXAction.C:
6340         * MenuBackend.C:
6341         * ToolbarDefaults.C:
6342         * lyxfunc.C:
6343         * lyxrc.C:
6344         * toc.C: lyxaction cleanup
6345
6346 2002-08-08  John Levon  <levon@movementarian.org>
6347
6348         * BufferView2.C: small cleanup
6349
6350         * lyxfind.h:
6351         * lyxfind.C: move unnecessary header into the .C
6352
6353 2002-08-08  John Levon  <levon@movementarian.org>
6354
6355         * funcrequest.h: just tedious nonsense
6356
6357         * lyx_main.h:
6358         * lyx_main.C: cleanups
6359
6360         * buffer.C:
6361         * vspace.C: remove dead header lyx_main.h
6362
6363 2002-08-07  Angus Leeming  <leeming@lyx.org>
6364
6365         * Paragraph.[Ch]:
6366         * paragraph_pimpl.h:
6367         Forward declare class Counters in paragraph.h by moving the ctrs member
6368         variable into Paragraph::Pimpl.
6369         (counters): new method, returning a reference to pimpl_->ctrs.
6370
6371         * text2.C: ensuing changes.
6372
6373 2002-08-07  John Levon  <levon@movementarian.org>
6374
6375         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6376
6377         * BufferView_pimpl.C: announce X selection on double/triple
6378           click
6379
6380         * lyx_main.C: use correct bool in batch dispatch
6381
6382         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6383
6384 2002-08-07  André Pönitz <poenitz@gmx.net>
6385
6386         * funcrequest.h: new class to wrap a kb_action and its argument
6387
6388         * BufferView.[Ch]:
6389         * BufferView_pimpl[Ch]:
6390         * LaTeX.C:
6391         * LyXAction.[Ch]:
6392         * lyxfunc.[Ch]:
6393         * lyxrc.C: subsequent changes
6394
6395
6396 2002-08-07  John Levon  <levon@movementarian.org>
6397
6398         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6399           document options change.
6400
6401 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6402
6403         * counters.[Ch]
6404         * text2.C
6405         * paragraph.[Ch]
6406         * makefile.am: move counters functionality over from
6407         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6408
6409 2002-08-06  John Levon  <levon@movementarian.org>
6410
6411         * WordLangTuple.h: new file for word + language code tuple
6412
6413         * SpellBase.h:
6414         * pspell.h:
6415         * pspell.C:
6416         * ispell.h:
6417         * ispell.C:
6418         * lyxtext.h:
6419         * text.C:
6420         * text2.C:
6421         * BufferView.h:
6422         * BufferView2.C: use WordLangTuple
6423
6424         * layout.h:
6425         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6426
6427 2002-08-06  John Levon  <levon@movementarian.org>
6428
6429         * lyx_main.C: fix cmdline batch handling
6430
6431 2002-08-06  André Pönitz <poenitz@gmx.net>
6432
6433         * lyxrc.C: set default for show_banner to true
6434
6435 2002-08-06  John Levon  <levon@movementarian.org>
6436
6437         * pspell.C: fix a crash, and allow new aspell to work
6438
6439 2002-08-06  John Levon  <levon@movementarian.org>
6440
6441         * lyxfunc.C:
6442         * kbmap.C: small cleanup
6443
6444         * vspace.h:
6445         * vspace.C: add const
6446
6447 2002-08-05  John Levon  <levon@movementarian.org>
6448
6449         * LyXAction.C: back to tabular-insert
6450
6451 2002-08-04  John Levon  <levon@movementarian.org>
6452
6453         * BufferView.h:
6454         * BufferView.C: cosmetic change
6455
6456         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6457
6458         * bufferlist.C:
6459         * buffer.h:
6460         * buffer.C:
6461         * lyxcb.h:
6462         * lyxcb.C:
6463         * lyxserver.C:
6464         * lyxvc.C:
6465         * vc-backend.C:
6466         * BufferView2.C: purge all "Lyx" not "LyX" strings
6467
6468         * lyxcursor.h:
6469         * lyxcursor.C: attempt to add some documentation
6470
6471         * lyxfunc.C:
6472         * commandtags.h:
6473         * LyXAction.C:
6474         * ToolbarDefaults.C:
6475         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6476           merge with LFUN_TABULAR_INSERT
6477
6478         * Makefile.am:
6479         * SpellBase.h:
6480         * ispell.h:
6481         * ispell.C:
6482         * pspell.h:
6483         * pspell.C: split up i/pspell implementations into separate
6484           files, many cleanups
6485
6486         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6487
6488         * text2.C: some cleanup
6489
6490         * lyxfunc.C: don't check for isp_command == "none" any more, it
6491           didn't make any sense
6492
6493 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6494
6495         * counters.[Ch]
6496         * text2.C
6497         * paragraph.[Ch]
6498         * makefile.am: move counters functionality over
6499         from text2.C/paragraph.[Ch] to counters.[Ch], and
6500         make proper C++.
6501 2002-08-02  John Levon  <levon@movementarian.org>
6502
6503         * buffer.C: s/lyxconvert/lyx2lyx/
6504
6505 2002-08-02  Angus Leeming  <leeming@lyx.org>
6506
6507         * lyxlex.C: revert John's change as it breaks reading of the user
6508         preamble.
6509
6510 2002-08-02  Angus Leeming  <leeming@lyx.org>
6511
6512         * importer.C (Import):
6513         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6514         changes due to LyXView::view() now returning a boost::shared_ptr.
6515
6516 2002-08-02  John Levon  <levon@movementarian.org>
6517
6518         * lyxlex.C: small cleanup
6519
6520 2002-08-02  John Levon  <levon@movementarian.org>
6521
6522         * text2.C (status): small cleanup, no logic change
6523
6524 2002-08-01  John Levon  <levon@movementarian.org>
6525
6526         * buffer.h:
6527         * buffer.C (writeFile): don't output alerts, caller
6528           handles this
6529
6530         * bufferlist.C:
6531         * lyx_cb.C: from above
6532
6533         * lyxfunc.C: allow to open non-existent files
6534
6535 2002-07-31  John Levon  <levon@movementarian.org>
6536
6537         * lyxserver.C: don't let incidental errors get
6538           in the way (errno)
6539
6540 2002-07-30  John Levon  <levon@movementarian.org>
6541
6542         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6543
6544 2002-07-30  John Levon  <levon@movementarian.org>
6545
6546         * lyxserver.h:
6547         * lyxserver.C: remove I/O callback too
6548
6549 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6550
6551         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6552         log.
6553
6554 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * many files: strip,frontStrip -> trim,ltrim,rtrim
6557
6558 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * PrinterParams.h: remove extern containsOnly, and include
6561         support/lstrings.h instead.
6562
6563         * LaTeX.C (scanAuxFile): modify because of strip changes
6564         (deplog): ditto
6565         * buffer.C (makeLaTeXFile): ditto
6566         * bufferparams.C (writeFile): ditt
6567         * lyxfont.C (stateText): ditto
6568         * lyxserver.C (read_ready): ditto
6569         * vc-backend.C (scanMaster): ditto
6570
6571         * BufferView_pimpl.h: ws changes
6572
6573         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6574
6575 2002-07-26  André Pönitz <poenitz@gmx.net>
6576
6577         * kb_sequence.C: remove unnedred usings
6578
6579 2002-07-26  Juergen Vigna  <jug@sad.it>
6580
6581         * lyxfind.C (LyXReplace): we have to check better if the returned
6582         text is not of theLockingInset()->getLockingInset().
6583
6584 2002-07-25  Juergen Vigna  <jug@sad.it>
6585
6586         * lyxfind.C (LyXReplace): don't replace if we don't get the
6587         right LyXText.
6588
6589         * undo_funcs.C (createUndo): remove debugging code.
6590
6591 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6592
6593         * buffer.C (parseSingleLyXformat2Token): Use default placement
6594         when reading old floats.
6595
6596         * FloatList.C (FloatList): Change the default placement of figure
6597         and tables to "tbp".
6598
6599 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6600
6601         * MenuBackend.C: using std::max
6602
6603 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6604
6605         * MenuBackend.C (expandToc):
6606         (expandToc2): code moved from xforms menu frontend. It is now
6607         generic and TOCs are transparent to menu frontends.
6608
6609 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6610
6611         * toc.C (getTocList): protect against buf=0
6612
6613         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6614         Menu as first parameter. Now, this calls itself recursively to
6615         expand a whole tree (this will be useful for TOC handling)
6616         (expandFloatInsert): remove 'wide' version of floats
6617
6618         * MenuBackend.h (submenuname): returns the name of the submenu.
6619         (submenu): returns the submenu itself, provided it has been
6620         created by MenuBackend::expand
6621
6622 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6623
6624         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6625         insets which have noFontChange == true. (bug #172)
6626
6627 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6628
6629         * BufferView_pimpl.C: add connection objects and use them...
6630         (Pimpl): here.
6631
6632 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6633
6634         * MenuBackend.C (expandLastfiles):
6635         (expandDocuments):
6636         (expandFormats):
6637         (expandFloatListInsert):
6638         (expandFloatInsert):
6639         (expand): split expand in parts
6640
6641 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6642
6643         * lyx_gui.C: use lyx_gui::exit()
6644
6645 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6646
6647         * LyXAction.C: show the failing pseudo action
6648
6649 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6650
6651         * buffer.C (readFile): Run the lyxconvert script in order to read
6652         old files.
6653
6654 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6655
6656         * LyXAction.C:
6657         * commandtags.h:
6658         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6659
6660 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6661
6662         * LyXAction.C:
6663         * commandtags.h:
6664         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6665
6666 2002-07-22  Herbert Voss  <voss@lyx.org>
6667
6668         * lengthcommon.C:
6669         * lyxlength.[Ch]: add support for the vertical lengths
6670
6671 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6672
6673         * toc.[Ch]: std:: fixes
6674
6675 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6676
6677         * lyxrc.C: do not include lyx_main.h
6678
6679         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6680         for layouts
6681
6682         * lyxrc.C:
6683         * encoding.C:
6684         * bufferlist.C:
6685         * BufferView2.C: include "lyxlex.h"
6686
6687         * tabular.h:
6688         * bufferparams.h: do not #include "lyxlex.h"
6689
6690         * lyxtextclasslist.C (Add): remove method
6691         (classlist): renamed to classlist_
6692
6693         * paragraph_pimpl.C:
6694         * paragraph.C:
6695         * text2.C:
6696         * CutAndPaste.C:
6697         * bufferview_funcs.C:
6698         * bufferlist.C:
6699         * text.C:
6700         * LaTeXFeatures.C:
6701         * buffer.C:
6702         * toc.C (getTocList): use BufferParams::getLyXTextClass
6703
6704         * toc.C (getTocList): use InsetFloat::addToToc
6705
6706         * toc.[Ch]: new files, containing helper functions to handle table
6707         of contents
6708
6709         * lyxfunc.C (dispatch): no need to remove spaces around command
6710         given as a string
6711         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6712         first command of the sequence; it is not very clever, but I do not
6713         have a better idea, actually
6714
6715         * LyXAction.C (LookupFunc): make sure to remove space at the
6716         beginning and end of the command
6717
6718 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6719
6720         * MenuBackend.C (getMenubar): new method: return the menubar of
6721         this menu set
6722         (read): treat differently reading of menu and menubar (in
6723         particular, the menubar has no name now)
6724         (Menu::menubar): remove
6725
6726         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6727         saving is finished
6728
6729 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6730
6731         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6732         a bibitem inset in a RTL paragraph.
6733
6734 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6735
6736         * paragraph_pimpl.C: constify
6737
6738         * BufferView_pimpl.C:
6739         * LaTeX.C:
6740         * lyxfunc.C: fix dispatch in a nicer way
6741
6742 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6743
6744         * lyxfunc.C (dispatch):
6745         * BufferView_pimpl.C:
6746         * BufferView_pimpl.h:
6747         * BufferView.C:
6748         * BufferView.h: rename Dispatch() to dispatch()
6749
6750         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6751
6752         * lyxlayout.C (Read): honor DependsOn tag
6753
6754         * lyxlayout.[Ch] (depends_on): new method
6755
6756         * version.C.in: update lyx_docversion
6757
6758         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6759
6760         * paragraph.C (validate): remove from here...
6761         * paragraph_pimpl.C (validate): ... and move here
6762         (isTextAt): make it const
6763
6764         * buffer.C (getLists): ws cleanup
6765
6766 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6767
6768         * language.C (read): Use iso8859-1 encoding in latex_lang
6769         (this prevents LyX from crashing when using iso10646-1 encoding).
6770
6771 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6772
6773         * text2.C (toggleInset): if cursor is inside an inset, close the
6774         inset and leave cursor _after_ it
6775
6776 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6777
6778         * lyxfunc.C: move minibuffer completion handling out of here
6779
6780 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6781
6782         * BufferView_pimpl.C:
6783         * LaTeX.C: fix dispatch calls
6784
6785 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6786
6787         * text.C (drawChars): Fix Arabic text rendering.
6788
6789 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6790
6791         * LyXAction.C:
6792         * commandtags.h:
6793         * lyxfunc.C: remove message-push/pop
6794
6795         * lyxserver.C:
6796         * lyxfunc.h:
6797         * lyxfunc.C: rationalise some code by removing verboseDispatch
6798           in favour of a bool argument to dispatch()
6799
6800 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6801
6802         * lyx_main.C (init): make sure to read symlinks as absolute paths
6803
6804 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6805
6806         * lyxfunc.h:
6807         * lyxfunc.C: no need for commandshortcut to be a member
6808
6809 2002-07-15  André Pönitz <poenitz@gmx.net>
6810
6811         * converter.C: add support for $$s (scripts from lib/scripts dir)
6812         * lyx_main.C: white space
6813
6814 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6815
6816         * bufferlist.C:
6817         * lyxrc.h:
6818         * lyxrc.C: remove second exit confirmation
6819
6820 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6821
6822         * BufferView.h:
6823         * BufferView.C:
6824         * BufferView2.C:
6825         * BufferView_pimpl.h:
6826         * BufferView_pimpl.C:
6827         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6828
6829 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6830
6831         * MenuBackend.C (expand): add numeric shortcuts to document menu
6832
6833         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6834
6835 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6836
6837         * lyxfont.C (setLyXFamily):
6838         (setLyXSeries):
6839         (setLyXShape):
6840         (setLyXSize):
6841         (setLyXMisc):
6842         (lyxRead):
6843         * debug.C (value):
6844         * buffer.C (asciiParagraph): use ascii_lowercase
6845
6846 2002-07-15  Mike Fabian  <mfabian@suse.de>
6847
6848         * lyxlex_pimpl.C (search_kw):
6849         * lyxlex.C (getLongString):
6850         * converter.h (operator<):
6851         * converter.C (operator<):
6852         * buffer.C (parseSingleLyXformat2Token):
6853         (asciiParagraph):
6854         * ToolbarDefaults.C (read):
6855         * MenuBackend.C (checkShortcuts):
6856         (read):
6857         * LColor.C (getFromGUIName):
6858         (getFromLyXName): use the compare_ascii_no_case instead of
6859         compare_no_case, because in turkish, 'i' is not the lowercase
6860         version of 'I', and thus turkish locale breaks parsing of tags.
6861
6862 2002-07-16  Angus Leeming  <leeming@lyx.org>
6863
6864         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6865         now takes a Buffer const & argument.
6866
6867 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6868
6869         * BufferView.C (resize): check there's a buffer to resize
6870
6871 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6872
6873         * lyxfunc.C: remove dead code
6874
6875         * lyxserver.h:
6876         * lyxserver.C: use lyx_guii::set_read_callback
6877
6878 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6879
6880         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6881         an inset in a RTL paragraph.
6882
6883 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6884
6885         * lyxfunc.C: repaint after a font size update
6886
6887 2002-07-15  André Pönitz <poenitz@gmx.net>
6888
6889         * lyxlength.C: inBP should be able to return negative values
6890
6891 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6892
6893         * lyxfunc.C: use lyx_gui::update_fonts()
6894
6895 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6896
6897         * lyxfunc.C: use lyx_gui::update_color()
6898
6899 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6900
6901         * bufferlist.C:
6902         * lyxfunc.h:
6903         * lyxfunc.C:
6904         * lyxrc.h:
6905         * lyxrc.C: remove file->new asks for name option, and let
6906           buffer-new take an argument
6907
6908 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6909
6910         * BufferView_pimpl.C: remove unneeded extra repaint()
6911
6912 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6913
6914         * LyXAction.C: allow command-sequence with NoBuffer
6915
6916         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6917
6918 2002-07-10  Angus Leeming  <leeming@lyx.org>
6919
6920         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6921
6922 2002-07-09  Angus Leeming  <leeming@lyx.org>
6923
6924         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6925
6926 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6927
6928         * lengthcommon.h: whitespace
6929
6930         * lyxfunc.C: update scrollbar after goto paragraph
6931
6932         * lyxtext.h: factor out page break drawing, and fix it so
6933           page break/added space paints as selected nicely
6934
6935 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6936
6937         * BufferView_pimpl.C: add FIXMEs, clean up a little
6938
6939 2002-07-09  André Pönitz <poenitz@gmx.net>
6940
6941         * lyxfont.[Ch]: support for wasy symbols
6942
6943 2002-07-08  André Pönitz <poenitz@gmx.net>
6944
6945         * BufferView_pimpl.C: apply John's patch for #93.
6946
6947 2002-07-05  Angus Leeming  <leeming@lyx.org>
6948
6949         * BufferView_pimpl.C (buffer): generate previews if desired.
6950
6951         * LColor.h: add "preview" to the color enum.
6952
6953         * LColor.C (LColor): add a corresponding entry to the items array.
6954
6955         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6956         with this buffer.
6957
6958 2002-07-05  Angus Leeming  <leeming@lyx.org>
6959
6960         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6961         The body of the code is now in the method that is passed an ostream &
6962         rather than a file name.
6963         Pass an additional only_preamble parameter, useful for the forthcoming
6964         preview stuff.
6965
6966 2002-07-03  André Pönitz <poenitz@gmx.net>
6967
6968         * lyxfunc.C: simplify getStatus() a bit for math stuff
6969
6970 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6971
6972         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6973
6974 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6975
6976         * text.C (changeRegionCase): do not change case of all the
6977         document when region ends at paragraph end (bug #461)
6978
6979 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6980
6981         * paragraph.C (startTeXParParams):
6982         (endTeXParParams): add \protect when necessary
6983
6984 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6985
6986         * BufferView_pimpl.C (workAreaExpose): remove warning
6987
6988 2002-06-27  Angus Leeming  <leeming@lyx.org>
6989
6990         * Makefile.am: add lyxlayout_ptr_fwd.h.
6991
6992 2002-06-26  André Pönitz <poenitz@gmx.net>
6993
6994         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6995
6996 2002-06-25  Angus Leeming  <leeming@lyx.org>
6997
6998         * lyxfunc.C (dispatch): Comment out the call to
6999         grfx::GCache::changeDisplay. The method no longer exists now that the
7000         pixmap generation part of the graphics loader has been moved into
7001         InsetGraphics.
7002
7003 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7004
7005         * text2.C: layout as layout
7006
7007         * text.C: layout as layout
7008
7009         * tabular.C (OldFormatRead): layout as layout
7010
7011         * paragraph_pimpl.C (TeXDeeper): layout as layout
7012         (realizeFont): layout as layout
7013
7014         * paragraph.C (writeFile): layout as layout
7015         (validate): layout as layout
7016         (getFont): layout as layout
7017         (getLabelFont): layout as layout
7018         (getLayoutFont): layout as layout
7019         (breakParagraph): layout as layout
7020         (stripLeadingSpaces): layout as layout
7021         (getEndLabel): layout as layout
7022         (getMaxDepthAfter): layout as layout
7023         (applyLayout): layout as layout
7024         (TeXOnePar): layout as layout
7025         (simpleTeXOnePar): layout as layout
7026         (TeXEnvironment): layout as layout
7027         (layout): layout as layout
7028         (layout): layout as layout
7029
7030         * lyxtextclass.C (compare_name): new functor to work with
7031         shared_ptr, layout as layout
7032         (Read): layout as layout
7033         (hasLayout): layout as layout
7034         (operator): layout as layout
7035         (delete_layout): layout as layout
7036         (defaultLayout): layout as layout
7037
7038         * lyxlayout_ptr_fwd.h: new file
7039
7040         * lyxlayout.C (Read): layout as layout
7041
7042         * lyx_cb.C (MenuInsertLabel): layout as layout
7043
7044         * bufferlist.C (newFile): layout as layout
7045
7046         * buffer.C (readLyXformat2): layout as layout
7047         (parseSingleLyXformat2Token): layout as layout
7048         (insertStringAsLines): layout as layout
7049         (asciiParagraph): layout as layout
7050         (latexParagraphs): layout as layout
7051         (makeLinuxDocFile): layout as layout
7052         (simpleLinuxDocOnePar): layout as layout
7053         (makeDocBookFile): layout as layout
7054         (simpleDocBookOnePar): layout as layout
7055         (getLists): layout as layout
7056
7057         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7058
7059         * CutAndPaste.C (cutSelection): layout as layout
7060         (pasteSelection): layout as layout
7061         (SwitchLayoutsBetweenClasses): layout as layout
7062
7063         * BufferView_pimpl.C (Dispatch): layout as layout
7064         (smartQuote): layout as layout
7065
7066         * BufferView2.C (unlockInset): layout as layout
7067
7068 2002-06-24  André Pönitz <poenitz@gmx.net>
7069
7070         * lyxfunc.C: fix #487
7071
7072 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7073
7074         * lyxrc.h:
7075         * lyxrc.C:
7076         * lyxfunc.C: remove display_shortcuts, show_banner
7077
7078 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7079
7080         * Buffer_pimpl.C: oops, update on resize
7081
7082 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7083
7084         * buffer.C:
7085         * converter.C:
7086         * exporter.C:
7087         * lyxfunc.C:
7088         * BufferView.h:
7089         * BufferView.C: use repaint()
7090
7091         * BufferView_pimpl.h:
7092         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7093           as it's a clearer description. Remove superfluous
7094           redraws.
7095
7096 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7097
7098         * text.C: fix bug 488. Not ideal, but getting
7099           getWord() to work properly for the insets that
7100           matter is more difficult ...
7101
7102 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * BufferView_pimpl.C:
7105         * LyXAction.C:
7106         * commandtags.h:
7107         * lyxfunc.C: remove the six million index lyxfuncs to just
7108           one, and DTRT (bug 458)
7109
7110 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7111
7112         * BufferView.h:
7113         * BufferView.C:
7114         * BufferView_pimpl.h:
7115         * BufferView_pimpl.C: clean up resize() stuff,
7116           and unnecessary updateScreen()s
7117
7118 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7119
7120         * BufferView.h:
7121         * BufferView.C:
7122         * BufferView_pimpl.h:
7123         * BufferView_pimpl.C:
7124         * lyxfind.h:
7125         * lyxfind.C:
7126         * minibuffer.C: remove focus management of workarea,
7127           not needed. Use screen's greyOut()
7128
7129 2002-06-17  Herbert Voss  <voss@lyx.org>
7130
7131         * converter.C: (convert) do not post a message, when converting
7132         fails, let the calling function decide what to do in this case
7133
7134 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7135
7136         * lyxfunc.C: tidy up a little
7137
7138 2002-06-16    <alstrup@diku.dk>
7139
7140         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7141         Got rid of FORMS_H_LOCATION include. Now we are
7142         GUII.
7143
7144 2002-06-15  LyX Development team  <lyx@rilke>
7145
7146         * buffer.[Ch] (sgmlOpenTag):
7147         (sgmlCloseTag): Added support for avoiding pernicious mixed
7148         content. Return number of lines written.
7149
7150         (makeLinuxDocFile):
7151         (makeDocBookFile): Fixed calls to sgml*Tag.
7152         Simple white space clean.
7153
7154         (simpleDocBookOnePar): Simple white space clean.
7155
7156         * tabular.[Ch] (docBook): Renamed to docbook and got another
7157         argument to related with the pernicious mixed content.
7158
7159         (docbookRow): Fixed calls for docbook inset method.
7160
7161 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7162
7163         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7164         so it's X11 independent.
7165
7166         * kb*.[Ch]: ditto.
7167
7168         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7169
7170 2002-06-15  Lyx Development team  <lyx@electronia>
7171
7172         * intl.h: Renamed getTrans to getTransManager.
7173
7174 2002-06-14  Angus Leeming  <leeming@lyx.org>
7175
7176         * Makefile.am: nuke forgotten stl_string_fwd.h.
7177
7178 2002-06-12  Angus Leeming  <leeming@lyx.org>
7179
7180         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7181
7182 2002-06-13  Angus Leeming  <leeming@lyx.org>
7183
7184         * LaTeX.C:
7185         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7186
7187 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7188
7189         * kbmap.C (getiso): add support for cyrillic and greek
7190
7191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7192
7193         * BufferView.h:
7194         * BufferView.C:
7195         * BufferView_pimpl.h:
7196         * BufferView_pimpl.C: move bogus scrolling logic
7197           to xforms
7198
7199 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7200
7201         * lyxfunc.C:
7202         * BufferView_pimpl.C: view->resize() change
7203
7204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7205
7206         * BufferView_pimpl.C: topCursorVisible
7207           prototype change
7208
7209 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7210
7211         * Makefile.am:
7212         * lyx_gui.h:
7213         * lyx_gui.C: move to frontends/
7214
7215         * main.C:
7216         * lyx_main.h:
7217         * lyx_main.C: changes from above
7218
7219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7220
7221         * intl.C:
7222         * intl.h:
7223         * kbmap.C:
7224         * kbsequence.C:
7225         * lyx_cb.C:
7226         * lyx_main.C: minor tidy
7227
7228 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7229
7230         * BufferView_pimpl.h:
7231         * BufferView_pimpl.C:
7232         * BufferView.h:
7233         * BufferView.C: make painter() const,
7234           remove dead code
7235
7236         * BufferView2.C: use screen() accessor
7237
7238         * lyx_main.h:
7239         * lyx_main.C: some minor cleanup
7240
7241 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7242
7243         * BufferView_pimpl.h:
7244         * BufferView_pimpl.C: remove enter/leaveView,
7245           use workHeight()
7246
7247 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7248
7249         * BufferView.h:
7250         * BufferView.C:
7251         * BufferView2.C:
7252         * BufferView_pimpl.h:
7253         * BufferView_pimpl.C: only construct screen once,
7254           rename
7255
7256         * lyxrc.C: remove pointless comment
7257
7258 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7259
7260         * BufferView.h:
7261         * BufferView.C: remove active() and belowMouse()
7262
7263         * BufferView_pimpl.h:
7264         * BufferView_pimpl.C: use workarea() not workarea_,
7265           and make it use a scoped_ptr instead
7266
7267 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7268
7269         * lyx_gui.C: add debug message on BadWindow
7270
7271 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7272
7273         * sp_spell.C: fdopen is not part of the C++ standard.
7274
7275         * paragraph.C (InsetIterator): use >= instead of ==
7276
7277 2002-06-07  Angus Leeming  <leeming@lyx.org>
7278
7279         Fixes needed to compile with Compaq cxx 6.5.
7280         * BufferView_pimpl.C:
7281         * DepTable.C:
7282         * buffer.C:
7283         * converter.C:
7284         * encoding.C:
7285         * lyx_gui.C:
7286         * lyx_main.C:
7287         * lyxtextclasslist.C:
7288         * minibuffer.C:
7289         * sp_spell.C:
7290         * tabular_funcs.C:
7291         * vc-backend.C:
7292         all c-library variables have been moved into namespace std. Wrap
7293         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7294
7295         * lyxlength.C:
7296         * tabular-old.C:
7297         * tabular.C:
7298         Add a using std::abs declaration.
7299
7300         * kbmap.h (modifier_pair):
7301         * paragraph.h (InsetTable, InsetList):
7302         * lyxfont.h (FontBits):
7303         type definition made public.
7304
7305         * bufferlist.C (emergencyWriteAll): the compiler complains that
7306         there is more than one possible lyx::class_fun template to choose from.
7307         I re-named the void specialisation as lyx::void_class_fun.
7308
7309         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7310
7311         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7312         the compiler is is unable to find tostr in write_attribute.
7313
7314 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7315
7316         * buffer.C (sgmlError): hide #warning
7317
7318 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7319
7320         * xtl/*: get rid of xtl, which is not in use anyway
7321
7322         * LyXAction.C (init):
7323         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7324         were unimplemented xtl experimentation
7325
7326 2002-06-04  André Pönitz <poenitz@gmx.net>
7327
7328         * lyxfunc.C: disable array operation on simple formulae
7329
7330 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7331
7332         * converter.C: constify a bit
7333
7334 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7335
7336         * lyx_gui.C: check xforms version correctly
7337
7338 2002-04-30  Herbert Voss  <voss@lyx.org>
7339
7340         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7341         "keep" option
7342
7343 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7344
7345         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7346           attempt to register it with a VCS)
7347
7348 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7349
7350         * lyx_main.C (init): honor variables LYX_DIR_13x and
7351         LYX_USERDIR_13x
7352
7353 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7354
7355         * buffer.h:
7356         * buffer.C:
7357         * lyx_main.C: fix a crash on bad command line,
7358           and give a useful exit status on error
7359
7360         * lyxfunc.C (doImport): allow -i lyx to work
7361
7362 2002-03-30  André Pönitz <poenitz@gmx.net>
7363
7364         * lyxfunc.C: mathed font changes
7365
7366 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7367
7368         * LaTeX.C:
7369         * importer.h:
7370         * importer.C:
7371         * lyx_sty.h:
7372         * lyx_sty.C:
7373         * lyxlex.C:
7374         * lyxrow.h:
7375         * lyxtext.h:
7376         * paragraph.h:
7377         * paragraph.C:
7378         * texrow.h:
7379         * texrow.C:
7380         * text.C:
7381         * trans_mgr.h: srcdocs, and some minor cleanups
7382
7383 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7384
7385         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7386         call getFont all the time)
7387
7388 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7389
7390         * switch from SigC signals to boost::signals
7391
7392 2002-05-29  André Pönitz <poenitz@gmx.net>
7393
7394         * paragraph_pimpl.C (getChar): don't call size() too often...
7395
7396 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7397
7398         * paragraph_pimpl.C (insertChar): do not try to update tables when
7399         appending (pos == size())
7400
7401         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7402         in order to reduce drastically the number of comparisons needed to
7403         parse a large document
7404
7405 2002-05-29  André Pönitz <poenitz@gmx.net>
7406
7407         * text.C:
7408         * text2.C:
7409         * lyxtextclass.C:
7410         * sp_pspell.h:
7411         * textclasslist.[Ch]:
7412         * sp_ispell.h: whitespace change
7413
7414 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7415
7416         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7417         lyxaction directly now.
7418
7419 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7420
7421         * trans.C:
7422         * lyxfont.C:
7423         * lyxvc.C: remove unused headers
7424
7425 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7426
7427         * Makefile.am:
7428         * buffer.h:
7429         * undostack.h:
7430         * undostack.C:
7431         * undo_funcs.h:
7432         * undo_funcs.C: some cleanups. Use shared_ptr
7433           and a template for the undo stacks.
7434
7435 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7436
7437         * BufferView_pimpl.h:
7438         * BufferView_pimpl.C:
7439         * kbmap.h:
7440         * kbmap.C:
7441         * kbsequence.h:
7442         * kbsequence.C:
7443         * lyxfunc.h:
7444         * lyxfunc.C:
7445         * text2.C: use key_state/mouse_state
7446
7447 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7448
7449         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7450         and LSubstring
7451
7452         * chset.C: change include order
7453         (loadFile): use boost regex and get rid of LRegex and LSubstring
7454
7455         * Makefile.am (BOOST_LIBS): new variable
7456         (lyx_LDADD): use it
7457
7458         * LaTeX.C: change include order.
7459         (scanAuxFile): use boost regex and get rid of LRegex and
7460         LSubstring
7461         (deplog): ditto
7462
7463 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7464
7465         * ColorHandler.h:
7466         * ColorHandler.C:
7467         * FontInfo.h:
7468         * FontInfo.C: moved to frontends/xforms/
7469
7470         * FontLoader.h:
7471         * FontLoader.C: moved into frontends for GUIIzation
7472
7473         * Makefile.am:
7474         * lyx_gui.C:
7475         * lyxfont.C:
7476         * lyxfunc.C: changes from above
7477
7478 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7479
7480         * LColor.C: remove spurious X include
7481
7482         * BufferView_pimpl.C:
7483         * Makefile.am:
7484         * font.h:
7485         * font.C:
7486         * text.C:
7487         * text2.C: move font metrics to frontends/
7488
7489 2002-05-24  Juergen Vigna  <jug@sad.it>
7490
7491         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7492         setting the undo_cursor.
7493
7494         * ParagraphParameters.h: include local includes first.
7495
7496 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7497
7498         * BufferView_pimpl.C:
7499         * BufferView_pimpl.h:
7500         * Makefile.am:
7501         * WorkArea.h:
7502         * WorkArea.C:
7503         * screen.C: move WorkArea into frontends/
7504
7505         * lyxscreen.h:
7506         * screen.C:
7507         * text.C:
7508         * BufferView.C:
7509         * BufferView2.C: move LyXScreen into frontends/
7510
7511         * lyxlookup.h:
7512         * lyxlookup.C:
7513         * lyx_gui.C: move lyxlookup into frontends/xforms/
7514
7515 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7516
7517         * BufferView2.C:
7518         * BufferView_pimpl.C:
7519         * FontLoader.C:
7520         * LyXView.h:
7521         * LyXView.C:
7522         * Makefile.am:
7523         * WorkArea.C:
7524         * XFormsView.h:
7525         * XFormsView.C:
7526         * buffer.C:
7527         * bufferlist.C:
7528         * bufferview_funcs.C:
7529         * converter.C:
7530         * importer.C:
7531         * lyx_cb.C:
7532         * lyx_gui.C:
7533         * lyx_main.C:
7534         * lyx_find.C:
7535         * lyxfunc.C:
7536         * lyxvc.C:
7537         * minibuffer.C:
7538         * text.C:
7539         * text2.C:
7540         * trans.C:
7541         * vc-backend.C: move LyX/XFormsView into frontends/
7542
7543 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7544
7545         * Makefile.am:
7546         * PainterBase.C:
7547         * PainterBase.h:
7548         * Painter.C:
7549         * Painter.h:
7550         * WorkArea.C:
7551         * WorkArea.h:
7552         * screen.C:
7553         * tabular.C:
7554         * text.C:
7555         * text2.C: move Painter to frontends/
7556
7557 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7558
7559         * buffer.C: comment out some some code that depend upon lyx_format
7560         < 220
7561
7562         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7563         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7564
7565         * buffer.h (NO_COMPABILITY): turn off compability
7566
7567         * ColorHandler.C: include scoped_array.hpp
7568
7569         * font.C: Use more specific smart_ptr header.
7570         * Painter.C: ditto
7571         * gettext.C: ditto
7572         * ShareContainer.h: ditto
7573         * lyx_main.h: ditto
7574         * kbmap.h: ditto
7575         * FontInfo.h: ditto
7576         * BufferView_pimpl.h: ditto
7577         * ColorHandler.h: ditto
7578
7579         * kbmap.C (defkey): change call to shared_ptr::reset
7580
7581 2002-05-21  Juergen Vigna  <jug@sad.it>
7582
7583         * buffer.C (insertErtContents): fix to insert ert asis if it is
7584         non empty. Skip it completely if it contains only whitespaces.
7585
7586 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7587
7588         * BufferView_pimpl.C:
7589         * BufferView2.C: clear selection on paste (bug 393)
7590
7591 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7592
7593         * DepTable.C: include ctime
7594
7595 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7596
7597         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7598
7599 2002-05-14  Juergen Vigna  <jug@sad.it>
7600
7601         * text.C (breakParagraph): fixed function to honor the keepempty
7602         layout in the right maner and also to permit the right breaking
7603         algorithm on empty or non empyt keepempty paragraphs.
7604
7605         * paragraph.C (breakParagraph): we have to check also if the par
7606         is really empty (!size()) for isempty otherwise we do the wrong
7607         paragraph break.
7608
7609 2002-05-10  Juergen Vigna  <jug@sad.it>
7610
7611         * buffer.[Ch] : The following are only changes to the ert
7612         compatibility read reading old LaTeX layout and font stuff and
7613         convert it to ERTInsets.
7614
7615         * buffer.h: added isErtInset().
7616
7617         * buffer.C (struct ErtComp): add a fromlayout bool to check
7618         if we're inside a LaTeX layout.
7619         (isErtInset): new helper function.
7620         (insertErtContents): look for other ert insets before this one
7621         and insert the contents there, so that we don't have subsequent
7622         ERT insets with nothing between them. This way we create only one
7623         inset with multiple paragraphs. Also check if we don't insert only
7624         spaces ' ' as they are ignored anyway afterwards in the .tex file
7625         so if we have only spaces we will ignore this latex part in the
7626         new file.
7627         (parseSingleLyXformat2Token \\layout): better compatibility when
7628         reading layout-latex stuff.
7629         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7630         language tag.
7631         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7632         stuff after reading the inset only get the information back from
7633         the stack.
7634
7635 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7636
7637         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7638
7639         * LaTeXFeatures.C (getBabelOptions): New method.
7640
7641 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7642
7643         * BufferView_pimpl.C (Dispatch): work around missing argument for
7644         'layout'
7645
7646 2002-05-08  Juergen Vigna  <jug@sad.it>
7647
7648         * text.C (leftMargin): handle paragraph leftindent.
7649
7650         * paragraph.C (writeFile): write the new \\leftindent tag.
7651         (validate): handle leftindent code.
7652         (TeXEnvironment): handle paragraphleftindent code again.
7653
7654         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7655
7656         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7657         for paragrap_extra indent code and new token \\leftindent.
7658         (latexParagraphs): handle the leftindent as environment.
7659
7660         * ParameterStruct.h: added leftindent support.
7661
7662         * ParagraphParameters.C (leftIndent): added support functions for
7663         the paragraph left indent.
7664
7665         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7666         more appropriate.
7667
7668 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7669
7670         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7671         inside insetERT.
7672
7673         * text.C (computeBidiTables): No bidi in insetERT.
7674
7675         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7676         in RTL documents.
7677
7678 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7679
7680         * version.C.in: pre 5
7681
7682 2002-05-02  José Matos  <jamatos@fep.up.pt>
7683         * buffer.C (makeDocBookFile): white space changes, add newline to
7684         command styles.
7685         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7686
7687         * tabular.C (docBook): fix typo.
7688
7689 2002-05-03  Juergen Vigna  <jug@sad.it>
7690
7691         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7692         change in LyXText as we can not be sure it was not freed.
7693         (drawOneRow): remove unused code.
7694
7695         * text.C (drawInset): redo the calculation of the need_break_row as
7696         it could have a row which was already freed.
7697         (draw): look at the return value of drawInset and return false if
7698         it also returned false.
7699         (paintRowText): look at the return value of draw and return false if
7700         it also returned false.
7701
7702         * lyxtext.h: added bool return type to drawInset() and draw() so that
7703         if we have a change in the row so that the rowbreak has to be redone
7704         we abort drawing as it will be called again.
7705
7706 2002-05-02  Juergen Vigna  <jug@sad.it>
7707
7708         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7709         a change in the maintext also if we're inside an inset.
7710         (Dispatch): set the cursor again after a break line and after the
7711         screen has been updated as it could be we're in a different row.
7712
7713         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7714         to set the cursor behind the pargraph with > size().
7715         (setCursor): check also for the same paragraph when checking where
7716         to put the cursor if we have a NFR inset.
7717
7718         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7719         parts of layout read further up as it still was in the wrong
7720         position.
7721
7722 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7723
7724         * screen.C (drawFromTo): change sine fullRebreak always return
7725         true.
7726
7727         * buffer.C (parseSingleLyXformat2Token): reindent some
7728
7729         * BufferView_pimpl.C (update): change since fullRebreak always
7730         return true.
7731         (Dispatch): git rid of the last hardcoded "Standard"s.
7732
7733 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7734
7735         * text2.[Ch] (fullRebreak): make it return void now that we always
7736         returned true.
7737
7738 2002-04-30  Juergen Vigna  <jug@sad.it>
7739
7740         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7741         ert compatibility check for "latex" layout.
7742
7743 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7744
7745         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7746         minipages: use col% instead of p%, and also use the current font.
7747         (makeLaTeXFile): Fix use babel condition.
7748         (parseSingleLyXformat2Token): Correct font when reading old floats.
7749
7750 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7751
7752         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7753         inserting list of floats.
7754
7755 2002-04-25  Herbert Voss  <voss@lyx.org>
7756
7757         * MenuBackend.C (expand): don't add the graphics extensions to the
7758         export menu
7759
7760 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7761
7762         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7763         non-existing layout, do not complain if it was the default layout
7764         of the original class (bug #342)
7765
7766 2002-04-24  Juergen Vigna  <jug@sad.it>
7767
7768         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7769         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7770
7771 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7772
7773         * buffer.C (getBibkeyList): If using \bibliography, return the
7774         option field with the reference itself. Enables us to provide natbib
7775         support when using \bibliography.
7776
7777 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7778
7779         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7780
7781         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7782         natbib is provided by the LaTeX class.
7783
7784 2002-04-23  Juergen Vigna  <jug@sad.it>
7785
7786         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7787         Wakeup functions.
7788
7789         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7790
7791 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7792
7793         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7794
7795         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7796         ensuremath around textordmasculine, textordfeminine and
7797         textdegree.
7798
7799 2002-04-19  Juergen Vigna  <jug@sad.it>
7800
7801         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7802         reinitializing the buffer otherwise row-dimensions may be wrong.
7803         (update): reset also the selection cursors if they do exits otherwise
7804         their x/y positions may be wrong.
7805
7806         * text2.C (cursorDown): don't enter the inset if we came from a row
7807         above and are one row over the inset.
7808
7809         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7810         really leaving an inset.
7811
7812 2002-04-18  Juergen Vigna  <jug@sad.it>
7813
7814         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7815         of the selected paragraph does not have the selected layout also if
7816         the last one had!
7817
7818         * text2.C (setLayout): fixed bug which did not change last selected
7819         paragraph.
7820
7821         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7822         changed the read and substituted \\end_float with \\end_inset!
7823
7824         * BufferView_pimpl.C (cursorPrevious):
7825         (cursorNext): fixed to make it work with rows heigher than the work
7826         area without moving the cursor only the draw of the row.
7827         (workAreaMotionNotify): fix jumping over high rows.
7828
7829 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7830
7831         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7832         Ressler.
7833
7834 2002-04-16  Juergen Vigna  <jug@sad.it>
7835
7836         * text2.C (setCursor): set also the irow().
7837         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7838         (cursorUp):
7839         (cursorDown): support for locking an inset if the x_fix value goes
7840         inside it. That way I can transverse insets too with cursor up/down.
7841
7842         * lyxrow.h: added irow helper function same as other (i) functions.
7843
7844         * BufferView_pimpl.C (cursorPrevious):
7845         (cursorNext): fixed for insets!
7846
7847 2002-04-15  Juergen Vigna  <jug@sad.it>
7848
7849         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7850         position otherwise it is wrong in some cases.
7851
7852         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7853         inside the inset before the call.
7854
7855 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7856
7857         * buffer.[Ch] (getBibkeyList): make it const.
7858
7859 2002-04-12  Juergen Vigna  <jug@sad.it>
7860
7861         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7862
7863         * text2.C (getCursorX): new helper function
7864         (setCursor): compute also ix_
7865         (setCursorFromCoordinates): set also ix.
7866
7867         * lyxcursor.h: added ix_ and helper functions.
7868
7869         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7870
7871         * buffer.C (insertStringAsLines): dont break paragraph if the this
7872         paragraph is inside an inset which does not permit it!
7873
7874         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7875         also with no chars on this paragraph.
7876         (paintRowText): only paint stuff if it's inside the workarea!
7877
7878         * paragraph.C (breakParagraph): honor keepempty flag and break the
7879         paragraph always below not above.
7880
7881         * BufferView2.C (unlockInset): update the paragraph layout on inset
7882         unlock as we changed paragraph in such a case.
7883
7884         * lyxfind.C (LyXFind): clear the former selection if not found!
7885
7886         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7887         again called in insertChar().
7888
7889         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7890         an inset which uses the whole row!
7891         (rightMargin): ditto.
7892         (insertChar): force a rebreak if we inserted an inset!
7893
7894 2002-03-28  Herbert Voss  <voss@lyx.org>
7895
7896         * lyxlength.[Ch]: add inBP() to get the right PS-point
7897         units (BigPoint). With inPixels we have rounding errors
7898
7899 2002-04-11  Juergen Vigna  <jug@sad.it>
7900
7901         * text2.C (setCursorFromCoordinates): set iy to the right value.
7902         (setCursor): add check if row->previous exists!
7903
7904         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7905         an old float_type as this was the case in the old code!
7906
7907         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7908
7909         * BufferView2.C (showLockedInsetCursor): use iy
7910         (fitLockedInsetCursor): ditto
7911
7912         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7913         locked insets as there we have the right value now.
7914
7915         * lyxcursor.C: added iy_ variable and iy functions to set to the
7916         baseline of cursor-y of the locked inset.
7917
7918         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7919         (setCursor): fixed for insets which need a full row.
7920
7921         * text.C (rowLastPrintable): don't ignore the last space when before
7922         an inset which needs a full row.
7923         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7924         as last character of a row when before a inset which needs a full row.
7925
7926 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7927
7928         * version.C.in: update date
7929
7930         * text2.C (fullRebreak): try to always return true and see what
7931         happens...
7932
7933 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * MenuBackend.C (expand): use Floating::listName
7936
7937         * FloatList.C (FloatList): add listName argument to the built-in
7938         floats
7939
7940         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7941         text associated with the float.
7942
7943 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7946
7947 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7948
7949         * ShareContainer.h: add a couple of missing typenames.
7950
7951 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7952
7953         * lyxrc.C (getDescription): use _() correctly rather than N_().
7954
7955 2002-03-28  Herbert Voss  <voss@lyx.org>
7956
7957         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7958         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7959
7960 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7961
7962         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7963         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7964
7965 2002-03-29  Juergen Vigna  <jug@sad.it>
7966
7967         * lyxfunc.C (dispatch): add a missing fitCursor call.
7968
7969         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7970         it was scrolled by a cursor move, so return the bool status.
7971
7972         * BufferView.C (fitCursor): return the bool flag also to the outside
7973         world as this is needed.
7974
7975         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7976
7977         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7978         call the edit() as it is not needed (and wrong) IMO.
7979         (workAreaButtonPress): set the screen_first variable before evt.
7980         unlock the inset as this may change screen_first and then we have
7981         a wrong y position for the click!
7982
7983 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7984
7985         * MenuBackend.C (expand): another translation that I missed
7986
7987 2002-03-28  Juergen Vigna  <jug@sad.it>
7988
7989         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7990
7991         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7992
7993 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7994
7995         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7996
7997         * MenuBackend.C (expand): fix export/view/update when there is no
7998         document open.
7999
8000 2002-03-27  Herbert Voss  <voss@lyx.org>
8001
8002         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8003         and text%
8004
8005 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8006
8007         * bufferview_funcs.C (currentState): only show paragraph number
8008         for is DEVEL_VERSION is set.
8009
8010         * lyxfunc.C (dispatch): put warning in INFO channel
8011
8012         * MenuBackend.C (expand): translate the name of floats
8013
8014         * FloatList.C (FloatList): mark the float names for translation
8015
8016         * converter.C (convert): use LibScriptSearch
8017
8018 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8019
8020         * MenuBackend.C (defaults): fix default menu (we might as well get
8021         rid of it...)
8022
8023 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8024
8025         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8026         directory.
8027
8028 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8029
8030         * lyxvc.C: reorder includes.
8031
8032 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8035           properly
8036
8037 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * CutAndPaste.C: change layouts earlier on paste
8040           to avoid crashing when calling getFont()
8041
8042 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8043
8044         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8045         irritating #error.
8046
8047 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8048
8049         * WorkArea.C: remove 'Pending' debug message.
8050
8051         * most files: ws cleanup
8052
8053         * buffer.[Ch]: ws changes
8054
8055         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8056
8057 2002-03-21  Juergen Vigna  <jug@sad.it>
8058
8059         * tabular.C (SetMultiColumn): collapse also the contents of the
8060         cells and set the last border right. Added a Buffer const * param.
8061
8062 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8063
8064         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8065         linking or not.
8066
8067 2002-03-19  Juergen Vigna  <jug@sad.it>
8068
8069         * text2.C (clearSelection): reset also xsel_cache.
8070
8071         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8072         where it needs to be called (John tells us to do so too :)
8073         (selectionLost): reset sel_cache.
8074
8075         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8076
8077 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8078
8079         * text2.C (setCursorIntern): put debuging code in INSETS channel
8080
8081 2002-03-19  André Pönitz <poenitz@gmx.net>
8082
8083         * lyxfunc.C: tiny whitespace change
8084
8085 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8086
8087         * ToolbarDefaults.C (init):
8088         * LyXAction.C (init):
8089         * commandtags.h:
8090         * BufferView_pimpl.C (Dispatch):
8091         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8092
8093 2002-03-19  Allan Rae  <rae@lyx.org>
8094
8095         * exporter.C (Export): removeAutoInsets before doing anything else.
8096         While I've just introduced a dependency on BufferView this really is
8097         the best place to clean the buffer otherwise you need to cleanup in
8098         a dozen places before calling export or cleanup in a dozen functions
8099         that export calls.
8100
8101         * converter.C (runLaTeX):
8102         (scanLog): Better handling of removeAutoInsets and screen updates.
8103
8104         * lyxfunc.C (dispatch): small whitespace changes
8105
8106 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8107
8108         * WorkArea.C (C_WorkAreaEvent): return a value.
8109         (event_cb): return 1 if we handled the event, 0 otherwise.
8110
8111         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8112
8113 2002-03-18  Juergen Vigna  <jug@sad.it>
8114
8115         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8116         (GetAdditionalWidth): ditto.
8117         (RightLine): ditto.
8118         (LeftLine): ditto.
8119
8120         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8121         inset if we're there actually (probably not used right now but this
8122         is the direction to go for unifying code).
8123         (paste): disable code to clear the selection.
8124
8125         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8126         inside an InsetText and move the check further up as it is in the
8127         wrong place.
8128
8129         * text2.C (pasteSelection): set a selection over the pasted text.
8130
8131 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8132
8133         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8134         and libgraphics to build on Cygwin.
8135
8136 2002-03-15  Juergen Vigna  <jug@sad.it>
8137
8138         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8139         inserting an Inset into the paragraph. I know this is not the best
8140         fix but we already use current_view in CutAndPaste so we will remove
8141         all of it's using at the same time.
8142
8143         * buffer.C (sgmlError): deactivated function till it is rewritten in
8144         the right mode, now it can create problems.
8145
8146         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8147         before accessing it.
8148
8149 2002-03-14  Juergen Vigna  <jug@sad.it>
8150
8151         * undo_funcs.C (textHandleUndo): do the right thing when updating
8152         the inset after the undo/redo.
8153
8154         * text2.C (setCursor): just some testcode for #44 not ready yet.
8155
8156         * undo_funcs.C (textHandleUndo): set the next() and previous()
8157         pointers of the paragraph to 0 before deleting otherwise we have
8158         problems with the Paragraph::[destructor].
8159
8160         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8161         on a paragraph insertion.
8162
8163 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8164
8165         * buffer.C (asciiParagraph): use += operator for char append to
8166         string.
8167
8168         * paragraph.C (getFontSettings): compare >= not just >
8169         (highestFontInRange): ditto
8170         (setFont): ditto
8171
8172 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8173
8174         * paragraph.C: change several algorithm to be more appripriate for
8175         the problem domain. This is lookip in FontList and in the InsetList.
8176
8177 2002-03-13  André Pönitz <poenitz@gmx.net>
8178
8179         * commandtags.h:
8180         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8181
8182 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * commandtags.h:
8185         * LyXAction.C:
8186         * lyxfunc.C:
8187         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8188
8189 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8190
8191         * Painter.C (display): anon helper function, adjust code for this
8192         change.
8193         (pixmap): remove function.
8194
8195         * Painter.h: remove private display variable.
8196
8197         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8198
8199 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8200
8201         * WorkArea.[Ch]: remove figinset_canvas cruft.
8202
8203 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8204
8205         * lyxtextclass.C (operator): add one item cache optimization.
8206
8207         * bufferlist.h: doxy changes
8208
8209         * bufferlist.C: ws changes
8210
8211         * DepTable.[Ch] (ext_exist): place const in the right spot.
8212
8213         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8214         call resizeInsets.
8215         (workAreaExpose): call resizeInsets when the with BufferView changes.
8216         (Dispatch): adjust for protectedBlank removal
8217         (specialChar): call updateInset if the insert went ok.
8218
8219         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8220         specialChar instead.
8221
8222         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8223
8224         * BufferView.h: doxy change
8225
8226         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8227
8228         * lyxtextclass.C (operator[]): remove non-const version
8229         (defaultLayout): remove non-const version
8230
8231 2002-03-12  Juergen Vigna  <jug@sad.it>
8232
8233         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8234         did resize the LyXText too.
8235
8236         * buffer.C (readLyXformat2): set layout information on newly allocated
8237         paragraphs.
8238
8239         * tabular.C (OldFormatRead): set layout information on the paragraph.
8240
8241 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8242
8243         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8244
8245 2002-03-11  Juergen Vigna  <jug@sad.it>
8246
8247         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8248         plainly wrong.
8249         (resizeCurrentBuffer): force also the insets to resize themselfes.
8250         (moveCursorUpdate): fixed up for InsetText.
8251
8252 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8253
8254         * commandtags.h:
8255         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8256         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8257         value of Dialogs::tooltipsEnabled().
8258         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8259
8260 2002-03-08  Juergen Vigna  <jug@sad.it>
8261
8262         * BufferView_pimpl.C (updateInset): update inset inside inset also
8263         if it isn't inside theLockingInset().
8264
8265 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8266
8267         * buffer.C (asciiParagraph): redo some of the word and line length
8268         handling.
8269         (getLists): look for Caption instead of caption.
8270
8271 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8272
8273         * buffer.C (Buffer): initialize niceFile to true
8274         (makeLaTeXFile):
8275         (makeLinuxDocFile):
8276         (makeDocBookFile): make sure niceFile is true on exit
8277
8278 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8279
8280         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8281
8282 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8283
8284         * LyXSendto.C: remove.
8285         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8286         * lyx_gui.C: remove now-redundant comment.
8287         * ColorHandler.h: remove forward declaration of class WorkArea.
8288         * lyxfunc.C: remove #include "WorkArea.h".
8289
8290 2002-03-07  Juergen Vigna  <jug@sad.it>
8291
8292         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8293         got moved away with the DEPM and also set the inset_owner always
8294         right which before could have been omitted.
8295
8296 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8297
8298         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8299         wanted layout is not found.
8300
8301 2002-03-07  Juergen Vigna  <jug@sad.it>
8302
8303         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8304
8305 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8306
8307         * paragraph.C (breakParagraph): use default layout not layout of
8308         prev paragraph.
8309         (Paragraph): clear ParagraphParameters.
8310
8311 2002-03-06  Juergen Vigna  <jug@sad.it>
8312
8313         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8314         otherwise it would not be a valid lenght. Fixed a special case in
8315         the minipage compatibility read where we end the document with a
8316         minipage.
8317
8318         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8319         was set as it could be 0 for InsetTexts first entry.
8320
8321 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8322
8323         * paragraph.C (writeFile): if layout is empty write out
8324         defaultLayoutName().
8325
8326         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8327         file without named layout we set layout to defaultLayoutName().
8328
8329 2002-03-06  Juergen Vigna  <jug@sad.it>
8330
8331         * CutAndPaste.C (copySelection): set layout for new paragraph.
8332
8333         * text.C (prepareToPrint): leave ERT inset left aligned
8334         (leftMargin): don't indent paragraphs inside ERT insets
8335
8336 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8337
8338         * paragraph.C (breakParagraph): dont call clear do the work manually
8339
8340         * paragraph.[Ch] (clear): remove function
8341
8342 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8343
8344         * paragraph.C (Paragraph): dont call clear, the work has already
8345         been done.
8346
8347         * lyxtextclass.C (operator): assert if n is empty
8348
8349         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8350         work manually instead.
8351
8352 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8353
8354         * BufferView_pimpl.C: protect selectionLost against text == 0
8355
8356 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * text.C (breakParagraph): fix a setting layout to '0' problem.
8359
8360 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8361
8362         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8363         final location of file, for the included files, and graphics.
8364
8365 2002-03-05  Juergen Vigna  <jug@sad.it>
8366
8367         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8368
8369 2002-03-04  Juergen Vigna  <jug@sad.it>
8370
8371         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8372
8373         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8374         last column of multicolumn cells.
8375         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8376
8377 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8378
8379         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8380         file if it doesn't go to a temporary file.
8381
8382         * buffer.C (sgmlOpenTag):
8383         (sgmlCloseTag):  remove extra newline insertion.
8384
8385 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8386
8387         * text.C (getRowNearY): comment out debug msg
8388
8389 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8390
8391         * text2.C: first -> first_y
8392
8393         * text.C (getRowNearY): add some attemts at a possible
8394         optimization, not working.
8395
8396         * tabular.[Ch]: add BufferParams to several function so that newly
8397         created paragraph can be initialized to he default layotu for the
8398         buffers textclass.
8399
8400         * tabular-old.C (ReadOld): add buf->params to call of Init
8401
8402         * screen.C: rename text->first to text->first_y
8403
8404         * paragraph.C (breakParagraph): always set layout in the broken
8405         paragraph
8406
8407         * lyxtextclass.C (Read): remove lowercase
8408         (hasLayout): ditto
8409         (operator): ditto
8410         (delete_layout): ditto
8411
8412         * lyxtext.h: rename first -> first_y
8413
8414         * lyxlayout.C (Read): remove lowercase
8415         (name): ditto
8416         (setName): ditto
8417         (obsoleted_by): ditto
8418
8419         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8420
8421         * buffer.C (insertErtContents): add params are to InsetERT
8422         (parseSingleLyXformat2Token): add code to check if a paragraphs
8423         layout really exist.
8424         (parseSingleLyXformat2Token): add params to several inset
8425         constructors
8426         (asciiParagraph): remove lowercase, do the layout comparisons with
8427         no_case
8428
8429         * BufferView_pimpl.C (cursorNext): first -> first_y
8430         (resizeCurrentBuffer): first -> first_y
8431         (updateScrollbar): first -> first_y
8432         (scrollCB): first -> first_y
8433         (workAreaMotionNotify): first -> first_y
8434         (workAreaButtonPress): first -> first_y
8435         (checkInsetHit): first -> first_y
8436         (cursorPrevious): first -> first_y
8437         (cursorNext): first -> first_y
8438         (Dispatch): add buffer_->params to severl inset contructors
8439
8440 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8441
8442         * lyxlayout.C (Read): remove some debug info that I forgot.
8443
8444         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8445         clean up the code slightly.
8446         (makeLinuxDocFile): ditto
8447         (makeDocBookFile): ditto
8448
8449         * text2.C: layout as string
8450
8451         * text.C: layout as string
8452
8453         * paragraph_pimpl.C: layout as string
8454
8455         * paragraph.[Ch]: layout as string
8456
8457         * lyxtextclasslist.[Ch]: layout as string
8458
8459         * lyxtextclass.[Ch]: layout as string
8460
8461         * lyxtext.h: layout as string
8462
8463         * lyxlayout.[Ch]: layout as string
8464
8465         * lyx_cb.C: layout as string
8466
8467         * bufferview_funcs.C: layout as string
8468
8469         * bufferparams.C: layout as string
8470
8471         * buffer.C: layout as string
8472
8473         * LyXView.[Ch]: layout as string
8474
8475         * LaTeXFeatures.[Ch]: layout as string
8476
8477         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8478
8479         * BufferView_pimpl.C: change current_layout to string, remove
8480         lyx::layout_type.
8481         (Dispatch):
8482         (smartQuote):
8483         (insertInset):
8484         (workAreaButtonRelease): layout as string
8485
8486         * BufferView2.C (unlockInset): adjust
8487
8488         * vspace.C (asLatexCommand): use an explict temp variable.
8489
8490 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8491
8492         * Makefile.am: use FRONTEND_*
8493
8494 2002-03-01  Juergen Vigna  <jug@sad.it>
8495
8496         * tabular.C (SetWidthOfMulticolCell): changed to something better
8497         I hope but still work in progress.
8498         (recalculateMulticolumnsOfColumn): renamed function from
8499         recalculateMulticolCells as it is more appropriate now.
8500         (SetWidthOfCell): calculate multicols better.
8501
8502 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8503
8504         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8505
8506         * lyxfunc.C (processKeySym): print sequence also if it is
8507         `deleted' (complete)
8508
8509         * kbsequence.C (print): print sequence even if it is deleted
8510         (complete would be a better word, actually).
8511
8512         * lyxfunc.C (dispatch): print complete options after a prefix key
8513
8514         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8515
8516 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8517
8518         * text2.C (setCharFont): eliminate setCharFont code duplication.
8519
8520 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8521
8522         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8523         LFUN_TABULAR_FEATURE (bug #177)
8524
8525 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8526
8527         * Makefile.am: remove figure.h
8528
8529 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8530
8531         * Bufferview_pimpl.C:
8532         * CutAndPasteC:
8533         * LaTeX.C:
8534         * LyXSendto.C:
8535         * buffer.C:
8536         * bufferlist.C:
8537         * converter.C:
8538         * language.C:
8539         * lyxfunc.C:
8540         * lyxvc.C:
8541         * paragraph.C:
8542         * text.C:
8543         * text2.C: remove #include "lyx_gui_misc.h".
8544
8545         * LaTeX.C: added #include <cstdio>
8546
8547 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8548
8549         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8550         that the paragraph following this one can have.
8551
8552         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8553
8554         * vspace.C (asLatexCommand): fix bogus gcc warning
8555
8556         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8557
8558 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8559
8560         * text2.C (setLayout): get rid of redundant code
8561
8562 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8563
8564         * text2.C (incDepth): make sure depth cannot be increased beyond
8565         reasonable values.
8566
8567 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8568
8569         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8570         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8571
8572         * PainterBase.h (image):
8573         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8574         a LyXImage const *.
8575
8576 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * BufferView.C:
8579         * BufferView.h:
8580         * BufferView_pimpl.C:
8581         * BufferView_pimpl.h:
8582         * LaTeXFeatures.C:
8583         * LyXAction.C:
8584         * LyXView.C:
8585         * Makefile.am:
8586         * UpdateList.h:
8587         * UpdateList.C:
8588         * buffer.C:
8589         * figure.h:
8590         * figureForm.C:
8591         * figureForm.h:
8592         * figure_form.C:
8593         * figure_form.h:
8594         * lyx_cb.C:
8595         * lyx_gui.C:
8596         * lyx_gui_misc.C:
8597         * lyxfunc.C:
8598         * sp_base.h:
8599         * sp_ispell.h:
8600         * sp_pspell.h:
8601         * sp_spell.C: remove fig inset, and the crap house of
8602           cards that follows it
8603
8604 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8605
8606         * Makefile.am:
8607         * lyxserver.C:
8608         * os2_defines.h:
8609         * os2_errortable.h:
8610         * nt_defines.h: move .h into support/
8611
8612         * vms_defines.h: remove
8613
8614         * WorkArea.C: add space in debug output
8615
8616         * text2.C:
8617         * paragraph.C:
8618         * buffer.C: add WITH_WARNINGS
8619
8620         * vc-backend.h:
8621         * vc-backend.C:
8622         * bufferlist.C: s/retrive/retrieve/, add docs
8623
8624         * vspace.h:
8625         * vspace.C:
8626         * kbmap.h:
8627         * lyxlength.h:
8628         * lyxgluelength.h:
8629         * length_common.h:
8630         * chset.h:
8631         * chset.C: add docs
8632
8633         * lyxgui.C: add ID to X error handler
8634
8635         * lyxtestclass.c: fix typo
8636
8637 2002-02-26  Juergen Vigna  <jug@sad.it>
8638
8639         * tabular_funcs.C (write_attribute): changed so that some default
8640         attributes are not written at all.
8641         (getTokenValue): set default values before trying to read the
8642         value so we have the return value always set as default if we don't
8643         find the token we search for.
8644
8645         * tabular.C (Write): write bools as bools not as strings!
8646
8647 2002-02-22  Juergen Vigna  <jug@sad.it>
8648
8649         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8650         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8651
8652         * text.C (leftMargin): don't add an indent for paragraphs inside
8653         tabular cells (fix #208).
8654
8655 2002-02-21  José Matos  <jamatos@fep.up.pt>
8656
8657         * tabular.C (docBook): fixed support for long tables.
8658
8659 2002-02-20  Juergen Vigna  <jug@sad.it>
8660
8661         * text2.C (getFont): get the drawing font of the Inset if this
8662         paragraph is inside an inset (only important for InsetERT for now).
8663
8664         * buffer.C (insertErtContents): use new lanugage params in ERT
8665         constructor.
8666
8667         * CutAndPaste.C: commenting out seemingly uneeded code.
8668
8669 2002-02-19  Allan Rae  <rae@lyx.org>
8670
8671         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8672         Iterators might be simple to use but they also get invalidated.
8673         (removeAutoInsets): renamed saved cursor tracking variables and added
8674         some comments to clarify what everything does.
8675
8676 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8677
8678         * Chktex.C:
8679         * LaTeX.C:
8680         * LyXSendto.C:
8681         * converter.C:
8682         * lyx_cb.C:
8683         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8684         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8685
8686         * lyxfunc.C:
8687         * vc-backend.h: remove #include "support/syscall.h"
8688
8689         * LaTeX.C:
8690         * LyXSendto.C:
8691         * converter.C: rearrange #includes in Lars' approved fashion.
8692
8693         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8694         forward declare class Timeout in the header file.
8695
8696         * XFormsView.C: changes due to the above.
8697
8698         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8699         similar to LyXView.
8700
8701         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8702         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8703
8704 2002-02-18  José Matos  <jamatos@fep.up.pt>
8705
8706         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8707         insets contents.
8708
8709 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8710
8711         * a lot of small ws changes
8712         * add a lot of using std::XXX
8713         * use std construcs some places where approp.
8714         * use some exisint stuff from lyxfunctional where approp.
8715         * Make file changes to use partial linking (lets test this now...)
8716
8717 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8718
8719         * Chktex.C:
8720         * buffer.C:
8721         remove #include "support/syscontr.h" as it's redundant. Always has been.
8722
8723         * Chktex.C:
8724         * LaTeX.C:
8725         * LyXSendto.C:
8726         * converter.C:
8727         * lyx_cb.C:
8728         * vc-backend.C:
8729         change Systemcalls::System to Systemcalls::Wait and
8730         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8731         No change of functionality, just reflects the stripped down Systemcalls
8732         class.
8733
8734 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8735
8736         * debug.[Ch]: add a GRAPHICS type to the enum.
8737
8738 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8739
8740         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8741
8742         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8743         there is an inset.
8744
8745 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8746
8747         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8748         match the changes below.
8749
8750         * text2.C (toggleInset): if there is not editable inset at cursor
8751         position, try to see if cursor is _inside_ a collapsable inset
8752         and close it.
8753
8754 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8757         document menu has a nice checkbox
8758
8759 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8760
8761         * lyxlength.C (asLatexString): change PW to output as percent of
8762         \textwidth.
8763
8764         * lengthcommon.C: change '%' to 't%'
8765
8766         * lyxfunc.C (dispatch): a few comments from Martin
8767
8768 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8769
8770         * WorkArea.h:
8771         * WorkArea.C:
8772         * BufferView_pimpl.h:
8773         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8774           the X selection.
8775
8776 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * vspace.C (inPixels): fix compiler warning
8779
8780 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8781
8782         * lyxfunc.C (getStatus): fix status message for disabled commands.
8783
8784 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * BufferView_pimpl.C: fix crash on close buffer
8787         during selection (#227)
8788
8789 2002-01-27  Herbert Voss  <voss@lyx.org>
8790
8791         * buffer.C: link old Figure to new graphic inset
8792
8793 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8794
8795         * FontLoader.C (getFontinfo): Change the latex font names in order
8796         to match the names of type1inst.
8797
8798 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8799
8800         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8801
8802         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8803         (extchanged): ditto
8804         (ext_exist): ditto
8805         (remove_files_with_extension): ditto
8806         (remove_file): ditto
8807         (write): ditto
8808
8809         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8810         document is smaller than the work area height. Do not initialize
8811         static variables to 0.
8812
8813 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8814
8815         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8816
8817         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8818         LFUN_LAYOUT_PARAGRAPHS.
8819
8820         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8821         tabular. It is possible to provide a possible cell, which will
8822         typically be the actcell from the corresponding insettabular
8823
8824         * lyxfunc.C (getStatus): small cleanup; disable
8825         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8826         true
8827
8828 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8829
8830         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8831
8832         * paragraph.C (startTeXParParams):
8833         (endTeXParParams): new methods. The LaTeX code to
8834         start/end paragraph formatting
8835         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8836         empty (fixes bug #200)
8837
8838         * vspace.C (inPixels): adapt to the change below
8839         (inPixels): [later] more cleanups (remove unused variables)
8840
8841         * lyxlength.C (inPixels): change to use a width and a height as
8842         parameter.
8843
8844 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8847         Replaced with \paperwidth
8848
8849         * DepTable.C (insert): add std:: qualifier
8850
8851 2002-01-18  Allan Rae  <rae@lyx.org>
8852
8853         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8854         updated also?
8855
8856         * text.C (drawInset): Turned out I didn't know enough about how
8857         rebreaking worked.  This fixes most of the redraw problems.  I see
8858         an occasional cursor trail when a line is broken now and the cursor
8859         placement can seem out by a few pixels also after a rebreak.
8860
8861 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * buffer.C (parseSingleLyXformat2Token): update because minipage
8864         width is now a LyXLength
8865
8866         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8867
8868         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8869         math insets
8870
8871 2002-01-17  Juergen Vigna  <jug@sad.it>
8872
8873         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8874
8875         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8876         is set correctly and the inset is updated correctly.
8877
8878 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8881         the beginning of the loop.
8882
8883 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8884
8885         * lyxrc.C: improve help for use_scalable_fonts
8886
8887 2002-01-17  Allan Rae  <rae@lyx.org>
8888
8889         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8890
8891 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8892
8893         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8894         make sure to set their inset_owner to the right value (bug #171)
8895
8896 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8897
8898         * DepTable.h
8899         * DepTable.C: Implement mtime checking to reduce time spent doing
8900         CRCs.
8901
8902 2002-01-16  Juergen Vigna  <jug@sad.it>
8903
8904         * tabular.C (GetAdditionalHeight): one of error fixed.
8905
8906         * lyxrc.C (output): small fix in writing use_pspell.
8907
8908 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8909
8910         * sp_base.h: #include LString.h
8911
8912 2002-01-16  Allan Rae  <rae@lyx.org>
8913
8914         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8915         Can someone check this please?
8916
8917         * text.C (drawInset): It was possible that p.row would be removed by
8918         breakAgainOneRow upsetting a few other settings.  There may be another
8919         small tweak possible by setting need_break_row = 0 when p.row has been
8920         removed but I don't know enough about the logic here.
8921
8922 2002-01-15  Allan Rae  <rae@lyx.org>
8923
8924         * text.C (insertChar): removed conditional truism.
8925
8926         * BufferView2.C (removeAutoInsets): More tweaks.
8927         cur_par_prev could be a stray pointer.  Check for trailing empty line
8928         in case last line was cur_par and only had an error inset on it.
8929
8930 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8931
8932         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8933         absolute
8934
8935         * vc-backend.C (most methods):
8936         * exporter.C (Export):
8937         * converter.C (convert):
8938         (runLaTeX):
8939         * LyXSendto.C (SendtoApplyCB):
8940         * lyxfunc.C (dispatch):
8941         (menuNew):
8942         (open):
8943         (doImport):
8944         * lyx_cb.C (AutoSave):
8945         (InsertAsciiFile):
8946         * BufferView_pimpl.C (MenuInsertLyXFile):
8947         * buffer.C (runChktex): use Buffer::filePath().
8948
8949         * buffer.h: rename filename to filename_; rename filepath to
8950         filepath_ and make it private
8951         (filePath): new method
8952
8953         * buffer.C (writeFile): use fileName()
8954         (getLatexName):
8955
8956         * lyx_main.C (init): fix starting  of LyX when the binary is a
8957         link from so,ewhere else.
8958
8959         * minibuffer.C: include <cctype> for isprint
8960
8961 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8962
8963         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8964         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8965         name clash with InsetCollapsable's width function.
8966
8967 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8968
8969         * lastfiles.C: include <iterator>
8970
8971 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8972
8973         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8974         std::count.
8975
8976         * buffer.C (makeLaTeXFile): ditto.
8977         Also make loop operation more transparent.
8978
8979 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8980
8981         * ToolbarDefaults.C: remove trailing comma closing namespace.
8982
8983         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8984
8985         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8986         as in WorkArea.
8987
8988         * trans.C (Load): comment out unused variable, allowed.
8989
8990 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8991
8992         * minibuffer.[Ch] (append_char): new method to recieve input from the
8993         drop-down completion browser. If a key was pressed, then recieve this
8994         char and append it to the existing string.
8995         (peek_event): modify the positioning data passed to the completion
8996         browser so that it can be placed above the minibuffer rather than below.
8997 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8998
8999         * LyXAction.C (init): alloe error-next for readonly documents.
9000
9001         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9002         count.
9003
9004 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9005
9006         * bufferlist.C (readFile): create the buffer _after_ checking that
9007         the file exists.
9008
9009         * lyxfunc.C (verboseDispatch): fix handling of arguments
9010
9011         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9012
9013         * lyxrc.C: use string::erase() instead of initializing to "".
9014
9015
9016 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * BufferView_pimpl.h:
9019         * BufferView_pimpl.C:
9020         * WorkArea.h:
9021         * WorkArea.C:
9022         * text2.C: tell X when we have made a selection for copying
9023
9024 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9025
9026         * BufferView_pimpl.C (MenuInsertLyXFile):
9027         * lyxfunc.C (menuNew):
9028         (open):
9029         (doImport): add shortcuts to directory buttons
9030
9031         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9032         open a float)
9033
9034         * lyxfunc.C (setStatusMessage):
9035         (getStatusMessage): new methods
9036         (getStatus):use setStatusMessage instead of setErrorMessage
9037         (dispatch): when function is disabled, set error message here
9038         [instead of in getStatus previously]
9039
9040         * BufferView_pimpl.C (workAreaButtonRelease): update
9041         toolbar/menubar here too.
9042
9043 2002-01-13  Allan Rae  <rae@lyx.org>
9044
9045         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9046         Now seems indestructible.  Remaining task is to audit all other
9047         code affected by deleteEmptyParagraphMechanism.  One small quirk
9048         left is that an empty document with an error in the preamble can
9049         be made to report an error but no error box appears.  I don't know
9050         where it goes.
9051         (removeAutoInsets): Improved comments.
9052
9053 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * Thesaurus.h:
9056         * Thesaurus.C: update for Aiksaurus 0.14
9057
9058 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9059
9060         * text2.C (firstParagraph): removed member function, all uses
9061         replaces with ownerParagraph
9062         (redoParagraphs): here
9063         (updateInset): here
9064         (toggleAppendix): here
9065         * BufferView2.C (insertErrors): here
9066         (setCursorFromRow): here
9067
9068 2002-01-13  Allan Rae  <rae@lyx.org>
9069
9070         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9071         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9072         There is still a way to segfault this although you may have to do this
9073         multiple times: Have an InsetERT with an unknown command in it.
9074         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9075         <down-arrow>, <Enter> again, View->DVI, BANG!
9076
9077         * text2.C (setCursor):
9078         (deleteEmptyParagraphMechanism):
9079         * lyxtext.h (setCursor):
9080         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9081         Making use of the return value may help fix other bugs.
9082
9083 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9084
9085         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9086
9087         * LyXView.C (updateMenubar): call MenuBar::update here
9088         (updateToolbar): but not here
9089         (showState): do not update toolbar/menubar
9090
9091         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9092         should need to care about that.
9093
9094         * lyxfunc.C (verboseDispatch): simplify a bit
9095         (getStatus): have a version which takes a pseudoaction, and
9096         another which requires a (kb_action,string).
9097
9098         * LyXAction.C (retrieveActionArg): make it work also when action
9099         is not a pseudo-action.
9100         (getActionName): simplify a bit
9101         (helpText):
9102
9103 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9104
9105         * lyxfunc.C (verboseDispatch): new families of methods with
9106         several ways to specify a command and a bool to indicate whether
9107         the command name and shortcut should be displayed in minibuffer
9108         (eventually, we could extend that to a finer bitmask like
9109         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9110         (dispatch): the pristine dispatch command which just, well,
9111         dispatchs! Note it still sets its result to minibuffer; I'm not
9112         sure we want that.
9113
9114         * lyxfunc.h: remove setHintMessage
9115
9116         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9117
9118 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9119
9120         * BufferView_pimpl.C (specialChar): delete new inset if we have
9121         not been able to insert it.
9122
9123         * kbmap.C: revert to using int instead of kb_action, since all we
9124         are dealing with is pseudo-actions.
9125
9126         * LyXAction.C (searchActionArg): change to return int instead of
9127         kb_action, since the result is a pseudoaction.
9128
9129 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9130
9131         * buffer.C (insertErtContents): Fix (partially) the font bug.
9132
9133 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9134
9135         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9136         as the other one is broken on my machine!
9137
9138 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9139
9140         * commandtags.h:
9141         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9142
9143 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9144
9145         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9146         reflect their actual use. Provide compatibility code for older lyxrc
9147         files.
9148
9149         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9150         FL_NORMAL_STYLE.
9151         change names of popup font variables in line with the changes to lyxrc.C
9152
9153 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9154
9155         * buffer.C (asciiParagraph): avoid outputing a word twice after
9156         an inset.
9157
9158         * lyxrc.C (getDescription): document that document_path and
9159         template_path can be empty.
9160
9161 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9162
9163         * LaTeXFeatures.C (getMacros):
9164         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9165
9166         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9167
9168         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9169         getPackages.
9170         (getPackages): rename feature "floats" to "float". Use an array to
9171         iterate over 'simple' features (i.e. just a \usepackage). Add
9172         handling of "amsmath" (renamed from "amsstyle").
9173
9174 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9175
9176         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9177         features list.
9178
9179 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9180
9181         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9182         FuncStaus::FuncStatus & FuncStaus::some_method().
9183
9184 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9185
9186         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9187         of the func_satus stuff. Edited and massaged in various ways by
9188         JMarc.
9189
9190         * lyxfunc.C (getStatus): use FuncStatus
9191
9192 2002-01-08  Juergen Vigna  <jug@sad.it>
9193
9194         * text.C (nextBreakPoint): use function Inset::isChar().
9195
9196         * paragraph.C (TeXOnePar): use function
9197         Inset::forceDefaultParagraphs.
9198
9199         * buffer.C (latexParagraphs): use function
9200         Inset::forceDefaultParagraphs.
9201
9202 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9203
9204         * lyx_gui.C (init): set the style of the menu popups to
9205         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9206
9207 2002-01-07  Juergen Vigna  <jug@sad.it>
9208
9209         * text.C (setHeightOfRow): small fix
9210         (prepareToPrint): don't look at alignment if we don't have the place
9211         for doing it.
9212
9213 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9214
9215         * box.C: New file. Move the Box methods and functions out of box.h,
9216         following Lars' suggestion.
9217
9218 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9219
9220         * box.h: #include "support/LOstream.h", needed for inlined function.
9221
9222         * lyxtextclass.C:
9223         * lyxtextclasslist.C: added some using std declarations.
9224
9225 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * box.h: make signed dimensions to allow insets wider than
9228           the screen (bug #162)
9229
9230         * BufferView_pimpl.C: add some insetHit debug
9231
9232 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9233
9234         * vc-backend.C: add FIXME
9235
9236 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * lyxfunc.C (getStatus): enable code for showing math font status
9239         in toolbar/menu.
9240
9241 2002-01-07  Juergen Vigna  <jug@sad.it>
9242
9243         * text.C (nextBreakPoint): removed debug output not needed anymore.
9244
9245 2002-01-06  Juergen Vigna  <jug@sad.it>
9246
9247         * text.C (nextBreakPoint): fixed up this function we had this bug
9248         since ever but now hopefully we break row better.
9249         (insertChar): we have to check if an inset is the next char as it
9250         could now happen that a large inset is causing a break.
9251
9252 2002-01-05  Juergen Vigna  <jug@sad.it>
9253
9254         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9255         if it doesn't like to be drawed.
9256
9257 2002-01-04  Juergen Vigna  <jug@sad.it>
9258
9259         * BufferView2.C (lockInset): forgot to set a cursor.
9260
9261         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9262
9263 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9264
9265         * FormMathsPanel.C:
9266         * FormMathsPanel.h
9267         * MathsSymbols.C:
9268         * form_maths_panel.C:
9269         * form_maths_panel.h:
9270         * form_maths_panel.fd: implemented sub- and super- buttons in math
9271         panel.
9272
9273         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9274         (or ^ space) to be used as in TeX (req'd by André).
9275
9276         * lyxfunc.C: Allow ^ and _ again to be used both as
9277         super/subscript (mathed) and as themselves (in text).
9278
9279 2002-01-03  Allan Rae  <rae@lyx.org>
9280
9281         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9282         "LyX" or the filename of the current buffer if it has one.  This is a
9283         modified form of John Levon's patch.
9284
9285         * XFormsView.C (setWindowTitle): also set icon title.
9286
9287         * LyXView.h (setWindowTitle): signature changed.
9288         * XFormsView.h (setWindowTitle): ditto.
9289
9290 2002-01-02  Juergen Vigna  <jug@sad.it>
9291
9292         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9293
9294 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9295
9296         * screen.C (topCursorVisible): introduce a temp var for
9297         text->cursor.row(), handle the case where this row is null. (kindo
9298         hachish)
9299
9300         * text2.C (setCursor): add a couple of asserts.
9301
9302         * paragraph.h (inset_iterator): add -> operator
9303
9304         * paragraph.[Ch] (autoDeleteInsets): remove member function
9305
9306         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9307         cursor pos correctly and handle inset deletion by itself.
9308         (insertErrors): move iterator declaration out of for expression
9309
9310         * lyxtextclass.C: add <algorithm>
9311
9312         * Makefile.am: added the new files to sources, removed layout.C
9313
9314         * layout.C: removed file
9315
9316         * layout.h: remove LYX_DUMMY_LAYOUT
9317
9318         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9319         layout.
9320
9321         * lyxlayout.[Ch]:
9322         * lyxtextclass.[Ch]:
9323         * lyxtextclasslist.[Ch]: new files
9324
9325         * include order changes to a lot of files, also changes because of
9326         the six new files.
9327
9328 2001-12-27  Juergen Vigna  <jug@sad.it>
9329
9330         * buffer.C (asciiParagraph): more fixes.
9331
9332         * tabular.C (ascii): make ascii export support export of only the
9333         data separated by a column-delimiter.
9334         (ascii): better support for ascii export.
9335
9336         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9337
9338 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9339
9340         * tabular_funcs.C: use a "using std::getline" instead of the
9341         previous fix from Angus (necessary for cxx + lyxstring)
9342
9343 2001-12-24  Juergen Vigna  <jug@sad.it>
9344
9345         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9346
9347         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9348         problems. First check a minipage also if we have some ert-contents
9349         (not only on par->size(), second set the right depth of the paragraph
9350         on the relink to the root-paragraph-list!
9351
9352         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9353         which then did not anymore update the main paragraphs on undo/redo!
9354
9355 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9356
9357         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9358         code. Support all font-changing funcs (even those which are not in
9359         menu currently). Support for reporting font settings in
9360         mathed (disabled until Andre provides a function on mathed's side).
9361
9362         * func_status.h (toggle): small helper function to set toggle
9363         state on a flag.
9364
9365 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9366
9367         * tabular_funcs.C: getline -> std::getline
9368
9369 2001-12-21  Juergen Vigna  <jug@sad.it>
9370
9371         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9372         accessed and could be 0 (I couldn't generate this but it seems
9373         Michael could!).
9374
9375 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9376
9377         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9378         * tabular_funcs.h: here and include iosfwd
9379
9380 2001-12-20  Juergen Vigna  <jug@sad.it>
9381
9382         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9383         inside inset but undo_par was.
9384
9385 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9386
9387         * Thesaurus.C: always include <config.h> in sources.
9388
9389         * Painter.h:
9390         * lyxlookup.h:
9391         * box.h: do not include <config.h> in header files
9392
9393         * text.C (paintLastRow): remove unused variable
9394
9395         * text.C (transformChar):
9396         (insertChar):
9397         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9398
9399         * Painter.C (text):
9400         * font.C (width): rewrite to use uppercase() instead of
9401         islower/toupper.
9402
9403         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9404
9405 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * lyxfind.C: clean up of find failure position change
9408
9409 2001-12-20  Juergen Vigna  <jug@sad.it>
9410
9411         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9412
9413         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9414         (TeXRow): added to LaTeX a single tabular row.
9415         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9416         (Latex): simplified and finally good LT-h/f support.
9417         (various_functions): just small adaptions for LT-h/f support.
9418
9419         * tabular_funcs.[hC]: added and moved here all not classfunctions
9420         of LyXTabular.
9421
9422 2001-12-19  Juergen Vigna  <jug@sad.it>
9423
9424         * tabular.[Ch]: better support for longtabular options (not finished
9425         yet!)
9426
9427 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * text.C (paintLastRow): use the label font instead of the font of
9430         the last character to compute the size of *_BOX. This makes more
9431         sense and avoids a crash with empty paragraphs.
9432         Use Painter::rectangle to draw EMPTY_BOX.
9433
9434 2001-12-19  Juergen Vigna  <jug@sad.it>
9435
9436         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9437         the paragraphs if the replaced paragraph is not the first one!
9438         Tried to delete not used paragraphs but does not work yet so for
9439         now it's inside #ifdef's and by default off!
9440
9441 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9442
9443         * MenuBackend.C: include "lyx_main.h" instead of declaring
9444         lastfiles (actually was declared as LastFiles* instead of a
9445         scoped_ptr).
9446
9447 2001-12-17  Juergen Vigna  <jug@sad.it>
9448
9449         * tabular.C (AppendColumn): applied John's fix
9450
9451 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * BufferView.h:
9454         * BufferView.C:
9455         * BufferView_pimpl.h:
9456         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9457
9458         * Makefile.am:
9459         * box.h: new start of class for above
9460
9461         * lyxfunc.C: ignore space-only minibuffer dispatches.
9462           Show the command name when it doesn't exist
9463
9464         * minibuffer.C: don't add empty lines to the history
9465
9466         * minibuffer.C: add a space on dropdown completion
9467
9468 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9469
9470         * text.C: fix line above/below drawing in insets
9471
9472 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9473
9474         * lyxlength.C (LyXLength): Initialize private variables.
9475
9476 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9477
9478         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9479         when inserting error insets.
9480
9481 2001-12-13  Juergen Vigna  <jug@sad.it>
9482
9483         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9484         actually sometimes the before-paragraph.
9485         (setUndo): don't clear the redostack if we're not actually undoing!
9486
9487 2001-12-06  Juergen Vigna  <jug@sad.it>
9488
9489         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9490         and fixed redoing of main paragraph, so we can use it now ;)
9491
9492         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9493
9494 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9495
9496         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9497         Juergen's request
9498
9499 2001-12-13  André Pönitz <poenitz@gmx.net>
9500
9501         * undostack.[Ch]:
9502         * undo_func.C: minor cleanup
9503
9504 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9507         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9508         font in urw-fonts package which is marked as -urw-fontspecific and
9509         does not work (incidentally, changing the encoding in the
9510         fonts.dir of this package to -adobe-fontspecific fixes the
9511         problem).
9512
9513         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9514         is a crash when undoing first paragraph (Juergen, please take a
9515         look). THis does not mean the undo fix is wrong, just that it
9516         uncovers problems.
9517
9518         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9519         the (Paragraph*) version when needed instead of duplicating the
9520         code.
9521
9522         * text.C (workWidth): use Inset::parOwner to find out where the
9523         inset has been inserted. This is a huge performance gain for large
9524         documents with lots of insets. If Inset::parOwner is not set, fall
9525         back on the brute force method
9526
9527         * paragraph_pimpl.C (insertInset):
9528         * paragraph.C (Paragraph):
9529         (cutIntoMinibuffer): set parOwner of insets when
9530         inserting/removing them
9531
9532         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9533
9534 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9535
9536         * commandtags.h:
9537         * LyXAction.C:
9538         * lyx_main.C:
9539         * lyxfunc.C:
9540         * mathed/formulabase.C:
9541         * mathed/math_cursor.[Ch]:
9542         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9543
9544
9545 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * lyxlength.[Ch] (operator!=): new function
9548
9549 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * text.C (workWidth): use Inset::parOwner to find out where the
9552         inset has been inserted. This is a huge performance gain for large
9553         documents with lots of insets. If Inset::parOwner is not set, fall
9554         back on the brute force method
9555
9556         * paragraph_pimpl.C (insertInset):
9557         * paragraph.C (Paragraph):
9558         (cutIntoMinibuffer): set parOwner of insets when
9559         inserting/removing them
9560
9561         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9562
9563 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * tabular-old.C (getTokenValue):
9566         * tabular.C (getTokenValue):
9567         (write_attribute): new versions for LyXLength
9568         (everywhere): adjust the use of widths
9569
9570         * tabular.h: change the type of widths from string to LyXLength
9571
9572 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9573
9574         * paragraph.C: fixed missing line number count when exporting
9575         Environments to LaTeX file
9576
9577         * buffer.C: added informational message for checking line numbers.
9578
9579 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9582         paragraph, do the 'double space' part, but not the 'empty
9583         paragraph' one.
9584
9585         * text.C (workWidth): small optimization
9586         (getLengthMarkerHeight): use minimal size for negative lengths.
9587
9588 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9589
9590         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9591
9592         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9593
9594 2001-12-11  André Pönitz <poenitz@gmx.net>
9595
9596         * FontLoader.C:
9597         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9598
9599 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * text2.C: keep selection on a setFont()
9602
9603 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * lyx_cb.C: another bv->text misuse, from insert label
9606
9607 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * kbsequence.h:
9610         * kbsequence.C: re-instate nmodifier mask
9611
9612 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9613
9614         * lyx_main.h: make lyxGUI private.
9615
9616 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9617
9618         * lyxfind.C: place the cursor correctly on failed search
9619
9620 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9621
9622         * text.C (getLengthMarkerHeight): for small heights, the arrows
9623         are not always on top/bottom of the text
9624         (drawLengthMarker): smaller arrows; take the left margin in
9625         account; draw also vfills.
9626         (paintFirstRow):
9627         (paintLastRow): remove special code for vfill and standard spaces,
9628         since everything is handled in drawLengthMarker now.
9629
9630 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9631
9632         * buffer.C (insertErtContents): try to handle font and language
9633         interaction a bit better.g
9634
9635         * ColorHandler.C (updateColor): change the hash to cover the whole
9636         LColor enum, ws cleanup
9637         (getGCLinepars): ditto
9638         (getGCLinepars): only lookup in the linecache once.
9639
9640 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * iterators.C (operator++): Make the iterator more robust
9643
9644         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9645         (John's patch)
9646         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9647
9648 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * lyxtext.h:
9651         * text.C: better added space drawing
9652
9653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9654
9655         * LyXView.C:
9656         * BufferView2.C: fix layout combo update on inset unlock
9657
9658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * Makefile.am: don't compile unused files
9661
9662 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * lyxfunc.C:
9665         * commandtags.h:
9666         * LyXAction.C: remove old LFUN_LAYOUTNO
9667
9668 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * paragraph_pimpl.h:
9671         * paragraph_pimpl.C: isTextAt() doesn't need font param
9672
9673 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * lyxlex.h:
9676         * lyxlex.C: little cleanup
9677
9678 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * BufferView_pimpl.C: fix insertAscii for insets
9681
9682 2001-12-05  Juergen Vigna  <jug@sad.it>
9683
9684         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9685         set the right font on the "multi" paragraph paste!
9686
9687 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9688
9689         * trans_decl.h:
9690         * trans_mgr.[Ch]:
9691         * trans.[Ch]:
9692         * lyxgluelength.C:
9693         * lyxlength.C: remove out-commented code.
9694
9695         * BufferView_pimpl:
9696         * CutAndPaste.C:
9697         * DepTable.C:
9698         * buffer.C:
9699         * chset.C:
9700         * lastfiles.C:
9701         * lyxlex.C:
9702         * lyxlex_pimpl.C:
9703         * lyxserver.C:
9704         * screen.C:
9705         * tabular-old.C:
9706         * tabular.C:
9707         * text.C:
9708         * trans_mgr.C:
9709         * vc-backend.C: change "while(" to "while ("
9710
9711         * lyxlength.[Ch]: add zero function to check if length is zero or
9712         not
9713         * lyxgluelength.C: use it
9714
9715 2001-12-05  Allan Rae  <rae@lyx.org>
9716
9717         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9718         Works for 2.95.3, from what I understand of Garst's reports this should
9719         work for other g++ versions.  We're screwed if the abs(int) definition
9720         changed between bugfix releases of gcc.
9721
9722 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * text.C: fix chapter label offset !
9725
9726 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * lyxtext.h:
9729         * text.C: fix hfill at end of line, clean up
9730
9731 2001-12-04  Juergen Vigna  <jug@sad.it>
9732
9733         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9734         that we force an update of the inset and it's owners if neccessary.
9735
9736 2001-12-03  Juergen Vigna  <jug@sad.it>
9737
9738         * text.C (rowLast): simplified code
9739
9740 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * lyxfunc.C: fix show options on timeout
9743
9744 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * screen.C (topCursorVisible): scroll half a page when the cursor
9747         reached top of bottom of screen
9748
9749 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * minibuffer.C: deactivate on loss of focus
9752
9753 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9754
9755         * vspace.[Ch] (operator!=): add operator.
9756
9757 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9758
9759         * BufferView_pimpl.C: refuse to open an inset when
9760         there's a selection.
9761
9762 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * BufferView_pimpl.C: allow to click on RHS of full row insets
9765
9766 2001-11-30  Juergen Vigna  <jug@sad.it>
9767
9768         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9769         insets for undo reasons.
9770
9771 2001-11-28  André Pönitz <poenitz@gmx.net>
9772
9773         * vspace.[Ch]: cosmetical changes
9774
9775 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9776
9777         * LyXAction.h:
9778         * LyXAction.C:
9779         * lyxfunc.h:
9780         * lyxfunc.C:
9781         * kbmap.h:
9782         * kbmap.C:
9783         * lyxrc.C:
9784         * kbsequence.h:
9785         * kbsequence.C: part re-write of old kb code
9786
9787         * Painter.C:
9788         * WorkArea.C: remove Lgb_bug_find_hack
9789
9790 2001-11-30  José Matos <jamatos@fep.up.pt>
9791
9792         * buffer.C (makeDocBookFile): add a comment to point a hack.
9793         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9794         Fixed a double write of labels.
9795
9796 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9797
9798         * LaTeX.C:
9799         * LaTeX.h Fixed bug in LaTeX class where it would not
9800         re-run latex if no depfiles were changed, but the .dvi was removed.
9801
9802 2001-11-28  André Pönitz <poenitz@gmx.net>
9803
9804         * all the files from the change on 2001/11/26:
9805         use lyx::layout_type instead of LyXTextClass::size_type
9806         use lyx::textclass_type instead of LyXTextClassList::size_type
9807
9808 2001-11-29  Juergen Vigna  <jug@sad.it>
9809
9810         * text.C: added support for paragraph::isFreeSpacing()
9811
9812         * buffer.C: same as above
9813
9814         * paragraph.h: inserted isFreeSpacing() function to enable
9815         FreeSpacing inside InsetERT.
9816
9817         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9818         of the paragraph's in the cut/copy buffer to 0!
9819
9820         * text2.C (removeRow): remove the assert as it can!
9821
9822         * lyxtext.h: added helper function firstRow returning firstrow and
9823         made firstrow private again.
9824
9825         * BufferView2.C (lockInset): don't relock if we're already locked!
9826
9827         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9828         the only paragraph.
9829         (removeRow): added Assert::(firstrow)
9830
9831         * debug.C: forgot to add INSETTEXT here.
9832
9833 2001-11-28  Juergen Vigna  <jug@sad.it>
9834
9835         * sp_spell.C (initialize): changed error text to more general
9836         spellchecker command use (not only ispell!)
9837
9838         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9839
9840         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9841
9842 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * vspace.C: initialise lyxgluelength on failure
9845
9846 2001-11-28  Allan Rae  <rae@lyx.org>
9847
9848         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9849         declaration & definition that looks like a function declaration.
9850
9851 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9852
9853         * BufferView2.C (copy):
9854         (copyEnvironment): do not clear the selection when doing a copy.
9855
9856         * text.C (paintFirstRow): compilation fix
9857
9858 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9859
9860         * tabular.C (Latex): correct line count when writing latex.
9861
9862 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * paragraph_pimpl.h:
9865         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9866           bug a bit
9867
9868 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * text.C:
9871         * LColor.h:
9872         * LColor.C: change vfillline->added_space
9873
9874         * text.C: add markers and text for added space
9875
9876         * vspace.C: fix comment
9877
9878 2001-11-28  André Pönitz <poenitz@gmx.net>
9879
9880         * paragraph.C: whitespace changes
9881         * all the other files from the change on 2001/11/26:
9882         change *::pos_type into lyx::pos_type
9883
9884 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9885
9886         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9887         language of the document when inserting error insets.
9888
9889 2001-11-26  André Pönitz <poenitz@gmx.net>
9890
9891         * BufferView_pimpl.[Ch]:
9892         *       CutAndPaste.C:
9893         * buffer.[Ch]:
9894         * lyxcursor.[Ch]:
9895         * lyxfind.C:
9896         * lyxfunc.C:
9897         * lyxrow.[Ch]:
9898         * paragraph.[Ch]:
9899         * paragraph_pimpl.[Ch]:
9900         * sp_spell.C:
9901         * text.C:
9902         * text2.C: reduce header dependencies, introduce type for positions
9903
9904 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9905
9906         * <various>: change to use Alert.h
9907
9908 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9909
9910         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9911         when encountering an unknown token.
9912         (readLyXformat2): Show an error message if there were unknown tokens.
9913
9914 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * BufferView2.C:
9917         * BufferView_pimpl.C:
9918         * buffer.C:
9919         * paragraph.h:
9920         * text.C:
9921         * text2.C: use par->isInset()
9922
9923 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9924
9925         * paragraph_pimpl.h:
9926         * paragraph_pimpl.C: cleanup
9927
9928 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9929
9930         * text2.C (removeRow):
9931         * text.C (setHeightOfRow): remove useless (and costly) call to
9932         getRow.
9933
9934 2001-11-20  Allan Rae  <rae@lyx.org>
9935
9936         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9937         Now need Inset*::checkInsertChar() to return true for appropriate
9938         cases so that the characters in the minibuffer will actually be
9939         inserted.
9940
9941 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9942
9943         * text.C: change the order of the includes.
9944         (workWidth): initialize it at once.
9945         (workWidth): make maxw unsigned
9946         (setHeightOfRow): remove unused variable (inset)
9947         (selectSelectedWord): remove unused variable (inset)
9948         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9949
9950 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9951
9952         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9953         server is not running.
9954         (openConnection):
9955         (closeConnection): add debug info when server is disabled.
9956
9957         * ColorHandler.C (getGCForeground): send debug message to GUI
9958         channel.
9959
9960         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9961
9962         * kbmap.C (bind): modify because return conventions of
9963         kb_sequence::parse have changed.
9964
9965         * kbsequence.C (parse): only ignore spaces and not any stupid
9966         control character. This avoids tests like s[i] <= ' ', which are
9967         guaranteed to fail with 8bit characters and signed chars.
9968         Change return code to string::npos when there have been no error
9969         (0 was a bad idea when error is at first character)
9970
9971 2001-11-14  José Matos  <jamatos@fep.up.pt>
9972
9973         * buffer.h:
9974         * buffer.C (simpleDocBookOnePar): removed unused argument.
9975
9976 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9977
9978         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9979         insets which are part of a word. Paragraph::isLetter takes care of
9980         that now. Use Paragraph::isInset to identify insets.
9981         (selectSelectedWord): do not test for hyphenation break.
9982
9983         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9984         that protected spaces are considered as spaces.
9985
9986         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9987         Inset::isLetter.
9988
9989 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * lyxserver.h:
9992         * lyxserver.C: fix it. and small cleanup.
9993
9994 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * BufferView_pimpl.C: use inline helpers
9997
9998         * LaTeXFeatures.h:
9999         * LaTeXFeatures.C: fix typos
10000
10001         * Spacing.h:
10002         * Spacing.C: move spacing_string into class
10003
10004         * ToolbarDefaults.C: move stuff into namespace anon
10005
10006         * layout.h: update enum
10007
10008         * lyxfunc.C: use better debug
10009
10010         * minibuffer.h: fix typo
10011
10012         * debug.h:
10013         * debug.C:
10014         * WorkArea.C: add and use Debug::WORKAREA
10015
10016         * lyxtext.h:
10017         * text.C:
10018         * text2.C: code re-organisation, inline helpers
10019
10020 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10021
10022         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10023         std::vector.empty().
10024
10025 2001-11-09  Allan Rae  <rae@lyx.org>
10026
10027         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10028         '\n's after tables.  Tabular and ERT inset work now makes this no
10029         longer necessary.
10030
10031 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * minibuffer.h:
10034         * minibuffer.C: fix crash, improve drop-down completion
10035
10036 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * lyxserver.h:
10039         * lyxserver.C: invalidate fd's when doing endPipe()
10040
10041 2001-11-08  José Matos  <jamatos@fep.up.pt>
10042
10043         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10044         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10045
10046         * paragraph.h:
10047         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10048
10049 2001-11-07  José Matos  <jamatos@fep.up.pt>
10050
10051         * buffer.h:
10052         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10053         const qualifier.
10054
10055         * buffer.C (sgmlOpenTag):
10056         * buffer.C (sgmlCloseTag): removed debug info.
10057
10058         * buffer.h (sgmlOpenTag):
10059         * buffer.h (sgmlCloseTag): made public.
10060
10061 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10062
10063         * buffer.C (saveParamsAsDefaults):
10064         * lyx_cb.C (MenuLayoutSave): remove
10065
10066         * LyXAction.C (init):
10067         * commandtags.h:
10068         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10069
10070 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10071
10072         * buffer.C (setPaperStuff): removed from here...
10073
10074         * bufferparams.C (setPaperStuff): ... and moved there.
10075
10076 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * minibuffer.h:
10079         * minibuffer.C:
10080         * XFormsView.C: add support for drop-down completion
10081
10082 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10083
10084         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10085         commands.
10086
10087 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10088
10089         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10090         disabled.
10091
10092 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * lyx_main.C: change ref to known bugs
10095
10096 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10097
10098         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10099         to work around older babel problems.
10100
10101 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10102
10103         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10104
10105 2001-10-24  Juergen Vigna  <jug@sad.it>
10106
10107         * tabular-old.C (ReadOld): below variable changes reflected.
10108
10109         * tabular.[Ch]: added ltType struct for longtable header/footer
10110         defines and changed all instances where they are used. Added
10111         future support for double top/bottom rows.
10112
10113 2001-10-24  José Matos  <jamatos@fep.up.pt>
10114
10115         * buffer.h (docbookHandleCaption):
10116         * buffer.C (docbookHandleCaption): removed unused function.
10117         (makeDocBookFile): moved docbook supported version to v4.1.
10118
10119 2001-10-24  José Matos  <jamatos@fep.up.pt>
10120
10121         * tabular.h:
10122         * tabular.C (docbookRow): new function to export docbook code of a row.
10123         (DocBook): now honors the longtable flags.
10124
10125 2001-10-23  José Matos  <jamatos@fep.up.pt>
10126
10127         * LaTeXFeatures.h:
10128         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10129         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10130
10131         * buffer.C (makeLinuxDocFile):
10132         (makeDocBookFile): reworked the preamble, more clean, and with
10133         support for lyx defined entities. Changed the document declaration
10134         to be more XML friendly.
10135
10136         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10137         if we need to output XML that should be done with a filter.
10138
10139 2001-10-22  Juergen Vigna  <jug@sad.it>
10140
10141         * sp_pspell.h (class PSpell): add alive function needed in the
10142         controller to see if the spellchecker could be started.
10143
10144 2001-10-22  Juergen Vigna  <jug@sad.it>
10145
10146         * buffer.C (insertStringAsLines): modify the font for inserting
10147         chars in certain conditions by calling checkInsertChar(font).
10148
10149 2001-10-19  Juergen Vigna  <jug@sad.it>
10150
10151         * text.C (workWidth): use getRow instead of wrong algorithm.
10152         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10153
10154 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * lyxserver.h:
10157         * lyxserver.C:
10158         * lyx_main.h:
10159         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10160
10161 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10162
10163         * text.C (workWidth): do not search for the exact row when
10164         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10165         optimization for big documents.
10166
10167 2001-10-18  Juergen Vigna  <jug@sad.it>
10168
10169         * text.C (workWidth): new function with added Inset * parameter.
10170
10171 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10172
10173         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10174
10175         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10176         change return type of getColumnNearX.
10177
10178
10179         * text.C (changeRegionCase): use uppercase/lowercase instead of
10180         toupper/tolower.
10181         (leftMargin):
10182         (rightMargin): simplify code by factoring out the uses of
10183         textclasslist.
10184         (labelFill):
10185         (numberOfHfills):
10186         (setHeightOfRow):
10187         (appendParagraph): use Paragraph::size_type
10188
10189 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10190
10191         * vspace.C (asLatexString): add a missing break
10192
10193 2001-10-15  Herbert Voss  <voss@perce.de>
10194
10195         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10196
10197 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10198
10199         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10200         is not available.
10201
10202 2001-10-10  André Pönitz <poenitz@gmx.net>
10203
10204         * lyxfunc.C: removed greek_kb_flag.
10205
10206 2001-10-10  Herbert Voss  <voss@perce.de>
10207
10208         * lyx_main.C: delete global string help_lyxdir.
10209
10210 2001-10-09  Herbert Voss  <voss@perce.de>
10211
10212         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10213
10214         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10215
10216         * lyx_main.C: added global string help_lyxdir.
10217
10218         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10219
10220 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10221
10222         * lyxrc.C (set_font_norm_type): support iso8859-4
10223
10224 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10225
10226         * LaTeX.C (deplog): add another regex for MikTeX
10227
10228 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10229
10230         * lyxrc.C (set_font_norm_type): support iso8859-3
10231
10232 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10235
10236         * LaTeXFeatures.C: remove special case of french and index
10237
10238         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10239         before \begin{document}). This solves several incompatibilities.
10240
10241 2001-10-03  Garst Reese  <reese@isn.net>
10242
10243         * lyx_cb.C: change CheckTex error msg.
10244
10245 2001-10-03  José Matos  <jamatos@fep.up.pt>
10246
10247         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10248
10249 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10250
10251         * .cvsignore: update
10252
10253         * lyx_main.C (commandLineVersionInfo): use new style version info.
10254
10255         * buffer.C (writeFile):
10256         (makeLaTeXFile):
10257         (makeLinuxDocFile):
10258         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10259
10260         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10261
10262         * version.h: update to use stuff in version.C
10263
10264         * version.C.in: new file. Contains version information determined
10265         at compile time. This is a merging of version.h and
10266         version_info.h.in.
10267
10268 2001-10-03  Juergen Vigna  <jug@sad.it>
10269
10270         * BufferView_pimpl.C (update): don't change "dirty" status in
10271         updateInset call.
10272
10273 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10274
10275         * WorkArea.C (c-tor): re-position version string slightly.
10276
10277 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10278
10279         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10280         revert to previous code.
10281
10282         WorkArea.[Ch]: (show, destroySplash): methods removed.
10283
10284         WorkArea.C: rework code so that it's an amalgam of the codes before and
10285         after the splash screen was moved to WorkArea.
10286
10287 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10288
10289         * lyxrc.C (read):
10290         * vspace.C (inPixels):
10291         (lyx_advance):
10292         * kbmap.C (bind):
10293         * buffer.C (insertStringAsLines):
10294         (asciiParagraph): fix types to be large enough
10295
10296         * lyxlex_pimpl.h: change member status from short to int
10297
10298         * layout.h: fix type of endlabeltype
10299
10300         * kbmap.C (bind):
10301         * kbsequence.C (parse): change return type to string::size_type
10302
10303         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10304         variable
10305
10306         * Bullet.C (bulletSize):
10307         (bulletEntry): do not use short ints as parameters
10308
10309         * BufferView2.C (insertLyXFile): change a char to an int.
10310
10311         * WorkArea.C (WorkArea): remove unneeded floats in computation
10312
10313 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10316
10317         * paragraph.C (asString): Do not ignore newline/hfill chars when
10318         copying to the clipboard.
10319
10320 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10321
10322         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10323         after a multi-line inset.
10324
10325 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10326
10327         * paragraph.C (validate): Set NeedLyXFootnoteCode
10328
10329 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10330
10331         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10332         and decrease-error to decrease.
10333
10334 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10335
10336         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10337         it more readable (should be equivalent)
10338
10339 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10340
10341         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10342
10343 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10344
10345         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10346         of a cursor (row, etc.) after a character has been deleted
10347         (deleteEmptyParagraphMechanism): call the method above on _all_
10348         cursors held by the LyXText when a double space has been
10349         detected/deleted.
10350
10351 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10352
10353         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10354         pixmap.
10355         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10356
10357         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10358         background. Use greyOut() and the new show() methods to toggle between
10359         the foreground and background. Add code to remove the splash after
10360         its initial showing.
10361
10362         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10363         (create_forms): no longer call Dialogs::showSplash.
10364
10365 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10366
10367         * .cvsignore: add version_info.h
10368
10369 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10370
10371         * version_info.h.in: new file
10372
10373         * Makefile.am: add version_info.h.in
10374
10375         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10376         version_info.h instead of VERSION_INFO
10377
10378 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10379
10380         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10381         The ERT inset now returns string().
10382
10383 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10384
10385         * lyxtext.h, text.C (selectNextWord): renamed as
10386         selectNextWordToSpellcheck.
10387
10388         * text.C (selectNextWordToSpellcheck): Modified to not select
10389         words inside an ERT inset.
10390
10391 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10392
10393         * lyx_cb.C (MenuLayoutSave): change a bit the question
10394
10395         * sp_base.h: include <sys/types.h>
10396
10397 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10398
10399         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10400
10401 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10402
10403         * several files: fix typos in user-visible strings
10404
10405 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * text2.C (pasteSelection): do not set the selection, since it
10408         will be cleared later. Actually, the intent was to fix the way the
10409         selection was set, but I figured rmoving the code was just as good.
10410
10411 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10412
10413         * FontLoader.C (available): Check if font is available without
10414         loading the font.
10415
10416 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10417
10418         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10419
10420 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10421
10422         * lyxrc.[Ch]: added display_graphics variable and associated code.
10423
10424 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10425
10426         * bufferparams.C (hasClassDefaults): new method. Returns true if
10427         the buffer parameters correspond to known class defaults
10428
10429 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10430
10431         * XFormsView.C (show): set minimum size to the main window.
10432
10433 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10434
10435         * text2.C (copySelection):
10436         (cutSelection):
10437         * lyxfind.C (LyXReplace):
10438         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10439         LyXText::selectionAsString.
10440
10441         * paragraph.C (asString): add "label" argument to the second form
10442
10443         * text2.C (selectionAsString): add "label" argument and pass it to
10444         Paragraph::asString.
10445
10446 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10447
10448         * lyx_main.C (commandLineHelp): remove version information
10449
10450 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10451
10452         * lyx_main.C: add -version commandline option
10453
10454 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10455
10456         * paragraph.h: make the optional constructor arg required instead.
10457         some modifications to other files because of this.
10458
10459         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10460
10461         * lyxserver.C (C_LyXComm_callback): make it static
10462
10463         * lyx_main.C (error_handler): make it static
10464
10465         * lyx_gui.C (LyX_XErrHandler): make it static
10466
10467         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10468
10469         * WorkArea.C: make the extern "C" methods static.
10470
10471         * Makefile.am (lyx_LDADD): simplify
10472
10473 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10474
10475         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10476         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10477
10478         * LyXAction.C (init):
10479         * lyxfunc.C (dispatch): associated code removal.
10480
10481 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10482
10483         * lyxfont.h (isSymbolFont): shut off warning
10484
10485         * text.C (setHeightOfRow):
10486         (getVisibleRow): fix crash with empty paragraphs which have a
10487         bottom line
10488
10489 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10490
10491         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10492         code.
10493
10494 2001-09-04  José Matos  <jamatos@fep.up.pt>
10495         * buffer.C
10496         * buffer.h
10497         * tabular.C (docbook): rename docBook method to docbook.
10498
10499 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10500
10501         * Makefile.am: add dependencies to main.o.
10502
10503 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10504
10505         * FontLoader.C (available): Return false if !lyxrc.use_gui
10506
10507 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10508
10509         * FontInfo.C (query):
10510         * converter.C (view):
10511         * importer.C (Import):
10512         * exporter.C (Export): Can not -> cannot.
10513
10514 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * BufferView_pimpl.C: allow to create index inset even if
10517           string is empty
10518
10519 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10520
10521         * buffer.C (getLists): replace boost::tie code with an explicit pair
10522         as boost::tie can break some compilers.
10523
10524         * iterators.h: Added a std:: declaration to the return type of
10525         ParIterator::size.
10526
10527 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10530           case.
10531
10532 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10533
10534         * iterators.[Ch]: New files. Provide paragraph iterators.
10535
10536         * buffer.C (changeLanguage): Use paragraph iterators.
10537         (isMultiLingual): ditto
10538
10539         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10540
10541 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10542
10543         * FontLoader.C: Support for cmr font.
10544
10545 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10546
10547         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10548         (available): New method.
10549
10550         * FontInfo.C (getFontname): Use scalable fonts even when
10551         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10552         found.
10553
10554 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10555
10556         * converter.C (Formats::view): reverted! Incorrect fix.
10557
10558 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10559
10560         * converter.C (Formats::view): only output the -paper option
10561         if the dvi viewer is xdvi, thereby fixing bug #233429.
10562
10563 2001-08-23  Herbert Voss  <voss@perce>
10564
10565         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10566
10567 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10568
10569         * Spacing.h (Spacing): Set space to Default on in the default
10570         constructor.
10571
10572 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10573
10574         * vc-backend.h (RCS::versionString): add RCS to version
10575         (CVS::versionString): add CVS to version
10576
10577         * vc-backend.C (scanMaster): do not add CVS to version.
10578         (scanMaster): do not add RCS to version
10579
10580         * lyxvc.C (versionString): new method
10581
10582         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10583
10584 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10585
10586         * Spacing.C (set): initialize fval
10587
10588 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10589
10590         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10591         " or \.
10592
10593 2001-08-16  Juergen Vigna  <jug@sad.it>
10594
10595         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10596
10597 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * BufferView_pimpl.C:
10600         * figureForm.C:
10601         * lyxtext.h:
10602         * text2.C: setParagraph takes linespacing now
10603
10604 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * LyxAction.C: add internal LFUN_CITATION_INSERT
10607
10608         * LyXView.C: actually apply fix
10609
10610         * bufferlist.C: fix open non-existent file
10611
10612         * lyxfind.C: fix indentation
10613
10614         * lyxfunc.C: remove unneeded assert, fix typo
10615
10616 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * MenuBackend.C: use "Floatname List"
10619
10620 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10621
10622         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10623         when converting LaTeX layout to insetERT.
10624         Generate a non-collapsed float when reading old float
10625
10626 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10627
10628         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10629         ERT insets.
10630
10631 2001-08-13  Juergen Vigna  <jug@sad.it>
10632
10633         * text.C (fill): return 0 instead of 20 as this seems to be the more
10634         correct value.
10635
10636 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10639         lyxrc.font_norm.
10640
10641 2001-08-13  Juergen Vigna  <jug@sad.it>
10642
10643         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10644         casesensitive off.
10645         (SearchBackward): comment out the unlocking of the inset_owner this
10646         should not be needed!
10647
10648 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10649
10650         * Many files: Remove inherit_language, and add latex_language
10651
10652         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10653         collapsible insets.
10654
10655 2001-08-10  Juergen Vigna  <jug@sad.it>
10656
10657         * text.C (prepareToPrint): fixed hfill-width in draw!
10658
10659         * BufferView2.C (selectLastWord): save the selection cursor as this
10660         now is cleared in the function LyXText::clearSelection!
10661
10662 2001-08-08  Juergen Vigna  <jug@sad.it>
10663
10664         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10665         BACKSPACE type functions.
10666
10667         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10668         is only cutted from the document but not put in the cut-buffer, where
10669         still the old stuff should be.
10670
10671         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10672
10673         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10674
10675         * tabular.C (SetWidthOfCell): fixed special case where the width
10676         was not updated!
10677         (LeftLine): handle '|' in align_special.
10678         (RightLine): ditto
10679         (LeftAlreadyDrawed): ditto
10680         (SetWidthOfCell): ditto
10681
10682 2001-08-07  Juergen Vigna  <jug@sad.it>
10683
10684         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10685
10686 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10687
10688         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10689         * lyxlex.[hC]: ditto
10690
10691 2001-08-06  Juergen Vigna  <jug@sad.it>
10692
10693         * text.C (getVisibleRow): fix up row clearing a bit.
10694
10695 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10696
10697         * minibuffer.C: make sure the X server sees the changes in the input.
10698
10699 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * paragraph.C (getFont): split into...
10702         (getLabelFont): this
10703         (getLayoutFont): and this
10704         * paragraph_pimpl.C (realizeFont): calling this
10705
10706         * text2.C (getFont): split into...
10707         (getLayoutFont): this
10708         (getLabelFont): and this
10709         (realizeFont): all three calling this
10710
10711         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10712         files where used.
10713
10714 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10715
10716         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10717
10718 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10719
10720         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10721         layouts from the Quote inset insertion.
10722
10723 2001-08-03  Juergen Vigna  <jug@sad.it>
10724
10725         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10726
10727         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10728         only if status not is already CHANGED_IN_DRAW (second level).
10729
10730         * text.C (draw): don't set the need_break_row when inside an
10731         InsetText LyXText.
10732
10733 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * buffer.C (parseSingleLyXformat2Token): handle more latex
10736         conversion cases.
10737
10738         * bufferview_funcs.[hC]: change function names to
10739         begin with small char, adjust other files.
10740
10741 2001-08-02  André Pönitz <poenitz@gmx.net>
10742
10743         * lyxfunc.C:
10744         BufferView_pimpl.C: remove broken special code for math-greek
10745
10746 2001-08-02  Juergen Vigna  <jug@sad.it>
10747
10748         * BufferView_pimpl.C (update): redone this function so that we
10749         update the text again if there was a CHANGE_IN_DRAW.
10750
10751         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10752         (drawFromTo): added a new internal bool which is used by draw() and
10753         redraw() function.
10754         (general): some cursor drawing problems fixed.
10755
10756 2001-08-01  Juergen Vigna  <jug@sad.it>
10757
10758         * lyxfind.C (LyXFind): fixed
10759         (SearchForward): ditto
10760         (SearchBackward): ditto
10761
10762         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10763         spurius drawing of the cursor in the main area.
10764
10765         * text2.C (status): small fix which could lead to a segfault!
10766         (clearSelection): remove unneeded BufferView param.
10767
10768 2001-08-01  André Pönitz <poenitz@gmx.net>
10769
10770         * lyxfunc.C: small change due to changed mathed interface
10771
10772 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10773
10774         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10775
10776 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * lyxfunc.c: fail gracefully if file doesn't exist
10779
10780         * LyXSendto.C:
10781         * buffer.C:
10782         * lyxfunc.C:
10783         * BufferView_pimpl.C: IsDirWriteable() proto changed
10784
10785         * LyXView.C: fix updateWindowTitle() to store the last title
10786
10787 2001-07-31  Juergen Vigna  <jug@sad.it>
10788
10789         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10790         the font (wrong since using of Paragraph::highestFontInRange).
10791
10792         * paragraph.C (highestFontInRange): added a default_size parameter.
10793
10794         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10795         (setHeightOfRow): reformat
10796
10797 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10798
10799         * converter.[hC] + affected files: move to (inital-char)lowercase
10800         function names.
10801
10802         * ParagraphParameters.C (ParagraphParameters): remove commented code
10803
10804         * PainterBase.[Ch]: remove commented code
10805
10806         * LaTeXFeatures.h: add "bool floats" for float.sty
10807
10808         * LaTeXFeatures.C (LaTeXFeatures): init floats
10809         (require): handle float
10810         (getPackages): do it with floats
10811
10812 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * BufferView_pimpl.C (Dispatch): improve handling of
10815         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10816
10817         * commandtags.h: #include lyxfont.h here temporarily to avoid
10818         keybinding bug.
10819
10820         * bufferlist.h: include LString.h here.
10821
10822 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10823
10824         * text2.C (getStringToIndex): new method.
10825
10826 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10827
10828         * *: Reduced header file dependencies all over.
10829
10830 2001-07-30  Baruch Even  <baruch@lyx.org>
10831
10832         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10833
10834 2001-07-29  Baruch Even  <baruch@lyx.org>
10835
10836         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10837
10838 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * ParameterStruct.h (endif): add a default constructor to make
10841         sure that all variables is initialized.
10842
10843         * ParagraphParameters.C (ParagraphParameters): adjust
10844
10845 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10846
10847         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10848         index; also, check that there is something to index, and that it
10849         does not span over several paragraphs.
10850         (doubleClick): use WHOLE_WORD_STRICT for double click.
10851
10852         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10853
10854         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10855         scheme.
10856
10857 2001-07-26  Baruch Even  <baruch@lyx.org>
10858
10859         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10860         an InsetFig figure, backwards compatible reading of old figure code.
10861
10862 2001-07-27  Juergen Vigna  <jug@sad.it>
10863
10864         * text2.C: font.realize function adaption.
10865
10866         * text.C (draw): add a warnings lyxerr text if needed.
10867
10868         * layout.C: font.realize function adaption.
10869
10870         * language.C: add inherit_language and implement it's handlings
10871
10872         * bufferview_funcs.C (StyleReset): remove language parameter from
10873         font creation (should be language_inherit now).
10874
10875         * bufferparams.C (writeFile): handle ignore_language.
10876
10877         * paragraph.C (getFontSettings): the language has to be resolved
10878         otherwise we have problems in LyXFont!
10879
10880         * lyxfont.C (lyxWriteChanges): added document_language parameter
10881         (update): removed unneeded language parameter
10882
10883         * paragraph.C (validate): fixed wrong output of color-package when
10884         using interface colors for certain fonts in certain environments,
10885         which should not seen as that on the final output.
10886
10887 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * BufferView_pimpl.C:
10890         * Thesaurus.h:
10891         * Thesaurus.C:
10892         * Makefile.am:
10893         * commandtags.h:
10894         * LyXAction.C: add thesaurus support
10895
10896         * lyxfind.h:
10897         * lyxfind.C: add "once" parameter, for thesaurus, to not
10898           move to the next match
10899
10900 2001-07-26  Juergen Vigna  <jug@sad.it>
10901
10902         * lyxfont.C (realize): honor ignore_language too!
10903         (resolved): ditto.
10904
10905         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10906
10907         * text.C (draw): one place more for ignore_language to not draw
10908         itself!
10909
10910 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10911
10912         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10913
10914 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10915
10916         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10917         the minipage conversion problem.
10918
10919 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10922         insert an inset.
10923
10924 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * BufferView.h: don't forward declare WorkArea
10927
10928         * BufferView.C: don't include WorkArea.h
10929
10930 2001-07-25  André Pönitz <poenitz@gmx.net>
10931
10932         * commandtags.h:
10933         * LyXAction.C:
10934         * lyxfunc.C:  new LFUN 'math-space'
10935
10936         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10937
10938 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * text2.C (toggleInset): call open/close
10941
10942 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * lyxfunc.C (dispatch): add debug for the disabled case
10945
10946         * font.C (buttonText): make similar to rectText
10947
10948         * buffer.C (readInset): comment out parsing of insetlist and
10949         insttheorem
10950
10951         * PainterBase.C (rectText): small correction
10952
10953         * BufferView_pimpl.C: comment out insettheorem and insetlist
10954         * LyXAction.C: ditto
10955         * commandtags.h: ditto
10956
10957 2001-07-24  Juergen Vigna  <jug@sad.it>
10958
10959         * text.C (draw): honor the ignore_language.
10960
10961         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10962
10963 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10964
10965         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10966         char inset.
10967
10968 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10969
10970         * lyxtext.h: remove unused (and unimplemented) methods
10971
10972 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10973
10974         * text.C (getVisibleRow): honor background color
10975
10976         * PainterBase.h:
10977         * Painter.h: remove default color argument for fillRectangle
10978
10979         * text.C (backgroundColor): new method
10980
10981 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * text.C (getVisibleRow): adjust
10984
10985         * font.[Ch] (rectText): new method, metrics
10986         (buttonText): new method, metrics
10987
10988         * PainterBase.[hC]: make rectText and buttonText always draw and take
10989         fewer paramteres.
10990
10991 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10992
10993         * ToolbarDefaults.C (read):
10994         * MenuBackend.C (read): allow escaping in all strings
10995
10996         * BufferView_pimpl.C (insertAndEditInset): new method.
10997         (Dispatch): use insertAndEditInset whenever appropriate.
10998
10999         * BufferView_pimpl.C (insertNote): removed
11000
11001         * BufferView_pimpl.C (smartQuote): new method, moved from
11002         BufferView; if an insetquote cannot be inserted, insert a '"'
11003         character instead.
11004
11005         * BufferView2.C: remove insertCorrectQuote();
11006
11007         * lyxfunc.C (getStatus): Add support for all remaingin
11008         inset-insert lfuns.
11009
11010         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11011
11012         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11013         command (necessary to pass " as parameter of self-insert.
11014
11015         * text.C (selectWordWhenUnderCursor):
11016         (selectWord): add word_location parameter
11017         (selectWordWhenUnderCursor): same + remove special code for word
11018         boundary.
11019         (selectNextWord): use kind() to guess type of insetspecialchar,
11020         not latex().
11021
11022         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11023         (insertErtContents): create ert insets as collapsed.
11024         (readInset): better compatibility code for Info inset.
11025
11026 2001-07-20  Juergen Vigna  <jug@sad.it>
11027
11028         * lyxfunc.C (dispatch): use always LyXFind now!
11029
11030         * text2.C (init): add a reinit flag so that the LyXText can be
11031         reinited instead of deleted and reallocated (used in InsetText).
11032
11033         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11034
11035         * text.C: ditto
11036
11037         * text2.C: ditto
11038
11039 2001-07-18  Juergen Vigna  <jug@sad.it>
11040
11041         * text.C (selectNextWord): handle insets inside inset by calling
11042         always the bv->text functions so that we can go up the_locking_inset!
11043
11044         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11045         in strange locations when inside an inset!
11046
11047         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11048         handling to include insets.
11049
11050         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11051
11052 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11053
11054         * LyXAction.C (init):
11055         * commandtags.h:
11056         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11057         LIGATURE_BREAK, since the name is so stupid.
11058
11059 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11060
11061         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11062         InsetInfos.
11063
11064         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11065
11066         * sp_form.[Ch]: remove.
11067
11068         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11069
11070         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11071         InsetInfo.
11072
11073         * src/buffer.C (readInset): ditto.
11074
11075 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11076
11077         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11078         menuSeparator(), endOfSentenceDot(), ldots() and
11079         hyphenationPoint(), which are therefore removed.
11080         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11081
11082         * LyXAction.C (init):
11083         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11084
11085         * paragraph.C (getWord): removed.
11086
11087         * BufferView_pimpl.C (Dispatch): use last word or selection for
11088         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11089
11090         * lyx_main.C (queryUserLyXDir): do not ask before creating
11091         user_dir, except if it has been named explicitely.
11092
11093 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11094
11095         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11096         a document of zero size.
11097
11098 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11099
11100         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11101         approriately in the c-tor and in require().
11102         (getPackages): output the appropriate LaTeX for natbib support.
11103
11104         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11105         variables "use_natbib" and "use_numerical_citations" when reading the
11106         LyX file.
11107         (readInset): read the various natbib cite commands.
11108         (validate): white-space change.
11109
11110         * bufferparams.[Ch]: new variables "bool use_natbib" and
11111         "bool use_numerical_citations".
11112         (writeFile): output them in the LyX file.
11113
11114 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11115
11116         * lyxfunc.C (getStatus): add support for all the inset insertion
11117         commands.
11118
11119         * text2.C (insertInset):
11120         * paragraph.C (insetAllowed):
11121         * BufferView_pimpl.C (insertInset): update to take in account the
11122         renaming of insertInsetAllowed
11123
11124         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11125
11126         * text2.C (getInset): new method. returns inset at cursor position.
11127
11128         * BufferView_pimpl.C (Dispatch): changes because of this.
11129
11130         * LyXAction.C (init): rename open-stuff to inset-toggle.
11131
11132         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11133
11134         * text2.C (toggleInset): renamed from openStuff; use
11135         Inset::open().
11136
11137 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11138
11139         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11140
11141         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11142
11143 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11144
11145         * buffer.C (readLyXformat2): Add filename to the error dialog
11146
11147 2001-07-18  Juergen Vigna  <jug@sad.it>
11148
11149         * tabular.C (GetCellNumber): put an assert here instead of the check!
11150
11151 2001-07-17  Juergen Vigna  <jug@sad.it>
11152
11153         * BufferView_pimpl.C (toggleSelection): adapted too.
11154
11155         * text.C (selectNextWord): adapted for use with insets.
11156         (selectSelectedWord): ditto
11157
11158 2001-07-17  Juergen Vigna  <jug@sad.it>
11159
11160         * sp_spell.C (PSpell): fix initialitation order.
11161
11162 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11163
11164         * paragraph.C: spacing
11165
11166 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11167
11168         * sp_spell.C: repair language selection for pspell
11169
11170 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11171
11172         * lyxfunc.h: change more methods to begin with lower char.
11173
11174 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11177         for unknown layouts.
11178
11179 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11180
11181         * buffer.C (readLyXformat2): Generate an error dialog if there are
11182         unknown layouts.
11183
11184 2001-07-16  Juergen Vigna  <jug@sad.it>
11185
11186         * sp_spell.C: always compile ISpell part.
11187
11188         * lyxrc.C: added use_pspell entry and it's handling.
11189
11190 2001-07-13  Juergen Vigna  <jug@sad.it>
11191
11192         * sp_spell.C: removed double includes.
11193
11194 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11195
11196         Consistent use of Lsstream.h:
11197         * Lsstream.h: added using std::stringstream for consistencies sake.
11198
11199         * buffer.C: removed using std::stringstream
11200
11201         * lyxfont.C (stateText):
11202         * paragraph.C (asString):
11203         * text.C (selectNextWord, selectSelectedWord):
11204         * text2.C (setCounter):
11205         * vspace.C (asString, asLatexString):
11206         std::ostringstream -> ostringstream.
11207
11208 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11209
11210         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11211         * commandtags.h: add LFUN_HELP_ABOUTLYX
11212         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11213
11214 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11215
11216         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11217         cursorToggle()
11218         * lyx_gui_misc.C: remove spellchecker
11219         * lyxfunc.C: showSpellchecker
11220         * sp_base.h: added
11221         * sp_ispell.h: added
11222         * sp_pspell.h: added
11223         * sp_spell.C: added
11224         * sp_form.[Ch]: removed
11225         * spellchecker.[Ch]: removed
11226
11227 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11228
11229         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11230         is set.
11231         (simpleTeXSpecialChars): Simply print the input character without
11232         any special translation if pass_thru is set.
11233
11234         * layout.h: Added bool pass_thru to layout class for being able to
11235         implement pass through of a paragraph for Literate Programming.
11236
11237         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11238         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11239         * layout.C (Read): add "passthru" to list of layout tags and add
11240         code to set the pass_thru boolean when it is read.
11241
11242 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11243
11244         * trans_decl.h: remove allowed from KmodInfo
11245
11246         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11247         remove allowed code
11248         (Load): adjust
11249
11250         * paragraph_pimpl.C (erase): use boost::prior
11251
11252         * Painter.C (text): use data() instead of c_str() when length is
11253         also provided.
11254         * WorkArea.C (putClipboard): ditto
11255         * font.h (width): ditto
11256
11257         * BufferView2.C: use it-> instead of (*it). for iterators
11258         * texrow.C: ditto
11259         * paragraph_pimpl.C: ditto
11260         * paragraph.C: ditto
11261         * minibuffer.C: ditto
11262         * language.C: ditto
11263         * kbmap.C: ditto
11264         * encoding.C: ditto
11265         * counters.C: ditto
11266         * converter.C: ditto
11267         * chset.C: ditto
11268         * Variables.C: ditto
11269         * TextCache.C: ditto
11270         * MenuBackend.C: ditto
11271         * LyXAction.C: ditto
11272         * LColor.C: ditto
11273         * FloatList.C: ditto
11274         * DepTable.C: ditto
11275         * ColorHandler.C (LyXColorHandler): ditto
11276
11277 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11278
11279         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11280
11281         * text2.C (openStuff): reintroduce this method (which had been
11282         nuked in NEW_INSETS frenzy).
11283
11284         * lyxfunc.C (Dispatch): when an action has not been handled, use
11285         its name in the error message, not its number.
11286
11287         * paragraph.C (inInset): change method name to begin with lowercase.
11288
11289         * undo_funcs.C:
11290         * text2.C: updates because of this.
11291
11292 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11293
11294         * ToolbarDefaults.C (add): add spaces in error message
11295
11296 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11297
11298         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11299         (readLyXformat2): rename return_par to first_par, use lyxlex's
11300         pushToken and remove the manual push handling.
11301         (parseSingleLyXformat2Token): add another ert comp. variable:
11302         in_tabular, rename return_par to first_par. handle newlines better
11303
11304 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11305
11306         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11307
11308 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11309
11310         * text2.C (getParFromID): removed
11311
11312         * buffer.C (getParFromID): new method moved form lyxtext.
11313         * BufferView2.C (insertErrors): adjust
11314         (setCursorFromRow): adjust
11315         * BufferView_pimpl.C (restorePosition): adjust
11316         * lyxfunc.C (Dispatch): adjust
11317         * undo_funcs.C (textUndo): adjust
11318         (textRedo): adjust
11319         (textHandleUndo): adjust
11320         (textHandleUndo): adjust
11321
11322 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * buffer.C: up' the LYX_FORMAT
11325
11326         * lyxfont.h: turn NO_LATEX on as default
11327
11328         * buffer.C (insertErtContents): new methods of tex style compability.
11329         (parseSingleLyXformat2Token): use it several places.
11330         * tabular.C (OldFormatRead): and here
11331
11332 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * text2.C: remove some commented code.
11335         reindent file.
11336
11337         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11338         * trans.C: changes because of the above.
11339
11340 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11341
11342         * text2.C (setCounter): Fix counters bug with bibliography layout.
11343
11344 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11345
11346         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11347         own member functions
11348         (simpleTeXSpecialChars): ditto
11349
11350 2001-07-06  Juergen Vigna  <jug@sad.it>
11351
11352         * a lot of files: changed the access to LyXText::status and the
11353         call of undo-functions.
11354
11355         * undo.[Ch]: added a inset_id to the undo informations.
11356
11357         * undo_funcs.[Ch]: added and moved here all undo functions.
11358
11359         * lyxtext.h: give the status enum a weight, made status_ a private
11360         variable and made accessor functions for it, removed the whole bunch
11361         of undo-functions as they are now in their own file, make some
11362         functions publically available. Added function ownerParagraph with
11363         int parameter.
11364
11365         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11366         made InInset() a const function, added getParFromID() function.
11367
11368         * buffer.[Ch]: added const version for inset_iterator functions,
11369         added getInsetFromID() function.
11370
11371         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11372         changed undo functions for new version.
11373
11374 2001-07-05  Juergen Vigna  <jug@sad.it>
11375
11376         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11377         unknow mechanism does not call the proper constructor but only this
11378         one also if I request the other!?
11379
11380 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11383
11384         * text2.C (LyXText): use initialization lists.
11385
11386         * lyxtext.h (Selection): initialize set_ and mark_
11387         (init): remove method
11388
11389 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11390
11391         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11392
11393 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11394
11395         * screen.[Ch]: change method names to begin with lowercase
11396
11397         * BufferView_pimpl.C (updateScrollbar): simplify further and
11398         hopefully make it a bit faster.
11399
11400 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11401
11402         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11403         calling directly xforms functions.
11404
11405         * Painter.C (Painter):
11406         * lyx_cb.C (MenuWrite):
11407         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11408         fl_display.
11409
11410         * lyx_gui.C: remove bogus guiruntime extern declaration.
11411
11412 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11415         in NEW_INSETS
11416         (redoDrawingOfParagraph): ditto
11417         (redoParagraphs): ditto
11418         (cutSelection): don't create a object for CutAndPaste use the
11419         static method directly
11420         (pasteSelection): ditto
11421
11422         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11423         LyXview (+ rename)
11424
11425 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * modifications to some other files because of this.
11428
11429         * Makefile.am (lyx_SOURCES): add XFormsView
11430
11431         * XFormsView.[Ch]: new files
11432
11433         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11434         the main window. Move the gui dependent stuff to XFormsView
11435
11436 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11437
11438         * tabular.C (GetCellInset): update cur_cell also in the row/col
11439         version of this function.
11440
11441         * lyxfunc.C: no need to include figure_form.h here.
11442
11443         * FontLoader.h:
11444         * lyxfunc.h:
11445         * lyxscreen.h:
11446         * text2.C:
11447         * lyxvc.C: no need to include forms.h here.
11448
11449 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11452
11453         * lyxfunc.C (Dispatch):
11454         * Spacing.C (set):
11455         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11456         constructor argument.
11457
11458 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * paragraph.C (Paragraph): dont't clear, and just set layout.
11461         (makeSameLayout): use params's copy contructor.
11462
11463         * ParagraphParameters.[Ch] (makeSame): delete method
11464
11465 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * Variables.[Ch]: fix indentation, rename set to isSet
11468
11469 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * lyxfunc.C (Dispatch): fix typo
11472
11473 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11474
11475         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11476         upper_bound.
11477
11478         * bufferlist.C: include assert.h for emergencyWrite().
11479
11480 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11481
11482         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11483           give up at last (bug #425202) !
11484
11485 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * lyx_gui_misc.C:
11488         * sp_form.h:
11489         * sp_form.C:
11490         * spellchecker.h:
11491         * spellchecker.C: strip spellchecker options and bring up
11492           preferences tab instead
11493
11494 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11497         the istringstream constructor
11498
11499 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11500
11501         * paragraph.C (getLayout): fix return value
11502
11503         * paragraph.h: do not declare getLayout as inline.
11504
11505         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11506
11507 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11508
11509         * lyxcursor.h (operator<): new func
11510         (operator>): new func
11511         (operator>=): new func
11512         (operator<=): new func
11513
11514         * text.C (changeCase): use selection.start and selection.end
11515         (changeRegionCase): require from to be <= to. Require par to be a
11516         valid paragraph.
11517
11518         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11519
11520 2001-06-27  Juergen Vigna  <jug@sad.it>
11521
11522         * text.C (cursorLeftOneWord): changed to return the cursor and added
11523         overlay with BufferView * parameter which calls this one.
11524         (getWord): added
11525         (selectWord): use new getWord function.
11526         (changeCase): renamed from changeWordCase as and extended to work
11527         also on selections.
11528
11529         * lyxtext.h: added enum word_location
11530
11531         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11532         changeCase as this operates now also on selections.
11533
11534 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11535
11536         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11537
11538         * many files: send debug output to Debug::INFO instead of
11539         Debug::ANY.
11540
11541         * converter.C (View):
11542         (Convert):
11543         (Move): send debug output to Debug::FILES instead of console.
11544
11545 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11546
11547         * lyxfunc.C (getStatus): use func_status
11548
11549         * func_status.h: new header, describing the results of
11550         LyXFunc::getStatus;
11551
11552         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11553         LFUN_MATH_HALIGN.
11554
11555 2001-06-25  The LyX Project  <jug@sad.it>
11556
11557         * buffer.C (sgmlOpenTag):
11558         (sgmlCloseTag):
11559         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11560
11561 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * text2.C: remove some dead code
11564
11565         * tabular.C (GetCellInset): store the last cell checked (gotten)
11566
11567         * tabular.h: add the helper for the speedup
11568
11569         * lyxtext.h: remove some dead code
11570
11571 2001-06-26  The LyX Project  <Asger>
11572
11573         * paragraph.C: Change export to LaTeX of alignment to
11574         \begin{center} and family for better roundtrip work with reLyX.
11575
11576         * Tune the math drawing a bit.
11577
11578 2001-06-25  The LyX Project  <Asger>
11579
11580         * LColor.C (LColor): New color for math background. New color
11581         for buttons.
11582
11583 2001-06-25  The LyX Project  <jug@sad.it>
11584
11585         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11586
11587         * lyxfunc.C (Open):
11588         * bufferlist.C (newFile): do not restrict to files ending with
11589         .lyx
11590
11591         * BufferView_pimpl.C (MenuInsertLyXFile):
11592
11593 2001-06-24  The LyX Project  <jug@sad.it>
11594
11595         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11596         of compare_no_case
11597
11598 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * lyxtext.h: rename most methods to begin with a small char.
11601         Lots of changes because of this.
11602
11603         * paragraph.C (Paragraph): do not call fitToSize
11604         (erase): call Pimpl::erase
11605         (insertChar): call Pimpl::insertChar
11606         (insertInset): call Pipl::insertInset
11607         (breakParagraph): do not call fitToSize
11608         (breakParagraphConservative): do not call fitToSize
11609         (fitToSize): remove method
11610
11611         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11612
11613 2001-06-24  The LyX Project  <Asger>
11614
11615         * Fix Qt compilation^2
11616
11617 2001-06-24  The LyX Project  <jug@sad.it>
11618
11619         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11620         depthHook(getDepth()-1).
11621
11622         * paragraph.h:
11623         * ParagraphParameters.h:
11624         * ParameterStruct.h: change type of depth to unsigned int ==
11625         depth_type. Many adaptations to other files before of that.
11626
11627 2001-06-24  The LyX Project  <Asger>
11628
11629         * Fix Qt compilation.
11630
11631 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * paragraph.h: renamed several methods to begin with small letter.
11634         several changes to many parts of the code because of this.
11635
11636 2001-06-23  The LyX Project  <jug@sad.it>
11637
11638         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11639         rewritten to discard all double spaces when KeepEmpty is off
11640         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11641         to only handle newlines but not fiddle with spaces and friends.
11642
11643         * lyxfunc.C (MenuNew): when doing 'new from template', use
11644         template_path as default directory
11645
11646 2001-06-23  The LyX Project  <Asger>
11647
11648         * Clean-up of header file includes all over
11649         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11650
11651 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * paragraph.h: renamed from lyxparagraph.h
11654
11655 2001-06-23  Asger  <lyx@violet.home.sad.it>
11656
11657         * Buffer.h: Removed Buffer::resize
11658         * BufferList.h: Removed BufferList::resize
11659         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11660         the document lazily when we change the width, or the font settings.
11661
11662 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11665
11666 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11667
11668         * buffer.h: remove out of date comment
11669
11670 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11671
11672         * lyxscreen.h:
11673         * screen.C: fix "theoretical" GC leak
11674
11675 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11676
11677         * LaTeX.C (scanAuxFile):
11678         (deplog): remove trailing \r when reading stream (useful under
11679         win32)
11680
11681 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11682
11683         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11684         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11685         and BufferView::theLockingInset(Inset*), so should use them and not
11686         access bv_->text->the_locking_inset directly.
11687
11688         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11689
11690 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * Makefile.am:
11693         * tex-defs.h: remove old unused file
11694
11695 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * BufferView_pimpl.C: fix typo, remove minibuffer message
11698           when buffer has loaded
11699
11700 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * lyxfunc.C (Dispatch): use stringstream
11703         (MenuNew): use stringstream
11704         (Open): use stringstream
11705
11706         * importer.C (Import): use stringstream
11707
11708         * bufferview_funcs.C (CurrentState): use stringstream
11709
11710         * LaTeX.C (run): use stringstream
11711
11712         * BufferView_pimpl.C (savePosition): use stringstream
11713         (restorePosition): use stringstream
11714         (MenuInsertLyXFile): use stringstream
11715
11716 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11717
11718         * BufferView.C:
11719         * Bullet.C:
11720         * ColorHandler.C:
11721         * FontInfo.C:
11722         * FontLoader.C:
11723         * LColor.C:
11724         * LaTeXFeatures.C:
11725         * Painter.C:
11726         * gettext.C:
11727         * lyx_gui_misc.C:
11728         * lyxserver.C:
11729         * vspace.C: removed // -*- C++ -*- as first line.
11730
11731         * lyxfind.h:
11732         * version.h: added // -*- C++ -*- as first line.
11733
11734 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11735
11736         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11737
11738         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11739         of string
11740
11741 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11742
11743         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11744         of floats.
11745
11746 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * gettext.C: include LString.h even when --disable-nls is on.
11749
11750 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         * converter.h (Get): changed argument type from int to
11753         FormatList::size_type to avoid unnecessary conversion.
11754
11755         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11756         before using it.
11757
11758 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * gettext.h: include LString.h even when --disable-nls is on.
11761
11762 2001-06-07  Juergen Vigna  <jug@sad.it>
11763
11764         * text.C (BreakAgain): subst spaces with tabs.
11765
11766         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11767         (resizeInsetsLyXText): set force on resizeLyXText.
11768
11769 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * gettext.h (gettext_init):
11772         (locale_init): use a real definition instead of a macro
11773
11774 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11775
11776         * Bufferview_pimpl.C:
11777         * LColor.h:
11778         * LColor.C: further lcolor tidies
11779
11780 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * BufferView_pimpl.C (updateScrollbar): simplify.
11783
11784         * BufferView2.C: don't include insets/insetinfo.h, change
11785         prototype for insertInset and call the Pimpl version. let
11786         updateInset call Pimpl version.
11787
11788         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11789         gotoInset to BufferView::Pimpl
11790
11791 2001-06-01  Juergen Vigna  <jug@sad.it>
11792
11793         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11794         inside a LockingInset (is the update needed at all?).
11795
11796 2001-05-31  Juergen Vigna  <jug@sad.it>
11797
11798         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11799         here not the old one otherwise how should we compare it afterwards
11800         if it's the same!
11801
11802 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11803
11804         * lyxfont.C:
11805         * tabular.C:
11806         * tabular-old.C:
11807         * FontInfo.C: bring C functions into global namespace when
11808         necessary
11809
11810 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11811
11812         * LString.h: make sure config.h has been loaded before LString.h.
11813
11814         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11815         (one for each char read by EatLine!).
11816
11817         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11818         variables.
11819
11820 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11821
11822         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11823         to the same as the par we break from
11824
11825 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11828
11829         * MenuBackend.C (expand): also create menu entries for wide
11830         versions of the floats.
11831
11832         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11833
11834         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11835
11836         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11837         frontends/Makefile.am
11838
11839         * text2.C: adjust
11840         * text.C: adjust
11841
11842
11843         * tabular.C (getTokenValue): add std::
11844
11845         * tabular-old.C (getTokenValue): add std::
11846         (getTokenValue): ditto
11847         (getTokenValue): ditto
11848
11849         * screen.C (ToggleSelection): adjust
11850
11851         * lyxtext.h: put selection cursors inside a Selection struct.
11852
11853         * lyxfunc.C (moveCursorUpdate): adjust
11854
11855         * lyxfont.C (latexWriteStartChanges): add std::
11856
11857         * lyxfind.C: adjust
11858
11859         * font.h: delete with(char const *, LyXFont const &)
11860
11861         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11862
11863         * FontInfo.C (getFontname): add std::
11864
11865         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11866         (workAreaButtonPress): adjust
11867         (tripleClick): adjust
11868         (update): adjust
11869         (moveCursorUpdate): adjust
11870         (Dispatch): adjust
11871
11872         * BufferView2.C (gotoInset): adjust
11873
11874 2001-05-30  Juergen Vigna  <jug@sad.it>
11875
11876         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11877         to check pspell I add this as default as I now have new pspell
11878         libraries and they seem to use this.
11879
11880 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11881
11882         * text2.C (CutSelection): make the cursor valid before the call to
11883         ClearSelection.
11884
11885 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11888         relied on 0 terminated strings and other horrors. Bug found due to
11889         the new assert in lyxstring!
11890
11891         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11892         KP_ keys.
11893
11894 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11897         to latinkeys.bind.
11898
11899         * lyxfunc.C (processKeySym): change method of getting to the
11900         self-insert char.
11901
11902         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11903         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11904         * BufferView_pimpl.[Ch]: here as private methods.
11905
11906 2001-05-28  Juergen Vigna  <jug@sad.it>
11907
11908         * text.C (SetHeightOfRow): added the update() call again as it is
11909         needed to initialize inset dimensions!
11910
11911 2001-05-16  Juergen Vigna  <jug@sad.it>
11912
11913         * text2.C (SetCharFont): Add new function with BufferView * and
11914         bool toggleall parameters for setting insets internal fonts.
11915         (SetFont): Freeze the undo as we may change fonts in Insets and
11916         all this change should be inside only one Undo!
11917
11918         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11919         setting font's in insets as for them we have the SetFont function!
11920
11921 2001-05-15  Juergen Vigna  <jug@sad.it>
11922
11923         * text2.C (ClearSelection): to be sure we REALLY don't have any
11924         selection anymore!
11925
11926         * tabular.C (TeXCellPreamble): fixed the left border problem for
11927         multicolumn cells.
11928
11929 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11932         dependancy file
11933
11934 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11937         LFUN_BREAKPARAGRAPH.
11938
11939         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11940         help test to "internal only", similar for LFUN_INSERT_URL
11941
11942         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11943         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11944         auto_region_delete and deadkeys.
11945
11946 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * LColor.h:
11949         * LColor.C: remove some dead entries, tidy a little
11950
11951 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11954         commented code.
11955         (Dispatch): implement LFUN_ESCAPE
11956
11957         * commandtags.h: add LFUN_ESCAPE
11958
11959         * LyXAction.C (init): add entry for LFUN_ESCAPE
11960
11961         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11962         Remove commented code.
11963         (insertNote): moved here
11964         (open_new_inset): moved here
11965
11966         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11967         BufferView_pimpl
11968
11969 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11970
11971         * kbmap.C (findbinding): clean it up and make it work correctly.
11972
11973         * lyx_main.C (init): do not pass argc and argv as parameters
11974
11975 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11976
11977         * buffer.C: fix path for OS/2 & Win32
11978
11979         * lyx_gui.C:
11980         * lyx_main:
11981         * lyx_main.C: Added os:: class.
11982
11983         * os2_defines.h: update
11984
11985 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11988         better by trying again with reduced state.
11989
11990 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11991
11992         * lyxrc.C (read): print error about invalid key sequence only when
11993         debugging (because not all latinX keysyms are known to some X
11994         servers)
11995
11996         * kbsequence.C (getiso): add a few std:: qualifiers
11997         (getiso): comment out extra return statement.
11998
11999 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12002         handling.
12003         (Dispatch): enhance the accent inset a bit. (not perfect)
12004
12005 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12008
12009 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12010
12011         * bufferlist.C (emergencyWrite): fix assert() call
12012
12013 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12014
12015         * text.C (InsertChar): Added trivial patch to only send the "you
12016         can not do multiple spaces this way" message once during a
12017         session.
12018
12019 2001-05-08  Baruch Even  <baruch@lyx.org>
12020
12021         * Makefile.am: Changed order of libraries to get LyX to link properly
12022         with the gnome frontend.
12023
12024 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12025
12026         * LaTeXFeatures.h: add a std:: qualifier
12027
12028 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * paragraph.C (String): use stringstream
12031
12032 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * paragraph.C (writeFile): remove footflag arg
12035
12036         * buffer.C (makeLaTeXFile): use stringstream
12037         (latexParagraphs): remove footnot gurba
12038
12039         * LaTeXFeatures.C (getPackages): use stringstream
12040         (getMacros): likewise
12041         (getTClassPreamble): likewise
12042         (getFloatDefinitions): new method
12043
12044         * paragraph.C (writeFile): reindent
12045         (Erase): reindent
12046
12047         * WorkArea.h: revert the xpos + etc changes.
12048
12049         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12050
12051         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12052
12053         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12054         (pasteSelection): likewise
12055         * text2.C (CreateUndo): likewise
12056
12057 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * minibuffer.C (peek_event): temporarily reduce the functionality
12060         of the minibuffer (to allow args on lfuns)
12061
12062         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12063         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12064
12065         * buffer.C (readInset): add compability reading of old float
12066         lists, add reading of new style float list.
12067         (readInset): avoid reevaluation of inscmd.getCmdName()
12068         (getLists): reindent
12069
12070         * MenuBackend.C (MenuItem): implement parsing of
12071         md_floatlistinsert and md_floatinsert.
12072         (expand::LastFiles): move initalizaton of iterators out of loop,
12073         avoid reevaluation.
12074         (expand::Documents): introduce typdedef vector<string> Strings,
12075         and use it.
12076         (expand::ExportFormats): introduce typedef vector<Format const *>
12077         Formats, and use it.
12078         (expand): implement FloatListInsert and FloatInsert.
12079
12080         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12081         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12082         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12083
12084         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12085         handling.
12086         (Dispatch::LFUN_FLOAT_LIST): implement
12087
12088 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12089
12090         * LaTeX.C (run): Fix problem with --export code.
12091
12092 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12093
12094         * BufferView.[Ch] (workarea): removed.
12095         (getClipboard) new method; wrapper for workarea()->getClipboard()
12096
12097         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12098         bug.
12099
12100         * WorkArea.h (width, height, xpos, ypos): These methods all
12101         returned the dimensions of the work_area sub-area of WorkArea,
12102         resulting in a position error if the WorkArea were resized. Now
12103         return the dimensions of the entire WorkArea.
12104
12105         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12106
12107 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12108
12109         * LaTeX.C (deplog): correct the syntax of regex reg1
12110
12111 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * undo.C: remove !NEW_INSETS cruft
12114
12115 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * text2.C: remove !NEW_INSETS cruft
12118
12119         * text.C: remove !NEW_INSETS cruft
12120
12121         * tabular.C: remove !NEW_INSETS cruft
12122
12123         * spellchecker.C: remove !NEW_INSETS cruft
12124
12125         * lyxtext.h: remove !NEW_INSETS cruft
12126
12127         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12128
12129         * lyxfunc.C: remove !NEW_INSETS cruft
12130
12131         * lyxfind.C: remove !NEW_INSETS cruft
12132
12133         * lyx_cb.C: remove !NEW_INSETS cruft
12134
12135         * figureForm.C: remove  !NEW_INSETS cruft
12136
12137         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12138
12139         * buffer.[Ch]: remove !NEW_INSETS cruft
12140
12141         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12142
12143         * CutAndPaste.C: remove !NEW_INSETS cruft
12144
12145         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12146
12147         * BufferView2.C: remove !NEW_INSETS cruft
12148
12149         * BufferView.h: remove !NEW_INSETS cruft
12150
12151 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12152
12153         * Lsstream.h: include LString.h before the sstream headers to
12154         fix problem with gcc 2.95.3 and lyxstring
12155
12156 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12157
12158         * lyx_main.C: add using directives when needed for C functions
12159         declared in std:: namespace.
12160
12161 2001-04-27  Juergen Vigna  <jug@sad.it>
12162
12163         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12164         (SetHeightOfRow): comment out the update call should not be needed!
12165
12166 2001-04-13  Juergen Vigna  <jug@sad.it>
12167
12168         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12169         (LyXTabular): tried to minimize operator= operations (and realized
12170         hopfully Lars wish).
12171
12172 2001-04-27  Juergen Vigna  <jug@sad.it>
12173
12174         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12175
12176 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12179
12180         * buffer.C (readInset): hack to make listof algorithm work
12181
12182         * BufferView_pimpl.C: hack to make listof algorithm work
12183
12184 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * LyXAction.C: removed all !NEW_INSETS cruft
12187         (init): moved lfun_item in method
12188
12189         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12190
12191 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12192
12193         * BufferView2.C (theLockingInset): white space.
12194
12195 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * minibuffer.C: include <iostream>
12198
12199         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12200
12201         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12202
12203         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12204
12205         * text.[Ch] (TransposeChars): new method
12206
12207 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * call message directly through LyXView instead of through LyXFunc
12210         * BufferView2.C: adjust
12211         * BufferView_pimpl.C: adjust
12212         * FontLoader.C: adjust
12213         * buffer.C: adjust
12214         * bufferview_funcs.C: adjust
12215         * converter.C: adjust
12216         * figureForm.C: adjust
12217         * importer.C: adjust
12218         * lyx_cb.C: adjust
12219         * lyx_gui_misc.C: adjust
12220         * lyxfunc.C: adjust
12221         * lyxvc.C: adjust
12222         * text2.C: adjust
12223         + more files in subdirs
12224
12225         * lyxparagraph.h (size): move up int file
12226         (GetLayout): ditto
12227
12228         * adjust all uses of Assert to lyx::Assert.
12229
12230         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12231         lyxfunctional in namespace lyx
12232         * layout.C (hasLayout): ditto
12233         (GetLayout): ditto
12234         (GetLayout): ditto
12235         (delete_layout): ditto
12236         (NumberOfClass): ditto
12237         * converter.C (GetFormat): ditto
12238         (GetNumber): ditto
12239         (Add): ditto
12240         (Delete): ditto
12241         (SetViewer): ditto
12242         * bufferlist.C (getFileNames): ditto
12243         (emergencyWriteAll): ditto
12244         (exists): ditto
12245         (getBuffer): ditto
12246         * MenuBackend.C (hasSubmenu): ditto
12247         (hasMenu): ditto
12248         (getMenu): ditto
12249         * BufferView_pimpl.C (getInsetByCode): ditto
12250
12251 2001-04-18  Juergen Vigna  <jug@sad.it>
12252
12253         * vspace.C (asLatexString): fixed the 100% problem.
12254
12255 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * lyxfunc.C (Dispatch):
12258         * minibuffer.C:
12259         * minibuffer.h: add a few std:: qualifiers
12260
12261 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12262
12263         * minibuffer.[Ch]: reimplement so that commands is initiated and
12264         run from lyxfunc, simplified som handling, and made the completion
12265         and history code for complete. wip.
12266
12267         * lyxfunc.C (processKeySym): call message
12268         (miniDispatch): new temporary method
12269         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12270         (LFUN_MESSAGE): implement
12271         (LFUN_MESSAGE_PUSH): implement
12272         (LFUN_MESSAGE_POP): implement
12273         (initMiniBuffer): the initial/defualt minibuffer message.
12274
12275         * lyxfont.[Ch]: inline some more getters
12276
12277         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12278
12279         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12280
12281         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12282         (AutoSave): use LFUN_MESSAGE
12283         (Reconfigure): ditto
12284
12285         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12286
12287         * figureForm.C: use LFUN_MESSAGE
12288
12289         * converter.C (runLaTeX): use LFUN_MESSAGE
12290
12291         * bufferview_funcs.C: use LFUN_MESSAGE
12292         (Melt): ditto
12293         (changeDepth): ditto
12294
12295         * bufferparams.h: use boost::
12296
12297         * bufferlist.h: inherit privately from noncopyable
12298
12299         * bufferlist.C (loadLyXFile): remove some commented code.
12300
12301         * buffer.C (runChktex): use LFUN_MESSAGE
12302
12303         * ShareContainer.h: inherit privately from noncopyable
12304
12305         * ParagraphParameters.[hC] (depth): inline it.
12306
12307         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12308         methods.
12309         (message): new method
12310         (messagePush): ditto
12311         (messagePop): ditto
12312         (show): init minibuffer
12313         (showState): direct call
12314
12315         * LaTeX.[Ch]: inherit privately from noncopyable
12316         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12317         instead of WriteStatus.
12318
12319         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12320
12321         * BufferView_pimpl.C (buffer): don't init minibuffer
12322         (workAreaButtonPress): use LFUN_MESSAGE
12323         (workAreaButtonRelease): ditto
12324         (savePosition): ditto
12325         (restorePosition): ditto
12326         (MenuInsertLyXFile): ditto
12327         (workAreaExpose): don't init minibuffer
12328         (update): remove commented code, simplify
12329
12330         * BufferView2.C (openStuff): use LFUN_MESSAGE
12331         (toggleFloat): ditto
12332         (menuUndo): ditto
12333         (menuRedo): ditto
12334         (copyEnvironment): ditto
12335         (pasteEnvironment): ditto
12336         (copy): ditto
12337         (cut): ditto
12338         (paste): ditto
12339         (gotoInset): ditto
12340         (updateInset): remove some commented code
12341
12342         * lastfiles.h: inherit privately from noncopyable
12343         * layout.h: ditto
12344         * lyx_gui.h: ditto
12345         * lyx_main.h: ditto
12346         * lyxlex.h: ditto
12347         * lyxlex_pimpl.h: ditto
12348
12349         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12350         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12351         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12352
12353         * LyXAction.h: inherit privately from noncopyable, add methods
12354         func_begin, func_end, returning iterators to the func map.
12355
12356         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12357         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12358         (func_begin): new method
12359         (func_end): new method
12360
12361         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12362         and not)
12363         (copySelection): ditto
12364         (pasteSelection): ditto
12365
12366         * BufferView.C: whitespace change
12367         * BufferView.h: inherit privately from noncopyable
12368
12369 2001-04-16  Allan Rae  <rae@lyx.org>
12370
12371         * tabular-old.C (l_getline):
12372         * spellchecker.C (sc_check_word):
12373         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12374         an unrecognised preprocessor directive.  So ensure they're wrapped.
12375
12376 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * src/exporter.C (Export): Give an error message when path to file
12379         contains spaces.
12380
12381 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12382
12383         * LaTeX.C (deplog): Always check that foundfile exists.
12384
12385 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12386
12387         * lyx_main.h:
12388         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12389
12390 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * tabular.[Ch] (getLabelList): implement new method
12393
12394         * minibuffer.h: comment ouf setTiimer
12395
12396         * minibuffer.C (ExecutingCB): constify res
12397         (peek_event): constify s
12398         (Set): constify ntext
12399         (Init): constify nicename
12400
12401         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12402
12403         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12404         (savePosition): use two params to Minibuffer::Set
12405         (restorePosition): ditto
12406
12407 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12408
12409         * lyx_main.C: include language.h
12410
12411         * Makefile.am (lyx_main.o): add language.h
12412
12413 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12414
12415         * exporter.C:
12416         * paragraph.C:
12417         * screen.C:
12418         * tabular.C:
12419         * CutAndPaste.C: include gettext.h
12420
12421         * lyxfont.h: remove old hack with ON and OFF.
12422
12423         * lyxparagraph.h:
12424         * lyxfont.h: do not include language.h...
12425
12426         * BufferView2.C:
12427         * LaTeXFeatures.C:
12428         * Painter.C:
12429         * bufferview_funcs.C:
12430         * font.C:
12431         * lyxfont.C:
12432         * text.C:
12433         * text2.C:
12434         * trans_mgr.C:
12435         * paragraph.C: ... but do it here instead
12436
12437 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12440
12441         * tabular.C: small reformat
12442
12443         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12444         NEW_INSETS version
12445         (GetChar): ditto
12446         (BreakParagraph): ditto
12447         (SetOnlyLayout): ditto
12448         (SetLayout): ditto
12449
12450         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12451         with one arg less.
12452
12453         * lastfiles.C: removed most using decl, add std:: where needed
12454
12455         * buffer.C: ws changes
12456
12457         * MenuBackend.C (class compare_format): put into anon namespace
12458         (expand): constify label, names, action, action2
12459         (expand):
12460
12461         * text.C (SingleWidth): constify font
12462         (IsBoundary): constify rtl2
12463         (GetVisibleRow): constify ww
12464
12465         * LaTeX.C (deplog): constify logfile
12466
12467         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12468         start_x, end_x
12469         (workAreaExpose): constify widthChange, heightChange
12470
12471         * lyxrow.C (par): moved
12472         (height): moved
12473         (next): moved
12474         * lyxrow.h: as inlines here
12475
12476         * lyxfont.h (shape): moved from lyxfont.C
12477         (emph): moved from lyxfont.C
12478
12479         * lyxfont.C (LyXFont): use initialization list for all
12480         constructors
12481         (shape): move to lyxfont.h as inline
12482         (emph): move to lyxfont.h as inline
12483
12484
12485 2001-04-04  Juergen Vigna  <jug@sad.it>
12486
12487         * vspace.C: had to include stdio.h for use of sscanf
12488
12489 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * BufferView.h:
12492         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12493         independent of xforms.
12494
12495 2001-04-02  Juergen Vigna  <jug@sad.it>
12496
12497         * spellchecker.C: fixed namespace placing!
12498
12499 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12502         the LyXParagraph * is 0.
12503
12504 2001-03-29  Juergen Vigna  <jug@sad.it>
12505
12506         * vspace.C: added support for %, c%, p%, l%.
12507         (stringFromUnit): added helper function.
12508         (asLatexString): changed to give right results for the %-values.
12509
12510         * buffer.C: convert the widthp in a width%.
12511
12512 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12513
12514         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12515         figureForm.[Ch].
12516
12517         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12518         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12519
12520         * lyx_cb.[Ch]: see above.
12521
12522         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12523         form1.[Ch].
12524
12525         * form1.[Ch]:
12526         * lyx.[Ch]: replaced by figure_form.[Ch].
12527
12528         * lyx_gui.C:
12529         * lyx_gui_misc.C:
12530         * lyxfunc.C: changed headers associated with above changes.
12531
12532 2001-03-27  Juergen Vigna  <jug@sad.it>
12533
12534         * BufferView_pimpl.C: set the temporary cursor right!
12535
12536 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12537
12538         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12539
12540 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * LString.h: removed "using std::getline"!
12543
12544         * BufferView_pimpl.C (Dispatch): changes due to changes in
12545         InsetInclude::Params.
12546
12547         * buffer.C (tag_name): removed redundant break statements as they were
12548         producing lots of warnings with my compiler.
12549
12550 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12551
12552         * LString.h: add "using std::getline" when using the real <string>.
12553
12554 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12555
12556         * buffer.C: removed bitset usage.
12557         PAR_TAG moved to an anonymous name space.
12558         (tag_name): new funtion, also in the anonymous namespace.
12559         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12560         (makeDocBookFile): clean code. Completed transition from string arrays
12561         to string vectors.
12562         (SimpleDocBookOnePar): code clean.
12563
12564 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12565
12566         * tabular.C: add some comments.
12567
12568 2001-03-22  Juergen Vigna  <jug@sad.it>
12569
12570         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12571         compatibility read a bit and fixed bug with minipage in different
12572         depth.
12573
12574 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12575
12576         * buffer.C (pop_tag): removed.
12577         (push_tag): removed.
12578         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12579         array replaced with vector. Added support for CDATA sections.
12580         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12581         at any nest level.
12582         (makeDocBookFile): XML conformant declaration of CDATA section,
12583         fixed bug related to <emphasis> in the first paragraph char.
12584         (sgmlOpenTag): exclude empty tags.
12585         (sgmlCloseTag): ditto.
12586
12587         * buffer.h (pop_tag): removed.
12588         (push_tag): removed.
12589
12590 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12591
12592         * language.h (Languages): added size_type and size().
12593
12594 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12595
12596         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12597         response on compability reading of minipages. One probliem is that
12598         the old usage of minipages was «flertydig»
12599
12600         * several files here and in subdirs: don't use static at file
12601         scope use anon namespaces instead.
12602
12603 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12604
12605         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12606         LaTeX output. This is necessary for Literate document
12607         processing.
12608
12609 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12610
12611         * buffer.C: insert hfill when needed.
12612
12613         * tabular.C (l_getline): use string::erase, small whitespace change.
12614
12615         * BufferView_pimpl.C: try the anon namespace.
12616         * WorkArea.C: ditto
12617
12618 2001-03-16  Juergen Vigna  <jug@sad.it>
12619
12620         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12621         otherwise it won't open options-dialogs.
12622
12623         * buffer.C: honor pextraWidth(p) on converting minipages.
12624
12625         * tabular.C (l_getline): changed the functions to strip trailing \r.
12626
12627 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12628
12629         * BufferView_pimpl.C:
12630         * minibuffer..C: added "using SigC::slot" declaration.
12631
12632 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12633
12634         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12635
12636         * text2.C: ditto
12637
12638         * text.C: ditto
12639
12640         * paragraph.C: ditto
12641
12642         * lyxtext.h: NO_PEXTRA
12643
12644         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12645
12646         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12647         * ParameterStruct.h: ditto
12648         * ParagraphParameters.h: ditto
12649         * lyxparagraph.h: ditto
12650
12651 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12652
12653         * buffer.C: add compability for minipage alignment.
12654         (latexParagraphs): remove unwanted pextra check.
12655
12656         * several files: remove CXX_WORKING_NAMESPACES
12657
12658         * buffer.C (pop_tag): tie is in namespace boost
12659
12660         * BufferView.h: noncopyable is in namespace boost
12661         * lyxlex.h: ditto
12662         * lyx_main.h: ditto
12663         * lyx_gui.h: ditto
12664         * layout.h: ditto
12665         * lastfiles.h: ditto
12666         * bufferlist.h: ditto
12667         * ShareContainer.h: ditto
12668         * LyXView.h: ditto
12669         * LyXAction.h: ditto
12670         * LaTeX.h: ditto
12671
12672 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * Merging changes from BRANCH_MVC back into HEAD.
12675
12676         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12677
12678 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * BufferView_pimpl.C: change from intl.C
12681
12682         * combox.h:
12683         * combox.C:
12684         * Makefile.am: move combox.*
12685
12686         * form1.h:
12687         * form1.C:
12688         * lyx_gui.C:
12689         * intl.h:
12690         * intl.C: remove dialog (covered by prefs)
12691
12692 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12693
12694         * lyxfunc.C (Dispatch): removed redundant break statement.
12695
12696 2001-03-14  Juergen Vigna  <jug@sad.it>
12697
12698         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12699
12700 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12701
12702         * buffer.C: add hack to fix compability reading of minipages.
12703
12704 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12705
12706         * buffer.C (getLists): Cleanup.
12707
12708 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12709
12710         * lyxfont.C (update): don't honor toggleall on font size.
12711
12712 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * bmtable.c:
12715         * bmtable.h:
12716         * Makefile.am: moved to frontends/xforms/
12717
12718         * lyx_gui_misc.C:
12719         * lyxfunc.C:
12720         * BufferView_pimpl.C: changes for moved mathpanel
12721
12722 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * gettext.h: fix gettext_init() in --disable-nls
12725
12726 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12727
12728         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12729
12730 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12731
12732         * lyx.C:
12733         * lyx.h: strip external form
12734
12735 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * BufferView_pimpl.C: add comment, destroySplash()
12738
12739 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * BufferView_pimpl.C:
12742         * LyXAction.C:
12743         * buffer.C:
12744         * commandtags.h:
12745         * lyxfunc.C: use re-worked insetinclude
12746
12747 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12748
12749         * buffer.C: add using std::stringstream.
12750
12751         * lyx_cb.C: readd using std::ios.
12752
12753         * buffer.C: add using std::map.
12754
12755         * BufferView_pimpl.C: add using std::vector.
12756
12757         * ShareContainer.h: add std:: to swap.
12758
12759         * buffer.h: add some typedefs
12760         * buffer.C (getLists): use them
12761         (getLists): renamed from getTocList.
12762         add a counter for the different float types and use it in the
12763         generated string.
12764         (getLists): use the same counter for the NEW_INSETS and the "non"
12765         NEW_INSETS
12766
12767         * lyx_cb.h: remove unused items, includes, using etc.
12768
12769         * ShareContainer.h: remove some commented code, add more comments
12770         and "documentation".
12771
12772 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12773
12774         * buffer.C (getTocList): make the list also when NEW_INSETS is
12775         defined.
12776
12777         * buffer.h: remove TocType
12778
12779         * buffer.C (getTocList): change to return a map<string,
12780         vector<TocItem> >, implement for dynamic number of list.
12781
12782         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12783         * text2.C (PasteSelection): adjust
12784         * CutAndPaste.C (pasteSelection): adjust
12785
12786         * FloatList.C (FloatList): update from the new_insets branch.
12787         * Floating.[Ch]: ditto
12788         * LaTeXFeatures.C: ditto
12789         * buffer.C: ditto
12790         * lyxlex_pimpl.C: ditto
12791
12792         * paragraph.C (Last): remove when NEW_INSETS is defined.
12793
12794         * other file: changes because of the above.
12795
12796 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12797
12798         * lyxparagraph.h: rename next to next_, previous to previous_,
12799         make them private for NEW_INSETS. Rename Next() to next(),
12800         Previous() to previous().
12801
12802         * other files: changes because of the above.
12803
12804 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * BufferView.h:
12807         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12808         problem.
12809
12810 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12811
12812         * main.C (main): pass lyx_localedir to gettext_init().
12813
12814         * gettext.h: remove locale_init and gettext_init macros
12815
12816         * gettext.C (locale_init): new function
12817         (gettext_init): new function
12818
12819         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12820         setlocale().
12821
12822 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12823
12824         * Moved credits to frontends:
12825         * credits.[Ch]: removed
12826         * credits_form.[Ch]: removed
12827         * lyx_gui_misc.C: remove credits stuff
12828         * Makefile.am:
12829
12830 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12831
12832         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12833
12834         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12835         unneeded destructor.
12836
12837         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12838         a standalone pointer again.
12839
12840         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12841
12842 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * Makefile.am:
12845         * filedlg.h:
12846         * filedlg.C:
12847         * LyXAction.C:
12848         * ToolbarDefaults.C:
12849         * bufferlist.C:
12850         * commandtags.h:
12851         * form1.C:
12852         * form1.h:
12853         * lyx_cb.C:
12854         * lyx_cb.h:
12855         * lyxfunc.h:
12856         * lyxfunc.C:
12857         * BufferView_pimpl.C: use new file dialog in GUII
12858
12859         * lyx_cb.h:
12860         * lyx_cb.C: remove LayoutsCB to Toolbar
12861
12862 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12863
12864         * ShareContainer.h (get): add std:: qualifier
12865
12866 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * ShareContainer.h: define a proper ShareContainer::value_type
12869         type (and use typename to please compaq cxx)
12870
12871 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12872
12873         * lyxparagraph.h: move serveral local vars to
12874         ParameterStruct/ParagraphParameters., use ShareContainer in
12875         FontTable., make vars in FontTable private and add getter and
12876         setter.
12877
12878         * paragraph.C: changes because of the above.
12879
12880         * lyxfont.h: remove copy constructor and copy assignment. (the
12881         default ones is ok), move number inside FontBits. move inlines to
12882         lyxfont.C
12883
12884         * lyxfont.C: add number to initializaton of statics, move several
12885         inlines here. constify several local vars. some whitespace
12886         cleanup. Dont hide outerscope variables.
12887
12888         * Spacing.h: add two new constructors to match the set methods.
12889
12890         * ShareContainer.h: new file, will perhaps be moved to support
12891
12892         * ParameterStruct.h: new file
12893
12894         * ParagraphParameters.h: new file
12895
12896         * ParagraphParameters.C: new file
12897
12898         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12899         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12900
12901         * BufferView_pimpl.C: ParagraphParameter changes.
12902         * buffer.C: Likewise.
12903         * bufferview_funcs.C: Likewise.
12904         * text.C: Likewise.
12905         * text2.C: Likewise.
12906
12907 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * lyxfind.C (LyXReplace): do not redefine default argument in
12910         implementation.
12911         (IsStringInText): ditto
12912         (SearchForward): ditto
12913         (SearchBackward): ditto
12914
12915 2001-03-06  Juergen Vigna  <jug@sad.it>
12916
12917         * lyxfind.C (IsStringInText): put parentes around expressions.
12918
12919 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12920
12921         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12922
12923 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12924
12925         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12926
12927         * stl_string_fwd.h: add comment
12928
12929         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12930
12931         * tabular.h:
12932         * tabular.C: remove unused DocBook methods
12933
12934         * intl.C:
12935         * language.C:
12936         * paragraph.C:
12937         * buffer.C:
12938         killed DO_USE_DEFAULT_LANGUAGE
12939
12940 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * lyx_gui.C: do not include language.h.
12943
12944         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12945         arguments in function implementation.
12946
12947 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12948
12949         * BufferView_pimpl.C: add <ctime>
12950
12951 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12952
12953         * BufferView_pimpl.C: add using std::find_if
12954
12955 2001-02-27  José Matos  <jamatos@fep.up.pt>
12956
12957         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12958         by OnlyPath.
12959
12960 2001-02-11  José Matos  <jamatos@fep.up.pt>
12961
12962         * buffer.C (makeDocBookFile): command styles now have a parameter as
12963         "title" by default.
12964
12965 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12966
12967         * layout_forms.[Ch]: removed
12968         * lyx_cb.[Ch]: out character
12969         * lyx_gui.C: out character
12970         * lyx_gui_misc.C: out character
12971         * bufferview_funcs.C: : out character,
12972         added toggleall as parameter in ToggleAndShow
12973
12974 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12975
12976         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12977
12978         * text2.C (SetCurrentFont): Disable number property at boundary.
12979
12980 2001-02-26  Juergen Vigna  <jug@sad.it>
12981
12982         * lyxfunc.C (getStatus): added a string argument override function so
12983         that this is correctly called from LyXFunc::Dispatch if it contains a
12984         do_not_use_argument which is used!
12985         (Dispatch): added check for "custom" export and call appropriate func.
12986
12987 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * lyxrc.C: Add language_command_local, language_use_babel and
12990         language_global_options.
12991
12992         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12993
12994         * buffer.C (makeLaTeXFile): Use language_use_babel and
12995         language_global_options.
12996
12997 2001-02-23  Juergen Vigna  <jug@sad.it>
12998
12999         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13000         which works with LyXText and putted it inside BufferView. Here now we
13001         only call for that part the BufferView::Dispatch() function.
13002
13003         * BufferView.C (Dispatch): added.
13004
13005         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13006         functions which needs to use a LyXText over from LyXFunc.
13007         (MenuInsertLyXFile): added
13008         (getInsetByCode): added
13009         (moveCursorUpdate): added
13010         (static TEXT): added
13011
13012 2001-02-22  Juergen Vigna  <jug@sad.it>
13013
13014         * BufferView_pimpl.C (update): call a status update to see if LyXText
13015         needs it.
13016
13017 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13018
13019         * vc-backend.C (revert): implement for CVS
13020         (getLog): implement for CVS
13021
13022 2001-02-20  Juergen Vigna  <jug@sad.it>
13023
13024         * text2.C (ClearSelection): added BufferView param for inset_owner call
13025
13026         * lyxfunc.C (TEXT): added this function and use it instead of
13027         directly owner->view()-text of getLyXText().
13028
13029 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13030
13031         * src/layout_forms.C: out preamble
13032         * src/layout_forms.h: out preamble
13033         * src/lyx_cb.C: out preamble
13034         * src/lyx_cb.h: out preamble
13035         * src/lyx_gui.C: out preamble
13036         * src/lyx_gui_misc.C: out preamble
13037         * src/lyxfunc.C: connect with guii preamble
13038
13039 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13040
13041         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13042
13043 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13044
13045         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13046         whether to run bibtex.
13047
13048 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13049
13050         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13051
13052 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13053
13054         * Makefile.am (lyx_SOURCES): removed bibforms.h
13055
13056         * vspace.h: doxygen
13057
13058         * text.C (GetVisibleRow): make several local vars const
13059
13060         * tabular.C: small cleanup.
13061
13062         * lyxserver.C (callback): use compare instead of strncmp
13063
13064         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13065         inlines to after class or to paragraph.C
13066
13067         * lyxfont.h: remove friend operator!=
13068
13069         * converter.h: move friend bool operator< to non friend and after
13070         class def.
13071
13072         * combox.h: small cleanup
13073
13074         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13075         to inlines after class def.
13076
13077         * buffer.C (pop_tag): use string operations instead of strcmp
13078
13079         * bmtable.c: doxygen, small cleanup
13080
13081         * LaTeX.h: remove friend operator==
13082
13083 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13084
13085         * screen.C:
13086         * lyxrc.[Ch]:
13087         * lyxfunc.C:
13088         * lyxfont.[Ch]:
13089         * lyx_cb.C:
13090         * intl.[Ch]:
13091         * commandtags.h:
13092         * buffer.C:
13093         * WorkArea.[Ch]:
13094         * LyXAction.C:
13095         * BufferView_pimpl.C:
13096         * BufferView.[Ch]: remove cruft
13097
13098 2001-02-14  Juergen Vigna  <jug@sad.it>
13099
13100         * lyxfunc.C: removed #if 0 unused code
13101
13102         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13103
13104         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13105
13106         * text2.C (SetSelection): added a BufferView * parameter
13107
13108 2001-02-13  Juergen Vigna  <jug@sad.it>
13109
13110         * lyxfunc.C (Dispatch): fixed protected blank problem.
13111         * BufferView2.C (protectedBlank): added LyxText * parameter.
13112
13113         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13114         (AppendColumn): same as above for column_info.
13115
13116         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13117         (moveCursorUpdate): use a LyXText param for support of InsetText.
13118
13119         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13120         (tripleClick): ditto
13121
13122         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13123
13124         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13125
13126         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13127
13128         * text2.C (SetSelection): set correct update status if inset_owner
13129         (ToggleFree): ditto
13130
13131 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13132
13133         * tabular.C: remove some commented code.
13134
13135 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * BufferView_pimpl.C: call hideSplash()
13138
13139         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13140
13141         * include_form.h:
13142         * bibforms.h: remove
13143
13144         * lyxfunc.C:
13145         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13146           add LFUN_CHILD_CREATE
13147
13148         * counters.h: fix tiny typo
13149
13150         * lyx_cb.C:
13151         * lyx.h:
13152         * lyx_gui.C:
13153         * lyx.C: move splash to frontends/xforms/
13154
13155         * lyx_gui_misc.C: move Include and Bibform to frontends
13156
13157         * lyxvc.h: clarify comment
13158
13159         * vspace.C: tiny housekeeping
13160
13161 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13162
13163         * text.C (PrepareToPrint): RTL Fix.
13164
13165         * paragraph.C (GetUChar): New method.
13166         (String):  Use GetUChar.
13167
13168         * buffer.C (asciiParagraph): Use GetUChar.
13169
13170 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13171
13172         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13173
13174 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * buffer.h:
13177         * buffer.C: rename to getLogName(), handle
13178           build log / latex log nicely
13179
13180 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * MenuBackend.C:
13183         * MenuBackend.h: remove support for reference menuitem type.
13184
13185 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13186
13187         * BufferView_pimpl.C: housekeeping
13188         * BufferView_pimpl.h:
13189         * LyXView.h:
13190         * Makefile.am:
13191         * Timeout.C:
13192         * Timeout.h:
13193         * minibuffer.h: move Timeout GUI-I
13194
13195 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13196
13197         * lyxrc.C (read): Update converters data-structures.
13198
13199 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13200
13201         * LaTeX.h (operator!=): add operator != for Aux_Info
13202
13203 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13204
13205         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13206
13207         * LaTeXLog.C: deleted, useful code moved to Buffer
13208
13209         * buffer.h:
13210         * buffer.C: new function getLatexLogName()
13211
13212         * lyx_gui_misc.C:
13213         * lyx_gui.C:
13214         * lyxvc.C:
13215         * lyxvc.h:
13216         * lyxfunc.C: use frontends for LaTeX and VC logs
13217
13218 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * LaTeX.h: yet another std:: that Allan forgot.
13221
13222         * Variables.C (set): renamed from isset(), because this clashes
13223         with some HP-UX macros (grr).
13224
13225 2001-02-06  Allan Rae  <rae@lyx.org>
13226
13227         * LaTeX.h: Another bug fix.  Missing std:: this time.
13228
13229 2001-02-04  Allan Rae  <rae@lyx.org>
13230
13231         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13232         floats problem. I've left it commented out because it's not quite
13233         correct.  It should also test that the current object is a table or
13234         figure inset.  But I haven't gotten around to figuring out how to do
13235         that.  I *think* it'll be something like: "table" == inset.type()
13236
13237         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13238         bool.
13239
13240 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13241
13242         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13243         all the citation/databases/styles in the auxilary file.
13244         (run): Rerun latex if there was a babel language error.
13245
13246 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13247
13248         * text.C (Backspace): Preserve the font when changing newline char
13249         with a space.
13250         (BreakParagraph): If the cursor is before a space, delete the space.
13251
13252         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13253
13254 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13255
13256         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13257         new argument (code).
13258         (ChangeCitationsIfUnique): New method.
13259
13260         * paragraph.C (GetPositionOfInset): Handle bibkey.
13261
13262 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * BufferView_pimpl.h: change type of Position::par_pos to
13265         LyXParagraph::size_type.
13266
13267 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * BufferView_pimpl.C (savePosition, restorePosition): Write
13270         messages to minibuffer.
13271
13272 2001-01-28  José Matos  <jamatos@fep.up.pt>
13273
13274         * buffer.C (makeDocBookFile): adds support for document language.
13275         A silly restriction on the name of LatexCommand types where removed.
13276         Added support for CDATA sections, allows to chars unescaped, used
13277         among others in code, to avoid escape < and >.
13278
13279 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13280
13281         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13282         saved positions instrad of a stack. Furthermore, a position is
13283         stored using paragraph id/paragraph position.
13284
13285         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13286         Remove LFUN_REF_BACK.
13287
13288 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13289
13290         * converter.C (dvipdfm_options): New method.
13291
13292 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13293
13294         * vspace.C (isValidLength): Fix for empty input string.
13295
13296 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13297
13298         * LyXAction.C (init): change description of LFUN_FIGURE to
13299         "Insert Graphics"
13300
13301 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13302
13303         * LaTeX.C: add using directive
13304
13305 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * MenuBackend.C (expand): Fix the sorting of the formats.
13308
13309 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13310
13311         * lyx_main.C: tiny error message fix
13312
13313 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13316         calling fl_initialize(). This fixes the problem with ',' as
13317         decimal separator in text files.
13318
13319 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13320
13321         * trans.C (process): Fix the keymap bug.
13322
13323 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13324
13325         * LaTeX.C (scanAuxFiles): New method. Provides support for
13326         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13327         (scanLogFile) Scan for "run BibTeX" messages.
13328
13329         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13330         OT1 font encoding. Also, load the aecompl package if the ae
13331         package is loaded.
13332
13333         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13334
13335 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * texrow.C (increasePos): turn two error messages into debug
13338         messages.
13339
13340 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * LaTeX.C (scanAux): Handle the \@input macro.
13343         (runBibTeX): Use scanAux().
13344
13345         * language.C (latex_options_): New field.
13346
13347         * LaTeXFeatures.C (getMacros): Add language macros.
13348
13349         * buffer.C (makeLaTeXFile): Small fix.
13350
13351 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13354
13355         * text2.C: add a using directive.
13356
13357 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * BufferView2.C:
13360         * lyx_gui_misc.h:
13361         * lyxfr1.C:
13362         * lyxfunc.C: kill LyXBell.
13363
13364 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13365
13366         * text.C (IsBoundary): Remove the error message
13367
13368         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13369
13370         * lyxrc.C (setDefaults): Correct initialization value for
13371         font_norm_type.
13372
13373 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13376         gotoError().
13377
13378         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13379         and GotoNextNote().
13380
13381         * src/LyXAction.C: Added reference-next.
13382
13383         * text.C (InsertChar): Use contains instead of strchr.
13384
13385         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13386
13387 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13388
13389         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13390         alignment commands (when needed).
13391
13392         * text.C (InsertChar): Add ':' to number separator chars.