]> git.lyx.org Git - features.git/blob - src/ChangeLog
Fix bug 1323
[features.git] / src / ChangeLog
1 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2
3         * paragraph_funcs.C (readParToken): report unknown insets as error
4         boxes. Use the outer paragraph as location (also for unknown
5         tokens).
6
7         * factory.C (readInset): do not abort on reading an unknown inset. 
8         Eat it and return 0.
9
10 2003-10-13  Angus Leeming  <leeming@lyx.org>
11
12         * lyx_main.C (LyX): remove call to setDisplayTranslator().
13
14         * lyxrc.C: displayTranslator is now a function,
15         declared in GraphicsTypes.h.
16
17 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
18
19         * format.C: new placeholder $$a to pass the socket address.
20
21         * bufferlist.[Ch]: new function getBufferFromTmp.
22
23         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
24           files in the temporary dir.
25
26 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
27
28         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
29
30         * Makefile.am: add lyxsocket.[Ch].
31
32         * lyx_main.C (error_handler): handle SIGPIPE.
33
34 2003-10-13  André Pönitz  <poenitz@gmx.net>
35
36         * BufferView_pimpl.C:
37         * lyxtext.h:
38         * text.C:
39         * text2.C:
40         * text3.C:
41         * undo_funcs.[Ch]: use paroffset_type instead of
42           ParagraphList::iterators to prevent multiple conversion
43           (and get a more robust interface)
44
45 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
46
47         * lyxfunc.C (dispatch): RESULT -> dispatch_result
48         * lyxtext.h: ditto
49         * text3.C (dispatch): ditto
50
51 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
52
53         * LaTeX.C (handleFoundFile): move the static to smaller scope,
54         move the onlyfile, use onlyfile instead of foundfile in a couple
55         of places.
56
57         * DepTable.C (update): flush the error stream a bit more
58
59 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
60
61         * lyxserver.C (callback): adjust
62
63         * lyxfunc.C (getStatus): add a missing brace in commented code
64         (ensureBufferClean): reindent
65         (dispatch): delete version taking a string
66
67 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
68
69         * LaTeX.C (deplog): move found file handlig from here...
70         (handleFoundFile): .. to new function here.
71         (deplog): make sure to discover several files mentioned on the
72         same log line.
73
74 2003-10-10  André Pönitz  <poenitz@gmx.net>
75
76         * lyxfunc.C:
77         * lyxtext.h:
78         * tabular.C:
79         * text.C:
80         * text2.C:
81         * text3.C: fix some of the tabular crashes
82
83 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
84
85         * MenuBackend.C (binding): put debug message into Debug::KBMAP
86
87         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
88
89 2003-10-09  André Pönitz  <poenitz@gmx.net>
90
91         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
92
93         * BufferView.C:
94         * BufferView_pimpl.C:
95         * bufferview_funcs.C:
96         * lyx_cb.C:
97         * lyxcursor.C:
98         * lyxfind.C:
99         * lyxfunc.C:
100         * lyxtext.h:
101         * text.C:
102         * text2.C:
103         * text3.C:
104         * text_funcs.[Ch]:
105         * textcursor.[Ch]:
106         * undo_funcs.C: adjust
107
108 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
109
110         * text2.C (incrementItemDepth): new function, use a backtracking
111         algorithm to discover the correct item depth.
112         (resetEnumCounterIfNeeded): new function, use a backtracking
113         algorithm to discover if counter reset is needed.
114         (setCounter): use them. Simplify a bit. Add different labels for
115         different item depths for itemize.
116
117         * paragraph.C (Paragraph): remove initialization of enumdepth
118         (operator=): ditto
119
120         * paragraph.h: get rid of enumdepth, and use itemdepth both for
121         enumerate and itemize. Change the type of itemdepth to signed char.
122
123 2003-10-08  André Pönitz  <poenitz@gmx.net>
124
125         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
126           thing assignable.
127         * text.C:
128         * text2.C: adjust
129
130         * tabular.[Ch]: fix crash after 'row-insert'
131
132 2003-10-08  Angus Leeming  <leeming@lyx.org>
133
134         Fix doxygen warnings.
135
136         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
137         Remove CutAndPaste:: prefix from header file declaration.
138
139         * LColor.h (fill): remove LColor:: prefix from declaration.
140
141         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
142         use lyx::depth_type rather than Paragraph::depth_type so that
143         header file and .C file match.
144
145         * converter.h (intToFormat): remove Converters:: prefix from declaration.
146
147         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
148         * aspell.C: \file aspell_local.C -> \file aspell.C
149         * gettext.C: \file gettext.C -> \file src/gettext.C
150         * gettext.h: \file gettext.h -> \file src/gettext.h
151         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
152         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
153         * text.C: \file text.C -> \file src/text.C
154
155         * toc.C: move comment so that doxygen is not confused.
156
157 2003-10-07  Angus Leeming  <leeming@lyx.org>
158
159         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
160
161 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162
163         * aspell.C:
164         * aspell_local.h: add forgotten std::string's.
165
166 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
167
168         * LaTeXFeatures.C:
169         * LyXAction.C:
170         * factory.C:
171         * lfuns.h:
172         * lyxfunc.C:
173         * text3.C: The Box patch. Fancybox support, minipage, parbox
174
175 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
176
177         * CutAndPaste.h:
178         * DepTable.h:
179         * FloatList.h:
180         * LaTeXFeatures.h:
181         * ParagraphParameters.h:
182         * TextCache.h:
183         * Thesaurus.h:
184         * bufferlist.h:
185         * exporter.h:
186         * importer.h:
187         * lastfiles.h:
188         * lyxfind.h:
189         * lyxfont.h:
190         * lyxlex.h:
191         * lyxtextclasslist.h:
192         * messages.h:
193         * paragraph.h:
194         * paragraph_pimpl.C:
195         * textcursor.h: add <string> and other small fixes to make Lars'
196         std::string patch compile with STLport.
197
198 2003-10-06  Angus Leeming  <leeming@lyx.org>
199
200         * LColor.h: Add missing #include <string>.
201
202 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
203
204         * All most all file in all subdirs: Make <string> be the prefered
205         way of getting to std::string, add using declarations.
206
207 2003-10-06  André Pönitz  <poenitz@gmx.net>
208
209         * metricsinfo.C: initialize LyXFont before changing attribute.
210         (fixes the 'math in \emph is upright' bug)
211
212 2003-10-06  André Pönitz  <poenitz@gmx.net>
213
214         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
215
216 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
217
218         * graph.C:
219         * paragraph_pimpl.C: Small fixes to build using STLport
220
221 2003-10-02  André Pönitz  <poenitz@gmx.net>
222
223         * lyxfunc.C:
224         * text3.C: move handling of LFUN_DEPTH *; fix #1360
225
226 2003-10-01  André Pönitz  <poenitz@gmx.net>
227
228         * factory.C: assert early
229
230 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
231
232         * lyx_main.C: remove the global debug object
233
234         * debug.h: adjust for new debugstream
235
236         * debug.C: adjust for new debugstream and keep the global debug
237         object here.
238
239 2003-09-22  Angus Leeming  <leeming@lyx.org>
240
241         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
242         of g++ which otherwise complain that the scoped_ptr destructor can't delete
243         an incomplete class LyXFont.
244
245 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * factory.C: bug fix in branches
248
249 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
250
251         * lyxfunc.C (processKeySym): adjust
252         (dispatch): adjust
253         (dispatch): change arg name from ev to func, adjust
254         (sendDispatchMessage): ditto
255
256         * lyx_main.C (defaultKeyBindings): adjust keybindings
257         (deadKeyBindings): ditto
258
259         * kbsequence.C (addkey): return a FuncRequest
260
261         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
262
263         * kbmap.C (bind): take a FuncRequest as arg, adjust
264         (read): adjust
265         (lookup): adjust
266         (defkey): change to take a FuncRequest as arg, adjust
267         (findbinding): take a FuncRequest as arg, adjust.
268
269         * funcrequest.h (operator=): added
270
271         * funcrequest.C (FuncRequest): default kb_action changed from
272         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
273
274         * buffer.C (dispatch): simplify
275         (dispatch): adjust to take a FuncRequest as arg, adjust
276
277         * boost.C (assertion_failed): change assertion message slightly
278
279         * ToolbarBackend.C (read): simplify
280
281         * MenuBackend.C (binding): adjust call to findbinding, add a
282         message if no binding is found.
283         (read): simplify
284         (expandToc): correct by adding a empty FuncRequest
285
286         * LyXAction.C: include <boost/assert.hpp>
287         (isPseudoAction): delete function
288         (LookupFunc): change name to...
289         (lookupFunc): this. change return type to FuncRequest.
290         (getActionName): take kb_action as arg, simplify
291         (funcHasFlag): add an assert, simplify.
292
293 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
294
295         * toc.C (action): return a FuncRequest, simplify
296
297         * lyxfunc.C (processKeySym): adjust
298         (getStatus): delete version that takes an int.
299         (getStatus): adjust
300         (dispatch): delete version that takes action as int
301         (dispatch): adjust
302         (sendDispatchMessage): simplify and adjust
303
304         * funcrequest.C (getArg): take unsigned int as arg
305
306         * ToolbarBackend.C (read): adjust
307         (add): delete version that takes func as a string.
308         (getIton): take a FuncRequest as arg
309
310         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
311         action.
312
313         * MenuBackend.C (MenuItem): add a new construct that only takes a
314         Kind, simplify the constructor use for submenus.
315         (add): adjust
316         (expandLastfiles): adjust
317         (expandDocuments): adjust
318         (expandFormats): adjust
319         (expandFloatListInsert): adjust
320         (expandFloatInsert): adjust
321         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
322
323         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
324         Remove class variables lyx_pseudo_map and lyx_arg_map
325
326         * LyXAction.C (searchActionArg): delete function
327         (getPseudoAction): delete function
328         (retrieveActionArg): delete function
329         (LookupFunc): make it return kb_action, simplify.
330         (getActionName): simplify
331
332         * factory.C (createInset): fix new bug
333
334 2003-09-19  Angus Leeming  <leeming@lyx.org>
335
336         * CutAndPaste.C (pasteSelection): remove fudge used to set the
337         masterFilename_ parameter in the include inset.
338
339         * factory.C (createInset): changes due to the changes to InsetInclude.
340
341 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
342
343         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
344
345 2003-09-18  Angus Leeming  <leeming@lyx.org>
346
347         * buffer.C:
348         * BufferView.C: pass the buffer when calling Inset::getLabelList,
349         Inset::fillWithBibKeys.
350         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
351
352 2003-09-18  Angus Leeming  <leeming@lyx.org>
353
354         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
355         variables.
356         (ctor): pass and store a 'Buffer const &'
357         (buffer): new member function.
358
359         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
360         '*this' to the LaTeXFeatures ctor.
361
362 2003-09-18  Angus Leeming  <leeming@lyx.org>
363
364         * LColor.h:
365         * lyxfont.C:
366         * lyxfont.h:
367         * lyxtext.h:
368         * text.C: rename EnumLColor as LColor_color.
369
370 2003-09-18  Angus Leeming  <leeming@lyx.org>
371
372         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
373         remove #include "insets/insetbase.h" from cursor.h.
374
375 2003-09-18  Angus Leeming  <leeming@lyx.org>
376
377         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
378         InsetOld_code to remove #include "inset.h".
379
380         * iterators.C: add #include "insets/inset.h"
381
382 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
383
384         * BufferView.C: remove more locking stuff that apparently doesn't
385         do anything sensible.
386
387 2003-09-16  André Pönitz  <poenitz@gmx.net>
388
389         * paragraph.[Ch]:
390         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
391           performance boost.
392
393 2003-09-16  Angus Leeming  <leeming@lyx.org>
394
395         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
396
397         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
398         arg/return type.
399
400         * paragraph.h: remove #include "lyxfont.h". Forward declare
401         LyXFont_size.
402
403 2003-09-16  Angus Leeming  <leeming@lyx.org>
404
405         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
406         of support/textutils.h.
407         (isWord): move the contents of support/textutils.h's IsWordChar here.
408
409         * buffer.C:
410         * lyxfind.C:
411         * rowpainter.C:
412         * text.C:
413         * text2.C: add #include "paragraph.h".
414
415         * rowpainter.C:
416         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
417
418 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
419
420         * main.C:
421         * lyx_main.C:
422         * lyx_cb.C:
423         * buffer.C:
424         * LaTeX.C: use namespace alias for lyx::support::os
425
426 2003-09-16  Angus Leeming  <leeming@lyx.org>
427
428         * bufferparams.C:
429         * bufferview_funcs.C:
430         * factory.C:
431         * lyxfunc.C:
432         * paragraph_pimpl.C:
433         * rowpainter.C:
434         * text.C: add #include "LColor.h".
435
436 2003-09-16  Angus Leeming  <leeming@lyx.org>
437
438         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
439         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
440         return LyXFont &.
441         Store the FontBits::color variable as an int rather than as an
442         LColor::colorso that we can move LColor.h out of the lyxfont.h header
443         file.
444
445         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
446         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
447         string calls together.
448
449         * lyxrc.C: add #include "LColor.h".
450
451 2003-09-15  Angus Leeming  <leeming@lyx.org>
452
453         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
454         a cow_ptr.
455
456 2003-09-15  Angus Leeming  <leeming@lyx.org>
457
458         * LColor.h: add an EnumLColor wrapper for LColor::color.
459
460         * lyxfont.[Ch] (color, setColor, realColor):
461         * lyxtext.h, text.C (backgroundColor):
462         pass EnumLColor args to/from the functions, rather than LColor::color
463         ones.
464
465         * lyxfont.h:
466         * lyxtext.h: forward declare EnumLColor.
467
468         * lyx_main.C: add #include "LColor.h".
469
470 2003-09-15  Angus Leeming  <leeming@lyx.org>
471
472         * .cvsignore: add lyx-gtk.
473
474 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
475
476         * Chktex.C
477         * LaTeX.C
478         * LaTeXFeatures.C
479         * ParagraphParameters.C
480         * Spacing.C
481         * buffer.C
482         * bufferparams.C
483         * bufferview_funcs.C
484         * chset.C
485         * counters.C
486         * funcrequest.C
487         * lyxfont.C
488         * lyxgluelength.C
489         * lyxlength.C
490         * paragraph.C
491         * paragraph_funcs.C
492         * text3.C
493         * vc-backend.C: remove usage of STRCONV
494
495 2003-09-15  Angus Leeming  <leeming@lyx.org>
496
497         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
498         explicitly define the color passed to the painter.
499
500 2003-09-15  Angus Leeming  <leeming@lyx.org>
501
502         * bufferparams.C (BufferParams): reorder member initializers to avoid
503         compiler warning.
504
505 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
506
507         * CutAndPaste.C (pasteSelection): remove an outdated #warning
508         * text.C (updateRowPositions): remove an unusual nop
509
510 2003-09-12  André Pönitz  <poenitz@gmx.net>
511
512         * BufferView_pimpl.C:
513         * Bullet.C:
514         * layout.h:
515         * lyxfunc.C:
516         * lyxlayout.[Ch]:
517         * lyxtextclass.C:
518         * rowpainter.C:
519         * text.C:
520         * text2.C:
521         * Counters.[Ch]: finish the 'automatic counters' job
522
523 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
524
525         * aspell.C: include <boost/assert.cpp> (compile fix)
526
527 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
528
529         * boost.C (assertion_failed): use lyx::support::abort instead of
530         assert.
531
532 2003-09-10  Angus Leeming  <leeming@lyx.org>
533
534         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
535         with their _fwd progeny.
536
537 2003-09-09  Angus Leeming  <leeming@lyx.org>
538
539         134 files throughtout the source tree: replace 'using namespace abc;'
540         directives with the appropriate 'using abc::xyz;' declarations.
541
542 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
543
544         * boost.C (emergencyCleanup): moved here from LAssert.c
545         (assertion_failed): new function, called by BOOST_ASSERT
546
547         * several files: change Assert to BOOST_ASSERT
548
549 2003-09-09  Angus Leeming  <leeming@lyx.org>
550
551         * buffer.[Ch]: Add an Impl class and move Buffer's member
552         variables into it. As a result move several header files out of
553         buffer.h.
554
555         Add header files to lots of .C files all over the tree as a result.
556
557 2003-09-09  Angus Leeming  <leeming@lyx.org>
558
559         * buffer.[Ch]: make Buffer's member variables private. Add
560         accessor functions.
561
562         Lots of changes all over the tree as a result.
563
564 2003-09-08  Angus Leeming  <leeming@lyx.org>
565
566         * graph.C: #include <config.h>.
567
568 2003-09-08  Angus Leeming  <leeming@lyx.org>
569
570         * BranchList.C:
571         * BufferView.C:
572         * BufferView_pimpl.C:
573         * CutAndPaste.C:
574         * DepTable.C:
575         * LaTeX.C:
576         * LaTeXFeatures.C:
577         * LyXAction.C:
578         * MenuBackend.C:
579         * TextCache.C:
580         * aspell.C:
581         * buffer.C:
582         * bufferlist.C:
583         * changes.C:
584         * chset.C:
585         * converter.C:
586         * counters.C:
587         * debug.C:
588         * graph.C:
589         * ispell.C:
590         * lyx_cb.C:
591         * lyxfind.C:
592         * lyxfunc.C:
593         * lyxlex_pimpl.C:
594         * lyxrc.C:
595         * lyxrow.C:
596         * paragraph.C:
597         * rowpainter.C:
598         * texrow.C:
599         * text.C:
600         * text2.C:
601         * toc.C: remove redundant using directives.
602
603 2003-09-07  Angus Leeming  <leeming@lyx.org>
604
605         * LaTeXFeatures.h: remove #include "support/types.h".
606         * ToolbarBackend.h: remove #include <algorithm>.
607         * changes.h: remove #include <ctime>.
608         * debug.h: remove #include <iosfwd>.
609         * graph.h: remove #include "support/std_string.h".
610         * lyx_main.h: remove #include <csignal>.
611         * lyxlex_pimpl.h: remove #include <fstream>.
612         * sgml.h: remove #include <algorithm>, <utility>.
613         * toc.h: remove #include "support/std_ostream.h".
614         Add #include <iosfwd>.
615
616 2003-09-07  Angus Leeming  <leeming@lyx.org>
617
618         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
619
620         * converter.h: forward declare LatexRunParams.
621         * encoding.h: remove #include "lyxrc.h".
622         * lyxtext.h: remove #include "LColor.h".
623         * lyxtextclass.h: remove #include "support/types.h".
624         * trans.h: remove #include "tex-accent.h".
625         * trans_mgr.h: remove #include "tex-accent.h".
626         * insets/inset.h: remove #include "support/types.h", <vector>.
627         * insets/insetcollapsable.h: remove #include "LColor.h".
628         * insets/insetinclude.h: remove #include "dimension.h".
629         * insets/insetlatexaccent.h: remove #include "dimension.h".
630         * insets/insetoptarg.h:: remove #include "insettext.h".
631         * insets/insettext.h: remove #include "dimension.h",
632         <boost/shared_ptr.hpp>
633
634         * insets/renderers.h: add #include "dimension.h".
635         * insets/updatableinset.h: add #include "support/types.h".
636
637         * many .C files: Associated changes.
638
639 2003-09-06  Angus Leeming  <leeming@lyx.org>
640
641         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
642         one, inside testInvariant.
643
644         * PrinterParams.C: new file.
645         * PrinterParams.[Ch]: move the function bodies out of line.
646
647 2003-09-06  Angus Leeming  <leeming@lyx.org>
648
649         * ParagraphParameters.h: forward declare ParameterStruct rather than
650         including its header file.
651         (depth): moved out-of-line.
652
653 2003-09-06  Angus Leeming  <leeming@lyx.org>
654
655         * BufferView_pimpl.h:
656         * kbmap.h:
657         * kbsequence.h:
658         * lyxfunc.h: forward declare LyXKeySym rather than
659         #include "frontends/LyXKeySym.h".
660
661         * BufferView_pimpl.C:
662         * kbmap.C:
663         * kbsequence.C:
664         * lyxfunc.C: associated changes.
665
666 2003-09-06  Angus Leeming  <leeming@lyx.org>
667
668         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
669         As a result, can remove the #include "insets/inset.h" from BufferView.h
670
671 2003-09-06  Angus Leeming  <leeming@lyx.org>
672
673         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
674         As a result, can remove the #include "insets/inset.h" from BufferView.h
675
676 2003-09-06  Angus Leeming  <leeming@lyx.org>
677
678         * buffer_funcs.C:
679         * buffer.h:
680         * bufferlist.C:
681         * BufferView.C:
682         * bufferview_funcs.C:
683         * BufferView_pimpl.C:
684         * CutAndPaste.C:
685         * lyx_cb.C:
686         * lyxfunc.C:
687         * paragraph.h:
688         * ParagraphParameters.C:
689         * tabular.C:
690         * text3.C:
691         * toc.C:
692         * undo_funcs.C:
693         * frontends/controllers/ControlDocument.C:
694         * insets/insetcaption.C: rearrange the #includes into some sort of
695         coherent order.
696
697         * buffer.h: remove #includes ErrorList.h, undo.h
698
699 2003-09-06  Angus Leeming  <leeming@lyx.org>
700
701         * support/types.h: add a 'depth_type' typedef, used to store the
702         nesting depth of a paragraph.
703
704         * paragraph.h:
705         * ParameterStruct.h: use this lyx::depth_type typedef rather than
706         defining explicitly.
707
708         * buffer.h:
709         * paragraph_funcs.h:
710         * ParagraphParameters.h:
711         * sgml.h: use lyx::depth_type rather than Paragraph or
712         ParameterStruct's depth_type.
713
714         * buffer.h
715         * paragraph_funcs.h: no need to #include paragraph.h anymore.
716
717         * BufferView.C:
718         * BufferView_pimpl.C:
719         * CutAndPaste.C:
720         * ParagraphParameters.C:
721         * buffer_funcs.C:
722         * bufferlist.C:
723         * bufferview_funcs.C:
724         * lyx_cb.C:
725         * lyxfunc.C:
726         * tabular.C:
727         * text3.C:
728         * toc.C:
729         * undo_funcs.C:
730         * frontends/LyXView.C:
731         * frontends/controllers/ControlDocument.C:
732         * frontends/controllers/ControlErrorList.C:
733         * insets/insetbibitem.C:
734         * insets/insetbranch.C:
735         * insets/insetcaption.C:
736         * insets/insetcollapsable.C:
737         * insets/insetenv.C:
738         * insets/insetert.C:
739         * insets/insetfloat.C:
740         * insets/insetfoot.C:
741         * insets/insetfootlike.C:
742         * insets/insetnewline.C:
743         * insets/insetquotes.C:
744         * insets/insettabular.C:
745         * insets/insettext.C:
746         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
747
748         * frontends/controllers/ControlChanges.C: #include "changes.h".
749
750 2003-09-06  Angus Leeming  <leeming@lyx.org>
751
752         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
753         than #including paragraph.h.
754
755         * ParagraphList.h:
756         * RowList.h: deleted. Superfluous.
757
758         * CutAndPaste.h:
759         * iterators.h:
760         * lyxcursor.h:
761         * lyxtext.h:
762         * text_funcs.h:
763         * undo.h:
764         * undo_funcs.h:
765         * insets/inset.h:
766         * insets/insettext.h: use ParagraphList_fwd.h rather than
767         ParagraphList.h.
768
769         * paragraph.h: don't forward declare ParagraphList.
770
771         * buffer.h:
772         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
773         rather than ParagraphList.h. paragraph.h is still needed for the
774         Paragraph::depth_type parameters.
775
776         * textcursor.h: enable it to compile stand-alone in light of the
777         above changes.
778
779         * bufferview_funcs.C:
780         * iterators.C:
781         * lyxfunc.C:
782         * lyxrow_funcs.C:
783         * paragraph.C:
784         * rowpainter.C:
785         * text.C:
786         * text2.C:
787         * text3.C:
788         * text_funcs.C:
789         * textcursor.C:
790         * undo.C:
791         * frontends/controllers/ControlParagraph.C:
792         * frontends/controllers/ControlTabular.C:
793         * insets/insetmarginal.C:
794         * insets/insetminipage.C:
795         * insets/insetnote.C:
796         * insets/insetoptarg.C: add header files needed to compile again.
797
798 2003-09-06  Angus Leeming  <leeming@lyx.org>
799
800         * RowList_fwd.h: new file, forward-declaring Row rather than
801         #including lyxrow.h.
802
803         * lyxrow_funcs.h:
804         * lyxtext.h:
805         * paragraph.h:
806         * insets/insettext.h: use it instead of RowList.h
807
808         * bufferview_funcs.C:
809         * lyxfunc.C:
810         * lyxrow_funcs.C:
811         * paragraph.C:
812         * rowpainter.C:
813         * text.C:
814         * text2.C:
815         * text3.C: #include "RowList.h".
816
817 2003-09-05  Angus Leeming  <leeming@lyx.org>
818
819         * factory.C (createInset):
820         * vspace.C (c-tor): replace sscanf call with an istringstream.
821         * ispell.C: re-add missing HP/UX headers.
822         * lyxserver.C: re-add missing  os2 headers.
823
824 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
825
826         * BranchList.C:
827         * graph.C:
828         * ispell.C:
829         * lastfiles.C:
830         * lyx_cb.C:
831         * lyxserver.C:
832         * texrow.C:
833         * text3.C: re-add missing system headers, needed for 2.95.2.
834
835 2003-09-05  Angus Leeming  <leeming@lyx.org>
836
837         Changes most place everywhere due to the removal of using directives
838         from support/std_sstream.h.
839
840 2003-09-05  Angus Leeming  <leeming@lyx.org>
841
842         Replace LString.h with support/std_string.h,
843         Lsstream.h with support/std_sstream.h,
844         support/LIstream.h with support/std_istream.h,
845         support/LOstream.h with support/std_ostream.h.
846
847         Changes resulting throughout the tree.
848
849 2003-09-05  Angus Leeming  <leeming@lyx.org>
850
851         * sgml.h: ensure that the header file can be compiled stand-alone.
852         * *.C: strip out redundant #includes. (320 in total.)
853
854 2003-09-04  Angus Leeming  <leeming@lyx.org>
855
856         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
857         here (from getPackages).
858
859         * debug.[Ch]: add a new EXTERNAL tag.
860
861 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
862
863         * text2.C (cursorEnd): simplify
864         (setCursor): adjust
865         (getColumnNearX): adjust
866
867         * text.C (computeBidiTables): adjust
868         (fill): adjust
869
870         * rowpainter.C (paintChars): adjust
871         (paintSelection): adjust
872         (paintChangeBar): adjust
873         (paintText): adjust
874
875         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
876         lastPos instead.
877         (numberOfSeparators): adjust
878
879 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
880
881         * LyXAction.C:
882         * box.[Ch]:
883         * lfuns.h:
884         * lyxfunc.C:
885         * text3.C: Restricts the mouse click functionality
886         of insets like bibtex, include, toc and floatlist to the visible
887         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
888         up the dialogs. Cursor has to be in front of the inset (i.e.
889         start of row) for this to function.
890
891 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
892
893         * bufferview_funcs.C (currentState): output row information
894
895 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
896
897         * bufferview_funcs.C (currentState): output paragraph position
898
899 2003-09-04  Angus Leeming  <leeming@lyx.org>
900
901         * FloatList.h: move out #include "Floating.h".
902         * LaTeX.h: move out #include "DepTable.h".
903         * LyXAction.h: move out #include "funcrequest.h".
904         * buffer.h: move out #include "author.h", "iterators.h".
905         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
906         * lyx_main.h: move out #include "errorlist.h".
907         * lyxfunc.h: move out #include "FuncStatus.h".
908         * lyxtext: move out #include "lyxcursor.h".
909         * paragraph_pimpl.h: move out #include "counters.h".
910
911 2003-09-03  Angus Leeming  <leeming@lyx.org>
912
913         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
914         preamble_snippets list, enabling us to add snippets to the preamble
915         only if the snippet was not there already.
916
917 2003-09-04  Angus Leeming  <leeming@lyx.org>
918
919         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
920
921 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
922
923         * lyxfunc.C (dispatch): if fitCursor did something be sure to
924         update
925
926 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * BranchList.C: point fix, earlier forgotten
929
930 2003-09-02  Angus Leeming  <leeming@lyx.org>
931
932         * box.C (contains): renamed from 'contained' after a fantastic
933         amount of hot air.
934
935 2003-09-02  John Levon  <levon@movementarian.org>
936
937         * BufferView.C:
938         * lyxcursor.h:
939         * lyxcursor.C:
940         * lyxfunc.C:
941         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
942
943 2003-09-02  John Levon  <levon@movementarian.org>
944
945         * text2.C: simplification of cursorEnd(), including partial
946         fix for bug 1376
947
948 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
949
950         * buffer.C (readFile): add a space
951
952 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
953
954         * BufferView_pimpl.C (update): remove bogus fitCursor() call
955
956 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
957
958         * buffer.C (readFile): new function, take a filename and a
959         ParagraphList::iterator
960         (readFile): adjust
961         (readFile): adjust, make it private. don't use setStream, make
962         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
963         always contain the filename.
964
965         * BufferView.C (insertLyXFile): simplify and make it work for
966         gzipped files.
967
968 2003-08-30  John Levon  <levon@movementarian.org>
969
970         * Makefile.am: fix dist (from Kayvan)
971
972 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
973
974         * most files: change to use const Buffer refs
975
976 2003-08-27  André Pönitz  <poenitz@gmx.net>
977
978         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
979         on top of ownerPar().
980
981 2003-08-27  John Levon  <levon@movementarian.org>
982
983         * funcrequest.C: properly initialise POD members
984
985 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
986
987         * lyxtext.h (top_y): move top_y from here
988         * text.C:
989         * text2.C:
990         * text3.C:
991         * BufferView.[Ch]:
992         * BufferView_pimpl.[Ch]: to here
993         * frontends/screen.C:
994         * insets/insettabular.C:
995         * insets/insettext.C: adjust
996         * rowpainter.[Ch] (paintRows): remove LyXText & argument
997
998 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
999
1000         * BufferView.[Ch]:
1001         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1002
1003 2003-08-26  André Pönitz  <poenitz@gmx.net>
1004
1005         * paragraph_func.[Ch] (outerPar): new function
1006
1007         * paragraph.C:
1008         * paragraph_funcs.C:
1009         * paragraph_funcs.h:
1010         * paragraph_pimpl.C:
1011         * text2.C: remove Inset::par_owner
1012
1013 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1014
1015         * lyxrow_funcs.C:
1016         * lyxtext.h:
1017         * text.C:
1018         * text2.C: eliminates the needFullRow/display() stuff
1019         altogether, putting the logic in metrics/draw in the insets.
1020
1021 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1022
1023         * text2.C (redoParagraphInternal, redoParagraphs):
1024         * text.C (redoParagraph): add a call to updateRowPositions at the
1025         end of each 'metrics-like' call. Remove all others.
1026         (getRow): remove the 'y-computing' version.
1027         (getRowNearY): do not compute nor return the real y. Solve the
1028         'y < 0' problem and simplify.
1029
1030 2003-08-22  Angus Leeming  <leeming@lyx.org>
1031
1032         * *.[Ch]: clean-up of licence and author blurbs.
1033         Also move config.h out of a few .h files and into a few .C files.
1034
1035 2003-08-22  André Pönitz  <poenitz@gmx.net>
1036
1037         * lyxrow.[Ch]: add x_ and *fill_ members
1038
1039         * lyxtext.h:
1040         * text.C:
1041         * rowpainter.C:
1042         * text2.C: adjust/remove prepareToPrint() calls
1043
1044 2003-08-22  André Pönitz  <poenitz@gmx.net>
1045
1046         * lyxrow.[Ch]: add  end_ member
1047
1048         * lyxrow_funcs.C: use LyXRow::end_
1049
1050         * lyxtext.h (singleWidth): add LyXFont parameter
1051
1052         * rowpainter.C:
1053         * text2.C: adjust LyXText::singleWidth() calls
1054
1055         * text.C (redoParagraph): simplify row breaking logic
1056
1057
1058 2003-08-19  André Pönitz  <poenitz@gmx.net>
1059
1060         * funcrequest.C: initialize button_ member
1061
1062         * text3.C:
1063         * rowpainter.[Ch]: interface consolidation
1064
1065 2003-08-18  André Pönitz  <poenitz@gmx.net>
1066
1067         * BufferView.C:
1068         * BufferView_pimpl.C:
1069         * lyxfind.C:
1070         * paragraph_funcs.C:
1071         * rowpainter.C:
1072         * text3.C: remove LyXScreen::draw() and fitCursor calls
1073
1074         * BranchList.h: remove spurious semicolons
1075
1076         * MenuBackend.C: fix branchlist related crash
1077
1078 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * BranchList.[Ch]:
1081         * InsetList.[Ch]:
1082         * LColor.[Ch]:
1083         * LyXAction.C:
1084         * Makefile.am:
1085         * MenuBackend.[Ch]:
1086         * bufferparams.[Ch]:
1087         * factory.C:
1088         * lfuns.h:
1089         * lyxfunc.C:
1090         * text3.C: implements the 'branch inset'
1091         idea. This allows the output of various versions of a document
1092         from a single source version, selectively outputing or suppressing
1093         output of parts of the text.
1094         This implementation contains a 'branch list editor' in a separate
1095         tab of the document settings dialog. Branches are user definable
1096         and have a "display colour" to distinguish them on-screen.
1097
1098         ColorHandler was somewhat cleaned up.
1099         (1) make possible a dynamically growing LColor list by allowing
1100         the graphic context cache to grow along (vector);
1101         (2) eliminate an IMHO unnecessary step in colour allocation.
1102
1103 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1104
1105         * BufferView_pimpl.C: compile fix
1106
1107 2003-08-15  André Pönitz  <poenitz@gmx.net>
1108
1109         * rowpainter.C: remove extra metrics calls
1110
1111         * lyxtext.h: merge the two constructors into a single one,
1112           pass reference to owner's par list
1113
1114         * BufferView_pimpl.C:
1115         * text.C:
1116         * text2.C: adjust
1117
1118 2003-08-15  André Pönitz  <poenitz@gmx.net>
1119
1120         * lyxrow_funcs.[Ch]:
1121         * lyxtext.h:
1122         * paragraph.h:
1123         * paragraph_funcs.C:
1124         * rowpainter.C:
1125         * text.C:
1126         * text2.C:
1127         * text3.C:
1128         * text_funcs.C: split LyXText::rowlist_ into individual
1129         Paragraph::rows_ chunks
1130
1131         * BufferView.[Ch]:
1132         * BufferView_pimpl.[Ch]:
1133         * lyxfind.C:
1134         * lyxtext.h:
1135         * text3.C: remove toggleSelection()
1136
1137 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1138
1139         * bufferlist.C: beautify two alerts (shorter text of buttons)
1140         * buffer.C: Remove redundant ' ' from message
1141         * tabular.h:
1142         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1143         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1144         rename VALIGN_CENTER to VALIGN_MIDDLE
1145
1146 2003-08-11  André Pönitz  <poenitz@gmx.net>
1147
1148         * lyxtext.h (getPar):
1149         * text.C: new function
1150
1151 2003-08-11  André Pönitz  <poenitz@gmx.net>
1152
1153         * Makefile.am:
1154         * tracer.[Ch]: remove unneeded files
1155
1156         * InsetList.[Ch]: remove resizeInsetsLyXText()
1157
1158         * lyxtext.h:
1159         * text.C:
1160         * text2.C:
1161         * text3.C: merge insertParagraphs() and appendParagraph()
1162         remove breakAgain(), update()
1163
1164         * BufferView_pimpl.[Ch]:
1165         * bufferview_funcs.[Ch]:
1166         * lyxfunc.C:
1167         * paragraph.[Ch]:
1168         * rowpainter.C:
1169         * tabular.C: adjust after text & InsetList changes.
1170
1171 2003-08-08  André Pönitz  <poenitz@gmx.net>
1172
1173         * text.C (insertChar, backspace): replace rowlist fiddling
1174         with rebreak of full par
1175
1176         * lyxtext.h:
1177         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1178         checkParagraph, updateInset): removed
1179
1180 2003-08-07  André Pönitz  <poenitz@gmx.net>
1181
1182         * paragraph.C:
1183         * text3.C: merge some LFUN handlers, remove dead code
1184
1185 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1186
1187         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1188
1189 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1190
1191         * text2.C (DEPM): fix part of bug 1255 and 1256
1192
1193 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * BufferView_pimpl.C (workAreaDispatch): change to use
1196         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1197         that are no mouse related.
1198
1199 2003-08-05  André Pönitz  <poenitz@gmx.net>
1200
1201         * BufferView.[Ch]:
1202         * BufferView_pimpl.[Ch]:
1203         * bufferview_funcs.C:
1204         * text2.C:
1205         * text3.C: rip out "deep update"
1206
1207         * textcursor.[Ch] (last_sel_cursor): remove unused member
1208
1209 2003-08-04  André Pönitz  <poenitz@gmx.net>
1210
1211         * BufferView.[Ch]:
1212         * BufferView_pimpl.[Ch]:
1213         * ParagraphParameters.C:
1214         * bufferview_funcs.C:
1215         * lyx_cb.C:
1216         * lyxfind.C:
1217         * lyxfunc.C:
1218         * text.C:
1219         * text2.C:
1220         * text3.C: replace "complicated" BufferView::update(...) calls with
1221         simpler ones.
1222
1223         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1224
1225 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1226
1227         * Makefile.am (lyx_SOURCES): add paper.h
1228
1229 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1230
1231         * Makefile.am: move things around so that both lyx-qt and
1232         lyx-xforms can be built (according to --with-frontend). Then lyx
1233         is a symbolic link to lyx-[firstfrontend]
1234
1235 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1236
1237         * Always use std::endl with lyxerr
1238
1239 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1240
1241         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1242
1243 2003-08-01  André Pönitz  <poenitz@gmx.net>
1244
1245         * BufferView.[Ch]:
1246         * BufferView_pimpl.[Ch]:
1247         * lyxfunc.C:
1248         * text3.C: merge BufferView::repaint() and BufferView::update()
1249
1250 2003-08-01  José Matos  <jamatos@lyx.org>
1251
1252         * buffer.[Ch]: file_format is no longer a buffer data element.
1253
1254 2003-08-01  André Pönitz  <poenitz@gmx.net>
1255
1256         * BufferView.C:
1257         * lyxtext.h:
1258         * text.C:
1259         * text2.C: make redoParagraph more independent of current cursor
1260
1261         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1262         * text.C:
1263         * text2.C: remove unneeded members
1264
1265 2003-07-30  André Pönitz  <poenitz@gmx.net>
1266
1267         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1268
1269         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1270           create a single function...
1271
1272         * paragraph_funcs.C (moveItem): ... here.
1273
1274         * text.C:
1275           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1276
1277 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * LColor.[Ch]: Add comment and greyedout logical colors.
1280
1281 2003-07-30  André Pönitz  <poenitz@gmx.net>
1282
1283         * tabular.C: don't use Assert too heavily. This crashes where it
1284           shouldn't
1285
1286 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1287
1288         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1289         is disabled (bug 1232)
1290
1291 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1292
1293         * factory.C: limited 'arg' scope
1294
1295 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1296
1297         * factory.C: fixed Note submenu issues
1298
1299 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1300
1301         * factory.C: submenu for Note/Comment/Greyedout
1302
1303 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1304
1305         * lyx_main.C (LyX):
1306         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1307
1308 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1309
1310         * LaTeXFeatures.C:
1311         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1312         greyedout. Patch provided by Jürgen Spitzmüller.
1313
1314 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * kbmap.C (read): fix error message when reading bind files
1317
1318 2003-07-29  Angus Leeming  <leeming@lyx.org>
1319
1320         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1321         certainly does not do what it purports to do. I am doing it, and
1322         us, a favour by killing it.
1323
1324 2003-07-28  José Matos  <jamatos@lyx.org>
1325
1326         * buffer.C (readBody, do_writeFile):
1327         * paragraph.C(readParagraph): \end_document replaces \the_end.
1328
1329 2003-07-29  André Pönitz  <poenitz@gmx.net>
1330
1331         * BufferView.[Ch]:
1332         * BufferView_pimpl.[Ch]:
1333         * lyxfunc.C:
1334         * text2.C:
1335         * text3.C:
1336         * textcursor.[Ch]: remove toggleToggle & Co
1337
1338 2003-07-28  José Matos  <jamatos@fep.up.pt>
1339
1340         * buffer.C (readParagraph):
1341         * params_func (readParToken, readParagraph):
1342         * paragraph.C (write): \layout -> \begin_layout.
1343
1344 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * lyxlex_pimpl.C (setFile): clean up slightly.
1347
1348         * bufferparams.h: add compressed var
1349
1350         * buffer_funcs.C (readFile): adjust for LyXLex change
1351         (newFile): ditto + simplify
1352
1353         * buffer.C (writeFile): handle writing of compressed files
1354
1355         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1356         Check if the file is compressed and set a bufferparm if so.
1357
1358         * Makefile.am (lyx_LDADD): remove explicit -lz
1359
1360 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1361
1362         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1363         makeDocBookFile): put the real LyX version in the first line of
1364         the file
1365
1366         * version.h:
1367         * version.C.in: remove lyx_docversion
1368
1369         * tabular.C (write_attribute): add a template-based version to
1370         write enums properly
1371
1372 2003-07-28  André Pönitz  <poenitz@gmx.net>
1373
1374         * lyxtext.h:
1375         * text.C:
1376         * text2.C:
1377         * text3.C: use doubles again for x-coordinates. They are needed.
1378
1379 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1380
1381         * messages.C (getLocaleDir): use lyx_localedir()
1382
1383         * lyxlex_pimpl.C (setFile): compress stuff
1384
1385         * buffer.C (writeFile): add some compression stuff
1386         (do_writeFile): new func, dont call expliti close... will this
1387         breake anything?
1388
1389         * Makefile.am (lyx_LDADD): add -lz
1390
1391 2003-07-28  José Matos  <jamatos@fep.up.pt>
1392
1393         * buffer.C: increment file format.
1394         * paragraph_funcs (readParagraph, readParToken):
1395         * paragraph.C (readParagraph): add \end_layout.
1396
1397 2003-07-27  Angus Leeming  <leeming@lyx.org>
1398
1399         * Makefile.am: remove special casing for configure-time setting of
1400         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1401
1402         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1403         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1404
1405 2003-07-26  André Pönitz  <poenitz@gmx.net>
1406
1407         * paragraph_func.[Ch]:
1408         * paragraph.C (realizeFont): inline it whereever it is used
1409
1410         * rowpainter.C:
1411         * text.C:
1412         * text2.C:
1413         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1414
1415
1416 2003-07-26  André Pönitz  <poenitz@gmx.net>
1417
1418         *       lyxtext.h:
1419         * text.C:
1420         * text2.C: get rid of LyXText::need_break_row
1421
1422 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1423
1424         * toc.[Ch]: put namespace toc inside namespace lyx
1425
1426         * MenuBackend.C (expandToc2): adjust for lyx::toc
1427         (expandToc): ditto
1428
1429         * lyxfunc.C (dispatch): adjust for lyx::find
1430
1431         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1432         lyx::find instead. Reorganize a bit.
1433         (LyXReplace): rename to replace
1434         (LyXFind): rename to find
1435
1436         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1437         (dispatch): ditto
1438
1439 2003-07-26  André Pönitz  <poenitz@gmx.net>
1440
1441         * text.C (setHeightOfRow): restrict scope of temporary variable
1442
1443         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1444           code (never has been used?)
1445
1446 2003-07-27  Asger Alstrup  <alstrup@local>
1447
1448         * text.C (fill): Optimise algorithm to exploit that we can reuse
1449         the LyXFont for many characters.
1450         (setHeightOfRow): Same thing.
1451         (rowBreakPoint): Same thing.
1452
1453 2003-07-26  Asger Alstrup  <alstrup@local>
1454
1455         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1456
1457         * text.C (singleWidth): Spurious font copying in hot-spot
1458         singleWidth avoided. Reorder tests for arabic for efficiency.
1459
1460         * text.C (fill): handle empty paragraphs better.
1461
1462 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463
1464         * ispell.C:
1465         * encoding.h: add includes
1466
1467         * lyxrc.C: remove reading of bind files
1468
1469         * lyx_main.C (init): setup bindings and menus only if we have a
1470         gui.
1471
1472         * kbmap.C (read): new method. Do the actual reading of bind
1473         files.
1474
1475         * converter.C (dvipdfm_options):
1476         * bufferparams.C:
1477         * lyxrc.C (read):
1478         (output): adapt PAPER_* enums.
1479
1480         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1481
1482         * bufferparams.h: remove paper-related enums from there
1483
1484         * paper.h: New file. A trivial header file to hold paper-related
1485         enums. It should later expand to contain many paper-related
1486         horrors access.
1487
1488         * lyxrc.C: declare extern displayTranslator
1489
1490 2003-07-27  José Matos  <jamatos@fep.up.pt>
1491
1492         * tabular.[Ch] (linuxdoc): add support for tables and figures
1493         (linuxdoc).
1494
1495 2003-07-27  José Matos  <jamatos@fep.up.pt>
1496
1497         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1498         consistency in both functions.
1499         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1500
1501 2003-07-26  Asger Alstrup  <alstrup@local>
1502
1503         * rowpainter.C (paintRows): Change algorithm to work directly on
1504         the insets rather than asking every character in the document
1505         whether its an inset.
1506
1507 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1508
1509         * buffer.C (openFileWrite): factorize some code
1510
1511 2003-07-26  Angus Leeming  <leeming@lyx.org>
1512
1513         * lyx_cb.C:
1514         * lyx_main.[Ch]: replace occurances of system_tempdir with
1515         os::getTmpDir().
1516
1517 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1518
1519         * rename Inset to InsetOld
1520
1521 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1522
1523         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1524         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1525         which I think is a bit clearer. EDIT is gone, since it was
1526         premature optimisation, and broken for mathed anyway.
1527         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1528         with cursor positioning in insets as well (math insets still do not
1529         work, but that's a different story anyway.) It mysteriously
1530         crashes sometimes with undo in the first paragraph, but I'm fairly
1531         confident that this is a compiler bug.
1532
1533 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * paragraph.C (Paragraph): adjust for new clone return type
1536         (operator==): ditto
1537         (copyIntoMinibuffer): ditto
1538
1539 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1540
1541         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1542         by not having a special case, and always doing a full rebreak of
1543         the document after undo.
1544
1545 2003-07-23  Angus Leeming  <leeming@lyx.org>
1546
1547         * factory.C (createInset): InsetExternal::setParams now takes a
1548         Buffer const * arg.
1549
1550 2003-07-23  Angus Leeming  <leeming@lyx.org>
1551
1552         * factory.C (createInset): changed interface to the external and
1553         graphics mailers' string2params functions.
1554
1555 2003-07-23  Angus Leeming  <leeming@lyx.org>
1556
1557         * factory.C (createInset): pass a
1558         Buffer const * parameter to InsetExternalMailer's string2params.
1559
1560 2003-07-22  John Levon  <levon@movementarian.org>
1561
1562         * Thesaurus.h: include the right aiksaurus header
1563
1564 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * MenuBackend.C (expand): check menu shortcuts unconditionally
1567
1568 2003-07-21  Angus Leeming  <leeming@lyx.org>
1569
1570         * factory.C (createInset): pass a
1571         buffer_path parameter to InsetGraphicsMailer's string2params.
1572
1573 2003-07-21  Angus Leeming  <leeming@lyx.org>
1574
1575         * BufferView_pimpl.C (buffer):
1576         * buffer.C (d-tor):
1577         * lyx_main.C (LyX):
1578         * lyxfunc.C (dispatch):
1579         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1580         rather than the grfx shortcut.
1581
1582 2003-07-21  André Pönitz  <poenitz@gmx.net>
1583
1584         * rowpainter.C: remove unused variables
1585
1586         * tabular_funcs.C:
1587         * tabular_funcs.h: move to tabular.C
1588         * Makefile.am: adjust
1589
1590         * tabular.[Ch]: basic optical cleaning
1591
1592         * author.h: pass references, not values
1593
1594 2003-07-18  André Pönitz  <poenitz@gmx.net>
1595
1596         * lyxtext.h:
1597         * metricsinfo.C:
1598         * metricsinfo.h:
1599         * rowpainter.C:
1600         * text.C:
1601         * text2.C:
1602         * text3.C: two-phase drawing for InsetText and InsetTabular
1603         some float -> int changes.
1604
1605 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1606
1607         * lyx_main.C: fix the fix
1608
1609 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1610
1611         * lyx_main.C: fix a crash in batch mode if no files specified
1612         * converter.C: ws
1613
1614 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1615
1616         * format.[Ch] (papersize): moved to BufferParams
1617         * converter.[Ch] (dvips_options): moved to BufferParams
1618         (dvipdfm_options): moved to anon namespace
1619         * bufferparams.[Ch]: added above functions.
1620
1621 2003-07-17  André Pönitz  <poenitz@gmx.net>
1622
1623         * lyxtext.h:
1624         * rowpainter.C:
1625         * text2.C: don't call inset->update() anymore
1626
1627         * metricsinfo.[Ch]: add convenience constructor
1628
1629 2003-07-16  André Pönitz  <poenitz@gmx.net>
1630
1631         * lyxcursor.[Ch]:
1632         * lyxfunc.[Ch]:
1633         * text.C:
1634         * text2.C: replace the LyXCursor::irow_ member with
1635          on-demand computation of the value
1636
1637 2003-07-16  John Levon  <levon@movementarian.org>
1638
1639         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1640
1641 2003-07-15  André Pönitz  <poenitz@gmx.net>
1642
1643         * text.C:
1644         * text2.C: remove no more needed refresh_row
1645
1646 2003-07-15  André Pönitz  <poenitz@gmx.net>
1647
1648         * lyxtext.h:
1649         * rowpainter.C:
1650         * text2.C:
1651         * text3.C: refresh_status tristate -> need_update bool
1652
1653 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1654
1655         * lyxtext.h (init): remove reinit argument (act as if always true)
1656         * text2.C: adjust to that
1657
1658 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1659
1660         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1661         * text3.C: use it to delete selections in some cases
1662         (bugs 441, 673, 702, 954).
1663
1664 2003-07-14  André Pönitz  <poenitz@gmx.net>
1665
1666         * rowpainter.[Ch]: reduce interface
1667
1668 2003-07-14  André Pönitz  <poenitz@gmx.net>
1669
1670         * BufferView_pimpl.C:
1671         * text2.C: adjust after removing unused BufferView * argument
1672
1673 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1674
1675         * text2.C (init): fix a crash fired on resize
1676
1677 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * buffer.[Ch]: added new closing signal
1680         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1681         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1682         BufferView::Pimpl via the closing the signal
1683
1684 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1685
1686         * buffer.[Ch]: take out all bv-related from buffer
1687         * BufferView.C:
1688         * BufferView_pimpl.[Ch]: connect to new signals
1689         * CutAndPaste.C: removed useless asserts
1690         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1691         * lyxvc.[Ch]:
1692         * vc-backend.[Ch]:
1693         * lyxfunc.C: moved view-related funciontality from vc here
1694         * paragraph.C: removed outdated comments
1695         * text.C: ws
1696
1697 2003-07-10  André Pönitz  <poenitz@gmx.net>
1698
1699         * BufferView_pimpl.C:
1700         * tabular.h:
1701         * tabular_funcs.C:
1702         * text.C:
1703         * text2.C: remove InsetText::InnerCache, clean up consequences
1704
1705 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1706
1707         * ispell.C: fix two typos in error messages
1708
1709 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1710
1711         * Extend Note inset to other forms of annotation like Comment
1712         and Greyedout. Right button click gives dialog.
1713
1714         Files modified or added (+):
1715
1716         * insetnote.[Ch]
1717         * FormNote.[Ch]      +
1718         * ControlNote.[Ch]   +
1719         * form_note.fd       +
1720         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1721         frontends/controllers
1722         * xforms/Dialogs.C
1723         * factory.C
1724
1725 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1726
1727         * aspell.C: add missing namespace lyx::support
1728
1729 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1730
1731         * BufferView.[Ch] (newFile): Add
1732         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1733         * LaTeX.[Ch] (message): added this signal and use it
1734         * buffer.[Ch] (busy, message): added these signals and use them
1735         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1736         * converter.C:
1737         * exporter.C:
1738         * format.C:
1739         * importer.C: use buffer signals instead of direct bv calling
1740         * lyx_cb.[Ch] (ShowMessage): removed
1741         * lyx_main.C:
1742         * lyxfunc.C:
1743         * paragraph_funcs.C:
1744         * text2.C: use buffer signals
1745
1746 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1747
1748         * introduce namespace lyx::graphics
1749
1750 2003-07-02  André Pönitz  <poenitz@gmx.net>
1751
1752         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1753
1754 2003-07-01  André Pönitz  <poenitz@gmx.net>
1755
1756         * text.C:
1757         * text2.C:
1758         * text3.C:
1759         * text_funcs.[Ch]:
1760         * textcursor.h:
1761         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1762           text*.C to text_func.C
1763
1764 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1765
1766         * introduce namespace lyx::support
1767
1768 2003-06-30  André Pönitz  <poenitz@gmx.net>
1769
1770         * Chktex.C:
1771         * funcrequest.C:
1772         * lyxtext.h:
1773         * text.C: re-enable --with-included-string
1774
1775 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1776
1777         * textcursor.C: add <config.h>
1778
1779         * text.C (getWord): remove const from word_location arg
1780
1781         * lyxvc.C (getLogFile): fix const type order
1782
1783         * lyxtext.h: remove const from word_location arg, add arg name
1784
1785         * lyxlayout.h: currect type on labeltype.
1786
1787         * importer.C: correct \file
1788
1789         * converter.C (intToFormat): use std:: on ret val, ws changes
1790
1791         * bufferlist.h: correct \file
1792
1793         * buffer.C (makeLinuxDocFile): fix const type order
1794         (makeDocBookFile): ditto
1795         (fillWithBibKeys): use std:: on stdlib args.
1796
1797         * CutAndPaste.C: fix authors.
1798         (availableSelections): use std:: on return vector
1799
1800 2003-06-27  André Pönitz  <poenitz@gmx.net>
1801
1802         * BufferView_pimpl.C:
1803         * bufferview_funcs.C:
1804         * lyxcursor.C:
1805         * lyxcursor.h:
1806         * lyxfunc.C:
1807         * lyxtext.h:
1808         * rowpainter.C:
1809         * text.C:
1810         * text2.C:
1811         * text3.C: remove LyXCursor::row_ member
1812
1813         * lyxtext.h:
1814         * text.C: rename fullRebreak() to partialRebreak() and implement
1815           a fullRebreak() that really bereks fully
1816
1817         * textcursor.h: new struct for cursor-related data
1818
1819 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * lyx_main.C (LyX): get full path of document loaded on the
1822         command line
1823
1824 2003-06-26  André Pönitz  <poenitz@gmx.net>
1825
1826         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1827           remove unused/broken operator>,<,>=.
1828
1829         *       text.C: remove only use of broken operator<= in an Assert().
1830
1831 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1834         moved errorlist_.clear to showErrorList
1835
1836 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * converter.C (scanLog, runLaTeX):
1839         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1840         move the bv->showErrorList call to the callers
1841         * lyxfunc.C: i.e. here...
1842         * text2.C: and here
1843         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1844         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1845         namespace, the second to...
1846         * buffer_funcs (BufferFormat, parseErrors): added
1847         * errorlist.C (ErrorList(TeXErrors const &)): removed
1848
1849 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1850
1851         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1852
1853 2003-06-24  "Garst R. Reese" <reese@isn.net>
1854
1855         * debug.C: fix typo
1856
1857 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1858
1859         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1860
1861         * version.C.in: change docversion to 1.4
1862
1863 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1864
1865         * buffer.C: fix a bug just introduced
1866
1867 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * buffer.[Ch]: added the parseError signal and use it, removed
1870         sgmlError
1871         * BufferView.[Ch] (addError): moved to ...
1872         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1873         to the Buffer::parseError signal to catch (guess what) parse errors
1874         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1875
1876 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1879         ability to create a buffer and to return an existing one from
1880         the list. Moved these functions to...
1881         * buffer_funcs.[Ch]: added
1882         * BufferView.[Ch] (loadLyXFile): added
1883         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1884         job removed from bufferlist::loadLyXFile.
1885         * buffer.C (setReadOnly): make it work without view
1886         (i.e added an if (users))
1887
1888 2003-06-19  Angus Leeming  <leeming@lyx.org>
1889
1890         * lfuns.h:
1891         * LyXAction.C (init):
1892         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1893         with LFUN_DIALOG_SHOW <name> <data>.
1894
1895 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * CutAndPaste.C (availableSelections): small compilation fix for
1898         ancient (gcc 2.9x) compilers
1899
1900 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * text3.C (cursorNext): add tmp var
1903
1904         * text2.C (updateCounters): for function calling out of for clause
1905         (replaceSelectionWithString): ditto
1906         (insertStringAsParagraphs): ditto
1907         (getColumnNearX): add tmp var
1908         (setCursorFromCoordinates): add tmp var
1909         (cursorDownParagraph): add tmp var
1910         (deleteEmptyParagraphMechanism): add tmp var
1911
1912         * text.C (insertChar): add tmp var
1913
1914         * rowpainter.C (paintDepthBar): add tmp var
1915
1916         * CutAndPaste.C (availableSelections): potentially check all
1917         paragraphs in a cut to fill the shown strings.
1918
1919 2003-06-18  André Pönitz  <poenitz@gmx.net>
1920
1921         * kbmap.[Ch]: use vector<> instead of list<>
1922
1923 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1924
1925         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1926         pasteSelection with index
1927
1928         * text2.C (pasteSelection): modify, call pasteSelection with index
1929
1930         * paragraph.C (asString): reimplement version with no interval to
1931         call the one with interval.
1932
1933         * lyxtext.h: add index arg to pasteSelection
1934
1935         * MenuBackend.C (MenuItem): handle PasteRecent
1936         (Menu::read::Menutags): add md_pasterecent
1937         (read): handle it
1938         (expandPasteRecent): new function
1939         (expand): use it
1940
1941         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1942
1943         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1944         the limited stack
1945         (availableSelections): new function
1946
1947 2003-06-17  Angus Leeming  <leeming@lyx.org>
1948
1949         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1950
1951 2003-06-17  Angus Leeming  <leeming@lyx.org>
1952
1953         * lfuns.h:
1954         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1955
1956         * lyxfunc.C (dispatch): invoke it.
1957
1958 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * iterators.C (operator++, ParPosition): reintroduce some
1961         const_cast for the benefit of older compilers.
1962
1963 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * text3.C (dispatch): do not modify clipboard when doing
1966         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1967         LFUN_DELETE_SKIP on a selection selection
1968
1969 2003-06-16  André Pönitz  <poenitz@gmx.net>
1970
1971         * BufferView.C:
1972         * buffer.C:
1973         * buffer.h:
1974         * paragraph.C:
1975         * tabular.[Ch]: IU of clone() and getLabelList();
1976
1977 2003-06-13  André Pönitz  <poenitz@gmx.net>
1978
1979         * tabular.h: compactification
1980
1981 2003-06-12  André Pönitz  <poenitz@gmx.net>
1982
1983         * tabular.C:
1984         * tabular.h:
1985         * tabular_funcs.h: some renaming plus whitespace
1986
1987 2003-06-12  André Pönitz  <poenitz@gmx.net>
1988
1989         * BufferView.C:
1990         * BufferView_pimpl.C:
1991         * CutAndPaste.C:
1992         * buffer.C:
1993         * iterators.[Ch]:
1994         * lyxfunc.C:
1995         * text.C:
1996         * toc.C: Return a Paragraph & for ParIterator::operator*()
1997
1998 2003-06-11  John Levon  <levon@movementarian.org>
1999
2000         * lyx_main.C:
2001         * ToolbarBackend.h:
2002         * ToolbarBackend.C: add "Toolbars" section and
2003         put the flags there
2004
2005 2003-06-10  Angus Leeming  <leeming@lyx.org>
2006
2007         * lfuns.h:
2008         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2009
2010         * lyxfunc.C (dispatch): invoke it.
2011
2012 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2013
2014         * main.C: protect <ios> with HAVE_IOS
2015         (main): protect sync_with_stdio with HAVE_IOS
2016
2017 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2018
2019         * text2.C (cutSelection): adjust
2020         (pasteSelection): adjust
2021
2022         * messages.C: handle get of empty string
2023
2024         * main.C (main): use sync_with_stdio(false)
2025
2026         * lyxfunc.C (dispatch): adjust
2027
2028         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2029         (WriteAs): remove unneeded BufferView arg.
2030
2031         * bufferparams.h: use correct types on papersize, papersize2 and
2032         paperpackage.
2033
2034         * bufferparams.C (readToken): adjust for type
2035         (writeLaTeX): add missing cases to switch.
2036
2037         * bufferlist.C (quitWriteBuffer): adjust
2038         (close): adjust
2039
2040         * buffer.C (asciiParagraph): remove some commented code.
2041
2042         * CutAndPaste.C: remove current_view extern variable.
2043         (cutSelection): add BufferParams arg.
2044         (eraseSelection): add BufferParams arg.
2045         (pasteSelection): add Buffer const & arg
2046
2047 2003-06-07  John Levon  <levon@movementarian.org>
2048
2049         * buffer.C:
2050         * paragraph_funcs.C:
2051         * paragraph_pimpl.C:
2052         * text.C:
2053         * text2.C:
2054         * paragraph.h:
2055         * paragraph.C: allow InsetERT to freely space lines,
2056         and some consolidation of code
2057
2058 2003-06-06  José Matos  <jamatos@fep.up.pt>
2059
2060         * buffer.C (makeDocBookFile): fix bug #821
2061
2062 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2063
2064         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2065
2066 2003-06-04  Angus Leeming  <leeming@lyx.org>
2067
2068         * buffer.C: bump format to 224.
2069
2070 2003-06-05  André Pönitz  <poenitz@gmx.net>
2071
2072         * text2.C (redoParagraphs): remove two const_cast<>
2073
2074 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2075
2076         * ParagraphList.h: remove last remnants of NO_STD_LIST
2077
2078 2003-06-03  Angus Leeming  <leeming@lyx.org>
2079
2080         * factory.C (createInset): small change to the way InsetExternal's params
2081         are set.
2082
2083 2003-06-04  André Pönitz  <poenitz@gmx.net>
2084
2085         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2086
2087         * paragraph_pimpl.h:
2088         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2089
2090         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2091
2092         * undo_funcs.C: make some simple cases of undo work again
2093
2094 2003-06-03  John Levon  <levon@movementarian.org>
2095
2096         * ispell.C: HPUX doesn't have sys/select.h
2097         (from Albert Chin)
2098
2099 2003-06-03  John Levon  <levon@movementarian.org>
2100
2101         * CutAndPaste.C: update tabular and include inset
2102         buffer references
2103
2104         * buffer.h:
2105         * paragraph.h:
2106         * paragraph.C: remove owningBuffer(), don't pass Buffer
2107         to clone()
2108
2109         * factory.C: insetGraphicsParams changed
2110
2111 2003-06-02  John Levon  <levon@movementarian.org>
2112
2113         * LyXAction.C:
2114         * factory.C:
2115         * lfuns.h:
2116         * lyxfunc.C:
2117         * text3.C: remove insetparent
2118
2119 2003-06-02  John Levon  <levon@movementarian.org>
2120
2121         * buffer.h:
2122         * buffer.C: fix inset_iterator.end(), move out of line
2123         (bug 1149)
2124
2125 2003-06-01  John Levon  <levon@movementarian.org>
2126
2127         * text3.C: use a proper cut/paste when doing inset
2128         insert (from Jürgen Spitzmüller)
2129
2130 2003-06-01  John Levon  <levon@movementarian.org>
2131
2132         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2133
2134 2003-05-30  André Pönitz  <poenitz@gmx.net>
2135
2136         * rowpainter.C: unify second drawing phase
2137
2138 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * trans_mgr.C: remove one case of current_view
2141
2142         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2143
2144         * paragraph_funcs.h: remove paragraph.h include
2145
2146         * paragraph.h: delete NO_STD_LIST stuff
2147
2148         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2149
2150         * buffer.h: remove paragraph.h include
2151
2152         * ParagraphList.C: delete file
2153
2154         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2155
2156         * toc.C (getTocList): adjust
2157
2158         * paragraph_pimpl.C (validate): adjust
2159
2160         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2161
2162         * paragraph.C (Paragraph): adjust
2163         (getPositionOfInset): use const_iterator, adjust
2164         (bibitem): use const_iterator, adjust
2165         (setInsetOwner): adjust
2166
2167         * iterators.C (operator++): adjust
2168
2169         * InsetList.[Ch]: Replace selfmade iterator with standard
2170         vector::iterator also introduce const_iterator. Remove getPos,
2171         getInset and setInset from InsetTable. Adjust accordingly.
2172
2173         * BufferView.C (lockInset): adjust
2174         (ChangeInsets): adjust
2175
2176         * tabular.[Ch]: delete commented same_id functions
2177
2178 2003-05-28  John Levon  <levon@movementarian.org>
2179
2180         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2181
2182 2003-05-28  André Pönitz  <poenitz@gmx.net>
2183
2184         * metricsinfo.[Ch]: remove 'fullredraw' member
2185
2186 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2187
2188         * lyxtextclass.C (operator): remove caching.
2189
2190 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * text3.C: adjust
2193
2194         * text2.C (cursorBottom): adjust
2195         (setCounter): use ParagraphList::find, adjust
2196
2197         * text.C (workWidth): use ParagraphList::find, adjust
2198
2199         * lyxcursor.C (LyXCursor): adjust
2200
2201         * buffer.C (inset_iterator): adjust
2202
2203         * ParagraphList.h: make iterator(value_type) private, make
2204         ParagraphList a friend of iterator.
2205
2206         * ParagraphList.C (find): new function
2207
2208         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2209
2210 2003-05-27  André Pönitz  <poenitz@gmx.net>
2211
2212         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2213
2214 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2215
2216         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2217
2218 2003-05-26  John Levon  <levon@movementarian.org>
2219
2220         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2221
2222 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * remove same_id from function signatures, adjust.
2225
2226 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2229
2230         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2231
2232         * paragraph.C (Paragraph): get rid of same_ids parameter
2233
2234         * ParagraphList.C (insert): adjust
2235         (push_back): adjust
2236
2237 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * paragraph_funcs.C (breakParagraph): adjust
2240         (breakParagraphConservative): adjust
2241
2242         * buffer.C (readParagraph): adjust
2243
2244         * ParagraphList.C (insert): take a reference instead of a pointer
2245         (insert): adjust
2246
2247         * paragraph.[Ch] (id): new function
2248
2249         * bufferlist.C (newFile): adjust
2250
2251         * ParagraphList.C (ParagraphList): adjust
2252         (assign): adjust
2253         (push_back): take a reference instead of a pointer.
2254
2255         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2256
2257         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2258         instead.
2259
2260         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2261         set else use old code.
2262
2263         * ParagraphList.C: remove all NO_NEXT code and only compile this
2264         code of NO_STD_LIST is set.
2265
2266 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * BufferView_pimpl.C:
2269         * TextCache.C:
2270         * TextCache.h:
2271         * bufferlist.C:
2272         * errorlist.h:
2273         * format.C:
2274         * format.h:
2275         * graph.C:
2276         * lyxfunc.C:
2277         * lyxrc.C:
2278         * graphics/GraphicsConverter.C:
2279         * graphics/PreviewLoader.C: header adjustment
2280
2281 2003-05-23  Angus Leeming  <leeming@lyx.org>
2282
2283         * LaTeXFeatures.[Ch] (useBabel): new method.
2284         * bufferparams.C (writeLaTeX): use it.
2285
2286 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * ParagraphList.h (set): remove unused function.
2289
2290 2003-05-23  André Pönitz  <poenitz@gmx.net>
2291
2292         * BufferView.C:
2293         * BufferView_pimpl.C:
2294         * buffer.C:
2295         * buffer.h:
2296         * lyxfunc.C:
2297         * undo_funcs.C: setUndo reworked
2298
2299         * iterators.[Ch]: add access to topmost ParagraphList
2300
2301         * lyxtext.[Ch] (workWidth): add a const
2302
2303 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2304
2305         * texrow.[Ch] (increasePos): remove function
2306         * exporter.C (export): removed unused var and outdated comment
2307
2308 2003-05-23  Angus Leeming  <leeming@lyx.org>
2309
2310         * latexrunparams.h: rename fragile as moving_arg.
2311         * paragraph.C (simpleTeXOnePar): ditto.
2312         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2313
2314 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2317         (createUndo): ditto
2318         (textUndoOrRedo): comment out a currently unused var.
2319
2320         * paragraph.h (NO_NEXT): enable NO_NEXT
2321
2322         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2323
2324         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2325
2326         * exporter.C (Export): adjust for removeAutoInsets removal.
2327
2328         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2329
2330         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2331
2332         * BufferView.[Ch] (removeAutoInsets): delete function
2333
2334 2003-05-22  Angus Leeming  <leeming@lyx.org>
2335
2336         * latexrunparams.h: add a free_spacing variable.
2337
2338         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2339         to pass moving_arg, as the data is stored in runparams.fragile.
2340
2341         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2342         to Inset::latexOptional or to simpleTeXOnePar.
2343
2344         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2345         free_spacing arg to Inset::latexOptional.
2346
2347         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2348         free_spacing arg.
2349
2350 2003-05-22  Angus Leeming  <leeming@lyx.org>
2351
2352         * latexrunparams.h: add fragile and use_babel variables.
2353
2354         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2355         * buffer.C (makeLaTeXFile): store this returned value in
2356         runparams.use_babel, thus passing it to the inset::latex methods.
2357
2358         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2359         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2360
2361         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2362         longer has a fragile arg, as it is stored in runparams.fragile.
2363
2364         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2365         moving_arg parameter as the data is stored in runparams.fragile.
2366
2367         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2368         a fragile parameter as the data is stored in runparams.fragile.
2369
2370 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2371
2372         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2373
2374 2003-05-22  Angus Leeming  <leeming@lyx.org>
2375
2376         * latexrunparams.h: add a 'bool nice' which defaults to false.
2377
2378         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2379         now encapsulated within runparams.
2380
2381         * bufferlist.C (updateIncludedTeXfiles):
2382         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2383
2384 2003-05-22  Angus Leeming  <leeming@lyx.org>
2385
2386         * latexrunparams.h: new file containing struct LatexRunParams.
2387         * Makefile.am: add new file.
2388
2389         * LaTeX.[Ch] (c-tor, run):
2390         * buffer.[Ch] (makeLaTeXFile):
2391         * bufferlist.[Ch] (updateIncludedTeXfiles):
2392         * converter.C (convert, scanLog):
2393         * converter.[Ch] (runLaTeX):
2394         * exporter.C (Export):
2395         * paragraph.[Ch] (simpleTeXOnePar):
2396         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2397         * paragraph_funcs.[Ch] (latexParagraphs):
2398         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2399         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2400         pass around a LatexRunParams parameter.
2401
2402 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * paragraph.[Ch]: remove unused constructor
2405
2406         * ParagraphList.C (erase): new function, taking two iterators
2407
2408 2003-05-22  André Pönitz  <poenitz@gmx.net>
2409
2410         * undo_funcs.C: remove duplicated code
2411
2412         * iterator.[Ch]: operator=
2413
2414 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * tabular.C (SetMultiColumn): ws changes
2417
2418         * rowpainter.C (paintFirst): get rid of a ->previous
2419
2420         * lyx_cb.C (getPossibleLabel): parlist simplification
2421
2422         * BufferView.C (ChangeInsets): simplify slightly.
2423
2424 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2425
2426         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2427         * lfuns.h: new LFUN_SPACE
2428         * lyxfunc.C: protected space has a new lfun
2429         * paragraph_funcs.C: read new space insets
2430         * text3.C:
2431         * factory.C: handle new space insets
2432
2433 2003-05-22  André Pönitz  <poenitz@gmx.net>
2434
2435         * BufferView.C:
2436         * BufferView_pimpl.C:
2437         * buffer.[Ch]:
2438         * lyxfunc.C:
2439         * undo_funcs.C: return a ParIterator from getParFromID.
2440
2441         * iterators.[Ch]: add two const's
2442
2443 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * toc.C (getTocList): adjust
2446
2447         * iterators.[Ch]: rework for parlist
2448
2449         * buffer.C (par_iterator_begin): adjust
2450         (par_iterator_end): adjust
2451
2452         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2453
2454         * BufferView.C (removeAutoInsets): adjust
2455         (ChangeInsets): adjust
2456
2457 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2458
2459         * text.C (top_y): fix bug 1110
2460
2461 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2462
2463         * errorlist.[Ch]: added
2464         * buffer.C:
2465         * BufferView.[Ch]:
2466         * BufferView_pimpl.C:
2467         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2468         instead
2469
2470 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * Makefile.am: ensure that lyx is relinked upon changes to the
2473         various "convenience" libs.
2474
2475 2003-05-20  Angus Leeming  <leeming@lyx.org>
2476
2477         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2478         files are compiled in alphabetical order again.
2479
2480         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2481
2482 2003-05-19  Angus Leeming  <leeming@lyx.org>
2483
2484         * gettext.[Ch]: remove "char const * _(char const *)".
2485
2486 2003-05-19  André Pönitz  <poenitz@gmx.net>
2487
2488         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2489
2490         * Makefile.am:
2491         * BufferView.C:
2492         * DepTable.h:
2493         * LaTeXFeatures.C:
2494         * buffer.C:
2495         * lyxfont.C:
2496         * lyxlex.h:
2497         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2498
2499 2003-05-19  André Pönitz  <poenitz@gmx.net>
2500
2501         * buffer.C:
2502         * lyxlayout.[Ch]:
2503         * lyxtextclass.[Ch]:
2504         * paragraph.C:
2505         * paragraph_funcs.[Ch]:
2506         * text2.C:
2507         * text3.C: more insetenv work
2508
2509 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * ParagraphParameters.C (params2string): small bug fixed
2512
2513 2003-05-16  André Pönitz  <poenitz@gmx.net>
2514
2515         * debug.C:
2516         * bufferview_funcs.C: patch from Kornel Benko to prevent
2517           crash when _(...) is called twice in a statement
2518
2519 2003-05-16  André Pönitz  <poenitz@gmx.net>
2520
2521         * BufferView.C:
2522         * lyxfunc.C:
2523         * text.C:
2524         * text2.C:
2525         * text3.C:
2526         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2527
2528 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * lyx_main.C (init): remove spurious static_cast
2531
2532 2003-05-14  André Pönitz  <poenitz@gmx.net>
2533
2534         * BufferView.C: fix format string
2535
2536 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2537
2538         * BufferView.[Ch] (insertErrors): removed
2539         * BufferView.[Ch] (showErrorList): added
2540         * buffer.C (runChkTeX):
2541         * converter.C (scanLog): call showErrorList instead of inserterrors
2542
2543 2003-05-13  André Pönitz  <poenitz@gmx.net>
2544
2545         * BufferView_pimpl.C:
2546         * buffer.C:
2547         * bufferview_func.C:
2548         * MenuBackend.C:
2549         * lyxfunc.C:
2550         * lyxrc.C:
2551         * tex-accent.C:
2552         * text3.C:
2553         * toc.C:
2554         * tabular_funcs.h: tostr() from its own header
2555
2556         * ParagraphParameters.C:
2557         * ToolbarBackend.C:
2558         * bufferparams.C:
2559         * format.C:
2560         * lyxlex_pimpl.C:
2561         * text3.C: STRCONV()
2562
2563 2003-05-12  André Pönitz  <poenitz@gmx.net>
2564
2565         * BufferView.C:
2566         * BufferView_pimpl.C:
2567         * CutAndPaste.C:
2568         * LaTeX.C:
2569         * LaTeXFeatures.C:
2570         * ParagraphParameters.C:
2571         * buffer.C:
2572         * bufferlist.C:
2573         * bufferparams.C:
2574         * bufferview_funcs.C:
2575         * converter.C:
2576         * counters.C:
2577         * debug.C:
2578         * exporter.C:
2579         * format.C:
2580         * importer.C:
2581         * lyx_cb.C:
2582         * lyx_main.C:
2583         * lyxfont.C:
2584         * lyxfunc.C:
2585         * lyxvc.C:
2586         * paragraph.C:
2587         * paragraph_funcs.C:
2588         * tabular.C:
2589         * tabular_funcs.C:
2590         * text2.C:
2591         * text3.C:  boost::format -> bformat  all over the place
2592
2593
2594 2003-05-09  André Pönitz  <poenitz@gmx.net>
2595
2596         * LColor.[Ch]: Pimpl the #include <map> away
2597
2598 2003-05-09  John Levon  <levon@movementarian.org>
2599
2600         * bufferlist.C: never remove emergency saves
2601
2602 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2603
2604         * Makefile.am: better lib building
2605
2606 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2609         instead.
2610         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2611         (simpleTeXSpecialChars): adjust
2612         (simpleTeXSpecialChars): adjust
2613         * paragraph.C (simpleTeXOnePar): adjust
2614         * buffer.C (makeLaTeXFile): adjust
2615
2616         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2617
2618         * text2.C (changeDepth): parlist cleanup
2619         (getColumnNearX): ditto
2620
2621         * rowpainter.C (getLabelFont): parlist cleanup
2622
2623         * bufferlist.C (newFile): parlist cleanup
2624
2625         * CutAndPaste.C (eraseSelection): parlist cleanup
2626
2627         * BufferView_pimpl.C (trackChanges): parlist cleanup
2628         (dispatch): ditto
2629
2630         * BufferView.C (lockInset): parlist cleanup.
2631         (ChangeInsets): ditto
2632
2633 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2634
2635         * CutAndPaste.h: Update file header.
2636
2637         * CutAndPaste.C: Update file header.
2638         Store the parts cut out of the Document in a limited_stack.
2639         (copySelection): adjust
2640         (pasteSelection): new function, takes the index in the limited stack.
2641         (nrOfParagraphs): adjust
2642         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2643         simplify error inset insertion.
2644         (checkPastePossible): adjust
2645
2646 2003-05-06  John Levon  <levon@movementarian.org>
2647
2648         * text2.C: don't cast wrap inset to float
2649
2650 2003-05-05  André Pönitz  <poenitz@gmx.net>
2651
2652         * iterator.C:
2653         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2654
2655         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2656           few naked Paragraph *.
2657
2658 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2659
2660         * bufferparams.C: Output warning if a document with missing
2661         TeX document class is loaded
2662         * exporter.C: Disable TeX exports if the document class is missing
2663         * lyxtextclass.C:
2664         * lyxtextclass.h:
2665         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2666         isTeXClassAvailable()
2667
2668 2003-05-03  John Levon  <levon@movementarian.org>
2669
2670         * BufferView.h:
2671         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2672         explicit cursor show/hide
2673
2674         * BufferView_pimpl.h:
2675         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2676         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2677
2678         * lyxfunc.C: hide cursor before dispatching.
2679
2680         * lyx_cb.C:
2681         * lyxfind.C:
2682         * text.C:
2683         * text3.C: remove explicit cursor hides
2684
2685 2003-05-02  André Pönitz  <poenitz@gmx.net>
2686
2687         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2688
2689         * undo_funcs.C:
2690         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2691           linked lists
2692
2693         * text2.C: tiny whitespace
2694
2695 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * undo_funcs.C: almost only ws changes.
2698
2699         * ParagraphList.C (splice): just return if pl is empty.
2700
2701 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2702
2703         * ParagraphList.C (splice): new function.
2704
2705         * CutAndPaste.C (pasteSelection): use it
2706
2707 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * CutAndPaste.C (pasteSelection): remove the last next and
2710         previous from this file.
2711
2712 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * CutAndPaste.C (pasteSelection): more clean up, user proper
2715         ParagraphList functions for pasteing.
2716
2717         * ParagraphList.C (insert): new function, three arg insert
2718
2719 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2720
2721         * ParagraphList.C (insert): new function, three arg insert
2722
2723         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2724         not on paragraphs.
2725
2726 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2727
2728         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2729
2730 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2731
2732         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2733
2734 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2737         (copySelection): clean up a bit.
2738         (pasteSelection): use make_pair
2739
2740         * ParagraphList.C (ParagraphList): implement copy constructor
2741         (operator=): implement, base on copy constructor.
2742         (assign): new func
2743
2744         * paragraph.C (erase): return a bool
2745
2746         * paragraph_pimpl.C (erasePos): remove function, move contents...
2747         (erase): ... here. Return a bool.
2748         (erase): call erase instead of erasePos.
2749
2750 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * ParagraphList.h: define PitPosPair
2753         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2754         ParagraphList, fix a bug on pasting multiple pars
2755         * text2.C: change interface to C&P
2756
2757 2003-04-30  André Pönitz  <poenitz@gmx.net>
2758
2759         * undo_func.C: revert part of yesterday's patch 2
2760
2761 2003-04-30  John Levon  <levon@movementarian.org>
2762
2763         * LColor.C: s/tabular/table/
2764
2765 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * text3.C (dispatch): do not convert iterator -> pointer
2768         * undo_funcs.C (setCursorParUndo): ditto
2769         * text_funcs.C (transposeChars): ditto
2770
2771         * text2.C (setLayout): ws changes only
2772
2773         * text.C (breakParagraph): do not convert iterator -> pointer
2774         (insertChar): ditto
2775         (acceptChange): ditto
2776         (rejectChange): ditto
2777         (changeCase): ditto
2778         (Delete): ditto
2779         (backspace): ditto
2780
2781         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2782         pointer
2783
2784 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * text3.C (gotoInset): YABG (yet another bad getChar)
2787
2788 2003-04-29  André Pönitz  <poenitz@gmx.net>
2789
2790         * paragraph.h: make operator= private unimplemented as long as
2791           it is unusable
2792
2793         * ParagraphList.C: whitespace
2794
2795         * paragraph.[Ch]:
2796         * paragraph_pimpl.[Ch]:
2797         * paragraph_funcs.C:
2798         * CutAndPaste.C:
2799         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2800
2801         * text2.C:
2802           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2803
2804 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2805
2806         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2807         * paragraph.[Ch] (erase):
2808         * paragraph_pimpl.[Ch] (erase): change return type and value
2809         * text2.C (cutSelection): some rework
2810
2811 2003-04-28  John Levon  <levon@movementarian.org>
2812
2813         * bufferlist.C: changes for unsaved changes dialog
2814
2815 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * bufferlist.C (newFile): set language (messages_) for new
2818         documents also.
2819
2820         * buffer.C (readFile): ws changes only.
2821
2822 2003-04-28  André Pönitz  <poenitz@gmx.net>
2823
2824         * undo_funcs.C:
2825         * lyxfunc.C:
2826         * buffer.[Ch]:
2827         * BufferView_pimpl.C:
2828         * BufferView.C: getParFromID related ParagraphList::iterator changes
2829
2830 2003-04-28  André Pönitz  <poenitz@gmx.net>
2831
2832         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2833           Changes
2834
2835 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * messages.C: remove one more localedir class variable.
2838
2839 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * messages.C (getLocaleDir): singleton generation function
2842         (Pimpl): use it.
2843         (Messages): add a default constructor.
2844
2845         * main.C (main): do not setup localedir here, do not call
2846         gettext_init.
2847
2848         * gettext.C (_): use it.
2849         (gettext_init): delete funciton
2850
2851 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * gettext.C (getLyXMessages): new singleton generating function.
2854
2855         * buffer.C (updateDocLang): adjust
2856
2857         * Makefile.am (messages.o): add target
2858         (main.o): remove target
2859
2860 2003-04-27  John Levon  <levon@movementarian.org>
2861
2862         * bufferlist.C:
2863         * lyx_cb.C:
2864         * lyxfunc.C:
2865         * lyxvc.C: specify cancel button in Alert::prompt
2866
2867 2003-04-26  John Levon  <levon@movementarian.org>
2868
2869         * text3.C:
2870         * lyxfunc.C:
2871         * lfuns.h:
2872         * LyXAction.C: add LFUN_INSET_SETTINGS
2873
2874         * lyxfunc.C: don't enable tabular-feature when there's
2875         just any locking inset
2876
2877 2003-04-26  John Levon  <levon@movementarian.org>
2878
2879         * bufferlist.C: re-add Cancel to buffer close question
2880
2881         * lyxfunc.C: fix import UI a bit
2882
2883 2003-04-25  John Levon  <levon@movementarian.org>
2884
2885         * gettext.C: remove the broken asserts for now
2886
2887 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * messages.C: make case where setlocale cannot comply work better.
2890
2891         * buffer.C (updateDocLang): new function
2892         (changeLanguage): use it
2893         (readFile): use it
2894
2895         * text2.C (setCounter): use B_ a bit.
2896
2897         * lyxlayout.C (Read): be sure to trim the label strings.
2898
2899         * messages.C (Messages): fix typo in comment
2900
2901         * buffer.C (readFile): set message_ after file is loaded.
2902         (makeDocBookFile): remove double return
2903         (changeLanguage): reset message_ upon language change.
2904         (B_): new func, use this to get translated buffer strings.
2905
2906         * main.C: add myself and Jean Marc as authors.
2907
2908 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * messages.[hC]: pimplify Messages, and three different pimpls to be
2911         used in different circumstances.
2912
2913         * gettext.[Ch]: change for use with new message code.
2914
2915 2003-04-24 André Pönitz <poenitz@gmx.net>
2916
2917         * factory.C: support for eqref
2918
2919 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2920
2921         * messages.[Ch]: add missing char
2922
2923         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2924
2925         * messages.[Ch]: New files
2926
2927 2003-04-18  John Levon  <levon@movementarian.org>
2928
2929         * BufferView.h:
2930         * BufferView.C:
2931         * BufferView_pimpl.C:
2932         * lfuns.h:
2933         * LyXAction.C:
2934         * lyxtext.h:
2935         * text2.C: remove layout-copy/paste (bug 778)
2936
2937 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2940
2941 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2942
2943         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2944         if they succeed. Act accordingly.
2945
2946 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2947
2948         * text2.C (setCharFont): adjust
2949         (setCounter): adjust
2950         (insertStringAsLines): adjust
2951
2952         * text.C (leftMargin): adjust
2953         (setHeightOfRow): adjust
2954
2955         * rowpainter.C (paintFirst): adjust
2956         (paintLast): adjust
2957
2958         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2959         (outerHook): ditto
2960         (isFirstInSequence): ditto
2961         (getEndLabel): ditto
2962         (outerFont): adjust
2963
2964         * paragraph.C (getParLanguage): comment out some hard stuff.
2965
2966         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2967         (sgmlError): ditto
2968         (simpleDocBookOnePar): ditto
2969         (makeDocBookFile): use ParagraphList::iterator
2970
2971         * CutAndPaste.C (pasteSelection): adjust
2972
2973 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * text2.C (getFont): adjust
2976         (getLayoutFont): adjust
2977         (getLabelFont): adjust
2978
2979         * paragraph_funcs.C (TeXOnePar): adjust
2980
2981         * buffer.C (simpleLinuxDocOnePar): adjust
2982         (simpleDocBookOnePar): adjust
2983
2984         * CutAndPaste.C (pasteSelection): adjust
2985
2986         * BufferView.C (getEncoding): adjust
2987
2988         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2989
2990 2003-04-16  John Levon  <levon@movementarian.org>
2991
2992         * lyxfind.C: use parlist stuff for search/changes
2993
2994 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2997
2998         * text2.C (deleteEmptyParagraphMechanism): adjust
2999
3000         * text2.[Ch] (ownerParagraph): delete func (both of them
3001
3002 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3005
3006 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * ParagraphList.C: prepare for NO_NEXT
3009
3010 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * text2.C (getFont): adjust
3013         (getLayoutFont): adjust
3014         (getLabelFont): adjust
3015
3016         * paragraph.C (getFont): adjust
3017         (getLabelFont): adjust
3018         (getLayoutFont): adjust
3019
3020         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3021
3022 2003-04-15  John Levon  <levon@movementarian.org>
3023
3024         From Angus Leeming
3025
3026         * lyx_main.C: handle Include in .ui files
3027
3028 2003-04-15  John Levon  <levon@movementarian.org>
3029
3030         * MenuBackend.C: make the doc files length shorter
3031
3032         * ToolbarBackend.h:
3033         * ToolbarBackend.C: handle toolbar placement flags,
3034         Minibuffer
3035
3036 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3039         adjust
3040
3041         * paragraph_funcs.C (TeXOnePar): adjust
3042
3043         * paragraph.C (getLabelFont): add outerfont arg, adjust
3044         (getLayoutFont): ditto
3045         (simpleTeXOnePar): adjust
3046
3047         * paragraph_pimpl.C (realizeFont): delete func
3048
3049 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3052         row argument, constify cur argument.
3053
3054 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3055
3056         * text2.C (getFont): adjust
3057         (getLayoutFont): adjust
3058         (getLabelFont): adjust
3059
3060         * paragraph_funcs.C (TeXOnePar): adjust
3061         (outerFont): new func...
3062         (realizeFont): ...moved out from here, changed this to facilitate
3063         transition
3064
3065         * paragraph.C (getFont): take outerfont as arg, adjust
3066         (simpleTeXOnePar): add outerfont arg, adjust
3067
3068         * buffer.C (simpleLinuxDocOnePar): adjust
3069         (simpleDocBookOnePar): adjust
3070
3071         * CutAndPaste.C (pasteSelection): adjust
3072
3073         * BufferView.C (getEncoding): adjust
3074
3075 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3076
3077         * text2.C (setCharFont): adjust
3078         (setCounter): adjust
3079
3080         * text.C (leftMargin): adjust
3081         (setHeightOfRow): adjust
3082
3083         * rowpainter.C (paintFirst): adjust
3084         (paintLast): adjust
3085
3086         * paragraph_pimpl.C (realizeFont): adjust
3087
3088         * paragraph.C (isFirstInSequence): move from here...
3089         * paragraph_funcs.C (isFirstInSequence): ...to here
3090
3091         * paragraph.C (outerHook): move from here...
3092         * paragraph_funcs.C (outerHook): ...to here
3093
3094         * paragraph.C (depthHook): move from here...
3095         * paragraph_funcs.C (depthHook): ...to here
3096
3097         * paragraph.C (getEndLabel): move from here...
3098         * paragraph_funcs.C (getEndLabel): ...to here
3099
3100         * text2.C (realizeFont): move from here...
3101         * paragraph_funcs.C (realizeFont): ...to here
3102
3103 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3106
3107 2003-04-14  Angus Leeming  <leeming@lyx.org>
3108
3109         * LColor.[Ch]: scrap LColor mathcursor.
3110
3111 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * lyxlex.[Ch] (text): delete function
3114         * trans.C (Load): adjust
3115         * paragraph_funcs.C (readParToken): adjust
3116
3117 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3120         vector<char> instead of a char[].
3121
3122         * lyxlex_pimpl.C (getString): adjust
3123         (next): adjust
3124         (lex): use getString
3125         (eatLine): adjust
3126         (nextToken): adjust
3127
3128         * lyxlex.C (text): use pimpl_->getString()
3129         (getBool): ditto
3130         (findToken): ditto
3131
3132 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3135         (makeFontEntriesLayoutSpecific): temp var for par.size()
3136         (setLayout): temp var for ownerParagraphs().end()
3137         (fullRebreak): temp var for rows().end()
3138         (selectionAsString): temp var for boost::next(startpit), realize
3139         that the while really is a regular for loop.
3140         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3141         setCursor in one place.
3142         (setParagraph): temp vr for ownerParagraphs().end()
3143         (updateCounters): make the while loop a for loop
3144         (cutSelection): temp var for ownerParagraphs().end()
3145         (updateInset): make the do {} while() a regular for loop
3146         (getCursorX): use temp vars
3147         (setCurrentFont): use temp vars
3148         (getColumnNearX): use temp vars
3149
3150 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * text.C (transformChar): use temp var for getChar
3153         (computeBidiTables): use temp var for row->par()
3154         (fill): move temp vars for row->par() and pit->layout() earlier in
3155         the function.
3156         (labelFill): use temp var for row->par()
3157         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3158         asc and desc, realize that pit never changes and that firstpit is
3159         just a duplicate and not needed. Exchange rit->par() with pit in a
3160         lot of places.
3161         (breakAgain): use a temp var for boost::next(rit)
3162         (breakAgainOneRow): ditto
3163         (breakParagraph): use a temp var for rows().begin()
3164         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3165         (cursorRightOneWord): use temp var for cursor.par() and
3166         cursor.pos(), remove usage of tmpcursor.
3167         (cursorLeftOneWord): use temp var for cursor.par() and
3168         cursor.pos() only set cur at end of function.
3169
3170 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * text.C, text2.C: exchange all usage of Paragraph::next with
3173         boost::next(ParagraphList::iterator)
3174
3175         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3176
3177         * text2.C (cursorTop): simplify implementation
3178         (cursorBottom): ditto
3179         (setParagraph): use ParagraphList::iterator
3180         (setCurrentFont): adjust
3181         (getColumnNearX): adjust
3182         (cursorRight): adjust
3183         (cursorLeft): remove usage of Paragraph::previous
3184         (cursorUpParagraph): ditto
3185         (deleteEmptyParagraphMechanism): slight cleanup
3186
3187         * text.C (isBoundary): take a Paragraph const & instead of a
3188         pointer as arg.
3189         (addressBreakPoint): ditto
3190         (leftMargin): remove usage of Paragraph::previous.
3191         (setHeightOfRow): ditto
3192         (cursorLeftOneWord): ditto
3193         (selectNextWordToSpellcheck): ditto
3194         (Delete): ditto
3195         (backspace): ditto
3196         (breakParagraph): remove one usage of Paragraph::next
3197         (redoParagraph): ditto
3198         (acceptChange): ditto
3199         (insertChar): adjust
3200         (rowBreakPoint): adjust
3201
3202         * bufferview_funcs.C (toggleAndShow): adjust
3203
3204 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3205
3206         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3207         methods to access it.
3208         * lyxtext.h:
3209         * text.C: Added updateRowPositions to compute all row positions.
3210         Make top_y and getRowNearY() to use the cached y position
3211
3212 2003-04-11  John Levon  <levon@movementarian.org>
3213
3214         * text.C (rowBreakPoint): reintroduce the labelEnd
3215         checks, code copied from the row fill stuff. Deep voodoo.
3216
3217         * text.C (fill): add a comment and debugging for the
3218         next poor soul.
3219
3220 2003-04-11  John Levon  <levon@movementarian.org>
3221
3222         * text.C: make sure fullrow insets get wrapped to the next line,
3223         even when they're in a manual label
3224
3225 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3226
3227         * text2.C (insertParagraph): make it take ParagraphList::iterator
3228         as arg.
3229         (setLayout): make it return ParagraphList::iterator
3230         (redoParagraphs): ditto
3231         (setCounter): ditto
3232         (checkParagraph): ditto
3233
3234         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3235
3236         * text2.C: adjust several funcs.
3237         (realizeFont): take a ParagraphList::iterator as arg.
3238         (getLayoutFont): ditto
3239         (getLabelFont): ditto
3240         (setCharFont): ditto
3241
3242         * text.C: adjust several funcs.
3243
3244 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3245
3246         * text.C (selectNextWordToSpellcheck): don't accidentally
3247         skip insets
3248
3249 2003-04-10  John Levon  <levon@movementarian.org>
3250
3251         * ToolbarBackend.C (getIcon): special handling for
3252         LFUN_MATH_DELIM
3253
3254 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * text2.C (cursorRight): a getChar assert fixed
3257
3258 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3259
3260         * text2.C (getFont): change to take a ParagraphList::iterator
3261         instead of Paragraph*
3262         Adjust several functions.
3263
3264         * text.C (transformChar): change to take a ParagraphList::iterator
3265         instead of Paragraph*
3266         (singleWidth): ditto
3267         Adjust several functions.
3268
3269         * rowpainter.C: adjust several functions
3270         * rowpainter.h:store a ParagraphList::iterator and not a
3271         Paragraph&.
3272
3273
3274 2003-04-09  John Levon  <levon@movementarian.org>
3275
3276         * lyxfunc.C:
3277         * lfuns.h:
3278         * LyXAction.h:
3279         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3280         and the "help" bits as well
3281
3282 2003-04-09  John Levon  <levon@movementarian.org>
3283
3284         * ToolbarBackend.h:
3285         * ToolbarBackend.C: allow multiple toolbars
3286
3287 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * undo_funcs.C (setCursorParUndo): adjust
3290
3291         * text_funcs.C (transposeChars): adjust
3292
3293         * text3.C (gotoNextInset): adjust
3294         (dispatch): adjust
3295
3296         * text2.C (setLayout): adjust
3297         (changeDepth): adjust
3298         (setFont): adjust
3299         (redoParagraphs): adjust
3300         (selectionAsString): adjust
3301         (setParagraph): adjust
3302         (insertInset): adjust
3303         (cutSelection): adjust
3304         (copySelection): adjust
3305         (pasteSelection): adjust
3306         (insertStringAsLines): adjust
3307         (updateInset): adjust
3308         (setCursor): change to take a ParagraphList::iterator parameter
3309         (setCursorIntern): change to take a ParagraphList::iterator parameter
3310         (setCurrentFont): adjust
3311         (cursorLeft): adjust
3312         (cursorRight): adjust
3313         (deleteEmptyParagraphMechanism): adjust
3314
3315         * text.C (breakParagraph): adjust
3316         (insertChar): adjust
3317         (acceptChange): adjust
3318         (rejectChange): adjust
3319         (selectNextWordToSpellcheck): adjust
3320         (changeCase): adjust
3321         (Delete): adjust
3322         (backspace): adjust
3323
3324         * lyxfind.C (SearchForward): adjust
3325         (SearchBackward): adjust
3326         (nextChange): adjust
3327
3328         * lyxcursor.C (par): adjust
3329
3330         * lyxcursor.h: store a ParagraphList::iterator instead of a
3331         Paragraph*
3332
3333         * lyx_cb.C (getPossibleLabel): adjust
3334
3335         * bufferview_funcs.C (toggleAndShow): adjust
3336
3337         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3338         (dispatch): adjust
3339
3340         * BufferView.C (removeAutoInsets): adjust
3341         (lockedInsetStoreUndo): adjust
3342
3343 2003-04-09  John Levon  <levon@movementarian.org>
3344
3345         * ToolbarBackend.C: try icon without argument
3346         if with argument fails
3347
3348 2003-04-08  John Levon  <levon@movementarian.org>
3349
3350         * ToolbarBackend.h:
3351         * ToolbarBackend.C: add getIcon(), handle tooltip,
3352         and change from "Icon" to "Item".
3353
3354 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3355
3356         * BufferView.C (lockInset): another bad getchar crunched
3357
3358 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3359
3360         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3361         again)
3362
3363 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * lyxfind.C (searchForward, searchBackwards): bug 782
3366
3367 2003-04-07  John Levon  <levon@movementarian.org>
3368
3369         * paragraph.C: remove dead comment
3370
3371         * text.C: remove troublesome depth-fiddling code
3372         in leftMargin() and rightMargin() (bug 1017)
3373
3374         * text.C: fix breaking of rows in nested lists
3375         (bug 1004)
3376
3377         * text2.C (updateCounters): fix up depth values
3378         (bug 1013)
3379
3380 2003-04-07  John Levon  <levon@movementarian.org>
3381
3382         * BufferView_pimpl.C: clear message when doc finishes resizing,
3383         and after a mouse event
3384
3385         * lyxfunc.C: clear message after exiting inset
3386
3387 2003-04-07  John Levon  <levon@movementarian.org>
3388
3389         * bufferview_funcs.C: show math status not outside
3390         status in the statusbar
3391
3392 2003-04-07  John Levon  <levon@movementarian.org>
3393
3394         * lyxfunc.C: note status changed after a depth change
3395
3396 2003-04-04  Angus Leeming  <leeming@lyx.org>
3397
3398         * LaTeX.h: move AuxInfo operator==, != out of line.
3399         Remove LaTeX virtual destructor; nothing derives from it.
3400         Move operator()() out of public area and rename it startscript().
3401         Change protected for private.
3402
3403 2003-04-04  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyxfunc.C:
3406         * text2.C: remove unneeded #includes.
3407
3408 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3409
3410         * text2.C (dEPM): fix the heigth of the next row
3411
3412 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * text.C: squashed an invalid getChar requester + some ws changes
3415
3416 2003-04-03  John Levon  <levon@movementarian.org>
3417
3418         * bufferview_funcs.h:
3419         * bufferview_funcs.C:
3420         * lyxfunc.C:
3421         * lyxtext.h:
3422         * text2.C: make getStatus work for the env depth lfuns
3423
3424 2003-04-03  John Levon  <levon@movementarian.org>
3425
3426         * bufferview_funcs.h:
3427         * bufferview_funcs.C:
3428         * lyxfunc.C:
3429         * lyxtext.h:
3430         * text2.C: parlistize decDepth(), by merging it with incDepth()
3431
3432 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * lyxrow.h: store a ParagraphList::iterator instead of a
3435         Paragraph* and adjust other class functions to suit.
3436
3437         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3438         above.
3439
3440 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * text2.C (setCursor): do not anchor to cursor row for the time being
3443
3444 2003-04-02  John Levon  <levon@movementarian.org>
3445
3446         * LyXAction.C:
3447         * lfuns.h:
3448         * lyx_main.C:
3449         * lyxtext.h:
3450         * text.C:
3451         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3452
3453 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * paragraph.h: make ParagraphList and ParagraphList::iterator
3456         friends of Paragraph.
3457
3458         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3459
3460         * ParagraphList.C: Use the private next_ and previous_ from
3461         Paragraph.
3462
3463 2003-04-01  John Levon  <levon@movementarian.org>
3464
3465         * ToolbarBackend.h:
3466         * ToolbarBackend.C:
3467         * Makefile.am: rename, remove defaults gunk
3468
3469         * MenuBackend.h:
3470         * MenuBackend.C: remove defaults gunk
3471
3472         * Languages.h:
3473         * Languages.C: remove defaults gunk
3474
3475         * lyx_main.h:
3476         * lyx_main.C: error out if files couldn't be found.
3477
3478 2003-04-02  John Levon  <levon@movementarian.org>
3479
3480         * text2.C: make incDepth() use parlist
3481
3482 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * undo_funcs.C (firstUndoParagraph): adjust
3485
3486         * text3.C (gotoInset): adjust
3487         (dispatch): adjust, and rewrite loop.
3488
3489         * text2.C (init): adjust, and rewrite loop.
3490         (redoParagraphs): adjust
3491         (updateInset): adjust, and rewrite loop.
3492         (deleteEmptyParagraphMechanism): adjust
3493
3494         * tabular.C (LyXTabular): adjust
3495         (SetMultiColumn): adjust
3496         (TeXRow): adjust
3497
3498         * lyxtext.[Ch] (ownerParagraph): delete function
3499         (ownerParagraphs): new function returns a ParagraphList.
3500
3501         * BufferView.C (removeAutoInsets): adjust
3502         (insertErrors): adjust
3503         (setCursorFromRow): adjust
3504
3505 2003-04-01  Angus Leeming  <leeming@lyx.org>
3506
3507         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3508         in the frontends.
3509
3510 2003-04-02  John Levon  <levon@movementarian.org>
3511
3512         * lyxtext.h:
3513         * text.C:
3514         * Makefile.am:
3515         * text_funcs.h:
3516         * text_funcs.C: make transposeChars a free function
3517
3518         * lyxrow_funcs.C: remove wrong comment
3519
3520 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * lyxtext.h: adjust
3523         * rowpainter.C: adjust
3524         * text.C: adjust
3525         * text2.C: adjust
3526         * text3.C: adjust
3527
3528         * lyxrow_funcs. [Ch]: new files
3529
3530         * lyxrow.[Ch]: remove next and previous pointers
3531         (next,previous): remove accessor functions
3532         (isParEnd): move to lyxrow_funcs
3533         (lastPos): move to lyxrow_funcs
3534         (nextRowIsAllInset): move to lyxrow_funcs
3535         (lastPrintablePos): move to lyxrow_funcs
3536         (numberOfSeparators): move to lyxrow_funcs
3537         (numberOfHfills): move to lyxrow_funcs
3538         (numberOfLabelHfills): move to lyxrow_funcs
3539         (hfillExpansion): move to lyxrow_funcs
3540
3541         * lyxfunc.C: adjust
3542
3543         * bufferview_funcs.C (toggleAndShow): adjust
3544
3545         * RowList.h: Remove class RowList from file leave just a
3546         std::list<Row>.
3547
3548         * RowList.C: delete file
3549
3550         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3551         and lyxrow_funcs.h
3552
3553 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * text3.C (cursorPrevious): adjust
3556         (cursorNext): adjust
3557         (dispatch): adjust
3558
3559         * text2.C (redoHeightOfParagraph): adjust
3560         (redoDrawingOfParagraph): adjust
3561         (setCursor): adjust
3562
3563         * text.C (breakParagraph): adjust
3564         (insertChar): adjust
3565         (backspace): adjust
3566
3567         * rowpainter.C (RowPainter): adjust
3568         (leftMargin): simplify and adjust
3569         (most rowpainter functions): adjust.
3570
3571         * rowpainter.h: store the row as RowList::iterator not as Row*
3572
3573         * lyxcursor.C (row): taka RowList::iterator as arg
3574         (irow): ditto
3575
3576         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3577         of Row*.
3578
3579 2003-04-01  Angus Leeming  <leeming@lyx.org>
3580
3581         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3582         stuff like bool Bool.
3583
3584 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3587         rewrite a loop
3588
3589 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3592         RowList::iterator.
3593
3594         * lyxtext.h (rows): drop one version and leve a const variant that
3595         returns a RowList::iterator.
3596
3597 2003-03-31  Angus Leeming  <leeming@lyx.org>
3598
3599         * text.C (fill): ensure that the signature is the same as that in the
3600         header file.
3601
3602 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3603
3604         * text2.C (redoParagraphs): adjust
3605         (updateCounters): adjust
3606         (checkParagraph): adjust
3607         (getColumnNearX): adjust and reformat a bit.
3608
3609         * text.C (top_y): adjust
3610         (workWidth): adjust
3611         (leftMargin): adjust
3612         (prepareToPrint): adjust
3613         (getRow): adjust
3614         (getRowNearY): adjust
3615
3616         * lyxtext.h: make rowlist_ mutable.
3617
3618         * RowList.h: add const_iterator
3619         * RowList.C: adjust for RowList::const_iterator.
3620
3621         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3622         adjust.
3623
3624 2003-03-31  John Levon  <levon@movementarian.org>
3625
3626         * lyxrc.h:
3627         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3628
3629         * lyx_main.C: set default fonts from using lyx_gui funcs
3630
3631         * exporter.C: pdf_mode moved from lyxrc
3632
3633         * lyx_cb.C:
3634         * lyxfunc.C: changes from above
3635
3636 2003-03-31  John Levon  <levon@movementarian.org>
3637
3638         * lyx_main.C: fix to the last fix
3639
3640 2003-03-31  John Levon  <levon@movementarian.org>
3641
3642         * bufferlist.C: "Load original" -> "Load Original"
3643
3644         * converter.C:
3645         * exporter.C:
3646         * importer.C:
3647         * lyx_main.C:
3648         * format.C: more Alert cleanups
3649
3650 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * text2.C (removeParagraph): make it take a RowList::iterator as
3653         arg, adjust.
3654         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3655         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3656
3657         * text.C (anchor_row): make it take a RowList::iterator as arg,
3658         adjust.
3659         (computeBidiTables): make it take a const reference to Row instead
3660         of Row pointer, adjust.
3661         (leftMargin): make it take a RowList::iterator as arg, adjust.
3662         (rowBreakPoint): adjust
3663         (breakAgainOneRow): make it take a RowList::iterator as arg,
3664         adjust.
3665         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3666
3667         * bufferview_funcs.C (toggleAndShow): adjust
3668
3669 2003-03-30  John Levon  <levon@movementarian.org>
3670
3671         * Makefile.am:
3672         * BoostFormat.h:
3673         * boost-inst.C: moved to support
3674
3675         * several files: changes as a result
3676
3677 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3678
3679         * text2.C (LyXText): adjust.
3680         (init): adjust
3681         (removeRow): make it take a RowList::iterator as arg, adjust.
3682         (fullRebreak): adjust
3683         (deleteEmptyParagraphMechanism): adjust
3684         (clearPaint): adjust
3685         (postPaint): adjust
3686
3687         * text.C (top_y): adjust
3688         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3689         (breakAgain): make it take a RowList::iterator as arg, adjust.
3690         (breakParagraph): adjust
3691         (insertChar): adjust
3692         (backspace): adjust
3693
3694         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3695         need_break_row, and refresh_row.
3696
3697         * text3.C (dispatch): adjust
3698
3699         * text2.C (checkParagraph): adjust
3700         (setCursor): adjust
3701         (setCursorFromCoordinates): adjust
3702
3703         * text.C (top_y): adjust
3704         (workWidth): adjust
3705         (getRow): make it return a RowList::iterator, adjust
3706         (getRowNearY): make it return a RowList::iterator, adjust
3707
3708         * text2.C (init): adjust
3709         (insertRow): remove function
3710         (insertParagraph): adjust
3711         (redoParagraphs): adjust
3712         (fullRebreak): adjust
3713         (updateCounters): adjust
3714
3715         * text.C (top_y): rewrite to use RowList iterators.
3716         (top_y): adjust
3717         (setHeightOfRow): rewrite to sue RowList iterators.
3718         (appendParagraph): adjust
3719         (breakAgain): adjust
3720         (breakAgainOneRow): adjust
3721         (breakParagraph): adjust
3722         (getRow): adjust
3723         (getRowNearY): adjust, and remove commented code.
3724
3725         * lyxtext.h (firstRow): delete function
3726         (lastRow): delete function
3727         (rows): new function (const and non-const versions.)
3728         (insertRow): delete function
3729
3730         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3731
3732 2003-03-29  John Levon  <levon@movementarian.org>
3733
3734         * BufferView_pimpl.C: always update scrollbar top
3735         because pasting text when we're anchored could mean we
3736         miss an update altogether
3737
3738 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * text2.C (init): use rowlist_.end() and not 0.
3741         (insertRow): change to take a RowList::iterator as arg, adjust
3742         for this.
3743         (insertParagraph): change to take a RowList::iterator as arg,
3744         adjust for this.
3745         (redoParagraphs): remove some debug msgs.
3746
3747         * text.C (appendParagraph): change to take a RowList::iterator
3748         arg, adjust for this.
3749         (breakAgain): add an assert
3750         (breakAgainOneRow): ditto
3751
3752 2003-03-29  John Levon  <levon@movementarian.org>
3753
3754         * text2.C: do not clear selection after inc/decDepth
3755         (bug 550)
3756
3757 2003-03-29  John Levon  <levon@movementarian.org>
3758
3759         * BufferView.C:
3760         * buffer.C: fix broken strerrors according to Lars
3761
3762 2003-03-29  John Levon  <levon@movementarian.org>
3763
3764         * converters.C: more Alert cleanups
3765
3766 2003-03-29  John Levon  <levon@movementarian.org>
3767
3768         * bufferview_funcs.C: remove pointless Alert
3769
3770         * buffer.C: fix confusing error message when
3771         a template is chmoded 000
3772
3773 2003-03-29  John Levon  <levon@movementarian.org>
3774
3775         * BufferView.C:
3776         * BufferView.h:
3777         * BufferView_pimpl.C: Alert fixes
3778
3779         * Makefile.am:
3780         * tabular.C:
3781         * tabular-old.C: remove unused table compat reading
3782
3783 2003-03-29  John Levon  <levon@movementarian.org>
3784
3785         * BufferView.C:
3786         * buffer.C:
3787         * lyx_cb.h:
3788         * lyx_cb.C: more Alert cleanups
3789
3790         * lyxfunc.C: don't allow chktex if not latex document
3791
3792 2003-03-29  John Levon  <levon@movementarian.org>
3793
3794         * lyx_cb.C:
3795         * BufferView.C:
3796         * buffer.C: warnings pushed down from support/,
3797         kill err_alert
3798
3799 2003-03-29  John Levon  <levon@movementarian.org>
3800
3801         * lyxfunc.C: safety check for C-r (revert)
3802
3803 2003-03-29  John Levon  <levon@movementarian.org>
3804
3805         * bufferlist.h:
3806         * bufferlist.C: several UI fixes using Alert::prompt.
3807         Fix the pointless looping quit code. Fix stupid revert
3808         behaviour (bug 938)
3809
3810         * lyxvc.h:
3811         * lyxvc.C:
3812         * lyx_cb.C: use Alert::prompt
3813
3814         * lyx_main.C: remove a silly question
3815
3816         * lyxfunc.C: remove a couple of silly questions,
3817         use Alert::prompt
3818
3819 2003-03-28  John Levon  <levon@movementarian.org>
3820
3821         * text2.C: fix bug 974 (End on empty par)
3822
3823 2003-03-28  John Levon  <levon@movementarian.org>
3824
3825         * BufferView_pimpl.C:
3826         * LyXAction.C:
3827         * lfuns.h: remove do-nothing math greek lfuns
3828
3829 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * lyxgluelength.h (isValidGlueLength): add default arg on
3832         parameter 2. Remove default arg from friend in class.
3833
3834         * lyxlength.h (isValidLength): add default arg on parameter 2.
3835         Remove default arg from friend in class.
3836
3837         * text2.C (LyXText): adjust, initialize refresh_row.
3838         (init): adjust
3839         (removeRow): adjust
3840         (insertRow): adjust
3841         (insertParagraph): adjst
3842         (redoParagraphs): adjust
3843         (fullRebreak): adjust
3844         (updateCounters): adjust
3845         (deleteEmptyParagraphMechanism): first attempt at fixing a
3846         crashing bug.
3847
3848         * text.C (top_y): adjust
3849         (setHeightOfRow): adjust
3850         (getRow): adjust
3851         (getRowNearY): adjust
3852
3853         * lyxtext.h: include RowList.h
3854         (~LyXText): not needed anymore, deleted.
3855         (firstRow): modify for RowList
3856         (lastRow): new function
3857         Delete firstrow and lastrow class variables, add a Rowlist
3858         rowlist_ class variable.
3859
3860         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3861         paragraph is empty.
3862
3863         * RowList.C (insert): fix case where it == begin().
3864
3865 2003-03-26  Angus Leeming  <leeming@lyx.org>
3866
3867         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3868         the thesaurus dialog.
3869
3870 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3871
3872         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3873
3874         * RowList.[Ch]: new files
3875
3876         * ParagraphList.C (erase): handle the case where it == begin
3877         correctly.
3878
3879 2003-03-25  John Levon  <levon@movementarian.org>
3880
3881         * Makefile.am:
3882         * aspell_local.h:
3883         * aspell.C: add new aspell support
3884
3885         * lyxrc.h:
3886         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3887         have it accessible.
3888
3889 2003-03-25  Angus Leeming  <leeming@lyx.org>
3890
3891         * lfuns.h:
3892         * LyXAction.C (init): new LFUN_INSET_INSERT.
3893
3894         * BufferView_pimpl.C (dispatch): split out part of the
3895         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3896
3897         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3898         LFUN_INSET_APPLY.
3899
3900 2003-03-25  Angus Leeming  <leeming@lyx.org>
3901
3902         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3903
3904 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3905
3906         * text2.C:
3907         * text3.C: remove useless row->height(0)
3908
3909 2003-03-25  John Levon  <levon@movementarian.org>
3910
3911         * lyxtext.h:
3912         * text2.C:
3913         * text3.C: rename the refreshing stuff to better names
3914
3915 2003-03-24  John Levon  <levon@movementarian.org>
3916
3917         * BufferView_pimpl.h:
3918         * BufferView_pimpl.C: update layout choice on a mouse
3919         press/release
3920
3921 2003-03-23  John Levon  <levon@movementarian.org>
3922
3923         * Makefile.am: fix commandtags.h reference
3924
3925 2003-03-22  John Levon  <levon@movementarian.org>
3926
3927         * BufferView_pimpl.C:
3928         * lyxtext.h:
3929         * rowpainter.C:
3930         * rowpainter.h:
3931         * text.C:
3932         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3933
3934 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * lyxtext.h:
3937         * text.C: take the rtl methods out of line
3938
3939 2003-03-21 André Pönitz <poenitz@gmx.net>
3940
3941         * metricsinfo.[Ch]: new files containing structures to be passed around
3942         during the two-phase-drawing...
3943
3944 2003-03-21 André Pönitz <poenitz@gmx.net>
3945
3946         * lyxtextclass.C: read 'environment' tag.
3947
3948 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * text2.C (removeRow): fix bug 964
3951
3952 2003-03-20  John Levon  <levon@movementarian.org>
3953
3954         * rowpainter.C:
3955         * text.C:
3956         * text2.C: paint cleanups. Inset::update() dropped font
3957         parameter
3958
3959 2003-03-19  John Levon  <levon@movementarian.org>
3960
3961         * lyxfunc.C: only fitcursor/markDirty if available()
3962
3963 2003-03-19  John Levon  <levon@movementarian.org>
3964
3965         * commandtags.h: rename to ...
3966
3967         * lfuns.h: ... this, and renumber / cleanup
3968
3969 2003-03-19  John Levon  <levon@movementarian.org>
3970
3971         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3972         fit the cursor after an lfun
3973
3974         * BufferView.h:
3975         * BufferView.C:
3976         * BufferView_pimpl.h:
3977         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3978
3979         * LyXAction.C: layout-character should have ReadOnly
3980
3981         * ParagraphParameters.C:
3982         * buffer.C:
3983         * bufferview_funcs.C:
3984         * lyx_cb.C:
3985         * lyxfind.C:
3986         * lyxtext.h:
3987         * text.C:
3988         * text2.C:
3989         * text3.C:
3990         * undo_funcs.C: changes from above
3991
3992 2003-03-18  John Levon  <levon@movementarian.org>
3993
3994         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3995         remove it from update()
3996
3997         * lyxfunc.C: update layout choice after an lfun
3998
3999         * text3.C: remove extra updateLayoutChoice()s
4000
4001 2003-03-18  John Levon  <levon@movementarian.org>
4002
4003         * text.C: top_y change means full repaint, fix
4004         a drawing bug with cursor movement
4005
4006 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4007
4008         * lyxtext.h:
4009         * text.C:
4010         * text2.C: anchor row on setCursor
4011
4012 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4013
4014         * lyxtext.h: remove almost all mutable keywords
4015         * text.C:
4016         * text2.C:
4017         * text3.C: remove const keywords accordingly
4018
4019 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4022         anon namespace
4023         (TeXEnvironment): ditto
4024         (TeXOnePar): ditto
4025
4026 2003-03-17  John Levon  <levon@movementarian.org>
4027
4028         * text.C (rowBreakPoint): remove attempt to fix displayed
4029         math insets inside a manual label
4030
4031 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * lyxtext.h: remove BufferView* as first arg from almost all class
4034         functions.
4035         * other files: adjust.
4036
4037 2003-03-17  John Levon  <levon@movementarian.org>
4038
4039         * lyxtext.h:
4040         * undo_funcs.C:
4041         * text2.C: more paint cleanups
4042
4043         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4044
4045         * rowpainter.h:
4046         * rowpainter.C: remove "smart" background painting code
4047
4048 2003-03-16  John Levon  <levon@movementarian.org>
4049
4050         * lyxtext.h:
4051         * text.C:
4052         * text2.C:
4053         * text3.C: add helper functions for setting refresh_row/y
4054
4055 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4056
4057         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4058         newline inset which *can* get inserted in the pass_thru layouts.
4059         This is primarily for literate documents.
4060
4061 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4062
4063         * buffer.C: increment LYX_FORMAT to 223
4064
4065 2003-03-14 André Pönitz <poenitz@gmx.net>
4066
4067         * textclass.h: prepare for environment handling, ws changes
4068         * lyxlayout.C: read latexheader and latexfooter tags
4069
4070 2003-03-14  John Levon  <levon@movementarian.org>
4071
4072         * text2.C: rewrite ::status() a bit
4073
4074 2003-03-13  John Levon  <levon@movementarian.org>
4075
4076         * lyxtext.h: add some docs
4077
4078 2003-03-13  John Levon  <levon@movementarian.org>
4079
4080         * lyxtext.h:
4081         * text.C:
4082         * text2.C:
4083         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4084
4085 2003-03-13  John Levon  <levon@movementarian.org>
4086
4087         * text3.C: fix appendix redrawing
4088
4089 2003-03-13  John Levon  <levon@movementarian.org>
4090
4091         * text.C (setHeightOfRow):
4092         * rowpainter.h:
4093         * rowpainter.C: make appendix mark have the text
4094           "Appendix" so the user knows what it is
4095
4096         * LColor.h:
4097         * LColor.C: s/appendixline/appendix/ from above
4098
4099 2003-03-13  John Levon  <levon@movementarian.org>
4100
4101         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4102
4103         * text.C: fix a getChar(pos) bug properly
4104
4105 2003-03-13  Angus Leeming  <leeming@lyx.org>
4106
4107         * commandtags.h:
4108         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4109         Probably only temporary. Let's see how things pan out.
4110
4111         * BufferView.C (unlockInset):
4112         * BufferView_pimpl.C (fitCursor):
4113         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4114
4115         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4116         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4117
4118         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4119         new functions that convert ParagraphParameters to and from a string.
4120
4121         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4122         BufferView::Pimpl's dispatch.
4123         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4124
4125 2003-03-13 André Pönitz <poenitz@gmx.net>
4126
4127         * lyxfunc.C:
4128         * text3.C:
4129         * factory.C: make it aware of InsetEnv
4130
4131 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * text2.C (setCursor): never ask for one past last
4134         (setCursor): add some debugging messages.
4135
4136         * text.C (singleWidth): never ask for one past last
4137         (singleWidth): ditto
4138         (leftMargin): ditto
4139         (rightMargin): ditto
4140         (rowBreakPoint): ditto
4141         (setHeightOfRow): ditto
4142         (prepareToPrint): ditto
4143
4144         * rowpainter.C (paintBackground): never ask for one past last
4145         (paintText): never ask for one past last
4146
4147         * paragraph_pimpl.C (getChar): make the assert stricter, never
4148         allow the one past last pos to be taken
4149
4150         * paragraph.C (getChar): ws changes only
4151
4152         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4153         (numberOfSeparators): ditto
4154         (numberOfHfills): ditto
4155
4156 2003-03-12  John Levon  <levon@movementarian.org>
4157
4158         * author.h:
4159         * author.C:
4160         * bufferparams.h:
4161         * bufferparams.C:
4162         * paragraph_funcs.C: fix per-buffer authorlists
4163
4164 2003-03-12  John Levon  <levon@movementarian.org>
4165
4166         * text.C: fix newline in right address
4167
4168 2003-03-12  Angus Leeming  <leeming@lyx.org>
4169
4170         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4171         duplicate those in LyXFunc::dispatch.
4172
4173         * commandtags.h:
4174         * LyXAction.C:
4175         * ToolbarDefaults.C:
4176         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4177         Add LFUN_FONTFREE_UPDATE.
4178
4179         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4180         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4181
4182         * bufferview_func.[Ch]: several new functions to facilliate
4183         transfer of data to and from the character dialog.
4184
4185 2003-03-12  John Levon  <levon@movementarian.org>
4186
4187         * buffer.C:
4188         * paragraph.h:
4189         * paragraph.C:
4190         * paragraph_funcs.C:
4191         * paragraph_pimpl.C:
4192         * sgml.C:
4193         * tabular.C:
4194         * text.C:
4195         * text3.C: remove META_NEWLINE in favour of an inset
4196
4197         * rowpainter.h:
4198         * rowpainter.C: remove paintNewline (done by inset)
4199
4200 2003-03-12  John Levon  <levon@movementarian.org>
4201
4202         * paragraph_pimpl.C: complain about bad getChar()s
4203         for a while at least
4204
4205 2003-03-12  John Levon  <levon@movementarian.org>
4206
4207         * buffer.h:
4208         * buffer.C: move paragraph read into a separate function,
4209         a little renaming to reflect that.
4210
4211         * bufferparams.h:
4212         * bufferparams.C: remove the author_ids map, not necessary now
4213
4214         * factory.h:
4215         * factory.C: moved Buffer::readInset to here
4216
4217         * paragraph_funcs.h:
4218         * paragraph_funcs.C: readParagraph free function moved from
4219         buffer.C
4220
4221         * tabular.C: name change
4222
4223 2003-03-12  John Levon  <levon@movementarian.org>
4224
4225         * buffer.C:
4226         * ParagraphParameters.C: move par params input to
4227         a read() method
4228
4229         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4230         behave like a normal read from the stream wrt reading
4231         a line vs. a \\token
4232
4233 2003-03-12  John Levon  <levon@movementarian.org>
4234
4235         * paragraph.C:
4236         * ParagraphParameters.h:
4237         * ParagraphParameters.C: move output code to a
4238         ::write() method
4239
4240 2003-03-12  John Levon  <levon@movementarian.org>
4241
4242         * BufferView.C (insertLyXFile):
4243         * buffer.h:
4244         * buffer.C:
4245         * tabular.C: use a parlist iterator for creating the
4246           document.
4247
4248 2003-03-12  John Levon  <levon@movementarian.org>
4249
4250         * buffer.C: make current_change static local not
4251           static file-scope
4252
4253 2003-03-12  John Levon  <levon@movementarian.org>
4254
4255         * buffer.C: fix insertStringAsLines for change tracking
4256
4257 2003-03-12  John Levon  <levon@movementarian.org>
4258
4259         * BufferView.C:
4260         * tabular.C:
4261         * buffer.h:
4262         * buffer.C:
4263         * bufferparams.h:
4264         * bufferparams.C: move author list into params. Rename some
4265           functions. Move the header reading into a separate token
4266           loop. Move the header token reading into BufferParams.
4267
4268 2003-03-12  John Levon  <levon@movementarian.org>
4269
4270         * changes.C: put debug inside lyxerr.debugging() checks
4271
4272 2003-03-11 André Pönitz <poenitz@gmx.net>
4273
4274         * factory.C: make it aware of InsetHFill
4275
4276 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4277
4278         * buffer.C (latexParagraphs): move function from here...
4279         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4280         args.
4281
4282 2003-03-10  Angus Leeming  <leeming@lyx.org>
4283
4284         * LyXAction.C (init): fix bug in poplating array with multiple entries
4285         with the same LFUN (spotted by JMarc).
4286
4287 2003-03-10  John Levon  <levon@movementarian.org>
4288
4289         * text.C:
4290         * text2.C: move getColumnNearX() near its
4291         only call site
4292
4293 2003-03-10  John Levon  <levon@movementarian.org>
4294
4295         * text.C: fix break before a minipage
4296
4297 2003-03-10  John Levon  <levon@movementarian.org>
4298
4299         * text.C: fix the last commit
4300
4301 2003-03-09  John Levon  <levon@movementarian.org>
4302
4303         * lyxtext.h:
4304         * text.C:
4305         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4306         bug 365 (don't break before insets unless needed). Don't
4307         return a value > last under any circumstances.
4308
4309 2003-03-09  Angus Leeming  <leeming@lyx.org>
4310
4311         * BufferView_pimpl.C (trackChanges, dispatch): call
4312         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4313
4314 2003-03-09  Angus Leeming  <leeming@lyx.org>
4315
4316         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4317         than Dialogs::showAboutlyx().
4318
4319 2003-03-09  Angus Leeming  <leeming@lyx.org>
4320
4321         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4322         than Dialogs::showTabularCreate().
4323
4324 2003-03-09  John Levon  <levon@movementarian.org>
4325
4326         * lyxtext.h:
4327         * text.C:
4328         * text2.C: 3rd arg to nextBreakPoint was always the same.
4329           Use references.
4330
4331 2003-03-08  John Levon  <levon@movementarian.org>
4332
4333         * lyxrow.C:
4334         * paragraph.C:
4335         * paragraph.h:
4336         * rowpainter.C:
4337         * text.C:
4338         * text2.C: Remove the "main" bit from the "main body"
4339           notion.
4340
4341 2003-03-08  John Levon  <levon@movementarian.org>
4342
4343         * text.C (leftMargin): The left margin of an empty
4344         manual label paragraph should not include the label width
4345         string length.
4346
4347         * text.C (prepareToPrint): don't attempt to measure hfills
4348         for empty manual label paragraphs - the answer should be 0
4349
4350 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * CutAndPaste.C: remove commented code and reindent.
4353
4354 2003-03-08  John Levon  <levon@movementarian.org>
4355
4356         * lyxfunc.h:
4357         * lyxfunc.C: move reloadBuffer()
4358
4359         * BufferView.h:
4360         * BufferView.C: to here
4361
4362         * lyxvc.C: add comment
4363
4364         * vc-backend.h:
4365         * vc-backend.C: call bv->reload() to avoid
4366           getStatus() check on MENURELOAD
4367
4368 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4369
4370         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4371         to an old format .dep file.
4372
4373 2003-03-07  Angus Leeming  <leeming@lyx.org>
4374
4375         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4376         when the LFUN_MOUSE_RELEASE should have been handled by
4377         inset->localDispatch.
4378
4379 2003-03-07  Angus Leeming  <leeming@lyx.org>
4380
4381         * BufferView_pimpl.C (dispatch):
4382         * LyXAction.C (init):
4383         * ToolbarDefaults.C (init):
4384         * commandtags.h:
4385         * lyxfunc.C (getStatus):
4386         remove LFUN_INSET_GRAPHICS.
4387
4388         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4389
4390 2003-03-07  Angus Leeming  <leeming@lyx.org>
4391
4392         * commandtags.h:
4393         * LyXAction.C (init):
4394         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4395
4396         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4397
4398         * commandtags.h:
4399         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4400
4401         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4402         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4403
4404 2003-03-07  Angus Leeming  <leeming@lyx.org>
4405
4406         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4407         remove "ert".
4408
4409 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * ParagraphList.C (front): new function
4412         (back): implement
4413
4414 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4417         and top_row_offset_. removed var first_y.
4418         * text.C (top_y):
4419         * text2.C (LyXText, removeRow):
4420         * text3.C:
4421         * BufferView_pimpl.C:
4422         use these methods instead of using first_y
4423
4424 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * text2.C (pasteSelection): adjust for checkPastePossible
4427
4428         * CutAndPaste.C: remove Paragraph * buf and replace with
4429         ParagraphList paragraphs.
4430         (DeleteBuffer): delete
4431         (cutSelection): change the tc type to textclass_type
4432         (copySelection): change the tc type to textclass_type
4433         (copySelection): adjust for ParagraphList
4434         (pasteSelection): change the tc type to textclass_type
4435         (pasteSelection): adjust for Paragraphlist
4436         (nrOfParagraphs): simplify for ParagraphList
4437         (checkPastePossible): simplify for ParagraphList
4438         (checkPastePossible): remove unused arg
4439
4440         * ParagraphList.C (insert): handle the case where there are no
4441         paragraphs yet.
4442
4443         * CutAndPaste.h: make CutAndPaste a namespace.
4444
4445         * text3.C (dispatch): adjust
4446
4447         * text.C (breakParagraph): add a ParagraphList as arg
4448
4449         * paragraph_funcs.C (breakParagraph): change to take a
4450         BufferParams and a ParagraphList as args.
4451         (breakParagraphConservative): ditto
4452         (mergeParagraph): ditto
4453         (TeXDeeper): add a ParagraphList arg
4454         (TeXEnvironment): ditto
4455         (TeXOnePar): ditto
4456
4457         * buffer.C (readLyXformat2): adjust
4458         (insertStringAsLines): adjust
4459         (latexParagraphs): adjust
4460
4461         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4462         (cutSelection): adjust
4463         (pasteSelection): adjust
4464
4465         * BufferView_pimpl.C (insertInset): adjust
4466
4467 2003-03-05  Angus Leeming  <leeming@lyx.org>
4468
4469         * commandtags.h:
4470         * LyXAction.C (init):
4471         * BufferView_pimpl.C (dispatch):
4472         * lyxfunc.C (getStatus):
4473         remove LFUN_CHILD_INSERT.
4474
4475         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4476
4477 2003-03-05  Angus Leeming  <leeming@lyx.org>
4478
4479         * commandtags.h:
4480         * LyXAction.C (init):
4481         * src/factory.C (createInset):
4482         * lyxfunc.C (getStatus):
4483         * text3.C (dispatch):
4484         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4485
4486         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4487
4488 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * ParagraphList.C (insert): handle insert right before end()
4491         (erase): fix cases where it can be first or last paragraph.
4492
4493 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4496         Paragraph::next and Paragraph::previous
4497         (TeXOnePar): ditto
4498
4499         * text.C (breakParagraph): adjust
4500
4501         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4502         BufferParams& as arg.
4503         (breakParagraph): use ParagraphList::insert
4504         (breakParagraphConservative): take a Buffer* instead of a
4505         BufferParams& as arg.
4506         (breakParagraphConservative): use ParagraphList::insert.
4507
4508         * buffer.C (insertStringAsLines): un-const it
4509         (insertStringAsLines): adjust
4510
4511         * ParagraphList.C (insert): new function
4512
4513         * CutAndPaste.C (pasteSelection): adjust
4514
4515         * text.C (backspace): adjust
4516
4517         * tabular.C (SetMultiColumn): adjust
4518
4519         * CutAndPaste.C (cutSelection): adjust
4520         (pasteSelection): adjust
4521
4522         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4523         Buffer const * as arg
4524
4525         * ParagraphList.C (erase): new function
4526         * paragraph_funcs.C (mergeParagraph): use it
4527         (mergeParagraph): make it take a Buffer* instead of a
4528         BufferParams* as arg
4529
4530         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4531         as arg
4532         (breakParagraphConservative): ditto
4533
4534         * paragraph.h: remove the breakParagraph friend
4535
4536         * paragraph.C (eraseIntern): new function
4537         (setChange): new function
4538
4539         * paragraph_funcs.C (mergeParagraph): make it take a
4540         ParagraphList::iterator instead of a Paragraph *, adjust
4541         accordingly.
4542
4543         * paragraph.h: move an #endif so that the change tracking stuff
4544         also works in the NO_NEXT case.
4545
4546 2003-03-04  Angus Leeming  <leeming@lyx.org>
4547
4548         * commandtags.h:
4549         * LyXAction.C: new LFUN_INSET_MODIFY.
4550
4551         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4552         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4553
4554 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4555
4556         * several files: ws changes only
4557
4558         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4559         (TeXEnvironment): ditto
4560         (TeXDeeper): ditto
4561
4562         * buffer.C (makeLaTeXFile): adjust
4563         (latexParagraphs): make it take ParagraphList::iterator as args
4564
4565 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * buffer.C (latexParagraphs): adjust
4568
4569         * paragraph.C (TeXOnePar): move function...
4570         (optArgInset): move function...
4571         (TeXEnvironment): move function...
4572         * paragraph_pimpl.C (TeXDeeper): move function...
4573         * paragraph_funcs.C: ...here
4574
4575         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4576
4577 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * buffer.C (readInset): remove compability code for old Figure and
4580         InsetInfo insets
4581
4582 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * buffer.C: ws changes
4585         (readInset):
4586
4587         * BufferView_pimpl.C: ditto
4588         * author.C: ditto
4589         * buffer.h: ditto
4590         * bufferlist.h: ditto
4591         * changes.h: ditto
4592         * lyxfunc.C: ditto
4593
4594 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4595
4596         * converter.[Ch]: split into itself +
4597         * graph.[Ch]
4598         * format.[Ch]
4599         * Makefile.am: += graph.[Ch] + format.[Ch]
4600         * MenuBackend.C
4601         * buffer.C
4602         * exporter.C
4603         * importer.C
4604         * lyx_main.C
4605         * lyxfunc.C
4606         * lyxrc.C: added #include "format.h"
4607
4608 2003-02-27  Angus Leeming  <leeming@lyx.org>
4609
4610         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4611           a label.
4612
4613         * factory.C (createInset): add "label" to the factory.
4614
4615         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4616           string and do no more.
4617
4618 2003-02-27  Angus Leeming  <leeming@lyx.org>
4619
4620         * commandtags.h:
4621         * LyXAction.C (init):
4622         * factory.C (createInset):
4623         * BufferView_pimpl.C (dispatch):
4624           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4625
4626         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4627
4628         * lyxfunc.C (dispatch):
4629         * text3.C (dispatch): pass name to params2string.
4630
4631 2003-02-26  Angus Leeming  <leeming@lyx.org>
4632
4633         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4634           blocks together.
4635           Rearrange the ~includes. Strip out the unnecessary ones.
4636
4637         * factory.C (createInset): reformat.
4638           create new insets for the various LFUN_XYZ_APPLY lfuns.
4639
4640 2003-02-26  John Levon  <levon@movementarian.org>
4641
4642         * lyxrow.h:
4643         * lyxrow.C: add isParStart,isParEnd helpers
4644
4645         * paragraph.h: make isInserted/DeletedText take refs
4646
4647         * paragraph_funcs.h:
4648         * paragraph_funcs.C: remove #if 0'd code
4649
4650         * lyxtext.h:
4651         * text3.C:
4652         * text2.C:
4653         * text.C: use lyxrow helpers above.
4654           Move draw and paint routines to RowPainter.
4655           Make several methods use refs not pointers.
4656           Make backgroundColor() const.
4657           Add markChangeInDraw(), isInInset().
4658           Merge changeRegionCase into changeCase.
4659           Make workWidth() shouldn't-happen code into an Assert.
4660
4661         * rowpainter.h:
4662         * rowpainter.C: new class for painting a row.
4663
4664         * vspace.h:
4665         * vspace.C: make inPixels take a ref
4666
4667 2003-02-26  Angus Leeming  <leeming@lyx.org>
4668
4669         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4670         LFUN_REF_APPLY.
4671
4672 2003-02-25  John Levon  <levon@movementarian.org>
4673
4674         * ispell.C: give the forked command a more accurate name
4675
4676 2003-02-22  John Levon  <levon@movementarian.org>
4677
4678         * toc.h:
4679         * toc.C: make TocItem store an id not a Paragraph *
4680           (bug #913)
4681
4682 2003-02-21  Angus Leeming  <leeming@lyx.org>
4683
4684         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4685           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4686           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4687           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4688           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4689           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4690
4691         * BufferView_pimpl.C (dispatch):
4692         * LyXAction.C (init):
4693         * factory.C (createInset):
4694         * lyxfunc.C (getStatus, dispatch):
4695         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4696
4697 2003-02-21  Angus Leeming  <leeming@lyx.org>
4698
4699         * BufferView_pimpl.C (MenuInsertLyXFile):
4700         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4701         * lyxfunc.C (menuNew, open, doImport):
4702           no longer pass a LyXView & to fileDlg.
4703
4704 2003-02-21  Angus Leeming  <leeming@lyx.org>
4705
4706         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4707         * LyXAction.C: change, BIBKEY to BIBITEM.
4708         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4709         Change InsetBibKey to InsetBibitem.
4710         Change BIBKEY_CODE to BIBITEM_CODE.
4711         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4712         * factory.C: replace insetbib.h with insetbibitem.h.
4713         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4714         * paragraph.C: replace insetbib.h with insetbibitem.h.
4715         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4716         Change bibkey() to bibitem().
4717         * text.C: remove insetbib.h.
4718         * text2.C: replace insetbib.h with insetbibitem.h.
4719         change bibkey() to bibitem().
4720         * text3.C: remove insetbib.h.
4721         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4722
4723 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4724
4725         * lyxrc.C (output): enclose user email in quotes (in case there are
4726         several words)
4727
4728 2003-02-18  John Levon  <levon@movementarian.org>
4729
4730         * buffer.h: add std::
4731
4732 2003-02-17  John Levon  <levon@movementarian.org>
4733
4734         * SpellBase.h:
4735         * ispell.h:
4736         * ispell.C:
4737         * pspell.h:
4738         * pspell.C: reworking. Especially in ispell, a large
4739           number of clean ups and bug fixes.
4740
4741         * lyxfunc.C: fix revert to behave sensibly
4742
4743 2003-02-17 André Pönitz <poenitz@gmx.net>
4744
4745         * LyXAction.C:
4746         * commandtags.h: new LFUN_INSERT_BIBKEY
4747
4748         * layout.h:
4749         * lyxlayout.C:
4750         * buffer.C:
4751         * factory.C:
4752         * text.C:
4753         * text2.C:
4754         * text3.C:
4755         * paragraph.[Ch]:
4756         * paragraph_func.C: remove special bibkey handling
4757
4758 2003-02-17  John Levon  <levon@movementarian.org>
4759
4760         * text.C (Delete): fix case where delete at the end of
4761           the very first paragraph would not merge the pars
4762
4763 2003-02-17  John Levon  <levon@movementarian.org>
4764
4765         * lyxrow.C: fix lastPrintablePos()
4766
4767 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4768
4769         * bufferparams.C (writeLaTeX): add a std:here
4770
4771         * buffer.C: and remove a using directive there
4772
4773 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4774
4775         * buffer.C (makeLaTeXFile): move the code that generates the
4776           preamble...
4777
4778         * bufferparams.C (writeLaTeX): ... in this new method
4779
4780         * LaTeXFeatures.C (getEncodingSet): make const
4781           (getLanguages): make const
4782
4783         * MenuBackend.C (binding): returns the binding associated to this
4784           action
4785           (add): sets the status of each item by calling getStatus. Adds
4786           some intelligence.
4787           (read): add support for OptSubMenu
4788           (expand): remove extra separator at the end of expanded menu
4789
4790 2003-02-15  John Levon  <levon@movementarian.org>
4791
4792         * BufferView.C:
4793         * BufferView_pimpl.C:
4794         * bufferlist.h:
4795         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4796           inset code that had no actual effect. Remove unneeded status
4797           code.
4798
4799 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4800
4801         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4802           in preamble
4803
4804 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4805
4806         * text.C (drawLengthMarker): also draw an arrow marker for
4807           symbolic lengths (medskip...)
4808
4809 2003-02-14  John Levon  <levon@movementarian.org>
4810
4811         * tabular.h:
4812         * tabular.C: better method names
4813
4814 2003-02-14  John Levon  <levon@movementarian.org>
4815
4816         * BufferView_pimpl.C:
4817         * bufferlist.C:
4818         * buffer.C:
4819         * converter.C:
4820         * lyx_cb.C:
4821         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4822           it's a more accurate name. Remove some pointless uses.
4823
4824 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4825
4826         * text2.C (LyXText): change order of initilizers to shut off
4827           warnings
4828
4829 2003-02-14  John Levon  <levon@movementarian.org>
4830
4831         * buffer.C: use ParIterator for getParFromID()
4832
4833         * paragraph.h:
4834         * paragraph.C:
4835         * paragraph_pimpl.h:
4836         * paragraph_pimpl.C: remove unused getParFromID()
4837
4838 2003-02-14  John Levon  <levon@movementarian.org>
4839
4840         * buffer.C: remove some very old #if 0'd parse code
4841
4842 2003-02-13  John Levon  <levon@movementarian.org>
4843
4844         * text.h:
4845         * text.C:
4846         * text2.C: move hfillExpansion(), numberOfSeparators(),
4847           rowLast(), rowLastPrintable(), numberofHfills(),
4848           numberOfLabelHfills() ...
4849
4850         * lyxrow.h:
4851         * lyxrow.C: ... to member functions here.
4852
4853         * paragraph.h:
4854         * paragraph.C:
4855         * lyxtext.h:
4856         * text.C: remove LyXText::beginningOfMainBody(), and call
4857           p->beginningOfMainBody() directly. Move the check for
4858           LABEL_MANUAL into the latter.
4859
4860         * text.h:
4861         * text.C:
4862         * text2.C:
4863         * vspace.C:
4864         * BufferView.h:
4865         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4866
4867         * text.h:
4868         * text.C:
4869         * text2.C:
4870         * text3.C:
4871         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4872           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4873
4874 2003-02-13  John Levon  <levon@movementarian.org>
4875
4876         * CutAndPaste.C: remove debug
4877
4878 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4879
4880         * paragraph.C (asString): remove two unused variables
4881
4882         * lyxtextclass.C (readTitleType):
4883           (Read):
4884           (LyXTextClass): handle new members titletype_ and titlename_
4885
4886         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4887
4888 2003-02-09  John Levon  <levon@movementarian.org>
4889
4890         * buffer.h:
4891         * buffer.C: replace hand-coded list with a map for the dep clean
4892
4893 2003-02-08  John Levon  <levon@movementarian.org>
4894
4895         * LaTeX.C: consolidate code into showRunMessage() helper
4896
4897 2003-02-08  John Levon  <levon@movementarian.org>
4898
4899         * lyxfind.C:
4900         * lyxtext.h:
4901         * text2.C:
4902         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4903           and pass the size in explicitly
4904
4905         * BufferView_pimpl.h:
4906         * BufferView_pimpl.C:
4907         * BufferView.h:
4908         * BufferView.C: add getCurrentChange()
4909
4910         * BufferView_pimpl.h:
4911         * BufferView_pimpl.C: handle change lfuns
4912
4913         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4914           for changes. Mark pasted paragraphs as new.
4915
4916         * support/lyxtime.h:
4917         * support/lyxtime.C:
4918         * DepTable.C: abstract time_t as lyx::time_type
4919
4920         * LColor.h:
4921         * LColor.C: add colours for new text, deleted text, changebars
4922
4923         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4924           package use "usenames" option.
4925
4926         * commandtags.h:
4927         * lyxfunc.C:
4928         * LyXAction.C: add change lfuns
4929
4930         * Makefile.am:
4931         * author.h:
4932         * author.C: author handling
4933
4934         * buffer.h:
4935         * buffer.C: add a per-buffer author list, with first entry as
4936           current author. Handle new .lyx tokens for change tracking. Output
4937           author list to .lyx file. Output dvipost stuff to .tex preamble.
4938           Bump lyx format to 222.
4939
4940         * bufferlist.h:
4941         * bufferlist.C: add setCurrentAuthor() to reset current author details
4942           in all buffers.
4943
4944         * bufferparams.h:
4945         * bufferparams.C: add param for tracking
4946
4947         * bufferview_funcs.C: output change info in minibuffer
4948
4949         * Makefile.am:
4950         * changes.h:
4951         * changes.C: add change-tracking structure
4952
4953         * debug.h:
4954         * debug.C: add CHANGES debug flag
4955
4956         * lyxfind.h:
4957         * lyxfind.C: add code for finding the next change piece
4958
4959         * lyxrc.h:
4960         * lyxrc.C: add user_name and user_email
4961
4962         * lyxrow.h:
4963         * lyxrow.C: add a metric for the top of the text line
4964
4965         * lyxtext.h:
4966         * text.C: implement accept/rejectChange()
4967
4968         * lyxtext.h:
4969         * text.C: paint changebars. Paint new/deleted text in the chosen
4970         colours. Strike through deleted text.
4971
4972         * paragraph.h:
4973         * paragraph.C:
4974         * paragraph_pimpl.h:
4975         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4976           in the current change to the insert functions. Rework erase to
4977           mark text as deleted, adding an eraseIntern() and a range-based
4978           erase(). Implement per-paragraph change lookup and
4979           accept/reject.
4980
4981         * paragraph_funcs.C: Fixup paste for change tracking.
4982
4983         * tabular.C: mark added row/columns as new.
4984
4985         * text.C: fix rowLast() to never return -1. Don't allow
4986           spellchecking of deleted text. Track transpose changes. Don't
4987           allow paragraph break or merge where appropriate.
4988
4989         * text2.C: leave cursor at end of selection after a cut.
4990
4991 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4992
4993         * text.C (getLengthMarkerHeight):
4994         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4995         visible on screen too.
4996
4997 2003-02-07  John Levon  <levon@movementarian.org>
4998
4999         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5000
5001 2003-02-05  Angus Leeming  <leeming@lyx.org>
5002
5003         * lyxserver.C (read_ready): revert my patch of 11 September last year
5004         as it sends PC cpu through the roof. Presumably this means that
5005         the lyxserver will no longer run on an Alpha...
5006
5007 2003-01-30  Angus Leeming  <leeming@lyx.org>
5008
5009         * factory.C (createInset): create an InsetCommandParam of type "index"
5010         and use it to 'do the right thing'.
5011
5012         * text2.C (getStringToIndex): ensure that cursor position is always
5013         reset to the reset_cursor position.
5014
5015 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5016
5017         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5018         disabled.
5019
5020 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5021
5022         * bufferview.C:
5023         * lyxcb.C:
5024         * lyxfunc.C: Output messages with identical spelling, punctuation,
5025         and spaces
5026
5027 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5028
5029         * MenuBackend.C (expandFormats): List only viewable export formats
5030         in "View" menu
5031
5032         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5033         message
5034
5035         * lyxfunc.C (getStatus): Make sure that formats other than
5036         "fax" can also be disabled
5037
5038 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5039
5040         * text3.C (dispatch): put the lfuns that insert insets in 3
5041         groups, and call doInsertInset with appropriate arguments.
5042         (doInsertInset): new function, that creates an inset and inserts
5043         it according to some boolean parameters.
5044
5045 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * buffer.C (readFile): remember to pass on 'par' when calling
5048         readFile recursively.
5049
5050 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5051
5052         * MenuBackend.C (expandFormats): add "..." to import formats.
5053
5054 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5055
5056         * paragraph.C (asString): Remove XForms RTL hacks.
5057
5058 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5059         * buffer.C: fix typo
5060
5061 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * Makefile.am (LIBS): delete var
5064         (lyx_LDADD): add @LIBS@ here instead.
5065
5066 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5067
5068         * Clarify the meaning of "wheel mouse jump"
5069
5070 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5071
5072         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5073         tabular in a float
5074
5075 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5076
5077         * importer.C (Loaders): do not preallocate 3 elements in the
5078         vector, since one ends up with 6 elements otherwise
5079
5080 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5081
5082         * DepTable.C (write): write the file name as last element of the
5083         .dep file (because it may contain spaces)
5084         (read): read info in the right order
5085
5086 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5087
5088         * paragraph_pimpl.C (simpleTeXBlanks):
5089         (simpleTeXSpecialChars):
5090         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5091
5092         * tabular.C (latex): add some missing case statements. Reindent.
5093
5094         * MenuBackend.C (expandToc): remove unused variable.
5095
5096 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5097
5098         * LColor.C:
5099         * LaTeX.C:
5100         * LyXAction.C:
5101         * MenuBackend.C:
5102         * buffer.C:
5103         * exporter.C:
5104         * lyxfunc.C:
5105         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5106         and the like.
5107
5108 2003-01-05  John Levon  <levon@movementarian.org>
5109
5110         * BufferView.h:
5111         * BufferView.C: add getEncoding()
5112
5113         * kbsequence.h:
5114         * kbsequence.C: do not store last keypress
5115
5116         * lyxfunc.h:
5117         * lyxfunc.C: store last keypress here instead. Pass encoding
5118           to getISOEncoded()
5119
5120 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5121
5122         * lyx_main.C (init): remove annoying error message when following
5123         symbolic links (bug #780)
5124
5125 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5126
5127         * text.C (insertChar):
5128         * lyxrc.C (getDescription): remove extra spaces
5129
5130 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5131
5132         * lyxrc.C (getDescription): remove extra spaces
5133
5134 2002-12-20  John Levon  <levon@movementarian.org>
5135
5136         * text3.C: hack fix for page up/down across tall rows
5137
5138 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5139
5140         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5141         not been invoked
5142
5143 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5144
5145         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5146         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5147         thesaurus is not compiled in
5148
5149 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5150
5151         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5152
5153 2002-12-16  Angus Leeming  <leeming@lyx.org>
5154
5155         * lyxrc.[Ch]:
5156         * lyx_main.C (init): remove override_x_deadkeys stuff.
5157
5158 2002-12-12  John Levon  <levon@movementarian.org>
5159
5160         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5161           insert. Only remove shift modifier under strict
5162           circumstances.
5163
5164 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * MenuBackend.C (expandToc): fix crash.
5167
5168 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * MenuBackend.C (expandToc): gettext on float names.
5171
5172 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5173
5174         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5175         implement bool empty() [bug 490]
5176
5177 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5180
5181 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * several files: ws changes
5184
5185 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * text2.C (setCounter): clean up a bit, use boost.format.
5188         (updateCounters): initialize par upon declaration.
5189
5190         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5191         if the layout exists. We do not just store the layout any more.
5192         (SwitchLayoutsBetweenClasses): use boost.format
5193
5194 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5195
5196         * converter.C (convert): if from and to files are the same, use a
5197         temporary files as intermediary
5198
5199 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5200
5201         * commandtags.h:
5202         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5203
5204 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5205
5206         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5207
5208 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * tabular.C (asciiPrintCell): use string(size, char) instead of
5211         explicit loop.
5212
5213         * sgml.C (openTag): fix order of arguments to string constructor
5214         (closeTag): ditto
5215
5216         * lyxfunc.C (dispatch): use boost.format
5217
5218         * lots of files: change "c" -> 'c'
5219
5220 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5221
5222         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5223
5224 2002-11-25  Angus Leeming  <leeming@lyx.org>
5225
5226         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5227
5228         * lyx_main.C (init): compile fix.
5229
5230 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * lyx_cb.C (start): boost.formatify
5233         do not include <iostream>
5234
5235         * lengthcommon.C: ws only
5236
5237         * boost-inst.C,BoostFormat.h: add more explict instantations
5238
5239 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * lots of files: handle USE_BOOST_FORMAT
5242
5243 2002-11-21  John Levon  <levon@movementarian.org>
5244
5245         * pspell.C: fix compile
5246
5247 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5248
5249         * lyxfunc.C (dispatch): use boost::format
5250         (open): ditto
5251         (doImport): ditto
5252
5253         * lyxfont.C (stateText): use boost::format
5254
5255         * lyx_main.C (LyX): use boost::format
5256         (init): ditto
5257         (queryUserLyXDir): ditto
5258         (readRcFile): ditto
5259         (parse_dbg): ditto
5260         (typedef boost::function): use the recommened syntax.
5261
5262         * importer.C (Import): use boost::format
5263
5264         * debug.C (showLevel): use boost::format
5265
5266         * converter.C (view): use boost::format
5267         (convert): ditto
5268         (move): ditto
5269         (scanLog): ditto
5270
5271         * bufferview_funcs.C (currentState): use boost::format
5272
5273         * bufferlist.C (emergencyWrite): use boost::format
5274
5275         * buffer.C (readLyXformat2): use boost::format
5276         (parseSingleLyXformat2Token): ditto
5277
5278         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5279
5280         * LaTeX.C (run): use boost::format
5281
5282         * Chktex.C (scanLogFile): use boost::format
5283
5284         * BufferView_pimpl.C (savePosition): use boost::format
5285         (restorePosition): ditto
5286         (MenuInsertLyXFile): ditto
5287
5288         * BoostFormat.h: help file for explicit instation.
5289
5290 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5291
5292         * tabular.C (latex): Support for block alignment in fixed width
5293         columns.
5294
5295 2002-11-17  John Levon  <levon@movementarian.org>
5296
5297         * BufferView_pimpl.C:
5298         * lyx_cb.C:
5299         * lyxfunc.C: split filedialog into open/save
5300
5301 2002-11-08  Juergen Vigna  <jug@sad.it>
5302
5303         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5304         by my last patch (hopefully).
5305
5306 2002-11-08  John Levon  <levon@movementarian.org>
5307
5308         * iterators.h:
5309         * iterators.C:
5310         * buffer.h:
5311         * buffer.C:
5312         * paragraph.h:
5313         * paragraph.C:
5314         * toc.h:
5315         * toc.C: ParConstIterator, and use it (from Lars)
5316
5317 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5318
5319         * lyxtextclass.[Ch]: revise and add doxygen comments
5320
5321 2002-11-07  John Levon  <levon@movementarian.org>
5322
5323         * text.C: fix progress value for spellchecker
5324
5325         * toc.C: fix navigate menu for insetwrap inside minipage
5326
5327         * paragraph_funcs.C: added FIXME for suspect code
5328
5329 2002-11-07  John Levon  <levon@movementarian.org>
5330
5331         * BufferView_pimpl.C: fix redrawing of insets
5332           on buffer switch
5333
5334 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5335
5336         * text2.C (updateCounters): fix bug 668
5337
5338 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5339
5340         * text3.C (dispatch): Do not make the buffer dirty when moving the
5341         cursor.
5342
5343 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * vc-backend.C: STRCONV
5346         (scanMaster): ditto
5347
5348         * text2.C (setCounter): STRCONV
5349
5350         * paragraph.C (asString): STRCONV
5351
5352         * lyxlength.C (asString): STRCONV
5353         (asLatexString): ditto
5354
5355         * lyxgluelength.C (asString): STRCONV
5356         (asLatexString): ditto
5357
5358         * lyxfunc.C (dispatch): STRCONV
5359         (open): ditto
5360
5361         * lyxfont.C (stateText): STRCONV
5362
5363         * importer.C (Import): STRCONV
5364
5365         * counters.C (labelItem): STRCONV
5366         (numberLabel): ditto
5367         (numberLabel): remove unused ostringstream o
5368
5369         * chset.C: STRCONV
5370         (loadFile): ditto
5371
5372         * bufferview_funcs.C (currentState): STRCONV
5373
5374         * buffer.C (readFile): STRCONV
5375         (asciiParagraph): ditto
5376         (makeLaTeXFile): ditto
5377
5378         * Spacing.C (writeEnvirBegin): STRCONV
5379
5380         * LaTeXFeatures.C (getLanguages): STRCONV
5381         (getPackages): ditto
5382         (getMacros): ditto
5383         (getBabelOptions): ditto
5384         (getTClassPreamble): ditto
5385         (getLyXSGMLEntities): ditto
5386         (getIncludedFiles): ditto
5387
5388         * LaTeX.C: STRCONV
5389         (run): ditto
5390         (scanAuxFile): ditto
5391         (deplog): ditto
5392
5393         * LString.h: add the STRCONV macros
5394
5395         * BufferView_pimpl.C (savePosition): STRCONV
5396         (restorePosition): ditto
5397         (MenuInsertLyXFile): ditto
5398
5399         * vc-backend.C (scanMaster): change from submatch[...] to
5400         submatch.str(...)
5401
5402         * funcrequest.C: include config.h
5403
5404         * factory.C: include config.h
5405
5406         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5407
5408         * box.C: include config.h
5409
5410         * LaTeX.C (scanAuxFile): change from submatch[...] to
5411         submatch.str(...)
5412         (deplog): ditto
5413
5414 2002-10-25  Angus Leeming  <leeming@lyx.org>
5415
5416         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5417
5418         * ispell.[Ch] (setError): new method.
5419         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5420         Use setError() insetead of goto END.
5421
5422         * lyx_cb.C (AutoSave): move out child process into new class
5423         AutoSaveBuffer.
5424
5425 2002-10-30  John Levon  <levon@movementarian.org>
5426
5427         * text3.C: make start appendix undoable
5428
5429 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5430
5431         * lyxlength.C (inPixels): Fix returned value.
5432
5433         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5434         environment.
5435
5436 2002-10-24  Angus Leeming  <leeming@lyx.org>
5437
5438         * lyxgluelength.h: no need to forward declare BufferParams
5439         or BufferView, so don't.
5440
5441 2002-10-21  John Levon  <levon@movementarian.org>
5442
5443         * BufferView.C: menuUndo ->undo, redo
5444
5445         * BufferView.h: document, remove dead, make some methods private
5446
5447         * paragraph_funcs.h:
5448         * paragraph_funcs.C:
5449         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5450
5451         * buffer.h:
5452         * buffer.C:
5453         * sgml.h:
5454         * sgml.C: move sgml open/close tag into sgml.C
5455
5456         * bufferview_funcs.h: unused prototype
5457
5458         * lyxfunc.h:
5459         * lyxfunc.C: remove unused
5460
5461         * lyxtext.h:
5462         * text.C: remove unused
5463
5464 2002-10-21  John Levon  <levon@movementarian.org>
5465
5466         * BufferView.h:
5467         * BufferView.C:
5468         * BufferView_pimpl.h:
5469         * BufferView_pimpl.C: fix mouse wheel handling based on
5470           patch from Darren Freeman
5471
5472 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5473
5474         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5475
5476 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5477
5478         * lyxlength.C (inPixels): Fix hanfling of negative length.
5479         Fix LyXLength::MU case.
5480
5481 2002-10-16  John Levon  <levon@movementarian.org>
5482
5483         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5484
5485 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5486
5487         * converter.C (view): add support for $$i (file name) and $$p
5488         (file path) for the viewer command. If $$i is not specified, then
5489         it is appended to the command (for compatibility with old syntax)
5490
5491 2002-10-14  Juergen Vigna  <jug@sad.it>
5492
5493         * undo_funcs.C (textHandleUndo): alter the order in which the
5494         new undopar is added to the LyXText, as we have to set first
5495         the right prev/next and then add it as otherwise the rebuild of
5496         LyXText is not correct. Also reset the cursor to the right paragraph,
5497         with this IMO we could remove the hack in "redoParagraphs()".
5498
5499 2002-10-09  Angus Leeming  <leeming@lyx.org>
5500
5501         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5502         to turn off an optimisation if a new inset is to be inserted.
5503
5504 2002-10-11 André Pönitz <poenitz@gmx.net>
5505
5506         * lyxtext.h: make some functions public to allow access
5507         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5508
5509 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5510
5511         * text3.C (dispatch): when changing layout, avoid an infinite loop
5512         [bug #652]
5513
5514 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5515
5516         * lyxrc.C (read): treat a viewer or converter command of "none" as
5517         if it were empty.
5518
5519         * MenuBackend.C (expandFormats): for an update, also allow the
5520         formats that are not viewable
5521
5522         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5523         script if it is newer than the lyxrc.defaults in user directory
5524
5525 2002-10-07 André Pönitz <poenitz@gmx.net>
5526
5527         * text.C: Vitaly Lipatov's small i18n fix
5528
5529 2002-09-25  Angus Leeming  <leeming@lyx.org>
5530
5531         * ispell.h: doxygen fix.
5532
5533 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5534
5535         * buffer.h (readFile): Add a new argument to the method, to allow
5536         reading of old-format templates.
5537
5538 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5539
5540         * toc.C (getTocList): Get TOC from InsetWrap.
5541
5542 2002-09-16  John Levon  <levon@movementarian.org>
5543
5544         * lyxfunc.C: check tabular for cut/copy too
5545
5546 2002-09-12  John Levon  <levon@movementarian.org>
5547
5548         * LyXAction.C: tidy
5549
5550         * factory.h:
5551         * factory.C: add header
5552
5553         * paragraph_funcs.h:
5554         * paragraph_funcs.C: cleanup
5555
5556 2002-09-11  John Levon  <levon@movementarian.org>
5557
5558         * PrinterParams.h: odd/even default to true
5559
5560 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5561
5562         * PrinterParams.h: update printer parameters for new xforms dialog
5563
5564 2002-09-11  Angus Leeming  <leeming@lyx.org>
5565
5566         * lyxserver.C (read_ready): re-write to make it more transparent
5567         and to make it work in coherent fashion under Tru64 Unix.
5568
5569 2002-09-11  André Pönitz <poenitz@gmx.net>
5570
5571         * commandtags.h:
5572         * LyXAction.C:
5573         * text3.C: implement LFUN_WORDSEL
5574
5575 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5578         make floatlist_ a boost::shared_ptr<FloatList>
5579
5580         * lyxtextclass.C: include FloatList.h
5581         (LyXTextClass): initialize floatlist_
5582         (TextClassTags): add TC_NOFLOAT
5583         (Read): match "nofloat" to TC_NOFLOAT and use it.
5584         (readFloat): modify call to floatlist_
5585         (floats): ditto
5586         (floats): ditto
5587
5588         * FloatList.[Ch] (FloatList): remove commented out float
5589         initialization.
5590         (erase): new function
5591
5592 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5593
5594         * MenuBackend.C (expandToc): fix crash when there is no document
5595         open
5596
5597 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5598
5599         * many files: Add insetwrap.
5600
5601 2002-09-09  John Levon  <levon@movementarian.org>
5602
5603         * text2.C: remove confusing and awkward depth wraparound
5604
5605 2002-09-09  John Levon  <levon@movementarian.org>
5606
5607         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5608
5609         * buffer.h:
5610         * buffer.C: remove getIncludeonlyList()
5611
5612         * paragraph.C:
5613         * lyxfunc.C: remove headers
5614
5615 2002-09-09  Juergen Vigna  <jug@sad.it>
5616
5617         * text.C (getColumnNearX): fix form Michael this is most
5618         probably a cut&paste bug.
5619
5620 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5623
5624         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5625         references, ws changes.
5626
5627         * text2.C (init): update counters after init
5628         (insertParagraph): no need to set counter on idividual paragraphs.
5629         (setCounter): access the counters object in the textclass object
5630         on in the buffer object.
5631         (updateCounters): ditto
5632
5633         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5634         shared_ptr<Counters> to avoid loading counters.h in all
5635         compilation units.
5636         (LyXTextClass): initialize ctrs_
5637         (TextClassTags): add TC_COUNTER, and ...
5638         (Read): use it here.
5639         (CounterTags): new tags
5640         (readCounter): new function
5641         (counters): new funtion
5642         (defaultLayoutName): return a const reference
5643
5644         * counters.C (Counters): remove contructor
5645         (newCounter): remove a couple of unneeded statements.
5646         (newCounter): simplify a bit.
5647         (numberLabel): some small formatting changes.
5648
5649         * buffer.[Ch]: remove all traces of counters, move the Counters
5650         object to the LyXTextClass.
5651
5652 2002-09-06  Alain Castera  <castera@in2p3.fr>
5653
5654         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5655         package to set the horizontal alignment on fixed width columns.
5656
5657         * lyx_sty.C:
5658         * lyx_sty.h: added tabularnewline macro def.
5659
5660         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5661
5662 2002-09-06  John Levon  <levon@movementarian.org>
5663
5664         * LyXAction.C: tooltips for sub/superscript
5665
5666         * MenuBackend.C: a bit more verbose
5667
5668         * lyxfunc.C: tiny clean
5669
5670         * undo_funcs.C: document undo_frozen
5671
5672 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * counters.C (Counters): add missing algorithm counter.
5675
5676         * text2.C (setCounter): lookup the counter with layouts latexname
5677         instead of by section number.
5678         (setCounter): use a hackish way to lookup the correct enum
5679         counter.
5680         a float name->type change
5681         reset enum couners with counter name directly instead of depth value.
5682
5683         * counters.C (Counters): remove the push_backs, change to use the
5684         float type not the float name.
5685         (labelItem): remove unused string, float name->type change
5686
5687         * counters.h: don't include vector, loose the enums and sects vectors
5688
5689 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5692         (Read): add float->TC_FLOAT to textclassTags
5693         (Read): and handle it in the switch
5694         (readFloat): new function
5695
5696         * FloatList.C (FloatList): comment out the hardcoded float
5697         definitions.
5698
5699         * lyxlayout.h: ws change.
5700
5701 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5702
5703         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5704
5705 2002-09-03  Angus Leeming  <leeming@lyx.org>
5706
5707         * BufferView_pimpl.h: qualified name is not allowed in member
5708         declaration: WorkArea & Pimpl::workarea() const;
5709
5710         * factory.C: added using std::endl directive.
5711
5712         * text3.C: added using std::find and std::vector directives.
5713
5714 2002-08-29  André Pönitz <poenitz@gmx.net>
5715
5716         * lyxtext.h:
5717         * text2.C: remove unused member number_of_rows
5718
5719         * Makefile.am:
5720         * BufferView2.C: remove file, move contents to...
5721         * BufferView.C: ... here
5722
5723         * BufferView_pimpl.C:
5724         * factory.C: move more inset creation to factory
5725
5726         * vspace.C: avoid direct usage of LyXText, ws changes
5727
5728         * BufferView.[Ch]:
5729                 don't provide direct access to WorkArea, use two simple
5730                 acessors haveSelction() and workHeight() instead
5731
5732
5733 2002-08-29  John Levon  <levon@movementarian.org>
5734
5735         * BufferView_pimpl.C (dispatch): do not continue when
5736           no buffer
5737
5738 2002-08-28  André Pönitz <poenitz@gmx.net>
5739
5740         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5741
5742         * BufferView.h:
5743         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5744
5745 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5746
5747         * buffer.C: increment LYX_FORMAT to 221
5748
5749         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5750         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5751
5752         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5753
5754         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5755
5756 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5757
5758         * factory.C (createInset): use LyXTextClass::floats
5759
5760         * MenuBackend.C (expandFloatListInsert):
5761         (expandFloatInsert):
5762         (expandToc):
5763
5764         * text2.C (setCounter):
5765
5766         * LaTeXFeatures.C (useFloat):
5767         (getFloatDefinitions):
5768
5769         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5770
5771         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5772         floatlist_, with accessor floats().
5773
5774         * FloatList.h: remove global FloatList
5775
5776 2002-08-26  André Pönitz <poenitz@gmx.net>
5777
5778         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5779
5780         * BufferView.h:
5781         * BufferView2.C:
5782         * BufferView_pimpl.C:
5783         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5784
5785 2002-08-25  John Levon  <levon@movementarian.org>
5786
5787         * LyXAction.C: fix margin note description
5788
5789 2002-08-24  John Levon  <levon@movementarian.org>
5790
5791         * buffer.C:
5792         * bufferlist.C:
5793         * bufferview_funcs.C:
5794         * lyxfont.C:
5795         * undo_funcs.C: cleanups
5796
5797         * lyxfunc.C: disable CUT/COPY when no selection
5798
5799 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5800
5801         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5802         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5803
5804         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5805         Add backward compatibility to "mono", "gray" and "no".
5806
5807 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5808
5809         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5810         (and file_format >= 200).
5811
5812 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5813
5814         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5815
5816 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5817
5818         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5819
5820 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5821
5822         * BufferView_pimpl.C:
5823         * LyXAction.C:
5824         * buffer.C:
5825         * commandtags.h:
5826         * lyxfunc.C:
5827         * paragraph.[Ch]:
5828         * text2.C:
5829         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5830         inset and code to make it  work with the paragraph code. The inset
5831         can be anywhere in the paragraph, but will only do the expected
5832         thing in LaTeX if the layout file contains the parameter line
5833                         OptionalArgs    1
5834         (or more generally, a nonzero value) for that layout.
5835
5836 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * paragraph.h: remove the declaration of undefined counters class
5839         function.
5840
5841 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5842
5843         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5844         Dr. Richard Hawkins.
5845
5846 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5847
5848         * paragraph_funcs.h: remove some unneeded includes
5849
5850         * text.C (backspace): pasteParagraph now in global scipe
5851
5852         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5853         (pasteSelection): ditto
5854
5855         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5856         * paragraph_funcs.C (pasteParagraph): ... here
5857
5858 2002-08-20  André Pönitz <poenitz@gmx.net>
5859
5860         * commandtags.h: new LFUNs for swapping/copying table row/colums
5861
5862         * LyXAction.C:
5863         * lyxfunc.C: support for new lfuns
5864
5865 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * tabular.C:
5868         * buffer.[Ch]: remove NO_COMPABILITY stuff
5869
5870 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * boost.C (throw_exception): new file, with helper function for
5873         boost compiled without exceptions.
5874
5875         * paragraph.h:
5876         * lyxlength.C:
5877         * buffer.C:
5878         * ParameterStruct.h:
5879         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5880
5881         * bufferlist.C (emergencyWriteAll): use boost bind
5882
5883         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5884
5885         * text.C: include paragraph_funcs.h
5886         (breakParagraph): breakParagraph is now in global scope
5887
5888         * paragraph_funcs.[Ch]: new files
5889
5890         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5891         global scope
5892
5893         * buffer.C: include paragraph_funcs.h
5894         (insertStringAsLines): breakParagraph is now in global scope
5895
5896         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5897         paragraph_funcs.C
5898
5899         * CutAndPaste.C: include paragraph_funcs.h
5900         (cutSelection): breakParagraphConservative is now in global scope
5901         (pasteSelection): ditto
5902
5903         * buffer.h: declare oprator== and operator!= for
5904         Buffer::inset_iterator
5905
5906         * bufferlist.C (emergencyWrite): don't use fmt(...)
5907
5908         * text3.C: add using std::endl
5909
5910         * BufferView.C (moveCursorUpdate): remove default arg
5911
5912 2002-08-20  André Pönitz <poenitz@gmx.net>
5913
5914         * buffer.[Ch]: move inline functions to .C
5915
5916         * BufferView2.C:
5917         * BufferView_pimpl.C:
5918         * text.C:
5919         * buffer.[Ch]: use improved inset_iterator
5920
5921         * buffer.C:
5922         * paragraph.[Ch]: write one paragraph at a time
5923
5924 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5925
5926         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5927         style if style is not specified.
5928
5929 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5930
5931         * text2.C (setCounter): when searching for right label for a
5932         caption, make sure to recurse to parent insets (so that a caption
5933         in a minipage in a figure float works) (bug #568)
5934
5935 2002-08-20  André Pönitz <poenitz@gmx.net>
5936
5937         * text3.C: new file for LyXText::dispatch() and helpers
5938
5939         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5940
5941         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5942
5943 2002-08-19  André Pönitz <poenitz@gmx.net>
5944
5945         * lyxtext.h:
5946         * text.C: new LyXText::dispatch()
5947
5948         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5949
5950 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5951
5952         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5953
5954         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5955         Hebrew text.
5956
5957 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5958
5959         * Makefile.am: use $(variables) instead of @substitutions@
5960
5961 2002-08-15  André Pönitz <poenitz@gmx.net>
5962
5963         * lyxfunc.C:
5964         * BufferView_pimpl.C: streamlining mathed <-> outer world
5965         interaction
5966
5967         * commandtags.h:
5968         * LyXAction.C: remove unused LFUN_MATH
5969
5970 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5973
5974 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * paragraph.C (Paragraph): reformat a bit
5977         (cutIntoMinibuffer): use builtin InsetList function instad of
5978         doing it manually.
5979         (getInset): ditto
5980
5981         * buffer.C: include boost/bind.hpp, add using std::for_each
5982         (writeFileAscii): use ParagraphList iterators
5983         (validate): use for_each for validate traversal of paragraphs
5984         (getBibkeyList): use ParagraphList iterators
5985         (resizeInsets): use for_each to resizeInsetsLyXText for all
5986         paragraphs.
5987         (getParFromID): use ParagraphList iterators
5988
5989         * BufferView2.C (lockInset): use paragraph list and iterators
5990
5991 2002-08-14  John Levon  <levon@movementarian.org>
5992
5993         * lyxserver.C: remove spurious xforms include
5994
5995 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5996
5997         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5998
5999 2002-08-13  André Pönitz <poenitz@gmx.net>
6000
6001         * LyXAction.[Ch]:
6002         * lyxfunc.C: further cleaning
6003
6004 2002-08-13  André Pönitz <poenitz@gmx.net>
6005
6006         * funcrequest.h: new constructor
6007
6008         * funcrequest.C: move stuff here from .h
6009
6010         * Makefile.am:
6011         * BufferView_pimpl.C:
6012         * LyXAction.C:
6013         * toc.C:
6014         * lyxfunc.C: subsequent changes
6015
6016         * lyxfunc.h: new view() member function
6017
6018         * lyxfunc.C: subsequent changes
6019
6020 2002-08-13  Angus Leeming  <leeming@lyx.org>
6021
6022         * BufferView2.C:
6023         * BufferView_pimpl.C:
6024         * buffer.C:
6025         * converter.C:
6026         * importer.C:
6027         * lyxfunc.C:
6028         * lyxvc.C:
6029         * toc.C:
6030         * vc-backend.C:
6031         changes due to the changed LyXView interface that now returns references
6032         to member variables not pointers.
6033
6034 2002-08-13  Angus Leeming  <leeming@lyx.org>
6035
6036         * WordLangTuple (word, lang_code): return references to strings,
6037         not strings.
6038
6039         * BufferView.h:
6040         * SpellBase.h:
6041         * lyxtext.h: forward-declare WordLangTuple.
6042
6043         * BufferView2.C:
6044         * ispell.C:
6045         * pspell.C:
6046         * text.C: #include "WordLangTuple.h".
6047
6048         * lyxtext.h:
6049         * text.C: (selectNextWordToSpellcheck): constify return type.
6050
6051 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6052
6053         * buffer.C:
6054         * buffer.h:
6055         * lyxtext.h:
6056         * paragraph.C:
6057         * paragraph_pimpl.h:
6058         * text.C:
6059         * text2.C:
6060         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6061         suggested by Angus.
6062         Made updateCounter always count from start of buffer, and removed
6063         second argument (par).
6064         Reverted floats number display to '#'. Perhaps I'll try again when the
6065         code base is sanitized a bit.
6066
6067 2002-08-12  Angus Leeming  <leeming@lyx.org>
6068
6069         * buffer.[Ch] (getLabelList): constify.
6070
6071 2002-08-07  André Pönitz <poenitz@gmx.net>
6072
6073         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6074
6075         * funcrequest.h: extension to keep mouse (x,y) position
6076
6077 2002-08-12  Juergen Vigna  <jug@sad.it>
6078
6079         * BufferView2.C (insertErrors): forbid undo when inserting error
6080         insets.
6081
6082         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6083
6084 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * ParagraphList.[Ch]: new files
6087
6088         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6089
6090         * BufferView2.C (lockInset): ParagraphList changes
6091         * toc.C: ditto
6092         * text2.C: ditto
6093         * bufferlist.C: ditto
6094         * buffer.h: ditto
6095         * buffer.C: ditto
6096
6097 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6100         unused class variable counter_,
6101
6102         * paragraph.[Ch] (getFirstCounter): delete unused function
6103
6104         * counters.C: include LAssert.h
6105         (reset): add a new function with no arg, change other version to
6106         not have def. arg and to not allow empty arg.
6107
6108         * text2.C (setCounter): remove empty arg from call to Counters::reset
6109
6110 2002-08-11  John Levon  <levon@movementarian.org>
6111
6112         * Makefile.am: add WordLangTuple.h
6113
6114 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6117         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6118
6119         * insets/insettext.C: InsetList changes
6120
6121         * graphics/GraphicsSupport.C (operator()): InsetList changes
6122
6123         * toc.C (getTocList): InsetList changes
6124
6125         * paragraph_pimpl.[Ch]: InsetList changes
6126
6127         * paragraph.[Ch]: InsetList changes
6128
6129         * buffer.C (inset_iterator): InsetList changes
6130         (setParagraph): ditto
6131         * buffer.h (inset_iterator): ditto
6132         * iterators.C (operator++): ditto
6133         * iterators.h: ditto
6134
6135         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6136
6137         * InsetList.[Ch]: new files, most InsetList handling moved out of
6138         paragraph.C.
6139
6140         * BufferView2.C (removeAutoInsets): InsetList changes
6141         (lockInset): ditto
6142         (ChangeInsets): ditto
6143
6144 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * paragraph_pimpl.h (empty): new function
6147
6148         * paragraph.[Ch] (empty): new function
6149
6150         * other files: use the new Paragraph::empty function
6151
6152 2002-08-09  John Levon  <levon@movementarian.org>
6153
6154         * lyxtext.h: remove unused refresh_height
6155
6156 2002-08-09  John Levon  <levon@movementarian.org>
6157
6158         * Makefile.am:
6159         * sgml.h:
6160         * sgml.C:
6161         * buffer.C:
6162         * paragraph.h:
6163         * paragraph.C: move sgml char escaping out of paragraph
6164
6165         * paragraph.h:
6166         * paragraph.C: remove id setter
6167
6168         * buffer.C:
6169         * paragraph.C:
6170         * paragraph_pimpl.C: remove dead tex_code_break_column
6171
6172         * bufferview_funcs.C: small cleanup
6173
6174         * lyxfunc.C: remove dead proto
6175
6176         * lyxtext.h: make some stuff private. Remove some dead stuff.
6177
6178         * lyxgluelength.C: make as[LyX]String() readable
6179
6180 2002-08-08  John Levon  <levon@movementarian.org>
6181
6182         * LyXAction.h:
6183         * LyXAction.C:
6184         * MenuBackend.C:
6185         * ToolbarDefaults.C:
6186         * lyxfunc.C:
6187         * lyxrc.C:
6188         * toc.C: lyxaction cleanup
6189
6190 2002-08-08  John Levon  <levon@movementarian.org>
6191
6192         * BufferView2.C: small cleanup
6193
6194         * lyxfind.h:
6195         * lyxfind.C: move unnecessary header into the .C
6196
6197 2002-08-08  John Levon  <levon@movementarian.org>
6198
6199         * funcrequest.h: just tedious nonsense
6200
6201         * lyx_main.h:
6202         * lyx_main.C: cleanups
6203
6204         * buffer.C:
6205         * vspace.C: remove dead header lyx_main.h
6206
6207 2002-08-07  Angus Leeming  <leeming@lyx.org>
6208
6209         * Paragraph.[Ch]:
6210         * paragraph_pimpl.h:
6211         Forward declare class Counters in paragraph.h by moving the ctrs member
6212         variable into Paragraph::Pimpl.
6213         (counters): new method, returning a reference to pimpl_->ctrs.
6214
6215         * text2.C: ensuing changes.
6216
6217 2002-08-07  John Levon  <levon@movementarian.org>
6218
6219         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6220
6221         * BufferView_pimpl.C: announce X selection on double/triple
6222           click
6223
6224         * lyx_main.C: use correct bool in batch dispatch
6225
6226         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6227
6228 2002-08-07  André Pönitz <poenitz@gmx.net>
6229
6230         * funcrequest.h: new class to wrap a kb_action and its argument
6231
6232         * BufferView.[Ch]:
6233         * BufferView_pimpl[Ch]:
6234         * LaTeX.C:
6235         * LyXAction.[Ch]:
6236         * lyxfunc.[Ch]:
6237         * lyxrc.C: subsequent changes
6238
6239
6240 2002-08-07  John Levon  <levon@movementarian.org>
6241
6242         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6243           document options change.
6244
6245 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6246
6247         * counters.[Ch]
6248         * text2.C
6249         * paragraph.[Ch]
6250         * makefile.am: move counters functionality over from
6251         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6252
6253 2002-08-06  John Levon  <levon@movementarian.org>
6254
6255         * WordLangTuple.h: new file for word + language code tuple
6256
6257         * SpellBase.h:
6258         * pspell.h:
6259         * pspell.C:
6260         * ispell.h:
6261         * ispell.C:
6262         * lyxtext.h:
6263         * text.C:
6264         * text2.C:
6265         * BufferView.h:
6266         * BufferView2.C: use WordLangTuple
6267
6268         * layout.h:
6269         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6270
6271 2002-08-06  John Levon  <levon@movementarian.org>
6272
6273         * lyx_main.C: fix cmdline batch handling
6274
6275 2002-08-06  André Pönitz <poenitz@gmx.net>
6276
6277         * lyxrc.C: set default for show_banner to true
6278
6279 2002-08-06  John Levon  <levon@movementarian.org>
6280
6281         * pspell.C: fix a crash, and allow new aspell to work
6282
6283 2002-08-06  John Levon  <levon@movementarian.org>
6284
6285         * lyxfunc.C:
6286         * kbmap.C: small cleanup
6287
6288         * vspace.h:
6289         * vspace.C: add const
6290
6291 2002-08-05  John Levon  <levon@movementarian.org>
6292
6293         * LyXAction.C: back to tabular-insert
6294
6295 2002-08-04  John Levon  <levon@movementarian.org>
6296
6297         * BufferView.h:
6298         * BufferView.C: cosmetic change
6299
6300         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6301
6302         * bufferlist.C:
6303         * buffer.h:
6304         * buffer.C:
6305         * lyxcb.h:
6306         * lyxcb.C:
6307         * lyxserver.C:
6308         * lyxvc.C:
6309         * vc-backend.C:
6310         * BufferView2.C: purge all "Lyx" not "LyX" strings
6311
6312         * lyxcursor.h:
6313         * lyxcursor.C: attempt to add some documentation
6314
6315         * lyxfunc.C:
6316         * commandtags.h:
6317         * LyXAction.C:
6318         * ToolbarDefaults.C:
6319         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6320           merge with LFUN_TABULAR_INSERT
6321
6322         * Makefile.am:
6323         * SpellBase.h:
6324         * ispell.h:
6325         * ispell.C:
6326         * pspell.h:
6327         * pspell.C: split up i/pspell implementations into separate
6328           files, many cleanups
6329
6330         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6331
6332         * text2.C: some cleanup
6333
6334         * lyxfunc.C: don't check for isp_command == "none" any more, it
6335           didn't make any sense
6336
6337 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6338
6339         * counters.[Ch]
6340         * text2.C
6341         * paragraph.[Ch]
6342         * makefile.am: move counters functionality over
6343         from text2.C/paragraph.[Ch] to counters.[Ch], and
6344         make proper C++.
6345 2002-08-02  John Levon  <levon@movementarian.org>
6346
6347         * buffer.C: s/lyxconvert/lyx2lyx/
6348
6349 2002-08-02  Angus Leeming  <leeming@lyx.org>
6350
6351         * lyxlex.C: revert John's change as it breaks reading of the user
6352         preamble.
6353
6354 2002-08-02  Angus Leeming  <leeming@lyx.org>
6355
6356         * importer.C (Import):
6357         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6358         changes due to LyXView::view() now returning a boost::shared_ptr.
6359
6360 2002-08-02  John Levon  <levon@movementarian.org>
6361
6362         * lyxlex.C: small cleanup
6363
6364 2002-08-02  John Levon  <levon@movementarian.org>
6365
6366         * text2.C (status): small cleanup, no logic change
6367
6368 2002-08-01  John Levon  <levon@movementarian.org>
6369
6370         * buffer.h:
6371         * buffer.C (writeFile): don't output alerts, caller
6372           handles this
6373
6374         * bufferlist.C:
6375         * lyx_cb.C: from above
6376
6377         * lyxfunc.C: allow to open non-existent files
6378
6379 2002-07-31  John Levon  <levon@movementarian.org>
6380
6381         * lyxserver.C: don't let incidental errors get
6382           in the way (errno)
6383
6384 2002-07-30  John Levon  <levon@movementarian.org>
6385
6386         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6387
6388 2002-07-30  John Levon  <levon@movementarian.org>
6389
6390         * lyxserver.h:
6391         * lyxserver.C: remove I/O callback too
6392
6393 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6394
6395         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6396         log.
6397
6398 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * many files: strip,frontStrip -> trim,ltrim,rtrim
6401
6402 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6403
6404         * PrinterParams.h: remove extern containsOnly, and include
6405         support/lstrings.h instead.
6406
6407         * LaTeX.C (scanAuxFile): modify because of strip changes
6408         (deplog): ditto
6409         * buffer.C (makeLaTeXFile): ditto
6410         * bufferparams.C (writeFile): ditt
6411         * lyxfont.C (stateText): ditto
6412         * lyxserver.C (read_ready): ditto
6413         * vc-backend.C (scanMaster): ditto
6414
6415         * BufferView_pimpl.h: ws changes
6416
6417         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6418
6419 2002-07-26  André Pönitz <poenitz@gmx.net>
6420
6421         * kb_sequence.C: remove unnedred usings
6422
6423 2002-07-26  Juergen Vigna  <jug@sad.it>
6424
6425         * lyxfind.C (LyXReplace): we have to check better if the returned
6426         text is not of theLockingInset()->getLockingInset().
6427
6428 2002-07-25  Juergen Vigna  <jug@sad.it>
6429
6430         * lyxfind.C (LyXReplace): don't replace if we don't get the
6431         right LyXText.
6432
6433         * undo_funcs.C (createUndo): remove debugging code.
6434
6435 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6436
6437         * buffer.C (parseSingleLyXformat2Token): Use default placement
6438         when reading old floats.
6439
6440         * FloatList.C (FloatList): Change the default placement of figure
6441         and tables to "tbp".
6442
6443 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6444
6445         * MenuBackend.C: using std::max
6446
6447 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6448
6449         * MenuBackend.C (expandToc):
6450         (expandToc2): code moved from xforms menu frontend. It is now
6451         generic and TOCs are transparent to menu frontends.
6452
6453 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6454
6455         * toc.C (getTocList): protect against buf=0
6456
6457         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6458         Menu as first parameter. Now, this calls itself recursively to
6459         expand a whole tree (this will be useful for TOC handling)
6460         (expandFloatInsert): remove 'wide' version of floats
6461
6462         * MenuBackend.h (submenuname): returns the name of the submenu.
6463         (submenu): returns the submenu itself, provided it has been
6464         created by MenuBackend::expand
6465
6466 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6467
6468         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6469         insets which have noFontChange == true. (bug #172)
6470
6471 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6472
6473         * BufferView_pimpl.C: add connection objects and use them...
6474         (Pimpl): here.
6475
6476 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6477
6478         * MenuBackend.C (expandLastfiles):
6479         (expandDocuments):
6480         (expandFormats):
6481         (expandFloatListInsert):
6482         (expandFloatInsert):
6483         (expand): split expand in parts
6484
6485 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6486
6487         * lyx_gui.C: use lyx_gui::exit()
6488
6489 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6490
6491         * LyXAction.C: show the failing pseudo action
6492
6493 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6494
6495         * buffer.C (readFile): Run the lyxconvert script in order to read
6496         old files.
6497
6498 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6499
6500         * LyXAction.C:
6501         * commandtags.h:
6502         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6503
6504 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6505
6506         * LyXAction.C:
6507         * commandtags.h:
6508         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6509
6510 2002-07-22  Herbert Voss  <voss@lyx.org>
6511
6512         * lengthcommon.C:
6513         * lyxlength.[Ch]: add support for the vertical lengths
6514
6515 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6516
6517         * toc.[Ch]: std:: fixes
6518
6519 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6520
6521         * lyxrc.C: do not include lyx_main.h
6522
6523         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6524         for layouts
6525
6526         * lyxrc.C:
6527         * encoding.C:
6528         * bufferlist.C:
6529         * BufferView2.C: include "lyxlex.h"
6530
6531         * tabular.h:
6532         * bufferparams.h: do not #include "lyxlex.h"
6533
6534         * lyxtextclasslist.C (Add): remove method
6535         (classlist): renamed to classlist_
6536
6537         * paragraph_pimpl.C:
6538         * paragraph.C:
6539         * text2.C:
6540         * CutAndPaste.C:
6541         * bufferview_funcs.C:
6542         * bufferlist.C:
6543         * text.C:
6544         * LaTeXFeatures.C:
6545         * buffer.C:
6546         * toc.C (getTocList): use BufferParams::getLyXTextClass
6547
6548         * toc.C (getTocList): use InsetFloat::addToToc
6549
6550         * toc.[Ch]: new files, containing helper functions to handle table
6551         of contents
6552
6553         * lyxfunc.C (dispatch): no need to remove spaces around command
6554         given as a string
6555         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6556         first command of the sequence; it is not very clever, but I do not
6557         have a better idea, actually
6558
6559         * LyXAction.C (LookupFunc): make sure to remove space at the
6560         beginning and end of the command
6561
6562 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6563
6564         * MenuBackend.C (getMenubar): new method: return the menubar of
6565         this menu set
6566         (read): treat differently reading of menu and menubar (in
6567         particular, the menubar has no name now)
6568         (Menu::menubar): remove
6569
6570         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6571         saving is finished
6572
6573 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6574
6575         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6576         a bibitem inset in a RTL paragraph.
6577
6578 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6579
6580         * paragraph_pimpl.C: constify
6581
6582         * BufferView_pimpl.C:
6583         * LaTeX.C:
6584         * lyxfunc.C: fix dispatch in a nicer way
6585
6586 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6587
6588         * lyxfunc.C (dispatch):
6589         * BufferView_pimpl.C:
6590         * BufferView_pimpl.h:
6591         * BufferView.C:
6592         * BufferView.h: rename Dispatch() to dispatch()
6593
6594         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6595
6596         * lyxlayout.C (Read): honor DependsOn tag
6597
6598         * lyxlayout.[Ch] (depends_on): new method
6599
6600         * version.C.in: update lyx_docversion
6601
6602         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6603
6604         * paragraph.C (validate): remove from here...
6605         * paragraph_pimpl.C (validate): ... and move here
6606         (isTextAt): make it const
6607
6608         * buffer.C (getLists): ws cleanup
6609
6610 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6611
6612         * language.C (read): Use iso8859-1 encoding in latex_lang
6613         (this prevents LyX from crashing when using iso10646-1 encoding).
6614
6615 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6616
6617         * text2.C (toggleInset): if cursor is inside an inset, close the
6618         inset and leave cursor _after_ it
6619
6620 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6621
6622         * lyxfunc.C: move minibuffer completion handling out of here
6623
6624 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6625
6626         * BufferView_pimpl.C:
6627         * LaTeX.C: fix dispatch calls
6628
6629 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6630
6631         * text.C (drawChars): Fix Arabic text rendering.
6632
6633 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6634
6635         * LyXAction.C:
6636         * commandtags.h:
6637         * lyxfunc.C: remove message-push/pop
6638
6639         * lyxserver.C:
6640         * lyxfunc.h:
6641         * lyxfunc.C: rationalise some code by removing verboseDispatch
6642           in favour of a bool argument to dispatch()
6643
6644 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6645
6646         * lyx_main.C (init): make sure to read symlinks as absolute paths
6647
6648 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6649
6650         * lyxfunc.h:
6651         * lyxfunc.C: no need for commandshortcut to be a member
6652
6653 2002-07-15  André Pönitz <poenitz@gmx.net>
6654
6655         * converter.C: add support for $$s (scripts from lib/scripts dir)
6656         * lyx_main.C: white space
6657
6658 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6659
6660         * bufferlist.C:
6661         * lyxrc.h:
6662         * lyxrc.C: remove second exit confirmation
6663
6664 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6665
6666         * BufferView.h:
6667         * BufferView.C:
6668         * BufferView2.C:
6669         * BufferView_pimpl.h:
6670         * BufferView_pimpl.C:
6671         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6672
6673 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6674
6675         * MenuBackend.C (expand): add numeric shortcuts to document menu
6676
6677         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6678
6679 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6680
6681         * lyxfont.C (setLyXFamily):
6682         (setLyXSeries):
6683         (setLyXShape):
6684         (setLyXSize):
6685         (setLyXMisc):
6686         (lyxRead):
6687         * debug.C (value):
6688         * buffer.C (asciiParagraph): use ascii_lowercase
6689
6690 2002-07-15  Mike Fabian  <mfabian@suse.de>
6691
6692         * lyxlex_pimpl.C (search_kw):
6693         * lyxlex.C (getLongString):
6694         * converter.h (operator<):
6695         * converter.C (operator<):
6696         * buffer.C (parseSingleLyXformat2Token):
6697         (asciiParagraph):
6698         * ToolbarDefaults.C (read):
6699         * MenuBackend.C (checkShortcuts):
6700         (read):
6701         * LColor.C (getFromGUIName):
6702         (getFromLyXName): use the compare_ascii_no_case instead of
6703         compare_no_case, because in turkish, 'i' is not the lowercase
6704         version of 'I', and thus turkish locale breaks parsing of tags.
6705
6706 2002-07-16  Angus Leeming  <leeming@lyx.org>
6707
6708         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6709         now takes a Buffer const & argument.
6710
6711 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6712
6713         * BufferView.C (resize): check there's a buffer to resize
6714
6715 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6716
6717         * lyxfunc.C: remove dead code
6718
6719         * lyxserver.h:
6720         * lyxserver.C: use lyx_guii::set_read_callback
6721
6722 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6723
6724         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6725         an inset in a RTL paragraph.
6726
6727 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6728
6729         * lyxfunc.C: repaint after a font size update
6730
6731 2002-07-15  André Pönitz <poenitz@gmx.net>
6732
6733         * lyxlength.C: inBP should be able to return negative values
6734
6735 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6736
6737         * lyxfunc.C: use lyx_gui::update_fonts()
6738
6739 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6740
6741         * lyxfunc.C: use lyx_gui::update_color()
6742
6743 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6744
6745         * bufferlist.C:
6746         * lyxfunc.h:
6747         * lyxfunc.C:
6748         * lyxrc.h:
6749         * lyxrc.C: remove file->new asks for name option, and let
6750           buffer-new take an argument
6751
6752 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6753
6754         * BufferView_pimpl.C: remove unneeded extra repaint()
6755
6756 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6757
6758         * LyXAction.C: allow command-sequence with NoBuffer
6759
6760         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6761
6762 2002-07-10  Angus Leeming  <leeming@lyx.org>
6763
6764         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6765
6766 2002-07-09  Angus Leeming  <leeming@lyx.org>
6767
6768         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6769
6770 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6771
6772         * lengthcommon.h: whitespace
6773
6774         * lyxfunc.C: update scrollbar after goto paragraph
6775
6776         * lyxtext.h: factor out page break drawing, and fix it so
6777           page break/added space paints as selected nicely
6778
6779 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6780
6781         * BufferView_pimpl.C: add FIXMEs, clean up a little
6782
6783 2002-07-09  André Pönitz <poenitz@gmx.net>
6784
6785         * lyxfont.[Ch]: support for wasy symbols
6786
6787 2002-07-08  André Pönitz <poenitz@gmx.net>
6788
6789         * BufferView_pimpl.C: apply John's patch for #93.
6790
6791 2002-07-05  Angus Leeming  <leeming@lyx.org>
6792
6793         * BufferView_pimpl.C (buffer): generate previews if desired.
6794
6795         * LColor.h: add "preview" to the color enum.
6796
6797         * LColor.C (LColor): add a corresponding entry to the items array.
6798
6799         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6800         with this buffer.
6801
6802 2002-07-05  Angus Leeming  <leeming@lyx.org>
6803
6804         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6805         The body of the code is now in the method that is passed an ostream &
6806         rather than a file name.
6807         Pass an additional only_preamble parameter, useful for the forthcoming
6808         preview stuff.
6809
6810 2002-07-03  André Pönitz <poenitz@gmx.net>
6811
6812         * lyxfunc.C: simplify getStatus() a bit for math stuff
6813
6814 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6815
6816         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6817
6818 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * text.C (changeRegionCase): do not change case of all the
6821         document when region ends at paragraph end (bug #461)
6822
6823 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6824
6825         * paragraph.C (startTeXParParams):
6826         (endTeXParParams): add \protect when necessary
6827
6828 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6829
6830         * BufferView_pimpl.C (workAreaExpose): remove warning
6831
6832 2002-06-27  Angus Leeming  <leeming@lyx.org>
6833
6834         * Makefile.am: add lyxlayout_ptr_fwd.h.
6835
6836 2002-06-26  André Pönitz <poenitz@gmx.net>
6837
6838         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6839
6840 2002-06-25  Angus Leeming  <leeming@lyx.org>
6841
6842         * lyxfunc.C (dispatch): Comment out the call to
6843         grfx::GCache::changeDisplay. The method no longer exists now that the
6844         pixmap generation part of the graphics loader has been moved into
6845         InsetGraphics.
6846
6847 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6848
6849         * text2.C: layout as layout
6850
6851         * text.C: layout as layout
6852
6853         * tabular.C (OldFormatRead): layout as layout
6854
6855         * paragraph_pimpl.C (TeXDeeper): layout as layout
6856         (realizeFont): layout as layout
6857
6858         * paragraph.C (writeFile): layout as layout
6859         (validate): layout as layout
6860         (getFont): layout as layout
6861         (getLabelFont): layout as layout
6862         (getLayoutFont): layout as layout
6863         (breakParagraph): layout as layout
6864         (stripLeadingSpaces): layout as layout
6865         (getEndLabel): layout as layout
6866         (getMaxDepthAfter): layout as layout
6867         (applyLayout): layout as layout
6868         (TeXOnePar): layout as layout
6869         (simpleTeXOnePar): layout as layout
6870         (TeXEnvironment): layout as layout
6871         (layout): layout as layout
6872         (layout): layout as layout
6873
6874         * lyxtextclass.C (compare_name): new functor to work with
6875         shared_ptr, layout as layout
6876         (Read): layout as layout
6877         (hasLayout): layout as layout
6878         (operator): layout as layout
6879         (delete_layout): layout as layout
6880         (defaultLayout): layout as layout
6881
6882         * lyxlayout_ptr_fwd.h: new file
6883
6884         * lyxlayout.C (Read): layout as layout
6885
6886         * lyx_cb.C (MenuInsertLabel): layout as layout
6887
6888         * bufferlist.C (newFile): layout as layout
6889
6890         * buffer.C (readLyXformat2): layout as layout
6891         (parseSingleLyXformat2Token): layout as layout
6892         (insertStringAsLines): layout as layout
6893         (asciiParagraph): layout as layout
6894         (latexParagraphs): layout as layout
6895         (makeLinuxDocFile): layout as layout
6896         (simpleLinuxDocOnePar): layout as layout
6897         (makeDocBookFile): layout as layout
6898         (simpleDocBookOnePar): layout as layout
6899         (getLists): layout as layout
6900
6901         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6902
6903         * CutAndPaste.C (cutSelection): layout as layout
6904         (pasteSelection): layout as layout
6905         (SwitchLayoutsBetweenClasses): layout as layout
6906
6907         * BufferView_pimpl.C (Dispatch): layout as layout
6908         (smartQuote): layout as layout
6909
6910         * BufferView2.C (unlockInset): layout as layout
6911
6912 2002-06-24  André Pönitz <poenitz@gmx.net>
6913
6914         * lyxfunc.C: fix #487
6915
6916 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6917
6918         * lyxrc.h:
6919         * lyxrc.C:
6920         * lyxfunc.C: remove display_shortcuts, show_banner
6921
6922 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6923
6924         * Buffer_pimpl.C: oops, update on resize
6925
6926 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6927
6928         * buffer.C:
6929         * converter.C:
6930         * exporter.C:
6931         * lyxfunc.C:
6932         * BufferView.h:
6933         * BufferView.C: use repaint()
6934
6935         * BufferView_pimpl.h:
6936         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6937           as it's a clearer description. Remove superfluous
6938           redraws.
6939
6940 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6941
6942         * text.C: fix bug 488. Not ideal, but getting
6943           getWord() to work properly for the insets that
6944           matter is more difficult ...
6945
6946 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6947
6948         * BufferView_pimpl.C:
6949         * LyXAction.C:
6950         * commandtags.h:
6951         * lyxfunc.C: remove the six million index lyxfuncs to just
6952           one, and DTRT (bug 458)
6953
6954 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6955
6956         * BufferView.h:
6957         * BufferView.C:
6958         * BufferView_pimpl.h:
6959         * BufferView_pimpl.C: clean up resize() stuff,
6960           and unnecessary updateScreen()s
6961
6962 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6963
6964         * BufferView.h:
6965         * BufferView.C:
6966         * BufferView_pimpl.h:
6967         * BufferView_pimpl.C:
6968         * lyxfind.h:
6969         * lyxfind.C:
6970         * minibuffer.C: remove focus management of workarea,
6971           not needed. Use screen's greyOut()
6972
6973 2002-06-17  Herbert Voss  <voss@lyx.org>
6974
6975         * converter.C: (convert) do not post a message, when converting
6976         fails, let the calling function decide what to do in this case
6977
6978 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6979
6980         * lyxfunc.C: tidy up a little
6981
6982 2002-06-16    <alstrup@diku.dk>
6983
6984         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6985         Got rid of FORMS_H_LOCATION include. Now we are
6986         GUII.
6987
6988 2002-06-15  LyX Development team  <lyx@rilke>
6989
6990         * buffer.[Ch] (sgmlOpenTag):
6991         (sgmlCloseTag): Added support for avoiding pernicious mixed
6992         content. Return number of lines written.
6993
6994         (makeLinuxDocFile):
6995         (makeDocBookFile): Fixed calls to sgml*Tag.
6996         Simple white space clean.
6997
6998         (simpleDocBookOnePar): Simple white space clean.
6999
7000         * tabular.[Ch] (docBook): Renamed to docbook and got another
7001         argument to related with the pernicious mixed content.
7002
7003         (docbookRow): Fixed calls for docbook inset method.
7004
7005 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7006
7007         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7008         so it's X11 independent.
7009
7010         * kb*.[Ch]: ditto.
7011
7012         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7013
7014 2002-06-15  Lyx Development team  <lyx@electronia>
7015
7016         * intl.h: Renamed getTrans to getTransManager.
7017
7018 2002-06-14  Angus Leeming  <leeming@lyx.org>
7019
7020         * Makefile.am: nuke forgotten stl_string_fwd.h.
7021
7022 2002-06-12  Angus Leeming  <leeming@lyx.org>
7023
7024         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7025
7026 2002-06-13  Angus Leeming  <leeming@lyx.org>
7027
7028         * LaTeX.C:
7029         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7030
7031 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7032
7033         * kbmap.C (getiso): add support for cyrillic and greek
7034
7035 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7036
7037         * BufferView.h:
7038         * BufferView.C:
7039         * BufferView_pimpl.h:
7040         * BufferView_pimpl.C: move bogus scrolling logic
7041           to xforms
7042
7043 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7044
7045         * lyxfunc.C:
7046         * BufferView_pimpl.C: view->resize() change
7047
7048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7049
7050         * BufferView_pimpl.C: topCursorVisible
7051           prototype change
7052
7053 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7054
7055         * Makefile.am:
7056         * lyx_gui.h:
7057         * lyx_gui.C: move to frontends/
7058
7059         * main.C:
7060         * lyx_main.h:
7061         * lyx_main.C: changes from above
7062
7063 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7064
7065         * intl.C:
7066         * intl.h:
7067         * kbmap.C:
7068         * kbsequence.C:
7069         * lyx_cb.C:
7070         * lyx_main.C: minor tidy
7071
7072 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7073
7074         * BufferView_pimpl.h:
7075         * BufferView_pimpl.C:
7076         * BufferView.h:
7077         * BufferView.C: make painter() const,
7078           remove dead code
7079
7080         * BufferView2.C: use screen() accessor
7081
7082         * lyx_main.h:
7083         * lyx_main.C: some minor cleanup
7084
7085 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7086
7087         * BufferView_pimpl.h:
7088         * BufferView_pimpl.C: remove enter/leaveView,
7089           use workHeight()
7090
7091 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7092
7093         * BufferView.h:
7094         * BufferView.C:
7095         * BufferView2.C:
7096         * BufferView_pimpl.h:
7097         * BufferView_pimpl.C: only construct screen once,
7098           rename
7099
7100         * lyxrc.C: remove pointless comment
7101
7102 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * BufferView.h:
7105         * BufferView.C: remove active() and belowMouse()
7106
7107         * BufferView_pimpl.h:
7108         * BufferView_pimpl.C: use workarea() not workarea_,
7109           and make it use a scoped_ptr instead
7110
7111 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7112
7113         * lyx_gui.C: add debug message on BadWindow
7114
7115 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7116
7117         * sp_spell.C: fdopen is not part of the C++ standard.
7118
7119         * paragraph.C (InsetIterator): use >= instead of ==
7120
7121 2002-06-07  Angus Leeming  <leeming@lyx.org>
7122
7123         Fixes needed to compile with Compaq cxx 6.5.
7124         * BufferView_pimpl.C:
7125         * DepTable.C:
7126         * buffer.C:
7127         * converter.C:
7128         * encoding.C:
7129         * lyx_gui.C:
7130         * lyx_main.C:
7131         * lyxtextclasslist.C:
7132         * minibuffer.C:
7133         * sp_spell.C:
7134         * tabular_funcs.C:
7135         * vc-backend.C:
7136         all c-library variables have been moved into namespace std. Wrap
7137         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7138
7139         * lyxlength.C:
7140         * tabular-old.C:
7141         * tabular.C:
7142         Add a using std::abs declaration.
7143
7144         * kbmap.h (modifier_pair):
7145         * paragraph.h (InsetTable, InsetList):
7146         * lyxfont.h (FontBits):
7147         type definition made public.
7148
7149         * bufferlist.C (emergencyWriteAll): the compiler complains that
7150         there is more than one possible lyx::class_fun template to choose from.
7151         I re-named the void specialisation as lyx::void_class_fun.
7152
7153         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7154
7155         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7156         the compiler is is unable to find tostr in write_attribute.
7157
7158 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7159
7160         * buffer.C (sgmlError): hide #warning
7161
7162 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7163
7164         * xtl/*: get rid of xtl, which is not in use anyway
7165
7166         * LyXAction.C (init):
7167         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7168         were unimplemented xtl experimentation
7169
7170 2002-06-04  André Pönitz <poenitz@gmx.net>
7171
7172         * lyxfunc.C: disable array operation on simple formulae
7173
7174 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7175
7176         * converter.C: constify a bit
7177
7178 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7179
7180         * lyx_gui.C: check xforms version correctly
7181
7182 2002-04-30  Herbert Voss  <voss@lyx.org>
7183
7184         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7185         "keep" option
7186
7187 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7188
7189         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7190           attempt to register it with a VCS)
7191
7192 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7193
7194         * lyx_main.C (init): honor variables LYX_DIR_13x and
7195         LYX_USERDIR_13x
7196
7197 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * buffer.h:
7200         * buffer.C:
7201         * lyx_main.C: fix a crash on bad command line,
7202           and give a useful exit status on error
7203
7204         * lyxfunc.C (doImport): allow -i lyx to work
7205
7206 2002-03-30  André Pönitz <poenitz@gmx.net>
7207
7208         * lyxfunc.C: mathed font changes
7209
7210 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7211
7212         * LaTeX.C:
7213         * importer.h:
7214         * importer.C:
7215         * lyx_sty.h:
7216         * lyx_sty.C:
7217         * lyxlex.C:
7218         * lyxrow.h:
7219         * lyxtext.h:
7220         * paragraph.h:
7221         * paragraph.C:
7222         * texrow.h:
7223         * texrow.C:
7224         * text.C:
7225         * trans_mgr.h: srcdocs, and some minor cleanups
7226
7227 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7228
7229         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7230         call getFont all the time)
7231
7232 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7233
7234         * switch from SigC signals to boost::signals
7235
7236 2002-05-29  André Pönitz <poenitz@gmx.net>
7237
7238         * paragraph_pimpl.C (getChar): don't call size() too often...
7239
7240 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7241
7242         * paragraph_pimpl.C (insertChar): do not try to update tables when
7243         appending (pos == size())
7244
7245         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7246         in order to reduce drastically the number of comparisons needed to
7247         parse a large document
7248
7249 2002-05-29  André Pönitz <poenitz@gmx.net>
7250
7251         * text.C:
7252         * text2.C:
7253         * lyxtextclass.C:
7254         * sp_pspell.h:
7255         * textclasslist.[Ch]:
7256         * sp_ispell.h: whitespace change
7257
7258 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7259
7260         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7261         lyxaction directly now.
7262
7263 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7264
7265         * trans.C:
7266         * lyxfont.C:
7267         * lyxvc.C: remove unused headers
7268
7269 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7270
7271         * Makefile.am:
7272         * buffer.h:
7273         * undostack.h:
7274         * undostack.C:
7275         * undo_funcs.h:
7276         * undo_funcs.C: some cleanups. Use shared_ptr
7277           and a template for the undo stacks.
7278
7279 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7280
7281         * BufferView_pimpl.h:
7282         * BufferView_pimpl.C:
7283         * kbmap.h:
7284         * kbmap.C:
7285         * kbsequence.h:
7286         * kbsequence.C:
7287         * lyxfunc.h:
7288         * lyxfunc.C:
7289         * text2.C: use key_state/mouse_state
7290
7291 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7292
7293         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7294         and LSubstring
7295
7296         * chset.C: change include order
7297         (loadFile): use boost regex and get rid of LRegex and LSubstring
7298
7299         * Makefile.am (BOOST_LIBS): new variable
7300         (lyx_LDADD): use it
7301
7302         * LaTeX.C: change include order.
7303         (scanAuxFile): use boost regex and get rid of LRegex and
7304         LSubstring
7305         (deplog): ditto
7306
7307 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7308
7309         * ColorHandler.h:
7310         * ColorHandler.C:
7311         * FontInfo.h:
7312         * FontInfo.C: moved to frontends/xforms/
7313
7314         * FontLoader.h:
7315         * FontLoader.C: moved into frontends for GUIIzation
7316
7317         * Makefile.am:
7318         * lyx_gui.C:
7319         * lyxfont.C:
7320         * lyxfunc.C: changes from above
7321
7322 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7323
7324         * LColor.C: remove spurious X include
7325
7326         * BufferView_pimpl.C:
7327         * Makefile.am:
7328         * font.h:
7329         * font.C:
7330         * text.C:
7331         * text2.C: move font metrics to frontends/
7332
7333 2002-05-24  Juergen Vigna  <jug@sad.it>
7334
7335         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7336         setting the undo_cursor.
7337
7338         * ParagraphParameters.h: include local includes first.
7339
7340 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7341
7342         * BufferView_pimpl.C:
7343         * BufferView_pimpl.h:
7344         * Makefile.am:
7345         * WorkArea.h:
7346         * WorkArea.C:
7347         * screen.C: move WorkArea into frontends/
7348
7349         * lyxscreen.h:
7350         * screen.C:
7351         * text.C:
7352         * BufferView.C:
7353         * BufferView2.C: move LyXScreen into frontends/
7354
7355         * lyxlookup.h:
7356         * lyxlookup.C:
7357         * lyx_gui.C: move lyxlookup into frontends/xforms/
7358
7359 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7360
7361         * BufferView2.C:
7362         * BufferView_pimpl.C:
7363         * FontLoader.C:
7364         * LyXView.h:
7365         * LyXView.C:
7366         * Makefile.am:
7367         * WorkArea.C:
7368         * XFormsView.h:
7369         * XFormsView.C:
7370         * buffer.C:
7371         * bufferlist.C:
7372         * bufferview_funcs.C:
7373         * converter.C:
7374         * importer.C:
7375         * lyx_cb.C:
7376         * lyx_gui.C:
7377         * lyx_main.C:
7378         * lyx_find.C:
7379         * lyxfunc.C:
7380         * lyxvc.C:
7381         * minibuffer.C:
7382         * text.C:
7383         * text2.C:
7384         * trans.C:
7385         * vc-backend.C: move LyX/XFormsView into frontends/
7386
7387 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7388
7389         * Makefile.am:
7390         * PainterBase.C:
7391         * PainterBase.h:
7392         * Painter.C:
7393         * Painter.h:
7394         * WorkArea.C:
7395         * WorkArea.h:
7396         * screen.C:
7397         * tabular.C:
7398         * text.C:
7399         * text2.C: move Painter to frontends/
7400
7401 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7402
7403         * buffer.C: comment out some some code that depend upon lyx_format
7404         < 220
7405
7406         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7407         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7408
7409         * buffer.h (NO_COMPABILITY): turn off compability
7410
7411         * ColorHandler.C: include scoped_array.hpp
7412
7413         * font.C: Use more specific smart_ptr header.
7414         * Painter.C: ditto
7415         * gettext.C: ditto
7416         * ShareContainer.h: ditto
7417         * lyx_main.h: ditto
7418         * kbmap.h: ditto
7419         * FontInfo.h: ditto
7420         * BufferView_pimpl.h: ditto
7421         * ColorHandler.h: ditto
7422
7423         * kbmap.C (defkey): change call to shared_ptr::reset
7424
7425 2002-05-21  Juergen Vigna  <jug@sad.it>
7426
7427         * buffer.C (insertErtContents): fix to insert ert asis if it is
7428         non empty. Skip it completely if it contains only whitespaces.
7429
7430 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7431
7432         * BufferView_pimpl.C:
7433         * BufferView2.C: clear selection on paste (bug 393)
7434
7435 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7436
7437         * DepTable.C: include ctime
7438
7439 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7440
7441         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7442
7443 2002-05-14  Juergen Vigna  <jug@sad.it>
7444
7445         * text.C (breakParagraph): fixed function to honor the keepempty
7446         layout in the right maner and also to permit the right breaking
7447         algorithm on empty or non empyt keepempty paragraphs.
7448
7449         * paragraph.C (breakParagraph): we have to check also if the par
7450         is really empty (!size()) for isempty otherwise we do the wrong
7451         paragraph break.
7452
7453 2002-05-10  Juergen Vigna  <jug@sad.it>
7454
7455         * buffer.[Ch] : The following are only changes to the ert
7456         compatibility read reading old LaTeX layout and font stuff and
7457         convert it to ERTInsets.
7458
7459         * buffer.h: added isErtInset().
7460
7461         * buffer.C (struct ErtComp): add a fromlayout bool to check
7462         if we're inside a LaTeX layout.
7463         (isErtInset): new helper function.
7464         (insertErtContents): look for other ert insets before this one
7465         and insert the contents there, so that we don't have subsequent
7466         ERT insets with nothing between them. This way we create only one
7467         inset with multiple paragraphs. Also check if we don't insert only
7468         spaces ' ' as they are ignored anyway afterwards in the .tex file
7469         so if we have only spaces we will ignore this latex part in the
7470         new file.
7471         (parseSingleLyXformat2Token \\layout): better compatibility when
7472         reading layout-latex stuff.
7473         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7474         language tag.
7475         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7476         stuff after reading the inset only get the information back from
7477         the stack.
7478
7479 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7480
7481         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7482
7483         * LaTeXFeatures.C (getBabelOptions): New method.
7484
7485 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7486
7487         * BufferView_pimpl.C (Dispatch): work around missing argument for
7488         'layout'
7489
7490 2002-05-08  Juergen Vigna  <jug@sad.it>
7491
7492         * text.C (leftMargin): handle paragraph leftindent.
7493
7494         * paragraph.C (writeFile): write the new \\leftindent tag.
7495         (validate): handle leftindent code.
7496         (TeXEnvironment): handle paragraphleftindent code again.
7497
7498         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7499
7500         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7501         for paragrap_extra indent code and new token \\leftindent.
7502         (latexParagraphs): handle the leftindent as environment.
7503
7504         * ParameterStruct.h: added leftindent support.
7505
7506         * ParagraphParameters.C (leftIndent): added support functions for
7507         the paragraph left indent.
7508
7509         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7510         more appropriate.
7511
7512 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7513
7514         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7515         inside insetERT.
7516
7517         * text.C (computeBidiTables): No bidi in insetERT.
7518
7519         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7520         in RTL documents.
7521
7522 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7523
7524         * version.C.in: pre 5
7525
7526 2002-05-02  José Matos  <jamatos@fep.up.pt>
7527         * buffer.C (makeDocBookFile): white space changes, add newline to
7528         command styles.
7529         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7530
7531         * tabular.C (docBook): fix typo.
7532
7533 2002-05-03  Juergen Vigna  <jug@sad.it>
7534
7535         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7536         change in LyXText as we can not be sure it was not freed.
7537         (drawOneRow): remove unused code.
7538
7539         * text.C (drawInset): redo the calculation of the need_break_row as
7540         it could have a row which was already freed.
7541         (draw): look at the return value of drawInset and return false if
7542         it also returned false.
7543         (paintRowText): look at the return value of draw and return false if
7544         it also returned false.
7545
7546         * lyxtext.h: added bool return type to drawInset() and draw() so that
7547         if we have a change in the row so that the rowbreak has to be redone
7548         we abort drawing as it will be called again.
7549
7550 2002-05-02  Juergen Vigna  <jug@sad.it>
7551
7552         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7553         a change in the maintext also if we're inside an inset.
7554         (Dispatch): set the cursor again after a break line and after the
7555         screen has been updated as it could be we're in a different row.
7556
7557         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7558         to set the cursor behind the pargraph with > size().
7559         (setCursor): check also for the same paragraph when checking where
7560         to put the cursor if we have a NFR inset.
7561
7562         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7563         parts of layout read further up as it still was in the wrong
7564         position.
7565
7566 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7567
7568         * screen.C (drawFromTo): change sine fullRebreak always return
7569         true.
7570
7571         * buffer.C (parseSingleLyXformat2Token): reindent some
7572
7573         * BufferView_pimpl.C (update): change since fullRebreak always
7574         return true.
7575         (Dispatch): git rid of the last hardcoded "Standard"s.
7576
7577 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7578
7579         * text2.[Ch] (fullRebreak): make it return void now that we always
7580         returned true.
7581
7582 2002-04-30  Juergen Vigna  <jug@sad.it>
7583
7584         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7585         ert compatibility check for "latex" layout.
7586
7587 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7588
7589         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7590         minipages: use col% instead of p%, and also use the current font.
7591         (makeLaTeXFile): Fix use babel condition.
7592         (parseSingleLyXformat2Token): Correct font when reading old floats.
7593
7594 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7595
7596         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7597         inserting list of floats.
7598
7599 2002-04-25  Herbert Voss  <voss@lyx.org>
7600
7601         * MenuBackend.C (expand): don't add the graphics extensions to the
7602         export menu
7603
7604 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7605
7606         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7607         non-existing layout, do not complain if it was the default layout
7608         of the original class (bug #342)
7609
7610 2002-04-24  Juergen Vigna  <jug@sad.it>
7611
7612         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7613         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7614
7615 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7616
7617         * buffer.C (getBibkeyList): If using \bibliography, return the
7618         option field with the reference itself. Enables us to provide natbib
7619         support when using \bibliography.
7620
7621 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7622
7623         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7624
7625         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7626         natbib is provided by the LaTeX class.
7627
7628 2002-04-23  Juergen Vigna  <jug@sad.it>
7629
7630         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7631         Wakeup functions.
7632
7633         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7634
7635 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7636
7637         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7638
7639         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7640         ensuremath around textordmasculine, textordfeminine and
7641         textdegree.
7642
7643 2002-04-19  Juergen Vigna  <jug@sad.it>
7644
7645         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7646         reinitializing the buffer otherwise row-dimensions may be wrong.
7647         (update): reset also the selection cursors if they do exits otherwise
7648         their x/y positions may be wrong.
7649
7650         * text2.C (cursorDown): don't enter the inset if we came from a row
7651         above and are one row over the inset.
7652
7653         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7654         really leaving an inset.
7655
7656 2002-04-18  Juergen Vigna  <jug@sad.it>
7657
7658         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7659         of the selected paragraph does not have the selected layout also if
7660         the last one had!
7661
7662         * text2.C (setLayout): fixed bug which did not change last selected
7663         paragraph.
7664
7665         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7666         changed the read and substituted \\end_float with \\end_inset!
7667
7668         * BufferView_pimpl.C (cursorPrevious):
7669         (cursorNext): fixed to make it work with rows heigher than the work
7670         area without moving the cursor only the draw of the row.
7671         (workAreaMotionNotify): fix jumping over high rows.
7672
7673 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7674
7675         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7676         Ressler.
7677
7678 2002-04-16  Juergen Vigna  <jug@sad.it>
7679
7680         * text2.C (setCursor): set also the irow().
7681         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7682         (cursorUp):
7683         (cursorDown): support for locking an inset if the x_fix value goes
7684         inside it. That way I can transverse insets too with cursor up/down.
7685
7686         * lyxrow.h: added irow helper function same as other (i) functions.
7687
7688         * BufferView_pimpl.C (cursorPrevious):
7689         (cursorNext): fixed for insets!
7690
7691 2002-04-15  Juergen Vigna  <jug@sad.it>
7692
7693         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7694         position otherwise it is wrong in some cases.
7695
7696         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7697         inside the inset before the call.
7698
7699 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7700
7701         * buffer.[Ch] (getBibkeyList): make it const.
7702
7703 2002-04-12  Juergen Vigna  <jug@sad.it>
7704
7705         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7706
7707         * text2.C (getCursorX): new helper function
7708         (setCursor): compute also ix_
7709         (setCursorFromCoordinates): set also ix.
7710
7711         * lyxcursor.h: added ix_ and helper functions.
7712
7713         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7714
7715         * buffer.C (insertStringAsLines): dont break paragraph if the this
7716         paragraph is inside an inset which does not permit it!
7717
7718         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7719         also with no chars on this paragraph.
7720         (paintRowText): only paint stuff if it's inside the workarea!
7721
7722         * paragraph.C (breakParagraph): honor keepempty flag and break the
7723         paragraph always below not above.
7724
7725         * BufferView2.C (unlockInset): update the paragraph layout on inset
7726         unlock as we changed paragraph in such a case.
7727
7728         * lyxfind.C (LyXFind): clear the former selection if not found!
7729
7730         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7731         again called in insertChar().
7732
7733         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7734         an inset which uses the whole row!
7735         (rightMargin): ditto.
7736         (insertChar): force a rebreak if we inserted an inset!
7737
7738 2002-03-28  Herbert Voss  <voss@lyx.org>
7739
7740         * lyxlength.[Ch]: add inBP() to get the right PS-point
7741         units (BigPoint). With inPixels we have rounding errors
7742
7743 2002-04-11  Juergen Vigna  <jug@sad.it>
7744
7745         * text2.C (setCursorFromCoordinates): set iy to the right value.
7746         (setCursor): add check if row->previous exists!
7747
7748         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7749         an old float_type as this was the case in the old code!
7750
7751         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7752
7753         * BufferView2.C (showLockedInsetCursor): use iy
7754         (fitLockedInsetCursor): ditto
7755
7756         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7757         locked insets as there we have the right value now.
7758
7759         * lyxcursor.C: added iy_ variable and iy functions to set to the
7760         baseline of cursor-y of the locked inset.
7761
7762         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7763         (setCursor): fixed for insets which need a full row.
7764
7765         * text.C (rowLastPrintable): don't ignore the last space when before
7766         an inset which needs a full row.
7767         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7768         as last character of a row when before a inset which needs a full row.
7769
7770 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7771
7772         * version.C.in: update date
7773
7774         * text2.C (fullRebreak): try to always return true and see what
7775         happens...
7776
7777 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7778
7779         * MenuBackend.C (expand): use Floating::listName
7780
7781         * FloatList.C (FloatList): add listName argument to the built-in
7782         floats
7783
7784         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7785         text associated with the float.
7786
7787 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7788
7789         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7790
7791 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7792
7793         * ShareContainer.h: add a couple of missing typenames.
7794
7795 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7796
7797         * lyxrc.C (getDescription): use _() correctly rather than N_().
7798
7799 2002-03-28  Herbert Voss  <voss@lyx.org>
7800
7801         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7802         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7803
7804 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7805
7806         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7807         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7808
7809 2002-03-29  Juergen Vigna  <jug@sad.it>
7810
7811         * lyxfunc.C (dispatch): add a missing fitCursor call.
7812
7813         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7814         it was scrolled by a cursor move, so return the bool status.
7815
7816         * BufferView.C (fitCursor): return the bool flag also to the outside
7817         world as this is needed.
7818
7819         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7820
7821         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7822         call the edit() as it is not needed (and wrong) IMO.
7823         (workAreaButtonPress): set the screen_first variable before evt.
7824         unlock the inset as this may change screen_first and then we have
7825         a wrong y position for the click!
7826
7827 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7828
7829         * MenuBackend.C (expand): another translation that I missed
7830
7831 2002-03-28  Juergen Vigna  <jug@sad.it>
7832
7833         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7834
7835         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7836
7837 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7840
7841         * MenuBackend.C (expand): fix export/view/update when there is no
7842         document open.
7843
7844 2002-03-27  Herbert Voss  <voss@lyx.org>
7845
7846         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7847         and text%
7848
7849 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7850
7851         * bufferview_funcs.C (currentState): only show paragraph number
7852         for is DEVEL_VERSION is set.
7853
7854         * lyxfunc.C (dispatch): put warning in INFO channel
7855
7856         * MenuBackend.C (expand): translate the name of floats
7857
7858         * FloatList.C (FloatList): mark the float names for translation
7859
7860         * converter.C (convert): use LibScriptSearch
7861
7862 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7863
7864         * MenuBackend.C (defaults): fix default menu (we might as well get
7865         rid of it...)
7866
7867 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7868
7869         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7870         directory.
7871
7872 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7873
7874         * lyxvc.C: reorder includes.
7875
7876 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7877
7878         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7879           properly
7880
7881 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * CutAndPaste.C: change layouts earlier on paste
7884           to avoid crashing when calling getFont()
7885
7886 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7887
7888         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7889         irritating #error.
7890
7891 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7892
7893         * WorkArea.C: remove 'Pending' debug message.
7894
7895         * most files: ws cleanup
7896
7897         * buffer.[Ch]: ws changes
7898
7899         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7900
7901 2002-03-21  Juergen Vigna  <jug@sad.it>
7902
7903         * tabular.C (SetMultiColumn): collapse also the contents of the
7904         cells and set the last border right. Added a Buffer const * param.
7905
7906 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7907
7908         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7909         linking or not.
7910
7911 2002-03-19  Juergen Vigna  <jug@sad.it>
7912
7913         * text2.C (clearSelection): reset also xsel_cache.
7914
7915         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7916         where it needs to be called (John tells us to do so too :)
7917         (selectionLost): reset sel_cache.
7918
7919         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7920
7921 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7922
7923         * text2.C (setCursorIntern): put debuging code in INSETS channel
7924
7925 2002-03-19  André Pönitz <poenitz@gmx.net>
7926
7927         * lyxfunc.C: tiny whitespace change
7928
7929 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7930
7931         * ToolbarDefaults.C (init):
7932         * LyXAction.C (init):
7933         * commandtags.h:
7934         * BufferView_pimpl.C (Dispatch):
7935         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7936
7937 2002-03-19  Allan Rae  <rae@lyx.org>
7938
7939         * exporter.C (Export): removeAutoInsets before doing anything else.
7940         While I've just introduced a dependency on BufferView this really is
7941         the best place to clean the buffer otherwise you need to cleanup in
7942         a dozen places before calling export or cleanup in a dozen functions
7943         that export calls.
7944
7945         * converter.C (runLaTeX):
7946         (scanLog): Better handling of removeAutoInsets and screen updates.
7947
7948         * lyxfunc.C (dispatch): small whitespace changes
7949
7950 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7951
7952         * WorkArea.C (C_WorkAreaEvent): return a value.
7953         (event_cb): return 1 if we handled the event, 0 otherwise.
7954
7955         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7956
7957 2002-03-18  Juergen Vigna  <jug@sad.it>
7958
7959         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7960         (GetAdditionalWidth): ditto.
7961         (RightLine): ditto.
7962         (LeftLine): ditto.
7963
7964         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7965         inset if we're there actually (probably not used right now but this
7966         is the direction to go for unifying code).
7967         (paste): disable code to clear the selection.
7968
7969         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7970         inside an InsetText and move the check further up as it is in the
7971         wrong place.
7972
7973         * text2.C (pasteSelection): set a selection over the pasted text.
7974
7975 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7976
7977         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7978         and libgraphics to build on Cygwin.
7979
7980 2002-03-15  Juergen Vigna  <jug@sad.it>
7981
7982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7983         inserting an Inset into the paragraph. I know this is not the best
7984         fix but we already use current_view in CutAndPaste so we will remove
7985         all of it's using at the same time.
7986
7987         * buffer.C (sgmlError): deactivated function till it is rewritten in
7988         the right mode, now it can create problems.
7989
7990         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7991         before accessing it.
7992
7993 2002-03-14  Juergen Vigna  <jug@sad.it>
7994
7995         * undo_funcs.C (textHandleUndo): do the right thing when updating
7996         the inset after the undo/redo.
7997
7998         * text2.C (setCursor): just some testcode for #44 not ready yet.
7999
8000         * undo_funcs.C (textHandleUndo): set the next() and previous()
8001         pointers of the paragraph to 0 before deleting otherwise we have
8002         problems with the Paragraph::[destructor].
8003
8004         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8005         on a paragraph insertion.
8006
8007 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8008
8009         * buffer.C (asciiParagraph): use += operator for char append to
8010         string.
8011
8012         * paragraph.C (getFontSettings): compare >= not just >
8013         (highestFontInRange): ditto
8014         (setFont): ditto
8015
8016 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8017
8018         * paragraph.C: change several algorithm to be more appripriate for
8019         the problem domain. This is lookip in FontList and in the InsetList.
8020
8021 2002-03-13  André Pönitz <poenitz@gmx.net>
8022
8023         * commandtags.h:
8024         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8025
8026 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * commandtags.h:
8029         * LyXAction.C:
8030         * lyxfunc.C:
8031         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8032
8033 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8034
8035         * Painter.C (display): anon helper function, adjust code for this
8036         change.
8037         (pixmap): remove function.
8038
8039         * Painter.h: remove private display variable.
8040
8041         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8042
8043 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8044
8045         * WorkArea.[Ch]: remove figinset_canvas cruft.
8046
8047 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8048
8049         * lyxtextclass.C (operator): add one item cache optimization.
8050
8051         * bufferlist.h: doxy changes
8052
8053         * bufferlist.C: ws changes
8054
8055         * DepTable.[Ch] (ext_exist): place const in the right spot.
8056
8057         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8058         call resizeInsets.
8059         (workAreaExpose): call resizeInsets when the with BufferView changes.
8060         (Dispatch): adjust for protectedBlank removal
8061         (specialChar): call updateInset if the insert went ok.
8062
8063         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8064         specialChar instead.
8065
8066         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8067
8068         * BufferView.h: doxy change
8069
8070         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8071
8072         * lyxtextclass.C (operator[]): remove non-const version
8073         (defaultLayout): remove non-const version
8074
8075 2002-03-12  Juergen Vigna  <jug@sad.it>
8076
8077         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8078         did resize the LyXText too.
8079
8080         * buffer.C (readLyXformat2): set layout information on newly allocated
8081         paragraphs.
8082
8083         * tabular.C (OldFormatRead): set layout information on the paragraph.
8084
8085 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8086
8087         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8088
8089 2002-03-11  Juergen Vigna  <jug@sad.it>
8090
8091         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8092         plainly wrong.
8093         (resizeCurrentBuffer): force also the insets to resize themselfes.
8094         (moveCursorUpdate): fixed up for InsetText.
8095
8096 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8097
8098         * commandtags.h:
8099         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8100         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8101         value of Dialogs::tooltipsEnabled().
8102         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8103
8104 2002-03-08  Juergen Vigna  <jug@sad.it>
8105
8106         * BufferView_pimpl.C (updateInset): update inset inside inset also
8107         if it isn't inside theLockingInset().
8108
8109 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8110
8111         * buffer.C (asciiParagraph): redo some of the word and line length
8112         handling.
8113         (getLists): look for Caption instead of caption.
8114
8115 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * buffer.C (Buffer): initialize niceFile to true
8118         (makeLaTeXFile):
8119         (makeLinuxDocFile):
8120         (makeDocBookFile): make sure niceFile is true on exit
8121
8122 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8123
8124         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8125
8126 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8127
8128         * LyXSendto.C: remove.
8129         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8130         * lyx_gui.C: remove now-redundant comment.
8131         * ColorHandler.h: remove forward declaration of class WorkArea.
8132         * lyxfunc.C: remove #include "WorkArea.h".
8133
8134 2002-03-07  Juergen Vigna  <jug@sad.it>
8135
8136         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8137         got moved away with the DEPM and also set the inset_owner always
8138         right which before could have been omitted.
8139
8140 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8141
8142         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8143         wanted layout is not found.
8144
8145 2002-03-07  Juergen Vigna  <jug@sad.it>
8146
8147         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8148
8149 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8150
8151         * paragraph.C (breakParagraph): use default layout not layout of
8152         prev paragraph.
8153         (Paragraph): clear ParagraphParameters.
8154
8155 2002-03-06  Juergen Vigna  <jug@sad.it>
8156
8157         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8158         otherwise it would not be a valid lenght. Fixed a special case in
8159         the minipage compatibility read where we end the document with a
8160         minipage.
8161
8162         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8163         was set as it could be 0 for InsetTexts first entry.
8164
8165 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8166
8167         * paragraph.C (writeFile): if layout is empty write out
8168         defaultLayoutName().
8169
8170         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8171         file without named layout we set layout to defaultLayoutName().
8172
8173 2002-03-06  Juergen Vigna  <jug@sad.it>
8174
8175         * CutAndPaste.C (copySelection): set layout for new paragraph.
8176
8177         * text.C (prepareToPrint): leave ERT inset left aligned
8178         (leftMargin): don't indent paragraphs inside ERT insets
8179
8180 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8181
8182         * paragraph.C (breakParagraph): dont call clear do the work manually
8183
8184         * paragraph.[Ch] (clear): remove function
8185
8186 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8187
8188         * paragraph.C (Paragraph): dont call clear, the work has already
8189         been done.
8190
8191         * lyxtextclass.C (operator): assert if n is empty
8192
8193         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8194         work manually instead.
8195
8196 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * BufferView_pimpl.C: protect selectionLost against text == 0
8199
8200 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8201
8202         * text.C (breakParagraph): fix a setting layout to '0' problem.
8203
8204 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8205
8206         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8207         final location of file, for the included files, and graphics.
8208
8209 2002-03-05  Juergen Vigna  <jug@sad.it>
8210
8211         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8212
8213 2002-03-04  Juergen Vigna  <jug@sad.it>
8214
8215         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8216
8217         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8218         last column of multicolumn cells.
8219         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8220
8221 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8222
8223         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8224         file if it doesn't go to a temporary file.
8225
8226         * buffer.C (sgmlOpenTag):
8227         (sgmlCloseTag):  remove extra newline insertion.
8228
8229 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8230
8231         * text.C (getRowNearY): comment out debug msg
8232
8233 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8234
8235         * text2.C: first -> first_y
8236
8237         * text.C (getRowNearY): add some attemts at a possible
8238         optimization, not working.
8239
8240         * tabular.[Ch]: add BufferParams to several function so that newly
8241         created paragraph can be initialized to he default layotu for the
8242         buffers textclass.
8243
8244         * tabular-old.C (ReadOld): add buf->params to call of Init
8245
8246         * screen.C: rename text->first to text->first_y
8247
8248         * paragraph.C (breakParagraph): always set layout in the broken
8249         paragraph
8250
8251         * lyxtextclass.C (Read): remove lowercase
8252         (hasLayout): ditto
8253         (operator): ditto
8254         (delete_layout): ditto
8255
8256         * lyxtext.h: rename first -> first_y
8257
8258         * lyxlayout.C (Read): remove lowercase
8259         (name): ditto
8260         (setName): ditto
8261         (obsoleted_by): ditto
8262
8263         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8264
8265         * buffer.C (insertErtContents): add params are to InsetERT
8266         (parseSingleLyXformat2Token): add code to check if a paragraphs
8267         layout really exist.
8268         (parseSingleLyXformat2Token): add params to several inset
8269         constructors
8270         (asciiParagraph): remove lowercase, do the layout comparisons with
8271         no_case
8272
8273         * BufferView_pimpl.C (cursorNext): first -> first_y
8274         (resizeCurrentBuffer): first -> first_y
8275         (updateScrollbar): first -> first_y
8276         (scrollCB): first -> first_y
8277         (workAreaMotionNotify): first -> first_y
8278         (workAreaButtonPress): first -> first_y
8279         (checkInsetHit): first -> first_y
8280         (cursorPrevious): first -> first_y
8281         (cursorNext): first -> first_y
8282         (Dispatch): add buffer_->params to severl inset contructors
8283
8284 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8285
8286         * lyxlayout.C (Read): remove some debug info that I forgot.
8287
8288         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8289         clean up the code slightly.
8290         (makeLinuxDocFile): ditto
8291         (makeDocBookFile): ditto
8292
8293         * text2.C: layout as string
8294
8295         * text.C: layout as string
8296
8297         * paragraph_pimpl.C: layout as string
8298
8299         * paragraph.[Ch]: layout as string
8300
8301         * lyxtextclasslist.[Ch]: layout as string
8302
8303         * lyxtextclass.[Ch]: layout as string
8304
8305         * lyxtext.h: layout as string
8306
8307         * lyxlayout.[Ch]: layout as string
8308
8309         * lyx_cb.C: layout as string
8310
8311         * bufferview_funcs.C: layout as string
8312
8313         * bufferparams.C: layout as string
8314
8315         * buffer.C: layout as string
8316
8317         * LyXView.[Ch]: layout as string
8318
8319         * LaTeXFeatures.[Ch]: layout as string
8320
8321         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8322
8323         * BufferView_pimpl.C: change current_layout to string, remove
8324         lyx::layout_type.
8325         (Dispatch):
8326         (smartQuote):
8327         (insertInset):
8328         (workAreaButtonRelease): layout as string
8329
8330         * BufferView2.C (unlockInset): adjust
8331
8332         * vspace.C (asLatexCommand): use an explict temp variable.
8333
8334 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * Makefile.am: use FRONTEND_*
8337
8338 2002-03-01  Juergen Vigna  <jug@sad.it>
8339
8340         * tabular.C (SetWidthOfMulticolCell): changed to something better
8341         I hope but still work in progress.
8342         (recalculateMulticolumnsOfColumn): renamed function from
8343         recalculateMulticolCells as it is more appropriate now.
8344         (SetWidthOfCell): calculate multicols better.
8345
8346 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8349
8350         * lyxfunc.C (processKeySym): print sequence also if it is
8351         `deleted' (complete)
8352
8353         * kbsequence.C (print): print sequence even if it is deleted
8354         (complete would be a better word, actually).
8355
8356         * lyxfunc.C (dispatch): print complete options after a prefix key
8357
8358         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8359
8360 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8361
8362         * text2.C (setCharFont): eliminate setCharFont code duplication.
8363
8364 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8365
8366         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8367         LFUN_TABULAR_FEATURE (bug #177)
8368
8369 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8370
8371         * Makefile.am: remove figure.h
8372
8373 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8374
8375         * Bufferview_pimpl.C:
8376         * CutAndPasteC:
8377         * LaTeX.C:
8378         * LyXSendto.C:
8379         * buffer.C:
8380         * bufferlist.C:
8381         * converter.C:
8382         * language.C:
8383         * lyxfunc.C:
8384         * lyxvc.C:
8385         * paragraph.C:
8386         * text.C:
8387         * text2.C: remove #include "lyx_gui_misc.h".
8388
8389         * LaTeX.C: added #include <cstdio>
8390
8391 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8392
8393         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8394         that the paragraph following this one can have.
8395
8396         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8397
8398         * vspace.C (asLatexCommand): fix bogus gcc warning
8399
8400         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8401
8402 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8403
8404         * text2.C (setLayout): get rid of redundant code
8405
8406 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8407
8408         * text2.C (incDepth): make sure depth cannot be increased beyond
8409         reasonable values.
8410
8411 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8412
8413         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8414         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8415
8416         * PainterBase.h (image):
8417         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8418         a LyXImage const *.
8419
8420 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8421
8422         * BufferView.C:
8423         * BufferView.h:
8424         * BufferView_pimpl.C:
8425         * BufferView_pimpl.h:
8426         * LaTeXFeatures.C:
8427         * LyXAction.C:
8428         * LyXView.C:
8429         * Makefile.am:
8430         * UpdateList.h:
8431         * UpdateList.C:
8432         * buffer.C:
8433         * figure.h:
8434         * figureForm.C:
8435         * figureForm.h:
8436         * figure_form.C:
8437         * figure_form.h:
8438         * lyx_cb.C:
8439         * lyx_gui.C:
8440         * lyx_gui_misc.C:
8441         * lyxfunc.C:
8442         * sp_base.h:
8443         * sp_ispell.h:
8444         * sp_pspell.h:
8445         * sp_spell.C: remove fig inset, and the crap house of
8446           cards that follows it
8447
8448 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * Makefile.am:
8451         * lyxserver.C:
8452         * os2_defines.h:
8453         * os2_errortable.h:
8454         * nt_defines.h: move .h into support/
8455
8456         * vms_defines.h: remove
8457
8458         * WorkArea.C: add space in debug output
8459
8460         * text2.C:
8461         * paragraph.C:
8462         * buffer.C: add WITH_WARNINGS
8463
8464         * vc-backend.h:
8465         * vc-backend.C:
8466         * bufferlist.C: s/retrive/retrieve/, add docs
8467
8468         * vspace.h:
8469         * vspace.C:
8470         * kbmap.h:
8471         * lyxlength.h:
8472         * lyxgluelength.h:
8473         * length_common.h:
8474         * chset.h:
8475         * chset.C: add docs
8476
8477         * lyxgui.C: add ID to X error handler
8478
8479         * lyxtestclass.c: fix typo
8480
8481 2002-02-26  Juergen Vigna  <jug@sad.it>
8482
8483         * tabular_funcs.C (write_attribute): changed so that some default
8484         attributes are not written at all.
8485         (getTokenValue): set default values before trying to read the
8486         value so we have the return value always set as default if we don't
8487         find the token we search for.
8488
8489         * tabular.C (Write): write bools as bools not as strings!
8490
8491 2002-02-22  Juergen Vigna  <jug@sad.it>
8492
8493         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8494         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8495
8496         * text.C (leftMargin): don't add an indent for paragraphs inside
8497         tabular cells (fix #208).
8498
8499 2002-02-21  José Matos  <jamatos@fep.up.pt>
8500
8501         * tabular.C (docBook): fixed support for long tables.
8502
8503 2002-02-20  Juergen Vigna  <jug@sad.it>
8504
8505         * text2.C (getFont): get the drawing font of the Inset if this
8506         paragraph is inside an inset (only important for InsetERT for now).
8507
8508         * buffer.C (insertErtContents): use new lanugage params in ERT
8509         constructor.
8510
8511         * CutAndPaste.C: commenting out seemingly uneeded code.
8512
8513 2002-02-19  Allan Rae  <rae@lyx.org>
8514
8515         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8516         Iterators might be simple to use but they also get invalidated.
8517         (removeAutoInsets): renamed saved cursor tracking variables and added
8518         some comments to clarify what everything does.
8519
8520 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8521
8522         * Chktex.C:
8523         * LaTeX.C:
8524         * LyXSendto.C:
8525         * converter.C:
8526         * lyx_cb.C:
8527         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8528         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8529
8530         * lyxfunc.C:
8531         * vc-backend.h: remove #include "support/syscall.h"
8532
8533         * LaTeX.C:
8534         * LyXSendto.C:
8535         * converter.C: rearrange #includes in Lars' approved fashion.
8536
8537         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8538         forward declare class Timeout in the header file.
8539
8540         * XFormsView.C: changes due to the above.
8541
8542         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8543         similar to LyXView.
8544
8545         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8546         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8547
8548 2002-02-18  José Matos  <jamatos@fep.up.pt>
8549
8550         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8551         insets contents.
8552
8553 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8554
8555         * a lot of small ws changes
8556         * add a lot of using std::XXX
8557         * use std construcs some places where approp.
8558         * use some exisint stuff from lyxfunctional where approp.
8559         * Make file changes to use partial linking (lets test this now...)
8560
8561 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8562
8563         * Chktex.C:
8564         * buffer.C:
8565         remove #include "support/syscontr.h" as it's redundant. Always has been.
8566
8567         * Chktex.C:
8568         * LaTeX.C:
8569         * LyXSendto.C:
8570         * converter.C:
8571         * lyx_cb.C:
8572         * vc-backend.C:
8573         change Systemcalls::System to Systemcalls::Wait and
8574         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8575         No change of functionality, just reflects the stripped down Systemcalls
8576         class.
8577
8578 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8579
8580         * debug.[Ch]: add a GRAPHICS type to the enum.
8581
8582 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8583
8584         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8585
8586         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8587         there is an inset.
8588
8589 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8590
8591         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8592         match the changes below.
8593
8594         * text2.C (toggleInset): if there is not editable inset at cursor
8595         position, try to see if cursor is _inside_ a collapsable inset
8596         and close it.
8597
8598 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8601         document menu has a nice checkbox
8602
8603 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8604
8605         * lyxlength.C (asLatexString): change PW to output as percent of
8606         \textwidth.
8607
8608         * lengthcommon.C: change '%' to 't%'
8609
8610         * lyxfunc.C (dispatch): a few comments from Martin
8611
8612 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * WorkArea.h:
8615         * WorkArea.C:
8616         * BufferView_pimpl.h:
8617         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8618           the X selection.
8619
8620 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * vspace.C (inPixels): fix compiler warning
8623
8624 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8625
8626         * lyxfunc.C (getStatus): fix status message for disabled commands.
8627
8628 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8629
8630         * BufferView_pimpl.C: fix crash on close buffer
8631         during selection (#227)
8632
8633 2002-01-27  Herbert Voss  <voss@lyx.org>
8634
8635         * buffer.C: link old Figure to new graphic inset
8636
8637 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8638
8639         * FontLoader.C (getFontinfo): Change the latex font names in order
8640         to match the names of type1inst.
8641
8642 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8643
8644         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8645
8646         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8647         (extchanged): ditto
8648         (ext_exist): ditto
8649         (remove_files_with_extension): ditto
8650         (remove_file): ditto
8651         (write): ditto
8652
8653         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8654         document is smaller than the work area height. Do not initialize
8655         static variables to 0.
8656
8657 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8658
8659         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8660
8661         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8662         LFUN_LAYOUT_PARAGRAPHS.
8663
8664         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8665         tabular. It is possible to provide a possible cell, which will
8666         typically be the actcell from the corresponding insettabular
8667
8668         * lyxfunc.C (getStatus): small cleanup; disable
8669         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8670         true
8671
8672 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8673
8674         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8675
8676         * paragraph.C (startTeXParParams):
8677         (endTeXParParams): new methods. The LaTeX code to
8678         start/end paragraph formatting
8679         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8680         empty (fixes bug #200)
8681
8682         * vspace.C (inPixels): adapt to the change below
8683         (inPixels): [later] more cleanups (remove unused variables)
8684
8685         * lyxlength.C (inPixels): change to use a width and a height as
8686         parameter.
8687
8688 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8689
8690         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8691         Replaced with \paperwidth
8692
8693         * DepTable.C (insert): add std:: qualifier
8694
8695 2002-01-18  Allan Rae  <rae@lyx.org>
8696
8697         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8698         updated also?
8699
8700         * text.C (drawInset): Turned out I didn't know enough about how
8701         rebreaking worked.  This fixes most of the redraw problems.  I see
8702         an occasional cursor trail when a line is broken now and the cursor
8703         placement can seem out by a few pixels also after a rebreak.
8704
8705 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * buffer.C (parseSingleLyXformat2Token): update because minipage
8708         width is now a LyXLength
8709
8710         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8711
8712         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8713         math insets
8714
8715 2002-01-17  Juergen Vigna  <jug@sad.it>
8716
8717         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8718
8719         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8720         is set correctly and the inset is updated correctly.
8721
8722 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8725         the beginning of the loop.
8726
8727 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8728
8729         * lyxrc.C: improve help for use_scalable_fonts
8730
8731 2002-01-17  Allan Rae  <rae@lyx.org>
8732
8733         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8734
8735 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8736
8737         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8738         make sure to set their inset_owner to the right value (bug #171)
8739
8740 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8741
8742         * DepTable.h
8743         * DepTable.C: Implement mtime checking to reduce time spent doing
8744         CRCs.
8745
8746 2002-01-16  Juergen Vigna  <jug@sad.it>
8747
8748         * tabular.C (GetAdditionalHeight): one of error fixed.
8749
8750         * lyxrc.C (output): small fix in writing use_pspell.
8751
8752 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8753
8754         * sp_base.h: #include LString.h
8755
8756 2002-01-16  Allan Rae  <rae@lyx.org>
8757
8758         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8759         Can someone check this please?
8760
8761         * text.C (drawInset): It was possible that p.row would be removed by
8762         breakAgainOneRow upsetting a few other settings.  There may be another
8763         small tweak possible by setting need_break_row = 0 when p.row has been
8764         removed but I don't know enough about the logic here.
8765
8766 2002-01-15  Allan Rae  <rae@lyx.org>
8767
8768         * text.C (insertChar): removed conditional truism.
8769
8770         * BufferView2.C (removeAutoInsets): More tweaks.
8771         cur_par_prev could be a stray pointer.  Check for trailing empty line
8772         in case last line was cur_par and only had an error inset on it.
8773
8774 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8775
8776         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8777         absolute
8778
8779         * vc-backend.C (most methods):
8780         * exporter.C (Export):
8781         * converter.C (convert):
8782         (runLaTeX):
8783         * LyXSendto.C (SendtoApplyCB):
8784         * lyxfunc.C (dispatch):
8785         (menuNew):
8786         (open):
8787         (doImport):
8788         * lyx_cb.C (AutoSave):
8789         (InsertAsciiFile):
8790         * BufferView_pimpl.C (MenuInsertLyXFile):
8791         * buffer.C (runChktex): use Buffer::filePath().
8792
8793         * buffer.h: rename filename to filename_; rename filepath to
8794         filepath_ and make it private
8795         (filePath): new method
8796
8797         * buffer.C (writeFile): use fileName()
8798         (getLatexName):
8799
8800         * lyx_main.C (init): fix starting  of LyX when the binary is a
8801         link from so,ewhere else.
8802
8803         * minibuffer.C: include <cctype> for isprint
8804
8805 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8806
8807         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8808         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8809         name clash with InsetCollapsable's width function.
8810
8811 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8812
8813         * lastfiles.C: include <iterator>
8814
8815 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8816
8817         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8818         std::count.
8819
8820         * buffer.C (makeLaTeXFile): ditto.
8821         Also make loop operation more transparent.
8822
8823 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8824
8825         * ToolbarDefaults.C: remove trailing comma closing namespace.
8826
8827         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8828
8829         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8830         as in WorkArea.
8831
8832         * trans.C (Load): comment out unused variable, allowed.
8833
8834 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8835
8836         * minibuffer.[Ch] (append_char): new method to recieve input from the
8837         drop-down completion browser. If a key was pressed, then recieve this
8838         char and append it to the existing string.
8839         (peek_event): modify the positioning data passed to the completion
8840         browser so that it can be placed above the minibuffer rather than below.
8841 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8842
8843         * LyXAction.C (init): alloe error-next for readonly documents.
8844
8845         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8846         count.
8847
8848 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8849
8850         * bufferlist.C (readFile): create the buffer _after_ checking that
8851         the file exists.
8852
8853         * lyxfunc.C (verboseDispatch): fix handling of arguments
8854
8855         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8856
8857         * lyxrc.C: use string::erase() instead of initializing to "".
8858
8859
8860 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8861
8862         * BufferView_pimpl.h:
8863         * BufferView_pimpl.C:
8864         * WorkArea.h:
8865         * WorkArea.C:
8866         * text2.C: tell X when we have made a selection for copying
8867
8868 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8869
8870         * BufferView_pimpl.C (MenuInsertLyXFile):
8871         * lyxfunc.C (menuNew):
8872         (open):
8873         (doImport): add shortcuts to directory buttons
8874
8875         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8876         open a float)
8877
8878         * lyxfunc.C (setStatusMessage):
8879         (getStatusMessage): new methods
8880         (getStatus):use setStatusMessage instead of setErrorMessage
8881         (dispatch): when function is disabled, set error message here
8882         [instead of in getStatus previously]
8883
8884         * BufferView_pimpl.C (workAreaButtonRelease): update
8885         toolbar/menubar here too.
8886
8887 2002-01-13  Allan Rae  <rae@lyx.org>
8888
8889         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8890         Now seems indestructible.  Remaining task is to audit all other
8891         code affected by deleteEmptyParagraphMechanism.  One small quirk
8892         left is that an empty document with an error in the preamble can
8893         be made to report an error but no error box appears.  I don't know
8894         where it goes.
8895         (removeAutoInsets): Improved comments.
8896
8897 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * Thesaurus.h:
8900         * Thesaurus.C: update for Aiksaurus 0.14
8901
8902 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8903
8904         * text2.C (firstParagraph): removed member function, all uses
8905         replaces with ownerParagraph
8906         (redoParagraphs): here
8907         (updateInset): here
8908         (toggleAppendix): here
8909         * BufferView2.C (insertErrors): here
8910         (setCursorFromRow): here
8911
8912 2002-01-13  Allan Rae  <rae@lyx.org>
8913
8914         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8915         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8916         There is still a way to segfault this although you may have to do this
8917         multiple times: Have an InsetERT with an unknown command in it.
8918         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8919         <down-arrow>, <Enter> again, View->DVI, BANG!
8920
8921         * text2.C (setCursor):
8922         (deleteEmptyParagraphMechanism):
8923         * lyxtext.h (setCursor):
8924         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8925         Making use of the return value may help fix other bugs.
8926
8927 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8930
8931         * LyXView.C (updateMenubar): call MenuBar::update here
8932         (updateToolbar): but not here
8933         (showState): do not update toolbar/menubar
8934
8935         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8936         should need to care about that.
8937
8938         * lyxfunc.C (verboseDispatch): simplify a bit
8939         (getStatus): have a version which takes a pseudoaction, and
8940         another which requires a (kb_action,string).
8941
8942         * LyXAction.C (retrieveActionArg): make it work also when action
8943         is not a pseudo-action.
8944         (getActionName): simplify a bit
8945         (helpText):
8946
8947 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * lyxfunc.C (verboseDispatch): new families of methods with
8950         several ways to specify a command and a bool to indicate whether
8951         the command name and shortcut should be displayed in minibuffer
8952         (eventually, we could extend that to a finer bitmask like
8953         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8954         (dispatch): the pristine dispatch command which just, well,
8955         dispatchs! Note it still sets its result to minibuffer; I'm not
8956         sure we want that.
8957
8958         * lyxfunc.h: remove setHintMessage
8959
8960         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8961
8962 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * BufferView_pimpl.C (specialChar): delete new inset if we have
8965         not been able to insert it.
8966
8967         * kbmap.C: revert to using int instead of kb_action, since all we
8968         are dealing with is pseudo-actions.
8969
8970         * LyXAction.C (searchActionArg): change to return int instead of
8971         kb_action, since the result is a pseudoaction.
8972
8973 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8974
8975         * buffer.C (insertErtContents): Fix (partially) the font bug.
8976
8977 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8978
8979         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8980         as the other one is broken on my machine!
8981
8982 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8983
8984         * commandtags.h:
8985         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8986
8987 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8988
8989         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8990         reflect their actual use. Provide compatibility code for older lyxrc
8991         files.
8992
8993         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8994         FL_NORMAL_STYLE.
8995         change names of popup font variables in line with the changes to lyxrc.C
8996
8997 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8998
8999         * buffer.C (asciiParagraph): avoid outputing a word twice after
9000         an inset.
9001
9002         * lyxrc.C (getDescription): document that document_path and
9003         template_path can be empty.
9004
9005 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9006
9007         * LaTeXFeatures.C (getMacros):
9008         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9009
9010         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9011
9012         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9013         getPackages.
9014         (getPackages): rename feature "floats" to "float". Use an array to
9015         iterate over 'simple' features (i.e. just a \usepackage). Add
9016         handling of "amsmath" (renamed from "amsstyle").
9017
9018 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9019
9020         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9021         features list.
9022
9023 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9024
9025         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9026         FuncStaus::FuncStatus & FuncStaus::some_method().
9027
9028 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9029
9030         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9031         of the func_satus stuff. Edited and massaged in various ways by
9032         JMarc.
9033
9034         * lyxfunc.C (getStatus): use FuncStatus
9035
9036 2002-01-08  Juergen Vigna  <jug@sad.it>
9037
9038         * text.C (nextBreakPoint): use function Inset::isChar().
9039
9040         * paragraph.C (TeXOnePar): use function
9041         Inset::forceDefaultParagraphs.
9042
9043         * buffer.C (latexParagraphs): use function
9044         Inset::forceDefaultParagraphs.
9045
9046 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9047
9048         * lyx_gui.C (init): set the style of the menu popups to
9049         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9050
9051 2002-01-07  Juergen Vigna  <jug@sad.it>
9052
9053         * text.C (setHeightOfRow): small fix
9054         (prepareToPrint): don't look at alignment if we don't have the place
9055         for doing it.
9056
9057 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9058
9059         * box.C: New file. Move the Box methods and functions out of box.h,
9060         following Lars' suggestion.
9061
9062 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9063
9064         * box.h: #include "support/LOstream.h", needed for inlined function.
9065
9066         * lyxtextclass.C:
9067         * lyxtextclasslist.C: added some using std declarations.
9068
9069 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9070
9071         * box.h: make signed dimensions to allow insets wider than
9072           the screen (bug #162)
9073
9074         * BufferView_pimpl.C: add some insetHit debug
9075
9076 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * vc-backend.C: add FIXME
9079
9080 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9081
9082         * lyxfunc.C (getStatus): enable code for showing math font status
9083         in toolbar/menu.
9084
9085 2002-01-07  Juergen Vigna  <jug@sad.it>
9086
9087         * text.C (nextBreakPoint): removed debug output not needed anymore.
9088
9089 2002-01-06  Juergen Vigna  <jug@sad.it>
9090
9091         * text.C (nextBreakPoint): fixed up this function we had this bug
9092         since ever but now hopefully we break row better.
9093         (insertChar): we have to check if an inset is the next char as it
9094         could now happen that a large inset is causing a break.
9095
9096 2002-01-05  Juergen Vigna  <jug@sad.it>
9097
9098         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9099         if it doesn't like to be drawed.
9100
9101 2002-01-04  Juergen Vigna  <jug@sad.it>
9102
9103         * BufferView2.C (lockInset): forgot to set a cursor.
9104
9105         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9106
9107 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9108
9109         * FormMathsPanel.C:
9110         * FormMathsPanel.h
9111         * MathsSymbols.C:
9112         * form_maths_panel.C:
9113         * form_maths_panel.h:
9114         * form_maths_panel.fd: implemented sub- and super- buttons in math
9115         panel.
9116
9117         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9118         (or ^ space) to be used as in TeX (req'd by André).
9119
9120         * lyxfunc.C: Allow ^ and _ again to be used both as
9121         super/subscript (mathed) and as themselves (in text).
9122
9123 2002-01-03  Allan Rae  <rae@lyx.org>
9124
9125         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9126         "LyX" or the filename of the current buffer if it has one.  This is a
9127         modified form of John Levon's patch.
9128
9129         * XFormsView.C (setWindowTitle): also set icon title.
9130
9131         * LyXView.h (setWindowTitle): signature changed.
9132         * XFormsView.h (setWindowTitle): ditto.
9133
9134 2002-01-02  Juergen Vigna  <jug@sad.it>
9135
9136         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9137
9138 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9139
9140         * screen.C (topCursorVisible): introduce a temp var for
9141         text->cursor.row(), handle the case where this row is null. (kindo
9142         hachish)
9143
9144         * text2.C (setCursor): add a couple of asserts.
9145
9146         * paragraph.h (inset_iterator): add -> operator
9147
9148         * paragraph.[Ch] (autoDeleteInsets): remove member function
9149
9150         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9151         cursor pos correctly and handle inset deletion by itself.
9152         (insertErrors): move iterator declaration out of for expression
9153
9154         * lyxtextclass.C: add <algorithm>
9155
9156         * Makefile.am: added the new files to sources, removed layout.C
9157
9158         * layout.C: removed file
9159
9160         * layout.h: remove LYX_DUMMY_LAYOUT
9161
9162         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9163         layout.
9164
9165         * lyxlayout.[Ch]:
9166         * lyxtextclass.[Ch]:
9167         * lyxtextclasslist.[Ch]: new files
9168
9169         * include order changes to a lot of files, also changes because of
9170         the six new files.
9171
9172 2001-12-27  Juergen Vigna  <jug@sad.it>
9173
9174         * buffer.C (asciiParagraph): more fixes.
9175
9176         * tabular.C (ascii): make ascii export support export of only the
9177         data separated by a column-delimiter.
9178         (ascii): better support for ascii export.
9179
9180         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9181
9182 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9183
9184         * tabular_funcs.C: use a "using std::getline" instead of the
9185         previous fix from Angus (necessary for cxx + lyxstring)
9186
9187 2001-12-24  Juergen Vigna  <jug@sad.it>
9188
9189         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9190
9191         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9192         problems. First check a minipage also if we have some ert-contents
9193         (not only on par->size(), second set the right depth of the paragraph
9194         on the relink to the root-paragraph-list!
9195
9196         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9197         which then did not anymore update the main paragraphs on undo/redo!
9198
9199 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9202         code. Support all font-changing funcs (even those which are not in
9203         menu currently). Support for reporting font settings in
9204         mathed (disabled until Andre provides a function on mathed's side).
9205
9206         * func_status.h (toggle): small helper function to set toggle
9207         state on a flag.
9208
9209 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9210
9211         * tabular_funcs.C: getline -> std::getline
9212
9213 2001-12-21  Juergen Vigna  <jug@sad.it>
9214
9215         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9216         accessed and could be 0 (I couldn't generate this but it seems
9217         Michael could!).
9218
9219 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9220
9221         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9222         * tabular_funcs.h: here and include iosfwd
9223
9224 2001-12-20  Juergen Vigna  <jug@sad.it>
9225
9226         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9227         inside inset but undo_par was.
9228
9229 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9230
9231         * Thesaurus.C: always include <config.h> in sources.
9232
9233         * Painter.h:
9234         * lyxlookup.h:
9235         * box.h: do not include <config.h> in header files
9236
9237         * text.C (paintLastRow): remove unused variable
9238
9239         * text.C (transformChar):
9240         (insertChar):
9241         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9242
9243         * Painter.C (text):
9244         * font.C (width): rewrite to use uppercase() instead of
9245         islower/toupper.
9246
9247         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9248
9249 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * lyxfind.C: clean up of find failure position change
9252
9253 2001-12-20  Juergen Vigna  <jug@sad.it>
9254
9255         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9256
9257         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9258         (TeXRow): added to LaTeX a single tabular row.
9259         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9260         (Latex): simplified and finally good LT-h/f support.
9261         (various_functions): just small adaptions for LT-h/f support.
9262
9263         * tabular_funcs.[hC]: added and moved here all not classfunctions
9264         of LyXTabular.
9265
9266 2001-12-19  Juergen Vigna  <jug@sad.it>
9267
9268         * tabular.[Ch]: better support for longtabular options (not finished
9269         yet!)
9270
9271 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9272
9273         * text.C (paintLastRow): use the label font instead of the font of
9274         the last character to compute the size of *_BOX. This makes more
9275         sense and avoids a crash with empty paragraphs.
9276         Use Painter::rectangle to draw EMPTY_BOX.
9277
9278 2001-12-19  Juergen Vigna  <jug@sad.it>
9279
9280         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9281         the paragraphs if the replaced paragraph is not the first one!
9282         Tried to delete not used paragraphs but does not work yet so for
9283         now it's inside #ifdef's and by default off!
9284
9285 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9286
9287         * MenuBackend.C: include "lyx_main.h" instead of declaring
9288         lastfiles (actually was declared as LastFiles* instead of a
9289         scoped_ptr).
9290
9291 2001-12-17  Juergen Vigna  <jug@sad.it>
9292
9293         * tabular.C (AppendColumn): applied John's fix
9294
9295 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9296
9297         * BufferView.h:
9298         * BufferView.C:
9299         * BufferView_pimpl.h:
9300         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9301
9302         * Makefile.am:
9303         * box.h: new start of class for above
9304
9305         * lyxfunc.C: ignore space-only minibuffer dispatches.
9306           Show the command name when it doesn't exist
9307
9308         * minibuffer.C: don't add empty lines to the history
9309
9310         * minibuffer.C: add a space on dropdown completion
9311
9312 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * text.C: fix line above/below drawing in insets
9315
9316 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9317
9318         * lyxlength.C (LyXLength): Initialize private variables.
9319
9320 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9321
9322         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9323         when inserting error insets.
9324
9325 2001-12-13  Juergen Vigna  <jug@sad.it>
9326
9327         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9328         actually sometimes the before-paragraph.
9329         (setUndo): don't clear the redostack if we're not actually undoing!
9330
9331 2001-12-06  Juergen Vigna  <jug@sad.it>
9332
9333         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9334         and fixed redoing of main paragraph, so we can use it now ;)
9335
9336         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9337
9338 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9339
9340         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9341         Juergen's request
9342
9343 2001-12-13  André Pönitz <poenitz@gmx.net>
9344
9345         * undostack.[Ch]:
9346         * undo_func.C: minor cleanup
9347
9348 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9351         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9352         font in urw-fonts package which is marked as -urw-fontspecific and
9353         does not work (incidentally, changing the encoding in the
9354         fonts.dir of this package to -adobe-fontspecific fixes the
9355         problem).
9356
9357         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9358         is a crash when undoing first paragraph (Juergen, please take a
9359         look). THis does not mean the undo fix is wrong, just that it
9360         uncovers problems.
9361
9362         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9363         the (Paragraph*) version when needed instead of duplicating the
9364         code.
9365
9366         * text.C (workWidth): use Inset::parOwner to find out where the
9367         inset has been inserted. This is a huge performance gain for large
9368         documents with lots of insets. If Inset::parOwner is not set, fall
9369         back on the brute force method
9370
9371         * paragraph_pimpl.C (insertInset):
9372         * paragraph.C (Paragraph):
9373         (cutIntoMinibuffer): set parOwner of insets when
9374         inserting/removing them
9375
9376         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9377
9378 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9379
9380         * commandtags.h:
9381         * LyXAction.C:
9382         * lyx_main.C:
9383         * lyxfunc.C:
9384         * mathed/formulabase.C:
9385         * mathed/math_cursor.[Ch]:
9386         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9387
9388
9389 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * lyxlength.[Ch] (operator!=): new function
9392
9393 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9394
9395         * text.C (workWidth): use Inset::parOwner to find out where the
9396         inset has been inserted. This is a huge performance gain for large
9397         documents with lots of insets. If Inset::parOwner is not set, fall
9398         back on the brute force method
9399
9400         * paragraph_pimpl.C (insertInset):
9401         * paragraph.C (Paragraph):
9402         (cutIntoMinibuffer): set parOwner of insets when
9403         inserting/removing them
9404
9405         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9406
9407 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * tabular-old.C (getTokenValue):
9410         * tabular.C (getTokenValue):
9411         (write_attribute): new versions for LyXLength
9412         (everywhere): adjust the use of widths
9413
9414         * tabular.h: change the type of widths from string to LyXLength
9415
9416 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9417
9418         * paragraph.C: fixed missing line number count when exporting
9419         Environments to LaTeX file
9420
9421         * buffer.C: added informational message for checking line numbers.
9422
9423 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9424
9425         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9426         paragraph, do the 'double space' part, but not the 'empty
9427         paragraph' one.
9428
9429         * text.C (workWidth): small optimization
9430         (getLengthMarkerHeight): use minimal size for negative lengths.
9431
9432 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9435
9436         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9437
9438 2001-12-11  André Pönitz <poenitz@gmx.net>
9439
9440         * FontLoader.C:
9441         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9442
9443 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * text2.C: keep selection on a setFont()
9446
9447 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * lyx_cb.C: another bv->text misuse, from insert label
9450
9451 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * kbsequence.h:
9454         * kbsequence.C: re-instate nmodifier mask
9455
9456 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9457
9458         * lyx_main.h: make lyxGUI private.
9459
9460 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9461
9462         * lyxfind.C: place the cursor correctly on failed search
9463
9464 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9465
9466         * text.C (getLengthMarkerHeight): for small heights, the arrows
9467         are not always on top/bottom of the text
9468         (drawLengthMarker): smaller arrows; take the left margin in
9469         account; draw also vfills.
9470         (paintFirstRow):
9471         (paintLastRow): remove special code for vfill and standard spaces,
9472         since everything is handled in drawLengthMarker now.
9473
9474 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9475
9476         * buffer.C (insertErtContents): try to handle font and language
9477         interaction a bit better.g
9478
9479         * ColorHandler.C (updateColor): change the hash to cover the whole
9480         LColor enum, ws cleanup
9481         (getGCLinepars): ditto
9482         (getGCLinepars): only lookup in the linecache once.
9483
9484 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9485
9486         * iterators.C (operator++): Make the iterator more robust
9487
9488         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9489         (John's patch)
9490         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9491
9492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * lyxtext.h:
9495         * text.C: better added space drawing
9496
9497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * LyXView.C:
9500         * BufferView2.C: fix layout combo update on inset unlock
9501
9502 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * Makefile.am: don't compile unused files
9505
9506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * lyxfunc.C:
9509         * commandtags.h:
9510         * LyXAction.C: remove old LFUN_LAYOUTNO
9511
9512 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * paragraph_pimpl.h:
9515         * paragraph_pimpl.C: isTextAt() doesn't need font param
9516
9517 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9518
9519         * lyxlex.h:
9520         * lyxlex.C: little cleanup
9521
9522 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * BufferView_pimpl.C: fix insertAscii for insets
9525
9526 2001-12-05  Juergen Vigna  <jug@sad.it>
9527
9528         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9529         set the right font on the "multi" paragraph paste!
9530
9531 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9532
9533         * trans_decl.h:
9534         * trans_mgr.[Ch]:
9535         * trans.[Ch]:
9536         * lyxgluelength.C:
9537         * lyxlength.C: remove out-commented code.
9538
9539         * BufferView_pimpl:
9540         * CutAndPaste.C:
9541         * DepTable.C:
9542         * buffer.C:
9543         * chset.C:
9544         * lastfiles.C:
9545         * lyxlex.C:
9546         * lyxlex_pimpl.C:
9547         * lyxserver.C:
9548         * screen.C:
9549         * tabular-old.C:
9550         * tabular.C:
9551         * text.C:
9552         * trans_mgr.C:
9553         * vc-backend.C: change "while(" to "while ("
9554
9555         * lyxlength.[Ch]: add zero function to check if length is zero or
9556         not
9557         * lyxgluelength.C: use it
9558
9559 2001-12-05  Allan Rae  <rae@lyx.org>
9560
9561         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9562         Works for 2.95.3, from what I understand of Garst's reports this should
9563         work for other g++ versions.  We're screwed if the abs(int) definition
9564         changed between bugfix releases of gcc.
9565
9566 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * text.C: fix chapter label offset !
9569
9570 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * lyxtext.h:
9573         * text.C: fix hfill at end of line, clean up
9574
9575 2001-12-04  Juergen Vigna  <jug@sad.it>
9576
9577         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9578         that we force an update of the inset and it's owners if neccessary.
9579
9580 2001-12-03  Juergen Vigna  <jug@sad.it>
9581
9582         * text.C (rowLast): simplified code
9583
9584 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9585
9586         * lyxfunc.C: fix show options on timeout
9587
9588 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * screen.C (topCursorVisible): scroll half a page when the cursor
9591         reached top of bottom of screen
9592
9593 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9594
9595         * minibuffer.C: deactivate on loss of focus
9596
9597 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9598
9599         * vspace.[Ch] (operator!=): add operator.
9600
9601 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * BufferView_pimpl.C: refuse to open an inset when
9604         there's a selection.
9605
9606 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * BufferView_pimpl.C: allow to click on RHS of full row insets
9609
9610 2001-11-30  Juergen Vigna  <jug@sad.it>
9611
9612         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9613         insets for undo reasons.
9614
9615 2001-11-28  André Pönitz <poenitz@gmx.net>
9616
9617         * vspace.[Ch]: cosmetical changes
9618
9619 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * LyXAction.h:
9622         * LyXAction.C:
9623         * lyxfunc.h:
9624         * lyxfunc.C:
9625         * kbmap.h:
9626         * kbmap.C:
9627         * lyxrc.C:
9628         * kbsequence.h:
9629         * kbsequence.C: part re-write of old kb code
9630
9631         * Painter.C:
9632         * WorkArea.C: remove Lgb_bug_find_hack
9633
9634 2001-11-30  José Matos <jamatos@fep.up.pt>
9635
9636         * buffer.C (makeDocBookFile): add a comment to point a hack.
9637         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9638         Fixed a double write of labels.
9639
9640 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9641
9642         * LaTeX.C:
9643         * LaTeX.h Fixed bug in LaTeX class where it would not
9644         re-run latex if no depfiles were changed, but the .dvi was removed.
9645
9646 2001-11-28  André Pönitz <poenitz@gmx.net>
9647
9648         * all the files from the change on 2001/11/26:
9649         use lyx::layout_type instead of LyXTextClass::size_type
9650         use lyx::textclass_type instead of LyXTextClassList::size_type
9651
9652 2001-11-29  Juergen Vigna  <jug@sad.it>
9653
9654         * text.C: added support for paragraph::isFreeSpacing()
9655
9656         * buffer.C: same as above
9657
9658         * paragraph.h: inserted isFreeSpacing() function to enable
9659         FreeSpacing inside InsetERT.
9660
9661         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9662         of the paragraph's in the cut/copy buffer to 0!
9663
9664         * text2.C (removeRow): remove the assert as it can!
9665
9666         * lyxtext.h: added helper function firstRow returning firstrow and
9667         made firstrow private again.
9668
9669         * BufferView2.C (lockInset): don't relock if we're already locked!
9670
9671         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9672         the only paragraph.
9673         (removeRow): added Assert::(firstrow)
9674
9675         * debug.C: forgot to add INSETTEXT here.
9676
9677 2001-11-28  Juergen Vigna  <jug@sad.it>
9678
9679         * sp_spell.C (initialize): changed error text to more general
9680         spellchecker command use (not only ispell!)
9681
9682         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9683
9684         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9685
9686 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9687
9688         * vspace.C: initialise lyxgluelength on failure
9689
9690 2001-11-28  Allan Rae  <rae@lyx.org>
9691
9692         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9693         declaration & definition that looks like a function declaration.
9694
9695 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9696
9697         * BufferView2.C (copy):
9698         (copyEnvironment): do not clear the selection when doing a copy.
9699
9700         * text.C (paintFirstRow): compilation fix
9701
9702 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9703
9704         * tabular.C (Latex): correct line count when writing latex.
9705
9706 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * paragraph_pimpl.h:
9709         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9710           bug a bit
9711
9712 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * text.C:
9715         * LColor.h:
9716         * LColor.C: change vfillline->added_space
9717
9718         * text.C: add markers and text for added space
9719
9720         * vspace.C: fix comment
9721
9722 2001-11-28  André Pönitz <poenitz@gmx.net>
9723
9724         * paragraph.C: whitespace changes
9725         * all the other files from the change on 2001/11/26:
9726         change *::pos_type into lyx::pos_type
9727
9728 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9729
9730         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9731         language of the document when inserting error insets.
9732
9733 2001-11-26  André Pönitz <poenitz@gmx.net>
9734
9735         * BufferView_pimpl.[Ch]:
9736         *       CutAndPaste.C:
9737         * buffer.[Ch]:
9738         * lyxcursor.[Ch]:
9739         * lyxfind.C:
9740         * lyxfunc.C:
9741         * lyxrow.[Ch]:
9742         * paragraph.[Ch]:
9743         * paragraph_pimpl.[Ch]:
9744         * sp_spell.C:
9745         * text.C:
9746         * text2.C: reduce header dependencies, introduce type for positions
9747
9748 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * <various>: change to use Alert.h
9751
9752 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9753
9754         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9755         when encountering an unknown token.
9756         (readLyXformat2): Show an error message if there were unknown tokens.
9757
9758 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * BufferView2.C:
9761         * BufferView_pimpl.C:
9762         * buffer.C:
9763         * paragraph.h:
9764         * text.C:
9765         * text2.C: use par->isInset()
9766
9767 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * paragraph_pimpl.h:
9770         * paragraph_pimpl.C: cleanup
9771
9772 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9773
9774         * text2.C (removeRow):
9775         * text.C (setHeightOfRow): remove useless (and costly) call to
9776         getRow.
9777
9778 2001-11-20  Allan Rae  <rae@lyx.org>
9779
9780         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9781         Now need Inset*::checkInsertChar() to return true for appropriate
9782         cases so that the characters in the minibuffer will actually be
9783         inserted.
9784
9785 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9786
9787         * text.C: change the order of the includes.
9788         (workWidth): initialize it at once.
9789         (workWidth): make maxw unsigned
9790         (setHeightOfRow): remove unused variable (inset)
9791         (selectSelectedWord): remove unused variable (inset)
9792         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9793
9794 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9795
9796         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9797         server is not running.
9798         (openConnection):
9799         (closeConnection): add debug info when server is disabled.
9800
9801         * ColorHandler.C (getGCForeground): send debug message to GUI
9802         channel.
9803
9804         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9805
9806         * kbmap.C (bind): modify because return conventions of
9807         kb_sequence::parse have changed.
9808
9809         * kbsequence.C (parse): only ignore spaces and not any stupid
9810         control character. This avoids tests like s[i] <= ' ', which are
9811         guaranteed to fail with 8bit characters and signed chars.
9812         Change return code to string::npos when there have been no error
9813         (0 was a bad idea when error is at first character)
9814
9815 2001-11-14  José Matos  <jamatos@fep.up.pt>
9816
9817         * buffer.h:
9818         * buffer.C (simpleDocBookOnePar): removed unused argument.
9819
9820 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9821
9822         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9823         insets which are part of a word. Paragraph::isLetter takes care of
9824         that now. Use Paragraph::isInset to identify insets.
9825         (selectSelectedWord): do not test for hyphenation break.
9826
9827         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9828         that protected spaces are considered as spaces.
9829
9830         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9831         Inset::isLetter.
9832
9833 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * lyxserver.h:
9836         * lyxserver.C: fix it. and small cleanup.
9837
9838 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * BufferView_pimpl.C: use inline helpers
9841
9842         * LaTeXFeatures.h:
9843         * LaTeXFeatures.C: fix typos
9844
9845         * Spacing.h:
9846         * Spacing.C: move spacing_string into class
9847
9848         * ToolbarDefaults.C: move stuff into namespace anon
9849
9850         * layout.h: update enum
9851
9852         * lyxfunc.C: use better debug
9853
9854         * minibuffer.h: fix typo
9855
9856         * debug.h:
9857         * debug.C:
9858         * WorkArea.C: add and use Debug::WORKAREA
9859
9860         * lyxtext.h:
9861         * text.C:
9862         * text2.C: code re-organisation, inline helpers
9863
9864 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9865
9866         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9867         std::vector.empty().
9868
9869 2001-11-09  Allan Rae  <rae@lyx.org>
9870
9871         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9872         '\n's after tables.  Tabular and ERT inset work now makes this no
9873         longer necessary.
9874
9875 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9876
9877         * minibuffer.h:
9878         * minibuffer.C: fix crash, improve drop-down completion
9879
9880 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * lyxserver.h:
9883         * lyxserver.C: invalidate fd's when doing endPipe()
9884
9885 2001-11-08  José Matos  <jamatos@fep.up.pt>
9886
9887         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9888         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9889
9890         * paragraph.h:
9891         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9892
9893 2001-11-07  José Matos  <jamatos@fep.up.pt>
9894
9895         * buffer.h:
9896         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9897         const qualifier.
9898
9899         * buffer.C (sgmlOpenTag):
9900         * buffer.C (sgmlCloseTag): removed debug info.
9901
9902         * buffer.h (sgmlOpenTag):
9903         * buffer.h (sgmlCloseTag): made public.
9904
9905 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9906
9907         * buffer.C (saveParamsAsDefaults):
9908         * lyx_cb.C (MenuLayoutSave): remove
9909
9910         * LyXAction.C (init):
9911         * commandtags.h:
9912         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9913
9914 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9915
9916         * buffer.C (setPaperStuff): removed from here...
9917
9918         * bufferparams.C (setPaperStuff): ... and moved there.
9919
9920 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * minibuffer.h:
9923         * minibuffer.C:
9924         * XFormsView.C: add support for drop-down completion
9925
9926 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9927
9928         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9929         commands.
9930
9931 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9932
9933         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9934         disabled.
9935
9936 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * lyx_main.C: change ref to known bugs
9939
9940 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9941
9942         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9943         to work around older babel problems.
9944
9945 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9946
9947         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9948
9949 2001-10-24  Juergen Vigna  <jug@sad.it>
9950
9951         * tabular-old.C (ReadOld): below variable changes reflected.
9952
9953         * tabular.[Ch]: added ltType struct for longtable header/footer
9954         defines and changed all instances where they are used. Added
9955         future support for double top/bottom rows.
9956
9957 2001-10-24  José Matos  <jamatos@fep.up.pt>
9958
9959         * buffer.h (docbookHandleCaption):
9960         * buffer.C (docbookHandleCaption): removed unused function.
9961         (makeDocBookFile): moved docbook supported version to v4.1.
9962
9963 2001-10-24  José Matos  <jamatos@fep.up.pt>
9964
9965         * tabular.h:
9966         * tabular.C (docbookRow): new function to export docbook code of a row.
9967         (DocBook): now honors the longtable flags.
9968
9969 2001-10-23  José Matos  <jamatos@fep.up.pt>
9970
9971         * LaTeXFeatures.h:
9972         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9973         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9974
9975         * buffer.C (makeLinuxDocFile):
9976         (makeDocBookFile): reworked the preamble, more clean, and with
9977         support for lyx defined entities. Changed the document declaration
9978         to be more XML friendly.
9979
9980         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9981         if we need to output XML that should be done with a filter.
9982
9983 2001-10-22  Juergen Vigna  <jug@sad.it>
9984
9985         * sp_pspell.h (class PSpell): add alive function needed in the
9986         controller to see if the spellchecker could be started.
9987
9988 2001-10-22  Juergen Vigna  <jug@sad.it>
9989
9990         * buffer.C (insertStringAsLines): modify the font for inserting
9991         chars in certain conditions by calling checkInsertChar(font).
9992
9993 2001-10-19  Juergen Vigna  <jug@sad.it>
9994
9995         * text.C (workWidth): use getRow instead of wrong algorithm.
9996         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9997
9998 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * lyxserver.h:
10001         * lyxserver.C:
10002         * lyx_main.h:
10003         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10004
10005 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10006
10007         * text.C (workWidth): do not search for the exact row when
10008         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10009         optimization for big documents.
10010
10011 2001-10-18  Juergen Vigna  <jug@sad.it>
10012
10013         * text.C (workWidth): new function with added Inset * parameter.
10014
10015 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10016
10017         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10018
10019         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10020         change return type of getColumnNearX.
10021
10022
10023         * text.C (changeRegionCase): use uppercase/lowercase instead of
10024         toupper/tolower.
10025         (leftMargin):
10026         (rightMargin): simplify code by factoring out the uses of
10027         textclasslist.
10028         (labelFill):
10029         (numberOfHfills):
10030         (setHeightOfRow):
10031         (appendParagraph): use Paragraph::size_type
10032
10033 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10034
10035         * vspace.C (asLatexString): add a missing break
10036
10037 2001-10-15  Herbert Voss  <voss@perce.de>
10038
10039         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10040
10041 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10044         is not available.
10045
10046 2001-10-10  André Pönitz <poenitz@gmx.net>
10047
10048         * lyxfunc.C: removed greek_kb_flag.
10049
10050 2001-10-10  Herbert Voss  <voss@perce.de>
10051
10052         * lyx_main.C: delete global string help_lyxdir.
10053
10054 2001-10-09  Herbert Voss  <voss@perce.de>
10055
10056         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10057
10058         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10059
10060         * lyx_main.C: added global string help_lyxdir.
10061
10062         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10063
10064 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10065
10066         * lyxrc.C (set_font_norm_type): support iso8859-4
10067
10068 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10069
10070         * LaTeX.C (deplog): add another regex for MikTeX
10071
10072 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10073
10074         * lyxrc.C (set_font_norm_type): support iso8859-3
10075
10076 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10077
10078         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10079
10080         * LaTeXFeatures.C: remove special case of french and index
10081
10082         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10083         before \begin{document}). This solves several incompatibilities.
10084
10085 2001-10-03  Garst Reese  <reese@isn.net>
10086
10087         * lyx_cb.C: change CheckTex error msg.
10088
10089 2001-10-03  José Matos  <jamatos@fep.up.pt>
10090
10091         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10092
10093 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10094
10095         * .cvsignore: update
10096
10097         * lyx_main.C (commandLineVersionInfo): use new style version info.
10098
10099         * buffer.C (writeFile):
10100         (makeLaTeXFile):
10101         (makeLinuxDocFile):
10102         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10103
10104         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10105
10106         * version.h: update to use stuff in version.C
10107
10108         * version.C.in: new file. Contains version information determined
10109         at compile time. This is a merging of version.h and
10110         version_info.h.in.
10111
10112 2001-10-03  Juergen Vigna  <jug@sad.it>
10113
10114         * BufferView_pimpl.C (update): don't change "dirty" status in
10115         updateInset call.
10116
10117 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10118
10119         * WorkArea.C (c-tor): re-position version string slightly.
10120
10121 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10122
10123         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10124         revert to previous code.
10125
10126         WorkArea.[Ch]: (show, destroySplash): methods removed.
10127
10128         WorkArea.C: rework code so that it's an amalgam of the codes before and
10129         after the splash screen was moved to WorkArea.
10130
10131 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10132
10133         * lyxrc.C (read):
10134         * vspace.C (inPixels):
10135         (lyx_advance):
10136         * kbmap.C (bind):
10137         * buffer.C (insertStringAsLines):
10138         (asciiParagraph): fix types to be large enough
10139
10140         * lyxlex_pimpl.h: change member status from short to int
10141
10142         * layout.h: fix type of endlabeltype
10143
10144         * kbmap.C (bind):
10145         * kbsequence.C (parse): change return type to string::size_type
10146
10147         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10148         variable
10149
10150         * Bullet.C (bulletSize):
10151         (bulletEntry): do not use short ints as parameters
10152
10153         * BufferView2.C (insertLyXFile): change a char to an int.
10154
10155         * WorkArea.C (WorkArea): remove unneeded floats in computation
10156
10157 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10158
10159         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10160
10161         * paragraph.C (asString): Do not ignore newline/hfill chars when
10162         copying to the clipboard.
10163
10164 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10165
10166         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10167         after a multi-line inset.
10168
10169 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10170
10171         * paragraph.C (validate): Set NeedLyXFootnoteCode
10172
10173 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10174
10175         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10176         and decrease-error to decrease.
10177
10178 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10179
10180         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10181         it more readable (should be equivalent)
10182
10183 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10184
10185         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10186
10187 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10188
10189         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10190         of a cursor (row, etc.) after a character has been deleted
10191         (deleteEmptyParagraphMechanism): call the method above on _all_
10192         cursors held by the LyXText when a double space has been
10193         detected/deleted.
10194
10195 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10196
10197         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10198         pixmap.
10199         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10200
10201         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10202         background. Use greyOut() and the new show() methods to toggle between
10203         the foreground and background. Add code to remove the splash after
10204         its initial showing.
10205
10206         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10207         (create_forms): no longer call Dialogs::showSplash.
10208
10209 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10210
10211         * .cvsignore: add version_info.h
10212
10213 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10214
10215         * version_info.h.in: new file
10216
10217         * Makefile.am: add version_info.h.in
10218
10219         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10220         version_info.h instead of VERSION_INFO
10221
10222 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10223
10224         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10225         The ERT inset now returns string().
10226
10227 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10228
10229         * lyxtext.h, text.C (selectNextWord): renamed as
10230         selectNextWordToSpellcheck.
10231
10232         * text.C (selectNextWordToSpellcheck): Modified to not select
10233         words inside an ERT inset.
10234
10235 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10236
10237         * lyx_cb.C (MenuLayoutSave): change a bit the question
10238
10239         * sp_base.h: include <sys/types.h>
10240
10241 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10242
10243         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10244
10245 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10246
10247         * several files: fix typos in user-visible strings
10248
10249 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10250
10251         * text2.C (pasteSelection): do not set the selection, since it
10252         will be cleared later. Actually, the intent was to fix the way the
10253         selection was set, but I figured rmoving the code was just as good.
10254
10255 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * FontLoader.C (available): Check if font is available without
10258         loading the font.
10259
10260 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10261
10262         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10263
10264 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10265
10266         * lyxrc.[Ch]: added display_graphics variable and associated code.
10267
10268 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10269
10270         * bufferparams.C (hasClassDefaults): new method. Returns true if
10271         the buffer parameters correspond to known class defaults
10272
10273 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10274
10275         * XFormsView.C (show): set minimum size to the main window.
10276
10277 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10278
10279         * text2.C (copySelection):
10280         (cutSelection):
10281         * lyxfind.C (LyXReplace):
10282         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10283         LyXText::selectionAsString.
10284
10285         * paragraph.C (asString): add "label" argument to the second form
10286
10287         * text2.C (selectionAsString): add "label" argument and pass it to
10288         Paragraph::asString.
10289
10290 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * lyx_main.C (commandLineHelp): remove version information
10293
10294 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10295
10296         * lyx_main.C: add -version commandline option
10297
10298 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10299
10300         * paragraph.h: make the optional constructor arg required instead.
10301         some modifications to other files because of this.
10302
10303         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10304
10305         * lyxserver.C (C_LyXComm_callback): make it static
10306
10307         * lyx_main.C (error_handler): make it static
10308
10309         * lyx_gui.C (LyX_XErrHandler): make it static
10310
10311         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10312
10313         * WorkArea.C: make the extern "C" methods static.
10314
10315         * Makefile.am (lyx_LDADD): simplify
10316
10317 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10318
10319         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10320         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10321
10322         * LyXAction.C (init):
10323         * lyxfunc.C (dispatch): associated code removal.
10324
10325 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10326
10327         * lyxfont.h (isSymbolFont): shut off warning
10328
10329         * text.C (setHeightOfRow):
10330         (getVisibleRow): fix crash with empty paragraphs which have a
10331         bottom line
10332
10333 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10334
10335         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10336         code.
10337
10338 2001-09-04  José Matos  <jamatos@fep.up.pt>
10339         * buffer.C
10340         * buffer.h
10341         * tabular.C (docbook): rename docBook method to docbook.
10342
10343 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10344
10345         * Makefile.am: add dependencies to main.o.
10346
10347 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10348
10349         * FontLoader.C (available): Return false if !lyxrc.use_gui
10350
10351 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10352
10353         * FontInfo.C (query):
10354         * converter.C (view):
10355         * importer.C (Import):
10356         * exporter.C (Export): Can not -> cannot.
10357
10358 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * BufferView_pimpl.C: allow to create index inset even if
10361           string is empty
10362
10363 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10364
10365         * buffer.C (getLists): replace boost::tie code with an explicit pair
10366         as boost::tie can break some compilers.
10367
10368         * iterators.h: Added a std:: declaration to the return type of
10369         ParIterator::size.
10370
10371 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10374           case.
10375
10376 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * iterators.[Ch]: New files. Provide paragraph iterators.
10379
10380         * buffer.C (changeLanguage): Use paragraph iterators.
10381         (isMultiLingual): ditto
10382
10383         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10384
10385 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10386
10387         * FontLoader.C: Support for cmr font.
10388
10389 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10390
10391         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10392         (available): New method.
10393
10394         * FontInfo.C (getFontname): Use scalable fonts even when
10395         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10396         found.
10397
10398 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10399
10400         * converter.C (Formats::view): reverted! Incorrect fix.
10401
10402 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10403
10404         * converter.C (Formats::view): only output the -paper option
10405         if the dvi viewer is xdvi, thereby fixing bug #233429.
10406
10407 2001-08-23  Herbert Voss  <voss@perce>
10408
10409         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10410
10411 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10412
10413         * Spacing.h (Spacing): Set space to Default on in the default
10414         constructor.
10415
10416 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10417
10418         * vc-backend.h (RCS::versionString): add RCS to version
10419         (CVS::versionString): add CVS to version
10420
10421         * vc-backend.C (scanMaster): do not add CVS to version.
10422         (scanMaster): do not add RCS to version
10423
10424         * lyxvc.C (versionString): new method
10425
10426         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10427
10428 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10429
10430         * Spacing.C (set): initialize fval
10431
10432 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10433
10434         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10435         " or \.
10436
10437 2001-08-16  Juergen Vigna  <jug@sad.it>
10438
10439         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10440
10441 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView_pimpl.C:
10444         * figureForm.C:
10445         * lyxtext.h:
10446         * text2.C: setParagraph takes linespacing now
10447
10448 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * LyxAction.C: add internal LFUN_CITATION_INSERT
10451
10452         * LyXView.C: actually apply fix
10453
10454         * bufferlist.C: fix open non-existent file
10455
10456         * lyxfind.C: fix indentation
10457
10458         * lyxfunc.C: remove unneeded assert, fix typo
10459
10460 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * MenuBackend.C: use "Floatname List"
10463
10464 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10465
10466         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10467         when converting LaTeX layout to insetERT.
10468         Generate a non-collapsed float when reading old float
10469
10470 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10471
10472         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10473         ERT insets.
10474
10475 2001-08-13  Juergen Vigna  <jug@sad.it>
10476
10477         * text.C (fill): return 0 instead of 20 as this seems to be the more
10478         correct value.
10479
10480 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10481
10482         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10483         lyxrc.font_norm.
10484
10485 2001-08-13  Juergen Vigna  <jug@sad.it>
10486
10487         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10488         casesensitive off.
10489         (SearchBackward): comment out the unlocking of the inset_owner this
10490         should not be needed!
10491
10492 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10493
10494         * Many files: Remove inherit_language, and add latex_language
10495
10496         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10497         collapsible insets.
10498
10499 2001-08-10  Juergen Vigna  <jug@sad.it>
10500
10501         * text.C (prepareToPrint): fixed hfill-width in draw!
10502
10503         * BufferView2.C (selectLastWord): save the selection cursor as this
10504         now is cleared in the function LyXText::clearSelection!
10505
10506 2001-08-08  Juergen Vigna  <jug@sad.it>
10507
10508         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10509         BACKSPACE type functions.
10510
10511         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10512         is only cutted from the document but not put in the cut-buffer, where
10513         still the old stuff should be.
10514
10515         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10516
10517         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10518
10519         * tabular.C (SetWidthOfCell): fixed special case where the width
10520         was not updated!
10521         (LeftLine): handle '|' in align_special.
10522         (RightLine): ditto
10523         (LeftAlreadyDrawed): ditto
10524         (SetWidthOfCell): ditto
10525
10526 2001-08-07  Juergen Vigna  <jug@sad.it>
10527
10528         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10529
10530 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10531
10532         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10533         * lyxlex.[hC]: ditto
10534
10535 2001-08-06  Juergen Vigna  <jug@sad.it>
10536
10537         * text.C (getVisibleRow): fix up row clearing a bit.
10538
10539 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * minibuffer.C: make sure the X server sees the changes in the input.
10542
10543 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * paragraph.C (getFont): split into...
10546         (getLabelFont): this
10547         (getLayoutFont): and this
10548         * paragraph_pimpl.C (realizeFont): calling this
10549
10550         * text2.C (getFont): split into...
10551         (getLayoutFont): this
10552         (getLabelFont): and this
10553         (realizeFont): all three calling this
10554
10555         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10556         files where used.
10557
10558 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10561
10562 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10563
10564         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10565         layouts from the Quote inset insertion.
10566
10567 2001-08-03  Juergen Vigna  <jug@sad.it>
10568
10569         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10570
10571         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10572         only if status not is already CHANGED_IN_DRAW (second level).
10573
10574         * text.C (draw): don't set the need_break_row when inside an
10575         InsetText LyXText.
10576
10577 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * buffer.C (parseSingleLyXformat2Token): handle more latex
10580         conversion cases.
10581
10582         * bufferview_funcs.[hC]: change function names to
10583         begin with small char, adjust other files.
10584
10585 2001-08-02  André Pönitz <poenitz@gmx.net>
10586
10587         * lyxfunc.C:
10588         BufferView_pimpl.C: remove broken special code for math-greek
10589
10590 2001-08-02  Juergen Vigna  <jug@sad.it>
10591
10592         * BufferView_pimpl.C (update): redone this function so that we
10593         update the text again if there was a CHANGE_IN_DRAW.
10594
10595         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10596         (drawFromTo): added a new internal bool which is used by draw() and
10597         redraw() function.
10598         (general): some cursor drawing problems fixed.
10599
10600 2001-08-01  Juergen Vigna  <jug@sad.it>
10601
10602         * lyxfind.C (LyXFind): fixed
10603         (SearchForward): ditto
10604         (SearchBackward): ditto
10605
10606         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10607         spurius drawing of the cursor in the main area.
10608
10609         * text2.C (status): small fix which could lead to a segfault!
10610         (clearSelection): remove unneeded BufferView param.
10611
10612 2001-08-01  André Pönitz <poenitz@gmx.net>
10613
10614         * lyxfunc.C: small change due to changed mathed interface
10615
10616 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10619
10620 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * lyxfunc.c: fail gracefully if file doesn't exist
10623
10624         * LyXSendto.C:
10625         * buffer.C:
10626         * lyxfunc.C:
10627         * BufferView_pimpl.C: IsDirWriteable() proto changed
10628
10629         * LyXView.C: fix updateWindowTitle() to store the last title
10630
10631 2001-07-31  Juergen Vigna  <jug@sad.it>
10632
10633         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10634         the font (wrong since using of Paragraph::highestFontInRange).
10635
10636         * paragraph.C (highestFontInRange): added a default_size parameter.
10637
10638         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10639         (setHeightOfRow): reformat
10640
10641 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * converter.[hC] + affected files: move to (inital-char)lowercase
10644         function names.
10645
10646         * ParagraphParameters.C (ParagraphParameters): remove commented code
10647
10648         * PainterBase.[Ch]: remove commented code
10649
10650         * LaTeXFeatures.h: add "bool floats" for float.sty
10651
10652         * LaTeXFeatures.C (LaTeXFeatures): init floats
10653         (require): handle float
10654         (getPackages): do it with floats
10655
10656 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * BufferView_pimpl.C (Dispatch): improve handling of
10659         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10660
10661         * commandtags.h: #include lyxfont.h here temporarily to avoid
10662         keybinding bug.
10663
10664         * bufferlist.h: include LString.h here.
10665
10666 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10667
10668         * text2.C (getStringToIndex): new method.
10669
10670 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10671
10672         * *: Reduced header file dependencies all over.
10673
10674 2001-07-30  Baruch Even  <baruch@lyx.org>
10675
10676         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10677
10678 2001-07-29  Baruch Even  <baruch@lyx.org>
10679
10680         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10681
10682 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10683
10684         * ParameterStruct.h (endif): add a default constructor to make
10685         sure that all variables is initialized.
10686
10687         * ParagraphParameters.C (ParagraphParameters): adjust
10688
10689 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10690
10691         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10692         index; also, check that there is something to index, and that it
10693         does not span over several paragraphs.
10694         (doubleClick): use WHOLE_WORD_STRICT for double click.
10695
10696         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10697
10698         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10699         scheme.
10700
10701 2001-07-26  Baruch Even  <baruch@lyx.org>
10702
10703         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10704         an InsetFig figure, backwards compatible reading of old figure code.
10705
10706 2001-07-27  Juergen Vigna  <jug@sad.it>
10707
10708         * text2.C: font.realize function adaption.
10709
10710         * text.C (draw): add a warnings lyxerr text if needed.
10711
10712         * layout.C: font.realize function adaption.
10713
10714         * language.C: add inherit_language and implement it's handlings
10715
10716         * bufferview_funcs.C (StyleReset): remove language parameter from
10717         font creation (should be language_inherit now).
10718
10719         * bufferparams.C (writeFile): handle ignore_language.
10720
10721         * paragraph.C (getFontSettings): the language has to be resolved
10722         otherwise we have problems in LyXFont!
10723
10724         * lyxfont.C (lyxWriteChanges): added document_language parameter
10725         (update): removed unneeded language parameter
10726
10727         * paragraph.C (validate): fixed wrong output of color-package when
10728         using interface colors for certain fonts in certain environments,
10729         which should not seen as that on the final output.
10730
10731 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView_pimpl.C:
10734         * Thesaurus.h:
10735         * Thesaurus.C:
10736         * Makefile.am:
10737         * commandtags.h:
10738         * LyXAction.C: add thesaurus support
10739
10740         * lyxfind.h:
10741         * lyxfind.C: add "once" parameter, for thesaurus, to not
10742           move to the next match
10743
10744 2001-07-26  Juergen Vigna  <jug@sad.it>
10745
10746         * lyxfont.C (realize): honor ignore_language too!
10747         (resolved): ditto.
10748
10749         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10750
10751         * text.C (draw): one place more for ignore_language to not draw
10752         itself!
10753
10754 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10755
10756         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10757
10758 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10761         the minipage conversion problem.
10762
10763 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10766         insert an inset.
10767
10768 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * BufferView.h: don't forward declare WorkArea
10771
10772         * BufferView.C: don't include WorkArea.h
10773
10774 2001-07-25  André Pönitz <poenitz@gmx.net>
10775
10776         * commandtags.h:
10777         * LyXAction.C:
10778         * lyxfunc.C:  new LFUN 'math-space'
10779
10780         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10781
10782 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10783
10784         * text2.C (toggleInset): call open/close
10785
10786 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10787
10788         * lyxfunc.C (dispatch): add debug for the disabled case
10789
10790         * font.C (buttonText): make similar to rectText
10791
10792         * buffer.C (readInset): comment out parsing of insetlist and
10793         insttheorem
10794
10795         * PainterBase.C (rectText): small correction
10796
10797         * BufferView_pimpl.C: comment out insettheorem and insetlist
10798         * LyXAction.C: ditto
10799         * commandtags.h: ditto
10800
10801 2001-07-24  Juergen Vigna  <jug@sad.it>
10802
10803         * text.C (draw): honor the ignore_language.
10804
10805         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10806
10807 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10808
10809         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10810         char inset.
10811
10812 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10813
10814         * lyxtext.h: remove unused (and unimplemented) methods
10815
10816 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10817
10818         * text.C (getVisibleRow): honor background color
10819
10820         * PainterBase.h:
10821         * Painter.h: remove default color argument for fillRectangle
10822
10823         * text.C (backgroundColor): new method
10824
10825 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * text.C (getVisibleRow): adjust
10828
10829         * font.[Ch] (rectText): new method, metrics
10830         (buttonText): new method, metrics
10831
10832         * PainterBase.[hC]: make rectText and buttonText always draw and take
10833         fewer paramteres.
10834
10835 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10836
10837         * ToolbarDefaults.C (read):
10838         * MenuBackend.C (read): allow escaping in all strings
10839
10840         * BufferView_pimpl.C (insertAndEditInset): new method.
10841         (Dispatch): use insertAndEditInset whenever appropriate.
10842
10843         * BufferView_pimpl.C (insertNote): removed
10844
10845         * BufferView_pimpl.C (smartQuote): new method, moved from
10846         BufferView; if an insetquote cannot be inserted, insert a '"'
10847         character instead.
10848
10849         * BufferView2.C: remove insertCorrectQuote();
10850
10851         * lyxfunc.C (getStatus): Add support for all remaingin
10852         inset-insert lfuns.
10853
10854         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10855
10856         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10857         command (necessary to pass " as parameter of self-insert.
10858
10859         * text.C (selectWordWhenUnderCursor):
10860         (selectWord): add word_location parameter
10861         (selectWordWhenUnderCursor): same + remove special code for word
10862         boundary.
10863         (selectNextWord): use kind() to guess type of insetspecialchar,
10864         not latex().
10865
10866         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10867         (insertErtContents): create ert insets as collapsed.
10868         (readInset): better compatibility code for Info inset.
10869
10870 2001-07-20  Juergen Vigna  <jug@sad.it>
10871
10872         * lyxfunc.C (dispatch): use always LyXFind now!
10873
10874         * text2.C (init): add a reinit flag so that the LyXText can be
10875         reinited instead of deleted and reallocated (used in InsetText).
10876
10877         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10878
10879         * text.C: ditto
10880
10881         * text2.C: ditto
10882
10883 2001-07-18  Juergen Vigna  <jug@sad.it>
10884
10885         * text.C (selectNextWord): handle insets inside inset by calling
10886         always the bv->text functions so that we can go up the_locking_inset!
10887
10888         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10889         in strange locations when inside an inset!
10890
10891         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10892         handling to include insets.
10893
10894         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10895
10896 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * LyXAction.C (init):
10899         * commandtags.h:
10900         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10901         LIGATURE_BREAK, since the name is so stupid.
10902
10903 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10904
10905         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10906         InsetInfos.
10907
10908         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10909
10910         * sp_form.[Ch]: remove.
10911
10912         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10913
10914         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10915         InsetInfo.
10916
10917         * src/buffer.C (readInset): ditto.
10918
10919 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10920
10921         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10922         menuSeparator(), endOfSentenceDot(), ldots() and
10923         hyphenationPoint(), which are therefore removed.
10924         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10925
10926         * LyXAction.C (init):
10927         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10928
10929         * paragraph.C (getWord): removed.
10930
10931         * BufferView_pimpl.C (Dispatch): use last word or selection for
10932         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10933
10934         * lyx_main.C (queryUserLyXDir): do not ask before creating
10935         user_dir, except if it has been named explicitely.
10936
10937 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10940         a document of zero size.
10941
10942 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10945         approriately in the c-tor and in require().
10946         (getPackages): output the appropriate LaTeX for natbib support.
10947
10948         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10949         variables "use_natbib" and "use_numerical_citations" when reading the
10950         LyX file.
10951         (readInset): read the various natbib cite commands.
10952         (validate): white-space change.
10953
10954         * bufferparams.[Ch]: new variables "bool use_natbib" and
10955         "bool use_numerical_citations".
10956         (writeFile): output them in the LyX file.
10957
10958 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10959
10960         * lyxfunc.C (getStatus): add support for all the inset insertion
10961         commands.
10962
10963         * text2.C (insertInset):
10964         * paragraph.C (insetAllowed):
10965         * BufferView_pimpl.C (insertInset): update to take in account the
10966         renaming of insertInsetAllowed
10967
10968         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10969
10970         * text2.C (getInset): new method. returns inset at cursor position.
10971
10972         * BufferView_pimpl.C (Dispatch): changes because of this.
10973
10974         * LyXAction.C (init): rename open-stuff to inset-toggle.
10975
10976         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10977
10978         * text2.C (toggleInset): renamed from openStuff; use
10979         Inset::open().
10980
10981 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10982
10983         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10984
10985         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10986
10987 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10988
10989         * buffer.C (readLyXformat2): Add filename to the error dialog
10990
10991 2001-07-18  Juergen Vigna  <jug@sad.it>
10992
10993         * tabular.C (GetCellNumber): put an assert here instead of the check!
10994
10995 2001-07-17  Juergen Vigna  <jug@sad.it>
10996
10997         * BufferView_pimpl.C (toggleSelection): adapted too.
10998
10999         * text.C (selectNextWord): adapted for use with insets.
11000         (selectSelectedWord): ditto
11001
11002 2001-07-17  Juergen Vigna  <jug@sad.it>
11003
11004         * sp_spell.C (PSpell): fix initialitation order.
11005
11006 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11007
11008         * paragraph.C: spacing
11009
11010 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11011
11012         * sp_spell.C: repair language selection for pspell
11013
11014 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11015
11016         * lyxfunc.h: change more methods to begin with lower char.
11017
11018 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11019
11020         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11021         for unknown layouts.
11022
11023 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * buffer.C (readLyXformat2): Generate an error dialog if there are
11026         unknown layouts.
11027
11028 2001-07-16  Juergen Vigna  <jug@sad.it>
11029
11030         * sp_spell.C: always compile ISpell part.
11031
11032         * lyxrc.C: added use_pspell entry and it's handling.
11033
11034 2001-07-13  Juergen Vigna  <jug@sad.it>
11035
11036         * sp_spell.C: removed double includes.
11037
11038 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11039
11040         Consistent use of Lsstream.h:
11041         * Lsstream.h: added using std::stringstream for consistencies sake.
11042
11043         * buffer.C: removed using std::stringstream
11044
11045         * lyxfont.C (stateText):
11046         * paragraph.C (asString):
11047         * text.C (selectNextWord, selectSelectedWord):
11048         * text2.C (setCounter):
11049         * vspace.C (asString, asLatexString):
11050         std::ostringstream -> ostringstream.
11051
11052 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11053
11054         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11055         * commandtags.h: add LFUN_HELP_ABOUTLYX
11056         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11057
11058 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11059
11060         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11061         cursorToggle()
11062         * lyx_gui_misc.C: remove spellchecker
11063         * lyxfunc.C: showSpellchecker
11064         * sp_base.h: added
11065         * sp_ispell.h: added
11066         * sp_pspell.h: added
11067         * sp_spell.C: added
11068         * sp_form.[Ch]: removed
11069         * spellchecker.[Ch]: removed
11070
11071 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11072
11073         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11074         is set.
11075         (simpleTeXSpecialChars): Simply print the input character without
11076         any special translation if pass_thru is set.
11077
11078         * layout.h: Added bool pass_thru to layout class for being able to
11079         implement pass through of a paragraph for Literate Programming.
11080
11081         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11082         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11083         * layout.C (Read): add "passthru" to list of layout tags and add
11084         code to set the pass_thru boolean when it is read.
11085
11086 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * trans_decl.h: remove allowed from KmodInfo
11089
11090         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11091         remove allowed code
11092         (Load): adjust
11093
11094         * paragraph_pimpl.C (erase): use boost::prior
11095
11096         * Painter.C (text): use data() instead of c_str() when length is
11097         also provided.
11098         * WorkArea.C (putClipboard): ditto
11099         * font.h (width): ditto
11100
11101         * BufferView2.C: use it-> instead of (*it). for iterators
11102         * texrow.C: ditto
11103         * paragraph_pimpl.C: ditto
11104         * paragraph.C: ditto
11105         * minibuffer.C: ditto
11106         * language.C: ditto
11107         * kbmap.C: ditto
11108         * encoding.C: ditto
11109         * counters.C: ditto
11110         * converter.C: ditto
11111         * chset.C: ditto
11112         * Variables.C: ditto
11113         * TextCache.C: ditto
11114         * MenuBackend.C: ditto
11115         * LyXAction.C: ditto
11116         * LColor.C: ditto
11117         * FloatList.C: ditto
11118         * DepTable.C: ditto
11119         * ColorHandler.C (LyXColorHandler): ditto
11120
11121 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11122
11123         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11124
11125         * text2.C (openStuff): reintroduce this method (which had been
11126         nuked in NEW_INSETS frenzy).
11127
11128         * lyxfunc.C (Dispatch): when an action has not been handled, use
11129         its name in the error message, not its number.
11130
11131         * paragraph.C (inInset): change method name to begin with lowercase.
11132
11133         * undo_funcs.C:
11134         * text2.C: updates because of this.
11135
11136 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11137
11138         * ToolbarDefaults.C (add): add spaces in error message
11139
11140 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11143         (readLyXformat2): rename return_par to first_par, use lyxlex's
11144         pushToken and remove the manual push handling.
11145         (parseSingleLyXformat2Token): add another ert comp. variable:
11146         in_tabular, rename return_par to first_par. handle newlines better
11147
11148 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11149
11150         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11151
11152 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * text2.C (getParFromID): removed
11155
11156         * buffer.C (getParFromID): new method moved form lyxtext.
11157         * BufferView2.C (insertErrors): adjust
11158         (setCursorFromRow): adjust
11159         * BufferView_pimpl.C (restorePosition): adjust
11160         * lyxfunc.C (Dispatch): adjust
11161         * undo_funcs.C (textUndo): adjust
11162         (textRedo): adjust
11163         (textHandleUndo): adjust
11164         (textHandleUndo): adjust
11165
11166 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11167
11168         * buffer.C: up' the LYX_FORMAT
11169
11170         * lyxfont.h: turn NO_LATEX on as default
11171
11172         * buffer.C (insertErtContents): new methods of tex style compability.
11173         (parseSingleLyXformat2Token): use it several places.
11174         * tabular.C (OldFormatRead): and here
11175
11176 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * text2.C: remove some commented code.
11179         reindent file.
11180
11181         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11182         * trans.C: changes because of the above.
11183
11184 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11185
11186         * text2.C (setCounter): Fix counters bug with bibliography layout.
11187
11188 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11191         own member functions
11192         (simpleTeXSpecialChars): ditto
11193
11194 2001-07-06  Juergen Vigna  <jug@sad.it>
11195
11196         * a lot of files: changed the access to LyXText::status and the
11197         call of undo-functions.
11198
11199         * undo.[Ch]: added a inset_id to the undo informations.
11200
11201         * undo_funcs.[Ch]: added and moved here all undo functions.
11202
11203         * lyxtext.h: give the status enum a weight, made status_ a private
11204         variable and made accessor functions for it, removed the whole bunch
11205         of undo-functions as they are now in their own file, make some
11206         functions publically available. Added function ownerParagraph with
11207         int parameter.
11208
11209         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11210         made InInset() a const function, added getParFromID() function.
11211
11212         * buffer.[Ch]: added const version for inset_iterator functions,
11213         added getInsetFromID() function.
11214
11215         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11216         changed undo functions for new version.
11217
11218 2001-07-05  Juergen Vigna  <jug@sad.it>
11219
11220         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11221         unknow mechanism does not call the proper constructor but only this
11222         one also if I request the other!?
11223
11224 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11227
11228         * text2.C (LyXText): use initialization lists.
11229
11230         * lyxtext.h (Selection): initialize set_ and mark_
11231         (init): remove method
11232
11233 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11234
11235         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11236
11237 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11238
11239         * screen.[Ch]: change method names to begin with lowercase
11240
11241         * BufferView_pimpl.C (updateScrollbar): simplify further and
11242         hopefully make it a bit faster.
11243
11244 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11245
11246         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11247         calling directly xforms functions.
11248
11249         * Painter.C (Painter):
11250         * lyx_cb.C (MenuWrite):
11251         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11252         fl_display.
11253
11254         * lyx_gui.C: remove bogus guiruntime extern declaration.
11255
11256 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11257
11258         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11259         in NEW_INSETS
11260         (redoDrawingOfParagraph): ditto
11261         (redoParagraphs): ditto
11262         (cutSelection): don't create a object for CutAndPaste use the
11263         static method directly
11264         (pasteSelection): ditto
11265
11266         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11267         LyXview (+ rename)
11268
11269 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * modifications to some other files because of this.
11272
11273         * Makefile.am (lyx_SOURCES): add XFormsView
11274
11275         * XFormsView.[Ch]: new files
11276
11277         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11278         the main window. Move the gui dependent stuff to XFormsView
11279
11280 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * tabular.C (GetCellInset): update cur_cell also in the row/col
11283         version of this function.
11284
11285         * lyxfunc.C: no need to include figure_form.h here.
11286
11287         * FontLoader.h:
11288         * lyxfunc.h:
11289         * lyxscreen.h:
11290         * text2.C:
11291         * lyxvc.C: no need to include forms.h here.
11292
11293 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11294
11295         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11296
11297         * lyxfunc.C (Dispatch):
11298         * Spacing.C (set):
11299         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11300         constructor argument.
11301
11302 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * paragraph.C (Paragraph): dont't clear, and just set layout.
11305         (makeSameLayout): use params's copy contructor.
11306
11307         * ParagraphParameters.[Ch] (makeSame): delete method
11308
11309 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * Variables.[Ch]: fix indentation, rename set to isSet
11312
11313 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11314
11315         * lyxfunc.C (Dispatch): fix typo
11316
11317 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11318
11319         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11320         upper_bound.
11321
11322         * bufferlist.C: include assert.h for emergencyWrite().
11323
11324 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11327           give up at last (bug #425202) !
11328
11329 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * lyx_gui_misc.C:
11332         * sp_form.h:
11333         * sp_form.C:
11334         * spellchecker.h:
11335         * spellchecker.C: strip spellchecker options and bring up
11336           preferences tab instead
11337
11338 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11339
11340         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11341         the istringstream constructor
11342
11343 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * paragraph.C (getLayout): fix return value
11346
11347         * paragraph.h: do not declare getLayout as inline.
11348
11349         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11350
11351 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11352
11353         * lyxcursor.h (operator<): new func
11354         (operator>): new func
11355         (operator>=): new func
11356         (operator<=): new func
11357
11358         * text.C (changeCase): use selection.start and selection.end
11359         (changeRegionCase): require from to be <= to. Require par to be a
11360         valid paragraph.
11361
11362         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11363
11364 2001-06-27  Juergen Vigna  <jug@sad.it>
11365
11366         * text.C (cursorLeftOneWord): changed to return the cursor and added
11367         overlay with BufferView * parameter which calls this one.
11368         (getWord): added
11369         (selectWord): use new getWord function.
11370         (changeCase): renamed from changeWordCase as and extended to work
11371         also on selections.
11372
11373         * lyxtext.h: added enum word_location
11374
11375         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11376         changeCase as this operates now also on selections.
11377
11378 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11379
11380         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11381
11382         * many files: send debug output to Debug::INFO instead of
11383         Debug::ANY.
11384
11385         * converter.C (View):
11386         (Convert):
11387         (Move): send debug output to Debug::FILES instead of console.
11388
11389 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11390
11391         * lyxfunc.C (getStatus): use func_status
11392
11393         * func_status.h: new header, describing the results of
11394         LyXFunc::getStatus;
11395
11396         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11397         LFUN_MATH_HALIGN.
11398
11399 2001-06-25  The LyX Project  <jug@sad.it>
11400
11401         * buffer.C (sgmlOpenTag):
11402         (sgmlCloseTag):
11403         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11404
11405 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * text2.C: remove some dead code
11408
11409         * tabular.C (GetCellInset): store the last cell checked (gotten)
11410
11411         * tabular.h: add the helper for the speedup
11412
11413         * lyxtext.h: remove some dead code
11414
11415 2001-06-26  The LyX Project  <Asger>
11416
11417         * paragraph.C: Change export to LaTeX of alignment to
11418         \begin{center} and family for better roundtrip work with reLyX.
11419
11420         * Tune the math drawing a bit.
11421
11422 2001-06-25  The LyX Project  <Asger>
11423
11424         * LColor.C (LColor): New color for math background. New color
11425         for buttons.
11426
11427 2001-06-25  The LyX Project  <jug@sad.it>
11428
11429         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11430
11431         * lyxfunc.C (Open):
11432         * bufferlist.C (newFile): do not restrict to files ending with
11433         .lyx
11434
11435         * BufferView_pimpl.C (MenuInsertLyXFile):
11436
11437 2001-06-24  The LyX Project  <jug@sad.it>
11438
11439         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11440         of compare_no_case
11441
11442 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * lyxtext.h: rename most methods to begin with a small char.
11445         Lots of changes because of this.
11446
11447         * paragraph.C (Paragraph): do not call fitToSize
11448         (erase): call Pimpl::erase
11449         (insertChar): call Pimpl::insertChar
11450         (insertInset): call Pipl::insertInset
11451         (breakParagraph): do not call fitToSize
11452         (breakParagraphConservative): do not call fitToSize
11453         (fitToSize): remove method
11454
11455         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11456
11457 2001-06-24  The LyX Project  <Asger>
11458
11459         * Fix Qt compilation^2
11460
11461 2001-06-24  The LyX Project  <jug@sad.it>
11462
11463         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11464         depthHook(getDepth()-1).
11465
11466         * paragraph.h:
11467         * ParagraphParameters.h:
11468         * ParameterStruct.h: change type of depth to unsigned int ==
11469         depth_type. Many adaptations to other files before of that.
11470
11471 2001-06-24  The LyX Project  <Asger>
11472
11473         * Fix Qt compilation.
11474
11475 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * paragraph.h: renamed several methods to begin with small letter.
11478         several changes to many parts of the code because of this.
11479
11480 2001-06-23  The LyX Project  <jug@sad.it>
11481
11482         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11483         rewritten to discard all double spaces when KeepEmpty is off
11484         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11485         to only handle newlines but not fiddle with spaces and friends.
11486
11487         * lyxfunc.C (MenuNew): when doing 'new from template', use
11488         template_path as default directory
11489
11490 2001-06-23  The LyX Project  <Asger>
11491
11492         * Clean-up of header file includes all over
11493         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11494
11495 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * paragraph.h: renamed from lyxparagraph.h
11498
11499 2001-06-23  Asger  <lyx@violet.home.sad.it>
11500
11501         * Buffer.h: Removed Buffer::resize
11502         * BufferList.h: Removed BufferList::resize
11503         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11504         the document lazily when we change the width, or the font settings.
11505
11506 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11509
11510 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * buffer.h: remove out of date comment
11513
11514 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * lyxscreen.h:
11517         * screen.C: fix "theoretical" GC leak
11518
11519 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * LaTeX.C (scanAuxFile):
11522         (deplog): remove trailing \r when reading stream (useful under
11523         win32)
11524
11525 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11526
11527         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11528         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11529         and BufferView::theLockingInset(Inset*), so should use them and not
11530         access bv_->text->the_locking_inset directly.
11531
11532         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11533
11534 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * Makefile.am:
11537         * tex-defs.h: remove old unused file
11538
11539 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * BufferView_pimpl.C: fix typo, remove minibuffer message
11542           when buffer has loaded
11543
11544 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * lyxfunc.C (Dispatch): use stringstream
11547         (MenuNew): use stringstream
11548         (Open): use stringstream
11549
11550         * importer.C (Import): use stringstream
11551
11552         * bufferview_funcs.C (CurrentState): use stringstream
11553
11554         * LaTeX.C (run): use stringstream
11555
11556         * BufferView_pimpl.C (savePosition): use stringstream
11557         (restorePosition): use stringstream
11558         (MenuInsertLyXFile): use stringstream
11559
11560 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11561
11562         * BufferView.C:
11563         * Bullet.C:
11564         * ColorHandler.C:
11565         * FontInfo.C:
11566         * FontLoader.C:
11567         * LColor.C:
11568         * LaTeXFeatures.C:
11569         * Painter.C:
11570         * gettext.C:
11571         * lyx_gui_misc.C:
11572         * lyxserver.C:
11573         * vspace.C: removed // -*- C++ -*- as first line.
11574
11575         * lyxfind.h:
11576         * version.h: added // -*- C++ -*- as first line.
11577
11578 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11579
11580         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11581
11582         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11583         of string
11584
11585 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11588         of floats.
11589
11590 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11591
11592         * gettext.C: include LString.h even when --disable-nls is on.
11593
11594 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11595
11596         * converter.h (Get): changed argument type from int to
11597         FormatList::size_type to avoid unnecessary conversion.
11598
11599         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11600         before using it.
11601
11602 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11603
11604         * gettext.h: include LString.h even when --disable-nls is on.
11605
11606 2001-06-07  Juergen Vigna  <jug@sad.it>
11607
11608         * text.C (BreakAgain): subst spaces with tabs.
11609
11610         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11611         (resizeInsetsLyXText): set force on resizeLyXText.
11612
11613 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11614
11615         * gettext.h (gettext_init):
11616         (locale_init): use a real definition instead of a macro
11617
11618 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * Bufferview_pimpl.C:
11621         * LColor.h:
11622         * LColor.C: further lcolor tidies
11623
11624 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11625
11626         * BufferView_pimpl.C (updateScrollbar): simplify.
11627
11628         * BufferView2.C: don't include insets/insetinfo.h, change
11629         prototype for insertInset and call the Pimpl version. let
11630         updateInset call Pimpl version.
11631
11632         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11633         gotoInset to BufferView::Pimpl
11634
11635 2001-06-01  Juergen Vigna  <jug@sad.it>
11636
11637         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11638         inside a LockingInset (is the update needed at all?).
11639
11640 2001-05-31  Juergen Vigna  <jug@sad.it>
11641
11642         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11643         here not the old one otherwise how should we compare it afterwards
11644         if it's the same!
11645
11646 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * lyxfont.C:
11649         * tabular.C:
11650         * tabular-old.C:
11651         * FontInfo.C: bring C functions into global namespace when
11652         necessary
11653
11654 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11655
11656         * LString.h: make sure config.h has been loaded before LString.h.
11657
11658         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11659         (one for each char read by EatLine!).
11660
11661         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11662         variables.
11663
11664 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11667         to the same as the par we break from
11668
11669 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11672
11673         * MenuBackend.C (expand): also create menu entries for wide
11674         versions of the floats.
11675
11676         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11677
11678         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11679
11680         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11681         frontends/Makefile.am
11682
11683         * text2.C: adjust
11684         * text.C: adjust
11685
11686
11687         * tabular.C (getTokenValue): add std::
11688
11689         * tabular-old.C (getTokenValue): add std::
11690         (getTokenValue): ditto
11691         (getTokenValue): ditto
11692
11693         * screen.C (ToggleSelection): adjust
11694
11695         * lyxtext.h: put selection cursors inside a Selection struct.
11696
11697         * lyxfunc.C (moveCursorUpdate): adjust
11698
11699         * lyxfont.C (latexWriteStartChanges): add std::
11700
11701         * lyxfind.C: adjust
11702
11703         * font.h: delete with(char const *, LyXFont const &)
11704
11705         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11706
11707         * FontInfo.C (getFontname): add std::
11708
11709         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11710         (workAreaButtonPress): adjust
11711         (tripleClick): adjust
11712         (update): adjust
11713         (moveCursorUpdate): adjust
11714         (Dispatch): adjust
11715
11716         * BufferView2.C (gotoInset): adjust
11717
11718 2001-05-30  Juergen Vigna  <jug@sad.it>
11719
11720         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11721         to check pspell I add this as default as I now have new pspell
11722         libraries and they seem to use this.
11723
11724 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * text2.C (CutSelection): make the cursor valid before the call to
11727         ClearSelection.
11728
11729 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11730
11731         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11732         relied on 0 terminated strings and other horrors. Bug found due to
11733         the new assert in lyxstring!
11734
11735         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11736         KP_ keys.
11737
11738 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11741         to latinkeys.bind.
11742
11743         * lyxfunc.C (processKeySym): change method of getting to the
11744         self-insert char.
11745
11746         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11747         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11748         * BufferView_pimpl.[Ch]: here as private methods.
11749
11750 2001-05-28  Juergen Vigna  <jug@sad.it>
11751
11752         * text.C (SetHeightOfRow): added the update() call again as it is
11753         needed to initialize inset dimensions!
11754
11755 2001-05-16  Juergen Vigna  <jug@sad.it>
11756
11757         * text2.C (SetCharFont): Add new function with BufferView * and
11758         bool toggleall parameters for setting insets internal fonts.
11759         (SetFont): Freeze the undo as we may change fonts in Insets and
11760         all this change should be inside only one Undo!
11761
11762         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11763         setting font's in insets as for them we have the SetFont function!
11764
11765 2001-05-15  Juergen Vigna  <jug@sad.it>
11766
11767         * text2.C (ClearSelection): to be sure we REALLY don't have any
11768         selection anymore!
11769
11770         * tabular.C (TeXCellPreamble): fixed the left border problem for
11771         multicolumn cells.
11772
11773 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11774
11775         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11776         dependancy file
11777
11778 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11779
11780         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11781         LFUN_BREAKPARAGRAPH.
11782
11783         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11784         help test to "internal only", similar for LFUN_INSERT_URL
11785
11786         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11787         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11788         auto_region_delete and deadkeys.
11789
11790 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * LColor.h:
11793         * LColor.C: remove some dead entries, tidy a little
11794
11795 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11796
11797         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11798         commented code.
11799         (Dispatch): implement LFUN_ESCAPE
11800
11801         * commandtags.h: add LFUN_ESCAPE
11802
11803         * LyXAction.C (init): add entry for LFUN_ESCAPE
11804
11805         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11806         Remove commented code.
11807         (insertNote): moved here
11808         (open_new_inset): moved here
11809
11810         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11811         BufferView_pimpl
11812
11813 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11814
11815         * kbmap.C (findbinding): clean it up and make it work correctly.
11816
11817         * lyx_main.C (init): do not pass argc and argv as parameters
11818
11819 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11820
11821         * buffer.C: fix path for OS/2 & Win32
11822
11823         * lyx_gui.C:
11824         * lyx_main:
11825         * lyx_main.C: Added os:: class.
11826
11827         * os2_defines.h: update
11828
11829 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11832         better by trying again with reduced state.
11833
11834 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11835
11836         * lyxrc.C (read): print error about invalid key sequence only when
11837         debugging (because not all latinX keysyms are known to some X
11838         servers)
11839
11840         * kbsequence.C (getiso): add a few std:: qualifiers
11841         (getiso): comment out extra return statement.
11842
11843 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11846         handling.
11847         (Dispatch): enhance the accent inset a bit. (not perfect)
11848
11849 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11852
11853 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * bufferlist.C (emergencyWrite): fix assert() call
11856
11857 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11858
11859         * text.C (InsertChar): Added trivial patch to only send the "you
11860         can not do multiple spaces this way" message once during a
11861         session.
11862
11863 2001-05-08  Baruch Even  <baruch@lyx.org>
11864
11865         * Makefile.am: Changed order of libraries to get LyX to link properly
11866         with the gnome frontend.
11867
11868 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * LaTeXFeatures.h: add a std:: qualifier
11871
11872 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * paragraph.C (String): use stringstream
11875
11876 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * paragraph.C (writeFile): remove footflag arg
11879
11880         * buffer.C (makeLaTeXFile): use stringstream
11881         (latexParagraphs): remove footnot gurba
11882
11883         * LaTeXFeatures.C (getPackages): use stringstream
11884         (getMacros): likewise
11885         (getTClassPreamble): likewise
11886         (getFloatDefinitions): new method
11887
11888         * paragraph.C (writeFile): reindent
11889         (Erase): reindent
11890
11891         * WorkArea.h: revert the xpos + etc changes.
11892
11893         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11894
11895         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11896
11897         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11898         (pasteSelection): likewise
11899         * text2.C (CreateUndo): likewise
11900
11901 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * minibuffer.C (peek_event): temporarily reduce the functionality
11904         of the minibuffer (to allow args on lfuns)
11905
11906         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11907         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11908
11909         * buffer.C (readInset): add compability reading of old float
11910         lists, add reading of new style float list.
11911         (readInset): avoid reevaluation of inscmd.getCmdName()
11912         (getLists): reindent
11913
11914         * MenuBackend.C (MenuItem): implement parsing of
11915         md_floatlistinsert and md_floatinsert.
11916         (expand::LastFiles): move initalizaton of iterators out of loop,
11917         avoid reevaluation.
11918         (expand::Documents): introduce typdedef vector<string> Strings,
11919         and use it.
11920         (expand::ExportFormats): introduce typedef vector<Format const *>
11921         Formats, and use it.
11922         (expand): implement FloatListInsert and FloatInsert.
11923
11924         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11925         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11926         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11927
11928         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11929         handling.
11930         (Dispatch::LFUN_FLOAT_LIST): implement
11931
11932 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11933
11934         * LaTeX.C (run): Fix problem with --export code.
11935
11936 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11937
11938         * BufferView.[Ch] (workarea): removed.
11939         (getClipboard) new method; wrapper for workarea()->getClipboard()
11940
11941         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11942         bug.
11943
11944         * WorkArea.h (width, height, xpos, ypos): These methods all
11945         returned the dimensions of the work_area sub-area of WorkArea,
11946         resulting in a position error if the WorkArea were resized. Now
11947         return the dimensions of the entire WorkArea.
11948
11949         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11950
11951 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11952
11953         * LaTeX.C (deplog): correct the syntax of regex reg1
11954
11955 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * undo.C: remove !NEW_INSETS cruft
11958
11959 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * text2.C: remove !NEW_INSETS cruft
11962
11963         * text.C: remove !NEW_INSETS cruft
11964
11965         * tabular.C: remove !NEW_INSETS cruft
11966
11967         * spellchecker.C: remove !NEW_INSETS cruft
11968
11969         * lyxtext.h: remove !NEW_INSETS cruft
11970
11971         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11972
11973         * lyxfunc.C: remove !NEW_INSETS cruft
11974
11975         * lyxfind.C: remove !NEW_INSETS cruft
11976
11977         * lyx_cb.C: remove !NEW_INSETS cruft
11978
11979         * figureForm.C: remove  !NEW_INSETS cruft
11980
11981         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11982
11983         * buffer.[Ch]: remove !NEW_INSETS cruft
11984
11985         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11986
11987         * CutAndPaste.C: remove !NEW_INSETS cruft
11988
11989         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11990
11991         * BufferView2.C: remove !NEW_INSETS cruft
11992
11993         * BufferView.h: remove !NEW_INSETS cruft
11994
11995 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11996
11997         * Lsstream.h: include LString.h before the sstream headers to
11998         fix problem with gcc 2.95.3 and lyxstring
11999
12000 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12001
12002         * lyx_main.C: add using directives when needed for C functions
12003         declared in std:: namespace.
12004
12005 2001-04-27  Juergen Vigna  <jug@sad.it>
12006
12007         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12008         (SetHeightOfRow): comment out the update call should not be needed!
12009
12010 2001-04-13  Juergen Vigna  <jug@sad.it>
12011
12012         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12013         (LyXTabular): tried to minimize operator= operations (and realized
12014         hopfully Lars wish).
12015
12016 2001-04-27  Juergen Vigna  <jug@sad.it>
12017
12018         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12019
12020 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12023
12024         * buffer.C (readInset): hack to make listof algorithm work
12025
12026         * BufferView_pimpl.C: hack to make listof algorithm work
12027
12028 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * LyXAction.C: removed all !NEW_INSETS cruft
12031         (init): moved lfun_item in method
12032
12033         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12034
12035 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12036
12037         * BufferView2.C (theLockingInset): white space.
12038
12039 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * minibuffer.C: include <iostream>
12042
12043         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12044
12045         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12046
12047         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12048
12049         * text.[Ch] (TransposeChars): new method
12050
12051 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12052
12053         * call message directly through LyXView instead of through LyXFunc
12054         * BufferView2.C: adjust
12055         * BufferView_pimpl.C: adjust
12056         * FontLoader.C: adjust
12057         * buffer.C: adjust
12058         * bufferview_funcs.C: adjust
12059         * converter.C: adjust
12060         * figureForm.C: adjust
12061         * importer.C: adjust
12062         * lyx_cb.C: adjust
12063         * lyx_gui_misc.C: adjust
12064         * lyxfunc.C: adjust
12065         * lyxvc.C: adjust
12066         * text2.C: adjust
12067         + more files in subdirs
12068
12069         * lyxparagraph.h (size): move up int file
12070         (GetLayout): ditto
12071
12072         * adjust all uses of Assert to lyx::Assert.
12073
12074         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12075         lyxfunctional in namespace lyx
12076         * layout.C (hasLayout): ditto
12077         (GetLayout): ditto
12078         (GetLayout): ditto
12079         (delete_layout): ditto
12080         (NumberOfClass): ditto
12081         * converter.C (GetFormat): ditto
12082         (GetNumber): ditto
12083         (Add): ditto
12084         (Delete): ditto
12085         (SetViewer): ditto
12086         * bufferlist.C (getFileNames): ditto
12087         (emergencyWriteAll): ditto
12088         (exists): ditto
12089         (getBuffer): ditto
12090         * MenuBackend.C (hasSubmenu): ditto
12091         (hasMenu): ditto
12092         (getMenu): ditto
12093         * BufferView_pimpl.C (getInsetByCode): ditto
12094
12095 2001-04-18  Juergen Vigna  <jug@sad.it>
12096
12097         * vspace.C (asLatexString): fixed the 100% problem.
12098
12099 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12100
12101         * lyxfunc.C (Dispatch):
12102         * minibuffer.C:
12103         * minibuffer.h: add a few std:: qualifiers
12104
12105 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * minibuffer.[Ch]: reimplement so that commands is initiated and
12108         run from lyxfunc, simplified som handling, and made the completion
12109         and history code for complete. wip.
12110
12111         * lyxfunc.C (processKeySym): call message
12112         (miniDispatch): new temporary method
12113         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12114         (LFUN_MESSAGE): implement
12115         (LFUN_MESSAGE_PUSH): implement
12116         (LFUN_MESSAGE_POP): implement
12117         (initMiniBuffer): the initial/defualt minibuffer message.
12118
12119         * lyxfont.[Ch]: inline some more getters
12120
12121         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12122
12123         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12124
12125         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12126         (AutoSave): use LFUN_MESSAGE
12127         (Reconfigure): ditto
12128
12129         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12130
12131         * figureForm.C: use LFUN_MESSAGE
12132
12133         * converter.C (runLaTeX): use LFUN_MESSAGE
12134
12135         * bufferview_funcs.C: use LFUN_MESSAGE
12136         (Melt): ditto
12137         (changeDepth): ditto
12138
12139         * bufferparams.h: use boost::
12140
12141         * bufferlist.h: inherit privately from noncopyable
12142
12143         * bufferlist.C (loadLyXFile): remove some commented code.
12144
12145         * buffer.C (runChktex): use LFUN_MESSAGE
12146
12147         * ShareContainer.h: inherit privately from noncopyable
12148
12149         * ParagraphParameters.[hC] (depth): inline it.
12150
12151         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12152         methods.
12153         (message): new method
12154         (messagePush): ditto
12155         (messagePop): ditto
12156         (show): init minibuffer
12157         (showState): direct call
12158
12159         * LaTeX.[Ch]: inherit privately from noncopyable
12160         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12161         instead of WriteStatus.
12162
12163         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12164
12165         * BufferView_pimpl.C (buffer): don't init minibuffer
12166         (workAreaButtonPress): use LFUN_MESSAGE
12167         (workAreaButtonRelease): ditto
12168         (savePosition): ditto
12169         (restorePosition): ditto
12170         (MenuInsertLyXFile): ditto
12171         (workAreaExpose): don't init minibuffer
12172         (update): remove commented code, simplify
12173
12174         * BufferView2.C (openStuff): use LFUN_MESSAGE
12175         (toggleFloat): ditto
12176         (menuUndo): ditto
12177         (menuRedo): ditto
12178         (copyEnvironment): ditto
12179         (pasteEnvironment): ditto
12180         (copy): ditto
12181         (cut): ditto
12182         (paste): ditto
12183         (gotoInset): ditto
12184         (updateInset): remove some commented code
12185
12186         * lastfiles.h: inherit privately from noncopyable
12187         * layout.h: ditto
12188         * lyx_gui.h: ditto
12189         * lyx_main.h: ditto
12190         * lyxlex.h: ditto
12191         * lyxlex_pimpl.h: ditto
12192
12193         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12194         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12195         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12196
12197         * LyXAction.h: inherit privately from noncopyable, add methods
12198         func_begin, func_end, returning iterators to the func map.
12199
12200         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12201         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12202         (func_begin): new method
12203         (func_end): new method
12204
12205         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12206         and not)
12207         (copySelection): ditto
12208         (pasteSelection): ditto
12209
12210         * BufferView.C: whitespace change
12211         * BufferView.h: inherit privately from noncopyable
12212
12213 2001-04-16  Allan Rae  <rae@lyx.org>
12214
12215         * tabular-old.C (l_getline):
12216         * spellchecker.C (sc_check_word):
12217         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12218         an unrecognised preprocessor directive.  So ensure they're wrapped.
12219
12220 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * src/exporter.C (Export): Give an error message when path to file
12223         contains spaces.
12224
12225 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12226
12227         * LaTeX.C (deplog): Always check that foundfile exists.
12228
12229 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * lyx_main.h:
12232         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12233
12234 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * tabular.[Ch] (getLabelList): implement new method
12237
12238         * minibuffer.h: comment ouf setTiimer
12239
12240         * minibuffer.C (ExecutingCB): constify res
12241         (peek_event): constify s
12242         (Set): constify ntext
12243         (Init): constify nicename
12244
12245         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12246
12247         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12248         (savePosition): use two params to Minibuffer::Set
12249         (restorePosition): ditto
12250
12251 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12252
12253         * lyx_main.C: include language.h
12254
12255         * Makefile.am (lyx_main.o): add language.h
12256
12257 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12258
12259         * exporter.C:
12260         * paragraph.C:
12261         * screen.C:
12262         * tabular.C:
12263         * CutAndPaste.C: include gettext.h
12264
12265         * lyxfont.h: remove old hack with ON and OFF.
12266
12267         * lyxparagraph.h:
12268         * lyxfont.h: do not include language.h...
12269
12270         * BufferView2.C:
12271         * LaTeXFeatures.C:
12272         * Painter.C:
12273         * bufferview_funcs.C:
12274         * font.C:
12275         * lyxfont.C:
12276         * text.C:
12277         * text2.C:
12278         * trans_mgr.C:
12279         * paragraph.C: ... but do it here instead
12280
12281 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12284
12285         * tabular.C: small reformat
12286
12287         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12288         NEW_INSETS version
12289         (GetChar): ditto
12290         (BreakParagraph): ditto
12291         (SetOnlyLayout): ditto
12292         (SetLayout): ditto
12293
12294         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12295         with one arg less.
12296
12297         * lastfiles.C: removed most using decl, add std:: where needed
12298
12299         * buffer.C: ws changes
12300
12301         * MenuBackend.C (class compare_format): put into anon namespace
12302         (expand): constify label, names, action, action2
12303         (expand):
12304
12305         * text.C (SingleWidth): constify font
12306         (IsBoundary): constify rtl2
12307         (GetVisibleRow): constify ww
12308
12309         * LaTeX.C (deplog): constify logfile
12310
12311         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12312         start_x, end_x
12313         (workAreaExpose): constify widthChange, heightChange
12314
12315         * lyxrow.C (par): moved
12316         (height): moved
12317         (next): moved
12318         * lyxrow.h: as inlines here
12319
12320         * lyxfont.h (shape): moved from lyxfont.C
12321         (emph): moved from lyxfont.C
12322
12323         * lyxfont.C (LyXFont): use initialization list for all
12324         constructors
12325         (shape): move to lyxfont.h as inline
12326         (emph): move to lyxfont.h as inline
12327
12328
12329 2001-04-04  Juergen Vigna  <jug@sad.it>
12330
12331         * vspace.C: had to include stdio.h for use of sscanf
12332
12333 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12334
12335         * BufferView.h:
12336         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12337         independent of xforms.
12338
12339 2001-04-02  Juergen Vigna  <jug@sad.it>
12340
12341         * spellchecker.C: fixed namespace placing!
12342
12343 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12344
12345         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12346         the LyXParagraph * is 0.
12347
12348 2001-03-29  Juergen Vigna  <jug@sad.it>
12349
12350         * vspace.C: added support for %, c%, p%, l%.
12351         (stringFromUnit): added helper function.
12352         (asLatexString): changed to give right results for the %-values.
12353
12354         * buffer.C: convert the widthp in a width%.
12355
12356 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12357
12358         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12359         figureForm.[Ch].
12360
12361         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12362         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12363
12364         * lyx_cb.[Ch]: see above.
12365
12366         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12367         form1.[Ch].
12368
12369         * form1.[Ch]:
12370         * lyx.[Ch]: replaced by figure_form.[Ch].
12371
12372         * lyx_gui.C:
12373         * lyx_gui_misc.C:
12374         * lyxfunc.C: changed headers associated with above changes.
12375
12376 2001-03-27  Juergen Vigna  <jug@sad.it>
12377
12378         * BufferView_pimpl.C: set the temporary cursor right!
12379
12380 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12381
12382         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12383
12384 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * LString.h: removed "using std::getline"!
12387
12388         * BufferView_pimpl.C (Dispatch): changes due to changes in
12389         InsetInclude::Params.
12390
12391         * buffer.C (tag_name): removed redundant break statements as they were
12392         producing lots of warnings with my compiler.
12393
12394 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12395
12396         * LString.h: add "using std::getline" when using the real <string>.
12397
12398 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12399
12400         * buffer.C: removed bitset usage.
12401         PAR_TAG moved to an anonymous name space.
12402         (tag_name): new funtion, also in the anonymous namespace.
12403         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12404         (makeDocBookFile): clean code. Completed transition from string arrays
12405         to string vectors.
12406         (SimpleDocBookOnePar): code clean.
12407
12408 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12409
12410         * tabular.C: add some comments.
12411
12412 2001-03-22  Juergen Vigna  <jug@sad.it>
12413
12414         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12415         compatibility read a bit and fixed bug with minipage in different
12416         depth.
12417
12418 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12419
12420         * buffer.C (pop_tag): removed.
12421         (push_tag): removed.
12422         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12423         array replaced with vector. Added support for CDATA sections.
12424         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12425         at any nest level.
12426         (makeDocBookFile): XML conformant declaration of CDATA section,
12427         fixed bug related to <emphasis> in the first paragraph char.
12428         (sgmlOpenTag): exclude empty tags.
12429         (sgmlCloseTag): ditto.
12430
12431         * buffer.h (pop_tag): removed.
12432         (push_tag): removed.
12433
12434 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * language.h (Languages): added size_type and size().
12437
12438 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12439
12440         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12441         response on compability reading of minipages. One probliem is that
12442         the old usage of minipages was «flertydig»
12443
12444         * several files here and in subdirs: don't use static at file
12445         scope use anon namespaces instead.
12446
12447 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12448
12449         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12450         LaTeX output. This is necessary for Literate document
12451         processing.
12452
12453 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12454
12455         * buffer.C: insert hfill when needed.
12456
12457         * tabular.C (l_getline): use string::erase, small whitespace change.
12458
12459         * BufferView_pimpl.C: try the anon namespace.
12460         * WorkArea.C: ditto
12461
12462 2001-03-16  Juergen Vigna  <jug@sad.it>
12463
12464         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12465         otherwise it won't open options-dialogs.
12466
12467         * buffer.C: honor pextraWidth(p) on converting minipages.
12468
12469         * tabular.C (l_getline): changed the functions to strip trailing \r.
12470
12471 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12472
12473         * BufferView_pimpl.C:
12474         * minibuffer..C: added "using SigC::slot" declaration.
12475
12476 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12477
12478         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12479
12480         * text2.C: ditto
12481
12482         * text.C: ditto
12483
12484         * paragraph.C: ditto
12485
12486         * lyxtext.h: NO_PEXTRA
12487
12488         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12489
12490         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12491         * ParameterStruct.h: ditto
12492         * ParagraphParameters.h: ditto
12493         * lyxparagraph.h: ditto
12494
12495 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12496
12497         * buffer.C: add compability for minipage alignment.
12498         (latexParagraphs): remove unwanted pextra check.
12499
12500         * several files: remove CXX_WORKING_NAMESPACES
12501
12502         * buffer.C (pop_tag): tie is in namespace boost
12503
12504         * BufferView.h: noncopyable is in namespace boost
12505         * lyxlex.h: ditto
12506         * lyx_main.h: ditto
12507         * lyx_gui.h: ditto
12508         * layout.h: ditto
12509         * lastfiles.h: ditto
12510         * bufferlist.h: ditto
12511         * ShareContainer.h: ditto
12512         * LyXView.h: ditto
12513         * LyXAction.h: ditto
12514         * LaTeX.h: ditto
12515
12516 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12517
12518         * Merging changes from BRANCH_MVC back into HEAD.
12519
12520         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12521
12522 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * BufferView_pimpl.C: change from intl.C
12525
12526         * combox.h:
12527         * combox.C:
12528         * Makefile.am: move combox.*
12529
12530         * form1.h:
12531         * form1.C:
12532         * lyx_gui.C:
12533         * intl.h:
12534         * intl.C: remove dialog (covered by prefs)
12535
12536 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12537
12538         * lyxfunc.C (Dispatch): removed redundant break statement.
12539
12540 2001-03-14  Juergen Vigna  <jug@sad.it>
12541
12542         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12543
12544 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12545
12546         * buffer.C: add hack to fix compability reading of minipages.
12547
12548 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12549
12550         * buffer.C (getLists): Cleanup.
12551
12552 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12553
12554         * lyxfont.C (update): don't honor toggleall on font size.
12555
12556 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * bmtable.c:
12559         * bmtable.h:
12560         * Makefile.am: moved to frontends/xforms/
12561
12562         * lyx_gui_misc.C:
12563         * lyxfunc.C:
12564         * BufferView_pimpl.C: changes for moved mathpanel
12565
12566 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12567
12568         * gettext.h: fix gettext_init() in --disable-nls
12569
12570 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12573
12574 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12575
12576         * lyx.C:
12577         * lyx.h: strip external form
12578
12579 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * BufferView_pimpl.C: add comment, destroySplash()
12582
12583 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * BufferView_pimpl.C:
12586         * LyXAction.C:
12587         * buffer.C:
12588         * commandtags.h:
12589         * lyxfunc.C: use re-worked insetinclude
12590
12591 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12592
12593         * buffer.C: add using std::stringstream.
12594
12595         * lyx_cb.C: readd using std::ios.
12596
12597         * buffer.C: add using std::map.
12598
12599         * BufferView_pimpl.C: add using std::vector.
12600
12601         * ShareContainer.h: add std:: to swap.
12602
12603         * buffer.h: add some typedefs
12604         * buffer.C (getLists): use them
12605         (getLists): renamed from getTocList.
12606         add a counter for the different float types and use it in the
12607         generated string.
12608         (getLists): use the same counter for the NEW_INSETS and the "non"
12609         NEW_INSETS
12610
12611         * lyx_cb.h: remove unused items, includes, using etc.
12612
12613         * ShareContainer.h: remove some commented code, add more comments
12614         and "documentation".
12615
12616 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12617
12618         * buffer.C (getTocList): make the list also when NEW_INSETS is
12619         defined.
12620
12621         * buffer.h: remove TocType
12622
12623         * buffer.C (getTocList): change to return a map<string,
12624         vector<TocItem> >, implement for dynamic number of list.
12625
12626         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12627         * text2.C (PasteSelection): adjust
12628         * CutAndPaste.C (pasteSelection): adjust
12629
12630         * FloatList.C (FloatList): update from the new_insets branch.
12631         * Floating.[Ch]: ditto
12632         * LaTeXFeatures.C: ditto
12633         * buffer.C: ditto
12634         * lyxlex_pimpl.C: ditto
12635
12636         * paragraph.C (Last): remove when NEW_INSETS is defined.
12637
12638         * other file: changes because of the above.
12639
12640 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12641
12642         * lyxparagraph.h: rename next to next_, previous to previous_,
12643         make them private for NEW_INSETS. Rename Next() to next(),
12644         Previous() to previous().
12645
12646         * other files: changes because of the above.
12647
12648 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12649
12650         * BufferView.h:
12651         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12652         problem.
12653
12654 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * main.C (main): pass lyx_localedir to gettext_init().
12657
12658         * gettext.h: remove locale_init and gettext_init macros
12659
12660         * gettext.C (locale_init): new function
12661         (gettext_init): new function
12662
12663         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12664         setlocale().
12665
12666 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12667
12668         * Moved credits to frontends:
12669         * credits.[Ch]: removed
12670         * credits_form.[Ch]: removed
12671         * lyx_gui_misc.C: remove credits stuff
12672         * Makefile.am:
12673
12674 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12675
12676         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12677
12678         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12679         unneeded destructor.
12680
12681         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12682         a standalone pointer again.
12683
12684         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12685
12686 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * Makefile.am:
12689         * filedlg.h:
12690         * filedlg.C:
12691         * LyXAction.C:
12692         * ToolbarDefaults.C:
12693         * bufferlist.C:
12694         * commandtags.h:
12695         * form1.C:
12696         * form1.h:
12697         * lyx_cb.C:
12698         * lyx_cb.h:
12699         * lyxfunc.h:
12700         * lyxfunc.C:
12701         * BufferView_pimpl.C: use new file dialog in GUII
12702
12703         * lyx_cb.h:
12704         * lyx_cb.C: remove LayoutsCB to Toolbar
12705
12706 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * ShareContainer.h (get): add std:: qualifier
12709
12710 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * ShareContainer.h: define a proper ShareContainer::value_type
12713         type (and use typename to please compaq cxx)
12714
12715 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12716
12717         * lyxparagraph.h: move serveral local vars to
12718         ParameterStruct/ParagraphParameters., use ShareContainer in
12719         FontTable., make vars in FontTable private and add getter and
12720         setter.
12721
12722         * paragraph.C: changes because of the above.
12723
12724         * lyxfont.h: remove copy constructor and copy assignment. (the
12725         default ones is ok), move number inside FontBits. move inlines to
12726         lyxfont.C
12727
12728         * lyxfont.C: add number to initializaton of statics, move several
12729         inlines here. constify several local vars. some whitespace
12730         cleanup. Dont hide outerscope variables.
12731
12732         * Spacing.h: add two new constructors to match the set methods.
12733
12734         * ShareContainer.h: new file, will perhaps be moved to support
12735
12736         * ParameterStruct.h: new file
12737
12738         * ParagraphParameters.h: new file
12739
12740         * ParagraphParameters.C: new file
12741
12742         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12743         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12744
12745         * BufferView_pimpl.C: ParagraphParameter changes.
12746         * buffer.C: Likewise.
12747         * bufferview_funcs.C: Likewise.
12748         * text.C: Likewise.
12749         * text2.C: Likewise.
12750
12751 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12752
12753         * lyxfind.C (LyXReplace): do not redefine default argument in
12754         implementation.
12755         (IsStringInText): ditto
12756         (SearchForward): ditto
12757         (SearchBackward): ditto
12758
12759 2001-03-06  Juergen Vigna  <jug@sad.it>
12760
12761         * lyxfind.C (IsStringInText): put parentes around expressions.
12762
12763 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12764
12765         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12766
12767 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12770
12771         * stl_string_fwd.h: add comment
12772
12773         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12774
12775         * tabular.h:
12776         * tabular.C: remove unused DocBook methods
12777
12778         * intl.C:
12779         * language.C:
12780         * paragraph.C:
12781         * buffer.C:
12782         killed DO_USE_DEFAULT_LANGUAGE
12783
12784 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12785
12786         * lyx_gui.C: do not include language.h.
12787
12788         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12789         arguments in function implementation.
12790
12791 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12792
12793         * BufferView_pimpl.C: add <ctime>
12794
12795 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12796
12797         * BufferView_pimpl.C: add using std::find_if
12798
12799 2001-02-27  José Matos  <jamatos@fep.up.pt>
12800
12801         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12802         by OnlyPath.
12803
12804 2001-02-11  José Matos  <jamatos@fep.up.pt>
12805
12806         * buffer.C (makeDocBookFile): command styles now have a parameter as
12807         "title" by default.
12808
12809 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12810
12811         * layout_forms.[Ch]: removed
12812         * lyx_cb.[Ch]: out character
12813         * lyx_gui.C: out character
12814         * lyx_gui_misc.C: out character
12815         * bufferview_funcs.C: : out character,
12816         added toggleall as parameter in ToggleAndShow
12817
12818 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12819
12820         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12821
12822         * text2.C (SetCurrentFont): Disable number property at boundary.
12823
12824 2001-02-26  Juergen Vigna  <jug@sad.it>
12825
12826         * lyxfunc.C (getStatus): added a string argument override function so
12827         that this is correctly called from LyXFunc::Dispatch if it contains a
12828         do_not_use_argument which is used!
12829         (Dispatch): added check for "custom" export and call appropriate func.
12830
12831 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * lyxrc.C: Add language_command_local, language_use_babel and
12834         language_global_options.
12835
12836         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12837
12838         * buffer.C (makeLaTeXFile): Use language_use_babel and
12839         language_global_options.
12840
12841 2001-02-23  Juergen Vigna  <jug@sad.it>
12842
12843         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12844         which works with LyXText and putted it inside BufferView. Here now we
12845         only call for that part the BufferView::Dispatch() function.
12846
12847         * BufferView.C (Dispatch): added.
12848
12849         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12850         functions which needs to use a LyXText over from LyXFunc.
12851         (MenuInsertLyXFile): added
12852         (getInsetByCode): added
12853         (moveCursorUpdate): added
12854         (static TEXT): added
12855
12856 2001-02-22  Juergen Vigna  <jug@sad.it>
12857
12858         * BufferView_pimpl.C (update): call a status update to see if LyXText
12859         needs it.
12860
12861 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12862
12863         * vc-backend.C (revert): implement for CVS
12864         (getLog): implement for CVS
12865
12866 2001-02-20  Juergen Vigna  <jug@sad.it>
12867
12868         * text2.C (ClearSelection): added BufferView param for inset_owner call
12869
12870         * lyxfunc.C (TEXT): added this function and use it instead of
12871         directly owner->view()-text of getLyXText().
12872
12873 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12874
12875         * src/layout_forms.C: out preamble
12876         * src/layout_forms.h: out preamble
12877         * src/lyx_cb.C: out preamble
12878         * src/lyx_cb.h: out preamble
12879         * src/lyx_gui.C: out preamble
12880         * src/lyx_gui_misc.C: out preamble
12881         * src/lyxfunc.C: connect with guii preamble
12882
12883 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12886
12887 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12888
12889         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12890         whether to run bibtex.
12891
12892 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12893
12894         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12895
12896 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12897
12898         * Makefile.am (lyx_SOURCES): removed bibforms.h
12899
12900         * vspace.h: doxygen
12901
12902         * text.C (GetVisibleRow): make several local vars const
12903
12904         * tabular.C: small cleanup.
12905
12906         * lyxserver.C (callback): use compare instead of strncmp
12907
12908         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12909         inlines to after class or to paragraph.C
12910
12911         * lyxfont.h: remove friend operator!=
12912
12913         * converter.h: move friend bool operator< to non friend and after
12914         class def.
12915
12916         * combox.h: small cleanup
12917
12918         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12919         to inlines after class def.
12920
12921         * buffer.C (pop_tag): use string operations instead of strcmp
12922
12923         * bmtable.c: doxygen, small cleanup
12924
12925         * LaTeX.h: remove friend operator==
12926
12927 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12928
12929         * screen.C:
12930         * lyxrc.[Ch]:
12931         * lyxfunc.C:
12932         * lyxfont.[Ch]:
12933         * lyx_cb.C:
12934         * intl.[Ch]:
12935         * commandtags.h:
12936         * buffer.C:
12937         * WorkArea.[Ch]:
12938         * LyXAction.C:
12939         * BufferView_pimpl.C:
12940         * BufferView.[Ch]: remove cruft
12941
12942 2001-02-14  Juergen Vigna  <jug@sad.it>
12943
12944         * lyxfunc.C: removed #if 0 unused code
12945
12946         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12947
12948         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12949
12950         * text2.C (SetSelection): added a BufferView * parameter
12951
12952 2001-02-13  Juergen Vigna  <jug@sad.it>
12953
12954         * lyxfunc.C (Dispatch): fixed protected blank problem.
12955         * BufferView2.C (protectedBlank): added LyxText * parameter.
12956
12957         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12958         (AppendColumn): same as above for column_info.
12959
12960         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12961         (moveCursorUpdate): use a LyXText param for support of InsetText.
12962
12963         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12964         (tripleClick): ditto
12965
12966         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12967
12968         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12969
12970         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12971
12972         * text2.C (SetSelection): set correct update status if inset_owner
12973         (ToggleFree): ditto
12974
12975 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12976
12977         * tabular.C: remove some commented code.
12978
12979 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * BufferView_pimpl.C: call hideSplash()
12982
12983         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12984
12985         * include_form.h:
12986         * bibforms.h: remove
12987
12988         * lyxfunc.C:
12989         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12990           add LFUN_CHILD_CREATE
12991
12992         * counters.h: fix tiny typo
12993
12994         * lyx_cb.C:
12995         * lyx.h:
12996         * lyx_gui.C:
12997         * lyx.C: move splash to frontends/xforms/
12998
12999         * lyx_gui_misc.C: move Include and Bibform to frontends
13000
13001         * lyxvc.h: clarify comment
13002
13003         * vspace.C: tiny housekeeping
13004
13005 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13006
13007         * text.C (PrepareToPrint): RTL Fix.
13008
13009         * paragraph.C (GetUChar): New method.
13010         (String):  Use GetUChar.
13011
13012         * buffer.C (asciiParagraph): Use GetUChar.
13013
13014 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13017
13018 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * buffer.h:
13021         * buffer.C: rename to getLogName(), handle
13022           build log / latex log nicely
13023
13024 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13025
13026         * MenuBackend.C:
13027         * MenuBackend.h: remove support for reference menuitem type.
13028
13029 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * BufferView_pimpl.C: housekeeping
13032         * BufferView_pimpl.h:
13033         * LyXView.h:
13034         * Makefile.am:
13035         * Timeout.C:
13036         * Timeout.h:
13037         * minibuffer.h: move Timeout GUI-I
13038
13039 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13040
13041         * lyxrc.C (read): Update converters data-structures.
13042
13043 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13044
13045         * LaTeX.h (operator!=): add operator != for Aux_Info
13046
13047 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13050
13051         * LaTeXLog.C: deleted, useful code moved to Buffer
13052
13053         * buffer.h:
13054         * buffer.C: new function getLatexLogName()
13055
13056         * lyx_gui_misc.C:
13057         * lyx_gui.C:
13058         * lyxvc.C:
13059         * lyxvc.h:
13060         * lyxfunc.C: use frontends for LaTeX and VC logs
13061
13062 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * LaTeX.h: yet another std:: that Allan forgot.
13065
13066         * Variables.C (set): renamed from isset(), because this clashes
13067         with some HP-UX macros (grr).
13068
13069 2001-02-06  Allan Rae  <rae@lyx.org>
13070
13071         * LaTeX.h: Another bug fix.  Missing std:: this time.
13072
13073 2001-02-04  Allan Rae  <rae@lyx.org>
13074
13075         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13076         floats problem. I've left it commented out because it's not quite
13077         correct.  It should also test that the current object is a table or
13078         figure inset.  But I haven't gotten around to figuring out how to do
13079         that.  I *think* it'll be something like: "table" == inset.type()
13080
13081         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13082         bool.
13083
13084 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13085
13086         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13087         all the citation/databases/styles in the auxilary file.
13088         (run): Rerun latex if there was a babel language error.
13089
13090 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13091
13092         * text.C (Backspace): Preserve the font when changing newline char
13093         with a space.
13094         (BreakParagraph): If the cursor is before a space, delete the space.
13095
13096         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13097
13098 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13099
13100         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13101         new argument (code).
13102         (ChangeCitationsIfUnique): New method.
13103
13104         * paragraph.C (GetPositionOfInset): Handle bibkey.
13105
13106 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * BufferView_pimpl.h: change type of Position::par_pos to
13109         LyXParagraph::size_type.
13110
13111 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13112
13113         * BufferView_pimpl.C (savePosition, restorePosition): Write
13114         messages to minibuffer.
13115
13116 2001-01-28  José Matos  <jamatos@fep.up.pt>
13117
13118         * buffer.C (makeDocBookFile): adds support for document language.
13119         A silly restriction on the name of LatexCommand types where removed.
13120         Added support for CDATA sections, allows to chars unescaped, used
13121         among others in code, to avoid escape < and >.
13122
13123 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13124
13125         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13126         saved positions instrad of a stack. Furthermore, a position is
13127         stored using paragraph id/paragraph position.
13128
13129         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13130         Remove LFUN_REF_BACK.
13131
13132 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * converter.C (dvipdfm_options): New method.
13135
13136 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13137
13138         * vspace.C (isValidLength): Fix for empty input string.
13139
13140 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13141
13142         * LyXAction.C (init): change description of LFUN_FIGURE to
13143         "Insert Graphics"
13144
13145 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13146
13147         * LaTeX.C: add using directive
13148
13149 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13150
13151         * MenuBackend.C (expand): Fix the sorting of the formats.
13152
13153 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * lyx_main.C: tiny error message fix
13156
13157 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13160         calling fl_initialize(). This fixes the problem with ',' as
13161         decimal separator in text files.
13162
13163 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13164
13165         * trans.C (process): Fix the keymap bug.
13166
13167 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13168
13169         * LaTeX.C (scanAuxFiles): New method. Provides support for
13170         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13171         (scanLogFile) Scan for "run BibTeX" messages.
13172
13173         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13174         OT1 font encoding. Also, load the aecompl package if the ae
13175         package is loaded.
13176
13177         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13178
13179 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13180
13181         * texrow.C (increasePos): turn two error messages into debug
13182         messages.
13183
13184 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13185
13186         * LaTeX.C (scanAux): Handle the \@input macro.
13187         (runBibTeX): Use scanAux().
13188
13189         * language.C (latex_options_): New field.
13190
13191         * LaTeXFeatures.C (getMacros): Add language macros.
13192
13193         * buffer.C (makeLaTeXFile): Small fix.
13194
13195 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13196
13197         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13198
13199         * text2.C: add a using directive.
13200
13201 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * BufferView2.C:
13204         * lyx_gui_misc.h:
13205         * lyxfr1.C:
13206         * lyxfunc.C: kill LyXBell.
13207
13208 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13209
13210         * text.C (IsBoundary): Remove the error message
13211
13212         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13213
13214         * lyxrc.C (setDefaults): Correct initialization value for
13215         font_norm_type.
13216
13217 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13220         gotoError().
13221
13222         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13223         and GotoNextNote().
13224
13225         * src/LyXAction.C: Added reference-next.
13226
13227         * text.C (InsertChar): Use contains instead of strchr.
13228
13229         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13230
13231 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13232
13233         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13234         alignment commands (when needed).
13235
13236         * text.C (InsertChar): Add ':' to number separator chars.