]> git.lyx.org Git - features.git/blob - src/ChangeLog
forgot this
[features.git] / src / ChangeLog
1 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * vc-backend.C (scanMaster): make the regex static
4
5         * LaTeX.C (scanAuxFile): make the regexs static
6
7         * text3.C (doInsertInset, dispatch, dispatch):
8         * text2.C (cursorUp, cursorDown):
9         * text.C (selectNextWordToSpellcheck):
10         * BufferView_pimpl.C (dispatch):
11         * lyxfunc.C (dispatch):  localDispatch -> dispatch
12
13 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * lyxsocket.C: include <cerrno>
16
17 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
18
19         * lyxfunc.C (dispatch): remove textcache stuff
20
21         * bufferlist.C (release): remove textcache stuff
22         (closeAll): ditto
23
24         * TextCache.C: delete file
25         * TextCache.h: delete file
26
27         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
28
29         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
30         delete of the bv_->text.
31         (resizeCurrentBuffer): remove texcache stuff
32         (workAreaResize): ditto
33
34 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
35
36         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
37         action.
38
39 2003-10-16  André Pönitz  <poenitz@gmx.net>
40
41         * lyxrow.[Ch]:
42         * paragraph.h:
43         * rowpainter.C:
44         * text.C:
45         * text2.C:
46         * text3.C: speed up by storing y positions per paragraph plus per-row
47         offset instead of having a 'full' y position in the row.
48
49 2003-10-15  André Pönitz  <poenitz@gmx.net>
50
51         * iterators.[Ch]:
52         * iterators.[Ch]:
53         * undo.[Ch]: make undo aware of inner insets
54
55 2003-10-14  Angus Leeming  <leeming@lyx.org>
56
57         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
58         static member functions LyX::ref() and LyX::cref.
59         (lastfiles): new accessor functions for the new lastfiles_ member var.
60         (addLyXView, views_): add a new LyXView to the list of views_.
61         (updateInset): loop over all LyXViews to call their own updateInset
62         member function, returning a pointer to the Buffer owning the inset.
63
64         * BufferView_pimpl.C (loadLyXFile):
65         * MenuBackend.C (expandLastfiles):
66         * bufferlist.C (MenuWrite, QuitLyX):
67         lastfiles is no longer a global variable.
68         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
69
70         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
71         static function. Access through LyX::cref().emergencyCleanup().
72
73 2003-10-14  André Pönitz  <poenitz@gmx.net>
74
75         * iterators.[Ch]: new direct access to innermost LyXText and Inset
76
77         * undo.[Ch]: restoring part of 'undo in insets'
78
79         * Makefile.am:
80         * undo_funcs.[Ch]: merge with undo.[Ch]
81
82         * tabular.C: small cleansing stuff
83
84 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
85
86         * paragraph_funcs.C (readParToken): report unknown insets as error
87         boxes. Use the outer paragraph as location (also for unknown
88         tokens).
89
90         * factory.C (readInset): do not abort on reading an unknown inset.
91         Eat it and return 0.
92
93 2003-10-13  Angus Leeming  <leeming@lyx.org>
94
95         * lyx_main.C (LyX): remove call to setDisplayTranslator().
96
97         * lyxrc.C: displayTranslator is now a function,
98         declared in GraphicsTypes.h.
99
100 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
101
102         * format.C: new placeholder $$a to pass the socket address.
103
104         * bufferlist.[Ch]: new function getBufferFromTmp.
105
106         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
107           files in the temporary dir.
108
109 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
110
111         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
112
113         * Makefile.am: add lyxsocket.[Ch].
114
115         * lyx_main.C (error_handler): handle SIGPIPE.
116
117 2003-10-13  André Pönitz  <poenitz@gmx.net>
118
119         * BufferView_pimpl.C:
120         * lyxtext.h:
121         * text.C:
122         * text2.C:
123         * text3.C:
124         * undo_funcs.[Ch]: use paroffset_type instead of
125           ParagraphList::iterators to prevent multiple conversion
126           (and get a more robust interface)
127
128 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
129
130         * lyxfunc.C (dispatch): RESULT -> dispatch_result
131         * lyxtext.h: ditto
132         * text3.C (dispatch): ditto
133
134 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
135
136         * LaTeX.C (handleFoundFile): move the static to smaller scope,
137         move the onlyfile, use onlyfile instead of foundfile in a couple
138         of places.
139
140         * DepTable.C (update): flush the error stream a bit more
141
142 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
143
144         * lyxserver.C (callback): adjust
145
146         * lyxfunc.C (getStatus): add a missing brace in commented code
147         (ensureBufferClean): reindent
148         (dispatch): delete version taking a string
149
150 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
151
152         * LaTeX.C (deplog): move found file handlig from here...
153         (handleFoundFile): .. to new function here.
154         (deplog): make sure to discover several files mentioned on the
155         same log line.
156
157 2003-10-10  André Pönitz  <poenitz@gmx.net>
158
159         * lyxfunc.C:
160         * lyxtext.h:
161         * tabular.C:
162         * text.C:
163         * text2.C:
164         * text3.C: fix some of the tabular crashes
165
166 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
167
168         * MenuBackend.C (binding): put debug message into Debug::KBMAP
169
170         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
171
172 2003-10-09  André Pönitz  <poenitz@gmx.net>
173
174         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
175
176         * BufferView.C:
177         * BufferView_pimpl.C:
178         * bufferview_funcs.C:
179         * lyx_cb.C:
180         * lyxcursor.C:
181         * lyxfind.C:
182         * lyxfunc.C:
183         * lyxtext.h:
184         * text.C:
185         * text2.C:
186         * text3.C:
187         * text_funcs.[Ch]:
188         * textcursor.[Ch]:
189         * undo_funcs.C: adjust
190
191 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
192
193         * text2.C (incrementItemDepth): new function, use a backtracking
194         algorithm to discover the correct item depth.
195         (resetEnumCounterIfNeeded): new function, use a backtracking
196         algorithm to discover if counter reset is needed.
197         (setCounter): use them. Simplify a bit. Add different labels for
198         different item depths for itemize.
199
200         * paragraph.C (Paragraph): remove initialization of enumdepth
201         (operator=): ditto
202
203         * paragraph.h: get rid of enumdepth, and use itemdepth both for
204         enumerate and itemize. Change the type of itemdepth to signed char.
205
206 2003-10-08  André Pönitz  <poenitz@gmx.net>
207
208         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
209           thing assignable.
210         * text.C:
211         * text2.C: adjust
212
213         * tabular.[Ch]: fix crash after 'row-insert'
214
215 2003-10-08  Angus Leeming  <leeming@lyx.org>
216
217         Fix doxygen warnings.
218
219         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
220         Remove CutAndPaste:: prefix from header file declaration.
221
222         * LColor.h (fill): remove LColor:: prefix from declaration.
223
224         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
225         use lyx::depth_type rather than Paragraph::depth_type so that
226         header file and .C file match.
227
228         * converter.h (intToFormat): remove Converters:: prefix from declaration.
229
230         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
231         * aspell.C: \file aspell_local.C -> \file aspell.C
232         * gettext.C: \file gettext.C -> \file src/gettext.C
233         * gettext.h: \file gettext.h -> \file src/gettext.h
234         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
235         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
236         * text.C: \file text.C -> \file src/text.C
237
238         * toc.C: move comment so that doxygen is not confused.
239
240 2003-10-07  Angus Leeming  <leeming@lyx.org>
241
242         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
243
244 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
245
246         * aspell.C:
247         * aspell_local.h: add forgotten std::string's.
248
249 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
250
251         * LaTeXFeatures.C:
252         * LyXAction.C:
253         * factory.C:
254         * lfuns.h:
255         * lyxfunc.C:
256         * text3.C: The Box patch. Fancybox support, minipage, parbox
257
258 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
259
260         * CutAndPaste.h:
261         * DepTable.h:
262         * FloatList.h:
263         * LaTeXFeatures.h:
264         * ParagraphParameters.h:
265         * TextCache.h:
266         * Thesaurus.h:
267         * bufferlist.h:
268         * exporter.h:
269         * importer.h:
270         * lastfiles.h:
271         * lyxfind.h:
272         * lyxfont.h:
273         * lyxlex.h:
274         * lyxtextclasslist.h:
275         * messages.h:
276         * paragraph.h:
277         * paragraph_pimpl.C:
278         * textcursor.h: add <string> and other small fixes to make Lars'
279         std::string patch compile with STLport.
280
281 2003-10-06  Angus Leeming  <leeming@lyx.org>
282
283         * LColor.h: Add missing #include <string>.
284
285 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
286
287         * All most all file in all subdirs: Make <string> be the prefered
288         way of getting to std::string, add using declarations.
289
290 2003-10-06  André Pönitz  <poenitz@gmx.net>
291
292         * metricsinfo.C: initialize LyXFont before changing attribute.
293         (fixes the 'math in \emph is upright' bug)
294
295 2003-10-06  André Pönitz  <poenitz@gmx.net>
296
297         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
298
299 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * graph.C:
302         * paragraph_pimpl.C: Small fixes to build using STLport
303
304 2003-10-02  André Pönitz  <poenitz@gmx.net>
305
306         * lyxfunc.C:
307         * text3.C: move handling of LFUN_DEPTH *; fix #1360
308
309 2003-10-01  André Pönitz  <poenitz@gmx.net>
310
311         * factory.C: assert early
312
313 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
314
315         * lyx_main.C: remove the global debug object
316
317         * debug.h: adjust for new debugstream
318
319         * debug.C: adjust for new debugstream and keep the global debug
320         object here.
321
322 2003-09-22  Angus Leeming  <leeming@lyx.org>
323
324         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
325         of g++ which otherwise complain that the scoped_ptr destructor can't delete
326         an incomplete class LyXFont.
327
328 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
329
330         * factory.C: bug fix in branches
331
332 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
333
334         * lyxfunc.C (processKeySym): adjust
335         (dispatch): adjust
336         (dispatch): change arg name from ev to func, adjust
337         (sendDispatchMessage): ditto
338
339         * lyx_main.C (defaultKeyBindings): adjust keybindings
340         (deadKeyBindings): ditto
341
342         * kbsequence.C (addkey): return a FuncRequest
343
344         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
345
346         * kbmap.C (bind): take a FuncRequest as arg, adjust
347         (read): adjust
348         (lookup): adjust
349         (defkey): change to take a FuncRequest as arg, adjust
350         (findbinding): take a FuncRequest as arg, adjust.
351
352         * funcrequest.h (operator=): added
353
354         * funcrequest.C (FuncRequest): default kb_action changed from
355         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
356
357         * buffer.C (dispatch): simplify
358         (dispatch): adjust to take a FuncRequest as arg, adjust
359
360         * boost.C (assertion_failed): change assertion message slightly
361
362         * ToolbarBackend.C (read): simplify
363
364         * MenuBackend.C (binding): adjust call to findbinding, add a
365         message if no binding is found.
366         (read): simplify
367         (expandToc): correct by adding a empty FuncRequest
368
369         * LyXAction.C: include <boost/assert.hpp>
370         (isPseudoAction): delete function
371         (LookupFunc): change name to...
372         (lookupFunc): this. change return type to FuncRequest.
373         (getActionName): take kb_action as arg, simplify
374         (funcHasFlag): add an assert, simplify.
375
376 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
377
378         * toc.C (action): return a FuncRequest, simplify
379
380         * lyxfunc.C (processKeySym): adjust
381         (getStatus): delete version that takes an int.
382         (getStatus): adjust
383         (dispatch): delete version that takes action as int
384         (dispatch): adjust
385         (sendDispatchMessage): simplify and adjust
386
387         * funcrequest.C (getArg): take unsigned int as arg
388
389         * ToolbarBackend.C (read): adjust
390         (add): delete version that takes func as a string.
391         (getIton): take a FuncRequest as arg
392
393         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
394         action.
395
396         * MenuBackend.C (MenuItem): add a new construct that only takes a
397         Kind, simplify the constructor use for submenus.
398         (add): adjust
399         (expandLastfiles): adjust
400         (expandDocuments): adjust
401         (expandFormats): adjust
402         (expandFloatListInsert): adjust
403         (expandFloatInsert): adjust
404         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
405
406         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
407         Remove class variables lyx_pseudo_map and lyx_arg_map
408
409         * LyXAction.C (searchActionArg): delete function
410         (getPseudoAction): delete function
411         (retrieveActionArg): delete function
412         (LookupFunc): make it return kb_action, simplify.
413         (getActionName): simplify
414
415         * factory.C (createInset): fix new bug
416
417 2003-09-19  Angus Leeming  <leeming@lyx.org>
418
419         * CutAndPaste.C (pasteSelection): remove fudge used to set the
420         masterFilename_ parameter in the include inset.
421
422         * factory.C (createInset): changes due to the changes to InsetInclude.
423
424 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
425
426         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
427
428 2003-09-18  Angus Leeming  <leeming@lyx.org>
429
430         * buffer.C:
431         * BufferView.C: pass the buffer when calling Inset::getLabelList,
432         Inset::fillWithBibKeys.
433         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
434
435 2003-09-18  Angus Leeming  <leeming@lyx.org>
436
437         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
438         variables.
439         (ctor): pass and store a 'Buffer const &'
440         (buffer): new member function.
441
442         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
443         '*this' to the LaTeXFeatures ctor.
444
445 2003-09-18  Angus Leeming  <leeming@lyx.org>
446
447         * LColor.h:
448         * lyxfont.C:
449         * lyxfont.h:
450         * lyxtext.h:
451         * text.C: rename EnumLColor as LColor_color.
452
453 2003-09-18  Angus Leeming  <leeming@lyx.org>
454
455         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
456         remove #include "insets/insetbase.h" from cursor.h.
457
458 2003-09-18  Angus Leeming  <leeming@lyx.org>
459
460         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
461         InsetOld_code to remove #include "inset.h".
462
463         * iterators.C: add #include "insets/inset.h"
464
465 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
466
467         * BufferView.C: remove more locking stuff that apparently doesn't
468         do anything sensible.
469
470 2003-09-16  André Pönitz  <poenitz@gmx.net>
471
472         * paragraph.[Ch]:
473         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
474           performance boost.
475
476 2003-09-16  Angus Leeming  <leeming@lyx.org>
477
478         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
479
480         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
481         arg/return type.
482
483         * paragraph.h: remove #include "lyxfont.h". Forward declare
484         LyXFont_size.
485
486 2003-09-16  Angus Leeming  <leeming@lyx.org>
487
488         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
489         of support/textutils.h.
490         (isWord): move the contents of support/textutils.h's IsWordChar here.
491
492         * buffer.C:
493         * lyxfind.C:
494         * rowpainter.C:
495         * text.C:
496         * text2.C: add #include "paragraph.h".
497
498         * rowpainter.C:
499         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
500
501 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
502
503         * main.C:
504         * lyx_main.C:
505         * lyx_cb.C:
506         * buffer.C:
507         * LaTeX.C: use namespace alias for lyx::support::os
508
509 2003-09-16  Angus Leeming  <leeming@lyx.org>
510
511         * bufferparams.C:
512         * bufferview_funcs.C:
513         * factory.C:
514         * lyxfunc.C:
515         * paragraph_pimpl.C:
516         * rowpainter.C:
517         * text.C: add #include "LColor.h".
518
519 2003-09-16  Angus Leeming  <leeming@lyx.org>
520
521         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
522         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
523         return LyXFont &.
524         Store the FontBits::color variable as an int rather than as an
525         LColor::colorso that we can move LColor.h out of the lyxfont.h header
526         file.
527
528         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
529         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
530         string calls together.
531
532         * lyxrc.C: add #include "LColor.h".
533
534 2003-09-15  Angus Leeming  <leeming@lyx.org>
535
536         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
537         a cow_ptr.
538
539 2003-09-15  Angus Leeming  <leeming@lyx.org>
540
541         * LColor.h: add an EnumLColor wrapper for LColor::color.
542
543         * lyxfont.[Ch] (color, setColor, realColor):
544         * lyxtext.h, text.C (backgroundColor):
545         pass EnumLColor args to/from the functions, rather than LColor::color
546         ones.
547
548         * lyxfont.h:
549         * lyxtext.h: forward declare EnumLColor.
550
551         * lyx_main.C: add #include "LColor.h".
552
553 2003-09-15  Angus Leeming  <leeming@lyx.org>
554
555         * .cvsignore: add lyx-gtk.
556
557 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
558
559         * Chktex.C
560         * LaTeX.C
561         * LaTeXFeatures.C
562         * ParagraphParameters.C
563         * Spacing.C
564         * buffer.C
565         * bufferparams.C
566         * bufferview_funcs.C
567         * chset.C
568         * counters.C
569         * funcrequest.C
570         * lyxfont.C
571         * lyxgluelength.C
572         * lyxlength.C
573         * paragraph.C
574         * paragraph_funcs.C
575         * text3.C
576         * vc-backend.C: remove usage of STRCONV
577
578 2003-09-15  Angus Leeming  <leeming@lyx.org>
579
580         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
581         explicitly define the color passed to the painter.
582
583 2003-09-15  Angus Leeming  <leeming@lyx.org>
584
585         * bufferparams.C (BufferParams): reorder member initializers to avoid
586         compiler warning.
587
588 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
589
590         * CutAndPaste.C (pasteSelection): remove an outdated #warning
591         * text.C (updateRowPositions): remove an unusual nop
592
593 2003-09-12  André Pönitz  <poenitz@gmx.net>
594
595         * BufferView_pimpl.C:
596         * Bullet.C:
597         * layout.h:
598         * lyxfunc.C:
599         * lyxlayout.[Ch]:
600         * lyxtextclass.C:
601         * rowpainter.C:
602         * text.C:
603         * text2.C:
604         * Counters.[Ch]: finish the 'automatic counters' job
605
606 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
607
608         * aspell.C: include <boost/assert.cpp> (compile fix)
609
610 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
611
612         * boost.C (assertion_failed): use lyx::support::abort instead of
613         assert.
614
615 2003-09-10  Angus Leeming  <leeming@lyx.org>
616
617         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
618         with their _fwd progeny.
619
620 2003-09-09  Angus Leeming  <leeming@lyx.org>
621
622         134 files throughtout the source tree: replace 'using namespace abc;'
623         directives with the appropriate 'using abc::xyz;' declarations.
624
625 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
626
627         * boost.C (emergencyCleanup): moved here from LAssert.c
628         (assertion_failed): new function, called by BOOST_ASSERT
629
630         * several files: change Assert to BOOST_ASSERT
631
632 2003-09-09  Angus Leeming  <leeming@lyx.org>
633
634         * buffer.[Ch]: Add an Impl class and move Buffer's member
635         variables into it. As a result move several header files out of
636         buffer.h.
637
638         Add header files to lots of .C files all over the tree as a result.
639
640 2003-09-09  Angus Leeming  <leeming@lyx.org>
641
642         * buffer.[Ch]: make Buffer's member variables private. Add
643         accessor functions.
644
645         Lots of changes all over the tree as a result.
646
647 2003-09-08  Angus Leeming  <leeming@lyx.org>
648
649         * graph.C: #include <config.h>.
650
651 2003-09-08  Angus Leeming  <leeming@lyx.org>
652
653         * BranchList.C:
654         * BufferView.C:
655         * BufferView_pimpl.C:
656         * CutAndPaste.C:
657         * DepTable.C:
658         * LaTeX.C:
659         * LaTeXFeatures.C:
660         * LyXAction.C:
661         * MenuBackend.C:
662         * TextCache.C:
663         * aspell.C:
664         * buffer.C:
665         * bufferlist.C:
666         * changes.C:
667         * chset.C:
668         * converter.C:
669         * counters.C:
670         * debug.C:
671         * graph.C:
672         * ispell.C:
673         * lyx_cb.C:
674         * lyxfind.C:
675         * lyxfunc.C:
676         * lyxlex_pimpl.C:
677         * lyxrc.C:
678         * lyxrow.C:
679         * paragraph.C:
680         * rowpainter.C:
681         * texrow.C:
682         * text.C:
683         * text2.C:
684         * toc.C: remove redundant using directives.
685
686 2003-09-07  Angus Leeming  <leeming@lyx.org>
687
688         * LaTeXFeatures.h: remove #include "support/types.h".
689         * ToolbarBackend.h: remove #include <algorithm>.
690         * changes.h: remove #include <ctime>.
691         * debug.h: remove #include <iosfwd>.
692         * graph.h: remove #include "support/std_string.h".
693         * lyx_main.h: remove #include <csignal>.
694         * lyxlex_pimpl.h: remove #include <fstream>.
695         * sgml.h: remove #include <algorithm>, <utility>.
696         * toc.h: remove #include "support/std_ostream.h".
697         Add #include <iosfwd>.
698
699 2003-09-07  Angus Leeming  <leeming@lyx.org>
700
701         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
702
703         * converter.h: forward declare LatexRunParams.
704         * encoding.h: remove #include "lyxrc.h".
705         * lyxtext.h: remove #include "LColor.h".
706         * lyxtextclass.h: remove #include "support/types.h".
707         * trans.h: remove #include "tex-accent.h".
708         * trans_mgr.h: remove #include "tex-accent.h".
709         * insets/inset.h: remove #include "support/types.h", <vector>.
710         * insets/insetcollapsable.h: remove #include "LColor.h".
711         * insets/insetinclude.h: remove #include "dimension.h".
712         * insets/insetlatexaccent.h: remove #include "dimension.h".
713         * insets/insetoptarg.h:: remove #include "insettext.h".
714         * insets/insettext.h: remove #include "dimension.h",
715         <boost/shared_ptr.hpp>
716
717         * insets/renderers.h: add #include "dimension.h".
718         * insets/updatableinset.h: add #include "support/types.h".
719
720         * many .C files: Associated changes.
721
722 2003-09-06  Angus Leeming  <leeming@lyx.org>
723
724         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
725         one, inside testInvariant.
726
727         * PrinterParams.C: new file.
728         * PrinterParams.[Ch]: move the function bodies out of line.
729
730 2003-09-06  Angus Leeming  <leeming@lyx.org>
731
732         * ParagraphParameters.h: forward declare ParameterStruct rather than
733         including its header file.
734         (depth): moved out-of-line.
735
736 2003-09-06  Angus Leeming  <leeming@lyx.org>
737
738         * BufferView_pimpl.h:
739         * kbmap.h:
740         * kbsequence.h:
741         * lyxfunc.h: forward declare LyXKeySym rather than
742         #include "frontends/LyXKeySym.h".
743
744         * BufferView_pimpl.C:
745         * kbmap.C:
746         * kbsequence.C:
747         * lyxfunc.C: associated changes.
748
749 2003-09-06  Angus Leeming  <leeming@lyx.org>
750
751         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
752         As a result, can remove the #include "insets/inset.h" from BufferView.h
753
754 2003-09-06  Angus Leeming  <leeming@lyx.org>
755
756         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
757         As a result, can remove the #include "insets/inset.h" from BufferView.h
758
759 2003-09-06  Angus Leeming  <leeming@lyx.org>
760
761         * buffer_funcs.C:
762         * buffer.h:
763         * bufferlist.C:
764         * BufferView.C:
765         * bufferview_funcs.C:
766         * BufferView_pimpl.C:
767         * CutAndPaste.C:
768         * lyx_cb.C:
769         * lyxfunc.C:
770         * paragraph.h:
771         * ParagraphParameters.C:
772         * tabular.C:
773         * text3.C:
774         * toc.C:
775         * undo_funcs.C:
776         * frontends/controllers/ControlDocument.C:
777         * insets/insetcaption.C: rearrange the #includes into some sort of
778         coherent order.
779
780         * buffer.h: remove #includes ErrorList.h, undo.h
781
782 2003-09-06  Angus Leeming  <leeming@lyx.org>
783
784         * support/types.h: add a 'depth_type' typedef, used to store the
785         nesting depth of a paragraph.
786
787         * paragraph.h:
788         * ParameterStruct.h: use this lyx::depth_type typedef rather than
789         defining explicitly.
790
791         * buffer.h:
792         * paragraph_funcs.h:
793         * ParagraphParameters.h:
794         * sgml.h: use lyx::depth_type rather than Paragraph or
795         ParameterStruct's depth_type.
796
797         * buffer.h
798         * paragraph_funcs.h: no need to #include paragraph.h anymore.
799
800         * BufferView.C:
801         * BufferView_pimpl.C:
802         * CutAndPaste.C:
803         * ParagraphParameters.C:
804         * buffer_funcs.C:
805         * bufferlist.C:
806         * bufferview_funcs.C:
807         * lyx_cb.C:
808         * lyxfunc.C:
809         * tabular.C:
810         * text3.C:
811         * toc.C:
812         * undo_funcs.C:
813         * frontends/LyXView.C:
814         * frontends/controllers/ControlDocument.C:
815         * frontends/controllers/ControlErrorList.C:
816         * insets/insetbibitem.C:
817         * insets/insetbranch.C:
818         * insets/insetcaption.C:
819         * insets/insetcollapsable.C:
820         * insets/insetenv.C:
821         * insets/insetert.C:
822         * insets/insetfloat.C:
823         * insets/insetfoot.C:
824         * insets/insetfootlike.C:
825         * insets/insetnewline.C:
826         * insets/insetquotes.C:
827         * insets/insettabular.C:
828         * insets/insettext.C:
829         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
830
831         * frontends/controllers/ControlChanges.C: #include "changes.h".
832
833 2003-09-06  Angus Leeming  <leeming@lyx.org>
834
835         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
836         than #including paragraph.h.
837
838         * ParagraphList.h:
839         * RowList.h: deleted. Superfluous.
840
841         * CutAndPaste.h:
842         * iterators.h:
843         * lyxcursor.h:
844         * lyxtext.h:
845         * text_funcs.h:
846         * undo.h:
847         * undo_funcs.h:
848         * insets/inset.h:
849         * insets/insettext.h: use ParagraphList_fwd.h rather than
850         ParagraphList.h.
851
852         * paragraph.h: don't forward declare ParagraphList.
853
854         * buffer.h:
855         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
856         rather than ParagraphList.h. paragraph.h is still needed for the
857         Paragraph::depth_type parameters.
858
859         * textcursor.h: enable it to compile stand-alone in light of the
860         above changes.
861
862         * bufferview_funcs.C:
863         * iterators.C:
864         * lyxfunc.C:
865         * lyxrow_funcs.C:
866         * paragraph.C:
867         * rowpainter.C:
868         * text.C:
869         * text2.C:
870         * text3.C:
871         * text_funcs.C:
872         * textcursor.C:
873         * undo.C:
874         * frontends/controllers/ControlParagraph.C:
875         * frontends/controllers/ControlTabular.C:
876         * insets/insetmarginal.C:
877         * insets/insetminipage.C:
878         * insets/insetnote.C:
879         * insets/insetoptarg.C: add header files needed to compile again.
880
881 2003-09-06  Angus Leeming  <leeming@lyx.org>
882
883         * RowList_fwd.h: new file, forward-declaring Row rather than
884         #including lyxrow.h.
885
886         * lyxrow_funcs.h:
887         * lyxtext.h:
888         * paragraph.h:
889         * insets/insettext.h: use it instead of RowList.h
890
891         * bufferview_funcs.C:
892         * lyxfunc.C:
893         * lyxrow_funcs.C:
894         * paragraph.C:
895         * rowpainter.C:
896         * text.C:
897         * text2.C:
898         * text3.C: #include "RowList.h".
899
900 2003-09-05  Angus Leeming  <leeming@lyx.org>
901
902         * factory.C (createInset):
903         * vspace.C (c-tor): replace sscanf call with an istringstream.
904         * ispell.C: re-add missing HP/UX headers.
905         * lyxserver.C: re-add missing  os2 headers.
906
907 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
908
909         * BranchList.C:
910         * graph.C:
911         * ispell.C:
912         * lastfiles.C:
913         * lyx_cb.C:
914         * lyxserver.C:
915         * texrow.C:
916         * text3.C: re-add missing system headers, needed for 2.95.2.
917
918 2003-09-05  Angus Leeming  <leeming@lyx.org>
919
920         Changes most place everywhere due to the removal of using directives
921         from support/std_sstream.h.
922
923 2003-09-05  Angus Leeming  <leeming@lyx.org>
924
925         Replace LString.h with support/std_string.h,
926         Lsstream.h with support/std_sstream.h,
927         support/LIstream.h with support/std_istream.h,
928         support/LOstream.h with support/std_ostream.h.
929
930         Changes resulting throughout the tree.
931
932 2003-09-05  Angus Leeming  <leeming@lyx.org>
933
934         * sgml.h: ensure that the header file can be compiled stand-alone.
935         * *.C: strip out redundant #includes. (320 in total.)
936
937 2003-09-04  Angus Leeming  <leeming@lyx.org>
938
939         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
940         here (from getPackages).
941
942         * debug.[Ch]: add a new EXTERNAL tag.
943
944 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
945
946         * text2.C (cursorEnd): simplify
947         (setCursor): adjust
948         (getColumnNearX): adjust
949
950         * text.C (computeBidiTables): adjust
951         (fill): adjust
952
953         * rowpainter.C (paintChars): adjust
954         (paintSelection): adjust
955         (paintChangeBar): adjust
956         (paintText): adjust
957
958         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
959         lastPos instead.
960         (numberOfSeparators): adjust
961
962 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
963
964         * LyXAction.C:
965         * box.[Ch]:
966         * lfuns.h:
967         * lyxfunc.C:
968         * text3.C: Restricts the mouse click functionality
969         of insets like bibtex, include, toc and floatlist to the visible
970         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
971         up the dialogs. Cursor has to be in front of the inset (i.e.
972         start of row) for this to function.
973
974 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
975
976         * bufferview_funcs.C (currentState): output row information
977
978 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
979
980         * bufferview_funcs.C (currentState): output paragraph position
981
982 2003-09-04  Angus Leeming  <leeming@lyx.org>
983
984         * FloatList.h: move out #include "Floating.h".
985         * LaTeX.h: move out #include "DepTable.h".
986         * LyXAction.h: move out #include "funcrequest.h".
987         * buffer.h: move out #include "author.h", "iterators.h".
988         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
989         * lyx_main.h: move out #include "errorlist.h".
990         * lyxfunc.h: move out #include "FuncStatus.h".
991         * lyxtext: move out #include "lyxcursor.h".
992         * paragraph_pimpl.h: move out #include "counters.h".
993
994 2003-09-03  Angus Leeming  <leeming@lyx.org>
995
996         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
997         preamble_snippets list, enabling us to add snippets to the preamble
998         only if the snippet was not there already.
999
1000 2003-09-04  Angus Leeming  <leeming@lyx.org>
1001
1002         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1003
1004 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1005
1006         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1007         update
1008
1009 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1010
1011         * BranchList.C: point fix, earlier forgotten
1012
1013 2003-09-02  Angus Leeming  <leeming@lyx.org>
1014
1015         * box.C (contains): renamed from 'contained' after a fantastic
1016         amount of hot air.
1017
1018 2003-09-02  John Levon  <levon@movementarian.org>
1019
1020         * BufferView.C:
1021         * lyxcursor.h:
1022         * lyxcursor.C:
1023         * lyxfunc.C:
1024         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1025
1026 2003-09-02  John Levon  <levon@movementarian.org>
1027
1028         * text2.C: simplification of cursorEnd(), including partial
1029         fix for bug 1376
1030
1031 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1032
1033         * buffer.C (readFile): add a space
1034
1035 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1036
1037         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1038
1039 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * buffer.C (readFile): new function, take a filename and a
1042         ParagraphList::iterator
1043         (readFile): adjust
1044         (readFile): adjust, make it private. don't use setStream, make
1045         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1046         always contain the filename.
1047
1048         * BufferView.C (insertLyXFile): simplify and make it work for
1049         gzipped files.
1050
1051 2003-08-30  John Levon  <levon@movementarian.org>
1052
1053         * Makefile.am: fix dist (from Kayvan)
1054
1055 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1056
1057         * most files: change to use const Buffer refs
1058
1059 2003-08-27  André Pönitz  <poenitz@gmx.net>
1060
1061         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1062         on top of ownerPar().
1063
1064 2003-08-27  John Levon  <levon@movementarian.org>
1065
1066         * funcrequest.C: properly initialise POD members
1067
1068 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1069
1070         * lyxtext.h (top_y): move top_y from here
1071         * text.C:
1072         * text2.C:
1073         * text3.C:
1074         * BufferView.[Ch]:
1075         * BufferView_pimpl.[Ch]: to here
1076         * frontends/screen.C:
1077         * insets/insettabular.C:
1078         * insets/insettext.C: adjust
1079         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1080
1081 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1082
1083         * BufferView.[Ch]:
1084         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1085
1086 2003-08-26  André Pönitz  <poenitz@gmx.net>
1087
1088         * paragraph_func.[Ch] (outerPar): new function
1089
1090         * paragraph.C:
1091         * paragraph_funcs.C:
1092         * paragraph_funcs.h:
1093         * paragraph_pimpl.C:
1094         * text2.C: remove Inset::par_owner
1095
1096 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * lyxrow_funcs.C:
1099         * lyxtext.h:
1100         * text.C:
1101         * text2.C: eliminates the needFullRow/display() stuff
1102         altogether, putting the logic in metrics/draw in the insets.
1103
1104 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1105
1106         * text2.C (redoParagraphInternal, redoParagraphs):
1107         * text.C (redoParagraph): add a call to updateRowPositions at the
1108         end of each 'metrics-like' call. Remove all others.
1109         (getRow): remove the 'y-computing' version.
1110         (getRowNearY): do not compute nor return the real y. Solve the
1111         'y < 0' problem and simplify.
1112
1113 2003-08-22  Angus Leeming  <leeming@lyx.org>
1114
1115         * *.[Ch]: clean-up of licence and author blurbs.
1116         Also move config.h out of a few .h files and into a few .C files.
1117
1118 2003-08-22  André Pönitz  <poenitz@gmx.net>
1119
1120         * lyxrow.[Ch]: add x_ and *fill_ members
1121
1122         * lyxtext.h:
1123         * text.C:
1124         * rowpainter.C:
1125         * text2.C: adjust/remove prepareToPrint() calls
1126
1127 2003-08-22  André Pönitz  <poenitz@gmx.net>
1128
1129         * lyxrow.[Ch]: add  end_ member
1130
1131         * lyxrow_funcs.C: use LyXRow::end_
1132
1133         * lyxtext.h (singleWidth): add LyXFont parameter
1134
1135         * rowpainter.C:
1136         * text2.C: adjust LyXText::singleWidth() calls
1137
1138         * text.C (redoParagraph): simplify row breaking logic
1139
1140
1141 2003-08-19  André Pönitz  <poenitz@gmx.net>
1142
1143         * funcrequest.C: initialize button_ member
1144
1145         * text3.C:
1146         * rowpainter.[Ch]: interface consolidation
1147
1148 2003-08-18  André Pönitz  <poenitz@gmx.net>
1149
1150         * BufferView.C:
1151         * BufferView_pimpl.C:
1152         * lyxfind.C:
1153         * paragraph_funcs.C:
1154         * rowpainter.C:
1155         * text3.C: remove LyXScreen::draw() and fitCursor calls
1156
1157         * BranchList.h: remove spurious semicolons
1158
1159         * MenuBackend.C: fix branchlist related crash
1160
1161 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * BranchList.[Ch]:
1164         * InsetList.[Ch]:
1165         * LColor.[Ch]:
1166         * LyXAction.C:
1167         * Makefile.am:
1168         * MenuBackend.[Ch]:
1169         * bufferparams.[Ch]:
1170         * factory.C:
1171         * lfuns.h:
1172         * lyxfunc.C:
1173         * text3.C: implements the 'branch inset'
1174         idea. This allows the output of various versions of a document
1175         from a single source version, selectively outputing or suppressing
1176         output of parts of the text.
1177         This implementation contains a 'branch list editor' in a separate
1178         tab of the document settings dialog. Branches are user definable
1179         and have a "display colour" to distinguish them on-screen.
1180
1181         ColorHandler was somewhat cleaned up.
1182         (1) make possible a dynamically growing LColor list by allowing
1183         the graphic context cache to grow along (vector);
1184         (2) eliminate an IMHO unnecessary step in colour allocation.
1185
1186 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1187
1188         * BufferView_pimpl.C: compile fix
1189
1190 2003-08-15  André Pönitz  <poenitz@gmx.net>
1191
1192         * rowpainter.C: remove extra metrics calls
1193
1194         * lyxtext.h: merge the two constructors into a single one,
1195           pass reference to owner's par list
1196
1197         * BufferView_pimpl.C:
1198         * text.C:
1199         * text2.C: adjust
1200
1201 2003-08-15  André Pönitz  <poenitz@gmx.net>
1202
1203         * lyxrow_funcs.[Ch]:
1204         * lyxtext.h:
1205         * paragraph.h:
1206         * paragraph_funcs.C:
1207         * rowpainter.C:
1208         * text.C:
1209         * text2.C:
1210         * text3.C:
1211         * text_funcs.C: split LyXText::rowlist_ into individual
1212         Paragraph::rows_ chunks
1213
1214         * BufferView.[Ch]:
1215         * BufferView_pimpl.[Ch]:
1216         * lyxfind.C:
1217         * lyxtext.h:
1218         * text3.C: remove toggleSelection()
1219
1220 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1221
1222         * bufferlist.C: beautify two alerts (shorter text of buttons)
1223         * buffer.C: Remove redundant ' ' from message
1224         * tabular.h:
1225         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1226         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1227         rename VALIGN_CENTER to VALIGN_MIDDLE
1228
1229 2003-08-11  André Pönitz  <poenitz@gmx.net>
1230
1231         * lyxtext.h (getPar):
1232         * text.C: new function
1233
1234 2003-08-11  André Pönitz  <poenitz@gmx.net>
1235
1236         * Makefile.am:
1237         * tracer.[Ch]: remove unneeded files
1238
1239         * InsetList.[Ch]: remove resizeInsetsLyXText()
1240
1241         * lyxtext.h:
1242         * text.C:
1243         * text2.C:
1244         * text3.C: merge insertParagraphs() and appendParagraph()
1245         remove breakAgain(), update()
1246
1247         * BufferView_pimpl.[Ch]:
1248         * bufferview_funcs.[Ch]:
1249         * lyxfunc.C:
1250         * paragraph.[Ch]:
1251         * rowpainter.C:
1252         * tabular.C: adjust after text & InsetList changes.
1253
1254 2003-08-08  André Pönitz  <poenitz@gmx.net>
1255
1256         * text.C (insertChar, backspace): replace rowlist fiddling
1257         with rebreak of full par
1258
1259         * lyxtext.h:
1260         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1261         checkParagraph, updateInset): removed
1262
1263 2003-08-07  André Pönitz  <poenitz@gmx.net>
1264
1265         * paragraph.C:
1266         * text3.C: merge some LFUN handlers, remove dead code
1267
1268 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1271
1272 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1273
1274         * text2.C (DEPM): fix part of bug 1255 and 1256
1275
1276 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * BufferView_pimpl.C (workAreaDispatch): change to use
1279         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1280         that are no mouse related.
1281
1282 2003-08-05  André Pönitz  <poenitz@gmx.net>
1283
1284         * BufferView.[Ch]:
1285         * BufferView_pimpl.[Ch]:
1286         * bufferview_funcs.C:
1287         * text2.C:
1288         * text3.C: rip out "deep update"
1289
1290         * textcursor.[Ch] (last_sel_cursor): remove unused member
1291
1292 2003-08-04  André Pönitz  <poenitz@gmx.net>
1293
1294         * BufferView.[Ch]:
1295         * BufferView_pimpl.[Ch]:
1296         * ParagraphParameters.C:
1297         * bufferview_funcs.C:
1298         * lyx_cb.C:
1299         * lyxfind.C:
1300         * lyxfunc.C:
1301         * text.C:
1302         * text2.C:
1303         * text3.C: replace "complicated" BufferView::update(...) calls with
1304         simpler ones.
1305
1306         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1307
1308 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1309
1310         * Makefile.am (lyx_SOURCES): add paper.h
1311
1312 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1313
1314         * Makefile.am: move things around so that both lyx-qt and
1315         lyx-xforms can be built (according to --with-frontend). Then lyx
1316         is a symbolic link to lyx-[firstfrontend]
1317
1318 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1319
1320         * Always use std::endl with lyxerr
1321
1322 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1323
1324         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1325
1326 2003-08-01  André Pönitz  <poenitz@gmx.net>
1327
1328         * BufferView.[Ch]:
1329         * BufferView_pimpl.[Ch]:
1330         * lyxfunc.C:
1331         * text3.C: merge BufferView::repaint() and BufferView::update()
1332
1333 2003-08-01  José Matos  <jamatos@lyx.org>
1334
1335         * buffer.[Ch]: file_format is no longer a buffer data element.
1336
1337 2003-08-01  André Pönitz  <poenitz@gmx.net>
1338
1339         * BufferView.C:
1340         * lyxtext.h:
1341         * text.C:
1342         * text2.C: make redoParagraph more independent of current cursor
1343
1344         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1345         * text.C:
1346         * text2.C: remove unneeded members
1347
1348 2003-07-30  André Pönitz  <poenitz@gmx.net>
1349
1350         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1351
1352         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1353           create a single function...
1354
1355         * paragraph_funcs.C (moveItem): ... here.
1356
1357         * text.C:
1358           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1359
1360 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1361
1362         * LColor.[Ch]: Add comment and greyedout logical colors.
1363
1364 2003-07-30  André Pönitz  <poenitz@gmx.net>
1365
1366         * tabular.C: don't use Assert too heavily. This crashes where it
1367           shouldn't
1368
1369 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1370
1371         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1372         is disabled (bug 1232)
1373
1374 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1375
1376         * factory.C: limited 'arg' scope
1377
1378 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1379
1380         * factory.C: fixed Note submenu issues
1381
1382 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1383
1384         * factory.C: submenu for Note/Comment/Greyedout
1385
1386 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1387
1388         * lyx_main.C (LyX):
1389         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1390
1391 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1392
1393         * LaTeXFeatures.C:
1394         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1395         greyedout. Patch provided by Jürgen Spitzmüller.
1396
1397 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1398
1399         * kbmap.C (read): fix error message when reading bind files
1400
1401 2003-07-29  Angus Leeming  <leeming@lyx.org>
1402
1403         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1404         certainly does not do what it purports to do. I am doing it, and
1405         us, a favour by killing it.
1406
1407 2003-07-28  José Matos  <jamatos@lyx.org>
1408
1409         * buffer.C (readBody, do_writeFile):
1410         * paragraph.C(readParagraph): \end_document replaces \the_end.
1411
1412 2003-07-29  André Pönitz  <poenitz@gmx.net>
1413
1414         * BufferView.[Ch]:
1415         * BufferView_pimpl.[Ch]:
1416         * lyxfunc.C:
1417         * text2.C:
1418         * text3.C:
1419         * textcursor.[Ch]: remove toggleToggle & Co
1420
1421 2003-07-28  José Matos  <jamatos@fep.up.pt>
1422
1423         * buffer.C (readParagraph):
1424         * params_func (readParToken, readParagraph):
1425         * paragraph.C (write): \layout -> \begin_layout.
1426
1427 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1428
1429         * lyxlex_pimpl.C (setFile): clean up slightly.
1430
1431         * bufferparams.h: add compressed var
1432
1433         * buffer_funcs.C (readFile): adjust for LyXLex change
1434         (newFile): ditto + simplify
1435
1436         * buffer.C (writeFile): handle writing of compressed files
1437
1438         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1439         Check if the file is compressed and set a bufferparm if so.
1440
1441         * Makefile.am (lyx_LDADD): remove explicit -lz
1442
1443 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1446         makeDocBookFile): put the real LyX version in the first line of
1447         the file
1448
1449         * version.h:
1450         * version.C.in: remove lyx_docversion
1451
1452         * tabular.C (write_attribute): add a template-based version to
1453         write enums properly
1454
1455 2003-07-28  André Pönitz  <poenitz@gmx.net>
1456
1457         * lyxtext.h:
1458         * text.C:
1459         * text2.C:
1460         * text3.C: use doubles again for x-coordinates. They are needed.
1461
1462 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1463
1464         * messages.C (getLocaleDir): use lyx_localedir()
1465
1466         * lyxlex_pimpl.C (setFile): compress stuff
1467
1468         * buffer.C (writeFile): add some compression stuff
1469         (do_writeFile): new func, dont call expliti close... will this
1470         breake anything?
1471
1472         * Makefile.am (lyx_LDADD): add -lz
1473
1474 2003-07-28  José Matos  <jamatos@fep.up.pt>
1475
1476         * buffer.C: increment file format.
1477         * paragraph_funcs (readParagraph, readParToken):
1478         * paragraph.C (readParagraph): add \end_layout.
1479
1480 2003-07-27  Angus Leeming  <leeming@lyx.org>
1481
1482         * Makefile.am: remove special casing for configure-time setting of
1483         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1484
1485         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1486         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1487
1488 2003-07-26  André Pönitz  <poenitz@gmx.net>
1489
1490         * paragraph_func.[Ch]:
1491         * paragraph.C (realizeFont): inline it whereever it is used
1492
1493         * rowpainter.C:
1494         * text.C:
1495         * text2.C:
1496         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1497
1498
1499 2003-07-26  André Pönitz  <poenitz@gmx.net>
1500
1501         *       lyxtext.h:
1502         * text.C:
1503         * text2.C: get rid of LyXText::need_break_row
1504
1505 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1506
1507         * toc.[Ch]: put namespace toc inside namespace lyx
1508
1509         * MenuBackend.C (expandToc2): adjust for lyx::toc
1510         (expandToc): ditto
1511
1512         * lyxfunc.C (dispatch): adjust for lyx::find
1513
1514         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1515         lyx::find instead. Reorganize a bit.
1516         (LyXReplace): rename to replace
1517         (LyXFind): rename to find
1518
1519         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1520         (dispatch): ditto
1521
1522 2003-07-26  André Pönitz  <poenitz@gmx.net>
1523
1524         * text.C (setHeightOfRow): restrict scope of temporary variable
1525
1526         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1527           code (never has been used?)
1528
1529 2003-07-27  Asger Alstrup  <alstrup@local>
1530
1531         * text.C (fill): Optimise algorithm to exploit that we can reuse
1532         the LyXFont for many characters.
1533         (setHeightOfRow): Same thing.
1534         (rowBreakPoint): Same thing.
1535
1536 2003-07-26  Asger Alstrup  <alstrup@local>
1537
1538         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1539
1540         * text.C (singleWidth): Spurious font copying in hot-spot
1541         singleWidth avoided. Reorder tests for arabic for efficiency.
1542
1543         * text.C (fill): handle empty paragraphs better.
1544
1545 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * ispell.C:
1548         * encoding.h: add includes
1549
1550         * lyxrc.C: remove reading of bind files
1551
1552         * lyx_main.C (init): setup bindings and menus only if we have a
1553         gui.
1554
1555         * kbmap.C (read): new method. Do the actual reading of bind
1556         files.
1557
1558         * converter.C (dvipdfm_options):
1559         * bufferparams.C:
1560         * lyxrc.C (read):
1561         (output): adapt PAPER_* enums.
1562
1563         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1564
1565         * bufferparams.h: remove paper-related enums from there
1566
1567         * paper.h: New file. A trivial header file to hold paper-related
1568         enums. It should later expand to contain many paper-related
1569         horrors access.
1570
1571         * lyxrc.C: declare extern displayTranslator
1572
1573 2003-07-27  José Matos  <jamatos@fep.up.pt>
1574
1575         * tabular.[Ch] (linuxdoc): add support for tables and figures
1576         (linuxdoc).
1577
1578 2003-07-27  José Matos  <jamatos@fep.up.pt>
1579
1580         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1581         consistency in both functions.
1582         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1583
1584 2003-07-26  Asger Alstrup  <alstrup@local>
1585
1586         * rowpainter.C (paintRows): Change algorithm to work directly on
1587         the insets rather than asking every character in the document
1588         whether its an inset.
1589
1590 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1591
1592         * buffer.C (openFileWrite): factorize some code
1593
1594 2003-07-26  Angus Leeming  <leeming@lyx.org>
1595
1596         * lyx_cb.C:
1597         * lyx_main.[Ch]: replace occurances of system_tempdir with
1598         os::getTmpDir().
1599
1600 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1601
1602         * rename Inset to InsetOld
1603
1604 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1605
1606         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1607         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1608         which I think is a bit clearer. EDIT is gone, since it was
1609         premature optimisation, and broken for mathed anyway.
1610         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1611         with cursor positioning in insets as well (math insets still do not
1612         work, but that's a different story anyway.) It mysteriously
1613         crashes sometimes with undo in the first paragraph, but I'm fairly
1614         confident that this is a compiler bug.
1615
1616 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * paragraph.C (Paragraph): adjust for new clone return type
1619         (operator==): ditto
1620         (copyIntoMinibuffer): ditto
1621
1622 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1623
1624         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1625         by not having a special case, and always doing a full rebreak of
1626         the document after undo.
1627
1628 2003-07-23  Angus Leeming  <leeming@lyx.org>
1629
1630         * factory.C (createInset): InsetExternal::setParams now takes a
1631         Buffer const * arg.
1632
1633 2003-07-23  Angus Leeming  <leeming@lyx.org>
1634
1635         * factory.C (createInset): changed interface to the external and
1636         graphics mailers' string2params functions.
1637
1638 2003-07-23  Angus Leeming  <leeming@lyx.org>
1639
1640         * factory.C (createInset): pass a
1641         Buffer const * parameter to InsetExternalMailer's string2params.
1642
1643 2003-07-22  John Levon  <levon@movementarian.org>
1644
1645         * Thesaurus.h: include the right aiksaurus header
1646
1647 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1648
1649         * MenuBackend.C (expand): check menu shortcuts unconditionally
1650
1651 2003-07-21  Angus Leeming  <leeming@lyx.org>
1652
1653         * factory.C (createInset): pass a
1654         buffer_path parameter to InsetGraphicsMailer's string2params.
1655
1656 2003-07-21  Angus Leeming  <leeming@lyx.org>
1657
1658         * BufferView_pimpl.C (buffer):
1659         * buffer.C (d-tor):
1660         * lyx_main.C (LyX):
1661         * lyxfunc.C (dispatch):
1662         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1663         rather than the grfx shortcut.
1664
1665 2003-07-21  André Pönitz  <poenitz@gmx.net>
1666
1667         * rowpainter.C: remove unused variables
1668
1669         * tabular_funcs.C:
1670         * tabular_funcs.h: move to tabular.C
1671         * Makefile.am: adjust
1672
1673         * tabular.[Ch]: basic optical cleaning
1674
1675         * author.h: pass references, not values
1676
1677 2003-07-18  André Pönitz  <poenitz@gmx.net>
1678
1679         * lyxtext.h:
1680         * metricsinfo.C:
1681         * metricsinfo.h:
1682         * rowpainter.C:
1683         * text.C:
1684         * text2.C:
1685         * text3.C: two-phase drawing for InsetText and InsetTabular
1686         some float -> int changes.
1687
1688 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1689
1690         * lyx_main.C: fix the fix
1691
1692 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * lyx_main.C: fix a crash in batch mode if no files specified
1695         * converter.C: ws
1696
1697 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1698
1699         * format.[Ch] (papersize): moved to BufferParams
1700         * converter.[Ch] (dvips_options): moved to BufferParams
1701         (dvipdfm_options): moved to anon namespace
1702         * bufferparams.[Ch]: added above functions.
1703
1704 2003-07-17  André Pönitz  <poenitz@gmx.net>
1705
1706         * lyxtext.h:
1707         * rowpainter.C:
1708         * text2.C: don't call inset->update() anymore
1709
1710         * metricsinfo.[Ch]: add convenience constructor
1711
1712 2003-07-16  André Pönitz  <poenitz@gmx.net>
1713
1714         * lyxcursor.[Ch]:
1715         * lyxfunc.[Ch]:
1716         * text.C:
1717         * text2.C: replace the LyXCursor::irow_ member with
1718          on-demand computation of the value
1719
1720 2003-07-16  John Levon  <levon@movementarian.org>
1721
1722         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1723
1724 2003-07-15  André Pönitz  <poenitz@gmx.net>
1725
1726         * text.C:
1727         * text2.C: remove no more needed refresh_row
1728
1729 2003-07-15  André Pönitz  <poenitz@gmx.net>
1730
1731         * lyxtext.h:
1732         * rowpainter.C:
1733         * text2.C:
1734         * text3.C: refresh_status tristate -> need_update bool
1735
1736 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1737
1738         * lyxtext.h (init): remove reinit argument (act as if always true)
1739         * text2.C: adjust to that
1740
1741 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1742
1743         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1744         * text3.C: use it to delete selections in some cases
1745         (bugs 441, 673, 702, 954).
1746
1747 2003-07-14  André Pönitz  <poenitz@gmx.net>
1748
1749         * rowpainter.[Ch]: reduce interface
1750
1751 2003-07-14  André Pönitz  <poenitz@gmx.net>
1752
1753         * BufferView_pimpl.C:
1754         * text2.C: adjust after removing unused BufferView * argument
1755
1756 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1757
1758         * text2.C (init): fix a crash fired on resize
1759
1760 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1761
1762         * buffer.[Ch]: added new closing signal
1763         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1764         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1765         BufferView::Pimpl via the closing the signal
1766
1767 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1768
1769         * buffer.[Ch]: take out all bv-related from buffer
1770         * BufferView.C:
1771         * BufferView_pimpl.[Ch]: connect to new signals
1772         * CutAndPaste.C: removed useless asserts
1773         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1774         * lyxvc.[Ch]:
1775         * vc-backend.[Ch]:
1776         * lyxfunc.C: moved view-related funciontality from vc here
1777         * paragraph.C: removed outdated comments
1778         * text.C: ws
1779
1780 2003-07-10  André Pönitz  <poenitz@gmx.net>
1781
1782         * BufferView_pimpl.C:
1783         * tabular.h:
1784         * tabular_funcs.C:
1785         * text.C:
1786         * text2.C: remove InsetText::InnerCache, clean up consequences
1787
1788 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1789
1790         * ispell.C: fix two typos in error messages
1791
1792 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1793
1794         * Extend Note inset to other forms of annotation like Comment
1795         and Greyedout. Right button click gives dialog.
1796
1797         Files modified or added (+):
1798
1799         * insetnote.[Ch]
1800         * FormNote.[Ch]      +
1801         * ControlNote.[Ch]   +
1802         * form_note.fd       +
1803         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1804         frontends/controllers
1805         * xforms/Dialogs.C
1806         * factory.C
1807
1808 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1809
1810         * aspell.C: add missing namespace lyx::support
1811
1812 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * BufferView.[Ch] (newFile): Add
1815         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1816         * LaTeX.[Ch] (message): added this signal and use it
1817         * buffer.[Ch] (busy, message): added these signals and use them
1818         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1819         * converter.C:
1820         * exporter.C:
1821         * format.C:
1822         * importer.C: use buffer signals instead of direct bv calling
1823         * lyx_cb.[Ch] (ShowMessage): removed
1824         * lyx_main.C:
1825         * lyxfunc.C:
1826         * paragraph_funcs.C:
1827         * text2.C: use buffer signals
1828
1829 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * introduce namespace lyx::graphics
1832
1833 2003-07-02  André Pönitz  <poenitz@gmx.net>
1834
1835         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1836
1837 2003-07-01  André Pönitz  <poenitz@gmx.net>
1838
1839         * text.C:
1840         * text2.C:
1841         * text3.C:
1842         * text_funcs.[Ch]:
1843         * textcursor.h:
1844         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1845           text*.C to text_func.C
1846
1847 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1848
1849         * introduce namespace lyx::support
1850
1851 2003-06-30  André Pönitz  <poenitz@gmx.net>
1852
1853         * Chktex.C:
1854         * funcrequest.C:
1855         * lyxtext.h:
1856         * text.C: re-enable --with-included-string
1857
1858 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1859
1860         * textcursor.C: add <config.h>
1861
1862         * text.C (getWord): remove const from word_location arg
1863
1864         * lyxvc.C (getLogFile): fix const type order
1865
1866         * lyxtext.h: remove const from word_location arg, add arg name
1867
1868         * lyxlayout.h: currect type on labeltype.
1869
1870         * importer.C: correct \file
1871
1872         * converter.C (intToFormat): use std:: on ret val, ws changes
1873
1874         * bufferlist.h: correct \file
1875
1876         * buffer.C (makeLinuxDocFile): fix const type order
1877         (makeDocBookFile): ditto
1878         (fillWithBibKeys): use std:: on stdlib args.
1879
1880         * CutAndPaste.C: fix authors.
1881         (availableSelections): use std:: on return vector
1882
1883 2003-06-27  André Pönitz  <poenitz@gmx.net>
1884
1885         * BufferView_pimpl.C:
1886         * bufferview_funcs.C:
1887         * lyxcursor.C:
1888         * lyxcursor.h:
1889         * lyxfunc.C:
1890         * lyxtext.h:
1891         * rowpainter.C:
1892         * text.C:
1893         * text2.C:
1894         * text3.C: remove LyXCursor::row_ member
1895
1896         * lyxtext.h:
1897         * text.C: rename fullRebreak() to partialRebreak() and implement
1898           a fullRebreak() that really bereks fully
1899
1900         * textcursor.h: new struct for cursor-related data
1901
1902 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * lyx_main.C (LyX): get full path of document loaded on the
1905         command line
1906
1907 2003-06-26  André Pönitz  <poenitz@gmx.net>
1908
1909         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1910           remove unused/broken operator>,<,>=.
1911
1912         *       text.C: remove only use of broken operator<= in an Assert().
1913
1914 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1915
1916         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1917         moved errorlist_.clear to showErrorList
1918
1919 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1920
1921         * converter.C (scanLog, runLaTeX):
1922         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1923         move the bv->showErrorList call to the callers
1924         * lyxfunc.C: i.e. here...
1925         * text2.C: and here
1926         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1927         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1928         namespace, the second to...
1929         * buffer_funcs (BufferFormat, parseErrors): added
1930         * errorlist.C (ErrorList(TeXErrors const &)): removed
1931
1932 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1935
1936 2003-06-24  "Garst R. Reese" <reese@isn.net>
1937
1938         * debug.C: fix typo
1939
1940 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1941
1942         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1943
1944         * version.C.in: change docversion to 1.4
1945
1946 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1947
1948         * buffer.C: fix a bug just introduced
1949
1950 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1951
1952         * buffer.[Ch]: added the parseError signal and use it, removed
1953         sgmlError
1954         * BufferView.[Ch] (addError): moved to ...
1955         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1956         to the Buffer::parseError signal to catch (guess what) parse errors
1957         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1958
1959 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1960
1961         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1962         ability to create a buffer and to return an existing one from
1963         the list. Moved these functions to...
1964         * buffer_funcs.[Ch]: added
1965         * BufferView.[Ch] (loadLyXFile): added
1966         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1967         job removed from bufferlist::loadLyXFile.
1968         * buffer.C (setReadOnly): make it work without view
1969         (i.e added an if (users))
1970
1971 2003-06-19  Angus Leeming  <leeming@lyx.org>
1972
1973         * lfuns.h:
1974         * LyXAction.C (init):
1975         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1976         with LFUN_DIALOG_SHOW <name> <data>.
1977
1978 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1979
1980         * CutAndPaste.C (availableSelections): small compilation fix for
1981         ancient (gcc 2.9x) compilers
1982
1983 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1984
1985         * text3.C (cursorNext): add tmp var
1986
1987         * text2.C (updateCounters): for function calling out of for clause
1988         (replaceSelectionWithString): ditto
1989         (insertStringAsParagraphs): ditto
1990         (getColumnNearX): add tmp var
1991         (setCursorFromCoordinates): add tmp var
1992         (cursorDownParagraph): add tmp var
1993         (deleteEmptyParagraphMechanism): add tmp var
1994
1995         * text.C (insertChar): add tmp var
1996
1997         * rowpainter.C (paintDepthBar): add tmp var
1998
1999         * CutAndPaste.C (availableSelections): potentially check all
2000         paragraphs in a cut to fill the shown strings.
2001
2002 2003-06-18  André Pönitz  <poenitz@gmx.net>
2003
2004         * kbmap.[Ch]: use vector<> instead of list<>
2005
2006 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2007
2008         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2009         pasteSelection with index
2010
2011         * text2.C (pasteSelection): modify, call pasteSelection with index
2012
2013         * paragraph.C (asString): reimplement version with no interval to
2014         call the one with interval.
2015
2016         * lyxtext.h: add index arg to pasteSelection
2017
2018         * MenuBackend.C (MenuItem): handle PasteRecent
2019         (Menu::read::Menutags): add md_pasterecent
2020         (read): handle it
2021         (expandPasteRecent): new function
2022         (expand): use it
2023
2024         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2025
2026         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2027         the limited stack
2028         (availableSelections): new function
2029
2030 2003-06-17  Angus Leeming  <leeming@lyx.org>
2031
2032         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2033
2034 2003-06-17  Angus Leeming  <leeming@lyx.org>
2035
2036         * lfuns.h:
2037         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2038
2039         * lyxfunc.C (dispatch): invoke it.
2040
2041 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * iterators.C (operator++, ParPosition): reintroduce some
2044         const_cast for the benefit of older compilers.
2045
2046 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * text3.C (dispatch): do not modify clipboard when doing
2049         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2050         LFUN_DELETE_SKIP on a selection selection
2051
2052 2003-06-16  André Pönitz  <poenitz@gmx.net>
2053
2054         * BufferView.C:
2055         * buffer.C:
2056         * buffer.h:
2057         * paragraph.C:
2058         * tabular.[Ch]: IU of clone() and getLabelList();
2059
2060 2003-06-13  André Pönitz  <poenitz@gmx.net>
2061
2062         * tabular.h: compactification
2063
2064 2003-06-12  André Pönitz  <poenitz@gmx.net>
2065
2066         * tabular.C:
2067         * tabular.h:
2068         * tabular_funcs.h: some renaming plus whitespace
2069
2070 2003-06-12  André Pönitz  <poenitz@gmx.net>
2071
2072         * BufferView.C:
2073         * BufferView_pimpl.C:
2074         * CutAndPaste.C:
2075         * buffer.C:
2076         * iterators.[Ch]:
2077         * lyxfunc.C:
2078         * text.C:
2079         * toc.C: Return a Paragraph & for ParIterator::operator*()
2080
2081 2003-06-11  John Levon  <levon@movementarian.org>
2082
2083         * lyx_main.C:
2084         * ToolbarBackend.h:
2085         * ToolbarBackend.C: add "Toolbars" section and
2086         put the flags there
2087
2088 2003-06-10  Angus Leeming  <leeming@lyx.org>
2089
2090         * lfuns.h:
2091         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2092
2093         * lyxfunc.C (dispatch): invoke it.
2094
2095 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * main.C: protect <ios> with HAVE_IOS
2098         (main): protect sync_with_stdio with HAVE_IOS
2099
2100 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2101
2102         * text2.C (cutSelection): adjust
2103         (pasteSelection): adjust
2104
2105         * messages.C: handle get of empty string
2106
2107         * main.C (main): use sync_with_stdio(false)
2108
2109         * lyxfunc.C (dispatch): adjust
2110
2111         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2112         (WriteAs): remove unneeded BufferView arg.
2113
2114         * bufferparams.h: use correct types on papersize, papersize2 and
2115         paperpackage.
2116
2117         * bufferparams.C (readToken): adjust for type
2118         (writeLaTeX): add missing cases to switch.
2119
2120         * bufferlist.C (quitWriteBuffer): adjust
2121         (close): adjust
2122
2123         * buffer.C (asciiParagraph): remove some commented code.
2124
2125         * CutAndPaste.C: remove current_view extern variable.
2126         (cutSelection): add BufferParams arg.
2127         (eraseSelection): add BufferParams arg.
2128         (pasteSelection): add Buffer const & arg
2129
2130 2003-06-07  John Levon  <levon@movementarian.org>
2131
2132         * buffer.C:
2133         * paragraph_funcs.C:
2134         * paragraph_pimpl.C:
2135         * text.C:
2136         * text2.C:
2137         * paragraph.h:
2138         * paragraph.C: allow InsetERT to freely space lines,
2139         and some consolidation of code
2140
2141 2003-06-06  José Matos  <jamatos@fep.up.pt>
2142
2143         * buffer.C (makeDocBookFile): fix bug #821
2144
2145 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2146
2147         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2148
2149 2003-06-04  Angus Leeming  <leeming@lyx.org>
2150
2151         * buffer.C: bump format to 224.
2152
2153 2003-06-05  André Pönitz  <poenitz@gmx.net>
2154
2155         * text2.C (redoParagraphs): remove two const_cast<>
2156
2157 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2158
2159         * ParagraphList.h: remove last remnants of NO_STD_LIST
2160
2161 2003-06-03  Angus Leeming  <leeming@lyx.org>
2162
2163         * factory.C (createInset): small change to the way InsetExternal's params
2164         are set.
2165
2166 2003-06-04  André Pönitz  <poenitz@gmx.net>
2167
2168         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2169
2170         * paragraph_pimpl.h:
2171         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2172
2173         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2174
2175         * undo_funcs.C: make some simple cases of undo work again
2176
2177 2003-06-03  John Levon  <levon@movementarian.org>
2178
2179         * ispell.C: HPUX doesn't have sys/select.h
2180         (from Albert Chin)
2181
2182 2003-06-03  John Levon  <levon@movementarian.org>
2183
2184         * CutAndPaste.C: update tabular and include inset
2185         buffer references
2186
2187         * buffer.h:
2188         * paragraph.h:
2189         * paragraph.C: remove owningBuffer(), don't pass Buffer
2190         to clone()
2191
2192         * factory.C: insetGraphicsParams changed
2193
2194 2003-06-02  John Levon  <levon@movementarian.org>
2195
2196         * LyXAction.C:
2197         * factory.C:
2198         * lfuns.h:
2199         * lyxfunc.C:
2200         * text3.C: remove insetparent
2201
2202 2003-06-02  John Levon  <levon@movementarian.org>
2203
2204         * buffer.h:
2205         * buffer.C: fix inset_iterator.end(), move out of line
2206         (bug 1149)
2207
2208 2003-06-01  John Levon  <levon@movementarian.org>
2209
2210         * text3.C: use a proper cut/paste when doing inset
2211         insert (from Jürgen Spitzmüller)
2212
2213 2003-06-01  John Levon  <levon@movementarian.org>
2214
2215         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2216
2217 2003-05-30  André Pönitz  <poenitz@gmx.net>
2218
2219         * rowpainter.C: unify second drawing phase
2220
2221 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * trans_mgr.C: remove one case of current_view
2224
2225         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2226
2227         * paragraph_funcs.h: remove paragraph.h include
2228
2229         * paragraph.h: delete NO_STD_LIST stuff
2230
2231         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2232
2233         * buffer.h: remove paragraph.h include
2234
2235         * ParagraphList.C: delete file
2236
2237         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2238
2239         * toc.C (getTocList): adjust
2240
2241         * paragraph_pimpl.C (validate): adjust
2242
2243         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2244
2245         * paragraph.C (Paragraph): adjust
2246         (getPositionOfInset): use const_iterator, adjust
2247         (bibitem): use const_iterator, adjust
2248         (setInsetOwner): adjust
2249
2250         * iterators.C (operator++): adjust
2251
2252         * InsetList.[Ch]: Replace selfmade iterator with standard
2253         vector::iterator also introduce const_iterator. Remove getPos,
2254         getInset and setInset from InsetTable. Adjust accordingly.
2255
2256         * BufferView.C (lockInset): adjust
2257         (ChangeInsets): adjust
2258
2259         * tabular.[Ch]: delete commented same_id functions
2260
2261 2003-05-28  John Levon  <levon@movementarian.org>
2262
2263         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2264
2265 2003-05-28  André Pönitz  <poenitz@gmx.net>
2266
2267         * metricsinfo.[Ch]: remove 'fullredraw' member
2268
2269 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2270
2271         * lyxtextclass.C (operator): remove caching.
2272
2273 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2274
2275         * text3.C: adjust
2276
2277         * text2.C (cursorBottom): adjust
2278         (setCounter): use ParagraphList::find, adjust
2279
2280         * text.C (workWidth): use ParagraphList::find, adjust
2281
2282         * lyxcursor.C (LyXCursor): adjust
2283
2284         * buffer.C (inset_iterator): adjust
2285
2286         * ParagraphList.h: make iterator(value_type) private, make
2287         ParagraphList a friend of iterator.
2288
2289         * ParagraphList.C (find): new function
2290
2291         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2292
2293 2003-05-27  André Pönitz  <poenitz@gmx.net>
2294
2295         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2296
2297 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2298
2299         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2300
2301 2003-05-26  John Levon  <levon@movementarian.org>
2302
2303         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2304
2305 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2306
2307         * remove same_id from function signatures, adjust.
2308
2309 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2310
2311         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2312
2313         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2314
2315         * paragraph.C (Paragraph): get rid of same_ids parameter
2316
2317         * ParagraphList.C (insert): adjust
2318         (push_back): adjust
2319
2320 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * paragraph_funcs.C (breakParagraph): adjust
2323         (breakParagraphConservative): adjust
2324
2325         * buffer.C (readParagraph): adjust
2326
2327         * ParagraphList.C (insert): take a reference instead of a pointer
2328         (insert): adjust
2329
2330         * paragraph.[Ch] (id): new function
2331
2332         * bufferlist.C (newFile): adjust
2333
2334         * ParagraphList.C (ParagraphList): adjust
2335         (assign): adjust
2336         (push_back): take a reference instead of a pointer.
2337
2338         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2339
2340         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2341         instead.
2342
2343         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2344         set else use old code.
2345
2346         * ParagraphList.C: remove all NO_NEXT code and only compile this
2347         code of NO_STD_LIST is set.
2348
2349 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2350
2351         * BufferView_pimpl.C:
2352         * TextCache.C:
2353         * TextCache.h:
2354         * bufferlist.C:
2355         * errorlist.h:
2356         * format.C:
2357         * format.h:
2358         * graph.C:
2359         * lyxfunc.C:
2360         * lyxrc.C:
2361         * graphics/GraphicsConverter.C:
2362         * graphics/PreviewLoader.C: header adjustment
2363
2364 2003-05-23  Angus Leeming  <leeming@lyx.org>
2365
2366         * LaTeXFeatures.[Ch] (useBabel): new method.
2367         * bufferparams.C (writeLaTeX): use it.
2368
2369 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2370
2371         * ParagraphList.h (set): remove unused function.
2372
2373 2003-05-23  André Pönitz  <poenitz@gmx.net>
2374
2375         * BufferView.C:
2376         * BufferView_pimpl.C:
2377         * buffer.C:
2378         * buffer.h:
2379         * lyxfunc.C:
2380         * undo_funcs.C: setUndo reworked
2381
2382         * iterators.[Ch]: add access to topmost ParagraphList
2383
2384         * lyxtext.[Ch] (workWidth): add a const
2385
2386 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2387
2388         * texrow.[Ch] (increasePos): remove function
2389         * exporter.C (export): removed unused var and outdated comment
2390
2391 2003-05-23  Angus Leeming  <leeming@lyx.org>
2392
2393         * latexrunparams.h: rename fragile as moving_arg.
2394         * paragraph.C (simpleTeXOnePar): ditto.
2395         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2396
2397 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2400         (createUndo): ditto
2401         (textUndoOrRedo): comment out a currently unused var.
2402
2403         * paragraph.h (NO_NEXT): enable NO_NEXT
2404
2405         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2406
2407         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2408
2409         * exporter.C (Export): adjust for removeAutoInsets removal.
2410
2411         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2412
2413         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2414
2415         * BufferView.[Ch] (removeAutoInsets): delete function
2416
2417 2003-05-22  Angus Leeming  <leeming@lyx.org>
2418
2419         * latexrunparams.h: add a free_spacing variable.
2420
2421         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2422         to pass moving_arg, as the data is stored in runparams.fragile.
2423
2424         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2425         to Inset::latexOptional or to simpleTeXOnePar.
2426
2427         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2428         free_spacing arg to Inset::latexOptional.
2429
2430         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2431         free_spacing arg.
2432
2433 2003-05-22  Angus Leeming  <leeming@lyx.org>
2434
2435         * latexrunparams.h: add fragile and use_babel variables.
2436
2437         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2438         * buffer.C (makeLaTeXFile): store this returned value in
2439         runparams.use_babel, thus passing it to the inset::latex methods.
2440
2441         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2442         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2443
2444         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2445         longer has a fragile arg, as it is stored in runparams.fragile.
2446
2447         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2448         moving_arg parameter as the data is stored in runparams.fragile.
2449
2450         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2451         a fragile parameter as the data is stored in runparams.fragile.
2452
2453 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2456
2457 2003-05-22  Angus Leeming  <leeming@lyx.org>
2458
2459         * latexrunparams.h: add a 'bool nice' which defaults to false.
2460
2461         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2462         now encapsulated within runparams.
2463
2464         * bufferlist.C (updateIncludedTeXfiles):
2465         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2466
2467 2003-05-22  Angus Leeming  <leeming@lyx.org>
2468
2469         * latexrunparams.h: new file containing struct LatexRunParams.
2470         * Makefile.am: add new file.
2471
2472         * LaTeX.[Ch] (c-tor, run):
2473         * buffer.[Ch] (makeLaTeXFile):
2474         * bufferlist.[Ch] (updateIncludedTeXfiles):
2475         * converter.C (convert, scanLog):
2476         * converter.[Ch] (runLaTeX):
2477         * exporter.C (Export):
2478         * paragraph.[Ch] (simpleTeXOnePar):
2479         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2480         * paragraph_funcs.[Ch] (latexParagraphs):
2481         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2482         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2483         pass around a LatexRunParams parameter.
2484
2485 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * paragraph.[Ch]: remove unused constructor
2488
2489         * ParagraphList.C (erase): new function, taking two iterators
2490
2491 2003-05-22  André Pönitz  <poenitz@gmx.net>
2492
2493         * undo_funcs.C: remove duplicated code
2494
2495         * iterator.[Ch]: operator=
2496
2497 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * tabular.C (SetMultiColumn): ws changes
2500
2501         * rowpainter.C (paintFirst): get rid of a ->previous
2502
2503         * lyx_cb.C (getPossibleLabel): parlist simplification
2504
2505         * BufferView.C (ChangeInsets): simplify slightly.
2506
2507 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2508
2509         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2510         * lfuns.h: new LFUN_SPACE
2511         * lyxfunc.C: protected space has a new lfun
2512         * paragraph_funcs.C: read new space insets
2513         * text3.C:
2514         * factory.C: handle new space insets
2515
2516 2003-05-22  André Pönitz  <poenitz@gmx.net>
2517
2518         * BufferView.C:
2519         * BufferView_pimpl.C:
2520         * buffer.[Ch]:
2521         * lyxfunc.C:
2522         * undo_funcs.C: return a ParIterator from getParFromID.
2523
2524         * iterators.[Ch]: add two const's
2525
2526 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * toc.C (getTocList): adjust
2529
2530         * iterators.[Ch]: rework for parlist
2531
2532         * buffer.C (par_iterator_begin): adjust
2533         (par_iterator_end): adjust
2534
2535         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2536
2537         * BufferView.C (removeAutoInsets): adjust
2538         (ChangeInsets): adjust
2539
2540 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2541
2542         * text.C (top_y): fix bug 1110
2543
2544 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2545
2546         * errorlist.[Ch]: added
2547         * buffer.C:
2548         * BufferView.[Ch]:
2549         * BufferView_pimpl.C:
2550         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2551         instead
2552
2553 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2554
2555         * Makefile.am: ensure that lyx is relinked upon changes to the
2556         various "convenience" libs.
2557
2558 2003-05-20  Angus Leeming  <leeming@lyx.org>
2559
2560         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2561         files are compiled in alphabetical order again.
2562
2563         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2564
2565 2003-05-19  Angus Leeming  <leeming@lyx.org>
2566
2567         * gettext.[Ch]: remove "char const * _(char const *)".
2568
2569 2003-05-19  André Pönitz  <poenitz@gmx.net>
2570
2571         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2572
2573         * Makefile.am:
2574         * BufferView.C:
2575         * DepTable.h:
2576         * LaTeXFeatures.C:
2577         * buffer.C:
2578         * lyxfont.C:
2579         * lyxlex.h:
2580         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2581
2582 2003-05-19  André Pönitz  <poenitz@gmx.net>
2583
2584         * buffer.C:
2585         * lyxlayout.[Ch]:
2586         * lyxtextclass.[Ch]:
2587         * paragraph.C:
2588         * paragraph_funcs.[Ch]:
2589         * text2.C:
2590         * text3.C: more insetenv work
2591
2592 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * ParagraphParameters.C (params2string): small bug fixed
2595
2596 2003-05-16  André Pönitz  <poenitz@gmx.net>
2597
2598         * debug.C:
2599         * bufferview_funcs.C: patch from Kornel Benko to prevent
2600           crash when _(...) is called twice in a statement
2601
2602 2003-05-16  André Pönitz  <poenitz@gmx.net>
2603
2604         * BufferView.C:
2605         * lyxfunc.C:
2606         * text.C:
2607         * text2.C:
2608         * text3.C:
2609         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2610
2611 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * lyx_main.C (init): remove spurious static_cast
2614
2615 2003-05-14  André Pönitz  <poenitz@gmx.net>
2616
2617         * BufferView.C: fix format string
2618
2619 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2620
2621         * BufferView.[Ch] (insertErrors): removed
2622         * BufferView.[Ch] (showErrorList): added
2623         * buffer.C (runChkTeX):
2624         * converter.C (scanLog): call showErrorList instead of inserterrors
2625
2626 2003-05-13  André Pönitz  <poenitz@gmx.net>
2627
2628         * BufferView_pimpl.C:
2629         * buffer.C:
2630         * bufferview_func.C:
2631         * MenuBackend.C:
2632         * lyxfunc.C:
2633         * lyxrc.C:
2634         * tex-accent.C:
2635         * text3.C:
2636         * toc.C:
2637         * tabular_funcs.h: tostr() from its own header
2638
2639         * ParagraphParameters.C:
2640         * ToolbarBackend.C:
2641         * bufferparams.C:
2642         * format.C:
2643         * lyxlex_pimpl.C:
2644         * text3.C: STRCONV()
2645
2646 2003-05-12  André Pönitz  <poenitz@gmx.net>
2647
2648         * BufferView.C:
2649         * BufferView_pimpl.C:
2650         * CutAndPaste.C:
2651         * LaTeX.C:
2652         * LaTeXFeatures.C:
2653         * ParagraphParameters.C:
2654         * buffer.C:
2655         * bufferlist.C:
2656         * bufferparams.C:
2657         * bufferview_funcs.C:
2658         * converter.C:
2659         * counters.C:
2660         * debug.C:
2661         * exporter.C:
2662         * format.C:
2663         * importer.C:
2664         * lyx_cb.C:
2665         * lyx_main.C:
2666         * lyxfont.C:
2667         * lyxfunc.C:
2668         * lyxvc.C:
2669         * paragraph.C:
2670         * paragraph_funcs.C:
2671         * tabular.C:
2672         * tabular_funcs.C:
2673         * text2.C:
2674         * text3.C:  boost::format -> bformat  all over the place
2675
2676
2677 2003-05-09  André Pönitz  <poenitz@gmx.net>
2678
2679         * LColor.[Ch]: Pimpl the #include <map> away
2680
2681 2003-05-09  John Levon  <levon@movementarian.org>
2682
2683         * bufferlist.C: never remove emergency saves
2684
2685 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2686
2687         * Makefile.am: better lib building
2688
2689 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2690
2691         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2692         instead.
2693         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2694         (simpleTeXSpecialChars): adjust
2695         (simpleTeXSpecialChars): adjust
2696         * paragraph.C (simpleTeXOnePar): adjust
2697         * buffer.C (makeLaTeXFile): adjust
2698
2699         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2700
2701         * text2.C (changeDepth): parlist cleanup
2702         (getColumnNearX): ditto
2703
2704         * rowpainter.C (getLabelFont): parlist cleanup
2705
2706         * bufferlist.C (newFile): parlist cleanup
2707
2708         * CutAndPaste.C (eraseSelection): parlist cleanup
2709
2710         * BufferView_pimpl.C (trackChanges): parlist cleanup
2711         (dispatch): ditto
2712
2713         * BufferView.C (lockInset): parlist cleanup.
2714         (ChangeInsets): ditto
2715
2716 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2717
2718         * CutAndPaste.h: Update file header.
2719
2720         * CutAndPaste.C: Update file header.
2721         Store the parts cut out of the Document in a limited_stack.
2722         (copySelection): adjust
2723         (pasteSelection): new function, takes the index in the limited stack.
2724         (nrOfParagraphs): adjust
2725         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2726         simplify error inset insertion.
2727         (checkPastePossible): adjust
2728
2729 2003-05-06  John Levon  <levon@movementarian.org>
2730
2731         * text2.C: don't cast wrap inset to float
2732
2733 2003-05-05  André Pönitz  <poenitz@gmx.net>
2734
2735         * iterator.C:
2736         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2737
2738         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2739           few naked Paragraph *.
2740
2741 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2742
2743         * bufferparams.C: Output warning if a document with missing
2744         TeX document class is loaded
2745         * exporter.C: Disable TeX exports if the document class is missing
2746         * lyxtextclass.C:
2747         * lyxtextclass.h:
2748         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2749         isTeXClassAvailable()
2750
2751 2003-05-03  John Levon  <levon@movementarian.org>
2752
2753         * BufferView.h:
2754         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2755         explicit cursor show/hide
2756
2757         * BufferView_pimpl.h:
2758         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2759         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2760
2761         * lyxfunc.C: hide cursor before dispatching.
2762
2763         * lyx_cb.C:
2764         * lyxfind.C:
2765         * text.C:
2766         * text3.C: remove explicit cursor hides
2767
2768 2003-05-02  André Pönitz  <poenitz@gmx.net>
2769
2770         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2771
2772         * undo_funcs.C:
2773         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2774           linked lists
2775
2776         * text2.C: tiny whitespace
2777
2778 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2779
2780         * undo_funcs.C: almost only ws changes.
2781
2782         * ParagraphList.C (splice): just return if pl is empty.
2783
2784 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * ParagraphList.C (splice): new function.
2787
2788         * CutAndPaste.C (pasteSelection): use it
2789
2790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2791
2792         * CutAndPaste.C (pasteSelection): remove the last next and
2793         previous from this file.
2794
2795 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2796
2797         * CutAndPaste.C (pasteSelection): more clean up, user proper
2798         ParagraphList functions for pasteing.
2799
2800         * ParagraphList.C (insert): new function, three arg insert
2801
2802 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2803
2804         * ParagraphList.C (insert): new function, three arg insert
2805
2806         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2807         not on paragraphs.
2808
2809 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2812
2813 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2816
2817 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2818
2819         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2820         (copySelection): clean up a bit.
2821         (pasteSelection): use make_pair
2822
2823         * ParagraphList.C (ParagraphList): implement copy constructor
2824         (operator=): implement, base on copy constructor.
2825         (assign): new func
2826
2827         * paragraph.C (erase): return a bool
2828
2829         * paragraph_pimpl.C (erasePos): remove function, move contents...
2830         (erase): ... here. Return a bool.
2831         (erase): call erase instead of erasePos.
2832
2833 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * ParagraphList.h: define PitPosPair
2836         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2837         ParagraphList, fix a bug on pasting multiple pars
2838         * text2.C: change interface to C&P
2839
2840 2003-04-30  André Pönitz  <poenitz@gmx.net>
2841
2842         * undo_func.C: revert part of yesterday's patch 2
2843
2844 2003-04-30  John Levon  <levon@movementarian.org>
2845
2846         * LColor.C: s/tabular/table/
2847
2848 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2849
2850         * text3.C (dispatch): do not convert iterator -> pointer
2851         * undo_funcs.C (setCursorParUndo): ditto
2852         * text_funcs.C (transposeChars): ditto
2853
2854         * text2.C (setLayout): ws changes only
2855
2856         * text.C (breakParagraph): do not convert iterator -> pointer
2857         (insertChar): ditto
2858         (acceptChange): ditto
2859         (rejectChange): ditto
2860         (changeCase): ditto
2861         (Delete): ditto
2862         (backspace): ditto
2863
2864         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2865         pointer
2866
2867 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2868
2869         * text3.C (gotoInset): YABG (yet another bad getChar)
2870
2871 2003-04-29  André Pönitz  <poenitz@gmx.net>
2872
2873         * paragraph.h: make operator= private unimplemented as long as
2874           it is unusable
2875
2876         * ParagraphList.C: whitespace
2877
2878         * paragraph.[Ch]:
2879         * paragraph_pimpl.[Ch]:
2880         * paragraph_funcs.C:
2881         * CutAndPaste.C:
2882         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2883
2884         * text2.C:
2885           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2886
2887 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2890         * paragraph.[Ch] (erase):
2891         * paragraph_pimpl.[Ch] (erase): change return type and value
2892         * text2.C (cutSelection): some rework
2893
2894 2003-04-28  John Levon  <levon@movementarian.org>
2895
2896         * bufferlist.C: changes for unsaved changes dialog
2897
2898 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * bufferlist.C (newFile): set language (messages_) for new
2901         documents also.
2902
2903         * buffer.C (readFile): ws changes only.
2904
2905 2003-04-28  André Pönitz  <poenitz@gmx.net>
2906
2907         * undo_funcs.C:
2908         * lyxfunc.C:
2909         * buffer.[Ch]:
2910         * BufferView_pimpl.C:
2911         * BufferView.C: getParFromID related ParagraphList::iterator changes
2912
2913 2003-04-28  André Pönitz  <poenitz@gmx.net>
2914
2915         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2916           Changes
2917
2918 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2919
2920         * messages.C: remove one more localedir class variable.
2921
2922 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2923
2924         * messages.C (getLocaleDir): singleton generation function
2925         (Pimpl): use it.
2926         (Messages): add a default constructor.
2927
2928         * main.C (main): do not setup localedir here, do not call
2929         gettext_init.
2930
2931         * gettext.C (_): use it.
2932         (gettext_init): delete funciton
2933
2934 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2935
2936         * gettext.C (getLyXMessages): new singleton generating function.
2937
2938         * buffer.C (updateDocLang): adjust
2939
2940         * Makefile.am (messages.o): add target
2941         (main.o): remove target
2942
2943 2003-04-27  John Levon  <levon@movementarian.org>
2944
2945         * bufferlist.C:
2946         * lyx_cb.C:
2947         * lyxfunc.C:
2948         * lyxvc.C: specify cancel button in Alert::prompt
2949
2950 2003-04-26  John Levon  <levon@movementarian.org>
2951
2952         * text3.C:
2953         * lyxfunc.C:
2954         * lfuns.h:
2955         * LyXAction.C: add LFUN_INSET_SETTINGS
2956
2957         * lyxfunc.C: don't enable tabular-feature when there's
2958         just any locking inset
2959
2960 2003-04-26  John Levon  <levon@movementarian.org>
2961
2962         * bufferlist.C: re-add Cancel to buffer close question
2963
2964         * lyxfunc.C: fix import UI a bit
2965
2966 2003-04-25  John Levon  <levon@movementarian.org>
2967
2968         * gettext.C: remove the broken asserts for now
2969
2970 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * messages.C: make case where setlocale cannot comply work better.
2973
2974         * buffer.C (updateDocLang): new function
2975         (changeLanguage): use it
2976         (readFile): use it
2977
2978         * text2.C (setCounter): use B_ a bit.
2979
2980         * lyxlayout.C (Read): be sure to trim the label strings.
2981
2982         * messages.C (Messages): fix typo in comment
2983
2984         * buffer.C (readFile): set message_ after file is loaded.
2985         (makeDocBookFile): remove double return
2986         (changeLanguage): reset message_ upon language change.
2987         (B_): new func, use this to get translated buffer strings.
2988
2989         * main.C: add myself and Jean Marc as authors.
2990
2991 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * messages.[hC]: pimplify Messages, and three different pimpls to be
2994         used in different circumstances.
2995
2996         * gettext.[Ch]: change for use with new message code.
2997
2998 2003-04-24 André Pönitz <poenitz@gmx.net>
2999
3000         * factory.C: support for eqref
3001
3002 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * messages.[Ch]: add missing char
3005
3006         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3007
3008         * messages.[Ch]: New files
3009
3010 2003-04-18  John Levon  <levon@movementarian.org>
3011
3012         * BufferView.h:
3013         * BufferView.C:
3014         * BufferView_pimpl.C:
3015         * lfuns.h:
3016         * LyXAction.C:
3017         * lyxtext.h:
3018         * text2.C: remove layout-copy/paste (bug 778)
3019
3020 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3023
3024 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3027         if they succeed. Act accordingly.
3028
3029 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * text2.C (setCharFont): adjust
3032         (setCounter): adjust
3033         (insertStringAsLines): adjust
3034
3035         * text.C (leftMargin): adjust
3036         (setHeightOfRow): adjust
3037
3038         * rowpainter.C (paintFirst): adjust
3039         (paintLast): adjust
3040
3041         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3042         (outerHook): ditto
3043         (isFirstInSequence): ditto
3044         (getEndLabel): ditto
3045         (outerFont): adjust
3046
3047         * paragraph.C (getParLanguage): comment out some hard stuff.
3048
3049         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3050         (sgmlError): ditto
3051         (simpleDocBookOnePar): ditto
3052         (makeDocBookFile): use ParagraphList::iterator
3053
3054         * CutAndPaste.C (pasteSelection): adjust
3055
3056 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * text2.C (getFont): adjust
3059         (getLayoutFont): adjust
3060         (getLabelFont): adjust
3061
3062         * paragraph_funcs.C (TeXOnePar): adjust
3063
3064         * buffer.C (simpleLinuxDocOnePar): adjust
3065         (simpleDocBookOnePar): adjust
3066
3067         * CutAndPaste.C (pasteSelection): adjust
3068
3069         * BufferView.C (getEncoding): adjust
3070
3071         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3072
3073 2003-04-16  John Levon  <levon@movementarian.org>
3074
3075         * lyxfind.C: use parlist stuff for search/changes
3076
3077 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3080
3081         * text2.C (deleteEmptyParagraphMechanism): adjust
3082
3083         * text2.[Ch] (ownerParagraph): delete func (both of them
3084
3085 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3088
3089 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * ParagraphList.C: prepare for NO_NEXT
3092
3093 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * text2.C (getFont): adjust
3096         (getLayoutFont): adjust
3097         (getLabelFont): adjust
3098
3099         * paragraph.C (getFont): adjust
3100         (getLabelFont): adjust
3101         (getLayoutFont): adjust
3102
3103         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3104
3105 2003-04-15  John Levon  <levon@movementarian.org>
3106
3107         From Angus Leeming
3108
3109         * lyx_main.C: handle Include in .ui files
3110
3111 2003-04-15  John Levon  <levon@movementarian.org>
3112
3113         * MenuBackend.C: make the doc files length shorter
3114
3115         * ToolbarBackend.h:
3116         * ToolbarBackend.C: handle toolbar placement flags,
3117         Minibuffer
3118
3119 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3120
3121         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3122         adjust
3123
3124         * paragraph_funcs.C (TeXOnePar): adjust
3125
3126         * paragraph.C (getLabelFont): add outerfont arg, adjust
3127         (getLayoutFont): ditto
3128         (simpleTeXOnePar): adjust
3129
3130         * paragraph_pimpl.C (realizeFont): delete func
3131
3132 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3135         row argument, constify cur argument.
3136
3137 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * text2.C (getFont): adjust
3140         (getLayoutFont): adjust
3141         (getLabelFont): adjust
3142
3143         * paragraph_funcs.C (TeXOnePar): adjust
3144         (outerFont): new func...
3145         (realizeFont): ...moved out from here, changed this to facilitate
3146         transition
3147
3148         * paragraph.C (getFont): take outerfont as arg, adjust
3149         (simpleTeXOnePar): add outerfont arg, adjust
3150
3151         * buffer.C (simpleLinuxDocOnePar): adjust
3152         (simpleDocBookOnePar): adjust
3153
3154         * CutAndPaste.C (pasteSelection): adjust
3155
3156         * BufferView.C (getEncoding): adjust
3157
3158 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * text2.C (setCharFont): adjust
3161         (setCounter): adjust
3162
3163         * text.C (leftMargin): adjust
3164         (setHeightOfRow): adjust
3165
3166         * rowpainter.C (paintFirst): adjust
3167         (paintLast): adjust
3168
3169         * paragraph_pimpl.C (realizeFont): adjust
3170
3171         * paragraph.C (isFirstInSequence): move from here...
3172         * paragraph_funcs.C (isFirstInSequence): ...to here
3173
3174         * paragraph.C (outerHook): move from here...
3175         * paragraph_funcs.C (outerHook): ...to here
3176
3177         * paragraph.C (depthHook): move from here...
3178         * paragraph_funcs.C (depthHook): ...to here
3179
3180         * paragraph.C (getEndLabel): move from here...
3181         * paragraph_funcs.C (getEndLabel): ...to here
3182
3183         * text2.C (realizeFont): move from here...
3184         * paragraph_funcs.C (realizeFont): ...to here
3185
3186 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3187
3188         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3189
3190 2003-04-14  Angus Leeming  <leeming@lyx.org>
3191
3192         * LColor.[Ch]: scrap LColor mathcursor.
3193
3194 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * lyxlex.[Ch] (text): delete function
3197         * trans.C (Load): adjust
3198         * paragraph_funcs.C (readParToken): adjust
3199
3200 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3203         vector<char> instead of a char[].
3204
3205         * lyxlex_pimpl.C (getString): adjust
3206         (next): adjust
3207         (lex): use getString
3208         (eatLine): adjust
3209         (nextToken): adjust
3210
3211         * lyxlex.C (text): use pimpl_->getString()
3212         (getBool): ditto
3213         (findToken): ditto
3214
3215 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3218         (makeFontEntriesLayoutSpecific): temp var for par.size()
3219         (setLayout): temp var for ownerParagraphs().end()
3220         (fullRebreak): temp var for rows().end()
3221         (selectionAsString): temp var for boost::next(startpit), realize
3222         that the while really is a regular for loop.
3223         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3224         setCursor in one place.
3225         (setParagraph): temp vr for ownerParagraphs().end()
3226         (updateCounters): make the while loop a for loop
3227         (cutSelection): temp var for ownerParagraphs().end()
3228         (updateInset): make the do {} while() a regular for loop
3229         (getCursorX): use temp vars
3230         (setCurrentFont): use temp vars
3231         (getColumnNearX): use temp vars
3232
3233 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3234
3235         * text.C (transformChar): use temp var for getChar
3236         (computeBidiTables): use temp var for row->par()
3237         (fill): move temp vars for row->par() and pit->layout() earlier in
3238         the function.
3239         (labelFill): use temp var for row->par()
3240         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3241         asc and desc, realize that pit never changes and that firstpit is
3242         just a duplicate and not needed. Exchange rit->par() with pit in a
3243         lot of places.
3244         (breakAgain): use a temp var for boost::next(rit)
3245         (breakAgainOneRow): ditto
3246         (breakParagraph): use a temp var for rows().begin()
3247         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3248         (cursorRightOneWord): use temp var for cursor.par() and
3249         cursor.pos(), remove usage of tmpcursor.
3250         (cursorLeftOneWord): use temp var for cursor.par() and
3251         cursor.pos() only set cur at end of function.
3252
3253 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * text.C, text2.C: exchange all usage of Paragraph::next with
3256         boost::next(ParagraphList::iterator)
3257
3258         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3259
3260         * text2.C (cursorTop): simplify implementation
3261         (cursorBottom): ditto
3262         (setParagraph): use ParagraphList::iterator
3263         (setCurrentFont): adjust
3264         (getColumnNearX): adjust
3265         (cursorRight): adjust
3266         (cursorLeft): remove usage of Paragraph::previous
3267         (cursorUpParagraph): ditto
3268         (deleteEmptyParagraphMechanism): slight cleanup
3269
3270         * text.C (isBoundary): take a Paragraph const & instead of a
3271         pointer as arg.
3272         (addressBreakPoint): ditto
3273         (leftMargin): remove usage of Paragraph::previous.
3274         (setHeightOfRow): ditto
3275         (cursorLeftOneWord): ditto
3276         (selectNextWordToSpellcheck): ditto
3277         (Delete): ditto
3278         (backspace): ditto
3279         (breakParagraph): remove one usage of Paragraph::next
3280         (redoParagraph): ditto
3281         (acceptChange): ditto
3282         (insertChar): adjust
3283         (rowBreakPoint): adjust
3284
3285         * bufferview_funcs.C (toggleAndShow): adjust
3286
3287 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3288
3289         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3290         methods to access it.
3291         * lyxtext.h:
3292         * text.C: Added updateRowPositions to compute all row positions.
3293         Make top_y and getRowNearY() to use the cached y position
3294
3295 2003-04-11  John Levon  <levon@movementarian.org>
3296
3297         * text.C (rowBreakPoint): reintroduce the labelEnd
3298         checks, code copied from the row fill stuff. Deep voodoo.
3299
3300         * text.C (fill): add a comment and debugging for the
3301         next poor soul.
3302
3303 2003-04-11  John Levon  <levon@movementarian.org>
3304
3305         * text.C: make sure fullrow insets get wrapped to the next line,
3306         even when they're in a manual label
3307
3308 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * text2.C (insertParagraph): make it take ParagraphList::iterator
3311         as arg.
3312         (setLayout): make it return ParagraphList::iterator
3313         (redoParagraphs): ditto
3314         (setCounter): ditto
3315         (checkParagraph): ditto
3316
3317         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3318
3319         * text2.C: adjust several funcs.
3320         (realizeFont): take a ParagraphList::iterator as arg.
3321         (getLayoutFont): ditto
3322         (getLabelFont): ditto
3323         (setCharFont): ditto
3324
3325         * text.C: adjust several funcs.
3326
3327 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3328
3329         * text.C (selectNextWordToSpellcheck): don't accidentally
3330         skip insets
3331
3332 2003-04-10  John Levon  <levon@movementarian.org>
3333
3334         * ToolbarBackend.C (getIcon): special handling for
3335         LFUN_MATH_DELIM
3336
3337 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * text2.C (cursorRight): a getChar assert fixed
3340
3341 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * text2.C (getFont): change to take a ParagraphList::iterator
3344         instead of Paragraph*
3345         Adjust several functions.
3346
3347         * text.C (transformChar): change to take a ParagraphList::iterator
3348         instead of Paragraph*
3349         (singleWidth): ditto
3350         Adjust several functions.
3351
3352         * rowpainter.C: adjust several functions
3353         * rowpainter.h:store a ParagraphList::iterator and not a
3354         Paragraph&.
3355
3356
3357 2003-04-09  John Levon  <levon@movementarian.org>
3358
3359         * lyxfunc.C:
3360         * lfuns.h:
3361         * LyXAction.h:
3362         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3363         and the "help" bits as well
3364
3365 2003-04-09  John Levon  <levon@movementarian.org>
3366
3367         * ToolbarBackend.h:
3368         * ToolbarBackend.C: allow multiple toolbars
3369
3370 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * undo_funcs.C (setCursorParUndo): adjust
3373
3374         * text_funcs.C (transposeChars): adjust
3375
3376         * text3.C (gotoNextInset): adjust
3377         (dispatch): adjust
3378
3379         * text2.C (setLayout): adjust
3380         (changeDepth): adjust
3381         (setFont): adjust
3382         (redoParagraphs): adjust
3383         (selectionAsString): adjust
3384         (setParagraph): adjust
3385         (insertInset): adjust
3386         (cutSelection): adjust
3387         (copySelection): adjust
3388         (pasteSelection): adjust
3389         (insertStringAsLines): adjust
3390         (updateInset): adjust
3391         (setCursor): change to take a ParagraphList::iterator parameter
3392         (setCursorIntern): change to take a ParagraphList::iterator parameter
3393         (setCurrentFont): adjust
3394         (cursorLeft): adjust
3395         (cursorRight): adjust
3396         (deleteEmptyParagraphMechanism): adjust
3397
3398         * text.C (breakParagraph): adjust
3399         (insertChar): adjust
3400         (acceptChange): adjust
3401         (rejectChange): adjust
3402         (selectNextWordToSpellcheck): adjust
3403         (changeCase): adjust
3404         (Delete): adjust
3405         (backspace): adjust
3406
3407         * lyxfind.C (SearchForward): adjust
3408         (SearchBackward): adjust
3409         (nextChange): adjust
3410
3411         * lyxcursor.C (par): adjust
3412
3413         * lyxcursor.h: store a ParagraphList::iterator instead of a
3414         Paragraph*
3415
3416         * lyx_cb.C (getPossibleLabel): adjust
3417
3418         * bufferview_funcs.C (toggleAndShow): adjust
3419
3420         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3421         (dispatch): adjust
3422
3423         * BufferView.C (removeAutoInsets): adjust
3424         (lockedInsetStoreUndo): adjust
3425
3426 2003-04-09  John Levon  <levon@movementarian.org>
3427
3428         * ToolbarBackend.C: try icon without argument
3429         if with argument fails
3430
3431 2003-04-08  John Levon  <levon@movementarian.org>
3432
3433         * ToolbarBackend.h:
3434         * ToolbarBackend.C: add getIcon(), handle tooltip,
3435         and change from "Icon" to "Item".
3436
3437 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3438
3439         * BufferView.C (lockInset): another bad getchar crunched
3440
3441 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3442
3443         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3444         again)
3445
3446 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * lyxfind.C (searchForward, searchBackwards): bug 782
3449
3450 2003-04-07  John Levon  <levon@movementarian.org>
3451
3452         * paragraph.C: remove dead comment
3453
3454         * text.C: remove troublesome depth-fiddling code
3455         in leftMargin() and rightMargin() (bug 1017)
3456
3457         * text.C: fix breaking of rows in nested lists
3458         (bug 1004)
3459
3460         * text2.C (updateCounters): fix up depth values
3461         (bug 1013)
3462
3463 2003-04-07  John Levon  <levon@movementarian.org>
3464
3465         * BufferView_pimpl.C: clear message when doc finishes resizing,
3466         and after a mouse event
3467
3468         * lyxfunc.C: clear message after exiting inset
3469
3470 2003-04-07  John Levon  <levon@movementarian.org>
3471
3472         * bufferview_funcs.C: show math status not outside
3473         status in the statusbar
3474
3475 2003-04-07  John Levon  <levon@movementarian.org>
3476
3477         * lyxfunc.C: note status changed after a depth change
3478
3479 2003-04-04  Angus Leeming  <leeming@lyx.org>
3480
3481         * LaTeX.h: move AuxInfo operator==, != out of line.
3482         Remove LaTeX virtual destructor; nothing derives from it.
3483         Move operator()() out of public area and rename it startscript().
3484         Change protected for private.
3485
3486 2003-04-04  Angus Leeming  <leeming@lyx.org>
3487
3488         * lyxfunc.C:
3489         * text2.C: remove unneeded #includes.
3490
3491 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * text2.C (dEPM): fix the heigth of the next row
3494
3495 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * text.C: squashed an invalid getChar requester + some ws changes
3498
3499 2003-04-03  John Levon  <levon@movementarian.org>
3500
3501         * bufferview_funcs.h:
3502         * bufferview_funcs.C:
3503         * lyxfunc.C:
3504         * lyxtext.h:
3505         * text2.C: make getStatus work for the env depth lfuns
3506
3507 2003-04-03  John Levon  <levon@movementarian.org>
3508
3509         * bufferview_funcs.h:
3510         * bufferview_funcs.C:
3511         * lyxfunc.C:
3512         * lyxtext.h:
3513         * text2.C: parlistize decDepth(), by merging it with incDepth()
3514
3515 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * lyxrow.h: store a ParagraphList::iterator instead of a
3518         Paragraph* and adjust other class functions to suit.
3519
3520         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3521         above.
3522
3523 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3524
3525         * text2.C (setCursor): do not anchor to cursor row for the time being
3526
3527 2003-04-02  John Levon  <levon@movementarian.org>
3528
3529         * LyXAction.C:
3530         * lfuns.h:
3531         * lyx_main.C:
3532         * lyxtext.h:
3533         * text.C:
3534         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3535
3536 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * paragraph.h: make ParagraphList and ParagraphList::iterator
3539         friends of Paragraph.
3540
3541         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3542
3543         * ParagraphList.C: Use the private next_ and previous_ from
3544         Paragraph.
3545
3546 2003-04-01  John Levon  <levon@movementarian.org>
3547
3548         * ToolbarBackend.h:
3549         * ToolbarBackend.C:
3550         * Makefile.am: rename, remove defaults gunk
3551
3552         * MenuBackend.h:
3553         * MenuBackend.C: remove defaults gunk
3554
3555         * Languages.h:
3556         * Languages.C: remove defaults gunk
3557
3558         * lyx_main.h:
3559         * lyx_main.C: error out if files couldn't be found.
3560
3561 2003-04-02  John Levon  <levon@movementarian.org>
3562
3563         * text2.C: make incDepth() use parlist
3564
3565 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * undo_funcs.C (firstUndoParagraph): adjust
3568
3569         * text3.C (gotoInset): adjust
3570         (dispatch): adjust, and rewrite loop.
3571
3572         * text2.C (init): adjust, and rewrite loop.
3573         (redoParagraphs): adjust
3574         (updateInset): adjust, and rewrite loop.
3575         (deleteEmptyParagraphMechanism): adjust
3576
3577         * tabular.C (LyXTabular): adjust
3578         (SetMultiColumn): adjust
3579         (TeXRow): adjust
3580
3581         * lyxtext.[Ch] (ownerParagraph): delete function
3582         (ownerParagraphs): new function returns a ParagraphList.
3583
3584         * BufferView.C (removeAutoInsets): adjust
3585         (insertErrors): adjust
3586         (setCursorFromRow): adjust
3587
3588 2003-04-01  Angus Leeming  <leeming@lyx.org>
3589
3590         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3591         in the frontends.
3592
3593 2003-04-02  John Levon  <levon@movementarian.org>
3594
3595         * lyxtext.h:
3596         * text.C:
3597         * Makefile.am:
3598         * text_funcs.h:
3599         * text_funcs.C: make transposeChars a free function
3600
3601         * lyxrow_funcs.C: remove wrong comment
3602
3603 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * lyxtext.h: adjust
3606         * rowpainter.C: adjust
3607         * text.C: adjust
3608         * text2.C: adjust
3609         * text3.C: adjust
3610
3611         * lyxrow_funcs. [Ch]: new files
3612
3613         * lyxrow.[Ch]: remove next and previous pointers
3614         (next,previous): remove accessor functions
3615         (isParEnd): move to lyxrow_funcs
3616         (lastPos): move to lyxrow_funcs
3617         (nextRowIsAllInset): move to lyxrow_funcs
3618         (lastPrintablePos): move to lyxrow_funcs
3619         (numberOfSeparators): move to lyxrow_funcs
3620         (numberOfHfills): move to lyxrow_funcs
3621         (numberOfLabelHfills): move to lyxrow_funcs
3622         (hfillExpansion): move to lyxrow_funcs
3623
3624         * lyxfunc.C: adjust
3625
3626         * bufferview_funcs.C (toggleAndShow): adjust
3627
3628         * RowList.h: Remove class RowList from file leave just a
3629         std::list<Row>.
3630
3631         * RowList.C: delete file
3632
3633         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3634         and lyxrow_funcs.h
3635
3636 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * text3.C (cursorPrevious): adjust
3639         (cursorNext): adjust
3640         (dispatch): adjust
3641
3642         * text2.C (redoHeightOfParagraph): adjust
3643         (redoDrawingOfParagraph): adjust
3644         (setCursor): adjust
3645
3646         * text.C (breakParagraph): adjust
3647         (insertChar): adjust
3648         (backspace): adjust
3649
3650         * rowpainter.C (RowPainter): adjust
3651         (leftMargin): simplify and adjust
3652         (most rowpainter functions): adjust.
3653
3654         * rowpainter.h: store the row as RowList::iterator not as Row*
3655
3656         * lyxcursor.C (row): taka RowList::iterator as arg
3657         (irow): ditto
3658
3659         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3660         of Row*.
3661
3662 2003-04-01  Angus Leeming  <leeming@lyx.org>
3663
3664         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3665         stuff like bool Bool.
3666
3667 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3668
3669         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3670         rewrite a loop
3671
3672 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3675         RowList::iterator.
3676
3677         * lyxtext.h (rows): drop one version and leve a const variant that
3678         returns a RowList::iterator.
3679
3680 2003-03-31  Angus Leeming  <leeming@lyx.org>
3681
3682         * text.C (fill): ensure that the signature is the same as that in the
3683         header file.
3684
3685 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * text2.C (redoParagraphs): adjust
3688         (updateCounters): adjust
3689         (checkParagraph): adjust
3690         (getColumnNearX): adjust and reformat a bit.
3691
3692         * text.C (top_y): adjust
3693         (workWidth): adjust
3694         (leftMargin): adjust
3695         (prepareToPrint): adjust
3696         (getRow): adjust
3697         (getRowNearY): adjust
3698
3699         * lyxtext.h: make rowlist_ mutable.
3700
3701         * RowList.h: add const_iterator
3702         * RowList.C: adjust for RowList::const_iterator.
3703
3704         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3705         adjust.
3706
3707 2003-03-31  John Levon  <levon@movementarian.org>
3708
3709         * lyxrc.h:
3710         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3711
3712         * lyx_main.C: set default fonts from using lyx_gui funcs
3713
3714         * exporter.C: pdf_mode moved from lyxrc
3715
3716         * lyx_cb.C:
3717         * lyxfunc.C: changes from above
3718
3719 2003-03-31  John Levon  <levon@movementarian.org>
3720
3721         * lyx_main.C: fix to the last fix
3722
3723 2003-03-31  John Levon  <levon@movementarian.org>
3724
3725         * bufferlist.C: "Load original" -> "Load Original"
3726
3727         * converter.C:
3728         * exporter.C:
3729         * importer.C:
3730         * lyx_main.C:
3731         * format.C: more Alert cleanups
3732
3733 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * text2.C (removeParagraph): make it take a RowList::iterator as
3736         arg, adjust.
3737         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3738         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3739
3740         * text.C (anchor_row): make it take a RowList::iterator as arg,
3741         adjust.
3742         (computeBidiTables): make it take a const reference to Row instead
3743         of Row pointer, adjust.
3744         (leftMargin): make it take a RowList::iterator as arg, adjust.
3745         (rowBreakPoint): adjust
3746         (breakAgainOneRow): make it take a RowList::iterator as arg,
3747         adjust.
3748         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3749
3750         * bufferview_funcs.C (toggleAndShow): adjust
3751
3752 2003-03-30  John Levon  <levon@movementarian.org>
3753
3754         * Makefile.am:
3755         * BoostFormat.h:
3756         * boost-inst.C: moved to support
3757
3758         * several files: changes as a result
3759
3760 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * text2.C (LyXText): adjust.
3763         (init): adjust
3764         (removeRow): make it take a RowList::iterator as arg, adjust.
3765         (fullRebreak): adjust
3766         (deleteEmptyParagraphMechanism): adjust
3767         (clearPaint): adjust
3768         (postPaint): adjust
3769
3770         * text.C (top_y): adjust
3771         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3772         (breakAgain): make it take a RowList::iterator as arg, adjust.
3773         (breakParagraph): adjust
3774         (insertChar): adjust
3775         (backspace): adjust
3776
3777         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3778         need_break_row, and refresh_row.
3779
3780         * text3.C (dispatch): adjust
3781
3782         * text2.C (checkParagraph): adjust
3783         (setCursor): adjust
3784         (setCursorFromCoordinates): adjust
3785
3786         * text.C (top_y): adjust
3787         (workWidth): adjust
3788         (getRow): make it return a RowList::iterator, adjust
3789         (getRowNearY): make it return a RowList::iterator, adjust
3790
3791         * text2.C (init): adjust
3792         (insertRow): remove function
3793         (insertParagraph): adjust
3794         (redoParagraphs): adjust
3795         (fullRebreak): adjust
3796         (updateCounters): adjust
3797
3798         * text.C (top_y): rewrite to use RowList iterators.
3799         (top_y): adjust
3800         (setHeightOfRow): rewrite to sue RowList iterators.
3801         (appendParagraph): adjust
3802         (breakAgain): adjust
3803         (breakAgainOneRow): adjust
3804         (breakParagraph): adjust
3805         (getRow): adjust
3806         (getRowNearY): adjust, and remove commented code.
3807
3808         * lyxtext.h (firstRow): delete function
3809         (lastRow): delete function
3810         (rows): new function (const and non-const versions.)
3811         (insertRow): delete function
3812
3813         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3814
3815 2003-03-29  John Levon  <levon@movementarian.org>
3816
3817         * BufferView_pimpl.C: always update scrollbar top
3818         because pasting text when we're anchored could mean we
3819         miss an update altogether
3820
3821 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * text2.C (init): use rowlist_.end() and not 0.
3824         (insertRow): change to take a RowList::iterator as arg, adjust
3825         for this.
3826         (insertParagraph): change to take a RowList::iterator as arg,
3827         adjust for this.
3828         (redoParagraphs): remove some debug msgs.
3829
3830         * text.C (appendParagraph): change to take a RowList::iterator
3831         arg, adjust for this.
3832         (breakAgain): add an assert
3833         (breakAgainOneRow): ditto
3834
3835 2003-03-29  John Levon  <levon@movementarian.org>
3836
3837         * text2.C: do not clear selection after inc/decDepth
3838         (bug 550)
3839
3840 2003-03-29  John Levon  <levon@movementarian.org>
3841
3842         * BufferView.C:
3843         * buffer.C: fix broken strerrors according to Lars
3844
3845 2003-03-29  John Levon  <levon@movementarian.org>
3846
3847         * converters.C: more Alert cleanups
3848
3849 2003-03-29  John Levon  <levon@movementarian.org>
3850
3851         * bufferview_funcs.C: remove pointless Alert
3852
3853         * buffer.C: fix confusing error message when
3854         a template is chmoded 000
3855
3856 2003-03-29  John Levon  <levon@movementarian.org>
3857
3858         * BufferView.C:
3859         * BufferView.h:
3860         * BufferView_pimpl.C: Alert fixes
3861
3862         * Makefile.am:
3863         * tabular.C:
3864         * tabular-old.C: remove unused table compat reading
3865
3866 2003-03-29  John Levon  <levon@movementarian.org>
3867
3868         * BufferView.C:
3869         * buffer.C:
3870         * lyx_cb.h:
3871         * lyx_cb.C: more Alert cleanups
3872
3873         * lyxfunc.C: don't allow chktex if not latex document
3874
3875 2003-03-29  John Levon  <levon@movementarian.org>
3876
3877         * lyx_cb.C:
3878         * BufferView.C:
3879         * buffer.C: warnings pushed down from support/,
3880         kill err_alert
3881
3882 2003-03-29  John Levon  <levon@movementarian.org>
3883
3884         * lyxfunc.C: safety check for C-r (revert)
3885
3886 2003-03-29  John Levon  <levon@movementarian.org>
3887
3888         * bufferlist.h:
3889         * bufferlist.C: several UI fixes using Alert::prompt.
3890         Fix the pointless looping quit code. Fix stupid revert
3891         behaviour (bug 938)
3892
3893         * lyxvc.h:
3894         * lyxvc.C:
3895         * lyx_cb.C: use Alert::prompt
3896
3897         * lyx_main.C: remove a silly question
3898
3899         * lyxfunc.C: remove a couple of silly questions,
3900         use Alert::prompt
3901
3902 2003-03-28  John Levon  <levon@movementarian.org>
3903
3904         * text2.C: fix bug 974 (End on empty par)
3905
3906 2003-03-28  John Levon  <levon@movementarian.org>
3907
3908         * BufferView_pimpl.C:
3909         * LyXAction.C:
3910         * lfuns.h: remove do-nothing math greek lfuns
3911
3912 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * lyxgluelength.h (isValidGlueLength): add default arg on
3915         parameter 2. Remove default arg from friend in class.
3916
3917         * lyxlength.h (isValidLength): add default arg on parameter 2.
3918         Remove default arg from friend in class.
3919
3920         * text2.C (LyXText): adjust, initialize refresh_row.
3921         (init): adjust
3922         (removeRow): adjust
3923         (insertRow): adjust
3924         (insertParagraph): adjst
3925         (redoParagraphs): adjust
3926         (fullRebreak): adjust
3927         (updateCounters): adjust
3928         (deleteEmptyParagraphMechanism): first attempt at fixing a
3929         crashing bug.
3930
3931         * text.C (top_y): adjust
3932         (setHeightOfRow): adjust
3933         (getRow): adjust
3934         (getRowNearY): adjust
3935
3936         * lyxtext.h: include RowList.h
3937         (~LyXText): not needed anymore, deleted.
3938         (firstRow): modify for RowList
3939         (lastRow): new function
3940         Delete firstrow and lastrow class variables, add a Rowlist
3941         rowlist_ class variable.
3942
3943         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3944         paragraph is empty.
3945
3946         * RowList.C (insert): fix case where it == begin().
3947
3948 2003-03-26  Angus Leeming  <leeming@lyx.org>
3949
3950         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3951         the thesaurus dialog.
3952
3953 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3956
3957         * RowList.[Ch]: new files
3958
3959         * ParagraphList.C (erase): handle the case where it == begin
3960         correctly.
3961
3962 2003-03-25  John Levon  <levon@movementarian.org>
3963
3964         * Makefile.am:
3965         * aspell_local.h:
3966         * aspell.C: add new aspell support
3967
3968         * lyxrc.h:
3969         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3970         have it accessible.
3971
3972 2003-03-25  Angus Leeming  <leeming@lyx.org>
3973
3974         * lfuns.h:
3975         * LyXAction.C (init): new LFUN_INSET_INSERT.
3976
3977         * BufferView_pimpl.C (dispatch): split out part of the
3978         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3979
3980         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3981         LFUN_INSET_APPLY.
3982
3983 2003-03-25  Angus Leeming  <leeming@lyx.org>
3984
3985         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3986
3987 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * text2.C:
3990         * text3.C: remove useless row->height(0)
3991
3992 2003-03-25  John Levon  <levon@movementarian.org>
3993
3994         * lyxtext.h:
3995         * text2.C:
3996         * text3.C: rename the refreshing stuff to better names
3997
3998 2003-03-24  John Levon  <levon@movementarian.org>
3999
4000         * BufferView_pimpl.h:
4001         * BufferView_pimpl.C: update layout choice on a mouse
4002         press/release
4003
4004 2003-03-23  John Levon  <levon@movementarian.org>
4005
4006         * Makefile.am: fix commandtags.h reference
4007
4008 2003-03-22  John Levon  <levon@movementarian.org>
4009
4010         * BufferView_pimpl.C:
4011         * lyxtext.h:
4012         * rowpainter.C:
4013         * rowpainter.h:
4014         * text.C:
4015         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4016
4017 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * lyxtext.h:
4020         * text.C: take the rtl methods out of line
4021
4022 2003-03-21 André Pönitz <poenitz@gmx.net>
4023
4024         * metricsinfo.[Ch]: new files containing structures to be passed around
4025         during the two-phase-drawing...
4026
4027 2003-03-21 André Pönitz <poenitz@gmx.net>
4028
4029         * lyxtextclass.C: read 'environment' tag.
4030
4031 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * text2.C (removeRow): fix bug 964
4034
4035 2003-03-20  John Levon  <levon@movementarian.org>
4036
4037         * rowpainter.C:
4038         * text.C:
4039         * text2.C: paint cleanups. Inset::update() dropped font
4040         parameter
4041
4042 2003-03-19  John Levon  <levon@movementarian.org>
4043
4044         * lyxfunc.C: only fitcursor/markDirty if available()
4045
4046 2003-03-19  John Levon  <levon@movementarian.org>
4047
4048         * commandtags.h: rename to ...
4049
4050         * lfuns.h: ... this, and renumber / cleanup
4051
4052 2003-03-19  John Levon  <levon@movementarian.org>
4053
4054         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4055         fit the cursor after an lfun
4056
4057         * BufferView.h:
4058         * BufferView.C:
4059         * BufferView_pimpl.h:
4060         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4061
4062         * LyXAction.C: layout-character should have ReadOnly
4063
4064         * ParagraphParameters.C:
4065         * buffer.C:
4066         * bufferview_funcs.C:
4067         * lyx_cb.C:
4068         * lyxfind.C:
4069         * lyxtext.h:
4070         * text.C:
4071         * text2.C:
4072         * text3.C:
4073         * undo_funcs.C: changes from above
4074
4075 2003-03-18  John Levon  <levon@movementarian.org>
4076
4077         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4078         remove it from update()
4079
4080         * lyxfunc.C: update layout choice after an lfun
4081
4082         * text3.C: remove extra updateLayoutChoice()s
4083
4084 2003-03-18  John Levon  <levon@movementarian.org>
4085
4086         * text.C: top_y change means full repaint, fix
4087         a drawing bug with cursor movement
4088
4089 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4090
4091         * lyxtext.h:
4092         * text.C:
4093         * text2.C: anchor row on setCursor
4094
4095 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * lyxtext.h: remove almost all mutable keywords
4098         * text.C:
4099         * text2.C:
4100         * text3.C: remove const keywords accordingly
4101
4102 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4105         anon namespace
4106         (TeXEnvironment): ditto
4107         (TeXOnePar): ditto
4108
4109 2003-03-17  John Levon  <levon@movementarian.org>
4110
4111         * text.C (rowBreakPoint): remove attempt to fix displayed
4112         math insets inside a manual label
4113
4114 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * lyxtext.h: remove BufferView* as first arg from almost all class
4117         functions.
4118         * other files: adjust.
4119
4120 2003-03-17  John Levon  <levon@movementarian.org>
4121
4122         * lyxtext.h:
4123         * undo_funcs.C:
4124         * text2.C: more paint cleanups
4125
4126         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4127
4128         * rowpainter.h:
4129         * rowpainter.C: remove "smart" background painting code
4130
4131 2003-03-16  John Levon  <levon@movementarian.org>
4132
4133         * lyxtext.h:
4134         * text.C:
4135         * text2.C:
4136         * text3.C: add helper functions for setting refresh_row/y
4137
4138 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4139
4140         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4141         newline inset which *can* get inserted in the pass_thru layouts.
4142         This is primarily for literate documents.
4143
4144 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4145
4146         * buffer.C: increment LYX_FORMAT to 223
4147
4148 2003-03-14 André Pönitz <poenitz@gmx.net>
4149
4150         * textclass.h: prepare for environment handling, ws changes
4151         * lyxlayout.C: read latexheader and latexfooter tags
4152
4153 2003-03-14  John Levon  <levon@movementarian.org>
4154
4155         * text2.C: rewrite ::status() a bit
4156
4157 2003-03-13  John Levon  <levon@movementarian.org>
4158
4159         * lyxtext.h: add some docs
4160
4161 2003-03-13  John Levon  <levon@movementarian.org>
4162
4163         * lyxtext.h:
4164         * text.C:
4165         * text2.C:
4166         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4167
4168 2003-03-13  John Levon  <levon@movementarian.org>
4169
4170         * text3.C: fix appendix redrawing
4171
4172 2003-03-13  John Levon  <levon@movementarian.org>
4173
4174         * text.C (setHeightOfRow):
4175         * rowpainter.h:
4176         * rowpainter.C: make appendix mark have the text
4177           "Appendix" so the user knows what it is
4178
4179         * LColor.h:
4180         * LColor.C: s/appendixline/appendix/ from above
4181
4182 2003-03-13  John Levon  <levon@movementarian.org>
4183
4184         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4185
4186         * text.C: fix a getChar(pos) bug properly
4187
4188 2003-03-13  Angus Leeming  <leeming@lyx.org>
4189
4190         * commandtags.h:
4191         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4192         Probably only temporary. Let's see how things pan out.
4193
4194         * BufferView.C (unlockInset):
4195         * BufferView_pimpl.C (fitCursor):
4196         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4197
4198         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4199         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4200
4201         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4202         new functions that convert ParagraphParameters to and from a string.
4203
4204         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4205         BufferView::Pimpl's dispatch.
4206         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4207
4208 2003-03-13 André Pönitz <poenitz@gmx.net>
4209
4210         * lyxfunc.C:
4211         * text3.C:
4212         * factory.C: make it aware of InsetEnv
4213
4214 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * text2.C (setCursor): never ask for one past last
4217         (setCursor): add some debugging messages.
4218
4219         * text.C (singleWidth): never ask for one past last
4220         (singleWidth): ditto
4221         (leftMargin): ditto
4222         (rightMargin): ditto
4223         (rowBreakPoint): ditto
4224         (setHeightOfRow): ditto
4225         (prepareToPrint): ditto
4226
4227         * rowpainter.C (paintBackground): never ask for one past last
4228         (paintText): never ask for one past last
4229
4230         * paragraph_pimpl.C (getChar): make the assert stricter, never
4231         allow the one past last pos to be taken
4232
4233         * paragraph.C (getChar): ws changes only
4234
4235         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4236         (numberOfSeparators): ditto
4237         (numberOfHfills): ditto
4238
4239 2003-03-12  John Levon  <levon@movementarian.org>
4240
4241         * author.h:
4242         * author.C:
4243         * bufferparams.h:
4244         * bufferparams.C:
4245         * paragraph_funcs.C: fix per-buffer authorlists
4246
4247 2003-03-12  John Levon  <levon@movementarian.org>
4248
4249         * text.C: fix newline in right address
4250
4251 2003-03-12  Angus Leeming  <leeming@lyx.org>
4252
4253         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4254         duplicate those in LyXFunc::dispatch.
4255
4256         * commandtags.h:
4257         * LyXAction.C:
4258         * ToolbarDefaults.C:
4259         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4260         Add LFUN_FONTFREE_UPDATE.
4261
4262         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4263         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4264
4265         * bufferview_func.[Ch]: several new functions to facilliate
4266         transfer of data to and from the character dialog.
4267
4268 2003-03-12  John Levon  <levon@movementarian.org>
4269
4270         * buffer.C:
4271         * paragraph.h:
4272         * paragraph.C:
4273         * paragraph_funcs.C:
4274         * paragraph_pimpl.C:
4275         * sgml.C:
4276         * tabular.C:
4277         * text.C:
4278         * text3.C: remove META_NEWLINE in favour of an inset
4279
4280         * rowpainter.h:
4281         * rowpainter.C: remove paintNewline (done by inset)
4282
4283 2003-03-12  John Levon  <levon@movementarian.org>
4284
4285         * paragraph_pimpl.C: complain about bad getChar()s
4286         for a while at least
4287
4288 2003-03-12  John Levon  <levon@movementarian.org>
4289
4290         * buffer.h:
4291         * buffer.C: move paragraph read into a separate function,
4292         a little renaming to reflect that.
4293
4294         * bufferparams.h:
4295         * bufferparams.C: remove the author_ids map, not necessary now
4296
4297         * factory.h:
4298         * factory.C: moved Buffer::readInset to here
4299
4300         * paragraph_funcs.h:
4301         * paragraph_funcs.C: readParagraph free function moved from
4302         buffer.C
4303
4304         * tabular.C: name change
4305
4306 2003-03-12  John Levon  <levon@movementarian.org>
4307
4308         * buffer.C:
4309         * ParagraphParameters.C: move par params input to
4310         a read() method
4311
4312         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4313         behave like a normal read from the stream wrt reading
4314         a line vs. a \\token
4315
4316 2003-03-12  John Levon  <levon@movementarian.org>
4317
4318         * paragraph.C:
4319         * ParagraphParameters.h:
4320         * ParagraphParameters.C: move output code to a
4321         ::write() method
4322
4323 2003-03-12  John Levon  <levon@movementarian.org>
4324
4325         * BufferView.C (insertLyXFile):
4326         * buffer.h:
4327         * buffer.C:
4328         * tabular.C: use a parlist iterator for creating the
4329           document.
4330
4331 2003-03-12  John Levon  <levon@movementarian.org>
4332
4333         * buffer.C: make current_change static local not
4334           static file-scope
4335
4336 2003-03-12  John Levon  <levon@movementarian.org>
4337
4338         * buffer.C: fix insertStringAsLines for change tracking
4339
4340 2003-03-12  John Levon  <levon@movementarian.org>
4341
4342         * BufferView.C:
4343         * tabular.C:
4344         * buffer.h:
4345         * buffer.C:
4346         * bufferparams.h:
4347         * bufferparams.C: move author list into params. Rename some
4348           functions. Move the header reading into a separate token
4349           loop. Move the header token reading into BufferParams.
4350
4351 2003-03-12  John Levon  <levon@movementarian.org>
4352
4353         * changes.C: put debug inside lyxerr.debugging() checks
4354
4355 2003-03-11 André Pönitz <poenitz@gmx.net>
4356
4357         * factory.C: make it aware of InsetHFill
4358
4359 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4360
4361         * buffer.C (latexParagraphs): move function from here...
4362         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4363         args.
4364
4365 2003-03-10  Angus Leeming  <leeming@lyx.org>
4366
4367         * LyXAction.C (init): fix bug in poplating array with multiple entries
4368         with the same LFUN (spotted by JMarc).
4369
4370 2003-03-10  John Levon  <levon@movementarian.org>
4371
4372         * text.C:
4373         * text2.C: move getColumnNearX() near its
4374         only call site
4375
4376 2003-03-10  John Levon  <levon@movementarian.org>
4377
4378         * text.C: fix break before a minipage
4379
4380 2003-03-10  John Levon  <levon@movementarian.org>
4381
4382         * text.C: fix the last commit
4383
4384 2003-03-09  John Levon  <levon@movementarian.org>
4385
4386         * lyxtext.h:
4387         * text.C:
4388         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4389         bug 365 (don't break before insets unless needed). Don't
4390         return a value > last under any circumstances.
4391
4392 2003-03-09  Angus Leeming  <leeming@lyx.org>
4393
4394         * BufferView_pimpl.C (trackChanges, dispatch): call
4395         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4396
4397 2003-03-09  Angus Leeming  <leeming@lyx.org>
4398
4399         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4400         than Dialogs::showAboutlyx().
4401
4402 2003-03-09  Angus Leeming  <leeming@lyx.org>
4403
4404         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4405         than Dialogs::showTabularCreate().
4406
4407 2003-03-09  John Levon  <levon@movementarian.org>
4408
4409         * lyxtext.h:
4410         * text.C:
4411         * text2.C: 3rd arg to nextBreakPoint was always the same.
4412           Use references.
4413
4414 2003-03-08  John Levon  <levon@movementarian.org>
4415
4416         * lyxrow.C:
4417         * paragraph.C:
4418         * paragraph.h:
4419         * rowpainter.C:
4420         * text.C:
4421         * text2.C: Remove the "main" bit from the "main body"
4422           notion.
4423
4424 2003-03-08  John Levon  <levon@movementarian.org>
4425
4426         * text.C (leftMargin): The left margin of an empty
4427         manual label paragraph should not include the label width
4428         string length.
4429
4430         * text.C (prepareToPrint): don't attempt to measure hfills
4431         for empty manual label paragraphs - the answer should be 0
4432
4433 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * CutAndPaste.C: remove commented code and reindent.
4436
4437 2003-03-08  John Levon  <levon@movementarian.org>
4438
4439         * lyxfunc.h:
4440         * lyxfunc.C: move reloadBuffer()
4441
4442         * BufferView.h:
4443         * BufferView.C: to here
4444
4445         * lyxvc.C: add comment
4446
4447         * vc-backend.h:
4448         * vc-backend.C: call bv->reload() to avoid
4449           getStatus() check on MENURELOAD
4450
4451 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4452
4453         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4454         to an old format .dep file.
4455
4456 2003-03-07  Angus Leeming  <leeming@lyx.org>
4457
4458         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4459         when the LFUN_MOUSE_RELEASE should have been handled by
4460         inset->localDispatch.
4461
4462 2003-03-07  Angus Leeming  <leeming@lyx.org>
4463
4464         * BufferView_pimpl.C (dispatch):
4465         * LyXAction.C (init):
4466         * ToolbarDefaults.C (init):
4467         * commandtags.h:
4468         * lyxfunc.C (getStatus):
4469         remove LFUN_INSET_GRAPHICS.
4470
4471         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4472
4473 2003-03-07  Angus Leeming  <leeming@lyx.org>
4474
4475         * commandtags.h:
4476         * LyXAction.C (init):
4477         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4478
4479         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4480
4481         * commandtags.h:
4482         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4483
4484         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4485         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4486
4487 2003-03-07  Angus Leeming  <leeming@lyx.org>
4488
4489         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4490         remove "ert".
4491
4492 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * ParagraphList.C (front): new function
4495         (back): implement
4496
4497 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4500         and top_row_offset_. removed var first_y.
4501         * text.C (top_y):
4502         * text2.C (LyXText, removeRow):
4503         * text3.C:
4504         * BufferView_pimpl.C:
4505         use these methods instead of using first_y
4506
4507 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4508
4509         * text2.C (pasteSelection): adjust for checkPastePossible
4510
4511         * CutAndPaste.C: remove Paragraph * buf and replace with
4512         ParagraphList paragraphs.
4513         (DeleteBuffer): delete
4514         (cutSelection): change the tc type to textclass_type
4515         (copySelection): change the tc type to textclass_type
4516         (copySelection): adjust for ParagraphList
4517         (pasteSelection): change the tc type to textclass_type
4518         (pasteSelection): adjust for Paragraphlist
4519         (nrOfParagraphs): simplify for ParagraphList
4520         (checkPastePossible): simplify for ParagraphList
4521         (checkPastePossible): remove unused arg
4522
4523         * ParagraphList.C (insert): handle the case where there are no
4524         paragraphs yet.
4525
4526         * CutAndPaste.h: make CutAndPaste a namespace.
4527
4528         * text3.C (dispatch): adjust
4529
4530         * text.C (breakParagraph): add a ParagraphList as arg
4531
4532         * paragraph_funcs.C (breakParagraph): change to take a
4533         BufferParams and a ParagraphList as args.
4534         (breakParagraphConservative): ditto
4535         (mergeParagraph): ditto
4536         (TeXDeeper): add a ParagraphList arg
4537         (TeXEnvironment): ditto
4538         (TeXOnePar): ditto
4539
4540         * buffer.C (readLyXformat2): adjust
4541         (insertStringAsLines): adjust
4542         (latexParagraphs): adjust
4543
4544         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4545         (cutSelection): adjust
4546         (pasteSelection): adjust
4547
4548         * BufferView_pimpl.C (insertInset): adjust
4549
4550 2003-03-05  Angus Leeming  <leeming@lyx.org>
4551
4552         * commandtags.h:
4553         * LyXAction.C (init):
4554         * BufferView_pimpl.C (dispatch):
4555         * lyxfunc.C (getStatus):
4556         remove LFUN_CHILD_INSERT.
4557
4558         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4559
4560 2003-03-05  Angus Leeming  <leeming@lyx.org>
4561
4562         * commandtags.h:
4563         * LyXAction.C (init):
4564         * src/factory.C (createInset):
4565         * lyxfunc.C (getStatus):
4566         * text3.C (dispatch):
4567         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4568
4569         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4570
4571 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * ParagraphList.C (insert): handle insert right before end()
4574         (erase): fix cases where it can be first or last paragraph.
4575
4576 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4579         Paragraph::next and Paragraph::previous
4580         (TeXOnePar): ditto
4581
4582         * text.C (breakParagraph): adjust
4583
4584         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4585         BufferParams& as arg.
4586         (breakParagraph): use ParagraphList::insert
4587         (breakParagraphConservative): take a Buffer* instead of a
4588         BufferParams& as arg.
4589         (breakParagraphConservative): use ParagraphList::insert.
4590
4591         * buffer.C (insertStringAsLines): un-const it
4592         (insertStringAsLines): adjust
4593
4594         * ParagraphList.C (insert): new function
4595
4596         * CutAndPaste.C (pasteSelection): adjust
4597
4598         * text.C (backspace): adjust
4599
4600         * tabular.C (SetMultiColumn): adjust
4601
4602         * CutAndPaste.C (cutSelection): adjust
4603         (pasteSelection): adjust
4604
4605         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4606         Buffer const * as arg
4607
4608         * ParagraphList.C (erase): new function
4609         * paragraph_funcs.C (mergeParagraph): use it
4610         (mergeParagraph): make it take a Buffer* instead of a
4611         BufferParams* as arg
4612
4613         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4614         as arg
4615         (breakParagraphConservative): ditto
4616
4617         * paragraph.h: remove the breakParagraph friend
4618
4619         * paragraph.C (eraseIntern): new function
4620         (setChange): new function
4621
4622         * paragraph_funcs.C (mergeParagraph): make it take a
4623         ParagraphList::iterator instead of a Paragraph *, adjust
4624         accordingly.
4625
4626         * paragraph.h: move an #endif so that the change tracking stuff
4627         also works in the NO_NEXT case.
4628
4629 2003-03-04  Angus Leeming  <leeming@lyx.org>
4630
4631         * commandtags.h:
4632         * LyXAction.C: new LFUN_INSET_MODIFY.
4633
4634         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4635         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4636
4637 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * several files: ws changes only
4640
4641         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4642         (TeXEnvironment): ditto
4643         (TeXDeeper): ditto
4644
4645         * buffer.C (makeLaTeXFile): adjust
4646         (latexParagraphs): make it take ParagraphList::iterator as args
4647
4648 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * buffer.C (latexParagraphs): adjust
4651
4652         * paragraph.C (TeXOnePar): move function...
4653         (optArgInset): move function...
4654         (TeXEnvironment): move function...
4655         * paragraph_pimpl.C (TeXDeeper): move function...
4656         * paragraph_funcs.C: ...here
4657
4658         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4659
4660 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * buffer.C (readInset): remove compability code for old Figure and
4663         InsetInfo insets
4664
4665 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * buffer.C: ws changes
4668         (readInset):
4669
4670         * BufferView_pimpl.C: ditto
4671         * author.C: ditto
4672         * buffer.h: ditto
4673         * bufferlist.h: ditto
4674         * changes.h: ditto
4675         * lyxfunc.C: ditto
4676
4677 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4678
4679         * converter.[Ch]: split into itself +
4680         * graph.[Ch]
4681         * format.[Ch]
4682         * Makefile.am: += graph.[Ch] + format.[Ch]
4683         * MenuBackend.C
4684         * buffer.C
4685         * exporter.C
4686         * importer.C
4687         * lyx_main.C
4688         * lyxfunc.C
4689         * lyxrc.C: added #include "format.h"
4690
4691 2003-02-27  Angus Leeming  <leeming@lyx.org>
4692
4693         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4694           a label.
4695
4696         * factory.C (createInset): add "label" to the factory.
4697
4698         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4699           string and do no more.
4700
4701 2003-02-27  Angus Leeming  <leeming@lyx.org>
4702
4703         * commandtags.h:
4704         * LyXAction.C (init):
4705         * factory.C (createInset):
4706         * BufferView_pimpl.C (dispatch):
4707           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4708
4709         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4710
4711         * lyxfunc.C (dispatch):
4712         * text3.C (dispatch): pass name to params2string.
4713
4714 2003-02-26  Angus Leeming  <leeming@lyx.org>
4715
4716         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4717           blocks together.
4718           Rearrange the ~includes. Strip out the unnecessary ones.
4719
4720         * factory.C (createInset): reformat.
4721           create new insets for the various LFUN_XYZ_APPLY lfuns.
4722
4723 2003-02-26  John Levon  <levon@movementarian.org>
4724
4725         * lyxrow.h:
4726         * lyxrow.C: add isParStart,isParEnd helpers
4727
4728         * paragraph.h: make isInserted/DeletedText take refs
4729
4730         * paragraph_funcs.h:
4731         * paragraph_funcs.C: remove #if 0'd code
4732
4733         * lyxtext.h:
4734         * text3.C:
4735         * text2.C:
4736         * text.C: use lyxrow helpers above.
4737           Move draw and paint routines to RowPainter.
4738           Make several methods use refs not pointers.
4739           Make backgroundColor() const.
4740           Add markChangeInDraw(), isInInset().
4741           Merge changeRegionCase into changeCase.
4742           Make workWidth() shouldn't-happen code into an Assert.
4743
4744         * rowpainter.h:
4745         * rowpainter.C: new class for painting a row.
4746
4747         * vspace.h:
4748         * vspace.C: make inPixels take a ref
4749
4750 2003-02-26  Angus Leeming  <leeming@lyx.org>
4751
4752         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4753         LFUN_REF_APPLY.
4754
4755 2003-02-25  John Levon  <levon@movementarian.org>
4756
4757         * ispell.C: give the forked command a more accurate name
4758
4759 2003-02-22  John Levon  <levon@movementarian.org>
4760
4761         * toc.h:
4762         * toc.C: make TocItem store an id not a Paragraph *
4763           (bug #913)
4764
4765 2003-02-21  Angus Leeming  <leeming@lyx.org>
4766
4767         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4768           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4769           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4770           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4771           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4772           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4773
4774         * BufferView_pimpl.C (dispatch):
4775         * LyXAction.C (init):
4776         * factory.C (createInset):
4777         * lyxfunc.C (getStatus, dispatch):
4778         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4779
4780 2003-02-21  Angus Leeming  <leeming@lyx.org>
4781
4782         * BufferView_pimpl.C (MenuInsertLyXFile):
4783         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4784         * lyxfunc.C (menuNew, open, doImport):
4785           no longer pass a LyXView & to fileDlg.
4786
4787 2003-02-21  Angus Leeming  <leeming@lyx.org>
4788
4789         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4790         * LyXAction.C: change, BIBKEY to BIBITEM.
4791         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4792         Change InsetBibKey to InsetBibitem.
4793         Change BIBKEY_CODE to BIBITEM_CODE.
4794         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4795         * factory.C: replace insetbib.h with insetbibitem.h.
4796         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4797         * paragraph.C: replace insetbib.h with insetbibitem.h.
4798         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4799         Change bibkey() to bibitem().
4800         * text.C: remove insetbib.h.
4801         * text2.C: replace insetbib.h with insetbibitem.h.
4802         change bibkey() to bibitem().
4803         * text3.C: remove insetbib.h.
4804         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4805
4806 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4807
4808         * lyxrc.C (output): enclose user email in quotes (in case there are
4809         several words)
4810
4811 2003-02-18  John Levon  <levon@movementarian.org>
4812
4813         * buffer.h: add std::
4814
4815 2003-02-17  John Levon  <levon@movementarian.org>
4816
4817         * SpellBase.h:
4818         * ispell.h:
4819         * ispell.C:
4820         * pspell.h:
4821         * pspell.C: reworking. Especially in ispell, a large
4822           number of clean ups and bug fixes.
4823
4824         * lyxfunc.C: fix revert to behave sensibly
4825
4826 2003-02-17 André Pönitz <poenitz@gmx.net>
4827
4828         * LyXAction.C:
4829         * commandtags.h: new LFUN_INSERT_BIBKEY
4830
4831         * layout.h:
4832         * lyxlayout.C:
4833         * buffer.C:
4834         * factory.C:
4835         * text.C:
4836         * text2.C:
4837         * text3.C:
4838         * paragraph.[Ch]:
4839         * paragraph_func.C: remove special bibkey handling
4840
4841 2003-02-17  John Levon  <levon@movementarian.org>
4842
4843         * text.C (Delete): fix case where delete at the end of
4844           the very first paragraph would not merge the pars
4845
4846 2003-02-17  John Levon  <levon@movementarian.org>
4847
4848         * lyxrow.C: fix lastPrintablePos()
4849
4850 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4851
4852         * bufferparams.C (writeLaTeX): add a std:here
4853
4854         * buffer.C: and remove a using directive there
4855
4856 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4857
4858         * buffer.C (makeLaTeXFile): move the code that generates the
4859           preamble...
4860
4861         * bufferparams.C (writeLaTeX): ... in this new method
4862
4863         * LaTeXFeatures.C (getEncodingSet): make const
4864           (getLanguages): make const
4865
4866         * MenuBackend.C (binding): returns the binding associated to this
4867           action
4868           (add): sets the status of each item by calling getStatus. Adds
4869           some intelligence.
4870           (read): add support for OptSubMenu
4871           (expand): remove extra separator at the end of expanded menu
4872
4873 2003-02-15  John Levon  <levon@movementarian.org>
4874
4875         * BufferView.C:
4876         * BufferView_pimpl.C:
4877         * bufferlist.h:
4878         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4879           inset code that had no actual effect. Remove unneeded status
4880           code.
4881
4882 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4883
4884         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4885           in preamble
4886
4887 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4888
4889         * text.C (drawLengthMarker): also draw an arrow marker for
4890           symbolic lengths (medskip...)
4891
4892 2003-02-14  John Levon  <levon@movementarian.org>
4893
4894         * tabular.h:
4895         * tabular.C: better method names
4896
4897 2003-02-14  John Levon  <levon@movementarian.org>
4898
4899         * BufferView_pimpl.C:
4900         * bufferlist.C:
4901         * buffer.C:
4902         * converter.C:
4903         * lyx_cb.C:
4904         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4905           it's a more accurate name. Remove some pointless uses.
4906
4907 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4908
4909         * text2.C (LyXText): change order of initilizers to shut off
4910           warnings
4911
4912 2003-02-14  John Levon  <levon@movementarian.org>
4913
4914         * buffer.C: use ParIterator for getParFromID()
4915
4916         * paragraph.h:
4917         * paragraph.C:
4918         * paragraph_pimpl.h:
4919         * paragraph_pimpl.C: remove unused getParFromID()
4920
4921 2003-02-14  John Levon  <levon@movementarian.org>
4922
4923         * buffer.C: remove some very old #if 0'd parse code
4924
4925 2003-02-13  John Levon  <levon@movementarian.org>
4926
4927         * text.h:
4928         * text.C:
4929         * text2.C: move hfillExpansion(), numberOfSeparators(),
4930           rowLast(), rowLastPrintable(), numberofHfills(),
4931           numberOfLabelHfills() ...
4932
4933         * lyxrow.h:
4934         * lyxrow.C: ... to member functions here.
4935
4936         * paragraph.h:
4937         * paragraph.C:
4938         * lyxtext.h:
4939         * text.C: remove LyXText::beginningOfMainBody(), and call
4940           p->beginningOfMainBody() directly. Move the check for
4941           LABEL_MANUAL into the latter.
4942
4943         * text.h:
4944         * text.C:
4945         * text2.C:
4946         * vspace.C:
4947         * BufferView.h:
4948         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4949
4950         * text.h:
4951         * text.C:
4952         * text2.C:
4953         * text3.C:
4954         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4955           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4956
4957 2003-02-13  John Levon  <levon@movementarian.org>
4958
4959         * CutAndPaste.C: remove debug
4960
4961 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4962
4963         * paragraph.C (asString): remove two unused variables
4964
4965         * lyxtextclass.C (readTitleType):
4966           (Read):
4967           (LyXTextClass): handle new members titletype_ and titlename_
4968
4969         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4970
4971 2003-02-09  John Levon  <levon@movementarian.org>
4972
4973         * buffer.h:
4974         * buffer.C: replace hand-coded list with a map for the dep clean
4975
4976 2003-02-08  John Levon  <levon@movementarian.org>
4977
4978         * LaTeX.C: consolidate code into showRunMessage() helper
4979
4980 2003-02-08  John Levon  <levon@movementarian.org>
4981
4982         * lyxfind.C:
4983         * lyxtext.h:
4984         * text2.C:
4985         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4986           and pass the size in explicitly
4987
4988         * BufferView_pimpl.h:
4989         * BufferView_pimpl.C:
4990         * BufferView.h:
4991         * BufferView.C: add getCurrentChange()
4992
4993         * BufferView_pimpl.h:
4994         * BufferView_pimpl.C: handle change lfuns
4995
4996         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4997           for changes. Mark pasted paragraphs as new.
4998
4999         * support/lyxtime.h:
5000         * support/lyxtime.C:
5001         * DepTable.C: abstract time_t as lyx::time_type
5002
5003         * LColor.h:
5004         * LColor.C: add colours for new text, deleted text, changebars
5005
5006         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5007           package use "usenames" option.
5008
5009         * commandtags.h:
5010         * lyxfunc.C:
5011         * LyXAction.C: add change lfuns
5012
5013         * Makefile.am:
5014         * author.h:
5015         * author.C: author handling
5016
5017         * buffer.h:
5018         * buffer.C: add a per-buffer author list, with first entry as
5019           current author. Handle new .lyx tokens for change tracking. Output
5020           author list to .lyx file. Output dvipost stuff to .tex preamble.
5021           Bump lyx format to 222.
5022
5023         * bufferlist.h:
5024         * bufferlist.C: add setCurrentAuthor() to reset current author details
5025           in all buffers.
5026
5027         * bufferparams.h:
5028         * bufferparams.C: add param for tracking
5029
5030         * bufferview_funcs.C: output change info in minibuffer
5031
5032         * Makefile.am:
5033         * changes.h:
5034         * changes.C: add change-tracking structure
5035
5036         * debug.h:
5037         * debug.C: add CHANGES debug flag
5038
5039         * lyxfind.h:
5040         * lyxfind.C: add code for finding the next change piece
5041
5042         * lyxrc.h:
5043         * lyxrc.C: add user_name and user_email
5044
5045         * lyxrow.h:
5046         * lyxrow.C: add a metric for the top of the text line
5047
5048         * lyxtext.h:
5049         * text.C: implement accept/rejectChange()
5050
5051         * lyxtext.h:
5052         * text.C: paint changebars. Paint new/deleted text in the chosen
5053         colours. Strike through deleted text.
5054
5055         * paragraph.h:
5056         * paragraph.C:
5057         * paragraph_pimpl.h:
5058         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5059           in the current change to the insert functions. Rework erase to
5060           mark text as deleted, adding an eraseIntern() and a range-based
5061           erase(). Implement per-paragraph change lookup and
5062           accept/reject.
5063
5064         * paragraph_funcs.C: Fixup paste for change tracking.
5065
5066         * tabular.C: mark added row/columns as new.
5067
5068         * text.C: fix rowLast() to never return -1. Don't allow
5069           spellchecking of deleted text. Track transpose changes. Don't
5070           allow paragraph break or merge where appropriate.
5071
5072         * text2.C: leave cursor at end of selection after a cut.
5073
5074 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5075
5076         * text.C (getLengthMarkerHeight):
5077         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5078         visible on screen too.
5079
5080 2003-02-07  John Levon  <levon@movementarian.org>
5081
5082         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5083
5084 2003-02-05  Angus Leeming  <leeming@lyx.org>
5085
5086         * lyxserver.C (read_ready): revert my patch of 11 September last year
5087         as it sends PC cpu through the roof. Presumably this means that
5088         the lyxserver will no longer run on an Alpha...
5089
5090 2003-01-30  Angus Leeming  <leeming@lyx.org>
5091
5092         * factory.C (createInset): create an InsetCommandParam of type "index"
5093         and use it to 'do the right thing'.
5094
5095         * text2.C (getStringToIndex): ensure that cursor position is always
5096         reset to the reset_cursor position.
5097
5098 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5099
5100         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5101         disabled.
5102
5103 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5104
5105         * bufferview.C:
5106         * lyxcb.C:
5107         * lyxfunc.C: Output messages with identical spelling, punctuation,
5108         and spaces
5109
5110 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5111
5112         * MenuBackend.C (expandFormats): List only viewable export formats
5113         in "View" menu
5114
5115         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5116         message
5117
5118         * lyxfunc.C (getStatus): Make sure that formats other than
5119         "fax" can also be disabled
5120
5121 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5122
5123         * text3.C (dispatch): put the lfuns that insert insets in 3
5124         groups, and call doInsertInset with appropriate arguments.
5125         (doInsertInset): new function, that creates an inset and inserts
5126         it according to some boolean parameters.
5127
5128 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * buffer.C (readFile): remember to pass on 'par' when calling
5131         readFile recursively.
5132
5133 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5134
5135         * MenuBackend.C (expandFormats): add "..." to import formats.
5136
5137 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5138
5139         * paragraph.C (asString): Remove XForms RTL hacks.
5140
5141 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5142         * buffer.C: fix typo
5143
5144 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * Makefile.am (LIBS): delete var
5147         (lyx_LDADD): add @LIBS@ here instead.
5148
5149 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5150
5151         * Clarify the meaning of "wheel mouse jump"
5152
5153 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5154
5155         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5156         tabular in a float
5157
5158 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5159
5160         * importer.C (Loaders): do not preallocate 3 elements in the
5161         vector, since one ends up with 6 elements otherwise
5162
5163 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5164
5165         * DepTable.C (write): write the file name as last element of the
5166         .dep file (because it may contain spaces)
5167         (read): read info in the right order
5168
5169 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5170
5171         * paragraph_pimpl.C (simpleTeXBlanks):
5172         (simpleTeXSpecialChars):
5173         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5174
5175         * tabular.C (latex): add some missing case statements. Reindent.
5176
5177         * MenuBackend.C (expandToc): remove unused variable.
5178
5179 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5180
5181         * LColor.C:
5182         * LaTeX.C:
5183         * LyXAction.C:
5184         * MenuBackend.C:
5185         * buffer.C:
5186         * exporter.C:
5187         * lyxfunc.C:
5188         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5189         and the like.
5190
5191 2003-01-05  John Levon  <levon@movementarian.org>
5192
5193         * BufferView.h:
5194         * BufferView.C: add getEncoding()
5195
5196         * kbsequence.h:
5197         * kbsequence.C: do not store last keypress
5198
5199         * lyxfunc.h:
5200         * lyxfunc.C: store last keypress here instead. Pass encoding
5201           to getISOEncoded()
5202
5203 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5204
5205         * lyx_main.C (init): remove annoying error message when following
5206         symbolic links (bug #780)
5207
5208 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5209
5210         * text.C (insertChar):
5211         * lyxrc.C (getDescription): remove extra spaces
5212
5213 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5214
5215         * lyxrc.C (getDescription): remove extra spaces
5216
5217 2002-12-20  John Levon  <levon@movementarian.org>
5218
5219         * text3.C: hack fix for page up/down across tall rows
5220
5221 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5222
5223         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5224         not been invoked
5225
5226 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5227
5228         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5229         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5230         thesaurus is not compiled in
5231
5232 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5233
5234         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5235
5236 2002-12-16  Angus Leeming  <leeming@lyx.org>
5237
5238         * lyxrc.[Ch]:
5239         * lyx_main.C (init): remove override_x_deadkeys stuff.
5240
5241 2002-12-12  John Levon  <levon@movementarian.org>
5242
5243         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5244           insert. Only remove shift modifier under strict
5245           circumstances.
5246
5247 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * MenuBackend.C (expandToc): fix crash.
5250
5251 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5252
5253         * MenuBackend.C (expandToc): gettext on float names.
5254
5255 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5256
5257         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5258         implement bool empty() [bug 490]
5259
5260 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5263
5264 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * several files: ws changes
5267
5268 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * text2.C (setCounter): clean up a bit, use boost.format.
5271         (updateCounters): initialize par upon declaration.
5272
5273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5274         if the layout exists. We do not just store the layout any more.
5275         (SwitchLayoutsBetweenClasses): use boost.format
5276
5277 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5278
5279         * converter.C (convert): if from and to files are the same, use a
5280         temporary files as intermediary
5281
5282 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5283
5284         * commandtags.h:
5285         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5286
5287 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5288
5289         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5290
5291 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * tabular.C (asciiPrintCell): use string(size, char) instead of
5294         explicit loop.
5295
5296         * sgml.C (openTag): fix order of arguments to string constructor
5297         (closeTag): ditto
5298
5299         * lyxfunc.C (dispatch): use boost.format
5300
5301         * lots of files: change "c" -> 'c'
5302
5303 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5304
5305         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5306
5307 2002-11-25  Angus Leeming  <leeming@lyx.org>
5308
5309         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5310
5311         * lyx_main.C (init): compile fix.
5312
5313 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * lyx_cb.C (start): boost.formatify
5316         do not include <iostream>
5317
5318         * lengthcommon.C: ws only
5319
5320         * boost-inst.C,BoostFormat.h: add more explict instantations
5321
5322 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * lots of files: handle USE_BOOST_FORMAT
5325
5326 2002-11-21  John Levon  <levon@movementarian.org>
5327
5328         * pspell.C: fix compile
5329
5330 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5331
5332         * lyxfunc.C (dispatch): use boost::format
5333         (open): ditto
5334         (doImport): ditto
5335
5336         * lyxfont.C (stateText): use boost::format
5337
5338         * lyx_main.C (LyX): use boost::format
5339         (init): ditto
5340         (queryUserLyXDir): ditto
5341         (readRcFile): ditto
5342         (parse_dbg): ditto
5343         (typedef boost::function): use the recommened syntax.
5344
5345         * importer.C (Import): use boost::format
5346
5347         * debug.C (showLevel): use boost::format
5348
5349         * converter.C (view): use boost::format
5350         (convert): ditto
5351         (move): ditto
5352         (scanLog): ditto
5353
5354         * bufferview_funcs.C (currentState): use boost::format
5355
5356         * bufferlist.C (emergencyWrite): use boost::format
5357
5358         * buffer.C (readLyXformat2): use boost::format
5359         (parseSingleLyXformat2Token): ditto
5360
5361         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5362
5363         * LaTeX.C (run): use boost::format
5364
5365         * Chktex.C (scanLogFile): use boost::format
5366
5367         * BufferView_pimpl.C (savePosition): use boost::format
5368         (restorePosition): ditto
5369         (MenuInsertLyXFile): ditto
5370
5371         * BoostFormat.h: help file for explicit instation.
5372
5373 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5374
5375         * tabular.C (latex): Support for block alignment in fixed width
5376         columns.
5377
5378 2002-11-17  John Levon  <levon@movementarian.org>
5379
5380         * BufferView_pimpl.C:
5381         * lyx_cb.C:
5382         * lyxfunc.C: split filedialog into open/save
5383
5384 2002-11-08  Juergen Vigna  <jug@sad.it>
5385
5386         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5387         by my last patch (hopefully).
5388
5389 2002-11-08  John Levon  <levon@movementarian.org>
5390
5391         * iterators.h:
5392         * iterators.C:
5393         * buffer.h:
5394         * buffer.C:
5395         * paragraph.h:
5396         * paragraph.C:
5397         * toc.h:
5398         * toc.C: ParConstIterator, and use it (from Lars)
5399
5400 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5401
5402         * lyxtextclass.[Ch]: revise and add doxygen comments
5403
5404 2002-11-07  John Levon  <levon@movementarian.org>
5405
5406         * text.C: fix progress value for spellchecker
5407
5408         * toc.C: fix navigate menu for insetwrap inside minipage
5409
5410         * paragraph_funcs.C: added FIXME for suspect code
5411
5412 2002-11-07  John Levon  <levon@movementarian.org>
5413
5414         * BufferView_pimpl.C: fix redrawing of insets
5415           on buffer switch
5416
5417 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5418
5419         * text2.C (updateCounters): fix bug 668
5420
5421 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5422
5423         * text3.C (dispatch): Do not make the buffer dirty when moving the
5424         cursor.
5425
5426 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * vc-backend.C: STRCONV
5429         (scanMaster): ditto
5430
5431         * text2.C (setCounter): STRCONV
5432
5433         * paragraph.C (asString): STRCONV
5434
5435         * lyxlength.C (asString): STRCONV
5436         (asLatexString): ditto
5437
5438         * lyxgluelength.C (asString): STRCONV
5439         (asLatexString): ditto
5440
5441         * lyxfunc.C (dispatch): STRCONV
5442         (open): ditto
5443
5444         * lyxfont.C (stateText): STRCONV
5445
5446         * importer.C (Import): STRCONV
5447
5448         * counters.C (labelItem): STRCONV
5449         (numberLabel): ditto
5450         (numberLabel): remove unused ostringstream o
5451
5452         * chset.C: STRCONV
5453         (loadFile): ditto
5454
5455         * bufferview_funcs.C (currentState): STRCONV
5456
5457         * buffer.C (readFile): STRCONV
5458         (asciiParagraph): ditto
5459         (makeLaTeXFile): ditto
5460
5461         * Spacing.C (writeEnvirBegin): STRCONV
5462
5463         * LaTeXFeatures.C (getLanguages): STRCONV
5464         (getPackages): ditto
5465         (getMacros): ditto
5466         (getBabelOptions): ditto
5467         (getTClassPreamble): ditto
5468         (getLyXSGMLEntities): ditto
5469         (getIncludedFiles): ditto
5470
5471         * LaTeX.C: STRCONV
5472         (run): ditto
5473         (scanAuxFile): ditto
5474         (deplog): ditto
5475
5476         * LString.h: add the STRCONV macros
5477
5478         * BufferView_pimpl.C (savePosition): STRCONV
5479         (restorePosition): ditto
5480         (MenuInsertLyXFile): ditto
5481
5482         * vc-backend.C (scanMaster): change from submatch[...] to
5483         submatch.str(...)
5484
5485         * funcrequest.C: include config.h
5486
5487         * factory.C: include config.h
5488
5489         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5490
5491         * box.C: include config.h
5492
5493         * LaTeX.C (scanAuxFile): change from submatch[...] to
5494         submatch.str(...)
5495         (deplog): ditto
5496
5497 2002-10-25  Angus Leeming  <leeming@lyx.org>
5498
5499         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5500
5501         * ispell.[Ch] (setError): new method.
5502         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5503         Use setError() insetead of goto END.
5504
5505         * lyx_cb.C (AutoSave): move out child process into new class
5506         AutoSaveBuffer.
5507
5508 2002-10-30  John Levon  <levon@movementarian.org>
5509
5510         * text3.C: make start appendix undoable
5511
5512 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5513
5514         * lyxlength.C (inPixels): Fix returned value.
5515
5516         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5517         environment.
5518
5519 2002-10-24  Angus Leeming  <leeming@lyx.org>
5520
5521         * lyxgluelength.h: no need to forward declare BufferParams
5522         or BufferView, so don't.
5523
5524 2002-10-21  John Levon  <levon@movementarian.org>
5525
5526         * BufferView.C: menuUndo ->undo, redo
5527
5528         * BufferView.h: document, remove dead, make some methods private
5529
5530         * paragraph_funcs.h:
5531         * paragraph_funcs.C:
5532         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5533
5534         * buffer.h:
5535         * buffer.C:
5536         * sgml.h:
5537         * sgml.C: move sgml open/close tag into sgml.C
5538
5539         * bufferview_funcs.h: unused prototype
5540
5541         * lyxfunc.h:
5542         * lyxfunc.C: remove unused
5543
5544         * lyxtext.h:
5545         * text.C: remove unused
5546
5547 2002-10-21  John Levon  <levon@movementarian.org>
5548
5549         * BufferView.h:
5550         * BufferView.C:
5551         * BufferView_pimpl.h:
5552         * BufferView_pimpl.C: fix mouse wheel handling based on
5553           patch from Darren Freeman
5554
5555 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5556
5557         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5558
5559 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5560
5561         * lyxlength.C (inPixels): Fix hanfling of negative length.
5562         Fix LyXLength::MU case.
5563
5564 2002-10-16  John Levon  <levon@movementarian.org>
5565
5566         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5567
5568 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5569
5570         * converter.C (view): add support for $$i (file name) and $$p
5571         (file path) for the viewer command. If $$i is not specified, then
5572         it is appended to the command (for compatibility with old syntax)
5573
5574 2002-10-14  Juergen Vigna  <jug@sad.it>
5575
5576         * undo_funcs.C (textHandleUndo): alter the order in which the
5577         new undopar is added to the LyXText, as we have to set first
5578         the right prev/next and then add it as otherwise the rebuild of
5579         LyXText is not correct. Also reset the cursor to the right paragraph,
5580         with this IMO we could remove the hack in "redoParagraphs()".
5581
5582 2002-10-09  Angus Leeming  <leeming@lyx.org>
5583
5584         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5585         to turn off an optimisation if a new inset is to be inserted.
5586
5587 2002-10-11 André Pönitz <poenitz@gmx.net>
5588
5589         * lyxtext.h: make some functions public to allow access
5590         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5591
5592 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5593
5594         * text3.C (dispatch): when changing layout, avoid an infinite loop
5595         [bug #652]
5596
5597 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5598
5599         * lyxrc.C (read): treat a viewer or converter command of "none" as
5600         if it were empty.
5601
5602         * MenuBackend.C (expandFormats): for an update, also allow the
5603         formats that are not viewable
5604
5605         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5606         script if it is newer than the lyxrc.defaults in user directory
5607
5608 2002-10-07 André Pönitz <poenitz@gmx.net>
5609
5610         * text.C: Vitaly Lipatov's small i18n fix
5611
5612 2002-09-25  Angus Leeming  <leeming@lyx.org>
5613
5614         * ispell.h: doxygen fix.
5615
5616 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5617
5618         * buffer.h (readFile): Add a new argument to the method, to allow
5619         reading of old-format templates.
5620
5621 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5622
5623         * toc.C (getTocList): Get TOC from InsetWrap.
5624
5625 2002-09-16  John Levon  <levon@movementarian.org>
5626
5627         * lyxfunc.C: check tabular for cut/copy too
5628
5629 2002-09-12  John Levon  <levon@movementarian.org>
5630
5631         * LyXAction.C: tidy
5632
5633         * factory.h:
5634         * factory.C: add header
5635
5636         * paragraph_funcs.h:
5637         * paragraph_funcs.C: cleanup
5638
5639 2002-09-11  John Levon  <levon@movementarian.org>
5640
5641         * PrinterParams.h: odd/even default to true
5642
5643 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5644
5645         * PrinterParams.h: update printer parameters for new xforms dialog
5646
5647 2002-09-11  Angus Leeming  <leeming@lyx.org>
5648
5649         * lyxserver.C (read_ready): re-write to make it more transparent
5650         and to make it work in coherent fashion under Tru64 Unix.
5651
5652 2002-09-11  André Pönitz <poenitz@gmx.net>
5653
5654         * commandtags.h:
5655         * LyXAction.C:
5656         * text3.C: implement LFUN_WORDSEL
5657
5658 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5661         make floatlist_ a boost::shared_ptr<FloatList>
5662
5663         * lyxtextclass.C: include FloatList.h
5664         (LyXTextClass): initialize floatlist_
5665         (TextClassTags): add TC_NOFLOAT
5666         (Read): match "nofloat" to TC_NOFLOAT and use it.
5667         (readFloat): modify call to floatlist_
5668         (floats): ditto
5669         (floats): ditto
5670
5671         * FloatList.[Ch] (FloatList): remove commented out float
5672         initialization.
5673         (erase): new function
5674
5675 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5676
5677         * MenuBackend.C (expandToc): fix crash when there is no document
5678         open
5679
5680 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5681
5682         * many files: Add insetwrap.
5683
5684 2002-09-09  John Levon  <levon@movementarian.org>
5685
5686         * text2.C: remove confusing and awkward depth wraparound
5687
5688 2002-09-09  John Levon  <levon@movementarian.org>
5689
5690         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5691
5692         * buffer.h:
5693         * buffer.C: remove getIncludeonlyList()
5694
5695         * paragraph.C:
5696         * lyxfunc.C: remove headers
5697
5698 2002-09-09  Juergen Vigna  <jug@sad.it>
5699
5700         * text.C (getColumnNearX): fix form Michael this is most
5701         probably a cut&paste bug.
5702
5703 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5706
5707         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5708         references, ws changes.
5709
5710         * text2.C (init): update counters after init
5711         (insertParagraph): no need to set counter on idividual paragraphs.
5712         (setCounter): access the counters object in the textclass object
5713         on in the buffer object.
5714         (updateCounters): ditto
5715
5716         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5717         shared_ptr<Counters> to avoid loading counters.h in all
5718         compilation units.
5719         (LyXTextClass): initialize ctrs_
5720         (TextClassTags): add TC_COUNTER, and ...
5721         (Read): use it here.
5722         (CounterTags): new tags
5723         (readCounter): new function
5724         (counters): new funtion
5725         (defaultLayoutName): return a const reference
5726
5727         * counters.C (Counters): remove contructor
5728         (newCounter): remove a couple of unneeded statements.
5729         (newCounter): simplify a bit.
5730         (numberLabel): some small formatting changes.
5731
5732         * buffer.[Ch]: remove all traces of counters, move the Counters
5733         object to the LyXTextClass.
5734
5735 2002-09-06  Alain Castera  <castera@in2p3.fr>
5736
5737         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5738         package to set the horizontal alignment on fixed width columns.
5739
5740         * lyx_sty.C:
5741         * lyx_sty.h: added tabularnewline macro def.
5742
5743         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5744
5745 2002-09-06  John Levon  <levon@movementarian.org>
5746
5747         * LyXAction.C: tooltips for sub/superscript
5748
5749         * MenuBackend.C: a bit more verbose
5750
5751         * lyxfunc.C: tiny clean
5752
5753         * undo_funcs.C: document undo_frozen
5754
5755 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * counters.C (Counters): add missing algorithm counter.
5758
5759         * text2.C (setCounter): lookup the counter with layouts latexname
5760         instead of by section number.
5761         (setCounter): use a hackish way to lookup the correct enum
5762         counter.
5763         a float name->type change
5764         reset enum couners with counter name directly instead of depth value.
5765
5766         * counters.C (Counters): remove the push_backs, change to use the
5767         float type not the float name.
5768         (labelItem): remove unused string, float name->type change
5769
5770         * counters.h: don't include vector, loose the enums and sects vectors
5771
5772 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5775         (Read): add float->TC_FLOAT to textclassTags
5776         (Read): and handle it in the switch
5777         (readFloat): new function
5778
5779         * FloatList.C (FloatList): comment out the hardcoded float
5780         definitions.
5781
5782         * lyxlayout.h: ws change.
5783
5784 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5785
5786         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5787
5788 2002-09-03  Angus Leeming  <leeming@lyx.org>
5789
5790         * BufferView_pimpl.h: qualified name is not allowed in member
5791         declaration: WorkArea & Pimpl::workarea() const;
5792
5793         * factory.C: added using std::endl directive.
5794
5795         * text3.C: added using std::find and std::vector directives.
5796
5797 2002-08-29  André Pönitz <poenitz@gmx.net>
5798
5799         * lyxtext.h:
5800         * text2.C: remove unused member number_of_rows
5801
5802         * Makefile.am:
5803         * BufferView2.C: remove file, move contents to...
5804         * BufferView.C: ... here
5805
5806         * BufferView_pimpl.C:
5807         * factory.C: move more inset creation to factory
5808
5809         * vspace.C: avoid direct usage of LyXText, ws changes
5810
5811         * BufferView.[Ch]:
5812                 don't provide direct access to WorkArea, use two simple
5813                 acessors haveSelction() and workHeight() instead
5814
5815
5816 2002-08-29  John Levon  <levon@movementarian.org>
5817
5818         * BufferView_pimpl.C (dispatch): do not continue when
5819           no buffer
5820
5821 2002-08-28  André Pönitz <poenitz@gmx.net>
5822
5823         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5824
5825         * BufferView.h:
5826         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5827
5828 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5829
5830         * buffer.C: increment LYX_FORMAT to 221
5831
5832         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5833         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5834
5835         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5836
5837         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5838
5839 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5840
5841         * factory.C (createInset): use LyXTextClass::floats
5842
5843         * MenuBackend.C (expandFloatListInsert):
5844         (expandFloatInsert):
5845         (expandToc):
5846
5847         * text2.C (setCounter):
5848
5849         * LaTeXFeatures.C (useFloat):
5850         (getFloatDefinitions):
5851
5852         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5853
5854         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5855         floatlist_, with accessor floats().
5856
5857         * FloatList.h: remove global FloatList
5858
5859 2002-08-26  André Pönitz <poenitz@gmx.net>
5860
5861         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5862
5863         * BufferView.h:
5864         * BufferView2.C:
5865         * BufferView_pimpl.C:
5866         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5867
5868 2002-08-25  John Levon  <levon@movementarian.org>
5869
5870         * LyXAction.C: fix margin note description
5871
5872 2002-08-24  John Levon  <levon@movementarian.org>
5873
5874         * buffer.C:
5875         * bufferlist.C:
5876         * bufferview_funcs.C:
5877         * lyxfont.C:
5878         * undo_funcs.C: cleanups
5879
5880         * lyxfunc.C: disable CUT/COPY when no selection
5881
5882 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5883
5884         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5885         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5886
5887         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5888         Add backward compatibility to "mono", "gray" and "no".
5889
5890 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5891
5892         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5893         (and file_format >= 200).
5894
5895 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5896
5897         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5898
5899 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5900
5901         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5902
5903 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5904
5905         * BufferView_pimpl.C:
5906         * LyXAction.C:
5907         * buffer.C:
5908         * commandtags.h:
5909         * lyxfunc.C:
5910         * paragraph.[Ch]:
5911         * text2.C:
5912         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5913         inset and code to make it  work with the paragraph code. The inset
5914         can be anywhere in the paragraph, but will only do the expected
5915         thing in LaTeX if the layout file contains the parameter line
5916                         OptionalArgs    1
5917         (or more generally, a nonzero value) for that layout.
5918
5919 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * paragraph.h: remove the declaration of undefined counters class
5922         function.
5923
5924 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5925
5926         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5927         Dr. Richard Hawkins.
5928
5929 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5930
5931         * paragraph_funcs.h: remove some unneeded includes
5932
5933         * text.C (backspace): pasteParagraph now in global scipe
5934
5935         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5936         (pasteSelection): ditto
5937
5938         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5939         * paragraph_funcs.C (pasteParagraph): ... here
5940
5941 2002-08-20  André Pönitz <poenitz@gmx.net>
5942
5943         * commandtags.h: new LFUNs for swapping/copying table row/colums
5944
5945         * LyXAction.C:
5946         * lyxfunc.C: support for new lfuns
5947
5948 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * tabular.C:
5951         * buffer.[Ch]: remove NO_COMPABILITY stuff
5952
5953 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * boost.C (throw_exception): new file, with helper function for
5956         boost compiled without exceptions.
5957
5958         * paragraph.h:
5959         * lyxlength.C:
5960         * buffer.C:
5961         * ParameterStruct.h:
5962         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5963
5964         * bufferlist.C (emergencyWriteAll): use boost bind
5965
5966         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5967
5968         * text.C: include paragraph_funcs.h
5969         (breakParagraph): breakParagraph is now in global scope
5970
5971         * paragraph_funcs.[Ch]: new files
5972
5973         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5974         global scope
5975
5976         * buffer.C: include paragraph_funcs.h
5977         (insertStringAsLines): breakParagraph is now in global scope
5978
5979         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5980         paragraph_funcs.C
5981
5982         * CutAndPaste.C: include paragraph_funcs.h
5983         (cutSelection): breakParagraphConservative is now in global scope
5984         (pasteSelection): ditto
5985
5986         * buffer.h: declare oprator== and operator!= for
5987         Buffer::inset_iterator
5988
5989         * bufferlist.C (emergencyWrite): don't use fmt(...)
5990
5991         * text3.C: add using std::endl
5992
5993         * BufferView.C (moveCursorUpdate): remove default arg
5994
5995 2002-08-20  André Pönitz <poenitz@gmx.net>
5996
5997         * buffer.[Ch]: move inline functions to .C
5998
5999         * BufferView2.C:
6000         * BufferView_pimpl.C:
6001         * text.C:
6002         * buffer.[Ch]: use improved inset_iterator
6003
6004         * buffer.C:
6005         * paragraph.[Ch]: write one paragraph at a time
6006
6007 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6008
6009         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6010         style if style is not specified.
6011
6012 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6013
6014         * text2.C (setCounter): when searching for right label for a
6015         caption, make sure to recurse to parent insets (so that a caption
6016         in a minipage in a figure float works) (bug #568)
6017
6018 2002-08-20  André Pönitz <poenitz@gmx.net>
6019
6020         * text3.C: new file for LyXText::dispatch() and helpers
6021
6022         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6023
6024         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6025
6026 2002-08-19  André Pönitz <poenitz@gmx.net>
6027
6028         * lyxtext.h:
6029         * text.C: new LyXText::dispatch()
6030
6031         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6032
6033 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6034
6035         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6036
6037         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6038         Hebrew text.
6039
6040 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6041
6042         * Makefile.am: use $(variables) instead of @substitutions@
6043
6044 2002-08-15  André Pönitz <poenitz@gmx.net>
6045
6046         * lyxfunc.C:
6047         * BufferView_pimpl.C: streamlining mathed <-> outer world
6048         interaction
6049
6050         * commandtags.h:
6051         * LyXAction.C: remove unused LFUN_MATH
6052
6053 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6056
6057 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * paragraph.C (Paragraph): reformat a bit
6060         (cutIntoMinibuffer): use builtin InsetList function instad of
6061         doing it manually.
6062         (getInset): ditto
6063
6064         * buffer.C: include boost/bind.hpp, add using std::for_each
6065         (writeFileAscii): use ParagraphList iterators
6066         (validate): use for_each for validate traversal of paragraphs
6067         (getBibkeyList): use ParagraphList iterators
6068         (resizeInsets): use for_each to resizeInsetsLyXText for all
6069         paragraphs.
6070         (getParFromID): use ParagraphList iterators
6071
6072         * BufferView2.C (lockInset): use paragraph list and iterators
6073
6074 2002-08-14  John Levon  <levon@movementarian.org>
6075
6076         * lyxserver.C: remove spurious xforms include
6077
6078 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6079
6080         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6081
6082 2002-08-13  André Pönitz <poenitz@gmx.net>
6083
6084         * LyXAction.[Ch]:
6085         * lyxfunc.C: further cleaning
6086
6087 2002-08-13  André Pönitz <poenitz@gmx.net>
6088
6089         * funcrequest.h: new constructor
6090
6091         * funcrequest.C: move stuff here from .h
6092
6093         * Makefile.am:
6094         * BufferView_pimpl.C:
6095         * LyXAction.C:
6096         * toc.C:
6097         * lyxfunc.C: subsequent changes
6098
6099         * lyxfunc.h: new view() member function
6100
6101         * lyxfunc.C: subsequent changes
6102
6103 2002-08-13  Angus Leeming  <leeming@lyx.org>
6104
6105         * BufferView2.C:
6106         * BufferView_pimpl.C:
6107         * buffer.C:
6108         * converter.C:
6109         * importer.C:
6110         * lyxfunc.C:
6111         * lyxvc.C:
6112         * toc.C:
6113         * vc-backend.C:
6114         changes due to the changed LyXView interface that now returns references
6115         to member variables not pointers.
6116
6117 2002-08-13  Angus Leeming  <leeming@lyx.org>
6118
6119         * WordLangTuple (word, lang_code): return references to strings,
6120         not strings.
6121
6122         * BufferView.h:
6123         * SpellBase.h:
6124         * lyxtext.h: forward-declare WordLangTuple.
6125
6126         * BufferView2.C:
6127         * ispell.C:
6128         * pspell.C:
6129         * text.C: #include "WordLangTuple.h".
6130
6131         * lyxtext.h:
6132         * text.C: (selectNextWordToSpellcheck): constify return type.
6133
6134 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6135
6136         * buffer.C:
6137         * buffer.h:
6138         * lyxtext.h:
6139         * paragraph.C:
6140         * paragraph_pimpl.h:
6141         * text.C:
6142         * text2.C:
6143         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6144         suggested by Angus.
6145         Made updateCounter always count from start of buffer, and removed
6146         second argument (par).
6147         Reverted floats number display to '#'. Perhaps I'll try again when the
6148         code base is sanitized a bit.
6149
6150 2002-08-12  Angus Leeming  <leeming@lyx.org>
6151
6152         * buffer.[Ch] (getLabelList): constify.
6153
6154 2002-08-07  André Pönitz <poenitz@gmx.net>
6155
6156         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6157
6158         * funcrequest.h: extension to keep mouse (x,y) position
6159
6160 2002-08-12  Juergen Vigna  <jug@sad.it>
6161
6162         * BufferView2.C (insertErrors): forbid undo when inserting error
6163         insets.
6164
6165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6166
6167 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * ParagraphList.[Ch]: new files
6170
6171         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6172
6173         * BufferView2.C (lockInset): ParagraphList changes
6174         * toc.C: ditto
6175         * text2.C: ditto
6176         * bufferlist.C: ditto
6177         * buffer.h: ditto
6178         * buffer.C: ditto
6179
6180 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6183         unused class variable counter_,
6184
6185         * paragraph.[Ch] (getFirstCounter): delete unused function
6186
6187         * counters.C: include LAssert.h
6188         (reset): add a new function with no arg, change other version to
6189         not have def. arg and to not allow empty arg.
6190
6191         * text2.C (setCounter): remove empty arg from call to Counters::reset
6192
6193 2002-08-11  John Levon  <levon@movementarian.org>
6194
6195         * Makefile.am: add WordLangTuple.h
6196
6197 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6200         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6201
6202         * insets/insettext.C: InsetList changes
6203
6204         * graphics/GraphicsSupport.C (operator()): InsetList changes
6205
6206         * toc.C (getTocList): InsetList changes
6207
6208         * paragraph_pimpl.[Ch]: InsetList changes
6209
6210         * paragraph.[Ch]: InsetList changes
6211
6212         * buffer.C (inset_iterator): InsetList changes
6213         (setParagraph): ditto
6214         * buffer.h (inset_iterator): ditto
6215         * iterators.C (operator++): ditto
6216         * iterators.h: ditto
6217
6218         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6219
6220         * InsetList.[Ch]: new files, most InsetList handling moved out of
6221         paragraph.C.
6222
6223         * BufferView2.C (removeAutoInsets): InsetList changes
6224         (lockInset): ditto
6225         (ChangeInsets): ditto
6226
6227 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * paragraph_pimpl.h (empty): new function
6230
6231         * paragraph.[Ch] (empty): new function
6232
6233         * other files: use the new Paragraph::empty function
6234
6235 2002-08-09  John Levon  <levon@movementarian.org>
6236
6237         * lyxtext.h: remove unused refresh_height
6238
6239 2002-08-09  John Levon  <levon@movementarian.org>
6240
6241         * Makefile.am:
6242         * sgml.h:
6243         * sgml.C:
6244         * buffer.C:
6245         * paragraph.h:
6246         * paragraph.C: move sgml char escaping out of paragraph
6247
6248         * paragraph.h:
6249         * paragraph.C: remove id setter
6250
6251         * buffer.C:
6252         * paragraph.C:
6253         * paragraph_pimpl.C: remove dead tex_code_break_column
6254
6255         * bufferview_funcs.C: small cleanup
6256
6257         * lyxfunc.C: remove dead proto
6258
6259         * lyxtext.h: make some stuff private. Remove some dead stuff.
6260
6261         * lyxgluelength.C: make as[LyX]String() readable
6262
6263 2002-08-08  John Levon  <levon@movementarian.org>
6264
6265         * LyXAction.h:
6266         * LyXAction.C:
6267         * MenuBackend.C:
6268         * ToolbarDefaults.C:
6269         * lyxfunc.C:
6270         * lyxrc.C:
6271         * toc.C: lyxaction cleanup
6272
6273 2002-08-08  John Levon  <levon@movementarian.org>
6274
6275         * BufferView2.C: small cleanup
6276
6277         * lyxfind.h:
6278         * lyxfind.C: move unnecessary header into the .C
6279
6280 2002-08-08  John Levon  <levon@movementarian.org>
6281
6282         * funcrequest.h: just tedious nonsense
6283
6284         * lyx_main.h:
6285         * lyx_main.C: cleanups
6286
6287         * buffer.C:
6288         * vspace.C: remove dead header lyx_main.h
6289
6290 2002-08-07  Angus Leeming  <leeming@lyx.org>
6291
6292         * Paragraph.[Ch]:
6293         * paragraph_pimpl.h:
6294         Forward declare class Counters in paragraph.h by moving the ctrs member
6295         variable into Paragraph::Pimpl.
6296         (counters): new method, returning a reference to pimpl_->ctrs.
6297
6298         * text2.C: ensuing changes.
6299
6300 2002-08-07  John Levon  <levon@movementarian.org>
6301
6302         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6303
6304         * BufferView_pimpl.C: announce X selection on double/triple
6305           click
6306
6307         * lyx_main.C: use correct bool in batch dispatch
6308
6309         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6310
6311 2002-08-07  André Pönitz <poenitz@gmx.net>
6312
6313         * funcrequest.h: new class to wrap a kb_action and its argument
6314
6315         * BufferView.[Ch]:
6316         * BufferView_pimpl[Ch]:
6317         * LaTeX.C:
6318         * LyXAction.[Ch]:
6319         * lyxfunc.[Ch]:
6320         * lyxrc.C: subsequent changes
6321
6322
6323 2002-08-07  John Levon  <levon@movementarian.org>
6324
6325         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6326           document options change.
6327
6328 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6329
6330         * counters.[Ch]
6331         * text2.C
6332         * paragraph.[Ch]
6333         * makefile.am: move counters functionality over from
6334         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6335
6336 2002-08-06  John Levon  <levon@movementarian.org>
6337
6338         * WordLangTuple.h: new file for word + language code tuple
6339
6340         * SpellBase.h:
6341         * pspell.h:
6342         * pspell.C:
6343         * ispell.h:
6344         * ispell.C:
6345         * lyxtext.h:
6346         * text.C:
6347         * text2.C:
6348         * BufferView.h:
6349         * BufferView2.C: use WordLangTuple
6350
6351         * layout.h:
6352         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6353
6354 2002-08-06  John Levon  <levon@movementarian.org>
6355
6356         * lyx_main.C: fix cmdline batch handling
6357
6358 2002-08-06  André Pönitz <poenitz@gmx.net>
6359
6360         * lyxrc.C: set default for show_banner to true
6361
6362 2002-08-06  John Levon  <levon@movementarian.org>
6363
6364         * pspell.C: fix a crash, and allow new aspell to work
6365
6366 2002-08-06  John Levon  <levon@movementarian.org>
6367
6368         * lyxfunc.C:
6369         * kbmap.C: small cleanup
6370
6371         * vspace.h:
6372         * vspace.C: add const
6373
6374 2002-08-05  John Levon  <levon@movementarian.org>
6375
6376         * LyXAction.C: back to tabular-insert
6377
6378 2002-08-04  John Levon  <levon@movementarian.org>
6379
6380         * BufferView.h:
6381         * BufferView.C: cosmetic change
6382
6383         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6384
6385         * bufferlist.C:
6386         * buffer.h:
6387         * buffer.C:
6388         * lyxcb.h:
6389         * lyxcb.C:
6390         * lyxserver.C:
6391         * lyxvc.C:
6392         * vc-backend.C:
6393         * BufferView2.C: purge all "Lyx" not "LyX" strings
6394
6395         * lyxcursor.h:
6396         * lyxcursor.C: attempt to add some documentation
6397
6398         * lyxfunc.C:
6399         * commandtags.h:
6400         * LyXAction.C:
6401         * ToolbarDefaults.C:
6402         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6403           merge with LFUN_TABULAR_INSERT
6404
6405         * Makefile.am:
6406         * SpellBase.h:
6407         * ispell.h:
6408         * ispell.C:
6409         * pspell.h:
6410         * pspell.C: split up i/pspell implementations into separate
6411           files, many cleanups
6412
6413         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6414
6415         * text2.C: some cleanup
6416
6417         * lyxfunc.C: don't check for isp_command == "none" any more, it
6418           didn't make any sense
6419
6420 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6421
6422         * counters.[Ch]
6423         * text2.C
6424         * paragraph.[Ch]
6425         * makefile.am: move counters functionality over
6426         from text2.C/paragraph.[Ch] to counters.[Ch], and
6427         make proper C++.
6428 2002-08-02  John Levon  <levon@movementarian.org>
6429
6430         * buffer.C: s/lyxconvert/lyx2lyx/
6431
6432 2002-08-02  Angus Leeming  <leeming@lyx.org>
6433
6434         * lyxlex.C: revert John's change as it breaks reading of the user
6435         preamble.
6436
6437 2002-08-02  Angus Leeming  <leeming@lyx.org>
6438
6439         * importer.C (Import):
6440         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6441         changes due to LyXView::view() now returning a boost::shared_ptr.
6442
6443 2002-08-02  John Levon  <levon@movementarian.org>
6444
6445         * lyxlex.C: small cleanup
6446
6447 2002-08-02  John Levon  <levon@movementarian.org>
6448
6449         * text2.C (status): small cleanup, no logic change
6450
6451 2002-08-01  John Levon  <levon@movementarian.org>
6452
6453         * buffer.h:
6454         * buffer.C (writeFile): don't output alerts, caller
6455           handles this
6456
6457         * bufferlist.C:
6458         * lyx_cb.C: from above
6459
6460         * lyxfunc.C: allow to open non-existent files
6461
6462 2002-07-31  John Levon  <levon@movementarian.org>
6463
6464         * lyxserver.C: don't let incidental errors get
6465           in the way (errno)
6466
6467 2002-07-30  John Levon  <levon@movementarian.org>
6468
6469         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6470
6471 2002-07-30  John Levon  <levon@movementarian.org>
6472
6473         * lyxserver.h:
6474         * lyxserver.C: remove I/O callback too
6475
6476 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6477
6478         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6479         log.
6480
6481 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * many files: strip,frontStrip -> trim,ltrim,rtrim
6484
6485 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * PrinterParams.h: remove extern containsOnly, and include
6488         support/lstrings.h instead.
6489
6490         * LaTeX.C (scanAuxFile): modify because of strip changes
6491         (deplog): ditto
6492         * buffer.C (makeLaTeXFile): ditto
6493         * bufferparams.C (writeFile): ditt
6494         * lyxfont.C (stateText): ditto
6495         * lyxserver.C (read_ready): ditto
6496         * vc-backend.C (scanMaster): ditto
6497
6498         * BufferView_pimpl.h: ws changes
6499
6500         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6501
6502 2002-07-26  André Pönitz <poenitz@gmx.net>
6503
6504         * kb_sequence.C: remove unnedred usings
6505
6506 2002-07-26  Juergen Vigna  <jug@sad.it>
6507
6508         * lyxfind.C (LyXReplace): we have to check better if the returned
6509         text is not of theLockingInset()->getLockingInset().
6510
6511 2002-07-25  Juergen Vigna  <jug@sad.it>
6512
6513         * lyxfind.C (LyXReplace): don't replace if we don't get the
6514         right LyXText.
6515
6516         * undo_funcs.C (createUndo): remove debugging code.
6517
6518 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6519
6520         * buffer.C (parseSingleLyXformat2Token): Use default placement
6521         when reading old floats.
6522
6523         * FloatList.C (FloatList): Change the default placement of figure
6524         and tables to "tbp".
6525
6526 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6527
6528         * MenuBackend.C: using std::max
6529
6530 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6531
6532         * MenuBackend.C (expandToc):
6533         (expandToc2): code moved from xforms menu frontend. It is now
6534         generic and TOCs are transparent to menu frontends.
6535
6536 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6537
6538         * toc.C (getTocList): protect against buf=0
6539
6540         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6541         Menu as first parameter. Now, this calls itself recursively to
6542         expand a whole tree (this will be useful for TOC handling)
6543         (expandFloatInsert): remove 'wide' version of floats
6544
6545         * MenuBackend.h (submenuname): returns the name of the submenu.
6546         (submenu): returns the submenu itself, provided it has been
6547         created by MenuBackend::expand
6548
6549 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6550
6551         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6552         insets which have noFontChange == true. (bug #172)
6553
6554 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6555
6556         * BufferView_pimpl.C: add connection objects and use them...
6557         (Pimpl): here.
6558
6559 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6560
6561         * MenuBackend.C (expandLastfiles):
6562         (expandDocuments):
6563         (expandFormats):
6564         (expandFloatListInsert):
6565         (expandFloatInsert):
6566         (expand): split expand in parts
6567
6568 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6569
6570         * lyx_gui.C: use lyx_gui::exit()
6571
6572 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6573
6574         * LyXAction.C: show the failing pseudo action
6575
6576 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6577
6578         * buffer.C (readFile): Run the lyxconvert script in order to read
6579         old files.
6580
6581 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6582
6583         * LyXAction.C:
6584         * commandtags.h:
6585         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6586
6587 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6588
6589         * LyXAction.C:
6590         * commandtags.h:
6591         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6592
6593 2002-07-22  Herbert Voss  <voss@lyx.org>
6594
6595         * lengthcommon.C:
6596         * lyxlength.[Ch]: add support for the vertical lengths
6597
6598 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6599
6600         * toc.[Ch]: std:: fixes
6601
6602 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6603
6604         * lyxrc.C: do not include lyx_main.h
6605
6606         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6607         for layouts
6608
6609         * lyxrc.C:
6610         * encoding.C:
6611         * bufferlist.C:
6612         * BufferView2.C: include "lyxlex.h"
6613
6614         * tabular.h:
6615         * bufferparams.h: do not #include "lyxlex.h"
6616
6617         * lyxtextclasslist.C (Add): remove method
6618         (classlist): renamed to classlist_
6619
6620         * paragraph_pimpl.C:
6621         * paragraph.C:
6622         * text2.C:
6623         * CutAndPaste.C:
6624         * bufferview_funcs.C:
6625         * bufferlist.C:
6626         * text.C:
6627         * LaTeXFeatures.C:
6628         * buffer.C:
6629         * toc.C (getTocList): use BufferParams::getLyXTextClass
6630
6631         * toc.C (getTocList): use InsetFloat::addToToc
6632
6633         * toc.[Ch]: new files, containing helper functions to handle table
6634         of contents
6635
6636         * lyxfunc.C (dispatch): no need to remove spaces around command
6637         given as a string
6638         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6639         first command of the sequence; it is not very clever, but I do not
6640         have a better idea, actually
6641
6642         * LyXAction.C (LookupFunc): make sure to remove space at the
6643         beginning and end of the command
6644
6645 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6646
6647         * MenuBackend.C (getMenubar): new method: return the menubar of
6648         this menu set
6649         (read): treat differently reading of menu and menubar (in
6650         particular, the menubar has no name now)
6651         (Menu::menubar): remove
6652
6653         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6654         saving is finished
6655
6656 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6657
6658         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6659         a bibitem inset in a RTL paragraph.
6660
6661 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6662
6663         * paragraph_pimpl.C: constify
6664
6665         * BufferView_pimpl.C:
6666         * LaTeX.C:
6667         * lyxfunc.C: fix dispatch in a nicer way
6668
6669 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6670
6671         * lyxfunc.C (dispatch):
6672         * BufferView_pimpl.C:
6673         * BufferView_pimpl.h:
6674         * BufferView.C:
6675         * BufferView.h: rename Dispatch() to dispatch()
6676
6677         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6678
6679         * lyxlayout.C (Read): honor DependsOn tag
6680
6681         * lyxlayout.[Ch] (depends_on): new method
6682
6683         * version.C.in: update lyx_docversion
6684
6685         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6686
6687         * paragraph.C (validate): remove from here...
6688         * paragraph_pimpl.C (validate): ... and move here
6689         (isTextAt): make it const
6690
6691         * buffer.C (getLists): ws cleanup
6692
6693 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6694
6695         * language.C (read): Use iso8859-1 encoding in latex_lang
6696         (this prevents LyX from crashing when using iso10646-1 encoding).
6697
6698 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6699
6700         * text2.C (toggleInset): if cursor is inside an inset, close the
6701         inset and leave cursor _after_ it
6702
6703 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6704
6705         * lyxfunc.C: move minibuffer completion handling out of here
6706
6707 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6708
6709         * BufferView_pimpl.C:
6710         * LaTeX.C: fix dispatch calls
6711
6712 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6713
6714         * text.C (drawChars): Fix Arabic text rendering.
6715
6716 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6717
6718         * LyXAction.C:
6719         * commandtags.h:
6720         * lyxfunc.C: remove message-push/pop
6721
6722         * lyxserver.C:
6723         * lyxfunc.h:
6724         * lyxfunc.C: rationalise some code by removing verboseDispatch
6725           in favour of a bool argument to dispatch()
6726
6727 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6728
6729         * lyx_main.C (init): make sure to read symlinks as absolute paths
6730
6731 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6732
6733         * lyxfunc.h:
6734         * lyxfunc.C: no need for commandshortcut to be a member
6735
6736 2002-07-15  André Pönitz <poenitz@gmx.net>
6737
6738         * converter.C: add support for $$s (scripts from lib/scripts dir)
6739         * lyx_main.C: white space
6740
6741 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6742
6743         * bufferlist.C:
6744         * lyxrc.h:
6745         * lyxrc.C: remove second exit confirmation
6746
6747 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6748
6749         * BufferView.h:
6750         * BufferView.C:
6751         * BufferView2.C:
6752         * BufferView_pimpl.h:
6753         * BufferView_pimpl.C:
6754         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6755
6756 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * MenuBackend.C (expand): add numeric shortcuts to document menu
6759
6760         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6761
6762 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6763
6764         * lyxfont.C (setLyXFamily):
6765         (setLyXSeries):
6766         (setLyXShape):
6767         (setLyXSize):
6768         (setLyXMisc):
6769         (lyxRead):
6770         * debug.C (value):
6771         * buffer.C (asciiParagraph): use ascii_lowercase
6772
6773 2002-07-15  Mike Fabian  <mfabian@suse.de>
6774
6775         * lyxlex_pimpl.C (search_kw):
6776         * lyxlex.C (getLongString):
6777         * converter.h (operator<):
6778         * converter.C (operator<):
6779         * buffer.C (parseSingleLyXformat2Token):
6780         (asciiParagraph):
6781         * ToolbarDefaults.C (read):
6782         * MenuBackend.C (checkShortcuts):
6783         (read):
6784         * LColor.C (getFromGUIName):
6785         (getFromLyXName): use the compare_ascii_no_case instead of
6786         compare_no_case, because in turkish, 'i' is not the lowercase
6787         version of 'I', and thus turkish locale breaks parsing of tags.
6788
6789 2002-07-16  Angus Leeming  <leeming@lyx.org>
6790
6791         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6792         now takes a Buffer const & argument.
6793
6794 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * BufferView.C (resize): check there's a buffer to resize
6797
6798 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6799
6800         * lyxfunc.C: remove dead code
6801
6802         * lyxserver.h:
6803         * lyxserver.C: use lyx_guii::set_read_callback
6804
6805 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6806
6807         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6808         an inset in a RTL paragraph.
6809
6810 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6811
6812         * lyxfunc.C: repaint after a font size update
6813
6814 2002-07-15  André Pönitz <poenitz@gmx.net>
6815
6816         * lyxlength.C: inBP should be able to return negative values
6817
6818 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6819
6820         * lyxfunc.C: use lyx_gui::update_fonts()
6821
6822 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6823
6824         * lyxfunc.C: use lyx_gui::update_color()
6825
6826 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6827
6828         * bufferlist.C:
6829         * lyxfunc.h:
6830         * lyxfunc.C:
6831         * lyxrc.h:
6832         * lyxrc.C: remove file->new asks for name option, and let
6833           buffer-new take an argument
6834
6835 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6836
6837         * BufferView_pimpl.C: remove unneeded extra repaint()
6838
6839 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6840
6841         * LyXAction.C: allow command-sequence with NoBuffer
6842
6843         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6844
6845 2002-07-10  Angus Leeming  <leeming@lyx.org>
6846
6847         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6848
6849 2002-07-09  Angus Leeming  <leeming@lyx.org>
6850
6851         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6852
6853 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6854
6855         * lengthcommon.h: whitespace
6856
6857         * lyxfunc.C: update scrollbar after goto paragraph
6858
6859         * lyxtext.h: factor out page break drawing, and fix it so
6860           page break/added space paints as selected nicely
6861
6862 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * BufferView_pimpl.C: add FIXMEs, clean up a little
6865
6866 2002-07-09  André Pönitz <poenitz@gmx.net>
6867
6868         * lyxfont.[Ch]: support for wasy symbols
6869
6870 2002-07-08  André Pönitz <poenitz@gmx.net>
6871
6872         * BufferView_pimpl.C: apply John's patch for #93.
6873
6874 2002-07-05  Angus Leeming  <leeming@lyx.org>
6875
6876         * BufferView_pimpl.C (buffer): generate previews if desired.
6877
6878         * LColor.h: add "preview" to the color enum.
6879
6880         * LColor.C (LColor): add a corresponding entry to the items array.
6881
6882         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6883         with this buffer.
6884
6885 2002-07-05  Angus Leeming  <leeming@lyx.org>
6886
6887         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6888         The body of the code is now in the method that is passed an ostream &
6889         rather than a file name.
6890         Pass an additional only_preamble parameter, useful for the forthcoming
6891         preview stuff.
6892
6893 2002-07-03  André Pönitz <poenitz@gmx.net>
6894
6895         * lyxfunc.C: simplify getStatus() a bit for math stuff
6896
6897 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6898
6899         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6900
6901 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6902
6903         * text.C (changeRegionCase): do not change case of all the
6904         document when region ends at paragraph end (bug #461)
6905
6906 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6907
6908         * paragraph.C (startTeXParParams):
6909         (endTeXParParams): add \protect when necessary
6910
6911 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6912
6913         * BufferView_pimpl.C (workAreaExpose): remove warning
6914
6915 2002-06-27  Angus Leeming  <leeming@lyx.org>
6916
6917         * Makefile.am: add lyxlayout_ptr_fwd.h.
6918
6919 2002-06-26  André Pönitz <poenitz@gmx.net>
6920
6921         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6922
6923 2002-06-25  Angus Leeming  <leeming@lyx.org>
6924
6925         * lyxfunc.C (dispatch): Comment out the call to
6926         grfx::GCache::changeDisplay. The method no longer exists now that the
6927         pixmap generation part of the graphics loader has been moved into
6928         InsetGraphics.
6929
6930 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6931
6932         * text2.C: layout as layout
6933
6934         * text.C: layout as layout
6935
6936         * tabular.C (OldFormatRead): layout as layout
6937
6938         * paragraph_pimpl.C (TeXDeeper): layout as layout
6939         (realizeFont): layout as layout
6940
6941         * paragraph.C (writeFile): layout as layout
6942         (validate): layout as layout
6943         (getFont): layout as layout
6944         (getLabelFont): layout as layout
6945         (getLayoutFont): layout as layout
6946         (breakParagraph): layout as layout
6947         (stripLeadingSpaces): layout as layout
6948         (getEndLabel): layout as layout
6949         (getMaxDepthAfter): layout as layout
6950         (applyLayout): layout as layout
6951         (TeXOnePar): layout as layout
6952         (simpleTeXOnePar): layout as layout
6953         (TeXEnvironment): layout as layout
6954         (layout): layout as layout
6955         (layout): layout as layout
6956
6957         * lyxtextclass.C (compare_name): new functor to work with
6958         shared_ptr, layout as layout
6959         (Read): layout as layout
6960         (hasLayout): layout as layout
6961         (operator): layout as layout
6962         (delete_layout): layout as layout
6963         (defaultLayout): layout as layout
6964
6965         * lyxlayout_ptr_fwd.h: new file
6966
6967         * lyxlayout.C (Read): layout as layout
6968
6969         * lyx_cb.C (MenuInsertLabel): layout as layout
6970
6971         * bufferlist.C (newFile): layout as layout
6972
6973         * buffer.C (readLyXformat2): layout as layout
6974         (parseSingleLyXformat2Token): layout as layout
6975         (insertStringAsLines): layout as layout
6976         (asciiParagraph): layout as layout
6977         (latexParagraphs): layout as layout
6978         (makeLinuxDocFile): layout as layout
6979         (simpleLinuxDocOnePar): layout as layout
6980         (makeDocBookFile): layout as layout
6981         (simpleDocBookOnePar): layout as layout
6982         (getLists): layout as layout
6983
6984         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6985
6986         * CutAndPaste.C (cutSelection): layout as layout
6987         (pasteSelection): layout as layout
6988         (SwitchLayoutsBetweenClasses): layout as layout
6989
6990         * BufferView_pimpl.C (Dispatch): layout as layout
6991         (smartQuote): layout as layout
6992
6993         * BufferView2.C (unlockInset): layout as layout
6994
6995 2002-06-24  André Pönitz <poenitz@gmx.net>
6996
6997         * lyxfunc.C: fix #487
6998
6999 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7000
7001         * lyxrc.h:
7002         * lyxrc.C:
7003         * lyxfunc.C: remove display_shortcuts, show_banner
7004
7005 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7006
7007         * Buffer_pimpl.C: oops, update on resize
7008
7009 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7010
7011         * buffer.C:
7012         * converter.C:
7013         * exporter.C:
7014         * lyxfunc.C:
7015         * BufferView.h:
7016         * BufferView.C: use repaint()
7017
7018         * BufferView_pimpl.h:
7019         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7020           as it's a clearer description. Remove superfluous
7021           redraws.
7022
7023 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7024
7025         * text.C: fix bug 488. Not ideal, but getting
7026           getWord() to work properly for the insets that
7027           matter is more difficult ...
7028
7029 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7030
7031         * BufferView_pimpl.C:
7032         * LyXAction.C:
7033         * commandtags.h:
7034         * lyxfunc.C: remove the six million index lyxfuncs to just
7035           one, and DTRT (bug 458)
7036
7037 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7038
7039         * BufferView.h:
7040         * BufferView.C:
7041         * BufferView_pimpl.h:
7042         * BufferView_pimpl.C: clean up resize() stuff,
7043           and unnecessary updateScreen()s
7044
7045 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7046
7047         * BufferView.h:
7048         * BufferView.C:
7049         * BufferView_pimpl.h:
7050         * BufferView_pimpl.C:
7051         * lyxfind.h:
7052         * lyxfind.C:
7053         * minibuffer.C: remove focus management of workarea,
7054           not needed. Use screen's greyOut()
7055
7056 2002-06-17  Herbert Voss  <voss@lyx.org>
7057
7058         * converter.C: (convert) do not post a message, when converting
7059         fails, let the calling function decide what to do in this case
7060
7061 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7062
7063         * lyxfunc.C: tidy up a little
7064
7065 2002-06-16    <alstrup@diku.dk>
7066
7067         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7068         Got rid of FORMS_H_LOCATION include. Now we are
7069         GUII.
7070
7071 2002-06-15  LyX Development team  <lyx@rilke>
7072
7073         * buffer.[Ch] (sgmlOpenTag):
7074         (sgmlCloseTag): Added support for avoiding pernicious mixed
7075         content. Return number of lines written.
7076
7077         (makeLinuxDocFile):
7078         (makeDocBookFile): Fixed calls to sgml*Tag.
7079         Simple white space clean.
7080
7081         (simpleDocBookOnePar): Simple white space clean.
7082
7083         * tabular.[Ch] (docBook): Renamed to docbook and got another
7084         argument to related with the pernicious mixed content.
7085
7086         (docbookRow): Fixed calls for docbook inset method.
7087
7088 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7089
7090         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7091         so it's X11 independent.
7092
7093         * kb*.[Ch]: ditto.
7094
7095         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7096
7097 2002-06-15  Lyx Development team  <lyx@electronia>
7098
7099         * intl.h: Renamed getTrans to getTransManager.
7100
7101 2002-06-14  Angus Leeming  <leeming@lyx.org>
7102
7103         * Makefile.am: nuke forgotten stl_string_fwd.h.
7104
7105 2002-06-12  Angus Leeming  <leeming@lyx.org>
7106
7107         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7108
7109 2002-06-13  Angus Leeming  <leeming@lyx.org>
7110
7111         * LaTeX.C:
7112         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7113
7114 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7115
7116         * kbmap.C (getiso): add support for cyrillic and greek
7117
7118 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7119
7120         * BufferView.h:
7121         * BufferView.C:
7122         * BufferView_pimpl.h:
7123         * BufferView_pimpl.C: move bogus scrolling logic
7124           to xforms
7125
7126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7127
7128         * lyxfunc.C:
7129         * BufferView_pimpl.C: view->resize() change
7130
7131 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7132
7133         * BufferView_pimpl.C: topCursorVisible
7134           prototype change
7135
7136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7137
7138         * Makefile.am:
7139         * lyx_gui.h:
7140         * lyx_gui.C: move to frontends/
7141
7142         * main.C:
7143         * lyx_main.h:
7144         * lyx_main.C: changes from above
7145
7146 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7147
7148         * intl.C:
7149         * intl.h:
7150         * kbmap.C:
7151         * kbsequence.C:
7152         * lyx_cb.C:
7153         * lyx_main.C: minor tidy
7154
7155 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7156
7157         * BufferView_pimpl.h:
7158         * BufferView_pimpl.C:
7159         * BufferView.h:
7160         * BufferView.C: make painter() const,
7161           remove dead code
7162
7163         * BufferView2.C: use screen() accessor
7164
7165         * lyx_main.h:
7166         * lyx_main.C: some minor cleanup
7167
7168 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7169
7170         * BufferView_pimpl.h:
7171         * BufferView_pimpl.C: remove enter/leaveView,
7172           use workHeight()
7173
7174 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7175
7176         * BufferView.h:
7177         * BufferView.C:
7178         * BufferView2.C:
7179         * BufferView_pimpl.h:
7180         * BufferView_pimpl.C: only construct screen once,
7181           rename
7182
7183         * lyxrc.C: remove pointless comment
7184
7185 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7186
7187         * BufferView.h:
7188         * BufferView.C: remove active() and belowMouse()
7189
7190         * BufferView_pimpl.h:
7191         * BufferView_pimpl.C: use workarea() not workarea_,
7192           and make it use a scoped_ptr instead
7193
7194 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7195
7196         * lyx_gui.C: add debug message on BadWindow
7197
7198 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7199
7200         * sp_spell.C: fdopen is not part of the C++ standard.
7201
7202         * paragraph.C (InsetIterator): use >= instead of ==
7203
7204 2002-06-07  Angus Leeming  <leeming@lyx.org>
7205
7206         Fixes needed to compile with Compaq cxx 6.5.
7207         * BufferView_pimpl.C:
7208         * DepTable.C:
7209         * buffer.C:
7210         * converter.C:
7211         * encoding.C:
7212         * lyx_gui.C:
7213         * lyx_main.C:
7214         * lyxtextclasslist.C:
7215         * minibuffer.C:
7216         * sp_spell.C:
7217         * tabular_funcs.C:
7218         * vc-backend.C:
7219         all c-library variables have been moved into namespace std. Wrap
7220         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7221
7222         * lyxlength.C:
7223         * tabular-old.C:
7224         * tabular.C:
7225         Add a using std::abs declaration.
7226
7227         * kbmap.h (modifier_pair):
7228         * paragraph.h (InsetTable, InsetList):
7229         * lyxfont.h (FontBits):
7230         type definition made public.
7231
7232         * bufferlist.C (emergencyWriteAll): the compiler complains that
7233         there is more than one possible lyx::class_fun template to choose from.
7234         I re-named the void specialisation as lyx::void_class_fun.
7235
7236         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7237
7238         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7239         the compiler is is unable to find tostr in write_attribute.
7240
7241 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7242
7243         * buffer.C (sgmlError): hide #warning
7244
7245 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7246
7247         * xtl/*: get rid of xtl, which is not in use anyway
7248
7249         * LyXAction.C (init):
7250         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7251         were unimplemented xtl experimentation
7252
7253 2002-06-04  André Pönitz <poenitz@gmx.net>
7254
7255         * lyxfunc.C: disable array operation on simple formulae
7256
7257 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7258
7259         * converter.C: constify a bit
7260
7261 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7262
7263         * lyx_gui.C: check xforms version correctly
7264
7265 2002-04-30  Herbert Voss  <voss@lyx.org>
7266
7267         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7268         "keep" option
7269
7270 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7271
7272         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7273           attempt to register it with a VCS)
7274
7275 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7276
7277         * lyx_main.C (init): honor variables LYX_DIR_13x and
7278         LYX_USERDIR_13x
7279
7280 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7281
7282         * buffer.h:
7283         * buffer.C:
7284         * lyx_main.C: fix a crash on bad command line,
7285           and give a useful exit status on error
7286
7287         * lyxfunc.C (doImport): allow -i lyx to work
7288
7289 2002-03-30  André Pönitz <poenitz@gmx.net>
7290
7291         * lyxfunc.C: mathed font changes
7292
7293 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7294
7295         * LaTeX.C:
7296         * importer.h:
7297         * importer.C:
7298         * lyx_sty.h:
7299         * lyx_sty.C:
7300         * lyxlex.C:
7301         * lyxrow.h:
7302         * lyxtext.h:
7303         * paragraph.h:
7304         * paragraph.C:
7305         * texrow.h:
7306         * texrow.C:
7307         * text.C:
7308         * trans_mgr.h: srcdocs, and some minor cleanups
7309
7310 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7311
7312         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7313         call getFont all the time)
7314
7315 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7316
7317         * switch from SigC signals to boost::signals
7318
7319 2002-05-29  André Pönitz <poenitz@gmx.net>
7320
7321         * paragraph_pimpl.C (getChar): don't call size() too often...
7322
7323 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7324
7325         * paragraph_pimpl.C (insertChar): do not try to update tables when
7326         appending (pos == size())
7327
7328         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7329         in order to reduce drastically the number of comparisons needed to
7330         parse a large document
7331
7332 2002-05-29  André Pönitz <poenitz@gmx.net>
7333
7334         * text.C:
7335         * text2.C:
7336         * lyxtextclass.C:
7337         * sp_pspell.h:
7338         * textclasslist.[Ch]:
7339         * sp_ispell.h: whitespace change
7340
7341 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7342
7343         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7344         lyxaction directly now.
7345
7346 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7347
7348         * trans.C:
7349         * lyxfont.C:
7350         * lyxvc.C: remove unused headers
7351
7352 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7353
7354         * Makefile.am:
7355         * buffer.h:
7356         * undostack.h:
7357         * undostack.C:
7358         * undo_funcs.h:
7359         * undo_funcs.C: some cleanups. Use shared_ptr
7360           and a template for the undo stacks.
7361
7362 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7363
7364         * BufferView_pimpl.h:
7365         * BufferView_pimpl.C:
7366         * kbmap.h:
7367         * kbmap.C:
7368         * kbsequence.h:
7369         * kbsequence.C:
7370         * lyxfunc.h:
7371         * lyxfunc.C:
7372         * text2.C: use key_state/mouse_state
7373
7374 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7375
7376         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7377         and LSubstring
7378
7379         * chset.C: change include order
7380         (loadFile): use boost regex and get rid of LRegex and LSubstring
7381
7382         * Makefile.am (BOOST_LIBS): new variable
7383         (lyx_LDADD): use it
7384
7385         * LaTeX.C: change include order.
7386         (scanAuxFile): use boost regex and get rid of LRegex and
7387         LSubstring
7388         (deplog): ditto
7389
7390 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7391
7392         * ColorHandler.h:
7393         * ColorHandler.C:
7394         * FontInfo.h:
7395         * FontInfo.C: moved to frontends/xforms/
7396
7397         * FontLoader.h:
7398         * FontLoader.C: moved into frontends for GUIIzation
7399
7400         * Makefile.am:
7401         * lyx_gui.C:
7402         * lyxfont.C:
7403         * lyxfunc.C: changes from above
7404
7405 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7406
7407         * LColor.C: remove spurious X include
7408
7409         * BufferView_pimpl.C:
7410         * Makefile.am:
7411         * font.h:
7412         * font.C:
7413         * text.C:
7414         * text2.C: move font metrics to frontends/
7415
7416 2002-05-24  Juergen Vigna  <jug@sad.it>
7417
7418         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7419         setting the undo_cursor.
7420
7421         * ParagraphParameters.h: include local includes first.
7422
7423 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * BufferView_pimpl.C:
7426         * BufferView_pimpl.h:
7427         * Makefile.am:
7428         * WorkArea.h:
7429         * WorkArea.C:
7430         * screen.C: move WorkArea into frontends/
7431
7432         * lyxscreen.h:
7433         * screen.C:
7434         * text.C:
7435         * BufferView.C:
7436         * BufferView2.C: move LyXScreen into frontends/
7437
7438         * lyxlookup.h:
7439         * lyxlookup.C:
7440         * lyx_gui.C: move lyxlookup into frontends/xforms/
7441
7442 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7443
7444         * BufferView2.C:
7445         * BufferView_pimpl.C:
7446         * FontLoader.C:
7447         * LyXView.h:
7448         * LyXView.C:
7449         * Makefile.am:
7450         * WorkArea.C:
7451         * XFormsView.h:
7452         * XFormsView.C:
7453         * buffer.C:
7454         * bufferlist.C:
7455         * bufferview_funcs.C:
7456         * converter.C:
7457         * importer.C:
7458         * lyx_cb.C:
7459         * lyx_gui.C:
7460         * lyx_main.C:
7461         * lyx_find.C:
7462         * lyxfunc.C:
7463         * lyxvc.C:
7464         * minibuffer.C:
7465         * text.C:
7466         * text2.C:
7467         * trans.C:
7468         * vc-backend.C: move LyX/XFormsView into frontends/
7469
7470 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7471
7472         * Makefile.am:
7473         * PainterBase.C:
7474         * PainterBase.h:
7475         * Painter.C:
7476         * Painter.h:
7477         * WorkArea.C:
7478         * WorkArea.h:
7479         * screen.C:
7480         * tabular.C:
7481         * text.C:
7482         * text2.C: move Painter to frontends/
7483
7484 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7485
7486         * buffer.C: comment out some some code that depend upon lyx_format
7487         < 220
7488
7489         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7490         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7491
7492         * buffer.h (NO_COMPABILITY): turn off compability
7493
7494         * ColorHandler.C: include scoped_array.hpp
7495
7496         * font.C: Use more specific smart_ptr header.
7497         * Painter.C: ditto
7498         * gettext.C: ditto
7499         * ShareContainer.h: ditto
7500         * lyx_main.h: ditto
7501         * kbmap.h: ditto
7502         * FontInfo.h: ditto
7503         * BufferView_pimpl.h: ditto
7504         * ColorHandler.h: ditto
7505
7506         * kbmap.C (defkey): change call to shared_ptr::reset
7507
7508 2002-05-21  Juergen Vigna  <jug@sad.it>
7509
7510         * buffer.C (insertErtContents): fix to insert ert asis if it is
7511         non empty. Skip it completely if it contains only whitespaces.
7512
7513 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * BufferView_pimpl.C:
7516         * BufferView2.C: clear selection on paste (bug 393)
7517
7518 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7519
7520         * DepTable.C: include ctime
7521
7522 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7523
7524         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7525
7526 2002-05-14  Juergen Vigna  <jug@sad.it>
7527
7528         * text.C (breakParagraph): fixed function to honor the keepempty
7529         layout in the right maner and also to permit the right breaking
7530         algorithm on empty or non empyt keepempty paragraphs.
7531
7532         * paragraph.C (breakParagraph): we have to check also if the par
7533         is really empty (!size()) for isempty otherwise we do the wrong
7534         paragraph break.
7535
7536 2002-05-10  Juergen Vigna  <jug@sad.it>
7537
7538         * buffer.[Ch] : The following are only changes to the ert
7539         compatibility read reading old LaTeX layout and font stuff and
7540         convert it to ERTInsets.
7541
7542         * buffer.h: added isErtInset().
7543
7544         * buffer.C (struct ErtComp): add a fromlayout bool to check
7545         if we're inside a LaTeX layout.
7546         (isErtInset): new helper function.
7547         (insertErtContents): look for other ert insets before this one
7548         and insert the contents there, so that we don't have subsequent
7549         ERT insets with nothing between them. This way we create only one
7550         inset with multiple paragraphs. Also check if we don't insert only
7551         spaces ' ' as they are ignored anyway afterwards in the .tex file
7552         so if we have only spaces we will ignore this latex part in the
7553         new file.
7554         (parseSingleLyXformat2Token \\layout): better compatibility when
7555         reading layout-latex stuff.
7556         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7557         language tag.
7558         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7559         stuff after reading the inset only get the information back from
7560         the stack.
7561
7562 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7563
7564         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7565
7566         * LaTeXFeatures.C (getBabelOptions): New method.
7567
7568 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7569
7570         * BufferView_pimpl.C (Dispatch): work around missing argument for
7571         'layout'
7572
7573 2002-05-08  Juergen Vigna  <jug@sad.it>
7574
7575         * text.C (leftMargin): handle paragraph leftindent.
7576
7577         * paragraph.C (writeFile): write the new \\leftindent tag.
7578         (validate): handle leftindent code.
7579         (TeXEnvironment): handle paragraphleftindent code again.
7580
7581         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7582
7583         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7584         for paragrap_extra indent code and new token \\leftindent.
7585         (latexParagraphs): handle the leftindent as environment.
7586
7587         * ParameterStruct.h: added leftindent support.
7588
7589         * ParagraphParameters.C (leftIndent): added support functions for
7590         the paragraph left indent.
7591
7592         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7593         more appropriate.
7594
7595 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7596
7597         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7598         inside insetERT.
7599
7600         * text.C (computeBidiTables): No bidi in insetERT.
7601
7602         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7603         in RTL documents.
7604
7605 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7606
7607         * version.C.in: pre 5
7608
7609 2002-05-02  José Matos  <jamatos@fep.up.pt>
7610         * buffer.C (makeDocBookFile): white space changes, add newline to
7611         command styles.
7612         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7613
7614         * tabular.C (docBook): fix typo.
7615
7616 2002-05-03  Juergen Vigna  <jug@sad.it>
7617
7618         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7619         change in LyXText as we can not be sure it was not freed.
7620         (drawOneRow): remove unused code.
7621
7622         * text.C (drawInset): redo the calculation of the need_break_row as
7623         it could have a row which was already freed.
7624         (draw): look at the return value of drawInset and return false if
7625         it also returned false.
7626         (paintRowText): look at the return value of draw and return false if
7627         it also returned false.
7628
7629         * lyxtext.h: added bool return type to drawInset() and draw() so that
7630         if we have a change in the row so that the rowbreak has to be redone
7631         we abort drawing as it will be called again.
7632
7633 2002-05-02  Juergen Vigna  <jug@sad.it>
7634
7635         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7636         a change in the maintext also if we're inside an inset.
7637         (Dispatch): set the cursor again after a break line and after the
7638         screen has been updated as it could be we're in a different row.
7639
7640         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7641         to set the cursor behind the pargraph with > size().
7642         (setCursor): check also for the same paragraph when checking where
7643         to put the cursor if we have a NFR inset.
7644
7645         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7646         parts of layout read further up as it still was in the wrong
7647         position.
7648
7649 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7650
7651         * screen.C (drawFromTo): change sine fullRebreak always return
7652         true.
7653
7654         * buffer.C (parseSingleLyXformat2Token): reindent some
7655
7656         * BufferView_pimpl.C (update): change since fullRebreak always
7657         return true.
7658         (Dispatch): git rid of the last hardcoded "Standard"s.
7659
7660 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7661
7662         * text2.[Ch] (fullRebreak): make it return void now that we always
7663         returned true.
7664
7665 2002-04-30  Juergen Vigna  <jug@sad.it>
7666
7667         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7668         ert compatibility check for "latex" layout.
7669
7670 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7671
7672         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7673         minipages: use col% instead of p%, and also use the current font.
7674         (makeLaTeXFile): Fix use babel condition.
7675         (parseSingleLyXformat2Token): Correct font when reading old floats.
7676
7677 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7678
7679         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7680         inserting list of floats.
7681
7682 2002-04-25  Herbert Voss  <voss@lyx.org>
7683
7684         * MenuBackend.C (expand): don't add the graphics extensions to the
7685         export menu
7686
7687 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7688
7689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7690         non-existing layout, do not complain if it was the default layout
7691         of the original class (bug #342)
7692
7693 2002-04-24  Juergen Vigna  <jug@sad.it>
7694
7695         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7696         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7697
7698 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7699
7700         * buffer.C (getBibkeyList): If using \bibliography, return the
7701         option field with the reference itself. Enables us to provide natbib
7702         support when using \bibliography.
7703
7704 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7705
7706         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7707
7708         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7709         natbib is provided by the LaTeX class.
7710
7711 2002-04-23  Juergen Vigna  <jug@sad.it>
7712
7713         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7714         Wakeup functions.
7715
7716         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7717
7718 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7719
7720         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7721
7722         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7723         ensuremath around textordmasculine, textordfeminine and
7724         textdegree.
7725
7726 2002-04-19  Juergen Vigna  <jug@sad.it>
7727
7728         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7729         reinitializing the buffer otherwise row-dimensions may be wrong.
7730         (update): reset also the selection cursors if they do exits otherwise
7731         their x/y positions may be wrong.
7732
7733         * text2.C (cursorDown): don't enter the inset if we came from a row
7734         above and are one row over the inset.
7735
7736         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7737         really leaving an inset.
7738
7739 2002-04-18  Juergen Vigna  <jug@sad.it>
7740
7741         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7742         of the selected paragraph does not have the selected layout also if
7743         the last one had!
7744
7745         * text2.C (setLayout): fixed bug which did not change last selected
7746         paragraph.
7747
7748         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7749         changed the read and substituted \\end_float with \\end_inset!
7750
7751         * BufferView_pimpl.C (cursorPrevious):
7752         (cursorNext): fixed to make it work with rows heigher than the work
7753         area without moving the cursor only the draw of the row.
7754         (workAreaMotionNotify): fix jumping over high rows.
7755
7756 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7757
7758         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7759         Ressler.
7760
7761 2002-04-16  Juergen Vigna  <jug@sad.it>
7762
7763         * text2.C (setCursor): set also the irow().
7764         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7765         (cursorUp):
7766         (cursorDown): support for locking an inset if the x_fix value goes
7767         inside it. That way I can transverse insets too with cursor up/down.
7768
7769         * lyxrow.h: added irow helper function same as other (i) functions.
7770
7771         * BufferView_pimpl.C (cursorPrevious):
7772         (cursorNext): fixed for insets!
7773
7774 2002-04-15  Juergen Vigna  <jug@sad.it>
7775
7776         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7777         position otherwise it is wrong in some cases.
7778
7779         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7780         inside the inset before the call.
7781
7782 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7783
7784         * buffer.[Ch] (getBibkeyList): make it const.
7785
7786 2002-04-12  Juergen Vigna  <jug@sad.it>
7787
7788         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7789
7790         * text2.C (getCursorX): new helper function
7791         (setCursor): compute also ix_
7792         (setCursorFromCoordinates): set also ix.
7793
7794         * lyxcursor.h: added ix_ and helper functions.
7795
7796         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7797
7798         * buffer.C (insertStringAsLines): dont break paragraph if the this
7799         paragraph is inside an inset which does not permit it!
7800
7801         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7802         also with no chars on this paragraph.
7803         (paintRowText): only paint stuff if it's inside the workarea!
7804
7805         * paragraph.C (breakParagraph): honor keepempty flag and break the
7806         paragraph always below not above.
7807
7808         * BufferView2.C (unlockInset): update the paragraph layout on inset
7809         unlock as we changed paragraph in such a case.
7810
7811         * lyxfind.C (LyXFind): clear the former selection if not found!
7812
7813         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7814         again called in insertChar().
7815
7816         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7817         an inset which uses the whole row!
7818         (rightMargin): ditto.
7819         (insertChar): force a rebreak if we inserted an inset!
7820
7821 2002-03-28  Herbert Voss  <voss@lyx.org>
7822
7823         * lyxlength.[Ch]: add inBP() to get the right PS-point
7824         units (BigPoint). With inPixels we have rounding errors
7825
7826 2002-04-11  Juergen Vigna  <jug@sad.it>
7827
7828         * text2.C (setCursorFromCoordinates): set iy to the right value.
7829         (setCursor): add check if row->previous exists!
7830
7831         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7832         an old float_type as this was the case in the old code!
7833
7834         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7835
7836         * BufferView2.C (showLockedInsetCursor): use iy
7837         (fitLockedInsetCursor): ditto
7838
7839         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7840         locked insets as there we have the right value now.
7841
7842         * lyxcursor.C: added iy_ variable and iy functions to set to the
7843         baseline of cursor-y of the locked inset.
7844
7845         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7846         (setCursor): fixed for insets which need a full row.
7847
7848         * text.C (rowLastPrintable): don't ignore the last space when before
7849         an inset which needs a full row.
7850         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7851         as last character of a row when before a inset which needs a full row.
7852
7853 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7854
7855         * version.C.in: update date
7856
7857         * text2.C (fullRebreak): try to always return true and see what
7858         happens...
7859
7860 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7861
7862         * MenuBackend.C (expand): use Floating::listName
7863
7864         * FloatList.C (FloatList): add listName argument to the built-in
7865         floats
7866
7867         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7868         text associated with the float.
7869
7870 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7871
7872         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7873
7874 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7875
7876         * ShareContainer.h: add a couple of missing typenames.
7877
7878 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7879
7880         * lyxrc.C (getDescription): use _() correctly rather than N_().
7881
7882 2002-03-28  Herbert Voss  <voss@lyx.org>
7883
7884         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7885         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7886
7887 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7888
7889         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7890         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7891
7892 2002-03-29  Juergen Vigna  <jug@sad.it>
7893
7894         * lyxfunc.C (dispatch): add a missing fitCursor call.
7895
7896         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7897         it was scrolled by a cursor move, so return the bool status.
7898
7899         * BufferView.C (fitCursor): return the bool flag also to the outside
7900         world as this is needed.
7901
7902         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7903
7904         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7905         call the edit() as it is not needed (and wrong) IMO.
7906         (workAreaButtonPress): set the screen_first variable before evt.
7907         unlock the inset as this may change screen_first and then we have
7908         a wrong y position for the click!
7909
7910 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * MenuBackend.C (expand): another translation that I missed
7913
7914 2002-03-28  Juergen Vigna  <jug@sad.it>
7915
7916         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7917
7918         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7919
7920 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7921
7922         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7923
7924         * MenuBackend.C (expand): fix export/view/update when there is no
7925         document open.
7926
7927 2002-03-27  Herbert Voss  <voss@lyx.org>
7928
7929         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7930         and text%
7931
7932 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7933
7934         * bufferview_funcs.C (currentState): only show paragraph number
7935         for is DEVEL_VERSION is set.
7936
7937         * lyxfunc.C (dispatch): put warning in INFO channel
7938
7939         * MenuBackend.C (expand): translate the name of floats
7940
7941         * FloatList.C (FloatList): mark the float names for translation
7942
7943         * converter.C (convert): use LibScriptSearch
7944
7945 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7946
7947         * MenuBackend.C (defaults): fix default menu (we might as well get
7948         rid of it...)
7949
7950 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7951
7952         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7953         directory.
7954
7955 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7956
7957         * lyxvc.C: reorder includes.
7958
7959 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7962           properly
7963
7964 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7965
7966         * CutAndPaste.C: change layouts earlier on paste
7967           to avoid crashing when calling getFont()
7968
7969 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7970
7971         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7972         irritating #error.
7973
7974 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7975
7976         * WorkArea.C: remove 'Pending' debug message.
7977
7978         * most files: ws cleanup
7979
7980         * buffer.[Ch]: ws changes
7981
7982         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7983
7984 2002-03-21  Juergen Vigna  <jug@sad.it>
7985
7986         * tabular.C (SetMultiColumn): collapse also the contents of the
7987         cells and set the last border right. Added a Buffer const * param.
7988
7989 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7990
7991         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7992         linking or not.
7993
7994 2002-03-19  Juergen Vigna  <jug@sad.it>
7995
7996         * text2.C (clearSelection): reset also xsel_cache.
7997
7998         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7999         where it needs to be called (John tells us to do so too :)
8000         (selectionLost): reset sel_cache.
8001
8002         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8003
8004 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8005
8006         * text2.C (setCursorIntern): put debuging code in INSETS channel
8007
8008 2002-03-19  André Pönitz <poenitz@gmx.net>
8009
8010         * lyxfunc.C: tiny whitespace change
8011
8012 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8013
8014         * ToolbarDefaults.C (init):
8015         * LyXAction.C (init):
8016         * commandtags.h:
8017         * BufferView_pimpl.C (Dispatch):
8018         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8019
8020 2002-03-19  Allan Rae  <rae@lyx.org>
8021
8022         * exporter.C (Export): removeAutoInsets before doing anything else.
8023         While I've just introduced a dependency on BufferView this really is
8024         the best place to clean the buffer otherwise you need to cleanup in
8025         a dozen places before calling export or cleanup in a dozen functions
8026         that export calls.
8027
8028         * converter.C (runLaTeX):
8029         (scanLog): Better handling of removeAutoInsets and screen updates.
8030
8031         * lyxfunc.C (dispatch): small whitespace changes
8032
8033 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8034
8035         * WorkArea.C (C_WorkAreaEvent): return a value.
8036         (event_cb): return 1 if we handled the event, 0 otherwise.
8037
8038         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8039
8040 2002-03-18  Juergen Vigna  <jug@sad.it>
8041
8042         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8043         (GetAdditionalWidth): ditto.
8044         (RightLine): ditto.
8045         (LeftLine): ditto.
8046
8047         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8048         inset if we're there actually (probably not used right now but this
8049         is the direction to go for unifying code).
8050         (paste): disable code to clear the selection.
8051
8052         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8053         inside an InsetText and move the check further up as it is in the
8054         wrong place.
8055
8056         * text2.C (pasteSelection): set a selection over the pasted text.
8057
8058 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8059
8060         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8061         and libgraphics to build on Cygwin.
8062
8063 2002-03-15  Juergen Vigna  <jug@sad.it>
8064
8065         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8066         inserting an Inset into the paragraph. I know this is not the best
8067         fix but we already use current_view in CutAndPaste so we will remove
8068         all of it's using at the same time.
8069
8070         * buffer.C (sgmlError): deactivated function till it is rewritten in
8071         the right mode, now it can create problems.
8072
8073         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8074         before accessing it.
8075
8076 2002-03-14  Juergen Vigna  <jug@sad.it>
8077
8078         * undo_funcs.C (textHandleUndo): do the right thing when updating
8079         the inset after the undo/redo.
8080
8081         * text2.C (setCursor): just some testcode for #44 not ready yet.
8082
8083         * undo_funcs.C (textHandleUndo): set the next() and previous()
8084         pointers of the paragraph to 0 before deleting otherwise we have
8085         problems with the Paragraph::[destructor].
8086
8087         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8088         on a paragraph insertion.
8089
8090 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8091
8092         * buffer.C (asciiParagraph): use += operator for char append to
8093         string.
8094
8095         * paragraph.C (getFontSettings): compare >= not just >
8096         (highestFontInRange): ditto
8097         (setFont): ditto
8098
8099 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8100
8101         * paragraph.C: change several algorithm to be more appripriate for
8102         the problem domain. This is lookip in FontList and in the InsetList.
8103
8104 2002-03-13  André Pönitz <poenitz@gmx.net>
8105
8106         * commandtags.h:
8107         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8108
8109 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8110
8111         * commandtags.h:
8112         * LyXAction.C:
8113         * lyxfunc.C:
8114         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8115
8116 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8117
8118         * Painter.C (display): anon helper function, adjust code for this
8119         change.
8120         (pixmap): remove function.
8121
8122         * Painter.h: remove private display variable.
8123
8124         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8125
8126 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8127
8128         * WorkArea.[Ch]: remove figinset_canvas cruft.
8129
8130 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8131
8132         * lyxtextclass.C (operator): add one item cache optimization.
8133
8134         * bufferlist.h: doxy changes
8135
8136         * bufferlist.C: ws changes
8137
8138         * DepTable.[Ch] (ext_exist): place const in the right spot.
8139
8140         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8141         call resizeInsets.
8142         (workAreaExpose): call resizeInsets when the with BufferView changes.
8143         (Dispatch): adjust for protectedBlank removal
8144         (specialChar): call updateInset if the insert went ok.
8145
8146         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8147         specialChar instead.
8148
8149         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8150
8151         * BufferView.h: doxy change
8152
8153         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8154
8155         * lyxtextclass.C (operator[]): remove non-const version
8156         (defaultLayout): remove non-const version
8157
8158 2002-03-12  Juergen Vigna  <jug@sad.it>
8159
8160         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8161         did resize the LyXText too.
8162
8163         * buffer.C (readLyXformat2): set layout information on newly allocated
8164         paragraphs.
8165
8166         * tabular.C (OldFormatRead): set layout information on the paragraph.
8167
8168 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8169
8170         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8171
8172 2002-03-11  Juergen Vigna  <jug@sad.it>
8173
8174         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8175         plainly wrong.
8176         (resizeCurrentBuffer): force also the insets to resize themselfes.
8177         (moveCursorUpdate): fixed up for InsetText.
8178
8179 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8180
8181         * commandtags.h:
8182         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8183         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8184         value of Dialogs::tooltipsEnabled().
8185         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8186
8187 2002-03-08  Juergen Vigna  <jug@sad.it>
8188
8189         * BufferView_pimpl.C (updateInset): update inset inside inset also
8190         if it isn't inside theLockingInset().
8191
8192 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8193
8194         * buffer.C (asciiParagraph): redo some of the word and line length
8195         handling.
8196         (getLists): look for Caption instead of caption.
8197
8198 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8199
8200         * buffer.C (Buffer): initialize niceFile to true
8201         (makeLaTeXFile):
8202         (makeLinuxDocFile):
8203         (makeDocBookFile): make sure niceFile is true on exit
8204
8205 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8206
8207         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8208
8209 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8210
8211         * LyXSendto.C: remove.
8212         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8213         * lyx_gui.C: remove now-redundant comment.
8214         * ColorHandler.h: remove forward declaration of class WorkArea.
8215         * lyxfunc.C: remove #include "WorkArea.h".
8216
8217 2002-03-07  Juergen Vigna  <jug@sad.it>
8218
8219         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8220         got moved away with the DEPM and also set the inset_owner always
8221         right which before could have been omitted.
8222
8223 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8226         wanted layout is not found.
8227
8228 2002-03-07  Juergen Vigna  <jug@sad.it>
8229
8230         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8231
8232 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * paragraph.C (breakParagraph): use default layout not layout of
8235         prev paragraph.
8236         (Paragraph): clear ParagraphParameters.
8237
8238 2002-03-06  Juergen Vigna  <jug@sad.it>
8239
8240         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8241         otherwise it would not be a valid lenght. Fixed a special case in
8242         the minipage compatibility read where we end the document with a
8243         minipage.
8244
8245         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8246         was set as it could be 0 for InsetTexts first entry.
8247
8248 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8249
8250         * paragraph.C (writeFile): if layout is empty write out
8251         defaultLayoutName().
8252
8253         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8254         file without named layout we set layout to defaultLayoutName().
8255
8256 2002-03-06  Juergen Vigna  <jug@sad.it>
8257
8258         * CutAndPaste.C (copySelection): set layout for new paragraph.
8259
8260         * text.C (prepareToPrint): leave ERT inset left aligned
8261         (leftMargin): don't indent paragraphs inside ERT insets
8262
8263 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8264
8265         * paragraph.C (breakParagraph): dont call clear do the work manually
8266
8267         * paragraph.[Ch] (clear): remove function
8268
8269 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8270
8271         * paragraph.C (Paragraph): dont call clear, the work has already
8272         been done.
8273
8274         * lyxtextclass.C (operator): assert if n is empty
8275
8276         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8277         work manually instead.
8278
8279 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8280
8281         * BufferView_pimpl.C: protect selectionLost against text == 0
8282
8283 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8284
8285         * text.C (breakParagraph): fix a setting layout to '0' problem.
8286
8287 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8288
8289         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8290         final location of file, for the included files, and graphics.
8291
8292 2002-03-05  Juergen Vigna  <jug@sad.it>
8293
8294         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8295
8296 2002-03-04  Juergen Vigna  <jug@sad.it>
8297
8298         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8299
8300         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8301         last column of multicolumn cells.
8302         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8303
8304 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8305
8306         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8307         file if it doesn't go to a temporary file.
8308
8309         * buffer.C (sgmlOpenTag):
8310         (sgmlCloseTag):  remove extra newline insertion.
8311
8312 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8313
8314         * text.C (getRowNearY): comment out debug msg
8315
8316 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * text2.C: first -> first_y
8319
8320         * text.C (getRowNearY): add some attemts at a possible
8321         optimization, not working.
8322
8323         * tabular.[Ch]: add BufferParams to several function so that newly
8324         created paragraph can be initialized to he default layotu for the
8325         buffers textclass.
8326
8327         * tabular-old.C (ReadOld): add buf->params to call of Init
8328
8329         * screen.C: rename text->first to text->first_y
8330
8331         * paragraph.C (breakParagraph): always set layout in the broken
8332         paragraph
8333
8334         * lyxtextclass.C (Read): remove lowercase
8335         (hasLayout): ditto
8336         (operator): ditto
8337         (delete_layout): ditto
8338
8339         * lyxtext.h: rename first -> first_y
8340
8341         * lyxlayout.C (Read): remove lowercase
8342         (name): ditto
8343         (setName): ditto
8344         (obsoleted_by): ditto
8345
8346         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8347
8348         * buffer.C (insertErtContents): add params are to InsetERT
8349         (parseSingleLyXformat2Token): add code to check if a paragraphs
8350         layout really exist.
8351         (parseSingleLyXformat2Token): add params to several inset
8352         constructors
8353         (asciiParagraph): remove lowercase, do the layout comparisons with
8354         no_case
8355
8356         * BufferView_pimpl.C (cursorNext): first -> first_y
8357         (resizeCurrentBuffer): first -> first_y
8358         (updateScrollbar): first -> first_y
8359         (scrollCB): first -> first_y
8360         (workAreaMotionNotify): first -> first_y
8361         (workAreaButtonPress): first -> first_y
8362         (checkInsetHit): first -> first_y
8363         (cursorPrevious): first -> first_y
8364         (cursorNext): first -> first_y
8365         (Dispatch): add buffer_->params to severl inset contructors
8366
8367 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8368
8369         * lyxlayout.C (Read): remove some debug info that I forgot.
8370
8371         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8372         clean up the code slightly.
8373         (makeLinuxDocFile): ditto
8374         (makeDocBookFile): ditto
8375
8376         * text2.C: layout as string
8377
8378         * text.C: layout as string
8379
8380         * paragraph_pimpl.C: layout as string
8381
8382         * paragraph.[Ch]: layout as string
8383
8384         * lyxtextclasslist.[Ch]: layout as string
8385
8386         * lyxtextclass.[Ch]: layout as string
8387
8388         * lyxtext.h: layout as string
8389
8390         * lyxlayout.[Ch]: layout as string
8391
8392         * lyx_cb.C: layout as string
8393
8394         * bufferview_funcs.C: layout as string
8395
8396         * bufferparams.C: layout as string
8397
8398         * buffer.C: layout as string
8399
8400         * LyXView.[Ch]: layout as string
8401
8402         * LaTeXFeatures.[Ch]: layout as string
8403
8404         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8405
8406         * BufferView_pimpl.C: change current_layout to string, remove
8407         lyx::layout_type.
8408         (Dispatch):
8409         (smartQuote):
8410         (insertInset):
8411         (workAreaButtonRelease): layout as string
8412
8413         * BufferView2.C (unlockInset): adjust
8414
8415         * vspace.C (asLatexCommand): use an explict temp variable.
8416
8417 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8418
8419         * Makefile.am: use FRONTEND_*
8420
8421 2002-03-01  Juergen Vigna  <jug@sad.it>
8422
8423         * tabular.C (SetWidthOfMulticolCell): changed to something better
8424         I hope but still work in progress.
8425         (recalculateMulticolumnsOfColumn): renamed function from
8426         recalculateMulticolCells as it is more appropriate now.
8427         (SetWidthOfCell): calculate multicols better.
8428
8429 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8430
8431         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8432
8433         * lyxfunc.C (processKeySym): print sequence also if it is
8434         `deleted' (complete)
8435
8436         * kbsequence.C (print): print sequence even if it is deleted
8437         (complete would be a better word, actually).
8438
8439         * lyxfunc.C (dispatch): print complete options after a prefix key
8440
8441         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8442
8443 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8444
8445         * text2.C (setCharFont): eliminate setCharFont code duplication.
8446
8447 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8448
8449         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8450         LFUN_TABULAR_FEATURE (bug #177)
8451
8452 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8453
8454         * Makefile.am: remove figure.h
8455
8456 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8457
8458         * Bufferview_pimpl.C:
8459         * CutAndPasteC:
8460         * LaTeX.C:
8461         * LyXSendto.C:
8462         * buffer.C:
8463         * bufferlist.C:
8464         * converter.C:
8465         * language.C:
8466         * lyxfunc.C:
8467         * lyxvc.C:
8468         * paragraph.C:
8469         * text.C:
8470         * text2.C: remove #include "lyx_gui_misc.h".
8471
8472         * LaTeX.C: added #include <cstdio>
8473
8474 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8475
8476         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8477         that the paragraph following this one can have.
8478
8479         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8480
8481         * vspace.C (asLatexCommand): fix bogus gcc warning
8482
8483         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8484
8485 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8486
8487         * text2.C (setLayout): get rid of redundant code
8488
8489 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8490
8491         * text2.C (incDepth): make sure depth cannot be increased beyond
8492         reasonable values.
8493
8494 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8495
8496         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8497         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8498
8499         * PainterBase.h (image):
8500         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8501         a LyXImage const *.
8502
8503 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8504
8505         * BufferView.C:
8506         * BufferView.h:
8507         * BufferView_pimpl.C:
8508         * BufferView_pimpl.h:
8509         * LaTeXFeatures.C:
8510         * LyXAction.C:
8511         * LyXView.C:
8512         * Makefile.am:
8513         * UpdateList.h:
8514         * UpdateList.C:
8515         * buffer.C:
8516         * figure.h:
8517         * figureForm.C:
8518         * figureForm.h:
8519         * figure_form.C:
8520         * figure_form.h:
8521         * lyx_cb.C:
8522         * lyx_gui.C:
8523         * lyx_gui_misc.C:
8524         * lyxfunc.C:
8525         * sp_base.h:
8526         * sp_ispell.h:
8527         * sp_pspell.h:
8528         * sp_spell.C: remove fig inset, and the crap house of
8529           cards that follows it
8530
8531 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8532
8533         * Makefile.am:
8534         * lyxserver.C:
8535         * os2_defines.h:
8536         * os2_errortable.h:
8537         * nt_defines.h: move .h into support/
8538
8539         * vms_defines.h: remove
8540
8541         * WorkArea.C: add space in debug output
8542
8543         * text2.C:
8544         * paragraph.C:
8545         * buffer.C: add WITH_WARNINGS
8546
8547         * vc-backend.h:
8548         * vc-backend.C:
8549         * bufferlist.C: s/retrive/retrieve/, add docs
8550
8551         * vspace.h:
8552         * vspace.C:
8553         * kbmap.h:
8554         * lyxlength.h:
8555         * lyxgluelength.h:
8556         * length_common.h:
8557         * chset.h:
8558         * chset.C: add docs
8559
8560         * lyxgui.C: add ID to X error handler
8561
8562         * lyxtestclass.c: fix typo
8563
8564 2002-02-26  Juergen Vigna  <jug@sad.it>
8565
8566         * tabular_funcs.C (write_attribute): changed so that some default
8567         attributes are not written at all.
8568         (getTokenValue): set default values before trying to read the
8569         value so we have the return value always set as default if we don't
8570         find the token we search for.
8571
8572         * tabular.C (Write): write bools as bools not as strings!
8573
8574 2002-02-22  Juergen Vigna  <jug@sad.it>
8575
8576         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8577         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8578
8579         * text.C (leftMargin): don't add an indent for paragraphs inside
8580         tabular cells (fix #208).
8581
8582 2002-02-21  José Matos  <jamatos@fep.up.pt>
8583
8584         * tabular.C (docBook): fixed support for long tables.
8585
8586 2002-02-20  Juergen Vigna  <jug@sad.it>
8587
8588         * text2.C (getFont): get the drawing font of the Inset if this
8589         paragraph is inside an inset (only important for InsetERT for now).
8590
8591         * buffer.C (insertErtContents): use new lanugage params in ERT
8592         constructor.
8593
8594         * CutAndPaste.C: commenting out seemingly uneeded code.
8595
8596 2002-02-19  Allan Rae  <rae@lyx.org>
8597
8598         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8599         Iterators might be simple to use but they also get invalidated.
8600         (removeAutoInsets): renamed saved cursor tracking variables and added
8601         some comments to clarify what everything does.
8602
8603 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8604
8605         * Chktex.C:
8606         * LaTeX.C:
8607         * LyXSendto.C:
8608         * converter.C:
8609         * lyx_cb.C:
8610         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8611         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8612
8613         * lyxfunc.C:
8614         * vc-backend.h: remove #include "support/syscall.h"
8615
8616         * LaTeX.C:
8617         * LyXSendto.C:
8618         * converter.C: rearrange #includes in Lars' approved fashion.
8619
8620         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8621         forward declare class Timeout in the header file.
8622
8623         * XFormsView.C: changes due to the above.
8624
8625         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8626         similar to LyXView.
8627
8628         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8629         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8630
8631 2002-02-18  José Matos  <jamatos@fep.up.pt>
8632
8633         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8634         insets contents.
8635
8636 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8637
8638         * a lot of small ws changes
8639         * add a lot of using std::XXX
8640         * use std construcs some places where approp.
8641         * use some exisint stuff from lyxfunctional where approp.
8642         * Make file changes to use partial linking (lets test this now...)
8643
8644 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8645
8646         * Chktex.C:
8647         * buffer.C:
8648         remove #include "support/syscontr.h" as it's redundant. Always has been.
8649
8650         * Chktex.C:
8651         * LaTeX.C:
8652         * LyXSendto.C:
8653         * converter.C:
8654         * lyx_cb.C:
8655         * vc-backend.C:
8656         change Systemcalls::System to Systemcalls::Wait and
8657         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8658         No change of functionality, just reflects the stripped down Systemcalls
8659         class.
8660
8661 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8662
8663         * debug.[Ch]: add a GRAPHICS type to the enum.
8664
8665 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8666
8667         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8668
8669         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8670         there is an inset.
8671
8672 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8673
8674         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8675         match the changes below.
8676
8677         * text2.C (toggleInset): if there is not editable inset at cursor
8678         position, try to see if cursor is _inside_ a collapsable inset
8679         and close it.
8680
8681 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8684         document menu has a nice checkbox
8685
8686 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8687
8688         * lyxlength.C (asLatexString): change PW to output as percent of
8689         \textwidth.
8690
8691         * lengthcommon.C: change '%' to 't%'
8692
8693         * lyxfunc.C (dispatch): a few comments from Martin
8694
8695 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8696
8697         * WorkArea.h:
8698         * WorkArea.C:
8699         * BufferView_pimpl.h:
8700         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8701           the X selection.
8702
8703 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8704
8705         * vspace.C (inPixels): fix compiler warning
8706
8707 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8708
8709         * lyxfunc.C (getStatus): fix status message for disabled commands.
8710
8711 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * BufferView_pimpl.C: fix crash on close buffer
8714         during selection (#227)
8715
8716 2002-01-27  Herbert Voss  <voss@lyx.org>
8717
8718         * buffer.C: link old Figure to new graphic inset
8719
8720 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8721
8722         * FontLoader.C (getFontinfo): Change the latex font names in order
8723         to match the names of type1inst.
8724
8725 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8726
8727         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8728
8729         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8730         (extchanged): ditto
8731         (ext_exist): ditto
8732         (remove_files_with_extension): ditto
8733         (remove_file): ditto
8734         (write): ditto
8735
8736         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8737         document is smaller than the work area height. Do not initialize
8738         static variables to 0.
8739
8740 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8741
8742         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8743
8744         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8745         LFUN_LAYOUT_PARAGRAPHS.
8746
8747         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8748         tabular. It is possible to provide a possible cell, which will
8749         typically be the actcell from the corresponding insettabular
8750
8751         * lyxfunc.C (getStatus): small cleanup; disable
8752         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8753         true
8754
8755 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8758
8759         * paragraph.C (startTeXParParams):
8760         (endTeXParParams): new methods. The LaTeX code to
8761         start/end paragraph formatting
8762         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8763         empty (fixes bug #200)
8764
8765         * vspace.C (inPixels): adapt to the change below
8766         (inPixels): [later] more cleanups (remove unused variables)
8767
8768         * lyxlength.C (inPixels): change to use a width and a height as
8769         parameter.
8770
8771 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8772
8773         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8774         Replaced with \paperwidth
8775
8776         * DepTable.C (insert): add std:: qualifier
8777
8778 2002-01-18  Allan Rae  <rae@lyx.org>
8779
8780         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8781         updated also?
8782
8783         * text.C (drawInset): Turned out I didn't know enough about how
8784         rebreaking worked.  This fixes most of the redraw problems.  I see
8785         an occasional cursor trail when a line is broken now and the cursor
8786         placement can seem out by a few pixels also after a rebreak.
8787
8788 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * buffer.C (parseSingleLyXformat2Token): update because minipage
8791         width is now a LyXLength
8792
8793         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8794
8795         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8796         math insets
8797
8798 2002-01-17  Juergen Vigna  <jug@sad.it>
8799
8800         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8801
8802         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8803         is set correctly and the inset is updated correctly.
8804
8805 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8808         the beginning of the loop.
8809
8810 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8811
8812         * lyxrc.C: improve help for use_scalable_fonts
8813
8814 2002-01-17  Allan Rae  <rae@lyx.org>
8815
8816         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8817
8818 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8819
8820         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8821         make sure to set their inset_owner to the right value (bug #171)
8822
8823 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8824
8825         * DepTable.h
8826         * DepTable.C: Implement mtime checking to reduce time spent doing
8827         CRCs.
8828
8829 2002-01-16  Juergen Vigna  <jug@sad.it>
8830
8831         * tabular.C (GetAdditionalHeight): one of error fixed.
8832
8833         * lyxrc.C (output): small fix in writing use_pspell.
8834
8835 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8836
8837         * sp_base.h: #include LString.h
8838
8839 2002-01-16  Allan Rae  <rae@lyx.org>
8840
8841         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8842         Can someone check this please?
8843
8844         * text.C (drawInset): It was possible that p.row would be removed by
8845         breakAgainOneRow upsetting a few other settings.  There may be another
8846         small tweak possible by setting need_break_row = 0 when p.row has been
8847         removed but I don't know enough about the logic here.
8848
8849 2002-01-15  Allan Rae  <rae@lyx.org>
8850
8851         * text.C (insertChar): removed conditional truism.
8852
8853         * BufferView2.C (removeAutoInsets): More tweaks.
8854         cur_par_prev could be a stray pointer.  Check for trailing empty line
8855         in case last line was cur_par and only had an error inset on it.
8856
8857 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8858
8859         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8860         absolute
8861
8862         * vc-backend.C (most methods):
8863         * exporter.C (Export):
8864         * converter.C (convert):
8865         (runLaTeX):
8866         * LyXSendto.C (SendtoApplyCB):
8867         * lyxfunc.C (dispatch):
8868         (menuNew):
8869         (open):
8870         (doImport):
8871         * lyx_cb.C (AutoSave):
8872         (InsertAsciiFile):
8873         * BufferView_pimpl.C (MenuInsertLyXFile):
8874         * buffer.C (runChktex): use Buffer::filePath().
8875
8876         * buffer.h: rename filename to filename_; rename filepath to
8877         filepath_ and make it private
8878         (filePath): new method
8879
8880         * buffer.C (writeFile): use fileName()
8881         (getLatexName):
8882
8883         * lyx_main.C (init): fix starting  of LyX when the binary is a
8884         link from so,ewhere else.
8885
8886         * minibuffer.C: include <cctype> for isprint
8887
8888 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8889
8890         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8891         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8892         name clash with InsetCollapsable's width function.
8893
8894 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8895
8896         * lastfiles.C: include <iterator>
8897
8898 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8899
8900         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8901         std::count.
8902
8903         * buffer.C (makeLaTeXFile): ditto.
8904         Also make loop operation more transparent.
8905
8906 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8907
8908         * ToolbarDefaults.C: remove trailing comma closing namespace.
8909
8910         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8911
8912         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8913         as in WorkArea.
8914
8915         * trans.C (Load): comment out unused variable, allowed.
8916
8917 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8918
8919         * minibuffer.[Ch] (append_char): new method to recieve input from the
8920         drop-down completion browser. If a key was pressed, then recieve this
8921         char and append it to the existing string.
8922         (peek_event): modify the positioning data passed to the completion
8923         browser so that it can be placed above the minibuffer rather than below.
8924 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8925
8926         * LyXAction.C (init): alloe error-next for readonly documents.
8927
8928         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8929         count.
8930
8931 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * bufferlist.C (readFile): create the buffer _after_ checking that
8934         the file exists.
8935
8936         * lyxfunc.C (verboseDispatch): fix handling of arguments
8937
8938         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8939
8940         * lyxrc.C: use string::erase() instead of initializing to "".
8941
8942
8943 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * BufferView_pimpl.h:
8946         * BufferView_pimpl.C:
8947         * WorkArea.h:
8948         * WorkArea.C:
8949         * text2.C: tell X when we have made a selection for copying
8950
8951 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * BufferView_pimpl.C (MenuInsertLyXFile):
8954         * lyxfunc.C (menuNew):
8955         (open):
8956         (doImport): add shortcuts to directory buttons
8957
8958         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8959         open a float)
8960
8961         * lyxfunc.C (setStatusMessage):
8962         (getStatusMessage): new methods
8963         (getStatus):use setStatusMessage instead of setErrorMessage
8964         (dispatch): when function is disabled, set error message here
8965         [instead of in getStatus previously]
8966
8967         * BufferView_pimpl.C (workAreaButtonRelease): update
8968         toolbar/menubar here too.
8969
8970 2002-01-13  Allan Rae  <rae@lyx.org>
8971
8972         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8973         Now seems indestructible.  Remaining task is to audit all other
8974         code affected by deleteEmptyParagraphMechanism.  One small quirk
8975         left is that an empty document with an error in the preamble can
8976         be made to report an error but no error box appears.  I don't know
8977         where it goes.
8978         (removeAutoInsets): Improved comments.
8979
8980 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8981
8982         * Thesaurus.h:
8983         * Thesaurus.C: update for Aiksaurus 0.14
8984
8985 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8986
8987         * text2.C (firstParagraph): removed member function, all uses
8988         replaces with ownerParagraph
8989         (redoParagraphs): here
8990         (updateInset): here
8991         (toggleAppendix): here
8992         * BufferView2.C (insertErrors): here
8993         (setCursorFromRow): here
8994
8995 2002-01-13  Allan Rae  <rae@lyx.org>
8996
8997         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8998         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8999         There is still a way to segfault this although you may have to do this
9000         multiple times: Have an InsetERT with an unknown command in it.
9001         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9002         <down-arrow>, <Enter> again, View->DVI, BANG!
9003
9004         * text2.C (setCursor):
9005         (deleteEmptyParagraphMechanism):
9006         * lyxtext.h (setCursor):
9007         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9008         Making use of the return value may help fix other bugs.
9009
9010 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9011
9012         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9013
9014         * LyXView.C (updateMenubar): call MenuBar::update here
9015         (updateToolbar): but not here
9016         (showState): do not update toolbar/menubar
9017
9018         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9019         should need to care about that.
9020
9021         * lyxfunc.C (verboseDispatch): simplify a bit
9022         (getStatus): have a version which takes a pseudoaction, and
9023         another which requires a (kb_action,string).
9024
9025         * LyXAction.C (retrieveActionArg): make it work also when action
9026         is not a pseudo-action.
9027         (getActionName): simplify a bit
9028         (helpText):
9029
9030 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9031
9032         * lyxfunc.C (verboseDispatch): new families of methods with
9033         several ways to specify a command and a bool to indicate whether
9034         the command name and shortcut should be displayed in minibuffer
9035         (eventually, we could extend that to a finer bitmask like
9036         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9037         (dispatch): the pristine dispatch command which just, well,
9038         dispatchs! Note it still sets its result to minibuffer; I'm not
9039         sure we want that.
9040
9041         * lyxfunc.h: remove setHintMessage
9042
9043         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9044
9045 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9046
9047         * BufferView_pimpl.C (specialChar): delete new inset if we have
9048         not been able to insert it.
9049
9050         * kbmap.C: revert to using int instead of kb_action, since all we
9051         are dealing with is pseudo-actions.
9052
9053         * LyXAction.C (searchActionArg): change to return int instead of
9054         kb_action, since the result is a pseudoaction.
9055
9056 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9057
9058         * buffer.C (insertErtContents): Fix (partially) the font bug.
9059
9060 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9061
9062         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9063         as the other one is broken on my machine!
9064
9065 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9066
9067         * commandtags.h:
9068         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9069
9070 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9071
9072         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9073         reflect their actual use. Provide compatibility code for older lyxrc
9074         files.
9075
9076         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9077         FL_NORMAL_STYLE.
9078         change names of popup font variables in line with the changes to lyxrc.C
9079
9080 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9081
9082         * buffer.C (asciiParagraph): avoid outputing a word twice after
9083         an inset.
9084
9085         * lyxrc.C (getDescription): document that document_path and
9086         template_path can be empty.
9087
9088 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * LaTeXFeatures.C (getMacros):
9091         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9092
9093         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9094
9095         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9096         getPackages.
9097         (getPackages): rename feature "floats" to "float". Use an array to
9098         iterate over 'simple' features (i.e. just a \usepackage). Add
9099         handling of "amsmath" (renamed from "amsstyle").
9100
9101 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9102
9103         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9104         features list.
9105
9106 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9107
9108         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9109         FuncStaus::FuncStatus & FuncStaus::some_method().
9110
9111 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9112
9113         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9114         of the func_satus stuff. Edited and massaged in various ways by
9115         JMarc.
9116
9117         * lyxfunc.C (getStatus): use FuncStatus
9118
9119 2002-01-08  Juergen Vigna  <jug@sad.it>
9120
9121         * text.C (nextBreakPoint): use function Inset::isChar().
9122
9123         * paragraph.C (TeXOnePar): use function
9124         Inset::forceDefaultParagraphs.
9125
9126         * buffer.C (latexParagraphs): use function
9127         Inset::forceDefaultParagraphs.
9128
9129 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9130
9131         * lyx_gui.C (init): set the style of the menu popups to
9132         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9133
9134 2002-01-07  Juergen Vigna  <jug@sad.it>
9135
9136         * text.C (setHeightOfRow): small fix
9137         (prepareToPrint): don't look at alignment if we don't have the place
9138         for doing it.
9139
9140 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9141
9142         * box.C: New file. Move the Box methods and functions out of box.h,
9143         following Lars' suggestion.
9144
9145 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9146
9147         * box.h: #include "support/LOstream.h", needed for inlined function.
9148
9149         * lyxtextclass.C:
9150         * lyxtextclasslist.C: added some using std declarations.
9151
9152 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * box.h: make signed dimensions to allow insets wider than
9155           the screen (bug #162)
9156
9157         * BufferView_pimpl.C: add some insetHit debug
9158
9159 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9160
9161         * vc-backend.C: add FIXME
9162
9163 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9164
9165         * lyxfunc.C (getStatus): enable code for showing math font status
9166         in toolbar/menu.
9167
9168 2002-01-07  Juergen Vigna  <jug@sad.it>
9169
9170         * text.C (nextBreakPoint): removed debug output not needed anymore.
9171
9172 2002-01-06  Juergen Vigna  <jug@sad.it>
9173
9174         * text.C (nextBreakPoint): fixed up this function we had this bug
9175         since ever but now hopefully we break row better.
9176         (insertChar): we have to check if an inset is the next char as it
9177         could now happen that a large inset is causing a break.
9178
9179 2002-01-05  Juergen Vigna  <jug@sad.it>
9180
9181         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9182         if it doesn't like to be drawed.
9183
9184 2002-01-04  Juergen Vigna  <jug@sad.it>
9185
9186         * BufferView2.C (lockInset): forgot to set a cursor.
9187
9188         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9189
9190 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9191
9192         * FormMathsPanel.C:
9193         * FormMathsPanel.h
9194         * MathsSymbols.C:
9195         * form_maths_panel.C:
9196         * form_maths_panel.h:
9197         * form_maths_panel.fd: implemented sub- and super- buttons in math
9198         panel.
9199
9200         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9201         (or ^ space) to be used as in TeX (req'd by André).
9202
9203         * lyxfunc.C: Allow ^ and _ again to be used both as
9204         super/subscript (mathed) and as themselves (in text).
9205
9206 2002-01-03  Allan Rae  <rae@lyx.org>
9207
9208         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9209         "LyX" or the filename of the current buffer if it has one.  This is a
9210         modified form of John Levon's patch.
9211
9212         * XFormsView.C (setWindowTitle): also set icon title.
9213
9214         * LyXView.h (setWindowTitle): signature changed.
9215         * XFormsView.h (setWindowTitle): ditto.
9216
9217 2002-01-02  Juergen Vigna  <jug@sad.it>
9218
9219         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9220
9221 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9222
9223         * screen.C (topCursorVisible): introduce a temp var for
9224         text->cursor.row(), handle the case where this row is null. (kindo
9225         hachish)
9226
9227         * text2.C (setCursor): add a couple of asserts.
9228
9229         * paragraph.h (inset_iterator): add -> operator
9230
9231         * paragraph.[Ch] (autoDeleteInsets): remove member function
9232
9233         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9234         cursor pos correctly and handle inset deletion by itself.
9235         (insertErrors): move iterator declaration out of for expression
9236
9237         * lyxtextclass.C: add <algorithm>
9238
9239         * Makefile.am: added the new files to sources, removed layout.C
9240
9241         * layout.C: removed file
9242
9243         * layout.h: remove LYX_DUMMY_LAYOUT
9244
9245         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9246         layout.
9247
9248         * lyxlayout.[Ch]:
9249         * lyxtextclass.[Ch]:
9250         * lyxtextclasslist.[Ch]: new files
9251
9252         * include order changes to a lot of files, also changes because of
9253         the six new files.
9254
9255 2001-12-27  Juergen Vigna  <jug@sad.it>
9256
9257         * buffer.C (asciiParagraph): more fixes.
9258
9259         * tabular.C (ascii): make ascii export support export of only the
9260         data separated by a column-delimiter.
9261         (ascii): better support for ascii export.
9262
9263         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9264
9265 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9266
9267         * tabular_funcs.C: use a "using std::getline" instead of the
9268         previous fix from Angus (necessary for cxx + lyxstring)
9269
9270 2001-12-24  Juergen Vigna  <jug@sad.it>
9271
9272         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9273
9274         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9275         problems. First check a minipage also if we have some ert-contents
9276         (not only on par->size(), second set the right depth of the paragraph
9277         on the relink to the root-paragraph-list!
9278
9279         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9280         which then did not anymore update the main paragraphs on undo/redo!
9281
9282 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9283
9284         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9285         code. Support all font-changing funcs (even those which are not in
9286         menu currently). Support for reporting font settings in
9287         mathed (disabled until Andre provides a function on mathed's side).
9288
9289         * func_status.h (toggle): small helper function to set toggle
9290         state on a flag.
9291
9292 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9293
9294         * tabular_funcs.C: getline -> std::getline
9295
9296 2001-12-21  Juergen Vigna  <jug@sad.it>
9297
9298         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9299         accessed and could be 0 (I couldn't generate this but it seems
9300         Michael could!).
9301
9302 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9303
9304         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9305         * tabular_funcs.h: here and include iosfwd
9306
9307 2001-12-20  Juergen Vigna  <jug@sad.it>
9308
9309         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9310         inside inset but undo_par was.
9311
9312 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9313
9314         * Thesaurus.C: always include <config.h> in sources.
9315
9316         * Painter.h:
9317         * lyxlookup.h:
9318         * box.h: do not include <config.h> in header files
9319
9320         * text.C (paintLastRow): remove unused variable
9321
9322         * text.C (transformChar):
9323         (insertChar):
9324         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9325
9326         * Painter.C (text):
9327         * font.C (width): rewrite to use uppercase() instead of
9328         islower/toupper.
9329
9330         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9331
9332 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9333
9334         * lyxfind.C: clean up of find failure position change
9335
9336 2001-12-20  Juergen Vigna  <jug@sad.it>
9337
9338         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9339
9340         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9341         (TeXRow): added to LaTeX a single tabular row.
9342         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9343         (Latex): simplified and finally good LT-h/f support.
9344         (various_functions): just small adaptions for LT-h/f support.
9345
9346         * tabular_funcs.[hC]: added and moved here all not classfunctions
9347         of LyXTabular.
9348
9349 2001-12-19  Juergen Vigna  <jug@sad.it>
9350
9351         * tabular.[Ch]: better support for longtabular options (not finished
9352         yet!)
9353
9354 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9355
9356         * text.C (paintLastRow): use the label font instead of the font of
9357         the last character to compute the size of *_BOX. This makes more
9358         sense and avoids a crash with empty paragraphs.
9359         Use Painter::rectangle to draw EMPTY_BOX.
9360
9361 2001-12-19  Juergen Vigna  <jug@sad.it>
9362
9363         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9364         the paragraphs if the replaced paragraph is not the first one!
9365         Tried to delete not used paragraphs but does not work yet so for
9366         now it's inside #ifdef's and by default off!
9367
9368 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9369
9370         * MenuBackend.C: include "lyx_main.h" instead of declaring
9371         lastfiles (actually was declared as LastFiles* instead of a
9372         scoped_ptr).
9373
9374 2001-12-17  Juergen Vigna  <jug@sad.it>
9375
9376         * tabular.C (AppendColumn): applied John's fix
9377
9378 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * BufferView.h:
9381         * BufferView.C:
9382         * BufferView_pimpl.h:
9383         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9384
9385         * Makefile.am:
9386         * box.h: new start of class for above
9387
9388         * lyxfunc.C: ignore space-only minibuffer dispatches.
9389           Show the command name when it doesn't exist
9390
9391         * minibuffer.C: don't add empty lines to the history
9392
9393         * minibuffer.C: add a space on dropdown completion
9394
9395 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * text.C: fix line above/below drawing in insets
9398
9399 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9400
9401         * lyxlength.C (LyXLength): Initialize private variables.
9402
9403 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9404
9405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9406         when inserting error insets.
9407
9408 2001-12-13  Juergen Vigna  <jug@sad.it>
9409
9410         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9411         actually sometimes the before-paragraph.
9412         (setUndo): don't clear the redostack if we're not actually undoing!
9413
9414 2001-12-06  Juergen Vigna  <jug@sad.it>
9415
9416         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9417         and fixed redoing of main paragraph, so we can use it now ;)
9418
9419         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9420
9421 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9424         Juergen's request
9425
9426 2001-12-13  André Pönitz <poenitz@gmx.net>
9427
9428         * undostack.[Ch]:
9429         * undo_func.C: minor cleanup
9430
9431 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9434         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9435         font in urw-fonts package which is marked as -urw-fontspecific and
9436         does not work (incidentally, changing the encoding in the
9437         fonts.dir of this package to -adobe-fontspecific fixes the
9438         problem).
9439
9440         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9441         is a crash when undoing first paragraph (Juergen, please take a
9442         look). THis does not mean the undo fix is wrong, just that it
9443         uncovers problems.
9444
9445         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9446         the (Paragraph*) version when needed instead of duplicating the
9447         code.
9448
9449         * text.C (workWidth): use Inset::parOwner to find out where the
9450         inset has been inserted. This is a huge performance gain for large
9451         documents with lots of insets. If Inset::parOwner is not set, fall
9452         back on the brute force method
9453
9454         * paragraph_pimpl.C (insertInset):
9455         * paragraph.C (Paragraph):
9456         (cutIntoMinibuffer): set parOwner of insets when
9457         inserting/removing them
9458
9459         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9460
9461 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9462
9463         * commandtags.h:
9464         * LyXAction.C:
9465         * lyx_main.C:
9466         * lyxfunc.C:
9467         * mathed/formulabase.C:
9468         * mathed/math_cursor.[Ch]:
9469         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9470
9471
9472 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9473
9474         * lyxlength.[Ch] (operator!=): new function
9475
9476 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9477
9478         * text.C (workWidth): use Inset::parOwner to find out where the
9479         inset has been inserted. This is a huge performance gain for large
9480         documents with lots of insets. If Inset::parOwner is not set, fall
9481         back on the brute force method
9482
9483         * paragraph_pimpl.C (insertInset):
9484         * paragraph.C (Paragraph):
9485         (cutIntoMinibuffer): set parOwner of insets when
9486         inserting/removing them
9487
9488         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9489
9490 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * tabular-old.C (getTokenValue):
9493         * tabular.C (getTokenValue):
9494         (write_attribute): new versions for LyXLength
9495         (everywhere): adjust the use of widths
9496
9497         * tabular.h: change the type of widths from string to LyXLength
9498
9499 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9500
9501         * paragraph.C: fixed missing line number count when exporting
9502         Environments to LaTeX file
9503
9504         * buffer.C: added informational message for checking line numbers.
9505
9506 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9509         paragraph, do the 'double space' part, but not the 'empty
9510         paragraph' one.
9511
9512         * text.C (workWidth): small optimization
9513         (getLengthMarkerHeight): use minimal size for negative lengths.
9514
9515 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9516
9517         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9518
9519         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9520
9521 2001-12-11  André Pönitz <poenitz@gmx.net>
9522
9523         * FontLoader.C:
9524         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9525
9526 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * text2.C: keep selection on a setFont()
9529
9530 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * lyx_cb.C: another bv->text misuse, from insert label
9533
9534 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * kbsequence.h:
9537         * kbsequence.C: re-instate nmodifier mask
9538
9539 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9540
9541         * lyx_main.h: make lyxGUI private.
9542
9543 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * lyxfind.C: place the cursor correctly on failed search
9546
9547 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9548
9549         * text.C (getLengthMarkerHeight): for small heights, the arrows
9550         are not always on top/bottom of the text
9551         (drawLengthMarker): smaller arrows; take the left margin in
9552         account; draw also vfills.
9553         (paintFirstRow):
9554         (paintLastRow): remove special code for vfill and standard spaces,
9555         since everything is handled in drawLengthMarker now.
9556
9557 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9558
9559         * buffer.C (insertErtContents): try to handle font and language
9560         interaction a bit better.g
9561
9562         * ColorHandler.C (updateColor): change the hash to cover the whole
9563         LColor enum, ws cleanup
9564         (getGCLinepars): ditto
9565         (getGCLinepars): only lookup in the linecache once.
9566
9567 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9568
9569         * iterators.C (operator++): Make the iterator more robust
9570
9571         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9572         (John's patch)
9573         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9574
9575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9576
9577         * lyxtext.h:
9578         * text.C: better added space drawing
9579
9580 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9581
9582         * LyXView.C:
9583         * BufferView2.C: fix layout combo update on inset unlock
9584
9585 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9586
9587         * Makefile.am: don't compile unused files
9588
9589 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9590
9591         * lyxfunc.C:
9592         * commandtags.h:
9593         * LyXAction.C: remove old LFUN_LAYOUTNO
9594
9595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * paragraph_pimpl.h:
9598         * paragraph_pimpl.C: isTextAt() doesn't need font param
9599
9600 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * lyxlex.h:
9603         * lyxlex.C: little cleanup
9604
9605 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9606
9607         * BufferView_pimpl.C: fix insertAscii for insets
9608
9609 2001-12-05  Juergen Vigna  <jug@sad.it>
9610
9611         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9612         set the right font on the "multi" paragraph paste!
9613
9614 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9615
9616         * trans_decl.h:
9617         * trans_mgr.[Ch]:
9618         * trans.[Ch]:
9619         * lyxgluelength.C:
9620         * lyxlength.C: remove out-commented code.
9621
9622         * BufferView_pimpl:
9623         * CutAndPaste.C:
9624         * DepTable.C:
9625         * buffer.C:
9626         * chset.C:
9627         * lastfiles.C:
9628         * lyxlex.C:
9629         * lyxlex_pimpl.C:
9630         * lyxserver.C:
9631         * screen.C:
9632         * tabular-old.C:
9633         * tabular.C:
9634         * text.C:
9635         * trans_mgr.C:
9636         * vc-backend.C: change "while(" to "while ("
9637
9638         * lyxlength.[Ch]: add zero function to check if length is zero or
9639         not
9640         * lyxgluelength.C: use it
9641
9642 2001-12-05  Allan Rae  <rae@lyx.org>
9643
9644         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9645         Works for 2.95.3, from what I understand of Garst's reports this should
9646         work for other g++ versions.  We're screwed if the abs(int) definition
9647         changed between bugfix releases of gcc.
9648
9649 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * text.C: fix chapter label offset !
9652
9653 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9654
9655         * lyxtext.h:
9656         * text.C: fix hfill at end of line, clean up
9657
9658 2001-12-04  Juergen Vigna  <jug@sad.it>
9659
9660         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9661         that we force an update of the inset and it's owners if neccessary.
9662
9663 2001-12-03  Juergen Vigna  <jug@sad.it>
9664
9665         * text.C (rowLast): simplified code
9666
9667 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * lyxfunc.C: fix show options on timeout
9670
9671 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9672
9673         * screen.C (topCursorVisible): scroll half a page when the cursor
9674         reached top of bottom of screen
9675
9676 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * minibuffer.C: deactivate on loss of focus
9679
9680 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9681
9682         * vspace.[Ch] (operator!=): add operator.
9683
9684 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * BufferView_pimpl.C: refuse to open an inset when
9687         there's a selection.
9688
9689 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * BufferView_pimpl.C: allow to click on RHS of full row insets
9692
9693 2001-11-30  Juergen Vigna  <jug@sad.it>
9694
9695         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9696         insets for undo reasons.
9697
9698 2001-11-28  André Pönitz <poenitz@gmx.net>
9699
9700         * vspace.[Ch]: cosmetical changes
9701
9702 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * LyXAction.h:
9705         * LyXAction.C:
9706         * lyxfunc.h:
9707         * lyxfunc.C:
9708         * kbmap.h:
9709         * kbmap.C:
9710         * lyxrc.C:
9711         * kbsequence.h:
9712         * kbsequence.C: part re-write of old kb code
9713
9714         * Painter.C:
9715         * WorkArea.C: remove Lgb_bug_find_hack
9716
9717 2001-11-30  José Matos <jamatos@fep.up.pt>
9718
9719         * buffer.C (makeDocBookFile): add a comment to point a hack.
9720         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9721         Fixed a double write of labels.
9722
9723 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9724
9725         * LaTeX.C:
9726         * LaTeX.h Fixed bug in LaTeX class where it would not
9727         re-run latex if no depfiles were changed, but the .dvi was removed.
9728
9729 2001-11-28  André Pönitz <poenitz@gmx.net>
9730
9731         * all the files from the change on 2001/11/26:
9732         use lyx::layout_type instead of LyXTextClass::size_type
9733         use lyx::textclass_type instead of LyXTextClassList::size_type
9734
9735 2001-11-29  Juergen Vigna  <jug@sad.it>
9736
9737         * text.C: added support for paragraph::isFreeSpacing()
9738
9739         * buffer.C: same as above
9740
9741         * paragraph.h: inserted isFreeSpacing() function to enable
9742         FreeSpacing inside InsetERT.
9743
9744         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9745         of the paragraph's in the cut/copy buffer to 0!
9746
9747         * text2.C (removeRow): remove the assert as it can!
9748
9749         * lyxtext.h: added helper function firstRow returning firstrow and
9750         made firstrow private again.
9751
9752         * BufferView2.C (lockInset): don't relock if we're already locked!
9753
9754         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9755         the only paragraph.
9756         (removeRow): added Assert::(firstrow)
9757
9758         * debug.C: forgot to add INSETTEXT here.
9759
9760 2001-11-28  Juergen Vigna  <jug@sad.it>
9761
9762         * sp_spell.C (initialize): changed error text to more general
9763         spellchecker command use (not only ispell!)
9764
9765         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9766
9767         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9768
9769 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9770
9771         * vspace.C: initialise lyxgluelength on failure
9772
9773 2001-11-28  Allan Rae  <rae@lyx.org>
9774
9775         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9776         declaration & definition that looks like a function declaration.
9777
9778 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9779
9780         * BufferView2.C (copy):
9781         (copyEnvironment): do not clear the selection when doing a copy.
9782
9783         * text.C (paintFirstRow): compilation fix
9784
9785 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9786
9787         * tabular.C (Latex): correct line count when writing latex.
9788
9789 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * paragraph_pimpl.h:
9792         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9793           bug a bit
9794
9795 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * text.C:
9798         * LColor.h:
9799         * LColor.C: change vfillline->added_space
9800
9801         * text.C: add markers and text for added space
9802
9803         * vspace.C: fix comment
9804
9805 2001-11-28  André Pönitz <poenitz@gmx.net>
9806
9807         * paragraph.C: whitespace changes
9808         * all the other files from the change on 2001/11/26:
9809         change *::pos_type into lyx::pos_type
9810
9811 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9812
9813         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9814         language of the document when inserting error insets.
9815
9816 2001-11-26  André Pönitz <poenitz@gmx.net>
9817
9818         * BufferView_pimpl.[Ch]:
9819         *       CutAndPaste.C:
9820         * buffer.[Ch]:
9821         * lyxcursor.[Ch]:
9822         * lyxfind.C:
9823         * lyxfunc.C:
9824         * lyxrow.[Ch]:
9825         * paragraph.[Ch]:
9826         * paragraph_pimpl.[Ch]:
9827         * sp_spell.C:
9828         * text.C:
9829         * text2.C: reduce header dependencies, introduce type for positions
9830
9831 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * <various>: change to use Alert.h
9834
9835 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9836
9837         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9838         when encountering an unknown token.
9839         (readLyXformat2): Show an error message if there were unknown tokens.
9840
9841 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * BufferView2.C:
9844         * BufferView_pimpl.C:
9845         * buffer.C:
9846         * paragraph.h:
9847         * text.C:
9848         * text2.C: use par->isInset()
9849
9850 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * paragraph_pimpl.h:
9853         * paragraph_pimpl.C: cleanup
9854
9855 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9856
9857         * text2.C (removeRow):
9858         * text.C (setHeightOfRow): remove useless (and costly) call to
9859         getRow.
9860
9861 2001-11-20  Allan Rae  <rae@lyx.org>
9862
9863         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9864         Now need Inset*::checkInsertChar() to return true for appropriate
9865         cases so that the characters in the minibuffer will actually be
9866         inserted.
9867
9868 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9869
9870         * text.C: change the order of the includes.
9871         (workWidth): initialize it at once.
9872         (workWidth): make maxw unsigned
9873         (setHeightOfRow): remove unused variable (inset)
9874         (selectSelectedWord): remove unused variable (inset)
9875         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9876
9877 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9878
9879         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9880         server is not running.
9881         (openConnection):
9882         (closeConnection): add debug info when server is disabled.
9883
9884         * ColorHandler.C (getGCForeground): send debug message to GUI
9885         channel.
9886
9887         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9888
9889         * kbmap.C (bind): modify because return conventions of
9890         kb_sequence::parse have changed.
9891
9892         * kbsequence.C (parse): only ignore spaces and not any stupid
9893         control character. This avoids tests like s[i] <= ' ', which are
9894         guaranteed to fail with 8bit characters and signed chars.
9895         Change return code to string::npos when there have been no error
9896         (0 was a bad idea when error is at first character)
9897
9898 2001-11-14  José Matos  <jamatos@fep.up.pt>
9899
9900         * buffer.h:
9901         * buffer.C (simpleDocBookOnePar): removed unused argument.
9902
9903 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9904
9905         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9906         insets which are part of a word. Paragraph::isLetter takes care of
9907         that now. Use Paragraph::isInset to identify insets.
9908         (selectSelectedWord): do not test for hyphenation break.
9909
9910         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9911         that protected spaces are considered as spaces.
9912
9913         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9914         Inset::isLetter.
9915
9916 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9917
9918         * lyxserver.h:
9919         * lyxserver.C: fix it. and small cleanup.
9920
9921 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * BufferView_pimpl.C: use inline helpers
9924
9925         * LaTeXFeatures.h:
9926         * LaTeXFeatures.C: fix typos
9927
9928         * Spacing.h:
9929         * Spacing.C: move spacing_string into class
9930
9931         * ToolbarDefaults.C: move stuff into namespace anon
9932
9933         * layout.h: update enum
9934
9935         * lyxfunc.C: use better debug
9936
9937         * minibuffer.h: fix typo
9938
9939         * debug.h:
9940         * debug.C:
9941         * WorkArea.C: add and use Debug::WORKAREA
9942
9943         * lyxtext.h:
9944         * text.C:
9945         * text2.C: code re-organisation, inline helpers
9946
9947 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9948
9949         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9950         std::vector.empty().
9951
9952 2001-11-09  Allan Rae  <rae@lyx.org>
9953
9954         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9955         '\n's after tables.  Tabular and ERT inset work now makes this no
9956         longer necessary.
9957
9958 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * minibuffer.h:
9961         * minibuffer.C: fix crash, improve drop-down completion
9962
9963 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9964
9965         * lyxserver.h:
9966         * lyxserver.C: invalidate fd's when doing endPipe()
9967
9968 2001-11-08  José Matos  <jamatos@fep.up.pt>
9969
9970         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9971         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9972
9973         * paragraph.h:
9974         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9975
9976 2001-11-07  José Matos  <jamatos@fep.up.pt>
9977
9978         * buffer.h:
9979         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9980         const qualifier.
9981
9982         * buffer.C (sgmlOpenTag):
9983         * buffer.C (sgmlCloseTag): removed debug info.
9984
9985         * buffer.h (sgmlOpenTag):
9986         * buffer.h (sgmlCloseTag): made public.
9987
9988 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9989
9990         * buffer.C (saveParamsAsDefaults):
9991         * lyx_cb.C (MenuLayoutSave): remove
9992
9993         * LyXAction.C (init):
9994         * commandtags.h:
9995         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9996
9997 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9998
9999         * buffer.C (setPaperStuff): removed from here...
10000
10001         * bufferparams.C (setPaperStuff): ... and moved there.
10002
10003 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * minibuffer.h:
10006         * minibuffer.C:
10007         * XFormsView.C: add support for drop-down completion
10008
10009 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10012         commands.
10013
10014 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10017         disabled.
10018
10019 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * lyx_main.C: change ref to known bugs
10022
10023 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10024
10025         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10026         to work around older babel problems.
10027
10028 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10029
10030         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10031
10032 2001-10-24  Juergen Vigna  <jug@sad.it>
10033
10034         * tabular-old.C (ReadOld): below variable changes reflected.
10035
10036         * tabular.[Ch]: added ltType struct for longtable header/footer
10037         defines and changed all instances where they are used. Added
10038         future support for double top/bottom rows.
10039
10040 2001-10-24  José Matos  <jamatos@fep.up.pt>
10041
10042         * buffer.h (docbookHandleCaption):
10043         * buffer.C (docbookHandleCaption): removed unused function.
10044         (makeDocBookFile): moved docbook supported version to v4.1.
10045
10046 2001-10-24  José Matos  <jamatos@fep.up.pt>
10047
10048         * tabular.h:
10049         * tabular.C (docbookRow): new function to export docbook code of a row.
10050         (DocBook): now honors the longtable flags.
10051
10052 2001-10-23  José Matos  <jamatos@fep.up.pt>
10053
10054         * LaTeXFeatures.h:
10055         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10056         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10057
10058         * buffer.C (makeLinuxDocFile):
10059         (makeDocBookFile): reworked the preamble, more clean, and with
10060         support for lyx defined entities. Changed the document declaration
10061         to be more XML friendly.
10062
10063         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10064         if we need to output XML that should be done with a filter.
10065
10066 2001-10-22  Juergen Vigna  <jug@sad.it>
10067
10068         * sp_pspell.h (class PSpell): add alive function needed in the
10069         controller to see if the spellchecker could be started.
10070
10071 2001-10-22  Juergen Vigna  <jug@sad.it>
10072
10073         * buffer.C (insertStringAsLines): modify the font for inserting
10074         chars in certain conditions by calling checkInsertChar(font).
10075
10076 2001-10-19  Juergen Vigna  <jug@sad.it>
10077
10078         * text.C (workWidth): use getRow instead of wrong algorithm.
10079         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10080
10081 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * lyxserver.h:
10084         * lyxserver.C:
10085         * lyx_main.h:
10086         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10087
10088 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10089
10090         * text.C (workWidth): do not search for the exact row when
10091         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10092         optimization for big documents.
10093
10094 2001-10-18  Juergen Vigna  <jug@sad.it>
10095
10096         * text.C (workWidth): new function with added Inset * parameter.
10097
10098 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10099
10100         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10101
10102         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10103         change return type of getColumnNearX.
10104
10105
10106         * text.C (changeRegionCase): use uppercase/lowercase instead of
10107         toupper/tolower.
10108         (leftMargin):
10109         (rightMargin): simplify code by factoring out the uses of
10110         textclasslist.
10111         (labelFill):
10112         (numberOfHfills):
10113         (setHeightOfRow):
10114         (appendParagraph): use Paragraph::size_type
10115
10116 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10117
10118         * vspace.C (asLatexString): add a missing break
10119
10120 2001-10-15  Herbert Voss  <voss@perce.de>
10121
10122         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10123
10124 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10125
10126         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10127         is not available.
10128
10129 2001-10-10  André Pönitz <poenitz@gmx.net>
10130
10131         * lyxfunc.C: removed greek_kb_flag.
10132
10133 2001-10-10  Herbert Voss  <voss@perce.de>
10134
10135         * lyx_main.C: delete global string help_lyxdir.
10136
10137 2001-10-09  Herbert Voss  <voss@perce.de>
10138
10139         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10140
10141         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10142
10143         * lyx_main.C: added global string help_lyxdir.
10144
10145         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10146
10147 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10148
10149         * lyxrc.C (set_font_norm_type): support iso8859-4
10150
10151 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10152
10153         * LaTeX.C (deplog): add another regex for MikTeX
10154
10155 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10156
10157         * lyxrc.C (set_font_norm_type): support iso8859-3
10158
10159 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10160
10161         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10162
10163         * LaTeXFeatures.C: remove special case of french and index
10164
10165         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10166         before \begin{document}). This solves several incompatibilities.
10167
10168 2001-10-03  Garst Reese  <reese@isn.net>
10169
10170         * lyx_cb.C: change CheckTex error msg.
10171
10172 2001-10-03  José Matos  <jamatos@fep.up.pt>
10173
10174         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10175
10176 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10177
10178         * .cvsignore: update
10179
10180         * lyx_main.C (commandLineVersionInfo): use new style version info.
10181
10182         * buffer.C (writeFile):
10183         (makeLaTeXFile):
10184         (makeLinuxDocFile):
10185         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10186
10187         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10188
10189         * version.h: update to use stuff in version.C
10190
10191         * version.C.in: new file. Contains version information determined
10192         at compile time. This is a merging of version.h and
10193         version_info.h.in.
10194
10195 2001-10-03  Juergen Vigna  <jug@sad.it>
10196
10197         * BufferView_pimpl.C (update): don't change "dirty" status in
10198         updateInset call.
10199
10200 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10201
10202         * WorkArea.C (c-tor): re-position version string slightly.
10203
10204 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10205
10206         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10207         revert to previous code.
10208
10209         WorkArea.[Ch]: (show, destroySplash): methods removed.
10210
10211         WorkArea.C: rework code so that it's an amalgam of the codes before and
10212         after the splash screen was moved to WorkArea.
10213
10214 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10215
10216         * lyxrc.C (read):
10217         * vspace.C (inPixels):
10218         (lyx_advance):
10219         * kbmap.C (bind):
10220         * buffer.C (insertStringAsLines):
10221         (asciiParagraph): fix types to be large enough
10222
10223         * lyxlex_pimpl.h: change member status from short to int
10224
10225         * layout.h: fix type of endlabeltype
10226
10227         * kbmap.C (bind):
10228         * kbsequence.C (parse): change return type to string::size_type
10229
10230         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10231         variable
10232
10233         * Bullet.C (bulletSize):
10234         (bulletEntry): do not use short ints as parameters
10235
10236         * BufferView2.C (insertLyXFile): change a char to an int.
10237
10238         * WorkArea.C (WorkArea): remove unneeded floats in computation
10239
10240 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10241
10242         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10243
10244         * paragraph.C (asString): Do not ignore newline/hfill chars when
10245         copying to the clipboard.
10246
10247 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10248
10249         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10250         after a multi-line inset.
10251
10252 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10253
10254         * paragraph.C (validate): Set NeedLyXFootnoteCode
10255
10256 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10257
10258         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10259         and decrease-error to decrease.
10260
10261 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10262
10263         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10264         it more readable (should be equivalent)
10265
10266 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10267
10268         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10269
10270 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10271
10272         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10273         of a cursor (row, etc.) after a character has been deleted
10274         (deleteEmptyParagraphMechanism): call the method above on _all_
10275         cursors held by the LyXText when a double space has been
10276         detected/deleted.
10277
10278 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10279
10280         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10281         pixmap.
10282         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10283
10284         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10285         background. Use greyOut() and the new show() methods to toggle between
10286         the foreground and background. Add code to remove the splash after
10287         its initial showing.
10288
10289         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10290         (create_forms): no longer call Dialogs::showSplash.
10291
10292 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * .cvsignore: add version_info.h
10295
10296 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * version_info.h.in: new file
10299
10300         * Makefile.am: add version_info.h.in
10301
10302         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10303         version_info.h instead of VERSION_INFO
10304
10305 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10306
10307         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10308         The ERT inset now returns string().
10309
10310 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10311
10312         * lyxtext.h, text.C (selectNextWord): renamed as
10313         selectNextWordToSpellcheck.
10314
10315         * text.C (selectNextWordToSpellcheck): Modified to not select
10316         words inside an ERT inset.
10317
10318 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10319
10320         * lyx_cb.C (MenuLayoutSave): change a bit the question
10321
10322         * sp_base.h: include <sys/types.h>
10323
10324 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10325
10326         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10327
10328 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10329
10330         * several files: fix typos in user-visible strings
10331
10332 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10333
10334         * text2.C (pasteSelection): do not set the selection, since it
10335         will be cleared later. Actually, the intent was to fix the way the
10336         selection was set, but I figured rmoving the code was just as good.
10337
10338 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10339
10340         * FontLoader.C (available): Check if font is available without
10341         loading the font.
10342
10343 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10344
10345         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10346
10347 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10348
10349         * lyxrc.[Ch]: added display_graphics variable and associated code.
10350
10351 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10352
10353         * bufferparams.C (hasClassDefaults): new method. Returns true if
10354         the buffer parameters correspond to known class defaults
10355
10356 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10357
10358         * XFormsView.C (show): set minimum size to the main window.
10359
10360 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10361
10362         * text2.C (copySelection):
10363         (cutSelection):
10364         * lyxfind.C (LyXReplace):
10365         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10366         LyXText::selectionAsString.
10367
10368         * paragraph.C (asString): add "label" argument to the second form
10369
10370         * text2.C (selectionAsString): add "label" argument and pass it to
10371         Paragraph::asString.
10372
10373 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10374
10375         * lyx_main.C (commandLineHelp): remove version information
10376
10377 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10378
10379         * lyx_main.C: add -version commandline option
10380
10381 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10382
10383         * paragraph.h: make the optional constructor arg required instead.
10384         some modifications to other files because of this.
10385
10386         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10387
10388         * lyxserver.C (C_LyXComm_callback): make it static
10389
10390         * lyx_main.C (error_handler): make it static
10391
10392         * lyx_gui.C (LyX_XErrHandler): make it static
10393
10394         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10395
10396         * WorkArea.C: make the extern "C" methods static.
10397
10398         * Makefile.am (lyx_LDADD): simplify
10399
10400 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10401
10402         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10403         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10404
10405         * LyXAction.C (init):
10406         * lyxfunc.C (dispatch): associated code removal.
10407
10408 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10409
10410         * lyxfont.h (isSymbolFont): shut off warning
10411
10412         * text.C (setHeightOfRow):
10413         (getVisibleRow): fix crash with empty paragraphs which have a
10414         bottom line
10415
10416 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10417
10418         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10419         code.
10420
10421 2001-09-04  José Matos  <jamatos@fep.up.pt>
10422         * buffer.C
10423         * buffer.h
10424         * tabular.C (docbook): rename docBook method to docbook.
10425
10426 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10427
10428         * Makefile.am: add dependencies to main.o.
10429
10430 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10431
10432         * FontLoader.C (available): Return false if !lyxrc.use_gui
10433
10434 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10435
10436         * FontInfo.C (query):
10437         * converter.C (view):
10438         * importer.C (Import):
10439         * exporter.C (Export): Can not -> cannot.
10440
10441 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView_pimpl.C: allow to create index inset even if
10444           string is empty
10445
10446 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10447
10448         * buffer.C (getLists): replace boost::tie code with an explicit pair
10449         as boost::tie can break some compilers.
10450
10451         * iterators.h: Added a std:: declaration to the return type of
10452         ParIterator::size.
10453
10454 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10457           case.
10458
10459 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10460
10461         * iterators.[Ch]: New files. Provide paragraph iterators.
10462
10463         * buffer.C (changeLanguage): Use paragraph iterators.
10464         (isMultiLingual): ditto
10465
10466         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10467
10468 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10469
10470         * FontLoader.C: Support for cmr font.
10471
10472 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10473
10474         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10475         (available): New method.
10476
10477         * FontInfo.C (getFontname): Use scalable fonts even when
10478         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10479         found.
10480
10481 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10482
10483         * converter.C (Formats::view): reverted! Incorrect fix.
10484
10485 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10486
10487         * converter.C (Formats::view): only output the -paper option
10488         if the dvi viewer is xdvi, thereby fixing bug #233429.
10489
10490 2001-08-23  Herbert Voss  <voss@perce>
10491
10492         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10493
10494 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * Spacing.h (Spacing): Set space to Default on in the default
10497         constructor.
10498
10499 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * vc-backend.h (RCS::versionString): add RCS to version
10502         (CVS::versionString): add CVS to version
10503
10504         * vc-backend.C (scanMaster): do not add CVS to version.
10505         (scanMaster): do not add RCS to version
10506
10507         * lyxvc.C (versionString): new method
10508
10509         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10510
10511 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * Spacing.C (set): initialize fval
10514
10515 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10516
10517         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10518         " or \.
10519
10520 2001-08-16  Juergen Vigna  <jug@sad.it>
10521
10522         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10523
10524 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView_pimpl.C:
10527         * figureForm.C:
10528         * lyxtext.h:
10529         * text2.C: setParagraph takes linespacing now
10530
10531 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * LyxAction.C: add internal LFUN_CITATION_INSERT
10534
10535         * LyXView.C: actually apply fix
10536
10537         * bufferlist.C: fix open non-existent file
10538
10539         * lyxfind.C: fix indentation
10540
10541         * lyxfunc.C: remove unneeded assert, fix typo
10542
10543 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * MenuBackend.C: use "Floatname List"
10546
10547 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10548
10549         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10550         when converting LaTeX layout to insetERT.
10551         Generate a non-collapsed float when reading old float
10552
10553 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10554
10555         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10556         ERT insets.
10557
10558 2001-08-13  Juergen Vigna  <jug@sad.it>
10559
10560         * text.C (fill): return 0 instead of 20 as this seems to be the more
10561         correct value.
10562
10563 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10564
10565         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10566         lyxrc.font_norm.
10567
10568 2001-08-13  Juergen Vigna  <jug@sad.it>
10569
10570         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10571         casesensitive off.
10572         (SearchBackward): comment out the unlocking of the inset_owner this
10573         should not be needed!
10574
10575 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10576
10577         * Many files: Remove inherit_language, and add latex_language
10578
10579         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10580         collapsible insets.
10581
10582 2001-08-10  Juergen Vigna  <jug@sad.it>
10583
10584         * text.C (prepareToPrint): fixed hfill-width in draw!
10585
10586         * BufferView2.C (selectLastWord): save the selection cursor as this
10587         now is cleared in the function LyXText::clearSelection!
10588
10589 2001-08-08  Juergen Vigna  <jug@sad.it>
10590
10591         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10592         BACKSPACE type functions.
10593
10594         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10595         is only cutted from the document but not put in the cut-buffer, where
10596         still the old stuff should be.
10597
10598         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10599
10600         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10601
10602         * tabular.C (SetWidthOfCell): fixed special case where the width
10603         was not updated!
10604         (LeftLine): handle '|' in align_special.
10605         (RightLine): ditto
10606         (LeftAlreadyDrawed): ditto
10607         (SetWidthOfCell): ditto
10608
10609 2001-08-07  Juergen Vigna  <jug@sad.it>
10610
10611         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10612
10613 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10616         * lyxlex.[hC]: ditto
10617
10618 2001-08-06  Juergen Vigna  <jug@sad.it>
10619
10620         * text.C (getVisibleRow): fix up row clearing a bit.
10621
10622 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * minibuffer.C: make sure the X server sees the changes in the input.
10625
10626 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10627
10628         * paragraph.C (getFont): split into...
10629         (getLabelFont): this
10630         (getLayoutFont): and this
10631         * paragraph_pimpl.C (realizeFont): calling this
10632
10633         * text2.C (getFont): split into...
10634         (getLayoutFont): this
10635         (getLabelFont): and this
10636         (realizeFont): all three calling this
10637
10638         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10639         files where used.
10640
10641 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10642
10643         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10644
10645 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10646
10647         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10648         layouts from the Quote inset insertion.
10649
10650 2001-08-03  Juergen Vigna  <jug@sad.it>
10651
10652         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10653
10654         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10655         only if status not is already CHANGED_IN_DRAW (second level).
10656
10657         * text.C (draw): don't set the need_break_row when inside an
10658         InsetText LyXText.
10659
10660 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * buffer.C (parseSingleLyXformat2Token): handle more latex
10663         conversion cases.
10664
10665         * bufferview_funcs.[hC]: change function names to
10666         begin with small char, adjust other files.
10667
10668 2001-08-02  André Pönitz <poenitz@gmx.net>
10669
10670         * lyxfunc.C:
10671         BufferView_pimpl.C: remove broken special code for math-greek
10672
10673 2001-08-02  Juergen Vigna  <jug@sad.it>
10674
10675         * BufferView_pimpl.C (update): redone this function so that we
10676         update the text again if there was a CHANGE_IN_DRAW.
10677
10678         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10679         (drawFromTo): added a new internal bool which is used by draw() and
10680         redraw() function.
10681         (general): some cursor drawing problems fixed.
10682
10683 2001-08-01  Juergen Vigna  <jug@sad.it>
10684
10685         * lyxfind.C (LyXFind): fixed
10686         (SearchForward): ditto
10687         (SearchBackward): ditto
10688
10689         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10690         spurius drawing of the cursor in the main area.
10691
10692         * text2.C (status): small fix which could lead to a segfault!
10693         (clearSelection): remove unneeded BufferView param.
10694
10695 2001-08-01  André Pönitz <poenitz@gmx.net>
10696
10697         * lyxfunc.C: small change due to changed mathed interface
10698
10699 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10700
10701         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10702
10703 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * lyxfunc.c: fail gracefully if file doesn't exist
10706
10707         * LyXSendto.C:
10708         * buffer.C:
10709         * lyxfunc.C:
10710         * BufferView_pimpl.C: IsDirWriteable() proto changed
10711
10712         * LyXView.C: fix updateWindowTitle() to store the last title
10713
10714 2001-07-31  Juergen Vigna  <jug@sad.it>
10715
10716         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10717         the font (wrong since using of Paragraph::highestFontInRange).
10718
10719         * paragraph.C (highestFontInRange): added a default_size parameter.
10720
10721         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10722         (setHeightOfRow): reformat
10723
10724 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10725
10726         * converter.[hC] + affected files: move to (inital-char)lowercase
10727         function names.
10728
10729         * ParagraphParameters.C (ParagraphParameters): remove commented code
10730
10731         * PainterBase.[Ch]: remove commented code
10732
10733         * LaTeXFeatures.h: add "bool floats" for float.sty
10734
10735         * LaTeXFeatures.C (LaTeXFeatures): init floats
10736         (require): handle float
10737         (getPackages): do it with floats
10738
10739 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10740
10741         * BufferView_pimpl.C (Dispatch): improve handling of
10742         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10743
10744         * commandtags.h: #include lyxfont.h here temporarily to avoid
10745         keybinding bug.
10746
10747         * bufferlist.h: include LString.h here.
10748
10749 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10750
10751         * text2.C (getStringToIndex): new method.
10752
10753 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10754
10755         * *: Reduced header file dependencies all over.
10756
10757 2001-07-30  Baruch Even  <baruch@lyx.org>
10758
10759         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10760
10761 2001-07-29  Baruch Even  <baruch@lyx.org>
10762
10763         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10764
10765 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10766
10767         * ParameterStruct.h (endif): add a default constructor to make
10768         sure that all variables is initialized.
10769
10770         * ParagraphParameters.C (ParagraphParameters): adjust
10771
10772 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10773
10774         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10775         index; also, check that there is something to index, and that it
10776         does not span over several paragraphs.
10777         (doubleClick): use WHOLE_WORD_STRICT for double click.
10778
10779         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10780
10781         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10782         scheme.
10783
10784 2001-07-26  Baruch Even  <baruch@lyx.org>
10785
10786         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10787         an InsetFig figure, backwards compatible reading of old figure code.
10788
10789 2001-07-27  Juergen Vigna  <jug@sad.it>
10790
10791         * text2.C: font.realize function adaption.
10792
10793         * text.C (draw): add a warnings lyxerr text if needed.
10794
10795         * layout.C: font.realize function adaption.
10796
10797         * language.C: add inherit_language and implement it's handlings
10798
10799         * bufferview_funcs.C (StyleReset): remove language parameter from
10800         font creation (should be language_inherit now).
10801
10802         * bufferparams.C (writeFile): handle ignore_language.
10803
10804         * paragraph.C (getFontSettings): the language has to be resolved
10805         otherwise we have problems in LyXFont!
10806
10807         * lyxfont.C (lyxWriteChanges): added document_language parameter
10808         (update): removed unneeded language parameter
10809
10810         * paragraph.C (validate): fixed wrong output of color-package when
10811         using interface colors for certain fonts in certain environments,
10812         which should not seen as that on the final output.
10813
10814 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * BufferView_pimpl.C:
10817         * Thesaurus.h:
10818         * Thesaurus.C:
10819         * Makefile.am:
10820         * commandtags.h:
10821         * LyXAction.C: add thesaurus support
10822
10823         * lyxfind.h:
10824         * lyxfind.C: add "once" parameter, for thesaurus, to not
10825           move to the next match
10826
10827 2001-07-26  Juergen Vigna  <jug@sad.it>
10828
10829         * lyxfont.C (realize): honor ignore_language too!
10830         (resolved): ditto.
10831
10832         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10833
10834         * text.C (draw): one place more for ignore_language to not draw
10835         itself!
10836
10837 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10840
10841 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10844         the minipage conversion problem.
10845
10846 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10847
10848         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10849         insert an inset.
10850
10851 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10852
10853         * BufferView.h: don't forward declare WorkArea
10854
10855         * BufferView.C: don't include WorkArea.h
10856
10857 2001-07-25  André Pönitz <poenitz@gmx.net>
10858
10859         * commandtags.h:
10860         * LyXAction.C:
10861         * lyxfunc.C:  new LFUN 'math-space'
10862
10863         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10864
10865 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10866
10867         * text2.C (toggleInset): call open/close
10868
10869 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10870
10871         * lyxfunc.C (dispatch): add debug for the disabled case
10872
10873         * font.C (buttonText): make similar to rectText
10874
10875         * buffer.C (readInset): comment out parsing of insetlist and
10876         insttheorem
10877
10878         * PainterBase.C (rectText): small correction
10879
10880         * BufferView_pimpl.C: comment out insettheorem and insetlist
10881         * LyXAction.C: ditto
10882         * commandtags.h: ditto
10883
10884 2001-07-24  Juergen Vigna  <jug@sad.it>
10885
10886         * text.C (draw): honor the ignore_language.
10887
10888         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10889
10890 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10893         char inset.
10894
10895 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10896
10897         * lyxtext.h: remove unused (and unimplemented) methods
10898
10899 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10900
10901         * text.C (getVisibleRow): honor background color
10902
10903         * PainterBase.h:
10904         * Painter.h: remove default color argument for fillRectangle
10905
10906         * text.C (backgroundColor): new method
10907
10908 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10909
10910         * text.C (getVisibleRow): adjust
10911
10912         * font.[Ch] (rectText): new method, metrics
10913         (buttonText): new method, metrics
10914
10915         * PainterBase.[hC]: make rectText and buttonText always draw and take
10916         fewer paramteres.
10917
10918 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10919
10920         * ToolbarDefaults.C (read):
10921         * MenuBackend.C (read): allow escaping in all strings
10922
10923         * BufferView_pimpl.C (insertAndEditInset): new method.
10924         (Dispatch): use insertAndEditInset whenever appropriate.
10925
10926         * BufferView_pimpl.C (insertNote): removed
10927
10928         * BufferView_pimpl.C (smartQuote): new method, moved from
10929         BufferView; if an insetquote cannot be inserted, insert a '"'
10930         character instead.
10931
10932         * BufferView2.C: remove insertCorrectQuote();
10933
10934         * lyxfunc.C (getStatus): Add support for all remaingin
10935         inset-insert lfuns.
10936
10937         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10938
10939         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10940         command (necessary to pass " as parameter of self-insert.
10941
10942         * text.C (selectWordWhenUnderCursor):
10943         (selectWord): add word_location parameter
10944         (selectWordWhenUnderCursor): same + remove special code for word
10945         boundary.
10946         (selectNextWord): use kind() to guess type of insetspecialchar,
10947         not latex().
10948
10949         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10950         (insertErtContents): create ert insets as collapsed.
10951         (readInset): better compatibility code for Info inset.
10952
10953 2001-07-20  Juergen Vigna  <jug@sad.it>
10954
10955         * lyxfunc.C (dispatch): use always LyXFind now!
10956
10957         * text2.C (init): add a reinit flag so that the LyXText can be
10958         reinited instead of deleted and reallocated (used in InsetText).
10959
10960         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10961
10962         * text.C: ditto
10963
10964         * text2.C: ditto
10965
10966 2001-07-18  Juergen Vigna  <jug@sad.it>
10967
10968         * text.C (selectNextWord): handle insets inside inset by calling
10969         always the bv->text functions so that we can go up the_locking_inset!
10970
10971         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10972         in strange locations when inside an inset!
10973
10974         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10975         handling to include insets.
10976
10977         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10978
10979 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * LyXAction.C (init):
10982         * commandtags.h:
10983         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10984         LIGATURE_BREAK, since the name is so stupid.
10985
10986 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10987
10988         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10989         InsetInfos.
10990
10991         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10992
10993         * sp_form.[Ch]: remove.
10994
10995         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10996
10997         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10998         InsetInfo.
10999
11000         * src/buffer.C (readInset): ditto.
11001
11002 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11003
11004         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11005         menuSeparator(), endOfSentenceDot(), ldots() and
11006         hyphenationPoint(), which are therefore removed.
11007         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11008
11009         * LyXAction.C (init):
11010         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11011
11012         * paragraph.C (getWord): removed.
11013
11014         * BufferView_pimpl.C (Dispatch): use last word or selection for
11015         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11016
11017         * lyx_main.C (queryUserLyXDir): do not ask before creating
11018         user_dir, except if it has been named explicitely.
11019
11020 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11023         a document of zero size.
11024
11025 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11026
11027         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11028         approriately in the c-tor and in require().
11029         (getPackages): output the appropriate LaTeX for natbib support.
11030
11031         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11032         variables "use_natbib" and "use_numerical_citations" when reading the
11033         LyX file.
11034         (readInset): read the various natbib cite commands.
11035         (validate): white-space change.
11036
11037         * bufferparams.[Ch]: new variables "bool use_natbib" and
11038         "bool use_numerical_citations".
11039         (writeFile): output them in the LyX file.
11040
11041 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11042
11043         * lyxfunc.C (getStatus): add support for all the inset insertion
11044         commands.
11045
11046         * text2.C (insertInset):
11047         * paragraph.C (insetAllowed):
11048         * BufferView_pimpl.C (insertInset): update to take in account the
11049         renaming of insertInsetAllowed
11050
11051         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11052
11053         * text2.C (getInset): new method. returns inset at cursor position.
11054
11055         * BufferView_pimpl.C (Dispatch): changes because of this.
11056
11057         * LyXAction.C (init): rename open-stuff to inset-toggle.
11058
11059         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11060
11061         * text2.C (toggleInset): renamed from openStuff; use
11062         Inset::open().
11063
11064 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11065
11066         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11067
11068         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11069
11070 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11071
11072         * buffer.C (readLyXformat2): Add filename to the error dialog
11073
11074 2001-07-18  Juergen Vigna  <jug@sad.it>
11075
11076         * tabular.C (GetCellNumber): put an assert here instead of the check!
11077
11078 2001-07-17  Juergen Vigna  <jug@sad.it>
11079
11080         * BufferView_pimpl.C (toggleSelection): adapted too.
11081
11082         * text.C (selectNextWord): adapted for use with insets.
11083         (selectSelectedWord): ditto
11084
11085 2001-07-17  Juergen Vigna  <jug@sad.it>
11086
11087         * sp_spell.C (PSpell): fix initialitation order.
11088
11089 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * paragraph.C: spacing
11092
11093 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11094
11095         * sp_spell.C: repair language selection for pspell
11096
11097 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * lyxfunc.h: change more methods to begin with lower char.
11100
11101 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11102
11103         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11104         for unknown layouts.
11105
11106 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11107
11108         * buffer.C (readLyXformat2): Generate an error dialog if there are
11109         unknown layouts.
11110
11111 2001-07-16  Juergen Vigna  <jug@sad.it>
11112
11113         * sp_spell.C: always compile ISpell part.
11114
11115         * lyxrc.C: added use_pspell entry and it's handling.
11116
11117 2001-07-13  Juergen Vigna  <jug@sad.it>
11118
11119         * sp_spell.C: removed double includes.
11120
11121 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11122
11123         Consistent use of Lsstream.h:
11124         * Lsstream.h: added using std::stringstream for consistencies sake.
11125
11126         * buffer.C: removed using std::stringstream
11127
11128         * lyxfont.C (stateText):
11129         * paragraph.C (asString):
11130         * text.C (selectNextWord, selectSelectedWord):
11131         * text2.C (setCounter):
11132         * vspace.C (asString, asLatexString):
11133         std::ostringstream -> ostringstream.
11134
11135 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11136
11137         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11138         * commandtags.h: add LFUN_HELP_ABOUTLYX
11139         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11140
11141 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11142
11143         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11144         cursorToggle()
11145         * lyx_gui_misc.C: remove spellchecker
11146         * lyxfunc.C: showSpellchecker
11147         * sp_base.h: added
11148         * sp_ispell.h: added
11149         * sp_pspell.h: added
11150         * sp_spell.C: added
11151         * sp_form.[Ch]: removed
11152         * spellchecker.[Ch]: removed
11153
11154 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11155
11156         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11157         is set.
11158         (simpleTeXSpecialChars): Simply print the input character without
11159         any special translation if pass_thru is set.
11160
11161         * layout.h: Added bool pass_thru to layout class for being able to
11162         implement pass through of a paragraph for Literate Programming.
11163
11164         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11165         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11166         * layout.C (Read): add "passthru" to list of layout tags and add
11167         code to set the pass_thru boolean when it is read.
11168
11169 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11170
11171         * trans_decl.h: remove allowed from KmodInfo
11172
11173         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11174         remove allowed code
11175         (Load): adjust
11176
11177         * paragraph_pimpl.C (erase): use boost::prior
11178
11179         * Painter.C (text): use data() instead of c_str() when length is
11180         also provided.
11181         * WorkArea.C (putClipboard): ditto
11182         * font.h (width): ditto
11183
11184         * BufferView2.C: use it-> instead of (*it). for iterators
11185         * texrow.C: ditto
11186         * paragraph_pimpl.C: ditto
11187         * paragraph.C: ditto
11188         * minibuffer.C: ditto
11189         * language.C: ditto
11190         * kbmap.C: ditto
11191         * encoding.C: ditto
11192         * counters.C: ditto
11193         * converter.C: ditto
11194         * chset.C: ditto
11195         * Variables.C: ditto
11196         * TextCache.C: ditto
11197         * MenuBackend.C: ditto
11198         * LyXAction.C: ditto
11199         * LColor.C: ditto
11200         * FloatList.C: ditto
11201         * DepTable.C: ditto
11202         * ColorHandler.C (LyXColorHandler): ditto
11203
11204 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11207
11208         * text2.C (openStuff): reintroduce this method (which had been
11209         nuked in NEW_INSETS frenzy).
11210
11211         * lyxfunc.C (Dispatch): when an action has not been handled, use
11212         its name in the error message, not its number.
11213
11214         * paragraph.C (inInset): change method name to begin with lowercase.
11215
11216         * undo_funcs.C:
11217         * text2.C: updates because of this.
11218
11219 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11220
11221         * ToolbarDefaults.C (add): add spaces in error message
11222
11223 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11226         (readLyXformat2): rename return_par to first_par, use lyxlex's
11227         pushToken and remove the manual push handling.
11228         (parseSingleLyXformat2Token): add another ert comp. variable:
11229         in_tabular, rename return_par to first_par. handle newlines better
11230
11231 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11232
11233         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11234
11235 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11236
11237         * text2.C (getParFromID): removed
11238
11239         * buffer.C (getParFromID): new method moved form lyxtext.
11240         * BufferView2.C (insertErrors): adjust
11241         (setCursorFromRow): adjust
11242         * BufferView_pimpl.C (restorePosition): adjust
11243         * lyxfunc.C (Dispatch): adjust
11244         * undo_funcs.C (textUndo): adjust
11245         (textRedo): adjust
11246         (textHandleUndo): adjust
11247         (textHandleUndo): adjust
11248
11249 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * buffer.C: up' the LYX_FORMAT
11252
11253         * lyxfont.h: turn NO_LATEX on as default
11254
11255         * buffer.C (insertErtContents): new methods of tex style compability.
11256         (parseSingleLyXformat2Token): use it several places.
11257         * tabular.C (OldFormatRead): and here
11258
11259 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * text2.C: remove some commented code.
11262         reindent file.
11263
11264         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11265         * trans.C: changes because of the above.
11266
11267 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11268
11269         * text2.C (setCounter): Fix counters bug with bibliography layout.
11270
11271 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11272
11273         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11274         own member functions
11275         (simpleTeXSpecialChars): ditto
11276
11277 2001-07-06  Juergen Vigna  <jug@sad.it>
11278
11279         * a lot of files: changed the access to LyXText::status and the
11280         call of undo-functions.
11281
11282         * undo.[Ch]: added a inset_id to the undo informations.
11283
11284         * undo_funcs.[Ch]: added and moved here all undo functions.
11285
11286         * lyxtext.h: give the status enum a weight, made status_ a private
11287         variable and made accessor functions for it, removed the whole bunch
11288         of undo-functions as they are now in their own file, make some
11289         functions publically available. Added function ownerParagraph with
11290         int parameter.
11291
11292         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11293         made InInset() a const function, added getParFromID() function.
11294
11295         * buffer.[Ch]: added const version for inset_iterator functions,
11296         added getInsetFromID() function.
11297
11298         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11299         changed undo functions for new version.
11300
11301 2001-07-05  Juergen Vigna  <jug@sad.it>
11302
11303         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11304         unknow mechanism does not call the proper constructor but only this
11305         one also if I request the other!?
11306
11307 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11310
11311         * text2.C (LyXText): use initialization lists.
11312
11313         * lyxtext.h (Selection): initialize set_ and mark_
11314         (init): remove method
11315
11316 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11317
11318         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11319
11320 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11321
11322         * screen.[Ch]: change method names to begin with lowercase
11323
11324         * BufferView_pimpl.C (updateScrollbar): simplify further and
11325         hopefully make it a bit faster.
11326
11327 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11328
11329         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11330         calling directly xforms functions.
11331
11332         * Painter.C (Painter):
11333         * lyx_cb.C (MenuWrite):
11334         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11335         fl_display.
11336
11337         * lyx_gui.C: remove bogus guiruntime extern declaration.
11338
11339 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11342         in NEW_INSETS
11343         (redoDrawingOfParagraph): ditto
11344         (redoParagraphs): ditto
11345         (cutSelection): don't create a object for CutAndPaste use the
11346         static method directly
11347         (pasteSelection): ditto
11348
11349         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11350         LyXview (+ rename)
11351
11352 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * modifications to some other files because of this.
11355
11356         * Makefile.am (lyx_SOURCES): add XFormsView
11357
11358         * XFormsView.[Ch]: new files
11359
11360         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11361         the main window. Move the gui dependent stuff to XFormsView
11362
11363 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11364
11365         * tabular.C (GetCellInset): update cur_cell also in the row/col
11366         version of this function.
11367
11368         * lyxfunc.C: no need to include figure_form.h here.
11369
11370         * FontLoader.h:
11371         * lyxfunc.h:
11372         * lyxscreen.h:
11373         * text2.C:
11374         * lyxvc.C: no need to include forms.h here.
11375
11376 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11377
11378         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11379
11380         * lyxfunc.C (Dispatch):
11381         * Spacing.C (set):
11382         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11383         constructor argument.
11384
11385 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * paragraph.C (Paragraph): dont't clear, and just set layout.
11388         (makeSameLayout): use params's copy contructor.
11389
11390         * ParagraphParameters.[Ch] (makeSame): delete method
11391
11392 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * Variables.[Ch]: fix indentation, rename set to isSet
11395
11396 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * lyxfunc.C (Dispatch): fix typo
11399
11400 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11401
11402         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11403         upper_bound.
11404
11405         * bufferlist.C: include assert.h for emergencyWrite().
11406
11407 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11410           give up at last (bug #425202) !
11411
11412 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * lyx_gui_misc.C:
11415         * sp_form.h:
11416         * sp_form.C:
11417         * spellchecker.h:
11418         * spellchecker.C: strip spellchecker options and bring up
11419           preferences tab instead
11420
11421 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11424         the istringstream constructor
11425
11426 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11427
11428         * paragraph.C (getLayout): fix return value
11429
11430         * paragraph.h: do not declare getLayout as inline.
11431
11432         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11433
11434 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11435
11436         * lyxcursor.h (operator<): new func
11437         (operator>): new func
11438         (operator>=): new func
11439         (operator<=): new func
11440
11441         * text.C (changeCase): use selection.start and selection.end
11442         (changeRegionCase): require from to be <= to. Require par to be a
11443         valid paragraph.
11444
11445         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11446
11447 2001-06-27  Juergen Vigna  <jug@sad.it>
11448
11449         * text.C (cursorLeftOneWord): changed to return the cursor and added
11450         overlay with BufferView * parameter which calls this one.
11451         (getWord): added
11452         (selectWord): use new getWord function.
11453         (changeCase): renamed from changeWordCase as and extended to work
11454         also on selections.
11455
11456         * lyxtext.h: added enum word_location
11457
11458         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11459         changeCase as this operates now also on selections.
11460
11461 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11462
11463         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11464
11465         * many files: send debug output to Debug::INFO instead of
11466         Debug::ANY.
11467
11468         * converter.C (View):
11469         (Convert):
11470         (Move): send debug output to Debug::FILES instead of console.
11471
11472 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11473
11474         * lyxfunc.C (getStatus): use func_status
11475
11476         * func_status.h: new header, describing the results of
11477         LyXFunc::getStatus;
11478
11479         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11480         LFUN_MATH_HALIGN.
11481
11482 2001-06-25  The LyX Project  <jug@sad.it>
11483
11484         * buffer.C (sgmlOpenTag):
11485         (sgmlCloseTag):
11486         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11487
11488 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * text2.C: remove some dead code
11491
11492         * tabular.C (GetCellInset): store the last cell checked (gotten)
11493
11494         * tabular.h: add the helper for the speedup
11495
11496         * lyxtext.h: remove some dead code
11497
11498 2001-06-26  The LyX Project  <Asger>
11499
11500         * paragraph.C: Change export to LaTeX of alignment to
11501         \begin{center} and family for better roundtrip work with reLyX.
11502
11503         * Tune the math drawing a bit.
11504
11505 2001-06-25  The LyX Project  <Asger>
11506
11507         * LColor.C (LColor): New color for math background. New color
11508         for buttons.
11509
11510 2001-06-25  The LyX Project  <jug@sad.it>
11511
11512         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11513
11514         * lyxfunc.C (Open):
11515         * bufferlist.C (newFile): do not restrict to files ending with
11516         .lyx
11517
11518         * BufferView_pimpl.C (MenuInsertLyXFile):
11519
11520 2001-06-24  The LyX Project  <jug@sad.it>
11521
11522         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11523         of compare_no_case
11524
11525 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * lyxtext.h: rename most methods to begin with a small char.
11528         Lots of changes because of this.
11529
11530         * paragraph.C (Paragraph): do not call fitToSize
11531         (erase): call Pimpl::erase
11532         (insertChar): call Pimpl::insertChar
11533         (insertInset): call Pipl::insertInset
11534         (breakParagraph): do not call fitToSize
11535         (breakParagraphConservative): do not call fitToSize
11536         (fitToSize): remove method
11537
11538         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11539
11540 2001-06-24  The LyX Project  <Asger>
11541
11542         * Fix Qt compilation^2
11543
11544 2001-06-24  The LyX Project  <jug@sad.it>
11545
11546         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11547         depthHook(getDepth()-1).
11548
11549         * paragraph.h:
11550         * ParagraphParameters.h:
11551         * ParameterStruct.h: change type of depth to unsigned int ==
11552         depth_type. Many adaptations to other files before of that.
11553
11554 2001-06-24  The LyX Project  <Asger>
11555
11556         * Fix Qt compilation.
11557
11558 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * paragraph.h: renamed several methods to begin with small letter.
11561         several changes to many parts of the code because of this.
11562
11563 2001-06-23  The LyX Project  <jug@sad.it>
11564
11565         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11566         rewritten to discard all double spaces when KeepEmpty is off
11567         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11568         to only handle newlines but not fiddle with spaces and friends.
11569
11570         * lyxfunc.C (MenuNew): when doing 'new from template', use
11571         template_path as default directory
11572
11573 2001-06-23  The LyX Project  <Asger>
11574
11575         * Clean-up of header file includes all over
11576         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11577
11578 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * paragraph.h: renamed from lyxparagraph.h
11581
11582 2001-06-23  Asger  <lyx@violet.home.sad.it>
11583
11584         * Buffer.h: Removed Buffer::resize
11585         * BufferList.h: Removed BufferList::resize
11586         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11587         the document lazily when we change the width, or the font settings.
11588
11589 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11592
11593 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * buffer.h: remove out of date comment
11596
11597 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * lyxscreen.h:
11600         * screen.C: fix "theoretical" GC leak
11601
11602 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11603
11604         * LaTeX.C (scanAuxFile):
11605         (deplog): remove trailing \r when reading stream (useful under
11606         win32)
11607
11608 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11609
11610         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11611         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11612         and BufferView::theLockingInset(Inset*), so should use them and not
11613         access bv_->text->the_locking_inset directly.
11614
11615         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11616
11617 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11618
11619         * Makefile.am:
11620         * tex-defs.h: remove old unused file
11621
11622 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * BufferView_pimpl.C: fix typo, remove minibuffer message
11625           when buffer has loaded
11626
11627 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * lyxfunc.C (Dispatch): use stringstream
11630         (MenuNew): use stringstream
11631         (Open): use stringstream
11632
11633         * importer.C (Import): use stringstream
11634
11635         * bufferview_funcs.C (CurrentState): use stringstream
11636
11637         * LaTeX.C (run): use stringstream
11638
11639         * BufferView_pimpl.C (savePosition): use stringstream
11640         (restorePosition): use stringstream
11641         (MenuInsertLyXFile): use stringstream
11642
11643 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * BufferView.C:
11646         * Bullet.C:
11647         * ColorHandler.C:
11648         * FontInfo.C:
11649         * FontLoader.C:
11650         * LColor.C:
11651         * LaTeXFeatures.C:
11652         * Painter.C:
11653         * gettext.C:
11654         * lyx_gui_misc.C:
11655         * lyxserver.C:
11656         * vspace.C: removed // -*- C++ -*- as first line.
11657
11658         * lyxfind.h:
11659         * version.h: added // -*- C++ -*- as first line.
11660
11661 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11662
11663         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11664
11665         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11666         of string
11667
11668 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11671         of floats.
11672
11673 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11674
11675         * gettext.C: include LString.h even when --disable-nls is on.
11676
11677 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * converter.h (Get): changed argument type from int to
11680         FormatList::size_type to avoid unnecessary conversion.
11681
11682         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11683         before using it.
11684
11685 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11686
11687         * gettext.h: include LString.h even when --disable-nls is on.
11688
11689 2001-06-07  Juergen Vigna  <jug@sad.it>
11690
11691         * text.C (BreakAgain): subst spaces with tabs.
11692
11693         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11694         (resizeInsetsLyXText): set force on resizeLyXText.
11695
11696 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * gettext.h (gettext_init):
11699         (locale_init): use a real definition instead of a macro
11700
11701 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * Bufferview_pimpl.C:
11704         * LColor.h:
11705         * LColor.C: further lcolor tidies
11706
11707 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11708
11709         * BufferView_pimpl.C (updateScrollbar): simplify.
11710
11711         * BufferView2.C: don't include insets/insetinfo.h, change
11712         prototype for insertInset and call the Pimpl version. let
11713         updateInset call Pimpl version.
11714
11715         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11716         gotoInset to BufferView::Pimpl
11717
11718 2001-06-01  Juergen Vigna  <jug@sad.it>
11719
11720         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11721         inside a LockingInset (is the update needed at all?).
11722
11723 2001-05-31  Juergen Vigna  <jug@sad.it>
11724
11725         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11726         here not the old one otherwise how should we compare it afterwards
11727         if it's the same!
11728
11729 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11730
11731         * lyxfont.C:
11732         * tabular.C:
11733         * tabular-old.C:
11734         * FontInfo.C: bring C functions into global namespace when
11735         necessary
11736
11737 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11738
11739         * LString.h: make sure config.h has been loaded before LString.h.
11740
11741         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11742         (one for each char read by EatLine!).
11743
11744         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11745         variables.
11746
11747 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11750         to the same as the par we break from
11751
11752 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11755
11756         * MenuBackend.C (expand): also create menu entries for wide
11757         versions of the floats.
11758
11759         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11760
11761         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11762
11763         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11764         frontends/Makefile.am
11765
11766         * text2.C: adjust
11767         * text.C: adjust
11768
11769
11770         * tabular.C (getTokenValue): add std::
11771
11772         * tabular-old.C (getTokenValue): add std::
11773         (getTokenValue): ditto
11774         (getTokenValue): ditto
11775
11776         * screen.C (ToggleSelection): adjust
11777
11778         * lyxtext.h: put selection cursors inside a Selection struct.
11779
11780         * lyxfunc.C (moveCursorUpdate): adjust
11781
11782         * lyxfont.C (latexWriteStartChanges): add std::
11783
11784         * lyxfind.C: adjust
11785
11786         * font.h: delete with(char const *, LyXFont const &)
11787
11788         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11789
11790         * FontInfo.C (getFontname): add std::
11791
11792         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11793         (workAreaButtonPress): adjust
11794         (tripleClick): adjust
11795         (update): adjust
11796         (moveCursorUpdate): adjust
11797         (Dispatch): adjust
11798
11799         * BufferView2.C (gotoInset): adjust
11800
11801 2001-05-30  Juergen Vigna  <jug@sad.it>
11802
11803         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11804         to check pspell I add this as default as I now have new pspell
11805         libraries and they seem to use this.
11806
11807 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11808
11809         * text2.C (CutSelection): make the cursor valid before the call to
11810         ClearSelection.
11811
11812 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11813
11814         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11815         relied on 0 terminated strings and other horrors. Bug found due to
11816         the new assert in lyxstring!
11817
11818         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11819         KP_ keys.
11820
11821 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11824         to latinkeys.bind.
11825
11826         * lyxfunc.C (processKeySym): change method of getting to the
11827         self-insert char.
11828
11829         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11830         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11831         * BufferView_pimpl.[Ch]: here as private methods.
11832
11833 2001-05-28  Juergen Vigna  <jug@sad.it>
11834
11835         * text.C (SetHeightOfRow): added the update() call again as it is
11836         needed to initialize inset dimensions!
11837
11838 2001-05-16  Juergen Vigna  <jug@sad.it>
11839
11840         * text2.C (SetCharFont): Add new function with BufferView * and
11841         bool toggleall parameters for setting insets internal fonts.
11842         (SetFont): Freeze the undo as we may change fonts in Insets and
11843         all this change should be inside only one Undo!
11844
11845         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11846         setting font's in insets as for them we have the SetFont function!
11847
11848 2001-05-15  Juergen Vigna  <jug@sad.it>
11849
11850         * text2.C (ClearSelection): to be sure we REALLY don't have any
11851         selection anymore!
11852
11853         * tabular.C (TeXCellPreamble): fixed the left border problem for
11854         multicolumn cells.
11855
11856 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11857
11858         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11859         dependancy file
11860
11861 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11864         LFUN_BREAKPARAGRAPH.
11865
11866         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11867         help test to "internal only", similar for LFUN_INSERT_URL
11868
11869         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11870         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11871         auto_region_delete and deadkeys.
11872
11873 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * LColor.h:
11876         * LColor.C: remove some dead entries, tidy a little
11877
11878 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11881         commented code.
11882         (Dispatch): implement LFUN_ESCAPE
11883
11884         * commandtags.h: add LFUN_ESCAPE
11885
11886         * LyXAction.C (init): add entry for LFUN_ESCAPE
11887
11888         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11889         Remove commented code.
11890         (insertNote): moved here
11891         (open_new_inset): moved here
11892
11893         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11894         BufferView_pimpl
11895
11896 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * kbmap.C (findbinding): clean it up and make it work correctly.
11899
11900         * lyx_main.C (init): do not pass argc and argv as parameters
11901
11902 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11903
11904         * buffer.C: fix path for OS/2 & Win32
11905
11906         * lyx_gui.C:
11907         * lyx_main:
11908         * lyx_main.C: Added os:: class.
11909
11910         * os2_defines.h: update
11911
11912 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11915         better by trying again with reduced state.
11916
11917 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11918
11919         * lyxrc.C (read): print error about invalid key sequence only when
11920         debugging (because not all latinX keysyms are known to some X
11921         servers)
11922
11923         * kbsequence.C (getiso): add a few std:: qualifiers
11924         (getiso): comment out extra return statement.
11925
11926 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11929         handling.
11930         (Dispatch): enhance the accent inset a bit. (not perfect)
11931
11932 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11935
11936 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11937
11938         * bufferlist.C (emergencyWrite): fix assert() call
11939
11940 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11941
11942         * text.C (InsertChar): Added trivial patch to only send the "you
11943         can not do multiple spaces this way" message once during a
11944         session.
11945
11946 2001-05-08  Baruch Even  <baruch@lyx.org>
11947
11948         * Makefile.am: Changed order of libraries to get LyX to link properly
11949         with the gnome frontend.
11950
11951 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11952
11953         * LaTeXFeatures.h: add a std:: qualifier
11954
11955 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * paragraph.C (String): use stringstream
11958
11959 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * paragraph.C (writeFile): remove footflag arg
11962
11963         * buffer.C (makeLaTeXFile): use stringstream
11964         (latexParagraphs): remove footnot gurba
11965
11966         * LaTeXFeatures.C (getPackages): use stringstream
11967         (getMacros): likewise
11968         (getTClassPreamble): likewise
11969         (getFloatDefinitions): new method
11970
11971         * paragraph.C (writeFile): reindent
11972         (Erase): reindent
11973
11974         * WorkArea.h: revert the xpos + etc changes.
11975
11976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11977
11978         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11979
11980         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11981         (pasteSelection): likewise
11982         * text2.C (CreateUndo): likewise
11983
11984 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * minibuffer.C (peek_event): temporarily reduce the functionality
11987         of the minibuffer (to allow args on lfuns)
11988
11989         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11990         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11991
11992         * buffer.C (readInset): add compability reading of old float
11993         lists, add reading of new style float list.
11994         (readInset): avoid reevaluation of inscmd.getCmdName()
11995         (getLists): reindent
11996
11997         * MenuBackend.C (MenuItem): implement parsing of
11998         md_floatlistinsert and md_floatinsert.
11999         (expand::LastFiles): move initalizaton of iterators out of loop,
12000         avoid reevaluation.
12001         (expand::Documents): introduce typdedef vector<string> Strings,
12002         and use it.
12003         (expand::ExportFormats): introduce typedef vector<Format const *>
12004         Formats, and use it.
12005         (expand): implement FloatListInsert and FloatInsert.
12006
12007         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12008         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12009         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12010
12011         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12012         handling.
12013         (Dispatch::LFUN_FLOAT_LIST): implement
12014
12015 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12016
12017         * LaTeX.C (run): Fix problem with --export code.
12018
12019 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * BufferView.[Ch] (workarea): removed.
12022         (getClipboard) new method; wrapper for workarea()->getClipboard()
12023
12024         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12025         bug.
12026
12027         * WorkArea.h (width, height, xpos, ypos): These methods all
12028         returned the dimensions of the work_area sub-area of WorkArea,
12029         resulting in a position error if the WorkArea were resized. Now
12030         return the dimensions of the entire WorkArea.
12031
12032         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12033
12034 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12035
12036         * LaTeX.C (deplog): correct the syntax of regex reg1
12037
12038 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12039
12040         * undo.C: remove !NEW_INSETS cruft
12041
12042 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12043
12044         * text2.C: remove !NEW_INSETS cruft
12045
12046         * text.C: remove !NEW_INSETS cruft
12047
12048         * tabular.C: remove !NEW_INSETS cruft
12049
12050         * spellchecker.C: remove !NEW_INSETS cruft
12051
12052         * lyxtext.h: remove !NEW_INSETS cruft
12053
12054         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12055
12056         * lyxfunc.C: remove !NEW_INSETS cruft
12057
12058         * lyxfind.C: remove !NEW_INSETS cruft
12059
12060         * lyx_cb.C: remove !NEW_INSETS cruft
12061
12062         * figureForm.C: remove  !NEW_INSETS cruft
12063
12064         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12065
12066         * buffer.[Ch]: remove !NEW_INSETS cruft
12067
12068         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12069
12070         * CutAndPaste.C: remove !NEW_INSETS cruft
12071
12072         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12073
12074         * BufferView2.C: remove !NEW_INSETS cruft
12075
12076         * BufferView.h: remove !NEW_INSETS cruft
12077
12078 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12079
12080         * Lsstream.h: include LString.h before the sstream headers to
12081         fix problem with gcc 2.95.3 and lyxstring
12082
12083 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12084
12085         * lyx_main.C: add using directives when needed for C functions
12086         declared in std:: namespace.
12087
12088 2001-04-27  Juergen Vigna  <jug@sad.it>
12089
12090         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12091         (SetHeightOfRow): comment out the update call should not be needed!
12092
12093 2001-04-13  Juergen Vigna  <jug@sad.it>
12094
12095         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12096         (LyXTabular): tried to minimize operator= operations (and realized
12097         hopfully Lars wish).
12098
12099 2001-04-27  Juergen Vigna  <jug@sad.it>
12100
12101         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12102
12103 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12106
12107         * buffer.C (readInset): hack to make listof algorithm work
12108
12109         * BufferView_pimpl.C: hack to make listof algorithm work
12110
12111 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * LyXAction.C: removed all !NEW_INSETS cruft
12114         (init): moved lfun_item in method
12115
12116         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12117
12118 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12119
12120         * BufferView2.C (theLockingInset): white space.
12121
12122 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12123
12124         * minibuffer.C: include <iostream>
12125
12126         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12127
12128         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12129
12130         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12131
12132         * text.[Ch] (TransposeChars): new method
12133
12134 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * call message directly through LyXView instead of through LyXFunc
12137         * BufferView2.C: adjust
12138         * BufferView_pimpl.C: adjust
12139         * FontLoader.C: adjust
12140         * buffer.C: adjust
12141         * bufferview_funcs.C: adjust
12142         * converter.C: adjust
12143         * figureForm.C: adjust
12144         * importer.C: adjust
12145         * lyx_cb.C: adjust
12146         * lyx_gui_misc.C: adjust
12147         * lyxfunc.C: adjust
12148         * lyxvc.C: adjust
12149         * text2.C: adjust
12150         + more files in subdirs
12151
12152         * lyxparagraph.h (size): move up int file
12153         (GetLayout): ditto
12154
12155         * adjust all uses of Assert to lyx::Assert.
12156
12157         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12158         lyxfunctional in namespace lyx
12159         * layout.C (hasLayout): ditto
12160         (GetLayout): ditto
12161         (GetLayout): ditto
12162         (delete_layout): ditto
12163         (NumberOfClass): ditto
12164         * converter.C (GetFormat): ditto
12165         (GetNumber): ditto
12166         (Add): ditto
12167         (Delete): ditto
12168         (SetViewer): ditto
12169         * bufferlist.C (getFileNames): ditto
12170         (emergencyWriteAll): ditto
12171         (exists): ditto
12172         (getBuffer): ditto
12173         * MenuBackend.C (hasSubmenu): ditto
12174         (hasMenu): ditto
12175         (getMenu): ditto
12176         * BufferView_pimpl.C (getInsetByCode): ditto
12177
12178 2001-04-18  Juergen Vigna  <jug@sad.it>
12179
12180         * vspace.C (asLatexString): fixed the 100% problem.
12181
12182 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * lyxfunc.C (Dispatch):
12185         * minibuffer.C:
12186         * minibuffer.h: add a few std:: qualifiers
12187
12188 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * minibuffer.[Ch]: reimplement so that commands is initiated and
12191         run from lyxfunc, simplified som handling, and made the completion
12192         and history code for complete. wip.
12193
12194         * lyxfunc.C (processKeySym): call message
12195         (miniDispatch): new temporary method
12196         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12197         (LFUN_MESSAGE): implement
12198         (LFUN_MESSAGE_PUSH): implement
12199         (LFUN_MESSAGE_POP): implement
12200         (initMiniBuffer): the initial/defualt minibuffer message.
12201
12202         * lyxfont.[Ch]: inline some more getters
12203
12204         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12205
12206         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12207
12208         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12209         (AutoSave): use LFUN_MESSAGE
12210         (Reconfigure): ditto
12211
12212         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12213
12214         * figureForm.C: use LFUN_MESSAGE
12215
12216         * converter.C (runLaTeX): use LFUN_MESSAGE
12217
12218         * bufferview_funcs.C: use LFUN_MESSAGE
12219         (Melt): ditto
12220         (changeDepth): ditto
12221
12222         * bufferparams.h: use boost::
12223
12224         * bufferlist.h: inherit privately from noncopyable
12225
12226         * bufferlist.C (loadLyXFile): remove some commented code.
12227
12228         * buffer.C (runChktex): use LFUN_MESSAGE
12229
12230         * ShareContainer.h: inherit privately from noncopyable
12231
12232         * ParagraphParameters.[hC] (depth): inline it.
12233
12234         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12235         methods.
12236         (message): new method
12237         (messagePush): ditto
12238         (messagePop): ditto
12239         (show): init minibuffer
12240         (showState): direct call
12241
12242         * LaTeX.[Ch]: inherit privately from noncopyable
12243         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12244         instead of WriteStatus.
12245
12246         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12247
12248         * BufferView_pimpl.C (buffer): don't init minibuffer
12249         (workAreaButtonPress): use LFUN_MESSAGE
12250         (workAreaButtonRelease): ditto
12251         (savePosition): ditto
12252         (restorePosition): ditto
12253         (MenuInsertLyXFile): ditto
12254         (workAreaExpose): don't init minibuffer
12255         (update): remove commented code, simplify
12256
12257         * BufferView2.C (openStuff): use LFUN_MESSAGE
12258         (toggleFloat): ditto
12259         (menuUndo): ditto
12260         (menuRedo): ditto
12261         (copyEnvironment): ditto
12262         (pasteEnvironment): ditto
12263         (copy): ditto
12264         (cut): ditto
12265         (paste): ditto
12266         (gotoInset): ditto
12267         (updateInset): remove some commented code
12268
12269         * lastfiles.h: inherit privately from noncopyable
12270         * layout.h: ditto
12271         * lyx_gui.h: ditto
12272         * lyx_main.h: ditto
12273         * lyxlex.h: ditto
12274         * lyxlex_pimpl.h: ditto
12275
12276         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12277         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12278         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12279
12280         * LyXAction.h: inherit privately from noncopyable, add methods
12281         func_begin, func_end, returning iterators to the func map.
12282
12283         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12284         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12285         (func_begin): new method
12286         (func_end): new method
12287
12288         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12289         and not)
12290         (copySelection): ditto
12291         (pasteSelection): ditto
12292
12293         * BufferView.C: whitespace change
12294         * BufferView.h: inherit privately from noncopyable
12295
12296 2001-04-16  Allan Rae  <rae@lyx.org>
12297
12298         * tabular-old.C (l_getline):
12299         * spellchecker.C (sc_check_word):
12300         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12301         an unrecognised preprocessor directive.  So ensure they're wrapped.
12302
12303 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12304
12305         * src/exporter.C (Export): Give an error message when path to file
12306         contains spaces.
12307
12308 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12309
12310         * LaTeX.C (deplog): Always check that foundfile exists.
12311
12312 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * lyx_main.h:
12315         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12316
12317 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12318
12319         * tabular.[Ch] (getLabelList): implement new method
12320
12321         * minibuffer.h: comment ouf setTiimer
12322
12323         * minibuffer.C (ExecutingCB): constify res
12324         (peek_event): constify s
12325         (Set): constify ntext
12326         (Init): constify nicename
12327
12328         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12329
12330         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12331         (savePosition): use two params to Minibuffer::Set
12332         (restorePosition): ditto
12333
12334 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12335
12336         * lyx_main.C: include language.h
12337
12338         * Makefile.am (lyx_main.o): add language.h
12339
12340 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * exporter.C:
12343         * paragraph.C:
12344         * screen.C:
12345         * tabular.C:
12346         * CutAndPaste.C: include gettext.h
12347
12348         * lyxfont.h: remove old hack with ON and OFF.
12349
12350         * lyxparagraph.h:
12351         * lyxfont.h: do not include language.h...
12352
12353         * BufferView2.C:
12354         * LaTeXFeatures.C:
12355         * Painter.C:
12356         * bufferview_funcs.C:
12357         * font.C:
12358         * lyxfont.C:
12359         * text.C:
12360         * text2.C:
12361         * trans_mgr.C:
12362         * paragraph.C: ... but do it here instead
12363
12364 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12365
12366         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12367
12368         * tabular.C: small reformat
12369
12370         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12371         NEW_INSETS version
12372         (GetChar): ditto
12373         (BreakParagraph): ditto
12374         (SetOnlyLayout): ditto
12375         (SetLayout): ditto
12376
12377         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12378         with one arg less.
12379
12380         * lastfiles.C: removed most using decl, add std:: where needed
12381
12382         * buffer.C: ws changes
12383
12384         * MenuBackend.C (class compare_format): put into anon namespace
12385         (expand): constify label, names, action, action2
12386         (expand):
12387
12388         * text.C (SingleWidth): constify font
12389         (IsBoundary): constify rtl2
12390         (GetVisibleRow): constify ww
12391
12392         * LaTeX.C (deplog): constify logfile
12393
12394         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12395         start_x, end_x
12396         (workAreaExpose): constify widthChange, heightChange
12397
12398         * lyxrow.C (par): moved
12399         (height): moved
12400         (next): moved
12401         * lyxrow.h: as inlines here
12402
12403         * lyxfont.h (shape): moved from lyxfont.C
12404         (emph): moved from lyxfont.C
12405
12406         * lyxfont.C (LyXFont): use initialization list for all
12407         constructors
12408         (shape): move to lyxfont.h as inline
12409         (emph): move to lyxfont.h as inline
12410
12411
12412 2001-04-04  Juergen Vigna  <jug@sad.it>
12413
12414         * vspace.C: had to include stdio.h for use of sscanf
12415
12416 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12417
12418         * BufferView.h:
12419         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12420         independent of xforms.
12421
12422 2001-04-02  Juergen Vigna  <jug@sad.it>
12423
12424         * spellchecker.C: fixed namespace placing!
12425
12426 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12427
12428         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12429         the LyXParagraph * is 0.
12430
12431 2001-03-29  Juergen Vigna  <jug@sad.it>
12432
12433         * vspace.C: added support for %, c%, p%, l%.
12434         (stringFromUnit): added helper function.
12435         (asLatexString): changed to give right results for the %-values.
12436
12437         * buffer.C: convert the widthp in a width%.
12438
12439 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12442         figureForm.[Ch].
12443
12444         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12445         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12446
12447         * lyx_cb.[Ch]: see above.
12448
12449         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12450         form1.[Ch].
12451
12452         * form1.[Ch]:
12453         * lyx.[Ch]: replaced by figure_form.[Ch].
12454
12455         * lyx_gui.C:
12456         * lyx_gui_misc.C:
12457         * lyxfunc.C: changed headers associated with above changes.
12458
12459 2001-03-27  Juergen Vigna  <jug@sad.it>
12460
12461         * BufferView_pimpl.C: set the temporary cursor right!
12462
12463 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12466
12467 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * LString.h: removed "using std::getline"!
12470
12471         * BufferView_pimpl.C (Dispatch): changes due to changes in
12472         InsetInclude::Params.
12473
12474         * buffer.C (tag_name): removed redundant break statements as they were
12475         producing lots of warnings with my compiler.
12476
12477 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * LString.h: add "using std::getline" when using the real <string>.
12480
12481 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12482
12483         * buffer.C: removed bitset usage.
12484         PAR_TAG moved to an anonymous name space.
12485         (tag_name): new funtion, also in the anonymous namespace.
12486         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12487         (makeDocBookFile): clean code. Completed transition from string arrays
12488         to string vectors.
12489         (SimpleDocBookOnePar): code clean.
12490
12491 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12492
12493         * tabular.C: add some comments.
12494
12495 2001-03-22  Juergen Vigna  <jug@sad.it>
12496
12497         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12498         compatibility read a bit and fixed bug with minipage in different
12499         depth.
12500
12501 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12502
12503         * buffer.C (pop_tag): removed.
12504         (push_tag): removed.
12505         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12506         array replaced with vector. Added support for CDATA sections.
12507         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12508         at any nest level.
12509         (makeDocBookFile): XML conformant declaration of CDATA section,
12510         fixed bug related to <emphasis> in the first paragraph char.
12511         (sgmlOpenTag): exclude empty tags.
12512         (sgmlCloseTag): ditto.
12513
12514         * buffer.h (pop_tag): removed.
12515         (push_tag): removed.
12516
12517 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12518
12519         * language.h (Languages): added size_type and size().
12520
12521 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12522
12523         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12524         response on compability reading of minipages. One probliem is that
12525         the old usage of minipages was «flertydig»
12526
12527         * several files here and in subdirs: don't use static at file
12528         scope use anon namespaces instead.
12529
12530 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12531
12532         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12533         LaTeX output. This is necessary for Literate document
12534         processing.
12535
12536 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12537
12538         * buffer.C: insert hfill when needed.
12539
12540         * tabular.C (l_getline): use string::erase, small whitespace change.
12541
12542         * BufferView_pimpl.C: try the anon namespace.
12543         * WorkArea.C: ditto
12544
12545 2001-03-16  Juergen Vigna  <jug@sad.it>
12546
12547         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12548         otherwise it won't open options-dialogs.
12549
12550         * buffer.C: honor pextraWidth(p) on converting minipages.
12551
12552         * tabular.C (l_getline): changed the functions to strip trailing \r.
12553
12554 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12555
12556         * BufferView_pimpl.C:
12557         * minibuffer..C: added "using SigC::slot" declaration.
12558
12559 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12560
12561         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12562
12563         * text2.C: ditto
12564
12565         * text.C: ditto
12566
12567         * paragraph.C: ditto
12568
12569         * lyxtext.h: NO_PEXTRA
12570
12571         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12572
12573         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12574         * ParameterStruct.h: ditto
12575         * ParagraphParameters.h: ditto
12576         * lyxparagraph.h: ditto
12577
12578 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12579
12580         * buffer.C: add compability for minipage alignment.
12581         (latexParagraphs): remove unwanted pextra check.
12582
12583         * several files: remove CXX_WORKING_NAMESPACES
12584
12585         * buffer.C (pop_tag): tie is in namespace boost
12586
12587         * BufferView.h: noncopyable is in namespace boost
12588         * lyxlex.h: ditto
12589         * lyx_main.h: ditto
12590         * lyx_gui.h: ditto
12591         * layout.h: ditto
12592         * lastfiles.h: ditto
12593         * bufferlist.h: ditto
12594         * ShareContainer.h: ditto
12595         * LyXView.h: ditto
12596         * LyXAction.h: ditto
12597         * LaTeX.h: ditto
12598
12599 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12600
12601         * Merging changes from BRANCH_MVC back into HEAD.
12602
12603         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12604
12605 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * BufferView_pimpl.C: change from intl.C
12608
12609         * combox.h:
12610         * combox.C:
12611         * Makefile.am: move combox.*
12612
12613         * form1.h:
12614         * form1.C:
12615         * lyx_gui.C:
12616         * intl.h:
12617         * intl.C: remove dialog (covered by prefs)
12618
12619 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12620
12621         * lyxfunc.C (Dispatch): removed redundant break statement.
12622
12623 2001-03-14  Juergen Vigna  <jug@sad.it>
12624
12625         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12626
12627 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12628
12629         * buffer.C: add hack to fix compability reading of minipages.
12630
12631 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12632
12633         * buffer.C (getLists): Cleanup.
12634
12635 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * lyxfont.C (update): don't honor toggleall on font size.
12638
12639 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * bmtable.c:
12642         * bmtable.h:
12643         * Makefile.am: moved to frontends/xforms/
12644
12645         * lyx_gui_misc.C:
12646         * lyxfunc.C:
12647         * BufferView_pimpl.C: changes for moved mathpanel
12648
12649 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * gettext.h: fix gettext_init() in --disable-nls
12652
12653 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12654
12655         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12656
12657 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * lyx.C:
12660         * lyx.h: strip external form
12661
12662 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * BufferView_pimpl.C: add comment, destroySplash()
12665
12666 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12667
12668         * BufferView_pimpl.C:
12669         * LyXAction.C:
12670         * buffer.C:
12671         * commandtags.h:
12672         * lyxfunc.C: use re-worked insetinclude
12673
12674 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12675
12676         * buffer.C: add using std::stringstream.
12677
12678         * lyx_cb.C: readd using std::ios.
12679
12680         * buffer.C: add using std::map.
12681
12682         * BufferView_pimpl.C: add using std::vector.
12683
12684         * ShareContainer.h: add std:: to swap.
12685
12686         * buffer.h: add some typedefs
12687         * buffer.C (getLists): use them
12688         (getLists): renamed from getTocList.
12689         add a counter for the different float types and use it in the
12690         generated string.
12691         (getLists): use the same counter for the NEW_INSETS and the "non"
12692         NEW_INSETS
12693
12694         * lyx_cb.h: remove unused items, includes, using etc.
12695
12696         * ShareContainer.h: remove some commented code, add more comments
12697         and "documentation".
12698
12699 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12700
12701         * buffer.C (getTocList): make the list also when NEW_INSETS is
12702         defined.
12703
12704         * buffer.h: remove TocType
12705
12706         * buffer.C (getTocList): change to return a map<string,
12707         vector<TocItem> >, implement for dynamic number of list.
12708
12709         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12710         * text2.C (PasteSelection): adjust
12711         * CutAndPaste.C (pasteSelection): adjust
12712
12713         * FloatList.C (FloatList): update from the new_insets branch.
12714         * Floating.[Ch]: ditto
12715         * LaTeXFeatures.C: ditto
12716         * buffer.C: ditto
12717         * lyxlex_pimpl.C: ditto
12718
12719         * paragraph.C (Last): remove when NEW_INSETS is defined.
12720
12721         * other file: changes because of the above.
12722
12723 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12724
12725         * lyxparagraph.h: rename next to next_, previous to previous_,
12726         make them private for NEW_INSETS. Rename Next() to next(),
12727         Previous() to previous().
12728
12729         * other files: changes because of the above.
12730
12731 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12732
12733         * BufferView.h:
12734         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12735         problem.
12736
12737 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12738
12739         * main.C (main): pass lyx_localedir to gettext_init().
12740
12741         * gettext.h: remove locale_init and gettext_init macros
12742
12743         * gettext.C (locale_init): new function
12744         (gettext_init): new function
12745
12746         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12747         setlocale().
12748
12749 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12750
12751         * Moved credits to frontends:
12752         * credits.[Ch]: removed
12753         * credits_form.[Ch]: removed
12754         * lyx_gui_misc.C: remove credits stuff
12755         * Makefile.am:
12756
12757 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12758
12759         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12760
12761         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12762         unneeded destructor.
12763
12764         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12765         a standalone pointer again.
12766
12767         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12768
12769 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * Makefile.am:
12772         * filedlg.h:
12773         * filedlg.C:
12774         * LyXAction.C:
12775         * ToolbarDefaults.C:
12776         * bufferlist.C:
12777         * commandtags.h:
12778         * form1.C:
12779         * form1.h:
12780         * lyx_cb.C:
12781         * lyx_cb.h:
12782         * lyxfunc.h:
12783         * lyxfunc.C:
12784         * BufferView_pimpl.C: use new file dialog in GUII
12785
12786         * lyx_cb.h:
12787         * lyx_cb.C: remove LayoutsCB to Toolbar
12788
12789 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12790
12791         * ShareContainer.h (get): add std:: qualifier
12792
12793 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * ShareContainer.h: define a proper ShareContainer::value_type
12796         type (and use typename to please compaq cxx)
12797
12798 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12799
12800         * lyxparagraph.h: move serveral local vars to
12801         ParameterStruct/ParagraphParameters., use ShareContainer in
12802         FontTable., make vars in FontTable private and add getter and
12803         setter.
12804
12805         * paragraph.C: changes because of the above.
12806
12807         * lyxfont.h: remove copy constructor and copy assignment. (the
12808         default ones is ok), move number inside FontBits. move inlines to
12809         lyxfont.C
12810
12811         * lyxfont.C: add number to initializaton of statics, move several
12812         inlines here. constify several local vars. some whitespace
12813         cleanup. Dont hide outerscope variables.
12814
12815         * Spacing.h: add two new constructors to match the set methods.
12816
12817         * ShareContainer.h: new file, will perhaps be moved to support
12818
12819         * ParameterStruct.h: new file
12820
12821         * ParagraphParameters.h: new file
12822
12823         * ParagraphParameters.C: new file
12824
12825         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12826         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12827
12828         * BufferView_pimpl.C: ParagraphParameter changes.
12829         * buffer.C: Likewise.
12830         * bufferview_funcs.C: Likewise.
12831         * text.C: Likewise.
12832         * text2.C: Likewise.
12833
12834 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12835
12836         * lyxfind.C (LyXReplace): do not redefine default argument in
12837         implementation.
12838         (IsStringInText): ditto
12839         (SearchForward): ditto
12840         (SearchBackward): ditto
12841
12842 2001-03-06  Juergen Vigna  <jug@sad.it>
12843
12844         * lyxfind.C (IsStringInText): put parentes around expressions.
12845
12846 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12847
12848         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12849
12850 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12851
12852         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12853
12854         * stl_string_fwd.h: add comment
12855
12856         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12857
12858         * tabular.h:
12859         * tabular.C: remove unused DocBook methods
12860
12861         * intl.C:
12862         * language.C:
12863         * paragraph.C:
12864         * buffer.C:
12865         killed DO_USE_DEFAULT_LANGUAGE
12866
12867 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12868
12869         * lyx_gui.C: do not include language.h.
12870
12871         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12872         arguments in function implementation.
12873
12874 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12875
12876         * BufferView_pimpl.C: add <ctime>
12877
12878 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12879
12880         * BufferView_pimpl.C: add using std::find_if
12881
12882 2001-02-27  José Matos  <jamatos@fep.up.pt>
12883
12884         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12885         by OnlyPath.
12886
12887 2001-02-11  José Matos  <jamatos@fep.up.pt>
12888
12889         * buffer.C (makeDocBookFile): command styles now have a parameter as
12890         "title" by default.
12891
12892 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12893
12894         * layout_forms.[Ch]: removed
12895         * lyx_cb.[Ch]: out character
12896         * lyx_gui.C: out character
12897         * lyx_gui_misc.C: out character
12898         * bufferview_funcs.C: : out character,
12899         added toggleall as parameter in ToggleAndShow
12900
12901 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12902
12903         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12904
12905         * text2.C (SetCurrentFont): Disable number property at boundary.
12906
12907 2001-02-26  Juergen Vigna  <jug@sad.it>
12908
12909         * lyxfunc.C (getStatus): added a string argument override function so
12910         that this is correctly called from LyXFunc::Dispatch if it contains a
12911         do_not_use_argument which is used!
12912         (Dispatch): added check for "custom" export and call appropriate func.
12913
12914 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * lyxrc.C: Add language_command_local, language_use_babel and
12917         language_global_options.
12918
12919         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12920
12921         * buffer.C (makeLaTeXFile): Use language_use_babel and
12922         language_global_options.
12923
12924 2001-02-23  Juergen Vigna  <jug@sad.it>
12925
12926         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12927         which works with LyXText and putted it inside BufferView. Here now we
12928         only call for that part the BufferView::Dispatch() function.
12929
12930         * BufferView.C (Dispatch): added.
12931
12932         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12933         functions which needs to use a LyXText over from LyXFunc.
12934         (MenuInsertLyXFile): added
12935         (getInsetByCode): added
12936         (moveCursorUpdate): added
12937         (static TEXT): added
12938
12939 2001-02-22  Juergen Vigna  <jug@sad.it>
12940
12941         * BufferView_pimpl.C (update): call a status update to see if LyXText
12942         needs it.
12943
12944 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12945
12946         * vc-backend.C (revert): implement for CVS
12947         (getLog): implement for CVS
12948
12949 2001-02-20  Juergen Vigna  <jug@sad.it>
12950
12951         * text2.C (ClearSelection): added BufferView param for inset_owner call
12952
12953         * lyxfunc.C (TEXT): added this function and use it instead of
12954         directly owner->view()-text of getLyXText().
12955
12956 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12957
12958         * src/layout_forms.C: out preamble
12959         * src/layout_forms.h: out preamble
12960         * src/lyx_cb.C: out preamble
12961         * src/lyx_cb.h: out preamble
12962         * src/lyx_gui.C: out preamble
12963         * src/lyx_gui_misc.C: out preamble
12964         * src/lyxfunc.C: connect with guii preamble
12965
12966 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12967
12968         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12969
12970 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12973         whether to run bibtex.
12974
12975 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12976
12977         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12978
12979 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12980
12981         * Makefile.am (lyx_SOURCES): removed bibforms.h
12982
12983         * vspace.h: doxygen
12984
12985         * text.C (GetVisibleRow): make several local vars const
12986
12987         * tabular.C: small cleanup.
12988
12989         * lyxserver.C (callback): use compare instead of strncmp
12990
12991         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12992         inlines to after class or to paragraph.C
12993
12994         * lyxfont.h: remove friend operator!=
12995
12996         * converter.h: move friend bool operator< to non friend and after
12997         class def.
12998
12999         * combox.h: small cleanup
13000
13001         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13002         to inlines after class def.
13003
13004         * buffer.C (pop_tag): use string operations instead of strcmp
13005
13006         * bmtable.c: doxygen, small cleanup
13007
13008         * LaTeX.h: remove friend operator==
13009
13010 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13011
13012         * screen.C:
13013         * lyxrc.[Ch]:
13014         * lyxfunc.C:
13015         * lyxfont.[Ch]:
13016         * lyx_cb.C:
13017         * intl.[Ch]:
13018         * commandtags.h:
13019         * buffer.C:
13020         * WorkArea.[Ch]:
13021         * LyXAction.C:
13022         * BufferView_pimpl.C:
13023         * BufferView.[Ch]: remove cruft
13024
13025 2001-02-14  Juergen Vigna  <jug@sad.it>
13026
13027         * lyxfunc.C: removed #if 0 unused code
13028
13029         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13030
13031         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13032
13033         * text2.C (SetSelection): added a BufferView * parameter
13034
13035 2001-02-13  Juergen Vigna  <jug@sad.it>
13036
13037         * lyxfunc.C (Dispatch): fixed protected blank problem.
13038         * BufferView2.C (protectedBlank): added LyxText * parameter.
13039
13040         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13041         (AppendColumn): same as above for column_info.
13042
13043         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13044         (moveCursorUpdate): use a LyXText param for support of InsetText.
13045
13046         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13047         (tripleClick): ditto
13048
13049         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13050
13051         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13052
13053         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13054
13055         * text2.C (SetSelection): set correct update status if inset_owner
13056         (ToggleFree): ditto
13057
13058 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13059
13060         * tabular.C: remove some commented code.
13061
13062 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * BufferView_pimpl.C: call hideSplash()
13065
13066         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13067
13068         * include_form.h:
13069         * bibforms.h: remove
13070
13071         * lyxfunc.C:
13072         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13073           add LFUN_CHILD_CREATE
13074
13075         * counters.h: fix tiny typo
13076
13077         * lyx_cb.C:
13078         * lyx.h:
13079         * lyx_gui.C:
13080         * lyx.C: move splash to frontends/xforms/
13081
13082         * lyx_gui_misc.C: move Include and Bibform to frontends
13083
13084         * lyxvc.h: clarify comment
13085
13086         * vspace.C: tiny housekeeping
13087
13088 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13089
13090         * text.C (PrepareToPrint): RTL Fix.
13091
13092         * paragraph.C (GetUChar): New method.
13093         (String):  Use GetUChar.
13094
13095         * buffer.C (asciiParagraph): Use GetUChar.
13096
13097 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13098
13099         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13100
13101 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * buffer.h:
13104         * buffer.C: rename to getLogName(), handle
13105           build log / latex log nicely
13106
13107 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13108
13109         * MenuBackend.C:
13110         * MenuBackend.h: remove support for reference menuitem type.
13111
13112 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * BufferView_pimpl.C: housekeeping
13115         * BufferView_pimpl.h:
13116         * LyXView.h:
13117         * Makefile.am:
13118         * Timeout.C:
13119         * Timeout.h:
13120         * minibuffer.h: move Timeout GUI-I
13121
13122 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13123
13124         * lyxrc.C (read): Update converters data-structures.
13125
13126 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13127
13128         * LaTeX.h (operator!=): add operator != for Aux_Info
13129
13130 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13131
13132         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13133
13134         * LaTeXLog.C: deleted, useful code moved to Buffer
13135
13136         * buffer.h:
13137         * buffer.C: new function getLatexLogName()
13138
13139         * lyx_gui_misc.C:
13140         * lyx_gui.C:
13141         * lyxvc.C:
13142         * lyxvc.h:
13143         * lyxfunc.C: use frontends for LaTeX and VC logs
13144
13145 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13146
13147         * LaTeX.h: yet another std:: that Allan forgot.
13148
13149         * Variables.C (set): renamed from isset(), because this clashes
13150         with some HP-UX macros (grr).
13151
13152 2001-02-06  Allan Rae  <rae@lyx.org>
13153
13154         * LaTeX.h: Another bug fix.  Missing std:: this time.
13155
13156 2001-02-04  Allan Rae  <rae@lyx.org>
13157
13158         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13159         floats problem. I've left it commented out because it's not quite
13160         correct.  It should also test that the current object is a table or
13161         figure inset.  But I haven't gotten around to figuring out how to do
13162         that.  I *think* it'll be something like: "table" == inset.type()
13163
13164         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13165         bool.
13166
13167 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13168
13169         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13170         all the citation/databases/styles in the auxilary file.
13171         (run): Rerun latex if there was a babel language error.
13172
13173 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13174
13175         * text.C (Backspace): Preserve the font when changing newline char
13176         with a space.
13177         (BreakParagraph): If the cursor is before a space, delete the space.
13178
13179         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13180
13181 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13182
13183         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13184         new argument (code).
13185         (ChangeCitationsIfUnique): New method.
13186
13187         * paragraph.C (GetPositionOfInset): Handle bibkey.
13188
13189 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13190
13191         * BufferView_pimpl.h: change type of Position::par_pos to
13192         LyXParagraph::size_type.
13193
13194 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13195
13196         * BufferView_pimpl.C (savePosition, restorePosition): Write
13197         messages to minibuffer.
13198
13199 2001-01-28  José Matos  <jamatos@fep.up.pt>
13200
13201         * buffer.C (makeDocBookFile): adds support for document language.
13202         A silly restriction on the name of LatexCommand types where removed.
13203         Added support for CDATA sections, allows to chars unescaped, used
13204         among others in code, to avoid escape < and >.
13205
13206 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13209         saved positions instrad of a stack. Furthermore, a position is
13210         stored using paragraph id/paragraph position.
13211
13212         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13213         Remove LFUN_REF_BACK.
13214
13215 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13216
13217         * converter.C (dvipdfm_options): New method.
13218
13219 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13220
13221         * vspace.C (isValidLength): Fix for empty input string.
13222
13223 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * LyXAction.C (init): change description of LFUN_FIGURE to
13226         "Insert Graphics"
13227
13228 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * LaTeX.C: add using directive
13231
13232 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13233
13234         * MenuBackend.C (expand): Fix the sorting of the formats.
13235
13236 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * lyx_main.C: tiny error message fix
13239
13240 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13243         calling fl_initialize(). This fixes the problem with ',' as
13244         decimal separator in text files.
13245
13246 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13247
13248         * trans.C (process): Fix the keymap bug.
13249
13250 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13251
13252         * LaTeX.C (scanAuxFiles): New method. Provides support for
13253         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13254         (scanLogFile) Scan for "run BibTeX" messages.
13255
13256         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13257         OT1 font encoding. Also, load the aecompl package if the ae
13258         package is loaded.
13259
13260         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13261
13262 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * texrow.C (increasePos): turn two error messages into debug
13265         messages.
13266
13267 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * LaTeX.C (scanAux): Handle the \@input macro.
13270         (runBibTeX): Use scanAux().
13271
13272         * language.C (latex_options_): New field.
13273
13274         * LaTeXFeatures.C (getMacros): Add language macros.
13275
13276         * buffer.C (makeLaTeXFile): Small fix.
13277
13278 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13281
13282         * text2.C: add a using directive.
13283
13284 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * BufferView2.C:
13287         * lyx_gui_misc.h:
13288         * lyxfr1.C:
13289         * lyxfunc.C: kill LyXBell.
13290
13291 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13292
13293         * text.C (IsBoundary): Remove the error message
13294
13295         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13296
13297         * lyxrc.C (setDefaults): Correct initialization value for
13298         font_norm_type.
13299
13300 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13301
13302         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13303         gotoError().
13304
13305         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13306         and GotoNextNote().
13307
13308         * src/LyXAction.C: Added reference-next.
13309
13310         * text.C (InsertChar): Use contains instead of strchr.
13311
13312         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13313
13314 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13317         alignment commands (when needed).
13318
13319         * text.C (InsertChar): Add ':' to number separator chars.