]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
05f6715f484e57ec0e30508d4f30c3c39ee3715d
[lyx.git] / src / ChangeLog
1 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text3.C: fix LFUN_MATH_MODE.
4
5 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * buffer_funcs.C (countWords): new function. Counts words between
8         two iterators.
9
10         * BufferView_pimpl.C (getStatus, dispatch): handle
11         LFUN_WORDS_COUNT.
12
13         * LyXAction.C (init): 
14         * lfuns.h: add LFUN_WORDS_COUNT.
15
16 2004-12-19  Angus Leeming  <leeming@lyx.org>
17
18         * buffer.C (save): s/slashify_path/internal_path/.
19
20 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
21
22         * lyxfind.C (findChange): do not search for end of pars, because
23         the change tracker cannot handle this (fixes bug 1719).
24
25 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * paragraph.[Ch] (autoBreakRows): remove
28
29         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
30
31         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
32         avoid using the paragraph one
33
34         * text2.C (LyXText, insertStringAsLines): adjust
35         
36 2004-12-16  Angus Leeming  <leeming@lyx.org>
37
38         * bufferlist.C:
39         * lyx_main.C: 
40         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
41
42 2004-12-14  Angus Leeming  <leeming@lyx.org>
43
44         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
45
46         * bufferlist.C (emergencyWrite):
47         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
48         GetEnvPath("HOME").
49
50 2004-12-14  Angus Leeming  <leeming@lyx.org>
51
52         * main.C: (main): no longer pass pointers to os::init.
53
54 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * undo.C (textUndoOrRedo): simplify logic, fix a crash
57         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
58
59 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
60
61         * lyxfunc.C: 
62         * text3.C: remove selection_possible global flag
63
64 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
65
66         * text2.C (getSelectionSpan): remove
67         (changeDepth, changeDepthAllowed): adjust
68
69 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
70
71         * Makefile.am (BOOST_LIBS): use boost variables
72
73 2004-12-03  José Matos <jamatos@lyx.org>
74
75         * buffer.C: format up to 238.
76
77 2004-12-03  José Matos  <jamatos@lyx.org>
78
79         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
80
81 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
82
83         * cursor.C (goUpDown): remove call to idxUpDown2
84
85 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * tabular.[Ch]: use size_t-like types for cell, row and column
88         indices
89
90 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * lyxfunc.C (getStatus): do not lose previous information when
93         calling BufferView::getStatus; do not set a default "Command
94         disabled" message at the beginning, but just before returning.
95
96 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
97
98         * cursor.h (getStatus): add better comment from src/cursor.C
99
100 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * text3.C (getStatus): return false when the lfun is not handled
103
104 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
105
106         * broken_headers.h: remove
107
108         * Makefile.am (lyx_SOURCES): remove broken_headers.h
109
110 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
111
112         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
113         offset_ref accessors
114
115         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
116         top_y_, merge fitcursor with update
117         (updateScrollbar, scrollDocView, fitCursor, center, update): new
118         coord scheme
119         (metrics): introduce
120         (workAreaDispatch): adapt to new coord scheme
121         (redoCurrentBuffer): remove
122
123         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
124
125         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
126         CurStatus enum.
127
128         * coordcache.[Ch]: add paragraph cache and helpers
129
130         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
131         adjust everywhere
132
133         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
134         (targetX, setTargetX): introduce
135
136         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
137         baseline -> ascent, as the rest of lyx
138
139         * lyxtext.h: remove redoParagraphs, updateParPositions,
140         fullRebreak, redoParagraphInternal. move dist to anon namespace in
141         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
142         have ascent/descent (ascent is ascent of first par)
143
144         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
145         step of BufferView
146
147         * paragraph.[Ch]: unify dimension handling with the rest of lyx
148
149         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
150
151         * pariterator.C: fix infinite loop introduced in par->pit renaming
152
153         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
154         in insets and LyXText, draw two off-screen paragraphs using
155         NullPainter, and adapt to new coord scheme
156
157         * text.C:
158         * text2.C:
159         * text3.C: adapt lfun handlers to the new coord scheme, which
160         means: there's only guaranteed coord information for onscreen pars
161         plus one above and one below. This implies that one can do search
162         from y coordinates in the range [-1,workHeight]
163
164 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
165
166         * rename a lot of InsetOld to InsetBase
167
168 2004-11-25  Angus Leeming  <leeming@lyx.org>
169
170         * BufferView_pimpl.C:
171         * lyx_cb.C:
172         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
173
174 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
177         call BufferView::getStatus if LCursor::getStatus did nothing
178         (setStatusMessage, getStatusMessage): removed.
179
180         * FuncStatus.C (message): new methods. Used to provide an error
181         message indicating why a command is disabled.
182         (clear, |=, FuncStatus): update for message.
183
184 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
185
186         * lyxfunc.C (dispatch): always call sendDispatchMessage
187
188 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
189
190         * BufferView.C:
191         * BufferView_pimpl.C:
192         * CutAndPaste.C:
193         * FontIterator.C:
194         * buffer.C:
195         * cursor.C:
196         * cursor_slice.[Ch]:
197         * dociterator.[Ch]:
198         * lyxfind.C:
199         * paragraph_funcs.C:
200         * pariterator.C:
201         * rowpainter.C:
202         * text.C:
203         * text2.C:
204         * text3.C:
205         * undo.C: par->pit renaming
206
207 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
208
209         * tabular.C (cellstruct): use initialization, store a shared_ptr
210         to insettext instead of the insettext directly, adjust to fit.
211         (operator=):  new function
212         (swap): new function
213         (rowstruct): use initialization
214         (columnstruct): use initialization
215         (ltType): use initialization
216
217
218         * lyxlength.h (swap): new function
219
220         * LColor.[Ch] (operator=): use the common semantics
221
222 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * lyxfind.C (findNextChange): update the bufferview after setting
225         the selection.
226
227 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
230         number of InsetOptArgs has already been inserted.
231
232         * output_latex.C (latexOptArgInsets): new method. This outputs all
233         the optarg insets, up to the limit defined in the layout file.
234         (optArgInset): removed
235         (TeXOnePar): call latexOptArgInsets; correctly update texrow
236
237 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * paragraph.C (isLetter): remove special spellchecker-related
240         code; return true also for digits
241         (isWord, isKomma): remove
242
243         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
244         * lyxfind.C (MatchString()): use isLetter instead of isWord
245
246 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
247
248         * pariterator.h (operatir=): comment out un-implemented member
249         function.
250
251         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
252         static cast.
253
254 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * lyxfont.h: include LColor.h to satisfy concept checks.
257
258 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
259
260         * pariterator.h: add typdefs for value_type, difference_type,
261         pointer and reference to satisfy concept checks. Also add default
262         constructor for same reason.
263
264         * pariterator.C (operator++): add post-increment operator to
265         satisfy concept checks.
266
267         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
268         checks.
269
270         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
271
272         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
273         checks. Also rename base_type to BaseType to follow naming
274         standard better.
275
276         * FloatList.h: include Floating.h to satisfy concept checks.
277
278 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * lyxfunc.C (getStatus): when the origin of the request is menu or
281         toolbar, and the LyXView does not have focus, do as if there was
282         no buffer (bug 1720)
283
284         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
285         FuncRequest to individual entries of LFUN_SEQUENCE
286
287 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * output_latex.C (TeXOnePar): override runparams.moving_arg
290         according to the needprotect value of the current paragraph (bug
291         1739)
292
293         * paragraph.C (simpleTeXOnePar): no need to override
294         runparams.moving_args here
295
296 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
297
298         * vspace.C: fix off-by-one-error, related to fix #1682
299
300 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * lengthcommon.C: a more general fix for bug 1682
303
304 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * text.C (backspace): fix crash
307
308 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
309
310         * format.[Ch] (getFormatFromFile): new method
311         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
312
313 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
316
317 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * lyxfunc.C (dispatch): remove the verbose argument
320         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
321         instead
322
323         * kbmap.C (defkey): set the origin of func to KEYBOARD
324
325         * MenuBackend.C (MenuItem):
326         * ToolbarBackend.C (add): set the origin of func to UI
327
328         * funcrequest.[Ch]: add origin member, which indicates which part
329         of LyX requests an action
330
331 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
332
333         * converter.C (move): don't lie in the error message
334         * converter.h (isReachable, move): document
335
336 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
337
338         * buffer.C: remove unused using lyx::support::atoi
339         * paragraph_funcs.C: ditto
340
341 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
342
343         * bufferlist.C (exists): use bind and equal_to instead of
344         compare_memfun
345         (getBuffer): ditto
346         * lyxtextclasslist.C (NumberOfClass): ditto
347
348         * cursor.C (insert): use for_each instead of explicit for loop
349
350         * bufferlist.C (getFileNames): use std::transform and
351         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
352
353         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
354         for loop
355
356         * buffer.C (changeLanguage): use for_each instead of explicit for
357         loop
358         (hasParWithID): implement using getParFromID
359
360         * LaTeXFeatures.C: ws change only
361
362         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
363         to cleanup a bit.
364
365         * BufferView_pimpl.C (trackChanges): use for_each instead of
366         expilicit for loop
367
368 2004-11-04  André Pönitz  <poenitz@gmx.net>
369
370         * undo.h:
371         * undo.C (textUndoOrRedo): fix crash when creating undo information.
372
373         * dociterator.C (asDocIterator): use hard assert again.
374
375 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * lyxlength.C (asLatexString): rewrite so that it does not use
378         snprintf anymore
379
380 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * text3.C (specialChar, dispatch): make sure cursor moves to the
383         right after inserting an inset
384
385 2004-11-02  José Matos  <jamatos@lyx.org>
386
387         * output_docbook.C (docbook):
388         * paragraph.C (getID):
389         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
390         garantee that the output is always legal.
391
392         * tabular.C (docbook):
393         * outputprams.[Ch]: remove mixed contents.
394
395 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
396
397         * text2.C (setCounter): prevent endless loop
398
399 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
400
401         * exporter.C (copyFile): use the mover instead of support::copy()
402         * exporter.C (Export): pass format and latex name to copyFile()
403         * exporter.h (addExternalFile): document
404         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
405
406 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
407
408         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
409
410 2004-10-30  José Matos  <jamatos@lyx.org>
411
412         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
413         text and no inset or font change. This allows to use CDATA
414         sections just for the whole paragraph.
415
416 2004-10-30  José Matos  <jamatos@lyx.org>
417
418         * paragraph.C (getFirstWord): remove unused variable.
419
420 2004-10-30  José Matos  <jamatos@lyx.org>
421
422         * paragraph.C (getFirstWord): the content should always be escaped
423         there.
424         (simpleDocBookOnePar):
425         * output_docbook.C (makeEnvironment): replace reference to CDATA
426         to style pass_thru.
427
428 2004-10-30  José Matos  <jamatos@lyx.org>
429
430         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
431
432 2004-10-30  José Matos  <jamatos@lyx.org>
433
434         * output_docbook.C (makeParagraphs):
435         * paragraph.[Ch] (emptyTag): for docbook and company, if the
436         standard paragraph has only a given type of content drop the wrapper.
437
438 2004-10-29  José Matos  <jamatos@lyx.org>
439
440         * output_docbook.C (makeEnvironment):
441         * sgml.C (openTag):
442         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
443
444 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
445
446         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
447         (cleanID): sanitize any id.
448
449 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
450
451         * buffer.C, lyxlex_pimpl.C:
452         * lyxlex_pimpl.C (setFile):
453         s/getExtFromContents/getFormatFromContents/
454
455 2004-10-28  José Matos  <jamatos@lyx.org>
456
457         * output_docbook.C (makeEnvironment): move id to broadest possible
458         scope.
459
460         * sgml.C (openTag): apply substitution of <> for all attributes.
461
462 2004-10-28  José Matos  <jamatos@lyx.org>
463
464         * buffer.C (makeLinuxDocFile, makeDocBookFile):
465         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
466         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
467
468         * sgml.[Ch]: new version for open and closeTag for paragraph and
469         for strings. Now they handle the ids of paragraphs.
470
471 2004-10-26  Angus Leeming  <leeming@lyx.org>
472
473         * Makefile.am: add mover.[Ch].
474
475         * converter.C (convert, move): use the new Movers to move external
476         files to the temp directory.
477
478         * lyx_main.C (init): ensure that the global system_movers data
479         is initialised.
480
481         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
482         preferences file.
483
484         * mover.[Ch]: new files, defining a Mover as a utility to move an
485         external file between directories and, if necessary, manipulate this
486         file using a helper script.
487
488 2004-10-25  José Matos  <jamatos@lyx.org>
489
490         * output_docbook.C (makeCommand): merge two if's that tested the
491         same condition.
492
493 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * sgml.C (escapeString): fix warning in a better way
496
497 2004-10-25  José Matos  <jamatos@lyx.org>
498
499         * sgml.C (escapeString): import the require boosts header file for
500         tie, and avoid a signed unsigned comparison.
501
502 2004-10-25  José Matos  <jamatos@lyx.org>
503
504         * sgml.h: add #include <string>
505
506 2004-10-25  José Matos  <jamatos@lyx.org>
507
508         * sgml.[Ch] (escapeString): new function to escape all the string.
509
510 2004-10-24  José Matos  <jamatos@lyx.org>
511
512         * paragraph.[Ch] (getFirstWord): new function to get the first
513         word. Useful for description.
514         (simpleDocBookOnePar): remove depth argument, add another that
515         says where to start the paragraph.
516
517         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
518         use the new functions to fix cleanly the support for descriptions.
519
520 2004-10-24  José Matos  <jamatos@lyx.org>
521
522         * buffer.C (makeLinuxDocFile, makeDocBookFile):
523         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
524         * output_linuxdoc.C (linuxdocParagraphs):
525         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
526         add buffer as argument.
527
528 2004-10-24  José Matos  <jamatos@lyx.org>
529
530         * output_docbook.C (makeEnvironment, searchEnvironment): place
531         CDATA inside paragraphs and fix scope for listitems.
532
533 2004-10-24  José Matos  <jamatos@lyx.org>
534
535         * output_docbook.C: remove using statement for stack.
536
537 2004-10-23  José Matos  <jamatos@lyx.org>
538
539         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
540         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
541         docbook. The new scheme is recursive and makes use of iterators, the
542         same as latex export works.
543         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
544         directly with the paragraph contents. This code was moved up to
545         output_docbook.C (docbookParagraphs).
546         * sgml.C (openTag, closeTag): removed unneeded newlines.
547         (closeEnvTags) removed.
548
549 2004-10-23  André Pönitz  <poenitz@gmx.net>
550
551         * undo.C (textUndoOrRedo):
552         * dociterator.C (asDocIterator): work around crash
553
554         * cursor.C (getStatus): replace ASSERT by more verbose error message
555           and manual correction of the problem. Should increase stability
556           while providing more sensible information.
557
558 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
561
562         * bufferlist.C (previous, next): new methods
563
564         * lfuns.h:
565         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
566
567 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
568
569         * buffer.C (makeDocBookFile): add dsssl stylesheet control
570         entities to preamble.
571
572 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
573
574         * messages.C (Pimpl): strip off translation context information
575
576 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
579         the cursor is correct (bug 1694)
580
581 2004-10-13  José Matos  <jamatos@lyx.org>
582
583         * output_docbook.C (docbookParagraphs): fix closing tags in the
584         end of the document.
585
586 2004-10-09  José Matos  <jamatos@lyx.org>
587
588         * buffer.C: format up to 237.
589         * bufferparams.C (write): use tostr to convert booleans to strings.
590
591 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
594
595 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * LaTeX.C: implement use of babel language in xindy.
598
599 2004-10-05  José Matos  <jamatos@lyx.org>
600
601         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
602         Add new translators to help reading and writing the lyx file.
603
604 2004-10-05  José Matos  <jamatos@lyx.org>
605
606         * ParagraphParameters.C (read):
607         * text.C (readParToken): replace nexToken by more appropriate lex
608         methods.
609
610 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
611
612         * LaTeX.C (runMakeIndex):
613         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
614         (usually 'makeindex') configurable.
615
616         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
617         with a variable rather than with a number.
618
619 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * output_latex.C (TeXOnePar): make sure font setting is the first
622         thing that gets output (and the last at the end). Should fix bug
623         1404.
624
625 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
626
627         * pch.h: use proper signal include
628
629         * LaTeX.h: Use preferred calling of Boost.Signal
630         * buffer.h: ditto
631
632 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
633
634         * pch.h: dont include <boost/function/function0.hpp>
635
636         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
637
638         * paragraph_pimpl.h: remove usage of ShareContainer
639
640         * paragraph_pimpl.C: remove initialization of ShareContainer.
641
642 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         Fix bug #1666
645
646         * BufferView.C (putSelectionAt): change the semantics when
647         backwards == true: now, this just swaps cursor and anchor wrt the
648         forward case
649
650         * BufferView.h (putSelectionAt): add some documentation
651
652         * lyxfind.C (findBackwards): rewrite using while(). In particular,
653         make sure backwardChar is done at least once (to avoid getting
654         stuck)
655         (findNextChange): use putSelectionAt in the forward direction
656         (operator()): use Paragraph::isWord
657
658 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
659
660         * Spacing.C (set): c_str fix
661
662 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * lyx_cb.C (Reconfigure): quote the name of configure script in
665         case it contains spaces
666
667 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
668
669         * client: new dir
670
671         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
672         (BOOST_LIBS): use top_buildir when looking for the file
673
674 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
675
676         * pch.h: do not use include boost/format.hpp, multiple symbols
677                 will result (gcc bug)
678
679
680 2004-08-23  José Matos  <jamatos@lyx.org>
681
682         * bufferparams.C (readToken): fix reading of the author field.
683
684 2004-08-20  José Matos  <jamatos@lyx.org>
685
686         * lyxrc.C: remove support/translator.h inclusion since it is not used.
687
688 2004-08-20  José Matos  <jamatos@lyx.org>
689
690         * lyxlex.[Ch] (findToken): remove function.
691
692         * ParagraphParameters.C (findToken):
693         * bufferparams.C (findToken): replace call for previous function
694         with local copy. This local function has one more argument, the
695         read string argument.
696
697 2004-08-16  José Matos  <jamatos@lyx.org>
698
699         * ParagraphParameters.C (write):
700         * Spacing.C (writeFile):
701         * bufferparams.C (writeLaTeX):
702         * lyx_cb.C (Reconfigure):
703         * paragraph.C (write):
704         * tabular.C (write): remove unnecessary space at end of line.
705
706
707 2004-08-16  José Matos  <jamatos@lyx.org>
708
709         * text.C (readParagraph): remove debug message.
710
711 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
714         crash
715
716         * output_plaintext.C (asciiParagraph): set depth correctly
717
718         * outputparams.h: add member depth
719
720         * paragraph_funcs.C (ownerPar): remove.
721
722         * text2.C (setCounter): remove first_pit; comment out some
723         non-working code that uses ownerPar
724
725         * BufferView.C (getParentLanguage): remove. Not used anymore, and
726         uses ownerPar
727
728 2004-08-16  José Matos  <jamatos@lyx.org>
729
730         * text.C (readParToken, readParagraph, read): report all unknown tokens.
731         For the same level of importance use the same chanel to report problems.
732         (read): add code to deal with \begin_body and \end_body.
733
734
735 2004-08-15  José Matos  <jamatos@lyx.org>
736
737         * lyxlex.C (getString): fix comment, buffer::readBody is now
738         buffer:readDocument.
739
740         * tex-strings.C (string_papersize): Default -> default,
741         Custom -> custom, for consistency with other options.
742
743 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
744
745         * pch.h: new file
746
747         * Makefile.am: support pch
748
749 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * text.C (readParToken): remove the static LyXFont variable and
752         pass it as a parameter instead. This fixes a nasty bug where an
753         inset will be inserted with a bad font in some situations
754         (readParagraph): adapt
755
756         * text2.C (setCounter): reduce number of calls to pars_[pit]
757
758         * text.C (singleWidth): add an assert, fix a test
759
760         * rowpainter.C (paintText): reduce number of calls to singleWidth
761
762         * paragraph.C (isHfill):
763         (isNewline): ws only
764
765 2004-08-14  André Pönitz  <poenitz@gmx.net>
766
767         * text.C:
768         * text2.C:
769         * rowpainter.C:
770         * lyxtext.h (several functions): use a Paragraph & argument
771         instead of par_type
772
773 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * metricsinfo.h: add a new field ltr_pos to PainterInfo
776
777         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
778
779         * text.C (singleWidth): remove useless test
780
781 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * tabular.h: remove bogus comments
784
785         * tabular.C (getDescentOfRow):
786         (isPartOfMultiColumn): add assertions
787
788         * lyxlength.C (inPixels): remove #warning
789
790 2004-08-14  André Pönitz  <poenitz@gmx.net>
791
792         * paragraph.h: inline getChar()
793
794         * BufferView.h: remove unused declarations
795
796 2004-08-14  José Matos  <jamatos@lyx.org>
797
798         * Buffer.[Ch] (readDocument): new name for old readBody.
799         * Buffer.C: new file format, new keywords: \begin_document,
800         \begin_header, \begin_body, \end_body.
801
802         * bufferparams.C (readToken): replace all calls to lex.nextToken
803         by lex.next(). Do the same to eatLine except where really needed.
804
805         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
806         line when writing to the lyx file.
807
808         * output_plaintext.C (asciiParagraph): fix Bibliography style
809         handling.
810
811         * text.C (read): fix end of file handling.
812
813 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * MenuBackend.C (Menu::operator[]): new method to access
816         individual menu items
817         (Menu::hasFunc): new method. search for an item that corresponds
818         to a given func
819         (MenuBackend::specialMenu): new method
820         (MenuBackend::expand): if a special menu has been set, skip
821         entries whose func() appears in this menu
822
823 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
824
825         * text3.C: use Debug::DEBUG a bit more
826
827         * text.C (leftMargin): try to simplify a tiny bit change var x to
828         l_margin. Dont output the wide margins always.
829         (rightMargin): no margin in inner texts
830
831         * rowpainter.h (nestMargin): new func
832         (changebarMargin): new func
833         (rightMargin): new func
834
835         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
836         now functions.
837         (paintLast): ditto
838
839         * factory.C (createInset): modify setDrawFrame
840
841         * cursor.C: use Debug::DEBUG a bit more
842
843 2004-08-14  André Pönitz  <poenitz@gmx.net>
844
845         * coordcache.[Ch]:
846         * Makefile.am: new files to accomodate an 'external' (x,y)-position
847         cache for all insets in (at least partially) visible (top-level)
848         paragraphs.
849
850         * BufferView_pimpl.C: reset external coord cache before every update.
851         This means the coord cache only contains valid entries.
852
853 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
854
855         bug 1096
856         * BufferView_pimpl.C (getInsetByCode): move function out of class
857         and change in to a template in anon namespace. Also fix to do what
858         suits us better.
859
860 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
861
862         bug 1305
863         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
864         of char
865         (breakParagraph): rename par to par_offset and use a local
866         reference. Add code to keep the language over a rebreak.
867         (breakParagraphConservative): rename par to par_offset, use a
868         local reference
869         (mergeParagraph): ditto
870         (outerHook): ditto
871         (isFirstInSequence): ditto
872         (outerFont): rename pit to par_offset
873
874         * paragraph.C: ws change
875         * paragraph.h: ditto
876         * text3.C: ditto
877         * text.C: ditto
878
879 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
882         treatment for ']'
883
884         * paragraph.C (simpleTeXOnePar): when we have a \item with
885         optional argument, enclose the argument with curly brackets (in
886         case it contains a closing square bracket)
887
888         * text2.C (editXY):
889         * text2.C (editXY):
890         * text3.C (checkInsetHit): constify
891
892 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
893
894         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
895         documents (bug 1629)
896
897 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         Fix toggling of collapsable insets with the mouse (bug 1558)
900
901         * lyxfunc.C (dispatch): adapt to LCursor changes
902
903         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
904         make sure that dispatch is not invoked twice
905
906         * cursor.C (needsUpdate): new method
907         (dispatch): return void
908         (result): new method, to access the DispatchResult of the cursor.
909
910 2004-08-13  José Matos  <jamatos@lyx.org>
911
912         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
913
914 2004-08-13  André Pönitz  <poenitz@gmx.net>
915
916         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
917
918         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
919           multiple cells
920
921 2004-08-12  André Pönitz  <poenitz@gmx.net>
922
923         * text3.C: take out the 'cursor right' form insertInset and only
924         do it in those places when it is really needed. Fixes crash on
925         C-m...
926
927 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
928
929         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
930
931         * BufferView_pimpl.C (setBuffer): initialize the current font of
932         the underlying LyXText
933
934 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * kbsequence.C (print): use UI native formatting for menu
937         shortcuts
938
939         * text.C (insertChar): call Paragraph::insertChar with a font
940         argument (cosmetic)
941
942         * paragraph.C (insertInset, insertChar): the version that takes a
943         LyXFont argument is now a wrapper around the other one (the
944         opposite used to be true).
945
946         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
947         argument. Font setting is done in Paragraph now.
948
949 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * outputparams.h: add new members intitle and lang.
952
953         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
954         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
955
956 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
957
958         * text3.C (dispatch): remove special handling of button 4 and 5,
959         it is now taken care of in the frontend code.
960
961 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
962
963         * Spacing.h: add <string> (STLPort compile fix)
964
965 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
966
967         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
968
969 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
972         to bool.
973
974         * converter.C (showMessage): inherit from unary_function, make
975         operator() const.
976
977         * buffer.C (writeFile): initialize retval
978
979         * InsetList.h: rename private variable list to list_
980         * InsetList.[Ch]: adjust accordingly.
981
982 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
983
984         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
985         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
986         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
987         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
988         * ParagraphParameters.C, LaTeXFeatures.C: replace
989         "support/std_sstream.h" with <sstream>
990
991 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
994         * lyxsocket.C (LyXServerSocket): ditto
995         (serverCallback): ditto
996
997 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
998
999         * LaTeXFeatures.C: check release date when loading jurabib.
1000
1001 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1002
1003         * lyxserver.C (startPipe): call register_socket_callback
1004         (endPipe): call unregister_socket_callback
1005
1006 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1007
1008         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1009         (LyXServerSocket): register the callback
1010         (LyXServerSocket): unregister the callback
1011         (fd): delete function
1012         (serverCallback): improve error checking and setup the callbacks.
1013         (dataCallback): change arg to fd.
1014         (writeln): new func (copied fro the client socket) used for server
1015         write to client.
1016         (LyXDataSocket): simplify
1017         (~LyXDataSocket): close ann unregiser callback
1018         (server): delete function
1019         (fd): delete function
1020         (readln): small changes, improve some std::string usage
1021         (writeln): constify a bit
1022
1023 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1026         Qt frontend
1027
1028 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1031         after it has been populated
1032
1033 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * text2.C (insertInset): move cursor when inserting inset.
1036
1037 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * kbmap.C (findbindings): a couple of new methods. returns a
1040         container of kb_sequence objects. The real work is done by the
1041         private recursive version
1042         (printbindings): uses findbindings to print out a bracketed list
1043         of bindings (renamed from findbinding).
1044
1045         * MenuBackend.C (binding): use kb_keymap::findbindings
1046
1047         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1048
1049 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1052
1053 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * paragraph.C (isWord): return true on insets that report
1056         isLetter().
1057
1058         * text.C (getWord): use Paragraph::isWord to decide what is in a
1059         word and what is not; fix bug 1609.
1060
1061 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * tex-strings.C: add "none" to string_paperpackages[], fixes
1064         off-by-one-error in the paperpackage selection.
1065
1066         * lyxlex.[Ch]:
1067         * tex-strings.[Ch]: char const * string[n]
1068         -> char const * const string[]
1069
1070 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1073         command, return early.
1074
1075 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1076
1077         * debug.h: add DEBUG to enum and fix size of ANY.
1078
1079         * debug.C: add support for Debug::DEBUG
1080         (showTags): cast errorTags.level to unsigned int
1081
1082         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1083         (redoCurrentBuffer): ditto
1084         (updateScrollbar): ditto
1085         * cursor.C (dispatch): ditto
1086         * text2.C (setLayout): ditto
1087         (setFont): ditto
1088         (updateCounters): ditto
1089         (editXY): ditto
1090         (deleteEmptyParagraphMechanism): ditto
1091
1092 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1093
1094         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1095         annotations to cleanup the Makefile slightly.
1096
1097 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * lyxrc.C: do not set user_email to a default value but use empty
1100         instead. The entry used to be translated, which does not work
1101         since at the point where lyxrc is constructed there is no
1102         translation service available
1103
1104         * messages.C (getLocaleDir): remove and use directly
1105         lyx_localedir() instead
1106
1107 2004-06-02  Angus Leeming  <leeming@lyx.org>
1108
1109         Fix crash caused by dereferencing null pointer 'exportdata' in
1110         OutputParams by creating a new ExportData variable on the heap,
1111         storing it in a boost::shared_ptr.
1112         The crash was triggered when generating an Instant Preview
1113         of an external inset.
1114
1115         * Makefile.am: add outputparams.C
1116
1117         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1118         (c-tor): allocate memory to it.
1119
1120         * exporter.C (c-tor): associated changes.
1121
1122 2004-06-01  Angus Leeming  <leeming@lyx.org>
1123
1124         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1125         contains data before calling isInset(0). (Bug 1513.)
1126
1127 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1128
1129         * exporter.C (checkOverwrite): new method
1130         * exporter.C (copyFile): new method
1131         * exporter.C (Export): copy referenced files to the document dir
1132         * exporter.[Ch]: new class ExportedFile
1133         * exporter.[Ch]: new class ExportData. Contains currently the
1134         names of referenced external files
1135         * outputparams.h: add exportdata member.
1136
1137 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1138
1139         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1140         version.C-tmp
1141
1142 2004-05-19  Angus Leeming  <leeming@lyx.org>
1143
1144         * LaTeXFeatures.C:
1145         * ToolbarBackend.C:
1146         * bufferparams.C:
1147         * lyxfunc.C: small changes due to the introduction of namespace
1148         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1149
1150 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1151
1152         * text3.C (dispatch): supress update when only moving the cursor
1153         * cursor.C (selHandle): remove commented code
1154
1155 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1156
1157         * paragraph.C (startTeXParParams): correct column count
1158         * CutAndPaste.C (pasteSelection): remove const_cast
1159         * output_docbook.C (docbookParagraphs): remove const_cast
1160         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1161         const_cast and return ParagraphList::const_iterator
1162         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1163         * output_plaintext.C (writeFileAscii): remove const_cast
1164         * paragraph.[Ch] (simpleTeXOnePar): make const
1165         * paragraph_funcs.C (outerPar): use const iterators
1166         * paragraph_pimpl.C (validate): use const iterators
1167         * text.C (setHeightOfRow): use const iterators
1168
1169 2004-05-17  Angus Leeming  <leeming@lyx.org>
1170
1171         * lfuns.h:
1172         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1173
1174         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1175         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1176         if the citation engine has changed.
1177
1178 2004-05-14  José Matos  <jamatos@lyx.org>
1179
1180         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1181         if the textclass does not provide it. Have it different for sgml and
1182         xml.
1183         support the language of document.
1184         * output_docbook.C (docbookParagraphs):
1185         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1186         first anchor as the id of the paragraph, remove special case code.
1187         * sgml.C (escapeChar): escape only < & >.
1188
1189 2004-05-14  Angus Leeming  <leeming@lyx.org>
1190
1191         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1192         dependencies on src/frontends/controllers/biblio.h. Define a
1193         CiteEngine_enum wrapper class to enable the enum to be forward
1194         declared.
1195
1196 2004-05-12  Angus Leeming  <leeming@lyx.org>
1197
1198         * buffer.C: up LYX_FORMAT to 234.
1199         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1200         use_numerical_citations with a single biblio::CiteEngine cite_engine
1201         variable.
1202         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1203
1204 2004-05-13  José Matos  <jamatos@lyx.org>
1205
1206         * converter.h:
1207         * converter.C (Converter, readFlags): add xml member.
1208         * outputparams.h: add XML flavor.
1209         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1210
1211 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * lyxfunc.C (dispatch):
1214         (getStatus): fix handling of LFUN_SEQUENCE
1215
1216 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * debug.C (showLevel): do not forget the end-of-line marker
1219
1220 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * kbmap.C (read): do not stop parsing a bind file when an error
1223         occurs (bug 1575)
1224
1225 2004-04-29  Angus Leeming  <leeming@lyx.org>
1226
1227         * cursor.C:
1228         * factory.C:
1229         * pariterator.C:
1230         * text2.C: wrap a bunch of #warning statements
1231         inside #ifdef WITH_WARNINGS blocks.
1232
1233 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1234
1235         * buffer.C: increment format to 233.
1236
1237 2004-04-28  Angus Leeming  <leeming@lyx.org>
1238
1239         * BufferView_pimpl.C:
1240         * lyxfunc.C:
1241         * text3.C:
1242         s/updateToolbar()/updateToolbars()/
1243         s/Toolbar.h/Toolbars.h/
1244
1245 2004-04-28  Angus Leeming  <leeming@lyx.org>
1246
1247         * BufferView.[Ch] (c-tor):
1248         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1249         No longer passes these data to the WorkArea generator.
1250
1251 2004-04-28  Angus Leeming  <leeming@lyx.org>
1252
1253         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1254
1255 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1256
1257         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1258
1259 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * output_latex.C (TeXEnvironment): make sure that there is a line
1262         break before \end{foo} for the last paragraph of a document
1263         (TeXOnePar): if the paragraph is at the end of the document (or
1264         inset) and the language has to be reset, then make sure that the
1265         line break is _before_ the language command, not after (fixes bug
1266         1225); also make sure that the language reset command is the first
1267         thing after the paragraph (to ensure proper nesting of
1268         environments and thus fix bug 1404)
1269
1270 2004-04-21  John Levon  <levon@movementarian.org>
1271
1272         * ToolbarBackend.h:
1273         * ToolbarBackend.C: make "name" be a programmatic name
1274         and a gui_name field.
1275
1276         * lyxfunc.C: display the minibuffer on M-x
1277
1278 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1281         (bug 1526)
1282
1283 2004-04-19  Angus Leeming  <leeming@lyx.org>
1284
1285         * BufferView_pimpl.C (setBuffer): changed preview interface.
1286
1287         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1288         possible values.
1289
1290 2004-04-19  John Levon  <levon@movementarian.org>
1291
1292         * BufferView_pimpl.C:
1293         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1294
1295 2004-04-05  Angus Leeming  <leeming@lyx.org>
1296
1297         * text.C (redoParagraphs): add call to updateCounters(), thereby
1298         fixing the missing "Figure #:" label from the caption of a
1299         figure float.
1300
1301 2004-04-13  Angus Leeming  <leeming@lyx.org>
1302
1303         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1304         cursor is clicked out of an inset.
1305
1306 2004-04-13  Angus Leeming  <leeming@lyx.org>
1307
1308         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1309         than an InsetOld one.
1310
1311 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1312
1313         * format.[Ch]: add editor to Format
1314         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1315         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1316
1317 2004-04-08  André Pönitz  <poenitz@gmx.net>
1318
1319         * metricsinfo.h: remove PainterInfo::width member
1320
1321 2004-04-08  Angus Leeming  <leeming@lyx.org>
1322
1323         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1324         "\providecommand" rather than "\newcommand", thereby preventing
1325         clashes with packages that define "\boldsymbol" themselves.
1326         Eg, beamer.
1327
1328 2004-04-08  Angus Leeming  <leeming@lyx.org>
1329
1330         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1331         thereby squashing an unnecessary warning.
1332
1333 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1334
1335         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1336         setBuffer()
1337
1338 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1339
1340         * BufferView.C (setCursor): call redoParagraph (some insets could
1341         have been opened)
1342         (putSelectionAt): remove the 'double update' trick
1343
1344         * BufferView_pimpl.C (fitCursor): call refreshPar
1345         (workAreaDispatch): remove an uneeded update call
1346         (dispatch): remove some manual update calls
1347
1348         * cursor.[Ch]: remove cached_y_, updatePos
1349         (selHandle): set noUpdate when appropriate
1350
1351         * lyxfunc.C (dispatch): track if we need an update
1352
1353         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1354
1355         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1356         (paintSelection): cheap optimization, do not call cursorX when not
1357         needed
1358         (paintPars): change signature
1359         (refreshPar): add
1360         (paintText): adjust
1361         (paintTextInset): adjust
1362
1363         * text.C: adjust
1364
1365 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * lengthcommon.C: compilation fix: remove explicit array size from
1368         unit_name[] and friends
1369
1370 2004-04-05  Angus Leeming  <leeming@lyx.org>
1371
1372         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1373
1374         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1375         present only for the preferences dialog.
1376         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1377
1378 2004-04-05  Angus Leeming  <leeming@lyx.org>
1379
1380         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1381         to enable the frontends to export changes to lyxrc correctly.
1382
1383         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1384
1385 2004-04-07  André Pönitz  <poenitz@gmx.net>
1386
1387         * cursor.[Ch] (selClear, adjust): remove math
1388
1389         * cursor_slice.C: more agressive assert
1390
1391         * lyxfunc.C:
1392         * BufferView_pimpl.C: rework mouse event dispatch
1393
1394         * dociterator.C:
1395         * paragraph.C:
1396         * text2.C:
1397         * text3.C: adjust
1398
1399 2004-04-05  André Pönitz  <poenitz@gmx.net>
1400
1401         * cursor.[Ch] (valign, halign...): remove unneeded functions
1402
1403 2004-04-05  Angus Leeming  <leeming@lyx.org>
1404
1405         * lyxlength.[Ch] (unit_name et al.): const-correct.
1406
1407 2004-04-05  Angus Leeming  <leeming@lyx.org>
1408
1409         * BufferView_pimpl.C:
1410         * buffer.C:
1411         * counters.C:
1412         * cursor.C:
1413         * lyxfunc.C
1414         * paragraph.C:
1415         * pariterator.C:
1416         * text.C:
1417         * text2.C:
1418         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1419
1420 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1423
1424 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1425
1426         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1427         * BufferView_pimpl.[Ch] (getStatus)
1428         * BufferView.[Ch] (getStatus): add
1429         * lyxfunc.C (getStatus): move lfuns handled in
1430         BufferView::dispatch to te function above
1431         * Cursor.C (setSelection): set selection() = true
1432
1433 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1436
1437 2004-03-31  Angus Leeming  <leeming@lyx.org>
1438
1439         * lyxfunc.C (dispatch): Fall through to the generic
1440         Dialogs::show("preamble").
1441
1442 2004-03-31  Angus Leeming  <leeming@lyx.org>
1443
1444         * lyxfunc.C (dispatch): Fall through to the generic
1445         Dialogs::show("spellchecker").
1446
1447 2004-03-31  Angus Leeming  <leeming@lyx.org>
1448
1449         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1450         preferences dialog.
1451
1452 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1453
1454         * BufferView.C
1455         * cursor.[Ch]
1456         * dociterator.[Ch]:
1457         * insetiterator.[Ch]:
1458         * lyxfind.C:
1459         * lyxfunc.C:
1460         * pariterator.[Ch]:
1461         * text2.C:
1462         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1463
1464 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1465
1466         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1467         insets where we are putting the cursor.
1468
1469 2004-03-31  Angus Leeming  <leeming@lyx.org>
1470
1471         * lfuns.h:
1472         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1473
1474         * lyxrc.[Ch] (read, write): overloaded member functions taking
1475         a std::[io]stream arguments.
1476
1477         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1478
1479 2004-03-31  Angus Leeming  <leeming@lyx.org>
1480
1481         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1482         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1483
1484         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1485         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1486
1487 2004-03-31  Angus Leeming  <leeming@lyx.org>
1488
1489         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1490         the LFUN_ALL_INSETS_TOGGLE code.
1491
1492 2004-03-30  Angus Leeming  <leeming@lyx.org>
1493
1494         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1495         has died. Fall through to the generic Dialogs::show("document").
1496
1497 2004-03-30  Angus Leeming  <leeming@lyx.org>
1498
1499         * lfuns.h:
1500         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1501         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1502
1503         * lyxfunc.C (getStatus, dispatch): define the actions for these
1504         lfuns. Little more than a cut and pste job from ControlDocument.C
1505
1506         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1507
1508 2004-03-30  Angus Leeming  <leeming@lyx.org>
1509
1510         * lfuns.h:
1511         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1512         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1513
1514         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1515         open/closed state of ollapsable insets. Usage:
1516
1517         all-inset-toggle <state> <name>, where
1518         <state> == "open" || "closed" || "toggle" and
1519         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1520
1521         * lyxtext.h, text2.C (toggleInset): removed.
1522
1523         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1524         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1525         now passes LFUN_INSET_TOGGLE to the found inset.
1526
1527         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1528         is now invoked as "all-insets-toggle toggle branch".
1529
1530 2004-03-30  Angus Leeming  <leeming@lyx.org>
1531
1532         * dociterator.C:
1533         * insetiterator.C:
1534         * pariterator.[Ch]: added/corrected header blurb.
1535
1536 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1537
1538         * dociterator.[Ch]: add an inset_ member
1539         (backwardPos): implemented
1540         (backwardPos, forwardPos): use inset_ when the stack is empty.
1541         (doc_iterator_begin, doc_iterator_end): implemented
1542         * pariterator.[Ch]: adjust, add begin, end
1543         * insetiterator.[Ch]: adjust, add begin, end
1544         * cursor.C:
1545         * document.C:
1546         * BufferView.C:
1547         * BufferView_pimpl.C:
1548         * CutAndPaste.C: adjust
1549
1550 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1551
1552         * buffer.C: increment file format to 232.
1553         * LaTeXFeatures.C: add bibtopic package.
1554         * bufferparams.[Ch]: param \use_bibtopic.
1555
1556         * lyxrc.[Ch]: add lyxrc bibtex_command
1557         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1558
1559         * buffer.C: increment file format to 231.
1560
1561 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * dociterator.C: implement forwardPar
1564         * iterators.[Ch]: remove, replaced by
1565         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1566         * BufferView.C:
1567         * BufferView_pimpl.C:
1568         * CutAndPaste.C:
1569         * buffer.C:
1570         * bufferview_funcs.C:
1571         * cursor.C:
1572         * lyxfind.C
1573         * lyxfunc.C
1574         * paragraph_funcs.C
1575         * toc.C:
1576         * Makefile.am: adjust
1577
1578 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * CutAndPaste.C (pasteSelection): fix 2 crashes
1581         (eraseSelection): fix a crash
1582         * paragraph_funcs.C: remove a warning
1583
1584 2004-03-28  Angus Leeming  <leeming@lyx.org>
1585
1586         * lfuns.h:
1587         * LyXAction.C (init): new LFUN_PRINT.
1588
1589         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1590
1591 2004-03-27  Angus Leeming  <leeming@lyx.org>
1592
1593         * lfuns.h:
1594         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1595
1596         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1597
1598 2004-03-27  Angus Leeming  <leeming@lyx.org>
1599
1600         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1601         insetlist always contains non-null pointers to insets.
1602
1603 2004-03-26  Angus Leeming  <leeming@lyx.org>
1604
1605         * src/BufferView_pimpl.C:
1606         * src/CutAndPaste.C:
1607         * src/buffer.C:
1608         * src/iterators.C:
1609         * src/output_plaintext.C:
1610         * src/outputparams.h:
1611         * src/paragraph_funcs.C:
1612         * src/rowpainter.C:
1613         * src/text.C:
1614         * src/text2.C:
1615         * src/frontends/controllers/ControlErrorList.C:
1616         * src/frontends/gtk/FileDialogPrivate.C:
1617         * src/frontends/gtk/GPainter.C:
1618         * src/frontends/gtk/GToolbar.C:
1619         * src/frontends/qt2/QRef.C:
1620         * src/mathed/math_scriptinset.C: squash compiler warnings.
1621
1622 2004-03-26  Angus Leeming  <leeming@lyx.org>
1623
1624         * ispell.C (LaunchIspell::start):
1625         * lyx_cb.C (AutoSaveBuffer::start):
1626         invoke run(DontWait) rather than runNonBlocking().
1627
1628 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1631
1632 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * kbsequence.C (print): adjust
1635
1636         * kbmap.C (printKeySym): rename and change signature
1637         (printKey): use LyXKeySym::print()
1638
1639 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1640
1641         * undo.C: add using std::advance to compile for stlport
1642
1643 2004-03-24  Angus Leeming  <leeming@lyx.org>
1644
1645         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1646         it leads to a crash when no buffer is present.
1647
1648 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649             Martin Vermeer  <martin.vermeer@hut.fi>
1650
1651         * lyxfunc.C (dispatch):
1652         * bufferparams.C (readToken): use the new LColor::setColor
1653
1654         * LColor.[Ch] (setColor): new version that takes two strings as
1655         argument and creates a new color entry if necessary
1656
1657 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1658
1659         * buffer.C (makeLaTeXFile): if the main latex file that is
1660         processed is usually a subdocument of some master, then pretend
1661         for a while that it is actually the master
1662
1663 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1664
1665         * buffer.C (getLabelList):
1666         (getBibkeyList): use getMasterBuffer()
1667         (getMasterBuffer): new method. Returns the main document in the
1668         case where one is using included documents.
1669
1670 2004-03-25  André Pönitz  <poenitz@gmx.net>
1671
1672         * Makefile.am:
1673         * iterators.[Ch]:
1674         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1675
1676         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1677
1678         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1679         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1680
1681         * ParameterStruct.h: merge with ParagraphParameters
1682
1683         * lyxtext.h: remove LyXText::parOffset() and getPar()
1684
1685         * text3.C: Remove all 'manual' update calls. We do now one per user
1686         interaction which is completely sufficient.
1687
1688         * Bidi.C:
1689         * BufferView.[Ch]:
1690         * BufferView_pimpl.C:
1691         * FontIterator.[Ch]:
1692         * MenuBackend.C:
1693         * ParagraphParameters.[Ch]:
1694         * buffer.C:
1695         * buffer.h:
1696         * bufferlist.C:
1697         * cursor.[Ch]:
1698         * cursor_slice.[Ch]:
1699         * dociterator.[Ch]:
1700         * errorlist.[Ch]:
1701         * factory.C:
1702         * lfuns.h:
1703         * lyxfind.C:
1704         * lyxfunc.C:
1705         * output_docbook.[Ch]:
1706         * output_latex.[Ch]:
1707         * output_linuxdoc.[Ch]:
1708         * output_plaintext.[Ch]:
1709         * paragraph.[Ch]:
1710         * paragraph_funcs.[Ch]:
1711         * paragraph_pimpl.[Ch]:
1712         * rowpainter.C:
1713         * tabular.[Ch]:
1714         * text.C:
1715         * text2.C:
1716         * toc.C:
1717         * undo.[Ch]: adjust
1718
1719         * frontends/controllers/ControlDocument.C:
1720         * frontends/controllers/ControlErrorList.C:
1721         * frontends/controllers/ControlSpellchecker.C:
1722         * insets/inset.C:
1723         * insets/inset.h:
1724         * insets/insetbase.h:
1725         * insets/insetbibitem.C:
1726         * insets/insetbox.C:
1727         * insets/insetbranch.C:
1728         * insets/insetcaption.C:
1729         * insets/insetcharstyle.C:
1730         * insets/insetcharstyle.h:
1731         * insets/insetcollapsable.C:
1732         * insets/insetcollapsable.h:
1733         * insets/insetert.C:
1734         * insets/insetfloat.C:
1735         * insets/insetfoot.C:
1736         * insets/insetmarginal.C:
1737         * insets/insetnote.C:
1738         * insets/insetoptarg.C:
1739         * insets/insettabular.C:
1740         * insets/insettext.C:
1741         * insets/insettext.h:
1742         * insets/insetwrap.C:
1743         * mathed/math_mboxinset.C:
1744         * mathed/math_nestinset.C:
1745         * mathed/math_scriptinset.C:
1746         * mathed/math_scriptinset.h:
1747         * support/types.h:
1748
1749 2004-03-24  Angus Leeming  <leeming@lyx.org>
1750
1751         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1752         deal with any child processes that have finished but are waiting to
1753         communicate this fact to the rest of LyX.
1754
1755 2004-03-24  Angus Leeming  <leeming@lyx.org>
1756
1757         64-bit compile fixes.
1758
1759         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1760         (c-tor): pass lyx::pos_types rather than ints.
1761
1762         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1763         lyx::pos_type.
1764
1765         * text.C (Delete): compile fix.
1766         (getPar): ensure that function declaration is the same as that in
1767         the header file.
1768
1769 2004-03-23  Angus Leeming  <leeming@lyx.org>
1770
1771         * ispell.C (LaunchIspell):
1772         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1773         a boost::shred_ptr rather than a std::auto_ptr.
1774
1775 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1778         handle LFUN_FILE_INSERT_*
1779
1780         * lyxrc.C (setDefaults, getDescription, output, read):
1781         * lyxrc.h: remove ps_command
1782
1783 2004-03-22  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1786         Ensure that error_handler is processed once only and that all data
1787         is saved before attempting to output any warning messages.
1788
1789         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1790
1791 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1792
1793         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1794
1795 2004-03-19  André Pönitz  <poenitz@gmx.net>
1796
1797         * cursor.[Ch] (reset): take main text inset as argument
1798
1799         * BufferView: adjust
1800         * BufferView_pimpl.C: adjust
1801
1802         * paragraph.[Ch]: fix completely broken operator=()
1803
1804 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1805
1806         * LColor.C (getFromLyXName): make sure that the color name is used
1807         as lowercase.
1808
1809 2004-03-17  Angus Leeming  <leeming@lyx.org>
1810
1811         * lfuns.h:
1812         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1813
1814         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1815         dialog and to kill a forked process.
1816
1817 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * text2.C (setCursorFromCoordinates): fix font problem
1820
1821 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1824         bogus "rebuild cursor" code
1825
1826 2004-03-11  André Pönitz  <poenitz@gmx.net>
1827
1828         * buffer.[Ch]: use InsetText instead of LyXText as container for
1829         the main lyx text.
1830
1831         * dociterator.[Ch]: drop the BufferView * member which is not needed
1832         anymore after the change to buffer.C
1833
1834         * paragraph_funcs.C:
1835         * text.C:
1836         * text2.C:
1837         * BufferView.[Ch]:
1838         * BufferView_pimpl.[Ch]:
1839         * cursor.[Ch]:
1840         * cursor_slice.[Ch]: adjust
1841
1842         * text3.C: fix bug in mathDispatch
1843
1844 2004-03-08  André Pönitz  <poenitz@gmx.net>
1845
1846         * undo.[Ch]: use 'StableDocumentIterator' as base for
1847         the Undo struct.
1848
1849 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1850
1851         * LaTeXFeatures.C:
1852         * bufferparams.[Ch]: add jurabib support and param.
1853
1854         * LaTeX.C: add FIXME/comment.
1855
1856 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1857
1858         * buffer.C: increment file format to 230.
1859
1860 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * cursor.C (dispatch): avoid infinite loops
1863
1864 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * rowpainter.C (paintSelection): fix x coordinates
1867
1868 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * text.C (rowBreakPoint): fix breaking before displayed insets
1871
1872 2004-03-01  André Pönitz  <poenitz@gmx.net>
1873
1874         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1875
1876         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1877
1878         * Makefile.am:
1879         * BufferView.C:
1880         * BufferView_pimpl.C:
1881         * buffer.C:
1882         * lyxfind.C:
1883         * lyxfunc.C:
1884         * text.C:
1885         * text2.C:
1886         * text3.C: adjust
1887
1888 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * lyxtext.h:
1891         * text.C:
1892         * text2.C:
1893         * rowpainter.C:
1894         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1895         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1896
1897 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1898
1899         * Bidi.[Ch] (computeTables): const correctness
1900         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1901         fill_hfill, fill_label_hfill and x from Row
1902         * lyxtext.h: prepareToPrint returns a RowMetrics
1903         * rowPainter.C: adjust
1904         * text.C (prepareToPrint): use width, not textWidth. adjust
1905         (redoParagraphInternal, cursorX): adjust
1906         * text2.C (getColumnNearX): adjust
1907         (init): put a default value to the top LyXText::width
1908
1909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1912
1913 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1914
1915         * lyxtext.h: add FontIterator class
1916
1917         * text.C (FontIterator, operator*, operator->, operator++): add
1918         (rowBreakPoint, setRowWidth): adjust (fixing a
1919         rebreaking bug)
1920
1921 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * BufferView_pimpl.C (workAreaDispatch): allow also
1924         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1925
1926 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * text.C (rowBreakPoint): fix a bug showing with very large insets
1929
1930 2004-02-25  André Pönitz  <poenitz@gmx.net>
1931
1932         * text3.C:
1933         * cursor.[Ch]: move some mathed specific code to mathed
1934
1935 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1936
1937         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1938         use_tempdir in preferences
1939         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1940         tempfile creation
1941         * lyx_main.C: ensure that tempdir is valid
1942         * lyxlex.h: correct typo
1943         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1944         * paragraph.[Ch] (isMultiLingual): make const
1945         * cursor.[Ch] (openable): make const
1946
1947 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1948
1949         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1950
1951 2004-02-20  André Pönitz  <poenitz@gmx.net>
1952
1953         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1954
1955         * cursor.[Ch]: prepare for localized getStatus()
1956
1957         * lyxtext.h:
1958         * tabular.C:
1959         * text.C:
1960         * text2.C:
1961         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1962
1963 2004-02-20  André Pönitz  <poenitz@gmx.net>
1964
1965         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1966
1967 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1968
1969         * text2.C (setCursorFromCoordinates): switch to absolute coords
1970         (cursorUp): adjust
1971         (cursorDown): adjust
1972         * text3.C (dispatch): adjust
1973
1974 2004-02-16  André Pönitz  <poenitz@gmx.net>
1975
1976         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1977           insets/ChangeLog)
1978
1979         * cursor_slice.[Ch]: remove unneeded acessor function
1980
1981         * lyxtext.h: rename rtl() to isRTL()
1982
1983         * rowpainter.C:
1984         * tabular.C:
1985         * text.C:
1986         * text2.C:
1987         * text3.C: adjust
1988
1989 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * rowpainter.C (paintSelection): coord fix
1992
1993 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1994
1995         * Spacing.C: compile fix
1996
1997 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1998
1999         * cursor.C (dispatch): restore current_ before returning
2000
2001 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * text2.C (cursorUp, cursorDown): fix coords
2004         (moveUp): fix crash
2005
2006 2004-02-12  André Pönitz  <poenitz@gmx.net>
2007
2008         * lyxtext.h:
2009         * text.C:
2010         * text2.C:
2011         * text3.C: add LCursor & parameter to most cursor movement functions
2012           remove usage of LyXText::cursorRow() and cursorPar()
2013
2014         * cursor.[Ch]: add textRow() needed members
2015
2016         * BufferView.C:
2017         * BufferView_pimpl.C:
2018         * paragraph.[Ch]:
2019         * BufferView.C:
2020         * BufferView_pimpl.C: adjust
2021
2022 2004-02-11  André Pönitz  <poenitz@gmx.net>
2023
2024         * lyxfunc.C:
2025         * BufferView.[Ch]:
2026         * BufferView_pimpl.C: shift undo/redo handling
2027
2028         * cursor.[Ch]: fix mathed crash
2029
2030         * lyxfind.C:
2031         * lyxtext.h: move selectionAsText to LCursor
2032
2033         * output_latex.C:
2034         * paragraph.C:
2035         * text.C:
2036         * text2.C:
2037         * text3.C: adjust
2038
2039         * rowpainter.C: fix excessive drawing
2040
2041 2004-02-06  André Pönitz  <poenitz@gmx.net>
2042
2043         * BufferView.[Ch]:
2044         * BufferView_pimpl.[Ch]:
2045         * text3.C: move some text specific LFUN handling
2046
2047 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2048
2049         * text3.C (checkInsetHit): adjust coords
2050         * text2.C (getColumnNearX): adjust coords
2051         (edit): adjust coords
2052         * text.C (getRowNearY): add two asserts
2053
2054 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2055
2056         * converter.C:
2057         * format.C: add using std::distance to compile on gcc 2.95/stlport
2058
2059 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2060
2061         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2062
2063 2004-02-04  André Pönitz  <poenitz@gmx.net>
2064
2065         * BufferView.[Ch] (insertInset):
2066         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2067
2068         * text2.C:
2069         * text3.C: adjust
2070
2071 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2072
2073         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2074         on the default clause of the switch
2075         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2076         wasn't catched by LCursor::dispatch
2077
2078 2004-02-03  André Pönitz  <poenitz@gmx.net>
2079
2080         * BufferView.C:
2081         * cursor.[Ch]: some additional asserts
2082
2083         * undo.[Ch]: remove LyXText dependency in interface
2084
2085         * lyxfunc.C: adjust
2086
2087         * lyxtext.h (firstPar, lastPar): remove dead functions
2088
2089         * text.C:
2090         * text2.C:
2091         * text3.C:
2092         * paragraph.[Ch]: adjust
2093
2094 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2095
2096         * lyxfind.C (find): fix argument order in call to ::find
2097
2098 2004-02-02  André Pönitz  <poenitz@gmx.net>
2099
2100         * cursor.[Ch]: remove direct access to anchor
2101
2102         * text.C: remove findText() hack
2103
2104 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2105
2106         * iterators.[Ch] (lockPath): remove in favour of...
2107         * BufferView.[Ch] (setCursor): this addition
2108         * BufferView.C (putSelectionAt): adjust
2109         * undo.C (performUndoOrRedo): adjust
2110         * lyxfunc.C (dispatch): adjust
2111
2112 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2113
2114         * iterators.C (lockPath): add a missing slice
2115         * undo.C (performUndoOrRedo): remove redundant positioning code
2116
2117 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2118
2119         * vc-backend.C (scanMaster): ";" -> ';'
2120
2121 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2122
2123         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2124         std::binary_function
2125
2126         * lyxtextclass.C (compare_name): rename to...
2127         (LayoutNamesEqual): ...this
2128
2129         * lyxlex_pimpl.C (compare_tags): inherit from
2130         std::binary_function, put back into anon namespace
2131
2132         * lyxfind.C (MatchString): inherig from std::binary_function
2133         (findChange): use empty() istead of !size()
2134
2135         * format.C (FormatNamesEqual): new functor
2136         (getFormat): use it
2137         (getNumber): use it
2138         (add): use it
2139         (erase): use it
2140         (setViewer): use it
2141
2142         * converter.C (compare_Converter): rename to...
2143         (ConverterEqual): ...this, and fixup a bit.
2144         (getConverter): use it, and make function const
2145         (getNumber): use it, and make function const
2146         (add): use it
2147         (erase): use it:
2148
2149         * bufferlist.C: add using boost::bind
2150
2151         * MenuBackend.C (MenuNamesEqual): new functor
2152         (hasMenu): use it, and make function const
2153         (hasSubmenu): use nested bind to get rid of compare_memfun.
2154
2155 2004-01-30  André Pönitz  <poenitz@gmx.net>
2156
2157         * BufferView_pimpl.C:
2158         * cursor.C:
2159         * cursor.h:
2160         * cursor_slice.[Ch]:
2161         * lyxfunc.C:
2162         * lyxtext.h:
2163         * paragraph_funcs.C:
2164         * paragraph_funcs.h:
2165         * rowpainter.C:
2166         * text.C:
2167         * text2.C:
2168         * text3.C: move some of the edit(x,y) handling to the insets
2169         some coordinate changes.
2170
2171 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2172
2173         * text.C: add using statements for std::advance and std::distance
2174
2175         * paragraph.C: add using statement for std::distance
2176
2177         * lyxfind.C: add using statement for std::advance
2178
2179         * cursor.C (region): remove std:: from swap
2180         (openable): use nucleus in stead of operator->
2181
2182         * BufferView.C: add using statements for std::distance and std::swap
2183
2184 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2185
2186         * iterators.C: Remove the pimple, move the needed structures to
2187         the header file. Create accessor for the positions stack.
2188         (asPosIterator): remove function
2189
2190         * PosIterator.C (PosIterator): move constructors to top of file
2191         (PosIterator): reimplement the constructor taking a ParIterator in
2192         terms of setFrom.
2193         (setFrom): new function
2194         (operator!=): inline it
2195
2196 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2197
2198         * lyxfind.C (replaceAll): use std::advance
2199
2200         * iterators.h: inherit from std::iterator.
2201
2202         * PosIterator.C (advance, distance): remove
2203         * PosIterator.h: interit from std::iterator.
2204
2205 2004-01-26  André Pönitz  <poenitz@gmx.net>
2206
2207         * BufferView.[Ch]:
2208         * BufferView_pimpl.[Ch]:
2209         * InsetList.[Ch]:
2210         * PosIterator.[Ch]:
2211         * buffer.h:
2212         * bufferview_funcs.C:
2213         * cursor.[Ch]:
2214         * cursor_slice.h:
2215         * factory.[Ch]:
2216         * iterators.[Ch]:
2217         * lyxfind.C:
2218         * lyxfunc.C:
2219         * lyxtext.h:
2220         * output_docbook.C:
2221         * output_latex.C:
2222         * output_linuxdoc.C:
2223         * output_plaintext.C:
2224         * paragraph.[Ch]:
2225         * paragraph_funcs.[Ch]:
2226         * paragraph_pimpl.[Ch]:
2227         * rowpainter.C:
2228         * tabular.C:
2229         * tabular.h:
2230         * text.C:
2231         * text2.C:
2232         * text3.C: more IU:  dumps most of the rest of the mathcursor
2233     implementation into cursor.[Ch]; "globalize" a bit of it.
2234
2235 2004-01-25  Angus Leeming  <leeming@lyx.org>
2236
2237         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2238
2239 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2240
2241         * LaTeXFeatures.h: add nice_ and nice() const
2242         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2243
2244 2004-01-20  André Pönitz  <poenitz@gmx.net>
2245
2246         * BufferView.[Ch]:
2247         * BufferView_pimpl.C:
2248         * PosIterator.C:
2249         * bufferview_funcs.C:
2250         * cursor.[Ch]:
2251         * cursor_slice.[Ch]:
2252         * factory.C:
2253         * iterators.C:
2254         * lyx_cb.C:
2255         * lyxfind.C:
2256         * lyxfunc.C:
2257         * lyxtext.h:
2258         * rowpainter.C:
2259         * text.C:
2260         * text2.C:
2261         * text3.C:
2262         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2263           LCursor and mathcursor parts to LCursor and InsetBase.
2264
2265 2004-01-15  André Pönitz  <poenitz@gmx.net>
2266
2267         * cursor_slice.[Ch]: add a few covienience functions
2268
2269         * funcrequest.[Ch]: remove BufferView * member
2270
2271         * BufferView_pimpl.C:
2272         * cursor.C:
2273         * factory.[Ch]:
2274         * lyxfind.[Ch]:
2275         * lyxfunc.C:
2276         * lyxtext.h:
2277         * text3.C:
2278         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2279
2280 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2283         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2284
2285 2004-01-13  André Pönitz  <poenitz@gmx.net>
2286
2287         * textcursor.[Ch]:
2288         * lyxtext.h: hide cursor and selection anchor behind accessor function
2289
2290         * BufferView.C:
2291         * BufferView_pimpl.[Ch]:
2292         * PosIterator.C:
2293         * bufferview_funcs.C:
2294         * cursor.h:
2295         * lyxfind.C:
2296         * lyxfunc.C:
2297         * text.C:
2298         * text2.C:
2299         * text3.C:
2300         * undo.C: adjust
2301
2302         * cursor.h:
2303         * cursor_slice.[Ch]: some integer type changes for inset unification
2304
2305         * lyxcursor.[hC]: remove, it's CursorSlice now.
2306
2307         * Makefile.am:
2308         * BufferView_pimpl.[Ch]:
2309         * bufferview_funcs.C:
2310         * cursor_slice.C:
2311         * lyxtext.h:
2312         * text.C:
2313         * text2.C:
2314         * text3.C:
2315         * textcursor.[Ch]: adjust
2316
2317 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2318
2319         * text2.C (undoSpan): add and use
2320         * text.C (breakParagraph): use undoSpan (fix bug 578)
2321         * lyxtext.h: adjust
2322
2323 2004-01-08  Angus Leeming  <leeming@lyx.org>
2324
2325         * BufferView_pimpl.C (MenuInsertLyXFile):
2326         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2327         * lyxfunc.C (menuNew, open, doImport):
2328         FileFilterList change to the FileDialog open and save functions.
2329
2330 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2331
2332         * ShareContainer.h: make isEqual and isUnique adaptable
2333
2334         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2335
2336 2004-01-07  Angus Leeming  <leeming@lyx.org>
2337
2338         * LyXAction.C:
2339         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2340
2341         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2342
2343         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2344         functions replacing find, replace and replaceAll.
2345
2346         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2347         LFUN_WORDFIND(FORWARD|BACKWARD).
2348
2349 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2350
2351         * text.C (breakParagraph): remove an outdated #warning
2352
2353 2004-01-07  André Pönitz  <poenitz@gmx.net>
2354
2355         * lyxfind.C: somewhat clearer logic
2356
2357         * text.C: prevent crash in cursorX on unitialized row cache
2358
2359 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2360
2361         * lyxcursor.[Ch] (operator>): add
2362         * textcursor.C (selStart, selEnd): use std::min and std::max
2363
2364 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2365
2366         * Chktex.C: include boost/format.hpp
2367
2368 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2369
2370         * InsetList.C: replace functor MathcIt with adaptable functor
2371         InsetTablePosLess
2372         (insetIterator): modify accordingly
2373
2374         * BranchList.h: move the BranchNamesEqual functor here from...
2375         * BranchList.C: ... to here
2376
2377         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2378         SameName and match.
2379         (add): replace a finding loop with std::find_if.
2380
2381 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2382
2383         * output_docbook.C: moving LatexParam functionality into
2384         .layout files
2385
2386 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2387
2388         * buffer.C: increment format to 229.
2389
2390 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2391
2392         * LaTeXFeatures.C:
2393         * lyx_sty.[Ch]: remove minipageindent_def
2394
2395         * LyXAction.C:
2396         * factory.C:
2397         * lfuns.h:
2398         * lyxfunc.C:
2399         * text3.C: remove LFUN_INSET_MINIPAGE
2400
2401 2003-12-28  Angus Leeming  <leeming@lyx.org>
2402
2403         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2404
2405 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * text2.C (setParagraph): fix off-by-one crash
2408
2409 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2410
2411         * output_docbook.C: header stuff for AGU
2412
2413 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * text2.C (redoCursor): remove
2416         * text.C:
2417         * text3.C:
2418         * BufferView_pimpl.C: remove calls to redoCursor and
2419         setCursor(cursor.par(), cursor.pos()) all around
2420
2421 2003-12-15  Angus Leeming  <leeming@lyx.org>
2422
2423         * buffer.C: up the format to 228.
2424
2425 2003-12-15  André Pönitz  <poenitz@gmx.net>
2426
2427         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2428         slices
2429
2430         * Makefile.am:
2431
2432         * BufferView_pimpl.C:
2433         * cursor.[Ch]:
2434         * lyxcursor.[Ch]:
2435         * rowpainter.[Ch]:
2436         * lyxtext.h:
2437         * text.C:
2438         * text2.C:
2439         * text3.C: adjust
2440
2441 2003-12-15  Angus Leeming  <leeming@lyx.org>
2442
2443         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2444         than getFromGUIName to manipulate the color.
2445
2446 2003-12-14  Angus Leeming  <leeming@lyx.org>
2447
2448         * BranchList.[Ch]: minimize the API.
2449         (Branch::getBranch, getColor): now return a 'const &'.
2450         (Branch::setSelected) now returns a bool set to true if the
2451         selection status changes.
2452         (BranchList::clear, size, getColor, setColor, setSelected,
2453         allBranches, allSelected, separator): removed.
2454         (BranchList::find): new functions, returning the Branch with
2455         the given name.
2456         (BranchList::add, remove): return a bool indicating that
2457         the operation was successful.
2458
2459         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2460         new InsetBranch::isBranchSlected member function.
2461
2462         * LColor.[Ch]: mimimize the API.
2463         (fill): renamed as addColor and made private.
2464         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2465         versions of these functions taking a string arg have been removed.
2466
2467         * bufferparams.C (readToken):
2468         * lyxfunc.C (dispatch):
2469         * lyxrc.C (read): changes due to the altered BranchList and
2470         LColor APIs.
2471
2472         * factory.C (createInset, readInset): changes due to altered
2473         InsetBranch c-tor.
2474
2475 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2476
2477         * factory.C:
2478         * lyxfunc.C: remove insetminipage. "minipage-insert"
2479         now produces a frameless minipage box inset.
2480
2481 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * textcursor.[Ch] (selStart,selEnd): add new methods
2484         remove selection::start, end, use LyXCursor::operator<
2485         * lyxcursor.[Ch] (operator<): add
2486         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2487         * BufferView.[Ch] (unsetXSel): add
2488         * text2.C (clearSelection): use unsetXSel,adjust
2489         * text.C: adjust
2490         * text3.C: adjust
2491         * rowpainter.C: adjust
2492         * bufferview_funcs.C (put_selection_at): adjust
2493
2494 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * BufferView_pimpl.C: small coord. correction
2497
2498 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2499
2500         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2501         dragging over the splash screen.
2502
2503 2003-12-11  Angus Leeming  <leeming@lyx.org>
2504
2505         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2506         as it is now handled in LyXText::dispatch.
2507
2508         * text3.C (doInsertInset): remove a level of nesting.
2509
2510 2003-12-11  Angus Leeming  <leeming@lyx.org>
2511
2512         * factory.C (createInset): changes due to the changed interface to
2513         InsetCommandMailer::string2params.
2514
2515 2003-12-10  Angus Leeming  <leeming@lyx.org>
2516
2517         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2518         'dialog-show-new-inset <inset name>'
2519
2520 2003-12-10  Angus Leeming  <leeming@lyx.org>
2521
2522         * buffer.C: up the format to 227.
2523
2524         * factory.C: the box inset is now identified simply by 'Box'.
2525
2526 2003-12-10  Angus Leeming  <leeming@lyx.org>
2527
2528         * buffer.C: up the format to 226.
2529
2530         * factory.C: the note inset is now identified simply by 'Note'.
2531
2532 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2533
2534         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2535         when a pit is enough. Standarize a couple of loops.
2536
2537 2003-12-05  Angus Leeming  <leeming@lyx.org>
2538
2539         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2540         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2541         data to the re-worked "log" dialog.
2542
2543 2003-12-03  André Pönitz  <poenitz@gmx.net>
2544
2545         * PosIterator.C:
2546         * iterators.C:
2547         * lyxtext.h:
2548         * output_latex.C:
2549         * paragraph_funcs.C:
2550         * text.C:
2551         * text2.C: use Inset::getText instead of Inset::getParagraph
2552
2553 2003-12-03  André Pönitz  <poenitz@gmx.net>
2554
2555         * buffer.[Ch]:
2556         * lyxtext.h:
2557         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2558         InsetText::read() as LyXText::read()
2559
2560 2003-12-02  Angus Leeming  <leeming@lyx.org>
2561
2562         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2563         type. Add a comment in the implementation that the function uses
2564         the stream's bad() function rather than fail() as the std::streams
2565         would do.
2566
2567 2003-12-02  André Pönitz  <poenitz@gmx.net>
2568
2569         * lyxlex.[Ch]: make interface more similar to std::stream
2570
2571         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2572
2573 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2574
2575         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2576
2577 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2578
2579         * vspace.[Ch]: remove VSpace::NONE
2580
2581 2003-12-01  André Pönitz  <poenitz@gmx.net>
2582
2583         * buffer.[Ch]:
2584         * lyxtext.h: move ParagraphList member to LyXText
2585         rename LyXText::ownerParagraphs to LyXText::paragraph
2586
2587         * CutAndPaste.C:
2588         * bufferview_funcs.C:
2589         * iterators.[Ch]:
2590         * lyx_cb.C:
2591         * paragraph.C:
2592         * rowpainter.C:
2593         * tabular.C:
2594         * text.C:
2595         * text2.C:
2596         * text3.C: adjust
2597
2598         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2599
2600         * undo.C: fix cursor positioning
2601
2602 2003-12-01  John Levon  <levon@movementarian.org>
2603
2604         * BufferView_pimpl.C: fix a crash on exit with
2605         a buffer open
2606
2607 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * BranchList.C: fix setSelected() method.
2610
2611 2003-11-28  André Pönitz  <poenitz@gmx.net>
2612
2613         * ParagraphParameters.[Ch]:
2614         * ParameterStruct.h: remove space above/below from Paragraph to
2615          InsetVSpace
2616
2617         * BufferView_pimpl.C:
2618         * factory.C:
2619         * lyxfunc.C:
2620         * lyxtext.h:
2621         * output_latex.C:
2622         * paragraph.C:
2623         * paragraph_funcs.C:
2624         * rowpainter.[Ch]:
2625         * text.C:
2626         * text2.C:
2627         * text3.C: adjust
2628
2629 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2630
2631         * factory.C: Syntax change for CharStyles
2632
2633 2003-11-28  André Pönitz  <poenitz@gmx.net>
2634
2635         * BufferView.[Ch]:
2636         * BufferView.[Ch]:
2637         * buffer.[Ch]:
2638         * buffer.[Ch]: move LyXText member
2639
2640 2003-11-28  André Pönitz  <poenitz@gmx.net>
2641
2642         * BufferView.[Ch]: make LyXText * text a private member
2643
2644         * BufferView_pimpl.C:
2645         * cursor.C:
2646         * iterators.C:
2647         * lyx_cb.C:
2648         * lyxfind.C:
2649         * lyxtext.h:
2650         * rowpainter.[Ch]:
2651         * text.C:
2652         * text2.C:
2653         * undo.C: adjust
2654
2655         * output_plaintext.C: cleanup
2656
2657 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2658
2659         * buffer.C:
2660         * lyxtextclass.[Ch]: parametrize SGML document header
2661
2662 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2663
2664         * converter.[Ch]:
2665         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2666         getFlavor().
2667
2668 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * text2.C (setFont): rework using PosIterator (no more recursive)
2671         (setCharFont): no more needed
2672         (setLayout): no more selection cursors fiddling (done by redoCursor)
2673         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2674         destroy remaining ones)
2675
2676 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2679         * lyxtext.h: ditto
2680         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2681         selection cursors
2682         * lyxfunc.C: adjust
2683         * text3.C: adjust + re-allow multi par depth changes
2684         * textcursor.C: simplify a bit
2685
2686 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2687
2688         * src/buffer.C:
2689         * src/lyxlayout.C:
2690         * src/lyxlayout.h:
2691         * src/lyxtext.h:
2692         * src/output_docbook.C:
2693         * src/output_latex.C:
2694         * src/paragraph.C:
2695         * src/paragraph.h:
2696         * src/sgml.C:
2697         * src/sgml.h:
2698         * src/text2.C: Introducing a number of tags parametrizing various
2699         XML formats that we may want to support
2700
2701 2003-11-25  André Pönitz  <poenitz@gmx.net>
2702
2703         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2704
2705         * lyxtext.h (leftMargin/rightMargin): simplify interface
2706
2707         * rowpainter.C:
2708         * text.C:
2709         * text2.C:
2710         * text3.C: adjust
2711
2712 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2713
2714         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2715         master file to any child files. Fixes bug 546.
2716
2717 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2720
2721 2003-11-24  André Pönitz  <poenitz@gmx.net>
2722
2723         * rowpainter.C: simplification
2724
2725         * text2.C (updateCounters): remove call to redoParagraph on
2726         changed labels as this is far too expensive.
2727
2728 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2729
2730         * converter.C (convert): fix a crash: this function gets
2731         called with buffer == 0 from importer code.
2732
2733 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2734
2735         * text3.C (cursorPrevious): make sure that we do not compare
2736         iterators form different containers.
2737         (cursorNext): ditto
2738
2739         * rowpainter.C (paintSelection): make sure that we do not compare
2740         iterators from different containers.
2741
2742         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2743         iterators from different ParagraphList containers.
2744         [NEXT] ditto
2745
2746         * text2.C (LyXText): change order of initialization slightly
2747         (operator=): new function. copy all variables except cache_par_
2748         (moveUp): make sure that we do not compare iterators from
2749         different ParagraphList constainers.
2750         (moveDown): ditto
2751
2752         * text.C (firstPar): new function
2753         (lastPar): new function
2754         (endPar): new function
2755
2756         * lyxtext.h: move things around and group public functions, public
2757         variables, private functions, private variables
2758
2759 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2760
2761         * factory.C: change call to InsetERT constructor to avoid
2762         additional invocation of method status
2763         * text2.C (toggleInset): remove redundant update() call
2764         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2765         instead of a Bufferview pointer
2766
2767 2003-11-21  André Pönitz  <poenitz@gmx.net>
2768
2769         * rowpainter.C: simplification
2770
2771 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2772
2773         * text3.C (dispatch): make possible to extend a word/row selection
2774         with the mouse
2775
2776 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * lyxtext.h: x0_,y0_ -> xo_,yo_
2779         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2780         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2781         * rowpainter.C (paintRows): paint full paragraphs
2782
2783 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2784
2785         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2786         screen coordinates)
2787
2788 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * lyxtext.h: add x0_, y0_
2791         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2792         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2793
2794 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2795
2796         * text2.C (setCursorIntern): move the x_target update here *
2797         * text3.C: change some bv() to true/false in calls to
2798         cursorUp/Down/Right/Left
2799         * cursor.C: use helper function.
2800
2801 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2804         * paragraph_funcs.[Ch]: correct comment
2805         * rowpainter.C: do not paint selections away from bv->cursor()
2806         Fix a long standing selection painting bug.
2807         * text3.C: generalize mouse-selection code to LyXTexts other that
2808         top one
2809         * textcursor.C: do not use y coords if we can use par offsets
2810
2811 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2812
2813         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2814         cursor position after e.g. inset insert)
2815
2816 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2817
2818         * lyxfind.C (replace): adjust to locking removal + some
2819         code simplification
2820
2821 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2824         of the path
2825
2826 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2827
2828         * lyxlayout.[Ch]:
2829         * output_docbook.C: XML sanitation: new layout
2830         parameters InnerTag and CommandDepth
2831
2832 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * BufferView_pimpl.C:
2835         * factory.C:
2836         * text3.C: Fix the insertion and modification of button-style
2837         insets
2838
2839 2003-11-13  André Pönitz  <poenitz@gmx.net>
2840
2841         * InsetList.[Ch]: remove deleteLyXText
2842
2843         * paragraph.[Ch]: cache beginOfBody position
2844
2845         * Bidi.C:
2846         * text.C:
2847         * text2.C:
2848         * text3.C: remove superfluous update() calls
2849
2850         * vspace.C: cleanup
2851
2852 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2853
2854         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2855         * BufferView.C (fitLockedInsetCursor): remove
2856         * cursor.[Ch] (getDim): add
2857         * text.C (getRowNearY): add faster version
2858         * text3.C: remove some update calls
2859
2860 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * LaTeXFeatures.C:
2863         * LyXAction.C:
2864         * MenuBackend.C:
2865         * MenuBackend.h:
2866         * dispatchresult.h:
2867         * factory.C:
2868         * lfuns.h:
2869         * lyxfunc.C:
2870         * lyxtextclass.C:
2871         * lyxtextclass.h:
2872         * text3.C: The Character Style /XML short element patch.
2873
2874 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * text3.C:
2877         * factory.C: Small step to solving 'unable to insert some insets'
2878         problem
2879
2880 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * cursor.[Ch] (updatePos): new function for updating the y
2883         position of the tip inset
2884         * bufferview_funcs.C (put_selection_at):
2885         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2886
2887 2003-11-11  André Pönitz  <poenitz@gmx.net>
2888
2889         * text.C: remove big comment on invalid Paragraph pointers as it is
2890         not valid anymore
2891
2892 2003-11-11  André Pönitz  <poenitz@gmx.net>
2893
2894         * text_funcs.[Ch]: merge with ...
2895
2896         * text.C: ... this
2897
2898         * lyxtext.h:
2899         * text2.C:
2900         * text3.C: adjust
2901
2902         * Makefile.am: remove text_funcs.[Ch]
2903
2904 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * cursor.C (getPos): return absolute cached y coord
2907
2908         * BufferView_pimpl.C (fitCursor): new simplistic code
2909         (workAreaDispatch): add a fitCursor call
2910
2911 2003-11-10  André Pönitz  <poenitz@gmx.net>
2912
2913         * BufferView.[Ch]:
2914         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2915
2916 2003-11-10  André Pönitz  <poenitz@gmx.net>
2917
2918         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2919         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2920         indicate that the cursor needs to leave an inset
2921
2922         * lyxtext.h: remove inset locking
2923
2924         * cursor.[Ch]: re-implement functionality provided by inset locking
2925
2926         * BufferView.[Ch]:
2927         * BufferView_pimpl.[Ch]:
2928         * LyXAction.C:
2929         * bufferview_funcs.[Ch]:
2930         * factory.C:
2931         * funcrequest.[Ch]:
2932         * iterators.C:
2933         * lyx_cb.C:
2934         * lyxfind.C:
2935         * lyxfunc.C:
2936         * text.C:
2937         * text2.C:
2938         * text3.C:
2939         * undo.C: adjust
2940
2941 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2942
2943         * PosIterator.[Ch]: replace the stack with a vector, add inset
2944         accesor
2945         * iterators.[C]: adjust
2946
2947 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2948
2949         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2950         replaced
2951         * paragraph_funcs.C (readParToken): put the correct id in the
2952         error item, not the id of the top paragraph
2953
2954 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2957         * bufferview_funcs.C (put_selection_at): use the above
2958
2959 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2960
2961         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2962
2963 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2964
2965         * output_linuxdoc.h:
2966         * output_plaintext.h:
2967         * output.h:
2968         * output_docbook.h: add #include statements
2969
2970 2003-11-05  José Matos  <jamatos@lyx.org>
2971
2972         * output_docbook.[Ch]:
2973         * output_latex.[Ch]:
2974         * output_linuxdoc.[Ch]:
2975         * output_plaintext.[Ch]: New files for output formats.
2976         * output.[Ch]: New file for helper functions.
2977
2978         * buffer.[Ch]:
2979         * paragraph_funcs.[Ch]: output functions moved to new files.
2980
2981         * outputparams.h: rename of latexrunparams.h
2982
2983         * LaTeX.[Ch]:
2984         * buffer.[Ch]:
2985         * bufferlist.[Ch]:
2986         * converter.[Ch]:
2987         * exporter.C:
2988         * paragraph.[Ch]:
2989         * paragraph_funcs.[Ch]:
2990         * paragraph_pimpl.[Ch]:
2991         * tabular.[Ch]: rename ascii to plaintext
2992         and LatexRunParams to OutputParams.
2993
2994 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2995
2996         * iterators.[Ch] (text): require bv argument
2997         * undo.C (recordUndo):
2998         * lyxfunc.C (dispatch):
2999         * bufferview_funcs.C (put_selection_at): adjust
3000
3001 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3002
3003         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3004
3005 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3008         nestings
3009
3010 2003-11-04  André Pönitz  <poenitz@gmx.net>
3011
3012         * cursor.[Ch]: restructure
3013
3014         * BufferView.[Ch]:
3015         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3016
3017         * iterators.[Ch] (asCursor): remove
3018
3019         * lfuns.h: remove LFUN_INSET_EDIT
3020
3021         * lyxfunc.C:
3022         * tabular.C:
3023         * text.C:
3024         * text2.C:
3025         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3026
3027 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3028
3029         * lyxfind.[Ch]: complete overhaul
3030         * BufferView_pimpl.C:
3031         * lyxfunc.C: adjust
3032         * paragraph.[Ch] (insert): add
3033
3034 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3035
3036         * BufferView.[Ch]:
3037         * lyxtext.h:
3038         * text.C: remove dead spellcheck code
3039
3040 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * dispatchresult.h: add a val setter
3043
3044         * cursor.C (dispatch): use a tempvar for data_[i]
3045
3046 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3047
3048         * PosIterator.[Ch]: compile fix
3049
3050 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * text.C (cursorPar): deactivate the cursor cache
3053
3054 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3057
3058 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * text3.C (dispatch): adjust for new DisptchResult semantics.
3061
3062         * lyxfunc.C (dispatch): handle update when return from
3063         Cursor::dispatch, adjust for new DispatchResult semantics.
3064
3065         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3066         DispatchResult(true) mean to not update. Add class functions for
3067         setting dispatched and update, as well as reading.
3068
3069         * cursor.C (dispatch): don't handle update here
3070
3071 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3074         * trans_mgr.C: adjust
3075
3076         * paragraph_funcs.C (readParToken): exception safety
3077
3078         * lyxvc.h: store the vcs pointer in a scoped_ptr
3079         * lyxvc.C: adjust
3080
3081         * lyxsocket.C (serverCallback): exception safety
3082
3083         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3084
3085         * ispell.C (clone): make it return a auto_ptr
3086
3087         * factory.C (createInset): exception safety
3088         (readInset): exception safety
3089
3090         * bufferlist.C (newBuffer): exception safety
3091
3092         * Thesaurus.C (Thesaurus): use initialization for aik_
3093
3094         * MenuBackend.C (expandToc): exception safety.
3095
3096 2003-11-03  André Pönitz  <poenitz@gmx.net>
3097
3098         * buffer.C:
3099         * buffer.h:
3100         * bufferview_funcs.C: remove getInsetFromId()
3101
3102         * lyxcursor.[Ch]:
3103         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3104
3105         * lyxfunc.C:
3106         * text2.C:
3107         * text3.C: adjust
3108
3109 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * PosIterator.C (distance, advance): new
3112         * bufferview_funcs.[Ch] (put_selection_at): new
3113         * iterators.[Ch] (lockPath): new
3114
3115 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * iterators.[Ch] (asPosIterator): added
3118         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3119         * PosIterator.[Ch]: added
3120
3121 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * text3.C:
3124         * lyxfunc.C:
3125         * cursor.C (dispatch):
3126         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3127
3128         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3129         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3130         contructor, add a class function dispatched. Remove operator>=
3131
3132 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * debug.C: only use the default constructor for debugstream
3135         (lyxerr) here.
3136
3137         * main.C (main): include debug.h and setup the lyxerr streambuf
3138         here.
3139
3140 2003-10-31  José Matos  <jamatos@lyx.org>
3141
3142         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3143
3144         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3145         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3146         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3147         * paragraph_pimpl.C (simpleTeXSpecialC):
3148         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3149         add LatexRunParams argument.
3150
3151         * exporter.C (Export): change call accordingly.
3152
3153         * latexrunparams.h: add new member to take care of the other backends.
3154 2003-10-30  José Matos  <jamatos@lyx.org>
3155
3156         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3157         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3158         factorise code for paragraph output.
3159         * buffer.[Ch]:
3160         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3161         move functions.
3162
3163 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * text3.C (dispatch):
3166         * lyxfunc.C (dispatch):
3167         * cursor.C (dispatch):
3168         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3169
3170         * dispatchresult.h: make the dispatch_result_t ctor explicit
3171
3172 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3173
3174         * sgml.[Ch]:
3175         * buffer.C: small refactoring of docbook stuff
3176
3177 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3180         meaning.
3181
3182 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3185         operator dispatch_result_t, and operators for == != and >=
3186
3187         * cursor.C (dispatch): adjust for operator dispatch_result_t
3188         removal. comment out call to update
3189
3190         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3191
3192 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * text3.C:
3195         * text2.C:
3196         * text.C:
3197         * lyxtext.h:
3198         * lyxfunc.C:
3199         * cursor.C:
3200         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3201         (dispatch):
3202
3203         * dispatchresult.h: new file, DispatchResult broken out of
3204         insets/insetbase.h
3205
3206         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3207
3208 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3209
3210         * text.C (rowBreakPoint): put a hack inside #if 0
3211
3212 2003-10-28  André Pönitz  <poenitz@gmx.net>
3213
3214         * lyxtext.h:
3215         * metricsinfo.C:
3216         * paragraph_funcs.C:
3217         * rowpainter.C:
3218         * text.C:
3219         * text2.C: general cleanup (lots of small stuff)
3220
3221 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * text2.C (cursorEnd): simple fix to the "end key goes to one
3224         before the end on last row" bug
3225
3226 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * text.C (backspace): fix the "zombie characters"
3229
3230 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3231
3232         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3233
3234 2003-10-27  André Pönitz  <poenitz@gmx.net>
3235
3236         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3237
3238         * factory.C: handle new InsetPagebreak, InsetLine
3239
3240         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3241         and move handling into new InsetPagebreak, InsetLine
3242
3243         * BufferView_pimpl.C:
3244         * LyXAction.C:
3245         * ParagraphParameters.C:
3246         * ParameterStruct.h:
3247         * lyxfunc.C:
3248         * lyxtext.h:
3249         * paragraph.C:
3250         * paragraph.h:
3251         * paragraph_funcs.C:
3252         * paragraph_pimpl.C:
3253         * rowpainter.C:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: adjust
3257
3258 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3259
3260         * text.C:
3261         * lyxrow_funcs.[Ch]:
3262         * Bidi.C:
3263         * paragraph.C:
3264         * lyxtext.h:
3265         * rowpainter.C:
3266         * text2.C:
3267         * text3.C: remove lastPos uses in favour of Row::endpos
3268
3269 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3270
3271         * undo.C (performUndoOrRedo): fix two crashes by setting a
3272         cursor by hand and reordering some calls. Use bv->lockInset instead
3273         of inset->edit because the latter loses cursor information
3274
3275 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3276
3277         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3278         by Martin
3279         (rowBreakPoint): fix width. change point to point + 1.
3280         Add a missing check.
3281
3282 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3283
3284         * MenuBackend.C:
3285         * lyxfunc.C: fix (at least partly) the problems
3286         with the Nav menu and headers inside branch insets
3287         reported by Kayvan
3288
3289 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3290
3291         * paragraph.C (getChar): add strong asserts
3292
3293         * lyxrow_funcs.C (lastPos): remove hideous hack
3294
3295         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3296         (fill): adjust to that (avoid an infinite loop)
3297
3298 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3299
3300         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3301
3302 2003-10-23  André Pönitz  <poenitz@gmx.net>
3303
3304         * RowList_fwd.h: change list<> to vector<> to gain speed
3305         after suggestion from Alfredo
3306
3307 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3308
3309         * lyxtext.h: move the bidi stuff from here...
3310         * text.C: and here
3311         * text2.C: and here
3312         * Bidi.[Ch]: ... to here
3313
3314 2003-10-23  André Pönitz  <poenitz@gmx.net>
3315
3316         * lyxtext.h:
3317         * text.C (isLastRow, isFirstRow): new functions
3318
3319         * paragraph.h: new width cache member
3320
3321         * rowpainter.C: replace RowList::iterator with Row & where possible
3322
3323         * lyxfunc.C: replace several view()->text with a single call
3324
3325         * toc.C: fix 'unused' warning
3326
3327 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3330         when woring with stream::pos_type
3331         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3332
3333 2003-10-22  André Pönitz  <poenitz@gmx.net>
3334
3335         * lyxtext.h:
3336         * text.C: use Row & instead of RowList::iterator
3337
3338         * lyxrow.h: rename end() to endpos()
3339
3340         * rowpainter.C:
3341         * text.C:
3342         * text2.C: adjust
3343
3344 2003-10-22  Angus Leeming  <leeming@lyx.org>
3345
3346         * buffer.[Ch] (fully_loaded): new member function, returning true
3347         only when the file has been loaded fully.
3348         Used to prevent the premature generation of previews and by the
3349         citation inset to prevent computation of the natbib-style label.
3350
3351         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3352         templates are all set up.
3353
3354         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3355
3356 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3357
3358         * text.C: fixed an "oops" in the "is a bit silly"
3359         bug fix
3360
3361 2003-10-21  André Pönitz  <poenitz@gmx.net>
3362
3363         * FuncStatus.[Ch]: small stuff, whitespace
3364
3365         * lyxfont.[Ch]: operator<<() for debug reasons
3366
3367         * lyxfunc.C:
3368         * lyxrow_funcs.C:
3369         * lyxtext.h: whitespace, spelling
3370
3371         * paragraph.C: naming of variables
3372
3373         * text.C:
3374         * text2.C: small stuff
3375
3376
3377 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * text.C: (1) finish off the inset display() work;
3380         (2) fix the "is a bit silly" bug (accessing char
3381         past end of par).
3382
3383 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3384
3385         * text.C: re-introduce display() for insets, fixing the
3386         various bugs (stretch of line above, math inset
3387         positioning, ...)
3388
3389 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3390
3391         * text.C (rightMargin): remove spurious semicolon
3392
3393         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3394         1415)
3395
3396 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * text3.C: fix one crash due to wrong cursor def
3399
3400 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3401
3402         * vc-backend.C (scanMaster): make the regex static
3403
3404         * LaTeX.C (scanAuxFile): make the regexs static
3405
3406         * text3.C (doInsertInset, dispatch, dispatch):
3407         * text2.C (cursorUp, cursorDown):
3408         * text.C (selectNextWordToSpellcheck):
3409         * BufferView_pimpl.C (dispatch):
3410         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3411
3412 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3413
3414         * lyxsocket.C: include <cerrno>
3415
3416 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * lyxfunc.C (dispatch): remove textcache stuff
3419
3420         * bufferlist.C (release): remove textcache stuff
3421         (closeAll): ditto
3422
3423         * TextCache.C: delete file
3424         * TextCache.h: delete file
3425
3426         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3427
3428         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3429         delete of the bv_->text.
3430         (resizeCurrentBuffer): remove texcache stuff
3431         (workAreaResize): ditto
3432
3433 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3436         action.
3437
3438 2003-10-16  André Pönitz  <poenitz@gmx.net>
3439
3440         * lyxrow.[Ch]:
3441         * paragraph.h:
3442         * rowpainter.C:
3443         * text.C:
3444         * text2.C:
3445         * text3.C: speed up by storing y positions per paragraph plus per-row
3446         offset instead of having a 'full' y position in the row.
3447
3448 2003-10-15  André Pönitz  <poenitz@gmx.net>
3449
3450         * iterators.[Ch]:
3451         * iterators.[Ch]:
3452         * undo.[Ch]: make undo aware of inner insets
3453
3454 2003-10-14  Angus Leeming  <leeming@lyx.org>
3455
3456         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3457         static member functions LyX::ref() and LyX::cref.
3458         (lastfiles): new accessor functions for the new lastfiles_ member var.
3459         (addLyXView, views_): add a new LyXView to the list of views_.
3460         (updateInset): loop over all LyXViews to call their own updateInset
3461         member function, returning a pointer to the Buffer owning the inset.
3462
3463         * BufferView_pimpl.C (loadLyXFile):
3464         * MenuBackend.C (expandLastfiles):
3465         * bufferlist.C (MenuWrite, QuitLyX):
3466         lastfiles is no longer a global variable.
3467         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3468
3469         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3470         static function. Access through LyX::cref().emergencyCleanup().
3471
3472 2003-10-14  André Pönitz  <poenitz@gmx.net>
3473
3474         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3475
3476         * undo.[Ch]: restoring part of 'undo in insets'
3477
3478         * Makefile.am:
3479         * undo_funcs.[Ch]: merge with undo.[Ch]
3480
3481         * tabular.C: small cleansing stuff
3482
3483 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * paragraph_funcs.C (readParToken): report unknown insets as error
3486         boxes. Use the outer paragraph as location (also for unknown
3487         tokens).
3488
3489         * factory.C (readInset): do not abort on reading an unknown inset.
3490         Eat it and return 0.
3491
3492 2003-10-13  Angus Leeming  <leeming@lyx.org>
3493
3494         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3495
3496         * lyxrc.C: displayTranslator is now a function,
3497         declared in GraphicsTypes.h.
3498
3499 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3500
3501         * format.C: new placeholder $$a to pass the socket address.
3502
3503         * bufferlist.[Ch]: new function getBufferFromTmp.
3504
3505         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3506           files in the temporary dir.
3507
3508 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3509
3510         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3511
3512         * Makefile.am: add lyxsocket.[Ch].
3513
3514         * lyx_main.C (error_handler): handle SIGPIPE.
3515
3516 2003-10-13  André Pönitz  <poenitz@gmx.net>
3517
3518         * BufferView_pimpl.C:
3519         * lyxtext.h:
3520         * text.C:
3521         * text2.C:
3522         * text3.C:
3523         * undo_funcs.[Ch]: use paroffset_type instead of
3524           ParagraphList::iterators to prevent multiple conversion
3525           (and get a more robust interface)
3526
3527 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3528
3529         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3530         * lyxtext.h: ditto
3531         * text3.C (dispatch): ditto
3532
3533 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3536         move the onlyfile, use onlyfile instead of foundfile in a couple
3537         of places.
3538
3539         * DepTable.C (update): flush the error stream a bit more
3540
3541 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * lyxserver.C (callback): adjust
3544
3545         * lyxfunc.C (getStatus): add a missing brace in commented code
3546         (ensureBufferClean): reindent
3547         (dispatch): delete version taking a string
3548
3549 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * LaTeX.C (deplog): move found file handlig from here...
3552         (handleFoundFile): .. to new function here.
3553         (deplog): make sure to discover several files mentioned on the
3554         same log line.
3555
3556 2003-10-10  André Pönitz  <poenitz@gmx.net>
3557
3558         * lyxfunc.C:
3559         * lyxtext.h:
3560         * tabular.C:
3561         * text.C:
3562         * text2.C:
3563         * text3.C: fix some of the tabular crashes
3564
3565 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3566
3567         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3568
3569         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3570
3571 2003-10-09  André Pönitz  <poenitz@gmx.net>
3572
3573         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3574
3575         * BufferView.C:
3576         * BufferView_pimpl.C:
3577         * bufferview_funcs.C:
3578         * lyx_cb.C:
3579         * lyxcursor.C:
3580         * lyxfind.C:
3581         * lyxfunc.C:
3582         * lyxtext.h:
3583         * text.C:
3584         * text2.C:
3585         * text3.C:
3586         * text_funcs.[Ch]:
3587         * textcursor.[Ch]:
3588         * undo_funcs.C: adjust
3589
3590 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * text2.C (incrementItemDepth): new function, use a backtracking
3593         algorithm to discover the correct item depth.
3594         (resetEnumCounterIfNeeded): new function, use a backtracking
3595         algorithm to discover if counter reset is needed.
3596         (setCounter): use them. Simplify a bit. Add different labels for
3597         different item depths for itemize.
3598
3599         * paragraph.C (Paragraph): remove initialization of enumdepth
3600         (operator=): ditto
3601
3602         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3603         enumerate and itemize. Change the type of itemdepth to signed char.
3604
3605 2003-10-08  André Pönitz  <poenitz@gmx.net>
3606
3607         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3608           thing assignable.
3609         * text.C:
3610         * text2.C: adjust
3611
3612         * tabular.[Ch]: fix crash after 'row-insert'
3613
3614 2003-10-08  Angus Leeming  <leeming@lyx.org>
3615
3616         Fix doxygen warnings.
3617
3618         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3619         Remove CutAndPaste:: prefix from header file declaration.
3620
3621         * LColor.h (fill): remove LColor:: prefix from declaration.
3622
3623         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3624         use lyx::depth_type rather than Paragraph::depth_type so that
3625         header file and .C file match.
3626
3627         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3628
3629         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3630         * aspell.C: \file aspell_local.C -> \file aspell.C
3631         * gettext.C: \file gettext.C -> \file src/gettext.C
3632         * gettext.h: \file gettext.h -> \file src/gettext.h
3633         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3634         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3635         * text.C: \file text.C -> \file src/text.C
3636
3637         * toc.C: move comment so that doxygen is not confused.
3638
3639 2003-10-07  Angus Leeming  <leeming@lyx.org>
3640
3641         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3642
3643 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3644
3645         * aspell.C:
3646         * aspell_local.h: add forgotten std::string's.
3647
3648 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3649
3650         * LaTeXFeatures.C:
3651         * LyXAction.C:
3652         * factory.C:
3653         * lfuns.h:
3654         * lyxfunc.C:
3655         * text3.C: The Box patch. Fancybox support, minipage, parbox
3656
3657 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3658
3659         * CutAndPaste.h:
3660         * DepTable.h:
3661         * FloatList.h:
3662         * LaTeXFeatures.h:
3663         * ParagraphParameters.h:
3664         * TextCache.h:
3665         * Thesaurus.h:
3666         * bufferlist.h:
3667         * exporter.h:
3668         * importer.h:
3669         * lastfiles.h:
3670         * lyxfind.h:
3671         * lyxfont.h:
3672         * lyxlex.h:
3673         * lyxtextclasslist.h:
3674         * messages.h:
3675         * paragraph.h:
3676         * paragraph_pimpl.C:
3677         * textcursor.h: add <string> and other small fixes to make Lars'
3678         std::string patch compile with STLport.
3679
3680 2003-10-06  Angus Leeming  <leeming@lyx.org>
3681
3682         * LColor.h: Add missing #include <string>.
3683
3684 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * All most all file in all subdirs: Make <string> be the prefered
3687         way of getting to std::string, add using declarations.
3688
3689 2003-10-06  André Pönitz  <poenitz@gmx.net>
3690
3691         * metricsinfo.C: initialize LyXFont before changing attribute.
3692         (fixes the 'math in \emph is upright' bug)
3693
3694 2003-10-06  André Pönitz  <poenitz@gmx.net>
3695
3696         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3697
3698 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3699
3700         * graph.C:
3701         * paragraph_pimpl.C: Small fixes to build using STLport
3702
3703 2003-10-02  André Pönitz  <poenitz@gmx.net>
3704
3705         * lyxfunc.C:
3706         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3707
3708 2003-10-01  André Pönitz  <poenitz@gmx.net>
3709
3710         * factory.C: assert early
3711
3712 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * lyx_main.C: remove the global debug object
3715
3716         * debug.h: adjust for new debugstream
3717
3718         * debug.C: adjust for new debugstream and keep the global debug
3719         object here.
3720
3721 2003-09-22  Angus Leeming  <leeming@lyx.org>
3722
3723         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3724         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3725         an incomplete class LyXFont.
3726
3727 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3728
3729         * factory.C: bug fix in branches
3730
3731 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3732
3733         * lyxfunc.C (processKeySym): adjust
3734         (dispatch): adjust
3735         (dispatch): change arg name from ev to func, adjust
3736         (sendDispatchMessage): ditto
3737
3738         * lyx_main.C (defaultKeyBindings): adjust keybindings
3739         (deadKeyBindings): ditto
3740
3741         * kbsequence.C (addkey): return a FuncRequest
3742
3743         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3744
3745         * kbmap.C (bind): take a FuncRequest as arg, adjust
3746         (read): adjust
3747         (lookup): adjust
3748         (defkey): change to take a FuncRequest as arg, adjust
3749         (findbinding): take a FuncRequest as arg, adjust.
3750
3751         * funcrequest.h (operator=): added
3752
3753         * funcrequest.C (FuncRequest): default kb_action changed from
3754         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3755
3756         * buffer.C (dispatch): simplify
3757         (dispatch): adjust to take a FuncRequest as arg, adjust
3758
3759         * boost.C (assertion_failed): change assertion message slightly
3760
3761         * ToolbarBackend.C (read): simplify
3762
3763         * MenuBackend.C (binding): adjust call to findbinding, add a
3764         message if no binding is found.
3765         (read): simplify
3766         (expandToc): correct by adding a empty FuncRequest
3767
3768         * LyXAction.C: include <boost/assert.hpp>
3769         (isPseudoAction): delete function
3770         (LookupFunc): change name to...
3771         (lookupFunc): this. change return type to FuncRequest.
3772         (getActionName): take kb_action as arg, simplify
3773         (funcHasFlag): add an assert, simplify.
3774
3775 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * toc.C (action): return a FuncRequest, simplify
3778
3779         * lyxfunc.C (processKeySym): adjust
3780         (getStatus): delete version that takes an int.
3781         (getStatus): adjust
3782         (dispatch): delete version that takes action as int
3783         (dispatch): adjust
3784         (sendDispatchMessage): simplify and adjust
3785
3786         * funcrequest.C (getArg): take unsigned int as arg
3787
3788         * ToolbarBackend.C (read): adjust
3789         (add): delete version that takes func as a string.
3790         (getIton): take a FuncRequest as arg
3791
3792         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3793         action.
3794
3795         * MenuBackend.C (MenuItem): add a new construct that only takes a
3796         Kind, simplify the constructor use for submenus.
3797         (add): adjust
3798         (expandLastfiles): adjust
3799         (expandDocuments): adjust
3800         (expandFormats): adjust
3801         (expandFloatListInsert): adjust
3802         (expandFloatInsert): adjust
3803         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3804
3805         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3806         Remove class variables lyx_pseudo_map and lyx_arg_map
3807
3808         * LyXAction.C (searchActionArg): delete function
3809         (getPseudoAction): delete function
3810         (retrieveActionArg): delete function
3811         (LookupFunc): make it return kb_action, simplify.
3812         (getActionName): simplify
3813
3814         * factory.C (createInset): fix new bug
3815
3816 2003-09-19  Angus Leeming  <leeming@lyx.org>
3817
3818         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3819         masterFilename_ parameter in the include inset.
3820
3821         * factory.C (createInset): changes due to the changes to InsetInclude.
3822
3823 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3824
3825         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3826
3827 2003-09-18  Angus Leeming  <leeming@lyx.org>
3828
3829         * buffer.C:
3830         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3831         Inset::fillWithBibKeys.
3832         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3833
3834 2003-09-18  Angus Leeming  <leeming@lyx.org>
3835
3836         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3837         variables.
3838         (ctor): pass and store a 'Buffer const &'
3839         (buffer): new member function.
3840
3841         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3842         '*this' to the LaTeXFeatures ctor.
3843
3844 2003-09-18  Angus Leeming  <leeming@lyx.org>
3845
3846         * LColor.h:
3847         * lyxfont.C:
3848         * lyxfont.h:
3849         * lyxtext.h:
3850         * text.C: rename EnumLColor as LColor_color.
3851
3852 2003-09-18  Angus Leeming  <leeming@lyx.org>
3853
3854         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3855         remove #include "insets/insetbase.h" from cursor.h.
3856
3857 2003-09-18  Angus Leeming  <leeming@lyx.org>
3858
3859         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3860         InsetOld_code to remove #include "inset.h".
3861
3862         * iterators.C: add #include "insets/inset.h"
3863
3864 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3865
3866         * BufferView.C: remove more locking stuff that apparently doesn't
3867         do anything sensible.
3868
3869 2003-09-16  André Pönitz  <poenitz@gmx.net>
3870
3871         * paragraph.[Ch]:
3872         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3873           performance boost.
3874
3875 2003-09-16  Angus Leeming  <leeming@lyx.org>
3876
3877         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3878
3879         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3880         arg/return type.
3881
3882         * paragraph.h: remove #include "lyxfont.h". Forward declare
3883         LyXFont_size.
3884
3885 2003-09-16  Angus Leeming  <leeming@lyx.org>
3886
3887         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3888         of support/textutils.h.
3889         (isWord): move the contents of support/textutils.h's IsWordChar here.
3890
3891         * buffer.C:
3892         * lyxfind.C:
3893         * rowpainter.C:
3894         * text.C:
3895         * text2.C: add #include "paragraph.h".
3896
3897         * rowpainter.C:
3898         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3899
3900 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * main.C:
3903         * lyx_main.C:
3904         * lyx_cb.C:
3905         * buffer.C:
3906         * LaTeX.C: use namespace alias for lyx::support::os
3907
3908 2003-09-16  Angus Leeming  <leeming@lyx.org>
3909
3910         * bufferparams.C:
3911         * bufferview_funcs.C:
3912         * factory.C:
3913         * lyxfunc.C:
3914         * paragraph_pimpl.C:
3915         * rowpainter.C:
3916         * text.C: add #include "LColor.h".
3917
3918 2003-09-16  Angus Leeming  <leeming@lyx.org>
3919
3920         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3921         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3922         return LyXFont &.
3923         Store the FontBits::color variable as an int rather than as an
3924         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3925         file.
3926
3927         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3928         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3929         string calls together.
3930
3931         * lyxrc.C: add #include "LColor.h".
3932
3933 2003-09-15  Angus Leeming  <leeming@lyx.org>
3934
3935         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3936         a cow_ptr.
3937
3938 2003-09-15  Angus Leeming  <leeming@lyx.org>
3939
3940         * LColor.h: add an EnumLColor wrapper for LColor::color.
3941
3942         * lyxfont.[Ch] (color, setColor, realColor):
3943         * lyxtext.h, text.C (backgroundColor):
3944         pass EnumLColor args to/from the functions, rather than LColor::color
3945         ones.
3946
3947         * lyxfont.h:
3948         * lyxtext.h: forward declare EnumLColor.
3949
3950         * lyx_main.C: add #include "LColor.h".
3951
3952 2003-09-15  Angus Leeming  <leeming@lyx.org>
3953
3954         * .cvsignore: add lyx-gtk.
3955
3956 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * Chktex.C
3959         * LaTeX.C
3960         * LaTeXFeatures.C
3961         * ParagraphParameters.C
3962         * Spacing.C
3963         * buffer.C
3964         * bufferparams.C
3965         * bufferview_funcs.C
3966         * chset.C
3967         * counters.C
3968         * funcrequest.C
3969         * lyxfont.C
3970         * lyxgluelength.C
3971         * lyxlength.C
3972         * paragraph.C
3973         * paragraph_funcs.C
3974         * text3.C
3975         * vc-backend.C: remove usage of STRCONV
3976
3977 2003-09-15  Angus Leeming  <leeming@lyx.org>
3978
3979         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3980         explicitly define the color passed to the painter.
3981
3982 2003-09-15  Angus Leeming  <leeming@lyx.org>
3983
3984         * bufferparams.C (BufferParams): reorder member initializers to avoid
3985         compiler warning.
3986
3987 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3990         * text.C (updateRowPositions): remove an unusual nop
3991
3992 2003-09-12  André Pönitz  <poenitz@gmx.net>
3993
3994         * BufferView_pimpl.C:
3995         * Bullet.C:
3996         * layout.h:
3997         * lyxfunc.C:
3998         * lyxlayout.[Ch]:
3999         * lyxtextclass.C:
4000         * rowpainter.C:
4001         * text.C:
4002         * text2.C:
4003         * Counters.[Ch]: finish the 'automatic counters' job
4004
4005 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4006
4007         * aspell.C: include <boost/assert.cpp> (compile fix)
4008
4009 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4010
4011         * boost.C (assertion_failed): use lyx::support::abort instead of
4012         assert.
4013
4014 2003-09-10  Angus Leeming  <leeming@lyx.org>
4015
4016         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4017         with their _fwd progeny.
4018
4019 2003-09-09  Angus Leeming  <leeming@lyx.org>
4020
4021         134 files throughtout the source tree: replace 'using namespace abc;'
4022         directives with the appropriate 'using abc::xyz;' declarations.
4023
4024 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4025
4026         * boost.C (emergencyCleanup): moved here from LAssert.c
4027         (assertion_failed): new function, called by BOOST_ASSERT
4028
4029         * several files: change Assert to BOOST_ASSERT
4030
4031 2003-09-09  Angus Leeming  <leeming@lyx.org>
4032
4033         * buffer.[Ch]: Add an Impl class and move Buffer's member
4034         variables into it. As a result move several header files out of
4035         buffer.h.
4036
4037         Add header files to lots of .C files all over the tree as a result.
4038
4039 2003-09-09  Angus Leeming  <leeming@lyx.org>
4040
4041         * buffer.[Ch]: make Buffer's member variables private. Add
4042         accessor functions.
4043
4044         Lots of changes all over the tree as a result.
4045
4046 2003-09-08  Angus Leeming  <leeming@lyx.org>
4047
4048         * graph.C: #include <config.h>.
4049
4050 2003-09-08  Angus Leeming  <leeming@lyx.org>
4051
4052         * BranchList.C:
4053         * BufferView.C:
4054         * BufferView_pimpl.C:
4055         * CutAndPaste.C:
4056         * DepTable.C:
4057         * LaTeX.C:
4058         * LaTeXFeatures.C:
4059         * LyXAction.C:
4060         * MenuBackend.C:
4061         * TextCache.C:
4062         * aspell.C:
4063         * buffer.C:
4064         * bufferlist.C:
4065         * changes.C:
4066         * chset.C:
4067         * converter.C:
4068         * counters.C:
4069         * debug.C:
4070         * graph.C:
4071         * ispell.C:
4072         * lyx_cb.C:
4073         * lyxfind.C:
4074         * lyxfunc.C:
4075         * lyxlex_pimpl.C:
4076         * lyxrc.C:
4077         * lyxrow.C:
4078         * paragraph.C:
4079         * rowpainter.C:
4080         * texrow.C:
4081         * text.C:
4082         * text2.C:
4083         * toc.C: remove redundant using directives.
4084
4085 2003-09-07  Angus Leeming  <leeming@lyx.org>
4086
4087         * LaTeXFeatures.h: remove #include "support/types.h".
4088         * ToolbarBackend.h: remove #include <algorithm>.
4089         * changes.h: remove #include <ctime>.
4090         * debug.h: remove #include <iosfwd>.
4091         * graph.h: remove #include "support/std_string.h".
4092         * lyx_main.h: remove #include <csignal>.
4093         * lyxlex_pimpl.h: remove #include <fstream>.
4094         * sgml.h: remove #include <algorithm>, <utility>.
4095         * toc.h: remove #include "support/std_ostream.h".
4096         Add #include <iosfwd>.
4097
4098 2003-09-07  Angus Leeming  <leeming@lyx.org>
4099
4100         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4101
4102         * converter.h: forward declare LatexRunParams.
4103         * encoding.h: remove #include "lyxrc.h".
4104         * lyxtext.h: remove #include "LColor.h".
4105         * lyxtextclass.h: remove #include "support/types.h".
4106         * trans.h: remove #include "tex-accent.h".
4107         * trans_mgr.h: remove #include "tex-accent.h".
4108         * insets/inset.h: remove #include "support/types.h", <vector>.
4109         * insets/insetcollapsable.h: remove #include "LColor.h".
4110         * insets/insetinclude.h: remove #include "dimension.h".
4111         * insets/insetlatexaccent.h: remove #include "dimension.h".
4112         * insets/insetoptarg.h:: remove #include "insettext.h".
4113         * insets/insettext.h: remove #include "dimension.h",
4114         <boost/shared_ptr.hpp>
4115
4116         * insets/renderers.h: add #include "dimension.h".
4117         * insets/updatableinset.h: add #include "support/types.h".
4118
4119         * many .C files: Associated changes.
4120
4121 2003-09-06  Angus Leeming  <leeming@lyx.org>
4122
4123         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4124         one, inside testInvariant.
4125
4126         * PrinterParams.C: new file.
4127         * PrinterParams.[Ch]: move the function bodies out of line.
4128
4129 2003-09-06  Angus Leeming  <leeming@lyx.org>
4130
4131         * ParagraphParameters.h: forward declare ParameterStruct rather than
4132         including its header file.
4133         (depth): moved out-of-line.
4134
4135 2003-09-06  Angus Leeming  <leeming@lyx.org>
4136
4137         * BufferView_pimpl.h:
4138         * kbmap.h:
4139         * kbsequence.h:
4140         * lyxfunc.h: forward declare LyXKeySym rather than
4141         #include "frontends/LyXKeySym.h".
4142
4143         * BufferView_pimpl.C:
4144         * kbmap.C:
4145         * kbsequence.C:
4146         * lyxfunc.C: associated changes.
4147
4148 2003-09-06  Angus Leeming  <leeming@lyx.org>
4149
4150         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4151         As a result, can remove the #include "insets/inset.h" from BufferView.h
4152
4153 2003-09-06  Angus Leeming  <leeming@lyx.org>
4154
4155         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4156         As a result, can remove the #include "insets/inset.h" from BufferView.h
4157
4158 2003-09-06  Angus Leeming  <leeming@lyx.org>
4159
4160         * buffer_funcs.C:
4161         * buffer.h:
4162         * bufferlist.C:
4163         * BufferView.C:
4164         * bufferview_funcs.C:
4165         * BufferView_pimpl.C:
4166         * CutAndPaste.C:
4167         * lyx_cb.C:
4168         * lyxfunc.C:
4169         * paragraph.h:
4170         * ParagraphParameters.C:
4171         * tabular.C:
4172         * text3.C:
4173         * toc.C:
4174         * undo_funcs.C:
4175         * frontends/controllers/ControlDocument.C:
4176         * insets/insetcaption.C: rearrange the #includes into some sort of
4177         coherent order.
4178
4179         * buffer.h: remove #includes ErrorList.h, undo.h
4180
4181 2003-09-06  Angus Leeming  <leeming@lyx.org>
4182
4183         * support/types.h: add a 'depth_type' typedef, used to store the
4184         nesting depth of a paragraph.
4185
4186         * paragraph.h:
4187         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4188         defining explicitly.
4189
4190         * buffer.h:
4191         * paragraph_funcs.h:
4192         * ParagraphParameters.h:
4193         * sgml.h: use lyx::depth_type rather than Paragraph or
4194         ParameterStruct's depth_type.
4195
4196         * buffer.h
4197         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4198
4199         * BufferView.C:
4200         * BufferView_pimpl.C:
4201         * CutAndPaste.C:
4202         * ParagraphParameters.C:
4203         * buffer_funcs.C:
4204         * bufferlist.C:
4205         * bufferview_funcs.C:
4206         * lyx_cb.C:
4207         * lyxfunc.C:
4208         * tabular.C:
4209         * text3.C:
4210         * toc.C:
4211         * undo_funcs.C:
4212         * frontends/LyXView.C:
4213         * frontends/controllers/ControlDocument.C:
4214         * frontends/controllers/ControlErrorList.C:
4215         * insets/insetbibitem.C:
4216         * insets/insetbranch.C:
4217         * insets/insetcaption.C:
4218         * insets/insetcollapsable.C:
4219         * insets/insetenv.C:
4220         * insets/insetert.C:
4221         * insets/insetfloat.C:
4222         * insets/insetfoot.C:
4223         * insets/insetfootlike.C:
4224         * insets/insetnewline.C:
4225         * insets/insetquotes.C:
4226         * insets/insettabular.C:
4227         * insets/insettext.C:
4228         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4229
4230         * frontends/controllers/ControlChanges.C: #include "changes.h".
4231
4232 2003-09-06  Angus Leeming  <leeming@lyx.org>
4233
4234         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4235         than #including paragraph.h.
4236
4237         * ParagraphList.h:
4238         * RowList.h: deleted. Superfluous.
4239
4240         * CutAndPaste.h:
4241         * iterators.h:
4242         * lyxcursor.h:
4243         * lyxtext.h:
4244         * text_funcs.h:
4245         * undo.h:
4246         * undo_funcs.h:
4247         * insets/inset.h:
4248         * insets/insettext.h: use ParagraphList_fwd.h rather than
4249         ParagraphList.h.
4250
4251         * paragraph.h: don't forward declare ParagraphList.
4252
4253         * buffer.h:
4254         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4255         rather than ParagraphList.h. paragraph.h is still needed for the
4256         Paragraph::depth_type parameters.
4257
4258         * textcursor.h: enable it to compile stand-alone in light of the
4259         above changes.
4260
4261         * bufferview_funcs.C:
4262         * iterators.C:
4263         * lyxfunc.C:
4264         * lyxrow_funcs.C:
4265         * paragraph.C:
4266         * rowpainter.C:
4267         * text.C:
4268         * text2.C:
4269         * text3.C:
4270         * text_funcs.C:
4271         * textcursor.C:
4272         * undo.C:
4273         * frontends/controllers/ControlParagraph.C:
4274         * frontends/controllers/ControlTabular.C:
4275         * insets/insetmarginal.C:
4276         * insets/insetminipage.C:
4277         * insets/insetnote.C:
4278         * insets/insetoptarg.C: add header files needed to compile again.
4279
4280 2003-09-06  Angus Leeming  <leeming@lyx.org>
4281
4282         * RowList_fwd.h: new file, forward-declaring Row rather than
4283         #including lyxrow.h.
4284
4285         * lyxrow_funcs.h:
4286         * lyxtext.h:
4287         * paragraph.h:
4288         * insets/insettext.h: use it instead of RowList.h
4289
4290         * bufferview_funcs.C:
4291         * lyxfunc.C:
4292         * lyxrow_funcs.C:
4293         * paragraph.C:
4294         * rowpainter.C:
4295         * text.C:
4296         * text2.C:
4297         * text3.C: #include "RowList.h".
4298
4299 2003-09-05  Angus Leeming  <leeming@lyx.org>
4300
4301         * factory.C (createInset):
4302         * vspace.C (c-tor): replace sscanf call with an istringstream.
4303         * ispell.C: re-add missing HP/UX headers.
4304         * lyxserver.C: re-add missing  os2 headers.
4305
4306 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4307
4308         * BranchList.C:
4309         * graph.C:
4310         * ispell.C:
4311         * lastfiles.C:
4312         * lyx_cb.C:
4313         * lyxserver.C:
4314         * texrow.C:
4315         * text3.C: re-add missing system headers, needed for 2.95.2.
4316
4317 2003-09-05  Angus Leeming  <leeming@lyx.org>
4318
4319         Changes most place everywhere due to the removal of using directives
4320         from support/std_sstream.h.
4321
4322 2003-09-05  Angus Leeming  <leeming@lyx.org>
4323
4324         Replace LString.h with support/std_string.h,
4325         Lsstream.h with support/std_sstream.h,
4326         support/LIstream.h with support/std_istream.h,
4327         support/LOstream.h with support/std_ostream.h.
4328
4329         Changes resulting throughout the tree.
4330
4331 2003-09-05  Angus Leeming  <leeming@lyx.org>
4332
4333         * sgml.h: ensure that the header file can be compiled stand-alone.
4334         * *.C: strip out redundant #includes. (320 in total.)
4335
4336 2003-09-04  Angus Leeming  <leeming@lyx.org>
4337
4338         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4339         here (from getPackages).
4340
4341         * debug.[Ch]: add a new EXTERNAL tag.
4342
4343 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4344
4345         * text2.C (cursorEnd): simplify
4346         (setCursor): adjust
4347         (getColumnNearX): adjust
4348
4349         * text.C (computeBidiTables): adjust
4350         (fill): adjust
4351
4352         * rowpainter.C (paintChars): adjust
4353         (paintSelection): adjust
4354         (paintChangeBar): adjust
4355         (paintText): adjust
4356
4357         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4358         lastPos instead.
4359         (numberOfSeparators): adjust
4360
4361 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4362
4363         * LyXAction.C:
4364         * box.[Ch]:
4365         * lfuns.h:
4366         * lyxfunc.C:
4367         * text3.C: Restricts the mouse click functionality
4368         of insets like bibtex, include, toc and floatlist to the visible
4369         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4370         up the dialogs. Cursor has to be in front of the inset (i.e.
4371         start of row) for this to function.
4372
4373 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4374
4375         * bufferview_funcs.C (currentState): output row information
4376
4377 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4378
4379         * bufferview_funcs.C (currentState): output paragraph position
4380
4381 2003-09-04  Angus Leeming  <leeming@lyx.org>
4382
4383         * FloatList.h: move out #include "Floating.h".
4384         * LaTeX.h: move out #include "DepTable.h".
4385         * LyXAction.h: move out #include "funcrequest.h".
4386         * buffer.h: move out #include "author.h", "iterators.h".
4387         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4388         * lyx_main.h: move out #include "errorlist.h".
4389         * lyxfunc.h: move out #include "FuncStatus.h".
4390         * lyxtext: move out #include "lyxcursor.h".
4391         * paragraph_pimpl.h: move out #include "counters.h".
4392
4393 2003-09-03  Angus Leeming  <leeming@lyx.org>
4394
4395         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4396         preamble_snippets list, enabling us to add snippets to the preamble
4397         only if the snippet was not there already.
4398
4399 2003-09-04  Angus Leeming  <leeming@lyx.org>
4400
4401         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4402
4403 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4406         update
4407
4408 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4409
4410         * BranchList.C: point fix, earlier forgotten
4411
4412 2003-09-02  Angus Leeming  <leeming@lyx.org>
4413
4414         * box.C (contains): renamed from 'contained' after a fantastic
4415         amount of hot air.
4416
4417 2003-09-02  John Levon  <levon@movementarian.org>
4418
4419         * BufferView.C:
4420         * lyxcursor.h:
4421         * lyxcursor.C:
4422         * lyxfunc.C:
4423         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4424
4425 2003-09-02  John Levon  <levon@movementarian.org>
4426
4427         * text2.C: simplification of cursorEnd(), including partial
4428         fix for bug 1376
4429
4430 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * buffer.C (readFile): add a space
4433
4434 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4435
4436         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4437
4438 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * buffer.C (readFile): new function, take a filename and a
4441         ParagraphList::iterator
4442         (readFile): adjust
4443         (readFile): adjust, make it private. don't use setStream, make
4444         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4445         always contain the filename.
4446
4447         * BufferView.C (insertLyXFile): simplify and make it work for
4448         gzipped files.
4449
4450 2003-08-30  John Levon  <levon@movementarian.org>
4451
4452         * Makefile.am: fix dist (from Kayvan)
4453
4454 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * most files: change to use const Buffer refs
4457
4458 2003-08-27  André Pönitz  <poenitz@gmx.net>
4459
4460         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4461         on top of ownerPar().
4462
4463 2003-08-27  John Levon  <levon@movementarian.org>
4464
4465         * funcrequest.C: properly initialise POD members
4466
4467 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4468
4469         * lyxtext.h (top_y): move top_y from here
4470         * text.C:
4471         * text2.C:
4472         * text3.C:
4473         * BufferView.[Ch]:
4474         * BufferView_pimpl.[Ch]: to here
4475         * frontends/screen.C:
4476         * insets/insettabular.C:
4477         * insets/insettext.C: adjust
4478         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4479
4480 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4481
4482         * BufferView.[Ch]:
4483         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4484
4485 2003-08-26  André Pönitz  <poenitz@gmx.net>
4486
4487         * paragraph_func.[Ch] (outerPar): new function
4488
4489         * paragraph.C:
4490         * paragraph_funcs.C:
4491         * paragraph_funcs.h:
4492         * paragraph_pimpl.C:
4493         * text2.C: remove Inset::par_owner
4494
4495 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4496
4497         * lyxrow_funcs.C:
4498         * lyxtext.h:
4499         * text.C:
4500         * text2.C: eliminates the needFullRow/display() stuff
4501         altogether, putting the logic in metrics/draw in the insets.
4502
4503 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * text2.C (redoParagraphInternal, redoParagraphs):
4506         * text.C (redoParagraph): add a call to updateRowPositions at the
4507         end of each 'metrics-like' call. Remove all others.
4508         (getRow): remove the 'y-computing' version.
4509         (getRowNearY): do not compute nor return the real y. Solve the
4510         'y < 0' problem and simplify.
4511
4512 2003-08-22  Angus Leeming  <leeming@lyx.org>
4513
4514         * *.[Ch]: clean-up of licence and author blurbs.
4515         Also move config.h out of a few .h files and into a few .C files.
4516
4517 2003-08-22  André Pönitz  <poenitz@gmx.net>
4518
4519         * lyxrow.[Ch]: add x_ and *fill_ members
4520
4521         * lyxtext.h:
4522         * text.C:
4523         * rowpainter.C:
4524         * text2.C: adjust/remove prepareToPrint() calls
4525
4526 2003-08-22  André Pönitz  <poenitz@gmx.net>
4527
4528         * lyxrow.[Ch]: add  end_ member
4529
4530         * lyxrow_funcs.C: use LyXRow::end_
4531
4532         * lyxtext.h (singleWidth): add LyXFont parameter
4533
4534         * rowpainter.C:
4535         * text2.C: adjust LyXText::singleWidth() calls
4536
4537         * text.C (redoParagraph): simplify row breaking logic
4538
4539
4540 2003-08-19  André Pönitz  <poenitz@gmx.net>
4541
4542         * funcrequest.C: initialize button_ member
4543
4544         * text3.C:
4545         * rowpainter.[Ch]: interface consolidation
4546
4547 2003-08-18  André Pönitz  <poenitz@gmx.net>
4548
4549         * BufferView.C:
4550         * BufferView_pimpl.C:
4551         * lyxfind.C:
4552         * paragraph_funcs.C:
4553         * rowpainter.C:
4554         * text3.C: remove LyXScreen::draw() and fitCursor calls
4555
4556         * BranchList.h: remove spurious semicolons
4557
4558         * MenuBackend.C: fix branchlist related crash
4559
4560 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * BranchList.[Ch]:
4563         * InsetList.[Ch]:
4564         * LColor.[Ch]:
4565         * LyXAction.C:
4566         * Makefile.am:
4567         * MenuBackend.[Ch]:
4568         * bufferparams.[Ch]:
4569         * factory.C:
4570         * lfuns.h:
4571         * lyxfunc.C:
4572         * text3.C: implements the 'branch inset'
4573         idea. This allows the output of various versions of a document
4574         from a single source version, selectively outputing or suppressing
4575         output of parts of the text.
4576         This implementation contains a 'branch list editor' in a separate
4577         tab of the document settings dialog. Branches are user definable
4578         and have a "display colour" to distinguish them on-screen.
4579
4580         ColorHandler was somewhat cleaned up.
4581         (1) make possible a dynamically growing LColor list by allowing
4582         the graphic context cache to grow along (vector);
4583         (2) eliminate an IMHO unnecessary step in colour allocation.
4584
4585 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4586
4587         * BufferView_pimpl.C: compile fix
4588
4589 2003-08-15  André Pönitz  <poenitz@gmx.net>
4590
4591         * rowpainter.C: remove extra metrics calls
4592
4593         * lyxtext.h: merge the two constructors into a single one,
4594           pass reference to owner's par list
4595
4596         * BufferView_pimpl.C:
4597         * text.C:
4598         * text2.C: adjust
4599
4600 2003-08-15  André Pönitz  <poenitz@gmx.net>
4601
4602         * lyxrow_funcs.[Ch]:
4603         * lyxtext.h:
4604         * paragraph.h:
4605         * paragraph_funcs.C:
4606         * rowpainter.C:
4607         * text.C:
4608         * text2.C:
4609         * text3.C:
4610         * text_funcs.C: split LyXText::rowlist_ into individual
4611         Paragraph::rows_ chunks
4612
4613         * BufferView.[Ch]:
4614         * BufferView_pimpl.[Ch]:
4615         * lyxfind.C:
4616         * lyxtext.h:
4617         * text3.C: remove toggleSelection()
4618
4619 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4620
4621         * bufferlist.C: beautify two alerts (shorter text of buttons)
4622         * buffer.C: Remove redundant ' ' from message
4623         * tabular.h:
4624         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4625         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4626         rename VALIGN_CENTER to VALIGN_MIDDLE
4627
4628 2003-08-11  André Pönitz  <poenitz@gmx.net>
4629
4630         * lyxtext.h (getPar):
4631         * text.C: new function
4632
4633 2003-08-11  André Pönitz  <poenitz@gmx.net>
4634
4635         * Makefile.am:
4636         * tracer.[Ch]: remove unneeded files
4637
4638         * InsetList.[Ch]: remove resizeInsetsLyXText()
4639
4640         * lyxtext.h:
4641         * text.C:
4642         * text2.C:
4643         * text3.C: merge insertParagraphs() and appendParagraph()
4644         remove breakAgain(), update()
4645
4646         * BufferView_pimpl.[Ch]:
4647         * bufferview_funcs.[Ch]:
4648         * lyxfunc.C:
4649         * paragraph.[Ch]:
4650         * rowpainter.C:
4651         * tabular.C: adjust after text & InsetList changes.
4652
4653 2003-08-08  André Pönitz  <poenitz@gmx.net>
4654
4655         * text.C (insertChar, backspace): replace rowlist fiddling
4656         with rebreak of full par
4657
4658         * lyxtext.h:
4659         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4660         checkParagraph, updateInset): removed
4661
4662 2003-08-07  André Pönitz  <poenitz@gmx.net>
4663
4664         * paragraph.C:
4665         * text3.C: merge some LFUN handlers, remove dead code
4666
4667 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4668
4669         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4670
4671 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * text2.C (DEPM): fix part of bug 1255 and 1256
4674
4675 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4676
4677         * BufferView_pimpl.C (workAreaDispatch): change to use
4678         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4679         that are no mouse related.
4680
4681 2003-08-05  André Pönitz  <poenitz@gmx.net>
4682
4683         * BufferView.[Ch]:
4684         * BufferView_pimpl.[Ch]:
4685         * bufferview_funcs.C:
4686         * text2.C:
4687         * text3.C: rip out "deep update"
4688
4689         * textcursor.[Ch] (last_sel_cursor): remove unused member
4690
4691 2003-08-04  André Pönitz  <poenitz@gmx.net>
4692
4693         * BufferView.[Ch]:
4694         * BufferView_pimpl.[Ch]:
4695         * ParagraphParameters.C:
4696         * bufferview_funcs.C:
4697         * lyx_cb.C:
4698         * lyxfind.C:
4699         * lyxfunc.C:
4700         * text.C:
4701         * text2.C:
4702         * text3.C: replace "complicated" BufferView::update(...) calls with
4703         simpler ones.
4704
4705         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4706
4707 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4708
4709         * Makefile.am (lyx_SOURCES): add paper.h
4710
4711 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4712
4713         * Makefile.am: move things around so that both lyx-qt and
4714         lyx-xforms can be built (according to --with-frontend). Then lyx
4715         is a symbolic link to lyx-[firstfrontend]
4716
4717 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4718
4719         * Always use std::endl with lyxerr
4720
4721 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4722
4723         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4724
4725 2003-08-01  André Pönitz  <poenitz@gmx.net>
4726
4727         * BufferView.[Ch]:
4728         * BufferView_pimpl.[Ch]:
4729         * lyxfunc.C:
4730         * text3.C: merge BufferView::repaint() and BufferView::update()
4731
4732 2003-08-01  José Matos  <jamatos@lyx.org>
4733
4734         * buffer.[Ch]: file_format is no longer a buffer data element.
4735
4736 2003-08-01  André Pönitz  <poenitz@gmx.net>
4737
4738         * BufferView.C:
4739         * lyxtext.h:
4740         * text.C:
4741         * text2.C: make redoParagraph more independent of current cursor
4742
4743         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4744         * text.C:
4745         * text2.C: remove unneeded members
4746
4747 2003-07-30  André Pönitz  <poenitz@gmx.net>
4748
4749         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4750
4751         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4752           create a single function...
4753
4754         * paragraph_funcs.C (moveItem): ... here.
4755
4756         * text.C:
4757           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4758
4759 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4760
4761         * LColor.[Ch]: Add comment and greyedout logical colors.
4762
4763 2003-07-30  André Pönitz  <poenitz@gmx.net>
4764
4765         * tabular.C: don't use Assert too heavily. This crashes where it
4766           shouldn't
4767
4768 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4771         is disabled (bug 1232)
4772
4773 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4774
4775         * factory.C: limited 'arg' scope
4776
4777 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4778
4779         * factory.C: fixed Note submenu issues
4780
4781 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4782
4783         * factory.C: submenu for Note/Comment/Greyedout
4784
4785 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * lyx_main.C (LyX):
4788         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4789
4790 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * LaTeXFeatures.C:
4793         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4794         greyedout. Patch provided by Jürgen Spitzmüller.
4795
4796 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4797
4798         * kbmap.C (read): fix error message when reading bind files
4799
4800 2003-07-29  Angus Leeming  <leeming@lyx.org>
4801
4802         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4803         certainly does not do what it purports to do. I am doing it, and
4804         us, a favour by killing it.
4805
4806 2003-07-28  José Matos  <jamatos@lyx.org>
4807
4808         * buffer.C (readBody, do_writeFile):
4809         * paragraph.C(readParagraph): \end_document replaces \the_end.
4810
4811 2003-07-29  André Pönitz  <poenitz@gmx.net>
4812
4813         * BufferView.[Ch]:
4814         * BufferView_pimpl.[Ch]:
4815         * lyxfunc.C:
4816         * text2.C:
4817         * text3.C:
4818         * textcursor.[Ch]: remove toggleToggle & Co
4819
4820 2003-07-28  José Matos  <jamatos@fep.up.pt>
4821
4822         * buffer.C (readParagraph):
4823         * params_func (readParToken, readParagraph):
4824         * paragraph.C (write): \layout -> \begin_layout.
4825
4826 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * lyxlex_pimpl.C (setFile): clean up slightly.
4829
4830         * bufferparams.h: add compressed var
4831
4832         * buffer_funcs.C (readFile): adjust for LyXLex change
4833         (newFile): ditto + simplify
4834
4835         * buffer.C (writeFile): handle writing of compressed files
4836
4837         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4838         Check if the file is compressed and set a bufferparm if so.
4839
4840         * Makefile.am (lyx_LDADD): remove explicit -lz
4841
4842 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4843
4844         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4845         makeDocBookFile): put the real LyX version in the first line of
4846         the file
4847
4848         * version.h:
4849         * version.C.in: remove lyx_docversion
4850
4851         * tabular.C (write_attribute): add a template-based version to
4852         write enums properly
4853
4854 2003-07-28  André Pönitz  <poenitz@gmx.net>
4855
4856         * lyxtext.h:
4857         * text.C:
4858         * text2.C:
4859         * text3.C: use doubles again for x-coordinates. They are needed.
4860
4861 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4862
4863         * messages.C (getLocaleDir): use lyx_localedir()
4864
4865         * lyxlex_pimpl.C (setFile): compress stuff
4866
4867         * buffer.C (writeFile): add some compression stuff
4868         (do_writeFile): new func, dont call expliti close... will this
4869         breake anything?
4870
4871         * Makefile.am (lyx_LDADD): add -lz
4872
4873 2003-07-28  José Matos  <jamatos@fep.up.pt>
4874
4875         * buffer.C: increment file format.
4876         * paragraph_funcs (readParagraph, readParToken):
4877         * paragraph.C (readParagraph): add \end_layout.
4878
4879 2003-07-27  Angus Leeming  <leeming@lyx.org>
4880
4881         * Makefile.am: remove special casing for configure-time setting of
4882         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4883
4884         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4885         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4886
4887 2003-07-26  André Pönitz  <poenitz@gmx.net>
4888
4889         * paragraph_func.[Ch]:
4890         * paragraph.C (realizeFont): inline it whereever it is used
4891
4892         * rowpainter.C:
4893         * text.C:
4894         * text2.C:
4895         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4896
4897
4898 2003-07-26  André Pönitz  <poenitz@gmx.net>
4899
4900         *       lyxtext.h:
4901         * text.C:
4902         * text2.C: get rid of LyXText::need_break_row
4903
4904 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * toc.[Ch]: put namespace toc inside namespace lyx
4907
4908         * MenuBackend.C (expandToc2): adjust for lyx::toc
4909         (expandToc): ditto
4910
4911         * lyxfunc.C (dispatch): adjust for lyx::find
4912
4913         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4914         lyx::find instead. Reorganize a bit.
4915         (LyXReplace): rename to replace
4916         (LyXFind): rename to find
4917
4918         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4919         (dispatch): ditto
4920
4921 2003-07-26  André Pönitz  <poenitz@gmx.net>
4922
4923         * text.C (setHeightOfRow): restrict scope of temporary variable
4924
4925         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4926           code (never has been used?)
4927
4928 2003-07-27  Asger Alstrup  <alstrup@local>
4929
4930         * text.C (fill): Optimise algorithm to exploit that we can reuse
4931         the LyXFont for many characters.
4932         (setHeightOfRow): Same thing.
4933         (rowBreakPoint): Same thing.
4934
4935 2003-07-26  Asger Alstrup  <alstrup@local>
4936
4937         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4938
4939         * text.C (singleWidth): Spurious font copying in hot-spot
4940         singleWidth avoided. Reorder tests for arabic for efficiency.
4941
4942         * text.C (fill): handle empty paragraphs better.
4943
4944 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4945
4946         * ispell.C:
4947         * encoding.h: add includes
4948
4949         * lyxrc.C: remove reading of bind files
4950
4951         * lyx_main.C (init): setup bindings and menus only if we have a
4952         gui.
4953
4954         * kbmap.C (read): new method. Do the actual reading of bind
4955         files.
4956
4957         * converter.C (dvipdfm_options):
4958         * bufferparams.C:
4959         * lyxrc.C (read):
4960         (output): adapt PAPER_* enums.
4961
4962         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4963
4964         * bufferparams.h: remove paper-related enums from there
4965
4966         * paper.h: New file. A trivial header file to hold paper-related
4967         enums. It should later expand to contain many paper-related
4968         horrors access.
4969
4970         * lyxrc.C: declare extern displayTranslator
4971
4972 2003-07-27  José Matos  <jamatos@fep.up.pt>
4973
4974         * tabular.[Ch] (linuxdoc): add support for tables and figures
4975         (linuxdoc).
4976
4977 2003-07-27  José Matos  <jamatos@fep.up.pt>
4978
4979         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4980         consistency in both functions.
4981         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4982
4983 2003-07-26  Asger Alstrup  <alstrup@local>
4984
4985         * rowpainter.C (paintRows): Change algorithm to work directly on
4986         the insets rather than asking every character in the document
4987         whether its an inset.
4988
4989 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * buffer.C (openFileWrite): factorize some code
4992
4993 2003-07-26  Angus Leeming  <leeming@lyx.org>
4994
4995         * lyx_cb.C:
4996         * lyx_main.[Ch]: replace occurances of system_tempdir with
4997         os::getTmpDir().
4998
4999 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * rename Inset to InsetOld
5002
5003 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5004
5005         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5006         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5007         which I think is a bit clearer. EDIT is gone, since it was
5008         premature optimisation, and broken for mathed anyway.
5009         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5010         with cursor positioning in insets as well (math insets still do not
5011         work, but that's a different story anyway.) It mysteriously
5012         crashes sometimes with undo in the first paragraph, but I'm fairly
5013         confident that this is a compiler bug.
5014
5015 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * paragraph.C (Paragraph): adjust for new clone return type
5018         (operator==): ditto
5019         (copyIntoMinibuffer): ditto
5020
5021 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5022
5023         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5024         by not having a special case, and always doing a full rebreak of
5025         the document after undo.
5026
5027 2003-07-23  Angus Leeming  <leeming@lyx.org>
5028
5029         * factory.C (createInset): InsetExternal::setParams now takes a
5030         Buffer const * arg.
5031
5032 2003-07-23  Angus Leeming  <leeming@lyx.org>
5033
5034         * factory.C (createInset): changed interface to the external and
5035         graphics mailers' string2params functions.
5036
5037 2003-07-23  Angus Leeming  <leeming@lyx.org>
5038
5039         * factory.C (createInset): pass a
5040         Buffer const * parameter to InsetExternalMailer's string2params.
5041
5042 2003-07-22  John Levon  <levon@movementarian.org>
5043
5044         * Thesaurus.h: include the right aiksaurus header
5045
5046 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5047
5048         * MenuBackend.C (expand): check menu shortcuts unconditionally
5049
5050 2003-07-21  Angus Leeming  <leeming@lyx.org>
5051
5052         * factory.C (createInset): pass a
5053         buffer_path parameter to InsetGraphicsMailer's string2params.
5054
5055 2003-07-21  Angus Leeming  <leeming@lyx.org>
5056
5057         * BufferView_pimpl.C (buffer):
5058         * buffer.C (d-tor):
5059         * lyx_main.C (LyX):
5060         * lyxfunc.C (dispatch):
5061         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5062         rather than the grfx shortcut.
5063
5064 2003-07-21  André Pönitz  <poenitz@gmx.net>
5065
5066         * rowpainter.C: remove unused variables
5067
5068         * tabular_funcs.C:
5069         * tabular_funcs.h: move to tabular.C
5070         * Makefile.am: adjust
5071
5072         * tabular.[Ch]: basic optical cleaning
5073
5074         * author.h: pass references, not values
5075
5076 2003-07-18  André Pönitz  <poenitz@gmx.net>
5077
5078         * lyxtext.h:
5079         * metricsinfo.C:
5080         * metricsinfo.h:
5081         * rowpainter.C:
5082         * text.C:
5083         * text2.C:
5084         * text3.C: two-phase drawing for InsetText and InsetTabular
5085         some float -> int changes.
5086
5087 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * lyx_main.C: fix the fix
5090
5091 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * lyx_main.C: fix a crash in batch mode if no files specified
5094         * converter.C: ws
5095
5096 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5097
5098         * format.[Ch] (papersize): moved to BufferParams
5099         * converter.[Ch] (dvips_options): moved to BufferParams
5100         (dvipdfm_options): moved to anon namespace
5101         * bufferparams.[Ch]: added above functions.
5102
5103 2003-07-17  André Pönitz  <poenitz@gmx.net>
5104
5105         * lyxtext.h:
5106         * rowpainter.C:
5107         * text2.C: don't call inset->update() anymore
5108
5109         * metricsinfo.[Ch]: add convenience constructor
5110
5111 2003-07-16  André Pönitz  <poenitz@gmx.net>
5112
5113         * lyxcursor.[Ch]:
5114         * lyxfunc.[Ch]:
5115         * text.C:
5116         * text2.C: replace the LyXCursor::irow_ member with
5117          on-demand computation of the value
5118
5119 2003-07-16  John Levon  <levon@movementarian.org>
5120
5121         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5122
5123 2003-07-15  André Pönitz  <poenitz@gmx.net>
5124
5125         * text.C:
5126         * text2.C: remove no more needed refresh_row
5127
5128 2003-07-15  André Pönitz  <poenitz@gmx.net>
5129
5130         * lyxtext.h:
5131         * rowpainter.C:
5132         * text2.C:
5133         * text3.C: refresh_status tristate -> need_update bool
5134
5135 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * lyxtext.h (init): remove reinit argument (act as if always true)
5138         * text2.C: adjust to that
5139
5140 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5141
5142         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5143         * text3.C: use it to delete selections in some cases
5144         (bugs 441, 673, 702, 954).
5145
5146 2003-07-14  André Pönitz  <poenitz@gmx.net>
5147
5148         * rowpainter.[Ch]: reduce interface
5149
5150 2003-07-14  André Pönitz  <poenitz@gmx.net>
5151
5152         * BufferView_pimpl.C:
5153         * text2.C: adjust after removing unused BufferView * argument
5154
5155 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * text2.C (init): fix a crash fired on resize
5158
5159 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * buffer.[Ch]: added new closing signal
5162         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5163         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5164         BufferView::Pimpl via the closing the signal
5165
5166 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5167
5168         * buffer.[Ch]: take out all bv-related from buffer
5169         * BufferView.C:
5170         * BufferView_pimpl.[Ch]: connect to new signals
5171         * CutAndPaste.C: removed useless asserts
5172         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5173         * lyxvc.[Ch]:
5174         * vc-backend.[Ch]:
5175         * lyxfunc.C: moved view-related funciontality from vc here
5176         * paragraph.C: removed outdated comments
5177         * text.C: ws
5178
5179 2003-07-10  André Pönitz  <poenitz@gmx.net>
5180
5181         * BufferView_pimpl.C:
5182         * tabular.h:
5183         * tabular_funcs.C:
5184         * text.C:
5185         * text2.C: remove InsetText::InnerCache, clean up consequences
5186
5187 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5188
5189         * ispell.C: fix two typos in error messages
5190
5191 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5192
5193         * Extend Note inset to other forms of annotation like Comment
5194         and Greyedout. Right button click gives dialog.
5195
5196         Files modified or added (+):
5197
5198         * insetnote.[Ch]
5199         * FormNote.[Ch]      +
5200         * ControlNote.[Ch]   +
5201         * form_note.fd       +
5202         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5203         frontends/controllers
5204         * xforms/Dialogs.C
5205         * factory.C
5206
5207 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5208
5209         * aspell.C: add missing namespace lyx::support
5210
5211 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5212
5213         * BufferView.[Ch] (newFile): Add
5214         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5215         * LaTeX.[Ch] (message): added this signal and use it
5216         * buffer.[Ch] (busy, message): added these signals and use them
5217         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5218         * converter.C:
5219         * exporter.C:
5220         * format.C:
5221         * importer.C: use buffer signals instead of direct bv calling
5222         * lyx_cb.[Ch] (ShowMessage): removed
5223         * lyx_main.C:
5224         * lyxfunc.C:
5225         * paragraph_funcs.C:
5226         * text2.C: use buffer signals
5227
5228 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * introduce namespace lyx::graphics
5231
5232 2003-07-02  André Pönitz  <poenitz@gmx.net>
5233
5234         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5235
5236 2003-07-01  André Pönitz  <poenitz@gmx.net>
5237
5238         * text.C:
5239         * text2.C:
5240         * text3.C:
5241         * text_funcs.[Ch]:
5242         * textcursor.h:
5243         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5244           text*.C to text_func.C
5245
5246 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * introduce namespace lyx::support
5249
5250 2003-06-30  André Pönitz  <poenitz@gmx.net>
5251
5252         * Chktex.C:
5253         * funcrequest.C:
5254         * lyxtext.h:
5255         * text.C: re-enable --with-included-string
5256
5257 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * textcursor.C: add <config.h>
5260
5261         * text.C (getWord): remove const from word_location arg
5262
5263         * lyxvc.C (getLogFile): fix const type order
5264
5265         * lyxtext.h: remove const from word_location arg, add arg name
5266
5267         * lyxlayout.h: currect type on labeltype.
5268
5269         * importer.C: correct \file
5270
5271         * converter.C (intToFormat): use std:: on ret val, ws changes
5272
5273         * bufferlist.h: correct \file
5274
5275         * buffer.C (makeLinuxDocFile): fix const type order
5276         (makeDocBookFile): ditto
5277         (fillWithBibKeys): use std:: on stdlib args.
5278
5279         * CutAndPaste.C: fix authors.
5280         (availableSelections): use std:: on return vector
5281
5282 2003-06-27  André Pönitz  <poenitz@gmx.net>
5283
5284         * BufferView_pimpl.C:
5285         * bufferview_funcs.C:
5286         * lyxcursor.C:
5287         * lyxcursor.h:
5288         * lyxfunc.C:
5289         * lyxtext.h:
5290         * rowpainter.C:
5291         * text.C:
5292         * text2.C:
5293         * text3.C: remove LyXCursor::row_ member
5294
5295         * lyxtext.h:
5296         * text.C: rename fullRebreak() to partialRebreak() and implement
5297           a fullRebreak() that really bereks fully
5298
5299         * textcursor.h: new struct for cursor-related data
5300
5301 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5302
5303         * lyx_main.C (LyX): get full path of document loaded on the
5304         command line
5305
5306 2003-06-26  André Pönitz  <poenitz@gmx.net>
5307
5308         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5309           remove unused/broken operator>,<,>=.
5310
5311         *       text.C: remove only use of broken operator<= in an Assert().
5312
5313 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5314
5315         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5316         moved errorlist_.clear to showErrorList
5317
5318 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5319
5320         * converter.C (scanLog, runLaTeX):
5321         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5322         move the bv->showErrorList call to the callers
5323         * lyxfunc.C: i.e. here...
5324         * text2.C: and here
5325         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5326         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5327         namespace, the second to...
5328         * buffer_funcs (BufferFormat, parseErrors): added
5329         * errorlist.C (ErrorList(TeXErrors const &)): removed
5330
5331 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5332
5333         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5334
5335 2003-06-24  "Garst R. Reese" <reese@isn.net>
5336
5337         * debug.C: fix typo
5338
5339 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5340
5341         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5342
5343         * version.C.in: change docversion to 1.4
5344
5345 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * buffer.C: fix a bug just introduced
5348
5349 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * buffer.[Ch]: added the parseError signal and use it, removed
5352         sgmlError
5353         * BufferView.[Ch] (addError): moved to ...
5354         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5355         to the Buffer::parseError signal to catch (guess what) parse errors
5356         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5357
5358 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5359
5360         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5361         ability to create a buffer and to return an existing one from
5362         the list. Moved these functions to...
5363         * buffer_funcs.[Ch]: added
5364         * BufferView.[Ch] (loadLyXFile): added
5365         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5366         job removed from bufferlist::loadLyXFile.
5367         * buffer.C (setReadOnly): make it work without view
5368         (i.e added an if (users))
5369
5370 2003-06-19  Angus Leeming  <leeming@lyx.org>
5371
5372         * lfuns.h:
5373         * LyXAction.C (init):
5374         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5375         with LFUN_DIALOG_SHOW <name> <data>.
5376
5377 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5378
5379         * CutAndPaste.C (availableSelections): small compilation fix for
5380         ancient (gcc 2.9x) compilers
5381
5382 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * text3.C (cursorNext): add tmp var
5385
5386         * text2.C (updateCounters): for function calling out of for clause
5387         (replaceSelectionWithString): ditto
5388         (insertStringAsParagraphs): ditto
5389         (getColumnNearX): add tmp var
5390         (setCursorFromCoordinates): add tmp var
5391         (cursorDownParagraph): add tmp var
5392         (deleteEmptyParagraphMechanism): add tmp var
5393
5394         * text.C (insertChar): add tmp var
5395
5396         * rowpainter.C (paintDepthBar): add tmp var
5397
5398         * CutAndPaste.C (availableSelections): potentially check all
5399         paragraphs in a cut to fill the shown strings.
5400
5401 2003-06-18  André Pönitz  <poenitz@gmx.net>
5402
5403         * kbmap.[Ch]: use vector<> instead of list<>
5404
5405 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5406
5407         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5408         pasteSelection with index
5409
5410         * text2.C (pasteSelection): modify, call pasteSelection with index
5411
5412         * paragraph.C (asString): reimplement version with no interval to
5413         call the one with interval.
5414
5415         * lyxtext.h: add index arg to pasteSelection
5416
5417         * MenuBackend.C (MenuItem): handle PasteRecent
5418         (Menu::read::Menutags): add md_pasterecent
5419         (read): handle it
5420         (expandPasteRecent): new function
5421         (expand): use it
5422
5423         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5424
5425         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5426         the limited stack
5427         (availableSelections): new function
5428
5429 2003-06-17  Angus Leeming  <leeming@lyx.org>
5430
5431         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5432
5433 2003-06-17  Angus Leeming  <leeming@lyx.org>
5434
5435         * lfuns.h:
5436         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5437
5438         * lyxfunc.C (dispatch): invoke it.
5439
5440 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5441
5442         * iterators.C (operator++, ParPosition): reintroduce some
5443         const_cast for the benefit of older compilers.
5444
5445 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5446
5447         * text3.C (dispatch): do not modify clipboard when doing
5448         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5449         LFUN_DELETE_SKIP on a selection selection
5450
5451 2003-06-16  André Pönitz  <poenitz@gmx.net>
5452
5453         * BufferView.C:
5454         * buffer.C:
5455         * buffer.h:
5456         * paragraph.C:
5457         * tabular.[Ch]: IU of clone() and getLabelList();
5458
5459 2003-06-13  André Pönitz  <poenitz@gmx.net>
5460
5461         * tabular.h: compactification
5462
5463 2003-06-12  André Pönitz  <poenitz@gmx.net>
5464
5465         * tabular.C:
5466         * tabular.h:
5467         * tabular_funcs.h: some renaming plus whitespace
5468
5469 2003-06-12  André Pönitz  <poenitz@gmx.net>
5470
5471         * BufferView.C:
5472         * BufferView_pimpl.C:
5473         * CutAndPaste.C:
5474         * buffer.C:
5475         * iterators.[Ch]:
5476         * lyxfunc.C:
5477         * text.C:
5478         * toc.C: Return a Paragraph & for ParIterator::operator*()
5479
5480 2003-06-11  John Levon  <levon@movementarian.org>
5481
5482         * lyx_main.C:
5483         * ToolbarBackend.h:
5484         * ToolbarBackend.C: add "Toolbars" section and
5485         put the flags there
5486
5487 2003-06-10  Angus Leeming  <leeming@lyx.org>
5488
5489         * lfuns.h:
5490         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5491
5492         * lyxfunc.C (dispatch): invoke it.
5493
5494 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * main.C: protect <ios> with HAVE_IOS
5497         (main): protect sync_with_stdio with HAVE_IOS
5498
5499 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5500
5501         * text2.C (cutSelection): adjust
5502         (pasteSelection): adjust
5503
5504         * messages.C: handle get of empty string
5505
5506         * main.C (main): use sync_with_stdio(false)
5507
5508         * lyxfunc.C (dispatch): adjust
5509
5510         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5511         (WriteAs): remove unneeded BufferView arg.
5512
5513         * bufferparams.h: use correct types on papersize, papersize2 and
5514         paperpackage.
5515
5516         * bufferparams.C (readToken): adjust for type
5517         (writeLaTeX): add missing cases to switch.
5518
5519         * bufferlist.C (quitWriteBuffer): adjust
5520         (close): adjust
5521
5522         * buffer.C (asciiParagraph): remove some commented code.
5523
5524         * CutAndPaste.C: remove current_view extern variable.
5525         (cutSelection): add BufferParams arg.
5526         (eraseSelection): add BufferParams arg.
5527         (pasteSelection): add Buffer const & arg
5528
5529 2003-06-07  John Levon  <levon@movementarian.org>
5530
5531         * buffer.C:
5532         * paragraph_funcs.C:
5533         * paragraph_pimpl.C:
5534         * text.C:
5535         * text2.C:
5536         * paragraph.h:
5537         * paragraph.C: allow InsetERT to freely space lines,
5538         and some consolidation of code
5539
5540 2003-06-06  José Matos  <jamatos@fep.up.pt>
5541
5542         * buffer.C (makeDocBookFile): fix bug #821
5543
5544 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5545
5546         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5547
5548 2003-06-04  Angus Leeming  <leeming@lyx.org>
5549
5550         * buffer.C: bump format to 224.
5551
5552 2003-06-05  André Pönitz  <poenitz@gmx.net>
5553
5554         * text2.C (redoParagraphs): remove two const_cast<>
5555
5556 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5557
5558         * ParagraphList.h: remove last remnants of NO_STD_LIST
5559
5560 2003-06-03  Angus Leeming  <leeming@lyx.org>
5561
5562         * factory.C (createInset): small change to the way InsetExternal's params
5563         are set.
5564
5565 2003-06-04  André Pönitz  <poenitz@gmx.net>
5566
5567         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5568
5569         * paragraph_pimpl.h:
5570         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5571
5572         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5573
5574         * undo_funcs.C: make some simple cases of undo work again
5575
5576 2003-06-03  John Levon  <levon@movementarian.org>
5577
5578         * ispell.C: HPUX doesn't have sys/select.h
5579         (from Albert Chin)
5580
5581 2003-06-03  John Levon  <levon@movementarian.org>
5582
5583         * CutAndPaste.C: update tabular and include inset
5584         buffer references
5585
5586         * buffer.h:
5587         * paragraph.h:
5588         * paragraph.C: remove owningBuffer(), don't pass Buffer
5589         to clone()
5590
5591         * factory.C: insetGraphicsParams changed
5592
5593 2003-06-02  John Levon  <levon@movementarian.org>
5594
5595         * LyXAction.C:
5596         * factory.C:
5597         * lfuns.h:
5598         * lyxfunc.C:
5599         * text3.C: remove insetparent
5600
5601 2003-06-02  John Levon  <levon@movementarian.org>
5602
5603         * buffer.h:
5604         * buffer.C: fix inset_iterator.end(), move out of line
5605         (bug 1149)
5606
5607 2003-06-01  John Levon  <levon@movementarian.org>
5608
5609         * text3.C: use a proper cut/paste when doing inset
5610         insert (from Jürgen Spitzmüller)
5611
5612 2003-06-01  John Levon  <levon@movementarian.org>
5613
5614         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5615
5616 2003-05-30  André Pönitz  <poenitz@gmx.net>
5617
5618         * rowpainter.C: unify second drawing phase
5619
5620 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * trans_mgr.C: remove one case of current_view
5623
5624         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5625
5626         * paragraph_funcs.h: remove paragraph.h include
5627
5628         * paragraph.h: delete NO_STD_LIST stuff
5629
5630         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5631
5632         * buffer.h: remove paragraph.h include
5633
5634         * ParagraphList.C: delete file
5635
5636         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5637
5638         * toc.C (getTocList): adjust
5639
5640         * paragraph_pimpl.C (validate): adjust
5641
5642         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5643
5644         * paragraph.C (Paragraph): adjust
5645         (getPositionOfInset): use const_iterator, adjust
5646         (bibitem): use const_iterator, adjust
5647         (setInsetOwner): adjust
5648
5649         * iterators.C (operator++): adjust
5650
5651         * InsetList.[Ch]: Replace selfmade iterator with standard
5652         vector::iterator also introduce const_iterator. Remove getPos,
5653         getInset and setInset from InsetTable. Adjust accordingly.
5654
5655         * BufferView.C (lockInset): adjust
5656         (ChangeInsets): adjust
5657
5658         * tabular.[Ch]: delete commented same_id functions
5659
5660 2003-05-28  John Levon  <levon@movementarian.org>
5661
5662         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5663
5664 2003-05-28  André Pönitz  <poenitz@gmx.net>
5665
5666         * metricsinfo.[Ch]: remove 'fullredraw' member
5667
5668 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5669
5670         * lyxtextclass.C (operator): remove caching.
5671
5672 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * text3.C: adjust
5675
5676         * text2.C (cursorBottom): adjust
5677         (setCounter): use ParagraphList::find, adjust
5678
5679         * text.C (workWidth): use ParagraphList::find, adjust
5680
5681         * lyxcursor.C (LyXCursor): adjust
5682
5683         * buffer.C (inset_iterator): adjust
5684
5685         * ParagraphList.h: make iterator(value_type) private, make
5686         ParagraphList a friend of iterator.
5687
5688         * ParagraphList.C (find): new function
5689
5690         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5691
5692 2003-05-27  André Pönitz  <poenitz@gmx.net>
5693
5694         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5695
5696 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5697
5698         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5699
5700 2003-05-26  John Levon  <levon@movementarian.org>
5701
5702         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5703
5704 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * remove same_id from function signatures, adjust.
5707
5708 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5711
5712         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5713
5714         * paragraph.C (Paragraph): get rid of same_ids parameter
5715
5716         * ParagraphList.C (insert): adjust
5717         (push_back): adjust
5718
5719 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * paragraph_funcs.C (breakParagraph): adjust
5722         (breakParagraphConservative): adjust
5723
5724         * buffer.C (readParagraph): adjust
5725
5726         * ParagraphList.C (insert): take a reference instead of a pointer
5727         (insert): adjust
5728
5729         * paragraph.[Ch] (id): new function
5730
5731         * bufferlist.C (newFile): adjust
5732
5733         * ParagraphList.C (ParagraphList): adjust
5734         (assign): adjust
5735         (push_back): take a reference instead of a pointer.
5736
5737         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5738
5739         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5740         instead.
5741
5742         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5743         set else use old code.
5744
5745         * ParagraphList.C: remove all NO_NEXT code and only compile this
5746         code of NO_STD_LIST is set.
5747
5748 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5749
5750         * BufferView_pimpl.C:
5751         * TextCache.C:
5752         * TextCache.h:
5753         * bufferlist.C:
5754         * errorlist.h:
5755         * format.C:
5756         * format.h:
5757         * graph.C:
5758         * lyxfunc.C:
5759         * lyxrc.C:
5760         * graphics/GraphicsConverter.C:
5761         * graphics/PreviewLoader.C: header adjustment
5762
5763 2003-05-23  Angus Leeming  <leeming@lyx.org>
5764
5765         * LaTeXFeatures.[Ch] (useBabel): new method.
5766         * bufferparams.C (writeLaTeX): use it.
5767
5768 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * ParagraphList.h (set): remove unused function.
5771
5772 2003-05-23  André Pönitz  <poenitz@gmx.net>
5773
5774         * BufferView.C:
5775         * BufferView_pimpl.C:
5776         * buffer.C:
5777         * buffer.h:
5778         * lyxfunc.C:
5779         * undo_funcs.C: setUndo reworked
5780
5781         * iterators.[Ch]: add access to topmost ParagraphList
5782
5783         * lyxtext.[Ch] (workWidth): add a const
5784
5785 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * texrow.[Ch] (increasePos): remove function
5788         * exporter.C (export): removed unused var and outdated comment
5789
5790 2003-05-23  Angus Leeming  <leeming@lyx.org>
5791
5792         * latexrunparams.h: rename fragile as moving_arg.
5793         * paragraph.C (simpleTeXOnePar): ditto.
5794         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5795
5796 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5799         (createUndo): ditto
5800         (textUndoOrRedo): comment out a currently unused var.
5801
5802         * paragraph.h (NO_NEXT): enable NO_NEXT
5803
5804         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5805
5806         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5807
5808         * exporter.C (Export): adjust for removeAutoInsets removal.
5809
5810         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5811
5812         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5813
5814         * BufferView.[Ch] (removeAutoInsets): delete function
5815
5816 2003-05-22  Angus Leeming  <leeming@lyx.org>
5817
5818         * latexrunparams.h: add a free_spacing variable.
5819
5820         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5821         to pass moving_arg, as the data is stored in runparams.fragile.
5822
5823         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5824         to Inset::latexOptional or to simpleTeXOnePar.
5825
5826         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5827         free_spacing arg to Inset::latexOptional.
5828
5829         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5830         free_spacing arg.
5831
5832 2003-05-22  Angus Leeming  <leeming@lyx.org>
5833
5834         * latexrunparams.h: add fragile and use_babel variables.
5835
5836         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5837         * buffer.C (makeLaTeXFile): store this returned value in
5838         runparams.use_babel, thus passing it to the inset::latex methods.
5839
5840         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5841         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5842
5843         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5844         longer has a fragile arg, as it is stored in runparams.fragile.
5845
5846         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5847         moving_arg parameter as the data is stored in runparams.fragile.
5848
5849         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5850         a fragile parameter as the data is stored in runparams.fragile.
5851
5852 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5855
5856 2003-05-22  Angus Leeming  <leeming@lyx.org>
5857
5858         * latexrunparams.h: add a 'bool nice' which defaults to false.
5859
5860         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5861         now encapsulated within runparams.
5862
5863         * bufferlist.C (updateIncludedTeXfiles):
5864         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5865
5866 2003-05-22  Angus Leeming  <leeming@lyx.org>
5867
5868         * latexrunparams.h: new file containing struct LatexRunParams.
5869         * Makefile.am: add new file.
5870
5871         * LaTeX.[Ch] (c-tor, run):
5872         * buffer.[Ch] (makeLaTeXFile):
5873         * bufferlist.[Ch] (updateIncludedTeXfiles):
5874         * converter.C (convert, scanLog):
5875         * converter.[Ch] (runLaTeX):
5876         * exporter.C (Export):
5877         * paragraph.[Ch] (simpleTeXOnePar):
5878         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5879         * paragraph_funcs.[Ch] (latexParagraphs):
5880         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5881         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5882         pass around a LatexRunParams parameter.
5883
5884 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * paragraph.[Ch]: remove unused constructor
5887
5888         * ParagraphList.C (erase): new function, taking two iterators
5889
5890 2003-05-22  André Pönitz  <poenitz@gmx.net>
5891
5892         * undo_funcs.C: remove duplicated code
5893
5894         * iterator.[Ch]: operator=
5895
5896 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * tabular.C (SetMultiColumn): ws changes
5899
5900         * rowpainter.C (paintFirst): get rid of a ->previous
5901
5902         * lyx_cb.C (getPossibleLabel): parlist simplification
5903
5904         * BufferView.C (ChangeInsets): simplify slightly.
5905
5906 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5907
5908         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5909         * lfuns.h: new LFUN_SPACE
5910         * lyxfunc.C: protected space has a new lfun
5911         * paragraph_funcs.C: read new space insets
5912         * text3.C:
5913         * factory.C: handle new space insets
5914
5915 2003-05-22  André Pönitz  <poenitz@gmx.net>
5916
5917         * BufferView.C:
5918         * BufferView_pimpl.C:
5919         * buffer.[Ch]:
5920         * lyxfunc.C:
5921         * undo_funcs.C: return a ParIterator from getParFromID.
5922
5923         * iterators.[Ch]: add two const's
5924
5925 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5926
5927         * toc.C (getTocList): adjust
5928
5929         * iterators.[Ch]: rework for parlist
5930
5931         * buffer.C (par_iterator_begin): adjust
5932         (par_iterator_end): adjust
5933
5934         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5935
5936         * BufferView.C (removeAutoInsets): adjust
5937         (ChangeInsets): adjust
5938
5939 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * text.C (top_y): fix bug 1110
5942
5943 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5944
5945         * errorlist.[Ch]: added
5946         * buffer.C:
5947         * BufferView.[Ch]:
5948         * BufferView_pimpl.C:
5949         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5950         instead
5951
5952 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * Makefile.am: ensure that lyx is relinked upon changes to the
5955         various "convenience" libs.
5956
5957 2003-05-20  Angus Leeming  <leeming@lyx.org>
5958
5959         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5960         files are compiled in alphabetical order again.
5961
5962         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5963
5964 2003-05-19  Angus Leeming  <leeming@lyx.org>
5965
5966         * gettext.[Ch]: remove "char const * _(char const *)".
5967
5968 2003-05-19  André Pönitz  <poenitz@gmx.net>
5969
5970         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5971
5972         * Makefile.am:
5973         * BufferView.C:
5974         * DepTable.h:
5975         * LaTeXFeatures.C:
5976         * buffer.C:
5977         * lyxfont.C:
5978         * lyxlex.h:
5979         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5980
5981 2003-05-19  André Pönitz  <poenitz@gmx.net>
5982
5983         * buffer.C:
5984         * lyxlayout.[Ch]:
5985         * lyxtextclass.[Ch]:
5986         * paragraph.C:
5987         * paragraph_funcs.[Ch]:
5988         * text2.C:
5989         * text3.C: more insetenv work
5990
5991 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5992
5993         * ParagraphParameters.C (params2string): small bug fixed
5994
5995 2003-05-16  André Pönitz  <poenitz@gmx.net>
5996
5997         * debug.C:
5998         * bufferview_funcs.C: patch from Kornel Benko to prevent
5999           crash when _(...) is called twice in a statement
6000
6001 2003-05-16  André Pönitz  <poenitz@gmx.net>
6002
6003         * BufferView.C:
6004         * lyxfunc.C:
6005         * text.C:
6006         * text2.C:
6007         * text3.C:
6008         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6009
6010 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6011
6012         * lyx_main.C (init): remove spurious static_cast
6013
6014 2003-05-14  André Pönitz  <poenitz@gmx.net>
6015
6016         * BufferView.C: fix format string
6017
6018 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * BufferView.[Ch] (insertErrors): removed
6021         * BufferView.[Ch] (showErrorList): added
6022         * buffer.C (runChkTeX):
6023         * converter.C (scanLog): call showErrorList instead of inserterrors
6024
6025 2003-05-13  André Pönitz  <poenitz@gmx.net>
6026
6027         * BufferView_pimpl.C:
6028         * buffer.C:
6029         * bufferview_func.C:
6030         * MenuBackend.C:
6031         * lyxfunc.C:
6032         * lyxrc.C:
6033         * tex-accent.C:
6034         * text3.C:
6035         * toc.C:
6036         * tabular_funcs.h: tostr() from its own header
6037
6038         * ParagraphParameters.C:
6039         * ToolbarBackend.C:
6040         * bufferparams.C:
6041         * format.C:
6042         * lyxlex_pimpl.C:
6043         * text3.C: STRCONV()
6044
6045 2003-05-12  André Pönitz  <poenitz@gmx.net>
6046
6047         * BufferView.C:
6048         * BufferView_pimpl.C:
6049         * CutAndPaste.C:
6050         * LaTeX.C:
6051         * LaTeXFeatures.C:
6052         * ParagraphParameters.C:
6053         * buffer.C:
6054         * bufferlist.C:
6055         * bufferparams.C:
6056         * bufferview_funcs.C:
6057         * converter.C:
6058         * counters.C:
6059         * debug.C:
6060         * exporter.C:
6061         * format.C:
6062         * importer.C:
6063         * lyx_cb.C:
6064         * lyx_main.C:
6065         * lyxfont.C:
6066         * lyxfunc.C:
6067         * lyxvc.C:
6068         * paragraph.C:
6069         * paragraph_funcs.C:
6070         * tabular.C:
6071         * tabular_funcs.C:
6072         * text2.C:
6073         * text3.C:  boost::format -> bformat  all over the place
6074
6075
6076 2003-05-09  André Pönitz  <poenitz@gmx.net>
6077
6078         * LColor.[Ch]: Pimpl the #include <map> away
6079
6080 2003-05-09  John Levon  <levon@movementarian.org>
6081
6082         * bufferlist.C: never remove emergency saves
6083
6084 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * Makefile.am: better lib building
6087
6088 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6091         instead.
6092         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6093         (simpleTeXSpecialChars): adjust
6094         (simpleTeXSpecialChars): adjust
6095         * paragraph.C (simpleTeXOnePar): adjust
6096         * buffer.C (makeLaTeXFile): adjust
6097
6098         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6099
6100         * text2.C (changeDepth): parlist cleanup
6101         (getColumnNearX): ditto
6102
6103         * rowpainter.C (getLabelFont): parlist cleanup
6104
6105         * bufferlist.C (newFile): parlist cleanup
6106
6107         * CutAndPaste.C (eraseSelection): parlist cleanup
6108
6109         * BufferView_pimpl.C (trackChanges): parlist cleanup
6110         (dispatch): ditto
6111
6112         * BufferView.C (lockInset): parlist cleanup.
6113         (ChangeInsets): ditto
6114
6115 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * CutAndPaste.h: Update file header.
6118
6119         * CutAndPaste.C: Update file header.
6120         Store the parts cut out of the Document in a limited_stack.
6121         (copySelection): adjust
6122         (pasteSelection): new function, takes the index in the limited stack.
6123         (nrOfParagraphs): adjust
6124         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6125         simplify error inset insertion.
6126         (checkPastePossible): adjust
6127
6128 2003-05-06  John Levon  <levon@movementarian.org>
6129
6130         * text2.C: don't cast wrap inset to float
6131
6132 2003-05-05  André Pönitz  <poenitz@gmx.net>
6133
6134         * iterator.C:
6135         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6136
6137         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6138           few naked Paragraph *.
6139
6140 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6141
6142         * bufferparams.C: Output warning if a document with missing
6143         TeX document class is loaded
6144         * exporter.C: Disable TeX exports if the document class is missing
6145         * lyxtextclass.C:
6146         * lyxtextclass.h:
6147         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6148         isTeXClassAvailable()
6149
6150 2003-05-03  John Levon  <levon@movementarian.org>
6151
6152         * BufferView.h:
6153         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6154         explicit cursor show/hide
6155
6156         * BufferView_pimpl.h:
6157         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6158         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6159
6160         * lyxfunc.C: hide cursor before dispatching.
6161
6162         * lyx_cb.C:
6163         * lyxfind.C:
6164         * text.C:
6165         * text3.C: remove explicit cursor hides
6166
6167 2003-05-02  André Pönitz  <poenitz@gmx.net>
6168
6169         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6170
6171         * undo_funcs.C:
6172         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6173           linked lists
6174
6175         * text2.C: tiny whitespace
6176
6177 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * undo_funcs.C: almost only ws changes.
6180
6181         * ParagraphList.C (splice): just return if pl is empty.
6182
6183 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * ParagraphList.C (splice): new function.
6186
6187         * CutAndPaste.C (pasteSelection): use it
6188
6189 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * CutAndPaste.C (pasteSelection): remove the last next and
6192         previous from this file.
6193
6194 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * CutAndPaste.C (pasteSelection): more clean up, user proper
6197         ParagraphList functions for pasteing.
6198
6199         * ParagraphList.C (insert): new function, three arg insert
6200
6201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * ParagraphList.C (insert): new function, three arg insert
6204
6205         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6206         not on paragraphs.
6207
6208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6211
6212 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6215
6216 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6219         (copySelection): clean up a bit.
6220         (pasteSelection): use make_pair
6221
6222         * ParagraphList.C (ParagraphList): implement copy constructor
6223         (operator=): implement, base on copy constructor.
6224         (assign): new func
6225
6226         * paragraph.C (erase): return a bool
6227
6228         * paragraph_pimpl.C (erasePos): remove function, move contents...
6229         (erase): ... here. Return a bool.
6230         (erase): call erase instead of erasePos.
6231
6232 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6233
6234         * ParagraphList.h: define PitPosPair
6235         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6236         ParagraphList, fix a bug on pasting multiple pars
6237         * text2.C: change interface to C&P
6238
6239 2003-04-30  André Pönitz  <poenitz@gmx.net>
6240
6241         * undo_func.C: revert part of yesterday's patch 2
6242
6243 2003-04-30  John Levon  <levon@movementarian.org>
6244
6245         * LColor.C: s/tabular/table/
6246
6247 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * text3.C (dispatch): do not convert iterator -> pointer
6250         * undo_funcs.C (setCursorParUndo): ditto
6251         * text_funcs.C (transposeChars): ditto
6252
6253         * text2.C (setLayout): ws changes only
6254
6255         * text.C (breakParagraph): do not convert iterator -> pointer
6256         (insertChar): ditto
6257         (acceptChange): ditto
6258         (rejectChange): ditto
6259         (changeCase): ditto
6260         (Delete): ditto
6261         (backspace): ditto
6262
6263         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6264         pointer
6265
6266 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6267
6268         * text3.C (gotoInset): YABG (yet another bad getChar)
6269
6270 2003-04-29  André Pönitz  <poenitz@gmx.net>
6271
6272         * paragraph.h: make operator= private unimplemented as long as
6273           it is unusable
6274
6275         * ParagraphList.C: whitespace
6276
6277         * paragraph.[Ch]:
6278         * paragraph_pimpl.[Ch]:
6279         * paragraph_funcs.C:
6280         * CutAndPaste.C:
6281         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6282
6283         * text2.C:
6284           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6285
6286 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6289         * paragraph.[Ch] (erase):
6290         * paragraph_pimpl.[Ch] (erase): change return type and value
6291         * text2.C (cutSelection): some rework
6292
6293 2003-04-28  John Levon  <levon@movementarian.org>
6294
6295         * bufferlist.C: changes for unsaved changes dialog
6296
6297 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * bufferlist.C (newFile): set language (messages_) for new
6300         documents also.
6301
6302         * buffer.C (readFile): ws changes only.
6303
6304 2003-04-28  André Pönitz  <poenitz@gmx.net>
6305
6306         * undo_funcs.C:
6307         * lyxfunc.C:
6308         * buffer.[Ch]:
6309         * BufferView_pimpl.C:
6310         * BufferView.C: getParFromID related ParagraphList::iterator changes
6311
6312 2003-04-28  André Pönitz  <poenitz@gmx.net>
6313
6314         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6315           Changes
6316
6317 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * messages.C: remove one more localedir class variable.
6320
6321 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * messages.C (getLocaleDir): singleton generation function
6324         (Pimpl): use it.
6325         (Messages): add a default constructor.
6326
6327         * main.C (main): do not setup localedir here, do not call
6328         gettext_init.
6329
6330         * gettext.C (_): use it.
6331         (gettext_init): delete funciton
6332
6333 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6334
6335         * gettext.C (getLyXMessages): new singleton generating function.
6336
6337         * buffer.C (updateDocLang): adjust
6338
6339         * Makefile.am (messages.o): add target
6340         (main.o): remove target
6341
6342 2003-04-27  John Levon  <levon@movementarian.org>
6343
6344         * bufferlist.C:
6345         * lyx_cb.C:
6346         * lyxfunc.C:
6347         * lyxvc.C: specify cancel button in Alert::prompt
6348
6349 2003-04-26  John Levon  <levon@movementarian.org>
6350
6351         * text3.C:
6352         * lyxfunc.C:
6353         * lfuns.h:
6354         * LyXAction.C: add LFUN_INSET_SETTINGS
6355
6356         * lyxfunc.C: don't enable tabular-feature when there's
6357         just any locking inset
6358
6359 2003-04-26  John Levon  <levon@movementarian.org>
6360
6361         * bufferlist.C: re-add Cancel to buffer close question
6362
6363         * lyxfunc.C: fix import UI a bit
6364
6365 2003-04-25  John Levon  <levon@movementarian.org>
6366
6367         * gettext.C: remove the broken asserts for now
6368
6369 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * messages.C: make case where setlocale cannot comply work better.
6372
6373         * buffer.C (updateDocLang): new function
6374         (changeLanguage): use it
6375         (readFile): use it
6376
6377         * text2.C (setCounter): use B_ a bit.
6378
6379         * lyxlayout.C (Read): be sure to trim the label strings.
6380
6381         * messages.C (Messages): fix typo in comment
6382
6383         * buffer.C (readFile): set message_ after file is loaded.
6384         (makeDocBookFile): remove double return
6385         (changeLanguage): reset message_ upon language change.
6386         (B_): new func, use this to get translated buffer strings.
6387
6388         * main.C: add myself and Jean Marc as authors.
6389
6390 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * messages.[hC]: pimplify Messages, and three different pimpls to be
6393         used in different circumstances.
6394
6395         * gettext.[Ch]: change for use with new message code.
6396
6397 2003-04-24 André Pönitz <poenitz@gmx.net>
6398
6399         * factory.C: support for eqref
6400
6401 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * messages.[Ch]: add missing char
6404
6405         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6406
6407         * messages.[Ch]: New files
6408
6409 2003-04-18  John Levon  <levon@movementarian.org>
6410
6411         * BufferView.h:
6412         * BufferView.C:
6413         * BufferView_pimpl.C:
6414         * lfuns.h:
6415         * LyXAction.C:
6416         * lyxtext.h:
6417         * text2.C: remove layout-copy/paste (bug 778)
6418
6419 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6422
6423 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6424
6425         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6426         if they succeed. Act accordingly.
6427
6428 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * text2.C (setCharFont): adjust
6431         (setCounter): adjust
6432         (insertStringAsLines): adjust
6433
6434         * text.C (leftMargin): adjust
6435         (setHeightOfRow): adjust
6436
6437         * rowpainter.C (paintFirst): adjust
6438         (paintLast): adjust
6439
6440         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6441         (outerHook): ditto
6442         (isFirstInSequence): ditto
6443         (getEndLabel): ditto
6444         (outerFont): adjust
6445
6446         * paragraph.C (getParLanguage): comment out some hard stuff.
6447
6448         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6449         (sgmlError): ditto
6450         (simpleDocBookOnePar): ditto
6451         (makeDocBookFile): use ParagraphList::iterator
6452
6453         * CutAndPaste.C (pasteSelection): adjust
6454
6455 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * text2.C (getFont): adjust
6458         (getLayoutFont): adjust
6459         (getLabelFont): adjust
6460
6461         * paragraph_funcs.C (TeXOnePar): adjust
6462
6463         * buffer.C (simpleLinuxDocOnePar): adjust
6464         (simpleDocBookOnePar): adjust
6465
6466         * CutAndPaste.C (pasteSelection): adjust
6467
6468         * BufferView.C (getEncoding): adjust
6469
6470         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6471
6472 2003-04-16  John Levon  <levon@movementarian.org>
6473
6474         * lyxfind.C: use parlist stuff for search/changes
6475
6476 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6479
6480         * text2.C (deleteEmptyParagraphMechanism): adjust
6481
6482         * text2.[Ch] (ownerParagraph): delete func (both of them
6483
6484 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6487
6488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * ParagraphList.C: prepare for NO_NEXT
6491
6492 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * text2.C (getFont): adjust
6495         (getLayoutFont): adjust
6496         (getLabelFont): adjust
6497
6498         * paragraph.C (getFont): adjust
6499         (getLabelFont): adjust
6500         (getLayoutFont): adjust
6501
6502         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6503
6504 2003-04-15  John Levon  <levon@movementarian.org>
6505
6506         From Angus Leeming
6507
6508         * lyx_main.C: handle Include in .ui files
6509
6510 2003-04-15  John Levon  <levon@movementarian.org>
6511
6512         * MenuBackend.C: make the doc files length shorter
6513
6514         * ToolbarBackend.h:
6515         * ToolbarBackend.C: handle toolbar placement flags,
6516         Minibuffer
6517
6518 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6521         adjust
6522
6523         * paragraph_funcs.C (TeXOnePar): adjust
6524
6525         * paragraph.C (getLabelFont): add outerfont arg, adjust
6526         (getLayoutFont): ditto
6527         (simpleTeXOnePar): adjust
6528
6529         * paragraph_pimpl.C (realizeFont): delete func
6530
6531 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6532
6533         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6534         row argument, constify cur argument.
6535
6536 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6537
6538         * text2.C (getFont): adjust
6539         (getLayoutFont): adjust
6540         (getLabelFont): adjust
6541
6542         * paragraph_funcs.C (TeXOnePar): adjust
6543         (outerFont): new func...
6544         (realizeFont): ...moved out from here, changed this to facilitate
6545         transition
6546
6547         * paragraph.C (getFont): take outerfont as arg, adjust
6548         (simpleTeXOnePar): add outerfont arg, adjust
6549
6550         * buffer.C (simpleLinuxDocOnePar): adjust
6551         (simpleDocBookOnePar): adjust
6552
6553         * CutAndPaste.C (pasteSelection): adjust
6554
6555         * BufferView.C (getEncoding): adjust
6556
6557 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * text2.C (setCharFont): adjust
6560         (setCounter): adjust
6561
6562         * text.C (leftMargin): adjust
6563         (setHeightOfRow): adjust
6564
6565         * rowpainter.C (paintFirst): adjust
6566         (paintLast): adjust
6567
6568         * paragraph_pimpl.C (realizeFont): adjust
6569
6570         * paragraph.C (isFirstInSequence): move from here...
6571         * paragraph_funcs.C (isFirstInSequence): ...to here
6572
6573         * paragraph.C (outerHook): move from here...
6574         * paragraph_funcs.C (outerHook): ...to here
6575
6576         * paragraph.C (depthHook): move from here...
6577         * paragraph_funcs.C (depthHook): ...to here
6578
6579         * paragraph.C (getEndLabel): move from here...
6580         * paragraph_funcs.C (getEndLabel): ...to here
6581
6582         * text2.C (realizeFont): move from here...
6583         * paragraph_funcs.C (realizeFont): ...to here
6584
6585 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6588
6589 2003-04-14  Angus Leeming  <leeming@lyx.org>
6590
6591         * LColor.[Ch]: scrap LColor mathcursor.
6592
6593 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * lyxlex.[Ch] (text): delete function
6596         * trans.C (Load): adjust
6597         * paragraph_funcs.C (readParToken): adjust
6598
6599 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6602         vector<char> instead of a char[].
6603
6604         * lyxlex_pimpl.C (getString): adjust
6605         (next): adjust
6606         (lex): use getString
6607         (eatLine): adjust
6608         (nextToken): adjust
6609
6610         * lyxlex.C (text): use pimpl_->getString()
6611         (getBool): ditto
6612         (findToken): ditto
6613
6614 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6617         (makeFontEntriesLayoutSpecific): temp var for par.size()
6618         (setLayout): temp var for ownerParagraphs().end()
6619         (fullRebreak): temp var for rows().end()
6620         (selectionAsString): temp var for boost::next(startpit), realize
6621         that the while really is a regular for loop.
6622         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6623         setCursor in one place.
6624         (setParagraph): temp vr for ownerParagraphs().end()
6625         (updateCounters): make the while loop a for loop
6626         (cutSelection): temp var for ownerParagraphs().end()
6627         (updateInset): make the do {} while() a regular for loop
6628         (getCursorX): use temp vars
6629         (setCurrentFont): use temp vars
6630         (getColumnNearX): use temp vars
6631
6632 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * text.C (transformChar): use temp var for getChar
6635         (computeBidiTables): use temp var for row->par()
6636         (fill): move temp vars for row->par() and pit->layout() earlier in
6637         the function.
6638         (labelFill): use temp var for row->par()
6639         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6640         asc and desc, realize that pit never changes and that firstpit is
6641         just a duplicate and not needed. Exchange rit->par() with pit in a
6642         lot of places.
6643         (breakAgain): use a temp var for boost::next(rit)
6644         (breakAgainOneRow): ditto
6645         (breakParagraph): use a temp var for rows().begin()
6646         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6647         (cursorRightOneWord): use temp var for cursor.par() and
6648         cursor.pos(), remove usage of tmpcursor.
6649         (cursorLeftOneWord): use temp var for cursor.par() and
6650         cursor.pos() only set cur at end of function.
6651
6652 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * text.C, text2.C: exchange all usage of Paragraph::next with
6655         boost::next(ParagraphList::iterator)
6656
6657         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6658
6659         * text2.C (cursorTop): simplify implementation
6660         (cursorBottom): ditto
6661         (setParagraph): use ParagraphList::iterator
6662         (setCurrentFont): adjust
6663         (getColumnNearX): adjust
6664         (cursorRight): adjust
6665         (cursorLeft): remove usage of Paragraph::previous
6666         (cursorUpParagraph): ditto
6667         (deleteEmptyParagraphMechanism): slight cleanup
6668
6669         * text.C (isBoundary): take a Paragraph const & instead of a
6670         pointer as arg.
6671         (addressBreakPoint): ditto
6672         (leftMargin): remove usage of Paragraph::previous.
6673         (setHeightOfRow): ditto
6674         (cursorLeftOneWord): ditto
6675         (selectNextWordToSpellcheck): ditto
6676         (Delete): ditto
6677         (backspace): ditto
6678         (breakParagraph): remove one usage of Paragraph::next
6679         (redoParagraph): ditto
6680         (acceptChange): ditto
6681         (insertChar): adjust
6682         (rowBreakPoint): adjust
6683
6684         * bufferview_funcs.C (toggleAndShow): adjust
6685
6686 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6689         methods to access it.
6690         * lyxtext.h:
6691         * text.C: Added updateRowPositions to compute all row positions.
6692         Make top_y and getRowNearY() to use the cached y position
6693
6694 2003-04-11  John Levon  <levon@movementarian.org>
6695
6696         * text.C (rowBreakPoint): reintroduce the labelEnd
6697         checks, code copied from the row fill stuff. Deep voodoo.
6698
6699         * text.C (fill): add a comment and debugging for the
6700         next poor soul.
6701
6702 2003-04-11  John Levon  <levon@movementarian.org>
6703
6704         * text.C: make sure fullrow insets get wrapped to the next line,
6705         even when they're in a manual label
6706
6707 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * text2.C (insertParagraph): make it take ParagraphList::iterator
6710         as arg.
6711         (setLayout): make it return ParagraphList::iterator
6712         (redoParagraphs): ditto
6713         (setCounter): ditto
6714         (checkParagraph): ditto
6715
6716         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6717
6718         * text2.C: adjust several funcs.
6719         (realizeFont): take a ParagraphList::iterator as arg.
6720         (getLayoutFont): ditto
6721         (getLabelFont): ditto
6722         (setCharFont): ditto
6723
6724         * text.C: adjust several funcs.
6725
6726 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6727
6728         * text.C (selectNextWordToSpellcheck): don't accidentally
6729         skip insets
6730
6731 2003-04-10  John Levon  <levon@movementarian.org>
6732
6733         * ToolbarBackend.C (getIcon): special handling for
6734         LFUN_MATH_DELIM
6735
6736 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6737
6738         * text2.C (cursorRight): a getChar assert fixed
6739
6740 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * text2.C (getFont): change to take a ParagraphList::iterator
6743         instead of Paragraph*
6744         Adjust several functions.
6745
6746         * text.C (transformChar): change to take a ParagraphList::iterator
6747         instead of Paragraph*
6748         (singleWidth): ditto
6749         Adjust several functions.
6750
6751         * rowpainter.C: adjust several functions
6752         * rowpainter.h:store a ParagraphList::iterator and not a
6753         Paragraph&.
6754
6755
6756 2003-04-09  John Levon  <levon@movementarian.org>
6757
6758         * lyxfunc.C:
6759         * lfuns.h:
6760         * LyXAction.h:
6761         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6762         and the "help" bits as well
6763
6764 2003-04-09  John Levon  <levon@movementarian.org>
6765
6766         * ToolbarBackend.h:
6767         * ToolbarBackend.C: allow multiple toolbars
6768
6769 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * undo_funcs.C (setCursorParUndo): adjust
6772
6773         * text_funcs.C (transposeChars): adjust
6774
6775         * text3.C (gotoNextInset): adjust
6776         (dispatch): adjust
6777
6778         * text2.C (setLayout): adjust
6779         (changeDepth): adjust
6780         (setFont): adjust
6781         (redoParagraphs): adjust
6782         (selectionAsString): adjust
6783         (setParagraph): adjust
6784         (insertInset): adjust
6785         (cutSelection): adjust
6786         (copySelection): adjust
6787         (pasteSelection): adjust
6788         (insertStringAsLines): adjust
6789         (updateInset): adjust
6790         (setCursor): change to take a ParagraphList::iterator parameter
6791         (setCursorIntern): change to take a ParagraphList::iterator parameter
6792         (setCurrentFont): adjust
6793         (cursorLeft): adjust
6794         (cursorRight): adjust
6795         (deleteEmptyParagraphMechanism): adjust
6796
6797         * text.C (breakParagraph): adjust
6798         (insertChar): adjust
6799         (acceptChange): adjust
6800         (rejectChange): adjust
6801         (selectNextWordToSpellcheck): adjust
6802         (changeCase): adjust
6803         (Delete): adjust
6804         (backspace): adjust
6805
6806         * lyxfind.C (SearchForward): adjust
6807         (SearchBackward): adjust
6808         (nextChange): adjust
6809
6810         * lyxcursor.C (par): adjust
6811
6812         * lyxcursor.h: store a ParagraphList::iterator instead of a
6813         Paragraph*
6814
6815         * lyx_cb.C (getPossibleLabel): adjust
6816
6817         * bufferview_funcs.C (toggleAndShow): adjust
6818
6819         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6820         (dispatch): adjust
6821
6822         * BufferView.C (removeAutoInsets): adjust
6823         (lockedInsetStoreUndo): adjust
6824
6825 2003-04-09  John Levon  <levon@movementarian.org>
6826
6827         * ToolbarBackend.C: try icon without argument
6828         if with argument fails
6829
6830 2003-04-08  John Levon  <levon@movementarian.org>
6831
6832         * ToolbarBackend.h:
6833         * ToolbarBackend.C: add getIcon(), handle tooltip,
6834         and change from "Icon" to "Item".
6835
6836 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6837
6838         * BufferView.C (lockInset): another bad getchar crunched
6839
6840 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6841
6842         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6843         again)
6844
6845 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6846
6847         * lyxfind.C (searchForward, searchBackwards): bug 782
6848
6849 2003-04-07  John Levon  <levon@movementarian.org>
6850
6851         * paragraph.C: remove dead comment
6852
6853         * text.C: remove troublesome depth-fiddling code
6854         in leftMargin() and rightMargin() (bug 1017)
6855
6856         * text.C: fix breaking of rows in nested lists
6857         (bug 1004)
6858
6859         * text2.C (updateCounters): fix up depth values
6860         (bug 1013)
6861
6862 2003-04-07  John Levon  <levon@movementarian.org>
6863
6864         * BufferView_pimpl.C: clear message when doc finishes resizing,
6865         and after a mouse event
6866
6867         * lyxfunc.C: clear message after exiting inset
6868
6869 2003-04-07  John Levon  <levon@movementarian.org>
6870
6871         * bufferview_funcs.C: show math status not outside
6872         status in the statusbar
6873
6874 2003-04-07  John Levon  <levon@movementarian.org>
6875
6876         * lyxfunc.C: note status changed after a depth change
6877
6878 2003-04-04  Angus Leeming  <leeming@lyx.org>
6879
6880         * LaTeX.h: move AuxInfo operator==, != out of line.
6881         Remove LaTeX virtual destructor; nothing derives from it.
6882         Move operator()() out of public area and rename it startscript().
6883         Change protected for private.
6884
6885 2003-04-04  Angus Leeming  <leeming@lyx.org>
6886
6887         * lyxfunc.C:
6888         * text2.C: remove unneeded #includes.
6889
6890 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6891
6892         * text2.C (dEPM): fix the heigth of the next row
6893
6894 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * text.C: squashed an invalid getChar requester + some ws changes
6897
6898 2003-04-03  John Levon  <levon@movementarian.org>
6899
6900         * bufferview_funcs.h:
6901         * bufferview_funcs.C:
6902         * lyxfunc.C:
6903         * lyxtext.h:
6904         * text2.C: make getStatus work for the env depth lfuns
6905
6906 2003-04-03  John Levon  <levon@movementarian.org>
6907
6908         * bufferview_funcs.h:
6909         * bufferview_funcs.C:
6910         * lyxfunc.C:
6911         * lyxtext.h:
6912         * text2.C: parlistize decDepth(), by merging it with incDepth()
6913
6914 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * lyxrow.h: store a ParagraphList::iterator instead of a
6917         Paragraph* and adjust other class functions to suit.
6918
6919         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6920         above.
6921
6922 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6923
6924         * text2.C (setCursor): do not anchor to cursor row for the time being
6925
6926 2003-04-02  John Levon  <levon@movementarian.org>
6927
6928         * LyXAction.C:
6929         * lfuns.h:
6930         * lyx_main.C:
6931         * lyxtext.h:
6932         * text.C:
6933         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6934
6935 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * paragraph.h: make ParagraphList and ParagraphList::iterator
6938         friends of Paragraph.
6939
6940         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6941
6942         * ParagraphList.C: Use the private next_ and previous_ from
6943         Paragraph.
6944
6945 2003-04-01  John Levon  <levon@movementarian.org>
6946
6947         * ToolbarBackend.h:
6948         * ToolbarBackend.C:
6949         * Makefile.am: rename, remove defaults gunk
6950
6951         * MenuBackend.h:
6952         * MenuBackend.C: remove defaults gunk
6953
6954         * Languages.h:
6955         * Languages.C: remove defaults gunk
6956
6957         * lyx_main.h:
6958         * lyx_main.C: error out if files couldn't be found.
6959
6960 2003-04-02  John Levon  <levon@movementarian.org>
6961
6962         * text2.C: make incDepth() use parlist
6963
6964 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * undo_funcs.C (firstUndoParagraph): adjust
6967
6968         * text3.C (gotoInset): adjust
6969         (dispatch): adjust, and rewrite loop.
6970
6971         * text2.C (init): adjust, and rewrite loop.
6972         (redoParagraphs): adjust
6973         (updateInset): adjust, and rewrite loop.
6974         (deleteEmptyParagraphMechanism): adjust
6975
6976         * tabular.C (LyXTabular): adjust
6977         (SetMultiColumn): adjust
6978         (TeXRow): adjust
6979
6980         * lyxtext.[Ch] (ownerParagraph): delete function
6981         (ownerParagraphs): new function returns a ParagraphList.
6982
6983         * BufferView.C (removeAutoInsets): adjust
6984         (insertErrors): adjust
6985         (setCursorFromRow): adjust
6986
6987 2003-04-01  Angus Leeming  <leeming@lyx.org>
6988
6989         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6990         in the frontends.
6991
6992 2003-04-02  John Levon  <levon@movementarian.org>
6993
6994         * lyxtext.h:
6995         * text.C:
6996         * Makefile.am:
6997         * text_funcs.h:
6998         * text_funcs.C: make transposeChars a free function
6999
7000         * lyxrow_funcs.C: remove wrong comment
7001
7002 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7003
7004         * lyxtext.h: adjust
7005         * rowpainter.C: adjust
7006         * text.C: adjust
7007         * text2.C: adjust
7008         * text3.C: adjust
7009
7010         * lyxrow_funcs. [Ch]: new files
7011
7012         * lyxrow.[Ch]: remove next and previous pointers
7013         (next,previous): remove accessor functions
7014         (isParEnd): move to lyxrow_funcs
7015         (lastPos): move to lyxrow_funcs
7016         (nextRowIsAllInset): move to lyxrow_funcs
7017         (lastPrintablePos): move to lyxrow_funcs
7018         (numberOfSeparators): move to lyxrow_funcs
7019         (numberOfHfills): move to lyxrow_funcs
7020         (numberOfLabelHfills): move to lyxrow_funcs
7021         (hfillExpansion): move to lyxrow_funcs
7022
7023         * lyxfunc.C: adjust
7024
7025         * bufferview_funcs.C (toggleAndShow): adjust
7026
7027         * RowList.h: Remove class RowList from file leave just a
7028         std::list<Row>.
7029
7030         * RowList.C: delete file
7031
7032         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7033         and lyxrow_funcs.h
7034
7035 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * text3.C (cursorPrevious): adjust
7038         (cursorNext): adjust
7039         (dispatch): adjust
7040
7041         * text2.C (redoHeightOfParagraph): adjust
7042         (redoDrawingOfParagraph): adjust
7043         (setCursor): adjust
7044
7045         * text.C (breakParagraph): adjust
7046         (insertChar): adjust
7047         (backspace): adjust
7048
7049         * rowpainter.C (RowPainter): adjust
7050         (leftMargin): simplify and adjust
7051         (most rowpainter functions): adjust.
7052
7053         * rowpainter.h: store the row as RowList::iterator not as Row*
7054
7055         * lyxcursor.C (row): taka RowList::iterator as arg
7056         (irow): ditto
7057
7058         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7059         of Row*.
7060
7061 2003-04-01  Angus Leeming  <leeming@lyx.org>
7062
7063         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7064         stuff like bool Bool.
7065
7066 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7067
7068         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7069         rewrite a loop
7070
7071 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7074         RowList::iterator.
7075
7076         * lyxtext.h (rows): drop one version and leve a const variant that
7077         returns a RowList::iterator.
7078
7079 2003-03-31  Angus Leeming  <leeming@lyx.org>
7080
7081         * text.C (fill): ensure that the signature is the same as that in the
7082         header file.
7083
7084 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text2.C (redoParagraphs): adjust
7087         (updateCounters): adjust
7088         (checkParagraph): adjust
7089         (getColumnNearX): adjust and reformat a bit.
7090
7091         * text.C (top_y): adjust
7092         (workWidth): adjust
7093         (leftMargin): adjust
7094         (prepareToPrint): adjust
7095         (getRow): adjust
7096         (getRowNearY): adjust
7097
7098         * lyxtext.h: make rowlist_ mutable.
7099
7100         * RowList.h: add const_iterator
7101         * RowList.C: adjust for RowList::const_iterator.
7102
7103         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7104         adjust.
7105
7106 2003-03-31  John Levon  <levon@movementarian.org>
7107
7108         * lyxrc.h:
7109         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7110
7111         * lyx_main.C: set default fonts from using lyx_gui funcs
7112
7113         * exporter.C: pdf_mode moved from lyxrc
7114
7115         * lyx_cb.C:
7116         * lyxfunc.C: changes from above
7117
7118 2003-03-31  John Levon  <levon@movementarian.org>
7119
7120         * lyx_main.C: fix to the last fix
7121
7122 2003-03-31  John Levon  <levon@movementarian.org>
7123
7124         * bufferlist.C: "Load original" -> "Load Original"
7125
7126         * converter.C:
7127         * exporter.C:
7128         * importer.C:
7129         * lyx_main.C:
7130         * format.C: more Alert cleanups
7131
7132 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7133
7134         * text2.C (removeParagraph): make it take a RowList::iterator as
7135         arg, adjust.
7136         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7137         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7138
7139         * text.C (anchor_row): make it take a RowList::iterator as arg,
7140         adjust.
7141         (computeBidiTables): make it take a const reference to Row instead
7142         of Row pointer, adjust.
7143         (leftMargin): make it take a RowList::iterator as arg, adjust.
7144         (rowBreakPoint): adjust
7145         (breakAgainOneRow): make it take a RowList::iterator as arg,
7146         adjust.
7147         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7148
7149         * bufferview_funcs.C (toggleAndShow): adjust
7150
7151 2003-03-30  John Levon  <levon@movementarian.org>
7152
7153         * Makefile.am:
7154         * BoostFormat.h:
7155         * boost-inst.C: moved to support
7156
7157         * several files: changes as a result
7158
7159 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * text2.C (LyXText): adjust.
7162         (init): adjust
7163         (removeRow): make it take a RowList::iterator as arg, adjust.
7164         (fullRebreak): adjust
7165         (deleteEmptyParagraphMechanism): adjust
7166         (clearPaint): adjust
7167         (postPaint): adjust
7168
7169         * text.C (top_y): adjust
7170         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7171         (breakAgain): make it take a RowList::iterator as arg, adjust.
7172         (breakParagraph): adjust
7173         (insertChar): adjust
7174         (backspace): adjust
7175
7176         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7177         need_break_row, and refresh_row.
7178
7179         * text3.C (dispatch): adjust
7180
7181         * text2.C (checkParagraph): adjust
7182         (setCursor): adjust
7183         (setCursorFromCoordinates): adjust
7184
7185         * text.C (top_y): adjust
7186         (workWidth): adjust
7187         (getRow): make it return a RowList::iterator, adjust
7188         (getRowNearY): make it return a RowList::iterator, adjust
7189
7190         * text2.C (init): adjust
7191         (insertRow): remove function
7192         (insertParagraph): adjust
7193         (redoParagraphs): adjust
7194         (fullRebreak): adjust
7195         (updateCounters): adjust
7196
7197         * text.C (top_y): rewrite to use RowList iterators.
7198         (top_y): adjust
7199         (setHeightOfRow): rewrite to sue RowList iterators.
7200         (appendParagraph): adjust
7201         (breakAgain): adjust
7202         (breakAgainOneRow): adjust
7203         (breakParagraph): adjust
7204         (getRow): adjust
7205         (getRowNearY): adjust, and remove commented code.
7206
7207         * lyxtext.h (firstRow): delete function
7208         (lastRow): delete function
7209         (rows): new function (const and non-const versions.)
7210         (insertRow): delete function
7211
7212         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7213
7214 2003-03-29  John Levon  <levon@movementarian.org>
7215
7216         * BufferView_pimpl.C: always update scrollbar top
7217         because pasting text when we're anchored could mean we
7218         miss an update altogether
7219
7220 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7221
7222         * text2.C (init): use rowlist_.end() and not 0.
7223         (insertRow): change to take a RowList::iterator as arg, adjust
7224         for this.
7225         (insertParagraph): change to take a RowList::iterator as arg,
7226         adjust for this.
7227         (redoParagraphs): remove some debug msgs.
7228
7229         * text.C (appendParagraph): change to take a RowList::iterator
7230         arg, adjust for this.
7231         (breakAgain): add an assert
7232         (breakAgainOneRow): ditto
7233
7234 2003-03-29  John Levon  <levon@movementarian.org>
7235
7236         * text2.C: do not clear selection after inc/decDepth
7237         (bug 550)
7238
7239 2003-03-29  John Levon  <levon@movementarian.org>
7240
7241         * BufferView.C:
7242         * buffer.C: fix broken strerrors according to Lars
7243
7244 2003-03-29  John Levon  <levon@movementarian.org>
7245
7246         * converters.C: more Alert cleanups
7247
7248 2003-03-29  John Levon  <levon@movementarian.org>
7249
7250         * bufferview_funcs.C: remove pointless Alert
7251
7252         * buffer.C: fix confusing error message when
7253         a template is chmoded 000
7254
7255 2003-03-29  John Levon  <levon@movementarian.org>
7256
7257         * BufferView.C:
7258         * BufferView.h:
7259         * BufferView_pimpl.C: Alert fixes
7260
7261         * Makefile.am:
7262         * tabular.C:
7263         * tabular-old.C: remove unused table compat reading
7264
7265 2003-03-29  John Levon  <levon@movementarian.org>
7266
7267         * BufferView.C:
7268         * buffer.C:
7269         * lyx_cb.h:
7270         * lyx_cb.C: more Alert cleanups
7271
7272         * lyxfunc.C: don't allow chktex if not latex document
7273
7274 2003-03-29  John Levon  <levon@movementarian.org>
7275
7276         * lyx_cb.C:
7277         * BufferView.C:
7278         * buffer.C: warnings pushed down from support/,
7279         kill err_alert
7280
7281 2003-03-29  John Levon  <levon@movementarian.org>
7282
7283         * lyxfunc.C: safety check for C-r (revert)
7284
7285 2003-03-29  John Levon  <levon@movementarian.org>
7286
7287         * bufferlist.h:
7288         * bufferlist.C: several UI fixes using Alert::prompt.
7289         Fix the pointless looping quit code. Fix stupid revert
7290         behaviour (bug 938)
7291
7292         * lyxvc.h:
7293         * lyxvc.C:
7294         * lyx_cb.C: use Alert::prompt
7295
7296         * lyx_main.C: remove a silly question
7297
7298         * lyxfunc.C: remove a couple of silly questions,
7299         use Alert::prompt
7300
7301 2003-03-28  John Levon  <levon@movementarian.org>
7302
7303         * text2.C: fix bug 974 (End on empty par)
7304
7305 2003-03-28  John Levon  <levon@movementarian.org>
7306
7307         * BufferView_pimpl.C:
7308         * LyXAction.C:
7309         * lfuns.h: remove do-nothing math greek lfuns
7310
7311 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * lyxgluelength.h (isValidGlueLength): add default arg on
7314         parameter 2. Remove default arg from friend in class.
7315
7316         * lyxlength.h (isValidLength): add default arg on parameter 2.
7317         Remove default arg from friend in class.
7318
7319         * text2.C (LyXText): adjust, initialize refresh_row.
7320         (init): adjust
7321         (removeRow): adjust
7322         (insertRow): adjust
7323         (insertParagraph): adjst
7324         (redoParagraphs): adjust
7325         (fullRebreak): adjust
7326         (updateCounters): adjust
7327         (deleteEmptyParagraphMechanism): first attempt at fixing a
7328         crashing bug.
7329
7330         * text.C (top_y): adjust
7331         (setHeightOfRow): adjust
7332         (getRow): adjust
7333         (getRowNearY): adjust
7334
7335         * lyxtext.h: include RowList.h
7336         (~LyXText): not needed anymore, deleted.
7337         (firstRow): modify for RowList
7338         (lastRow): new function
7339         Delete firstrow and lastrow class variables, add a Rowlist
7340         rowlist_ class variable.
7341
7342         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7343         paragraph is empty.
7344
7345         * RowList.C (insert): fix case where it == begin().
7346
7347 2003-03-26  Angus Leeming  <leeming@lyx.org>
7348
7349         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7350         the thesaurus dialog.
7351
7352 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7355
7356         * RowList.[Ch]: new files
7357
7358         * ParagraphList.C (erase): handle the case where it == begin
7359         correctly.
7360
7361 2003-03-25  John Levon  <levon@movementarian.org>
7362
7363         * Makefile.am:
7364         * aspell_local.h:
7365         * aspell.C: add new aspell support
7366
7367         * lyxrc.h:
7368         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7369         have it accessible.
7370
7371 2003-03-25  Angus Leeming  <leeming@lyx.org>
7372
7373         * lfuns.h:
7374         * LyXAction.C (init): new LFUN_INSET_INSERT.
7375
7376         * BufferView_pimpl.C (dispatch): split out part of the
7377         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7378
7379         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7380         LFUN_INSET_APPLY.
7381
7382 2003-03-25  Angus Leeming  <leeming@lyx.org>
7383
7384         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7385
7386 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7387
7388         * text2.C:
7389         * text3.C: remove useless row->height(0)
7390
7391 2003-03-25  John Levon  <levon@movementarian.org>
7392
7393         * lyxtext.h:
7394         * text2.C:
7395         * text3.C: rename the refreshing stuff to better names
7396
7397 2003-03-24  John Levon  <levon@movementarian.org>
7398
7399         * BufferView_pimpl.h:
7400         * BufferView_pimpl.C: update layout choice on a mouse
7401         press/release
7402
7403 2003-03-23  John Levon  <levon@movementarian.org>
7404
7405         * Makefile.am: fix commandtags.h reference
7406
7407 2003-03-22  John Levon  <levon@movementarian.org>
7408
7409         * BufferView_pimpl.C:
7410         * lyxtext.h:
7411         * rowpainter.C:
7412         * rowpainter.h:
7413         * text.C:
7414         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7415
7416 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7417
7418         * lyxtext.h:
7419         * text.C: take the rtl methods out of line
7420
7421 2003-03-21 André Pönitz <poenitz@gmx.net>
7422
7423         * metricsinfo.[Ch]: new files containing structures to be passed around
7424         during the two-phase-drawing...
7425
7426 2003-03-21 André Pönitz <poenitz@gmx.net>
7427
7428         * lyxtextclass.C: read 'environment' tag.
7429
7430 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7431
7432         * text2.C (removeRow): fix bug 964
7433
7434 2003-03-20  John Levon  <levon@movementarian.org>
7435
7436         * rowpainter.C:
7437         * text.C:
7438         * text2.C: paint cleanups. Inset::update() dropped font
7439         parameter
7440
7441 2003-03-19  John Levon  <levon@movementarian.org>
7442
7443         * lyxfunc.C: only fitcursor/markDirty if available()
7444
7445 2003-03-19  John Levon  <levon@movementarian.org>
7446
7447         * commandtags.h: rename to ...
7448
7449         * lfuns.h: ... this, and renumber / cleanup
7450
7451 2003-03-19  John Levon  <levon@movementarian.org>
7452
7453         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7454         fit the cursor after an lfun
7455
7456         * BufferView.h:
7457         * BufferView.C:
7458         * BufferView_pimpl.h:
7459         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7460
7461         * LyXAction.C: layout-character should have ReadOnly
7462
7463         * ParagraphParameters.C:
7464         * buffer.C:
7465         * bufferview_funcs.C:
7466         * lyx_cb.C:
7467         * lyxfind.C:
7468         * lyxtext.h:
7469         * text.C:
7470         * text2.C:
7471         * text3.C:
7472         * undo_funcs.C: changes from above
7473
7474 2003-03-18  John Levon  <levon@movementarian.org>
7475
7476         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7477         remove it from update()
7478
7479         * lyxfunc.C: update layout choice after an lfun
7480
7481         * text3.C: remove extra updateLayoutChoice()s
7482
7483 2003-03-18  John Levon  <levon@movementarian.org>
7484
7485         * text.C: top_y change means full repaint, fix
7486         a drawing bug with cursor movement
7487
7488 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7489
7490         * lyxtext.h:
7491         * text.C:
7492         * text2.C: anchor row on setCursor
7493
7494 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7495
7496         * lyxtext.h: remove almost all mutable keywords
7497         * text.C:
7498         * text2.C:
7499         * text3.C: remove const keywords accordingly
7500
7501 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7504         anon namespace
7505         (TeXEnvironment): ditto
7506         (TeXOnePar): ditto
7507
7508 2003-03-17  John Levon  <levon@movementarian.org>
7509
7510         * text.C (rowBreakPoint): remove attempt to fix displayed
7511         math insets inside a manual label
7512
7513 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * lyxtext.h: remove BufferView* as first arg from almost all class
7516         functions.
7517         * other files: adjust.
7518
7519 2003-03-17  John Levon  <levon@movementarian.org>
7520
7521         * lyxtext.h:
7522         * undo_funcs.C:
7523         * text2.C: more paint cleanups
7524
7525         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7526
7527         * rowpainter.h:
7528         * rowpainter.C: remove "smart" background painting code
7529
7530 2003-03-16  John Levon  <levon@movementarian.org>
7531
7532         * lyxtext.h:
7533         * text.C:
7534         * text2.C:
7535         * text3.C: add helper functions for setting refresh_row/y
7536
7537 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7538
7539         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7540         newline inset which *can* get inserted in the pass_thru layouts.
7541         This is primarily for literate documents.
7542
7543 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7544
7545         * buffer.C: increment LYX_FORMAT to 223
7546
7547 2003-03-14 André Pönitz <poenitz@gmx.net>
7548
7549         * textclass.h: prepare for environment handling, ws changes
7550         * lyxlayout.C: read latexheader and latexfooter tags
7551
7552 2003-03-14  John Levon  <levon@movementarian.org>
7553
7554         * text2.C: rewrite ::status() a bit
7555
7556 2003-03-13  John Levon  <levon@movementarian.org>
7557
7558         * lyxtext.h: add some docs
7559
7560 2003-03-13  John Levon  <levon@movementarian.org>
7561
7562         * lyxtext.h:
7563         * text.C:
7564         * text2.C:
7565         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7566
7567 2003-03-13  John Levon  <levon@movementarian.org>
7568
7569         * text3.C: fix appendix redrawing
7570
7571 2003-03-13  John Levon  <levon@movementarian.org>
7572
7573         * text.C (setHeightOfRow):
7574         * rowpainter.h:
7575         * rowpainter.C: make appendix mark have the text
7576           "Appendix" so the user knows what it is
7577
7578         * LColor.h:
7579         * LColor.C: s/appendixline/appendix/ from above
7580
7581 2003-03-13  John Levon  <levon@movementarian.org>
7582
7583         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7584
7585         * text.C: fix a getChar(pos) bug properly
7586
7587 2003-03-13  Angus Leeming  <leeming@lyx.org>
7588
7589         * commandtags.h:
7590         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7591         Probably only temporary. Let's see how things pan out.
7592
7593         * BufferView.C (unlockInset):
7594         * BufferView_pimpl.C (fitCursor):
7595         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7596
7597         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7598         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7599
7600         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7601         new functions that convert ParagraphParameters to and from a string.
7602
7603         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7604         BufferView::Pimpl's dispatch.
7605         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7606
7607 2003-03-13 André Pönitz <poenitz@gmx.net>
7608
7609         * lyxfunc.C:
7610         * text3.C:
7611         * factory.C: make it aware of InsetEnv
7612
7613 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * text2.C (setCursor): never ask for one past last
7616         (setCursor): add some debugging messages.
7617
7618         * text.C (singleWidth): never ask for one past last
7619         (singleWidth): ditto
7620         (leftMargin): ditto
7621         (rightMargin): ditto
7622         (rowBreakPoint): ditto
7623         (setHeightOfRow): ditto
7624         (prepareToPrint): ditto
7625
7626         * rowpainter.C (paintBackground): never ask for one past last
7627         (paintText): never ask for one past last
7628
7629         * paragraph_pimpl.C (getChar): make the assert stricter, never
7630         allow the one past last pos to be taken
7631
7632         * paragraph.C (getChar): ws changes only
7633
7634         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7635         (numberOfSeparators): ditto
7636         (numberOfHfills): ditto
7637
7638 2003-03-12  John Levon  <levon@movementarian.org>
7639
7640         * author.h:
7641         * author.C:
7642         * bufferparams.h:
7643         * bufferparams.C:
7644         * paragraph_funcs.C: fix per-buffer authorlists
7645
7646 2003-03-12  John Levon  <levon@movementarian.org>
7647
7648         * text.C: fix newline in right address
7649
7650 2003-03-12  Angus Leeming  <leeming@lyx.org>
7651
7652         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7653         duplicate those in LyXFunc::dispatch.
7654
7655         * commandtags.h:
7656         * LyXAction.C:
7657         * ToolbarDefaults.C:
7658         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7659         Add LFUN_FONTFREE_UPDATE.
7660
7661         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7662         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7663
7664         * bufferview_func.[Ch]: several new functions to facilliate
7665         transfer of data to and from the character dialog.
7666
7667 2003-03-12  John Levon  <levon@movementarian.org>
7668
7669         * buffer.C:
7670         * paragraph.h:
7671         * paragraph.C:
7672         * paragraph_funcs.C:
7673         * paragraph_pimpl.C:
7674         * sgml.C:
7675         * tabular.C:
7676         * text.C:
7677         * text3.C: remove META_NEWLINE in favour of an inset
7678
7679         * rowpainter.h:
7680         * rowpainter.C: remove paintNewline (done by inset)
7681
7682 2003-03-12  John Levon  <levon@movementarian.org>
7683
7684         * paragraph_pimpl.C: complain about bad getChar()s
7685         for a while at least
7686
7687 2003-03-12  John Levon  <levon@movementarian.org>
7688
7689         * buffer.h:
7690         * buffer.C: move paragraph read into a separate function,
7691         a little renaming to reflect that.
7692
7693         * bufferparams.h:
7694         * bufferparams.C: remove the author_ids map, not necessary now
7695
7696         * factory.h:
7697         * factory.C: moved Buffer::readInset to here
7698
7699         * paragraph_funcs.h:
7700         * paragraph_funcs.C: readParagraph free function moved from
7701         buffer.C
7702
7703         * tabular.C: name change
7704
7705 2003-03-12  John Levon  <levon@movementarian.org>
7706
7707         * buffer.C:
7708         * ParagraphParameters.C: move par params input to
7709         a read() method
7710
7711         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7712         behave like a normal read from the stream wrt reading
7713         a line vs. a \\token
7714
7715 2003-03-12  John Levon  <levon@movementarian.org>
7716
7717         * paragraph.C:
7718         * ParagraphParameters.h:
7719         * ParagraphParameters.C: move output code to a
7720         ::write() method
7721
7722 2003-03-12  John Levon  <levon@movementarian.org>
7723
7724         * BufferView.C (insertLyXFile):
7725         * buffer.h:
7726         * buffer.C:
7727         * tabular.C: use a parlist iterator for creating the
7728           document.
7729
7730 2003-03-12  John Levon  <levon@movementarian.org>
7731
7732         * buffer.C: make current_change static local not
7733           static file-scope
7734
7735 2003-03-12  John Levon  <levon@movementarian.org>
7736
7737         * buffer.C: fix insertStringAsLines for change tracking
7738
7739 2003-03-12  John Levon  <levon@movementarian.org>
7740
7741         * BufferView.C:
7742         * tabular.C:
7743         * buffer.h:
7744         * buffer.C:
7745         * bufferparams.h:
7746         * bufferparams.C: move author list into params. Rename some
7747           functions. Move the header reading into a separate token
7748           loop. Move the header token reading into BufferParams.
7749
7750 2003-03-12  John Levon  <levon@movementarian.org>
7751
7752         * changes.C: put debug inside lyxerr.debugging() checks
7753
7754 2003-03-11 André Pönitz <poenitz@gmx.net>
7755
7756         * factory.C: make it aware of InsetHFill
7757
7758 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7759
7760         * buffer.C (latexParagraphs): move function from here...
7761         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7762         args.
7763
7764 2003-03-10  Angus Leeming  <leeming@lyx.org>
7765
7766         * LyXAction.C (init): fix bug in poplating array with multiple entries
7767         with the same LFUN (spotted by JMarc).
7768
7769 2003-03-10  John Levon  <levon@movementarian.org>
7770
7771         * text.C:
7772         * text2.C: move getColumnNearX() near its
7773         only call site
7774
7775 2003-03-10  John Levon  <levon@movementarian.org>
7776
7777         * text.C: fix break before a minipage
7778
7779 2003-03-10  John Levon  <levon@movementarian.org>
7780
7781         * text.C: fix the last commit
7782
7783 2003-03-09  John Levon  <levon@movementarian.org>
7784
7785         * lyxtext.h:
7786         * text.C:
7787         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7788         bug 365 (don't break before insets unless needed). Don't
7789         return a value > last under any circumstances.
7790
7791 2003-03-09  Angus Leeming  <leeming@lyx.org>
7792
7793         * BufferView_pimpl.C (trackChanges, dispatch): call
7794         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7795
7796 2003-03-09  Angus Leeming  <leeming@lyx.org>
7797
7798         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7799         than Dialogs::showAboutlyx().
7800
7801 2003-03-09  Angus Leeming  <leeming@lyx.org>
7802
7803         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7804         than Dialogs::showTabularCreate().
7805
7806 2003-03-09  John Levon  <levon@movementarian.org>
7807
7808         * lyxtext.h:
7809         * text.C:
7810         * text2.C: 3rd arg to nextBreakPoint was always the same.
7811           Use references.
7812
7813 2003-03-08  John Levon  <levon@movementarian.org>
7814
7815         * lyxrow.C:
7816         * paragraph.C:
7817         * paragraph.h:
7818         * rowpainter.C:
7819         * text.C:
7820         * text2.C: Remove the "main" bit from the "main body"
7821           notion.
7822
7823 2003-03-08  John Levon  <levon@movementarian.org>
7824
7825         * text.C (leftMargin): The left margin of an empty
7826         manual label paragraph should not include the label width
7827         string length.
7828
7829         * text.C (prepareToPrint): don't attempt to measure hfills
7830         for empty manual label paragraphs - the answer should be 0
7831
7832 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * CutAndPaste.C: remove commented code and reindent.
7835
7836 2003-03-08  John Levon  <levon@movementarian.org>
7837
7838         * lyxfunc.h:
7839         * lyxfunc.C: move reloadBuffer()
7840
7841         * BufferView.h:
7842         * BufferView.C: to here
7843
7844         * lyxvc.C: add comment
7845
7846         * vc-backend.h:
7847         * vc-backend.C: call bv->reload() to avoid
7848           getStatus() check on MENURELOAD
7849
7850 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7851
7852         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7853         to an old format .dep file.
7854
7855 2003-03-07  Angus Leeming  <leeming@lyx.org>
7856
7857         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7858         when the LFUN_MOUSE_RELEASE should have been handled by
7859         inset->localDispatch.
7860
7861 2003-03-07  Angus Leeming  <leeming@lyx.org>
7862
7863         * BufferView_pimpl.C (dispatch):
7864         * LyXAction.C (init):
7865         * ToolbarDefaults.C (init):
7866         * commandtags.h:
7867         * lyxfunc.C (getStatus):
7868         remove LFUN_INSET_GRAPHICS.
7869
7870         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7871
7872 2003-03-07  Angus Leeming  <leeming@lyx.org>
7873
7874         * commandtags.h:
7875         * LyXAction.C (init):
7876         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7877
7878         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7879
7880         * commandtags.h:
7881         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7882
7883         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7884         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7885
7886 2003-03-07  Angus Leeming  <leeming@lyx.org>
7887
7888         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7889         remove "ert".
7890
7891 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7892
7893         * ParagraphList.C (front): new function
7894         (back): implement
7895
7896 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7897
7898         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7899         and top_row_offset_. removed var first_y.
7900         * text.C (top_y):
7901         * text2.C (LyXText, removeRow):
7902         * text3.C:
7903         * BufferView_pimpl.C:
7904         use these methods instead of using first_y
7905
7906 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * text2.C (pasteSelection): adjust for checkPastePossible
7909
7910         * CutAndPaste.C: remove Paragraph * buf and replace with
7911         ParagraphList paragraphs.
7912         (DeleteBuffer): delete
7913         (cutSelection): change the tc type to textclass_type
7914         (copySelection): change the tc type to textclass_type
7915         (copySelection): adjust for ParagraphList
7916         (pasteSelection): change the tc type to textclass_type
7917         (pasteSelection): adjust for Paragraphlist
7918         (nrOfParagraphs): simplify for ParagraphList
7919         (checkPastePossible): simplify for ParagraphList
7920         (checkPastePossible): remove unused arg
7921
7922         * ParagraphList.C (insert): handle the case where there are no
7923         paragraphs yet.
7924
7925         * CutAndPaste.h: make CutAndPaste a namespace.
7926
7927         * text3.C (dispatch): adjust
7928
7929         * text.C (breakParagraph): add a ParagraphList as arg
7930
7931         * paragraph_funcs.C (breakParagraph): change to take a
7932         BufferParams and a ParagraphList as args.
7933         (breakParagraphConservative): ditto
7934         (mergeParagraph): ditto
7935         (TeXDeeper): add a ParagraphList arg
7936         (TeXEnvironment): ditto
7937         (TeXOnePar): ditto
7938
7939         * buffer.C (readLyXformat2): adjust
7940         (insertStringAsLines): adjust
7941         (latexParagraphs): adjust
7942
7943         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7944         (cutSelection): adjust
7945         (pasteSelection): adjust
7946
7947         * BufferView_pimpl.C (insertInset): adjust
7948
7949 2003-03-05  Angus Leeming  <leeming@lyx.org>
7950
7951         * commandtags.h:
7952         * LyXAction.C (init):
7953         * BufferView_pimpl.C (dispatch):
7954         * lyxfunc.C (getStatus):
7955         remove LFUN_CHILD_INSERT.
7956
7957         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7958
7959 2003-03-05  Angus Leeming  <leeming@lyx.org>
7960
7961         * commandtags.h:
7962         * LyXAction.C (init):
7963         * src/factory.C (createInset):
7964         * lyxfunc.C (getStatus):
7965         * text3.C (dispatch):
7966         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7967
7968         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7969
7970 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * ParagraphList.C (insert): handle insert right before end()
7973         (erase): fix cases where it can be first or last paragraph.
7974
7975 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7978         Paragraph::next and Paragraph::previous
7979         (TeXOnePar): ditto
7980
7981         * text.C (breakParagraph): adjust
7982
7983         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7984         BufferParams& as arg.
7985         (breakParagraph): use ParagraphList::insert
7986         (breakParagraphConservative): take a Buffer* instead of a
7987         BufferParams& as arg.
7988         (breakParagraphConservative): use ParagraphList::insert.
7989
7990         * buffer.C (insertStringAsLines): un-const it
7991         (insertStringAsLines): adjust
7992
7993         * ParagraphList.C (insert): new function
7994
7995         * CutAndPaste.C (pasteSelection): adjust
7996
7997         * text.C (backspace): adjust
7998
7999         * tabular.C (SetMultiColumn): adjust
8000
8001         * CutAndPaste.C (cutSelection): adjust
8002         (pasteSelection): adjust
8003
8004         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8005         Buffer const * as arg
8006
8007         * ParagraphList.C (erase): new function
8008         * paragraph_funcs.C (mergeParagraph): use it
8009         (mergeParagraph): make it take a Buffer* instead of a
8010         BufferParams* as arg
8011
8012         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8013         as arg
8014         (breakParagraphConservative): ditto
8015
8016         * paragraph.h: remove the breakParagraph friend
8017
8018         * paragraph.C (eraseIntern): new function
8019         (setChange): new function
8020
8021         * paragraph_funcs.C (mergeParagraph): make it take a
8022         ParagraphList::iterator instead of a Paragraph *, adjust
8023         accordingly.
8024
8025         * paragraph.h: move an #endif so that the change tracking stuff
8026         also works in the NO_NEXT case.
8027
8028 2003-03-04  Angus Leeming  <leeming@lyx.org>
8029
8030         * commandtags.h:
8031         * LyXAction.C: new LFUN_INSET_MODIFY.
8032
8033         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8034         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8035
8036 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * several files: ws changes only
8039
8040         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8041         (TeXEnvironment): ditto
8042         (TeXDeeper): ditto
8043
8044         * buffer.C (makeLaTeXFile): adjust
8045         (latexParagraphs): make it take ParagraphList::iterator as args
8046
8047 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * buffer.C (latexParagraphs): adjust
8050
8051         * paragraph.C (TeXOnePar): move function...
8052         (optArgInset): move function...
8053         (TeXEnvironment): move function...
8054         * paragraph_pimpl.C (TeXDeeper): move function...
8055         * paragraph_funcs.C: ...here
8056
8057         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8058
8059 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * buffer.C (readInset): remove compability code for old Figure and
8062         InsetInfo insets
8063
8064 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * buffer.C: ws changes
8067         (readInset):
8068
8069         * BufferView_pimpl.C: ditto
8070         * author.C: ditto
8071         * buffer.h: ditto
8072         * bufferlist.h: ditto
8073         * changes.h: ditto
8074         * lyxfunc.C: ditto
8075
8076 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8077
8078         * converter.[Ch]: split into itself +
8079         * graph.[Ch]
8080         * format.[Ch]
8081         * Makefile.am: += graph.[Ch] + format.[Ch]
8082         * MenuBackend.C
8083         * buffer.C
8084         * exporter.C
8085         * importer.C
8086         * lyx_main.C
8087         * lyxfunc.C
8088         * lyxrc.C: added #include "format.h"
8089
8090 2003-02-27  Angus Leeming  <leeming@lyx.org>
8091
8092         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8093           a label.
8094
8095         * factory.C (createInset): add "label" to the factory.
8096
8097         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8098           string and do no more.
8099
8100 2003-02-27  Angus Leeming  <leeming@lyx.org>
8101
8102         * commandtags.h:
8103         * LyXAction.C (init):
8104         * factory.C (createInset):
8105         * BufferView_pimpl.C (dispatch):
8106           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8107
8108         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8109
8110         * lyxfunc.C (dispatch):
8111         * text3.C (dispatch): pass name to params2string.
8112
8113 2003-02-26  Angus Leeming  <leeming@lyx.org>
8114
8115         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8116           blocks together.
8117           Rearrange the ~includes. Strip out the unnecessary ones.
8118
8119         * factory.C (createInset): reformat.
8120           create new insets for the various LFUN_XYZ_APPLY lfuns.
8121
8122 2003-02-26  John Levon  <levon@movementarian.org>
8123
8124         * lyxrow.h:
8125         * lyxrow.C: add isParStart,isParEnd helpers
8126
8127         * paragraph.h: make isInserted/DeletedText take refs
8128
8129         * paragraph_funcs.h:
8130         * paragraph_funcs.C: remove #if 0'd code
8131
8132         * lyxtext.h:
8133         * text3.C:
8134         * text2.C:
8135         * text.C: use lyxrow helpers above.
8136           Move draw and paint routines to RowPainter.
8137           Make several methods use refs not pointers.
8138           Make backgroundColor() const.
8139           Add markChangeInDraw(), isInInset().
8140           Merge changeRegionCase into changeCase.
8141           Make workWidth() shouldn't-happen code into an Assert.
8142
8143         * rowpainter.h:
8144         * rowpainter.C: new class for painting a row.
8145
8146         * vspace.h:
8147         * vspace.C: make inPixels take a ref
8148
8149 2003-02-26  Angus Leeming  <leeming@lyx.org>
8150
8151         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8152         LFUN_REF_APPLY.
8153
8154 2003-02-25  John Levon  <levon@movementarian.org>
8155
8156         * ispell.C: give the forked command a more accurate name
8157
8158 2003-02-22  John Levon  <levon@movementarian.org>
8159
8160         * toc.h:
8161         * toc.C: make TocItem store an id not a Paragraph *
8162           (bug #913)
8163
8164 2003-02-21  Angus Leeming  <leeming@lyx.org>
8165
8166         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8167           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8168           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8169           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8170           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8171           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8172
8173         * BufferView_pimpl.C (dispatch):
8174         * LyXAction.C (init):
8175         * factory.C (createInset):
8176         * lyxfunc.C (getStatus, dispatch):
8177         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8178
8179 2003-02-21  Angus Leeming  <leeming@lyx.org>
8180
8181         * BufferView_pimpl.C (MenuInsertLyXFile):
8182         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8183         * lyxfunc.C (menuNew, open, doImport):
8184           no longer pass a LyXView & to fileDlg.
8185
8186 2003-02-21  Angus Leeming  <leeming@lyx.org>
8187
8188         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8189         * LyXAction.C: change, BIBKEY to BIBITEM.
8190         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8191         Change InsetBibKey to InsetBibitem.
8192         Change BIBKEY_CODE to BIBITEM_CODE.
8193         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8194         * factory.C: replace insetbib.h with insetbibitem.h.
8195         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8196         * paragraph.C: replace insetbib.h with insetbibitem.h.
8197         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8198         Change bibkey() to bibitem().
8199         * text.C: remove insetbib.h.
8200         * text2.C: replace insetbib.h with insetbibitem.h.
8201         change bibkey() to bibitem().
8202         * text3.C: remove insetbib.h.
8203         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8204
8205 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8206
8207         * lyxrc.C (output): enclose user email in quotes (in case there are
8208         several words)
8209
8210 2003-02-18  John Levon  <levon@movementarian.org>
8211
8212         * buffer.h: add std::
8213
8214 2003-02-17  John Levon  <levon@movementarian.org>
8215
8216         * SpellBase.h:
8217         * ispell.h:
8218         * ispell.C:
8219         * pspell.h:
8220         * pspell.C: reworking. Especially in ispell, a large
8221           number of clean ups and bug fixes.
8222
8223         * lyxfunc.C: fix revert to behave sensibly
8224
8225 2003-02-17 André Pönitz <poenitz@gmx.net>
8226
8227         * LyXAction.C:
8228         * commandtags.h: new LFUN_INSERT_BIBKEY
8229
8230         * layout.h:
8231         * lyxlayout.C:
8232         * buffer.C:
8233         * factory.C:
8234         * text.C:
8235         * text2.C:
8236         * text3.C:
8237         * paragraph.[Ch]:
8238         * paragraph_func.C: remove special bibkey handling
8239
8240 2003-02-17  John Levon  <levon@movementarian.org>
8241
8242         * text.C (Delete): fix case where delete at the end of
8243           the very first paragraph would not merge the pars
8244
8245 2003-02-17  John Levon  <levon@movementarian.org>
8246
8247         * lyxrow.C: fix lastPrintablePos()
8248
8249 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * bufferparams.C (writeLaTeX): add a std:here
8252
8253         * buffer.C: and remove a using directive there
8254
8255 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8256
8257         * buffer.C (makeLaTeXFile): move the code that generates the
8258           preamble...
8259
8260         * bufferparams.C (writeLaTeX): ... in this new method
8261
8262         * LaTeXFeatures.C (getEncodingSet): make const
8263           (getLanguages): make const
8264
8265         * MenuBackend.C (binding): returns the binding associated to this
8266           action
8267           (add): sets the status of each item by calling getStatus. Adds
8268           some intelligence.
8269           (read): add support for OptSubMenu
8270           (expand): remove extra separator at the end of expanded menu
8271
8272 2003-02-15  John Levon  <levon@movementarian.org>
8273
8274         * BufferView.C:
8275         * BufferView_pimpl.C:
8276         * bufferlist.h:
8277         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8278           inset code that had no actual effect. Remove unneeded status
8279           code.
8280
8281 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8282
8283         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8284           in preamble
8285
8286 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8287
8288         * text.C (drawLengthMarker): also draw an arrow marker for
8289           symbolic lengths (medskip...)
8290
8291 2003-02-14  John Levon  <levon@movementarian.org>
8292
8293         * tabular.h:
8294         * tabular.C: better method names
8295
8296 2003-02-14  John Levon  <levon@movementarian.org>
8297
8298         * BufferView_pimpl.C:
8299         * bufferlist.C:
8300         * buffer.C:
8301         * converter.C:
8302         * lyx_cb.C:
8303         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8304           it's a more accurate name. Remove some pointless uses.
8305
8306 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8307
8308         * text2.C (LyXText): change order of initilizers to shut off
8309           warnings
8310
8311 2003-02-14  John Levon  <levon@movementarian.org>
8312
8313         * buffer.C: use ParIterator for getParFromID()
8314
8315         * paragraph.h:
8316         * paragraph.C:
8317         * paragraph_pimpl.h:
8318         * paragraph_pimpl.C: remove unused getParFromID()
8319
8320 2003-02-14  John Levon  <levon@movementarian.org>
8321
8322         * buffer.C: remove some very old #if 0'd parse code
8323
8324 2003-02-13  John Levon  <levon@movementarian.org>
8325
8326         * text.h:
8327         * text.C:
8328         * text2.C: move hfillExpansion(), numberOfSeparators(),
8329           rowLast(), rowLastPrintable(), numberofHfills(),
8330           numberOfLabelHfills() ...
8331
8332         * lyxrow.h:
8333         * lyxrow.C: ... to member functions here.
8334
8335         * paragraph.h:
8336         * paragraph.C:
8337         * lyxtext.h:
8338         * text.C: remove LyXText::beginningOfMainBody(), and call
8339           p->beginningOfMainBody() directly. Move the check for
8340           LABEL_MANUAL into the latter.
8341
8342         * text.h:
8343         * text.C:
8344         * text2.C:
8345         * vspace.C:
8346         * BufferView.h:
8347         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8348
8349         * text.h:
8350         * text.C:
8351         * text2.C:
8352         * text3.C:
8353         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8354           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8355
8356 2003-02-13  John Levon  <levon@movementarian.org>
8357
8358         * CutAndPaste.C: remove debug
8359
8360 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8361
8362         * paragraph.C (asString): remove two unused variables
8363
8364         * lyxtextclass.C (readTitleType):
8365           (Read):
8366           (LyXTextClass): handle new members titletype_ and titlename_
8367
8368         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8369
8370 2003-02-09  John Levon  <levon@movementarian.org>
8371
8372         * buffer.h:
8373         * buffer.C: replace hand-coded list with a map for the dep clean
8374
8375 2003-02-08  John Levon  <levon@movementarian.org>
8376
8377         * LaTeX.C: consolidate code into showRunMessage() helper
8378
8379 2003-02-08  John Levon  <levon@movementarian.org>
8380
8381         * lyxfind.C:
8382         * lyxtext.h:
8383         * text2.C:
8384         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8385           and pass the size in explicitly
8386
8387         * BufferView_pimpl.h:
8388         * BufferView_pimpl.C:
8389         * BufferView.h:
8390         * BufferView.C: add getCurrentChange()
8391
8392         * BufferView_pimpl.h:
8393         * BufferView_pimpl.C: handle change lfuns
8394
8395         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8396           for changes. Mark pasted paragraphs as new.
8397
8398         * support/lyxtime.h:
8399         * support/lyxtime.C:
8400         * DepTable.C: abstract time_t as lyx::time_type
8401
8402         * LColor.h:
8403         * LColor.C: add colours for new text, deleted text, changebars
8404
8405         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8406           package use "usenames" option.
8407
8408         * commandtags.h:
8409         * lyxfunc.C:
8410         * LyXAction.C: add change lfuns
8411
8412         * Makefile.am:
8413         * author.h:
8414         * author.C: author handling
8415
8416         * buffer.h:
8417         * buffer.C: add a per-buffer author list, with first entry as
8418           current author. Handle new .lyx tokens for change tracking. Output
8419           author list to .lyx file. Output dvipost stuff to .tex preamble.
8420           Bump lyx format to 222.
8421
8422         * bufferlist.h:
8423         * bufferlist.C: add setCurrentAuthor() to reset current author details
8424           in all buffers.
8425
8426         * bufferparams.h:
8427         * bufferparams.C: add param for tracking
8428
8429         * bufferview_funcs.C: output change info in minibuffer
8430
8431         * Makefile.am:
8432         * changes.h:
8433         * changes.C: add change-tracking structure
8434
8435         * debug.h:
8436         * debug.C: add CHANGES debug flag
8437
8438         * lyxfind.h:
8439         * lyxfind.C: add code for finding the next change piece
8440
8441         * lyxrc.h:
8442         * lyxrc.C: add user_name and user_email
8443
8444         * lyxrow.h:
8445         * lyxrow.C: add a metric for the top of the text line
8446
8447         * lyxtext.h:
8448         * text.C: implement accept/rejectChange()
8449
8450         * lyxtext.h:
8451         * text.C: paint changebars. Paint new/deleted text in the chosen
8452         colours. Strike through deleted text.
8453
8454         * paragraph.h:
8455         * paragraph.C:
8456         * paragraph_pimpl.h:
8457         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8458           in the current change to the insert functions. Rework erase to
8459           mark text as deleted, adding an eraseIntern() and a range-based
8460           erase(). Implement per-paragraph change lookup and
8461           accept/reject.
8462
8463         * paragraph_funcs.C: Fixup paste for change tracking.
8464
8465         * tabular.C: mark added row/columns as new.
8466
8467         * text.C: fix rowLast() to never return -1. Don't allow
8468           spellchecking of deleted text. Track transpose changes. Don't
8469           allow paragraph break or merge where appropriate.
8470
8471         * text2.C: leave cursor at end of selection after a cut.
8472
8473 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8474
8475         * text.C (getLengthMarkerHeight):
8476         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8477         visible on screen too.
8478
8479 2003-02-07  John Levon  <levon@movementarian.org>
8480
8481         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8482
8483 2003-02-05  Angus Leeming  <leeming@lyx.org>
8484
8485         * lyxserver.C (read_ready): revert my patch of 11 September last year
8486         as it sends PC cpu through the roof. Presumably this means that
8487         the lyxserver will no longer run on an Alpha...
8488
8489 2003-01-30  Angus Leeming  <leeming@lyx.org>
8490
8491         * factory.C (createInset): create an InsetCommandParam of type "index"
8492         and use it to 'do the right thing'.
8493
8494         * text2.C (getStringToIndex): ensure that cursor position is always
8495         reset to the reset_cursor position.
8496
8497 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8498
8499         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8500         disabled.
8501
8502 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8503
8504         * bufferview.C:
8505         * lyxcb.C:
8506         * lyxfunc.C: Output messages with identical spelling, punctuation,
8507         and spaces
8508
8509 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8510
8511         * MenuBackend.C (expandFormats): List only viewable export formats
8512         in "View" menu
8513
8514         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8515         message
8516
8517         * lyxfunc.C (getStatus): Make sure that formats other than
8518         "fax" can also be disabled
8519
8520 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8521
8522         * text3.C (dispatch): put the lfuns that insert insets in 3
8523         groups, and call doInsertInset with appropriate arguments.
8524         (doInsertInset): new function, that creates an inset and inserts
8525         it according to some boolean parameters.
8526
8527 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8528
8529         * buffer.C (readFile): remember to pass on 'par' when calling
8530         readFile recursively.
8531
8532 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8533
8534         * MenuBackend.C (expandFormats): add "..." to import formats.
8535
8536 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * paragraph.C (asString): Remove XForms RTL hacks.
8539
8540 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8541         * buffer.C: fix typo
8542
8543 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * Makefile.am (LIBS): delete var
8546         (lyx_LDADD): add @LIBS@ here instead.
8547
8548 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8549
8550         * Clarify the meaning of "wheel mouse jump"
8551
8552 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8553
8554         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8555         tabular in a float
8556
8557 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8558
8559         * importer.C (Loaders): do not preallocate 3 elements in the
8560         vector, since one ends up with 6 elements otherwise
8561
8562 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8563
8564         * DepTable.C (write): write the file name as last element of the
8565         .dep file (because it may contain spaces)
8566         (read): read info in the right order
8567
8568 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8569
8570         * paragraph_pimpl.C (simpleTeXBlanks):
8571         (simpleTeXSpecialChars):
8572         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8573
8574         * tabular.C (latex): add some missing case statements. Reindent.
8575
8576         * MenuBackend.C (expandToc): remove unused variable.
8577
8578 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8579
8580         * LColor.C:
8581         * LaTeX.C:
8582         * LyXAction.C:
8583         * MenuBackend.C:
8584         * buffer.C:
8585         * exporter.C:
8586         * lyxfunc.C:
8587         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8588         and the like.
8589
8590 2003-01-05  John Levon  <levon@movementarian.org>
8591
8592         * BufferView.h:
8593         * BufferView.C: add getEncoding()
8594
8595         * kbsequence.h:
8596         * kbsequence.C: do not store last keypress
8597
8598         * lyxfunc.h:
8599         * lyxfunc.C: store last keypress here instead. Pass encoding
8600           to getISOEncoded()
8601
8602 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8603
8604         * lyx_main.C (init): remove annoying error message when following
8605         symbolic links (bug #780)
8606
8607 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8608
8609         * text.C (insertChar):
8610         * lyxrc.C (getDescription): remove extra spaces
8611
8612 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8613
8614         * lyxrc.C (getDescription): remove extra spaces
8615
8616 2002-12-20  John Levon  <levon@movementarian.org>
8617
8618         * text3.C: hack fix for page up/down across tall rows
8619
8620 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8621
8622         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8623         not been invoked
8624
8625 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8626
8627         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8628         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8629         thesaurus is not compiled in
8630
8631 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8632
8633         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8634
8635 2002-12-16  Angus Leeming  <leeming@lyx.org>
8636
8637         * lyxrc.[Ch]:
8638         * lyx_main.C (init): remove override_x_deadkeys stuff.
8639
8640 2002-12-12  John Levon  <levon@movementarian.org>
8641
8642         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8643           insert. Only remove shift modifier under strict
8644           circumstances.
8645
8646 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * MenuBackend.C (expandToc): fix crash.
8649
8650 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8651
8652         * MenuBackend.C (expandToc): gettext on float names.
8653
8654 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8655
8656         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8657         implement bool empty() [bug 490]
8658
8659 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8662
8663 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * several files: ws changes
8666
8667 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * text2.C (setCounter): clean up a bit, use boost.format.
8670         (updateCounters): initialize par upon declaration.
8671
8672         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8673         if the layout exists. We do not just store the layout any more.
8674         (SwitchLayoutsBetweenClasses): use boost.format
8675
8676 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8677
8678         * converter.C (convert): if from and to files are the same, use a
8679         temporary files as intermediary
8680
8681 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8682
8683         * commandtags.h:
8684         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8685
8686 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8687
8688         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8689
8690 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * tabular.C (asciiPrintCell): use string(size, char) instead of
8693         explicit loop.
8694
8695         * sgml.C (openTag): fix order of arguments to string constructor
8696         (closeTag): ditto
8697
8698         * lyxfunc.C (dispatch): use boost.format
8699
8700         * lots of files: change "c" -> 'c'
8701
8702 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8703
8704         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8705
8706 2002-11-25  Angus Leeming  <leeming@lyx.org>
8707
8708         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8709
8710         * lyx_main.C (init): compile fix.
8711
8712 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8713
8714         * lyx_cb.C (start): boost.formatify
8715         do not include <iostream>
8716
8717         * lengthcommon.C: ws only
8718
8719         * boost-inst.C,BoostFormat.h: add more explict instantations
8720
8721 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8722
8723         * lots of files: handle USE_BOOST_FORMAT
8724
8725 2002-11-21  John Levon  <levon@movementarian.org>
8726
8727         * pspell.C: fix compile
8728
8729 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8730
8731         * lyxfunc.C (dispatch): use boost::format
8732         (open): ditto
8733         (doImport): ditto
8734
8735         * lyxfont.C (stateText): use boost::format
8736
8737         * lyx_main.C (LyX): use boost::format
8738         (init): ditto
8739         (queryUserLyXDir): ditto
8740         (readRcFile): ditto
8741         (parse_dbg): ditto
8742         (typedef boost::function): use the recommened syntax.
8743
8744         * importer.C (Import): use boost::format
8745
8746         * debug.C (showLevel): use boost::format
8747
8748         * converter.C (view): use boost::format
8749         (convert): ditto
8750         (move): ditto
8751         (scanLog): ditto
8752
8753         * bufferview_funcs.C (currentState): use boost::format
8754
8755         * bufferlist.C (emergencyWrite): use boost::format
8756
8757         * buffer.C (readLyXformat2): use boost::format
8758         (parseSingleLyXformat2Token): ditto
8759
8760         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8761
8762         * LaTeX.C (run): use boost::format
8763
8764         * Chktex.C (scanLogFile): use boost::format
8765
8766         * BufferView_pimpl.C (savePosition): use boost::format
8767         (restorePosition): ditto
8768         (MenuInsertLyXFile): ditto
8769
8770         * BoostFormat.h: help file for explicit instation.
8771
8772 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8773
8774         * tabular.C (latex): Support for block alignment in fixed width
8775         columns.
8776
8777 2002-11-17  John Levon  <levon@movementarian.org>
8778
8779         * BufferView_pimpl.C:
8780         * lyx_cb.C:
8781         * lyxfunc.C: split filedialog into open/save
8782
8783 2002-11-08  Juergen Vigna  <jug@sad.it>
8784
8785         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8786         by my last patch (hopefully).
8787
8788 2002-11-08  John Levon  <levon@movementarian.org>
8789
8790         * iterators.h:
8791         * iterators.C:
8792         * buffer.h:
8793         * buffer.C:
8794         * paragraph.h:
8795         * paragraph.C:
8796         * toc.h:
8797         * toc.C: ParConstIterator, and use it (from Lars)
8798
8799 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8800
8801         * lyxtextclass.[Ch]: revise and add doxygen comments
8802
8803 2002-11-07  John Levon  <levon@movementarian.org>
8804
8805         * text.C: fix progress value for spellchecker
8806
8807         * toc.C: fix navigate menu for insetwrap inside minipage
8808
8809         * paragraph_funcs.C: added FIXME for suspect code
8810
8811 2002-11-07  John Levon  <levon@movementarian.org>
8812
8813         * BufferView_pimpl.C: fix redrawing of insets
8814           on buffer switch
8815
8816 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8817
8818         * text2.C (updateCounters): fix bug 668
8819
8820 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8821
8822         * text3.C (dispatch): Do not make the buffer dirty when moving the
8823         cursor.
8824
8825 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * vc-backend.C: STRCONV
8828         (scanMaster): ditto
8829
8830         * text2.C (setCounter): STRCONV
8831
8832         * paragraph.C (asString): STRCONV
8833
8834         * lyxlength.C (asString): STRCONV
8835         (asLatexString): ditto
8836
8837         * lyxgluelength.C (asString): STRCONV
8838         (asLatexString): ditto
8839
8840         * lyxfunc.C (dispatch): STRCONV
8841         (open): ditto
8842
8843         * lyxfont.C (stateText): STRCONV
8844
8845         * importer.C (Import): STRCONV
8846
8847         * counters.C (labelItem): STRCONV
8848         (numberLabel): ditto
8849         (numberLabel): remove unused ostringstream o
8850
8851         * chset.C: STRCONV
8852         (loadFile): ditto
8853
8854         * bufferview_funcs.C (currentState): STRCONV
8855
8856         * buffer.C (readFile): STRCONV
8857         (asciiParagraph): ditto
8858         (makeLaTeXFile): ditto
8859
8860         * Spacing.C (writeEnvirBegin): STRCONV
8861
8862         * LaTeXFeatures.C (getLanguages): STRCONV
8863         (getPackages): ditto
8864         (getMacros): ditto
8865         (getBabelOptions): ditto
8866         (getTClassPreamble): ditto
8867         (getLyXSGMLEntities): ditto
8868         (getIncludedFiles): ditto
8869
8870         * LaTeX.C: STRCONV
8871         (run): ditto
8872         (scanAuxFile): ditto
8873         (deplog): ditto
8874
8875         * LString.h: add the STRCONV macros
8876
8877         * BufferView_pimpl.C (savePosition): STRCONV
8878         (restorePosition): ditto
8879         (MenuInsertLyXFile): ditto
8880
8881         * vc-backend.C (scanMaster): change from submatch[...] to
8882         submatch.str(...)
8883
8884         * funcrequest.C: include config.h
8885
8886         * factory.C: include config.h
8887
8888         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8889
8890         * box.C: include config.h
8891
8892         * LaTeX.C (scanAuxFile): change from submatch[...] to
8893         submatch.str(...)
8894         (deplog): ditto
8895
8896 2002-10-25  Angus Leeming  <leeming@lyx.org>
8897
8898         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8899
8900         * ispell.[Ch] (setError): new method.
8901         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8902         Use setError() insetead of goto END.
8903
8904         * lyx_cb.C (AutoSave): move out child process into new class
8905         AutoSaveBuffer.
8906
8907 2002-10-30  John Levon  <levon@movementarian.org>
8908
8909         * text3.C: make start appendix undoable
8910
8911 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8912
8913         * lyxlength.C (inPixels): Fix returned value.
8914
8915         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8916         environment.
8917
8918 2002-10-24  Angus Leeming  <leeming@lyx.org>
8919
8920         * lyxgluelength.h: no need to forward declare BufferParams
8921         or BufferView, so don't.
8922
8923 2002-10-21  John Levon  <levon@movementarian.org>
8924
8925         * BufferView.C: menuUndo ->undo, redo
8926
8927         * BufferView.h: document, remove dead, make some methods private
8928
8929         * paragraph_funcs.h:
8930         * paragraph_funcs.C:
8931         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8932
8933         * buffer.h:
8934         * buffer.C:
8935         * sgml.h:
8936         * sgml.C: move sgml open/close tag into sgml.C
8937
8938         * bufferview_funcs.h: unused prototype
8939
8940         * lyxfunc.h:
8941         * lyxfunc.C: remove unused
8942
8943         * lyxtext.h:
8944         * text.C: remove unused
8945
8946 2002-10-21  John Levon  <levon@movementarian.org>
8947
8948         * BufferView.h:
8949         * BufferView.C:
8950         * BufferView_pimpl.h:
8951         * BufferView_pimpl.C: fix mouse wheel handling based on
8952           patch from Darren Freeman
8953
8954 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8955
8956         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8957
8958 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8959
8960         * lyxlength.C (inPixels): Fix hanfling of negative length.
8961         Fix LyXLength::MU case.
8962
8963 2002-10-16  John Levon  <levon@movementarian.org>
8964
8965         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8966
8967 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8968
8969         * converter.C (view): add support for $$i (file name) and $$p
8970         (file path) for the viewer command. If $$i is not specified, then
8971         it is appended to the command (for compatibility with old syntax)
8972
8973 2002-10-14  Juergen Vigna  <jug@sad.it>
8974
8975         * undo_funcs.C (textHandleUndo): alter the order in which the
8976         new undopar is added to the LyXText, as we have to set first
8977         the right prev/next and then add it as otherwise the rebuild of
8978         LyXText is not correct. Also reset the cursor to the right paragraph,
8979         with this IMO we could remove the hack in "redoParagraphs()".
8980
8981 2002-10-09  Angus Leeming  <leeming@lyx.org>
8982
8983         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8984         to turn off an optimisation if a new inset is to be inserted.
8985
8986 2002-10-11 André Pönitz <poenitz@gmx.net>
8987
8988         * lyxtext.h: make some functions public to allow access
8989         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8990
8991 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8992
8993         * text3.C (dispatch): when changing layout, avoid an infinite loop
8994         [bug #652]
8995
8996 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8997
8998         * lyxrc.C (read): treat a viewer or converter command of "none" as
8999         if it were empty.
9000
9001         * MenuBackend.C (expandFormats): for an update, also allow the
9002         formats that are not viewable
9003
9004         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9005         script if it is newer than the lyxrc.defaults in user directory
9006
9007 2002-10-07 André Pönitz <poenitz@gmx.net>
9008
9009         * text.C: Vitaly Lipatov's small i18n fix
9010
9011 2002-09-25  Angus Leeming  <leeming@lyx.org>
9012
9013         * ispell.h: doxygen fix.
9014
9015 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9016
9017         * buffer.h (readFile): Add a new argument to the method, to allow
9018         reading of old-format templates.
9019
9020 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9021
9022         * toc.C (getTocList): Get TOC from InsetWrap.
9023
9024 2002-09-16  John Levon  <levon@movementarian.org>
9025
9026         * lyxfunc.C: check tabular for cut/copy too
9027
9028 2002-09-12  John Levon  <levon@movementarian.org>
9029
9030         * LyXAction.C: tidy
9031
9032         * factory.h:
9033         * factory.C: add header
9034
9035         * paragraph_funcs.h:
9036         * paragraph_funcs.C: cleanup
9037
9038 2002-09-11  John Levon  <levon@movementarian.org>
9039
9040         * PrinterParams.h: odd/even default to true
9041
9042 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9043
9044         * PrinterParams.h: update printer parameters for new xforms dialog
9045
9046 2002-09-11  Angus Leeming  <leeming@lyx.org>
9047
9048         * lyxserver.C (read_ready): re-write to make it more transparent
9049         and to make it work in coherent fashion under Tru64 Unix.
9050
9051 2002-09-11  André Pönitz <poenitz@gmx.net>
9052
9053         * commandtags.h:
9054         * LyXAction.C:
9055         * text3.C: implement LFUN_WORDSEL
9056
9057 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9058
9059         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9060         make floatlist_ a boost::shared_ptr<FloatList>
9061
9062         * lyxtextclass.C: include FloatList.h
9063         (LyXTextClass): initialize floatlist_
9064         (TextClassTags): add TC_NOFLOAT
9065         (Read): match "nofloat" to TC_NOFLOAT and use it.
9066         (readFloat): modify call to floatlist_
9067         (floats): ditto
9068         (floats): ditto
9069
9070         * FloatList.[Ch] (FloatList): remove commented out float
9071         initialization.
9072         (erase): new function
9073
9074 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9075
9076         * MenuBackend.C (expandToc): fix crash when there is no document
9077         open
9078
9079 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * many files: Add insetwrap.
9082
9083 2002-09-09  John Levon  <levon@movementarian.org>
9084
9085         * text2.C: remove confusing and awkward depth wraparound
9086
9087 2002-09-09  John Levon  <levon@movementarian.org>
9088
9089         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9090
9091         * buffer.h:
9092         * buffer.C: remove getIncludeonlyList()
9093
9094         * paragraph.C:
9095         * lyxfunc.C: remove headers
9096
9097 2002-09-09  Juergen Vigna  <jug@sad.it>
9098
9099         * text.C (getColumnNearX): fix form Michael this is most
9100         probably a cut&paste bug.
9101
9102 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9105
9106         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9107         references, ws changes.
9108
9109         * text2.C (init): update counters after init
9110         (insertParagraph): no need to set counter on idividual paragraphs.
9111         (setCounter): access the counters object in the textclass object
9112         on in the buffer object.
9113         (updateCounters): ditto
9114
9115         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9116         shared_ptr<Counters> to avoid loading counters.h in all
9117         compilation units.
9118         (LyXTextClass): initialize ctrs_
9119         (TextClassTags): add TC_COUNTER, and ...
9120         (Read): use it here.
9121         (CounterTags): new tags
9122         (readCounter): new function
9123         (counters): new funtion
9124         (defaultLayoutName): return a const reference
9125
9126         * counters.C (Counters): remove contructor
9127         (newCounter): remove a couple of unneeded statements.
9128         (newCounter): simplify a bit.
9129         (numberLabel): some small formatting changes.
9130
9131         * buffer.[Ch]: remove all traces of counters, move the Counters
9132         object to the LyXTextClass.
9133
9134 2002-09-06  Alain Castera  <castera@in2p3.fr>
9135
9136         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9137         package to set the horizontal alignment on fixed width columns.
9138
9139         * lyx_sty.C:
9140         * lyx_sty.h: added tabularnewline macro def.
9141
9142         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9143
9144 2002-09-06  John Levon  <levon@movementarian.org>
9145
9146         * LyXAction.C: tooltips for sub/superscript
9147
9148         * MenuBackend.C: a bit more verbose
9149
9150         * lyxfunc.C: tiny clean
9151
9152         * undo_funcs.C: document undo_frozen
9153
9154 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9155
9156         * counters.C (Counters): add missing algorithm counter.
9157
9158         * text2.C (setCounter): lookup the counter with layouts latexname
9159         instead of by section number.
9160         (setCounter): use a hackish way to lookup the correct enum
9161         counter.
9162         a float name->type change
9163         reset enum couners with counter name directly instead of depth value.
9164
9165         * counters.C (Counters): remove the push_backs, change to use the
9166         float type not the float name.
9167         (labelItem): remove unused string, float name->type change
9168
9169         * counters.h: don't include vector, loose the enums and sects vectors
9170
9171 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9172
9173         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9174         (Read): add float->TC_FLOAT to textclassTags
9175         (Read): and handle it in the switch
9176         (readFloat): new function
9177
9178         * FloatList.C (FloatList): comment out the hardcoded float
9179         definitions.
9180
9181         * lyxlayout.h: ws change.
9182
9183 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9184
9185         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9186
9187 2002-09-03  Angus Leeming  <leeming@lyx.org>
9188
9189         * BufferView_pimpl.h: qualified name is not allowed in member
9190         declaration: WorkArea & Pimpl::workarea() const;
9191
9192         * factory.C: added using std::endl directive.
9193
9194         * text3.C: added using std::find and std::vector directives.
9195
9196 2002-08-29  André Pönitz <poenitz@gmx.net>
9197
9198         * lyxtext.h:
9199         * text2.C: remove unused member number_of_rows
9200
9201         * Makefile.am:
9202         * BufferView2.C: remove file, move contents to...
9203         * BufferView.C: ... here
9204
9205         * BufferView_pimpl.C:
9206         * factory.C: move more inset creation to factory
9207
9208         * vspace.C: avoid direct usage of LyXText, ws changes
9209
9210         * BufferView.[Ch]:
9211                 don't provide direct access to WorkArea, use two simple
9212                 acessors haveSelction() and workHeight() instead
9213
9214
9215 2002-08-29  John Levon  <levon@movementarian.org>
9216
9217         * BufferView_pimpl.C (dispatch): do not continue when
9218           no buffer
9219
9220 2002-08-28  André Pönitz <poenitz@gmx.net>
9221
9222         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9223
9224         * BufferView.h:
9225         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9226
9227 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9228
9229         * buffer.C: increment LYX_FORMAT to 221
9230
9231         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9232         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9233
9234         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9235
9236         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9237
9238 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9239
9240         * factory.C (createInset): use LyXTextClass::floats
9241
9242         * MenuBackend.C (expandFloatListInsert):
9243         (expandFloatInsert):
9244         (expandToc):
9245
9246         * text2.C (setCounter):
9247
9248         * LaTeXFeatures.C (useFloat):
9249         (getFloatDefinitions):
9250
9251         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9252
9253         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9254         floatlist_, with accessor floats().
9255
9256         * FloatList.h: remove global FloatList
9257
9258 2002-08-26  André Pönitz <poenitz@gmx.net>
9259
9260         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9261
9262         * BufferView.h:
9263         * BufferView2.C:
9264         * BufferView_pimpl.C:
9265         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9266
9267 2002-08-25  John Levon  <levon@movementarian.org>
9268
9269         * LyXAction.C: fix margin note description
9270
9271 2002-08-24  John Levon  <levon@movementarian.org>
9272
9273         * buffer.C:
9274         * bufferlist.C:
9275         * bufferview_funcs.C:
9276         * lyxfont.C:
9277         * undo_funcs.C: cleanups
9278
9279         * lyxfunc.C: disable CUT/COPY when no selection
9280
9281 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9282
9283         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9284         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9285
9286         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9287         Add backward compatibility to "mono", "gray" and "no".
9288
9289 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9290
9291         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9292         (and file_format >= 200).
9293
9294 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9297
9298 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9301
9302 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9303
9304         * BufferView_pimpl.C:
9305         * LyXAction.C:
9306         * buffer.C:
9307         * commandtags.h:
9308         * lyxfunc.C:
9309         * paragraph.[Ch]:
9310         * text2.C:
9311         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9312         inset and code to make it  work with the paragraph code. The inset
9313         can be anywhere in the paragraph, but will only do the expected
9314         thing in LaTeX if the layout file contains the parameter line
9315                         OptionalArgs    1
9316         (or more generally, a nonzero value) for that layout.
9317
9318 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9319
9320         * paragraph.h: remove the declaration of undefined counters class
9321         function.
9322
9323 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9324
9325         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9326         Dr. Richard Hawkins.
9327
9328 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9329
9330         * paragraph_funcs.h: remove some unneeded includes
9331
9332         * text.C (backspace): pasteParagraph now in global scipe
9333
9334         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9335         (pasteSelection): ditto
9336
9337         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9338         * paragraph_funcs.C (pasteParagraph): ... here
9339
9340 2002-08-20  André Pönitz <poenitz@gmx.net>
9341
9342         * commandtags.h: new LFUNs for swapping/copying table row/colums
9343
9344         * LyXAction.C:
9345         * lyxfunc.C: support for new lfuns
9346
9347 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9348
9349         * tabular.C:
9350         * buffer.[Ch]: remove NO_COMPABILITY stuff
9351
9352 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * boost.C (throw_exception): new file, with helper function for
9355         boost compiled without exceptions.
9356
9357         * paragraph.h:
9358         * lyxlength.C:
9359         * buffer.C:
9360         * ParameterStruct.h:
9361         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9362
9363         * bufferlist.C (emergencyWriteAll): use boost bind
9364
9365         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9366
9367         * text.C: include paragraph_funcs.h
9368         (breakParagraph): breakParagraph is now in global scope
9369
9370         * paragraph_funcs.[Ch]: new files
9371
9372         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9373         global scope
9374
9375         * buffer.C: include paragraph_funcs.h
9376         (insertStringAsLines): breakParagraph is now in global scope
9377
9378         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9379         paragraph_funcs.C
9380
9381         * CutAndPaste.C: include paragraph_funcs.h
9382         (cutSelection): breakParagraphConservative is now in global scope
9383         (pasteSelection): ditto
9384
9385         * buffer.h: declare oprator== and operator!= for
9386         Buffer::inset_iterator
9387
9388         * bufferlist.C (emergencyWrite): don't use fmt(...)
9389
9390         * text3.C: add using std::endl
9391
9392         * BufferView.C (moveCursorUpdate): remove default arg
9393
9394 2002-08-20  André Pönitz <poenitz@gmx.net>
9395
9396         * buffer.[Ch]: move inline functions to .C
9397
9398         * BufferView2.C:
9399         * BufferView_pimpl.C:
9400         * text.C:
9401         * buffer.[Ch]: use improved inset_iterator
9402
9403         * buffer.C:
9404         * paragraph.[Ch]: write one paragraph at a time
9405
9406 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9407
9408         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9409         style if style is not specified.
9410
9411 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9412
9413         * text2.C (setCounter): when searching for right label for a
9414         caption, make sure to recurse to parent insets (so that a caption
9415         in a minipage in a figure float works) (bug #568)
9416
9417 2002-08-20  André Pönitz <poenitz@gmx.net>
9418
9419         * text3.C: new file for LyXText::dispatch() and helpers
9420
9421         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9422
9423         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9424
9425 2002-08-19  André Pönitz <poenitz@gmx.net>
9426
9427         * lyxtext.h:
9428         * text.C: new LyXText::dispatch()
9429
9430         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9431
9432 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9435
9436         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9437         Hebrew text.
9438
9439 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * Makefile.am: use $(variables) instead of @substitutions@
9442
9443 2002-08-15  André Pönitz <poenitz@gmx.net>
9444
9445         * lyxfunc.C:
9446         * BufferView_pimpl.C: streamlining mathed <-> outer world
9447         interaction
9448
9449         * commandtags.h:
9450         * LyXAction.C: remove unused LFUN_MATH
9451
9452 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9453
9454         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9455
9456 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9457
9458         * paragraph.C (Paragraph): reformat a bit
9459         (cutIntoMinibuffer): use builtin InsetList function instad of
9460         doing it manually.
9461         (getInset): ditto
9462
9463         * buffer.C: include boost/bind.hpp, add using std::for_each
9464         (writeFileAscii): use ParagraphList iterators
9465         (validate): use for_each for validate traversal of paragraphs
9466         (getBibkeyList): use ParagraphList iterators
9467         (resizeInsets): use for_each to resizeInsetsLyXText for all
9468         paragraphs.
9469         (getParFromID): use ParagraphList iterators
9470
9471         * BufferView2.C (lockInset): use paragraph list and iterators
9472
9473 2002-08-14  John Levon  <levon@movementarian.org>
9474
9475         * lyxserver.C: remove spurious xforms include
9476
9477 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9480
9481 2002-08-13  André Pönitz <poenitz@gmx.net>
9482
9483         * LyXAction.[Ch]:
9484         * lyxfunc.C: further cleaning
9485
9486 2002-08-13  André Pönitz <poenitz@gmx.net>
9487
9488         * funcrequest.h: new constructor
9489
9490         * funcrequest.C: move stuff here from .h
9491
9492         * Makefile.am:
9493         * BufferView_pimpl.C:
9494         * LyXAction.C:
9495         * toc.C:
9496         * lyxfunc.C: subsequent changes
9497
9498         * lyxfunc.h: new view() member function
9499
9500         * lyxfunc.C: subsequent changes
9501
9502 2002-08-13  Angus Leeming  <leeming@lyx.org>
9503
9504         * BufferView2.C:
9505         * BufferView_pimpl.C:
9506         * buffer.C:
9507         * converter.C:
9508         * importer.C:
9509         * lyxfunc.C:
9510         * lyxvc.C:
9511         * toc.C:
9512         * vc-backend.C:
9513         changes due to the changed LyXView interface that now returns references
9514         to member variables not pointers.
9515
9516 2002-08-13  Angus Leeming  <leeming@lyx.org>
9517
9518         * WordLangTuple (word, lang_code): return references to strings,
9519         not strings.
9520
9521         * BufferView.h:
9522         * SpellBase.h:
9523         * lyxtext.h: forward-declare WordLangTuple.
9524
9525         * BufferView2.C:
9526         * ispell.C:
9527         * pspell.C:
9528         * text.C: #include "WordLangTuple.h".
9529
9530         * lyxtext.h:
9531         * text.C: (selectNextWordToSpellcheck): constify return type.
9532
9533 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9534
9535         * buffer.C:
9536         * buffer.h:
9537         * lyxtext.h:
9538         * paragraph.C:
9539         * paragraph_pimpl.h:
9540         * text.C:
9541         * text2.C:
9542         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9543         suggested by Angus.
9544         Made updateCounter always count from start of buffer, and removed
9545         second argument (par).
9546         Reverted floats number display to '#'. Perhaps I'll try again when the
9547         code base is sanitized a bit.
9548
9549 2002-08-12  Angus Leeming  <leeming@lyx.org>
9550
9551         * buffer.[Ch] (getLabelList): constify.
9552
9553 2002-08-07  André Pönitz <poenitz@gmx.net>
9554
9555         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9556
9557         * funcrequest.h: extension to keep mouse (x,y) position
9558
9559 2002-08-12  Juergen Vigna  <jug@sad.it>
9560
9561         * BufferView2.C (insertErrors): forbid undo when inserting error
9562         insets.
9563
9564         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9565
9566 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * ParagraphList.[Ch]: new files
9569
9570         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9571
9572         * BufferView2.C (lockInset): ParagraphList changes
9573         * toc.C: ditto
9574         * text2.C: ditto
9575         * bufferlist.C: ditto
9576         * buffer.h: ditto
9577         * buffer.C: ditto
9578
9579 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9582         unused class variable counter_,
9583
9584         * paragraph.[Ch] (getFirstCounter): delete unused function
9585
9586         * counters.C: include LAssert.h
9587         (reset): add a new function with no arg, change other version to
9588         not have def. arg and to not allow empty arg.
9589
9590         * text2.C (setCounter): remove empty arg from call to Counters::reset
9591
9592 2002-08-11  John Levon  <levon@movementarian.org>
9593
9594         * Makefile.am: add WordLangTuple.h
9595
9596 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9597
9598         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9599         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9600
9601         * insets/insettext.C: InsetList changes
9602
9603         * graphics/GraphicsSupport.C (operator()): InsetList changes
9604
9605         * toc.C (getTocList): InsetList changes
9606
9607         * paragraph_pimpl.[Ch]: InsetList changes
9608
9609         * paragraph.[Ch]: InsetList changes
9610
9611         * buffer.C (inset_iterator): InsetList changes
9612         (setParagraph): ditto
9613         * buffer.h (inset_iterator): ditto
9614         * iterators.C (operator++): ditto
9615         * iterators.h: ditto
9616
9617         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9618
9619         * InsetList.[Ch]: new files, most InsetList handling moved out of
9620         paragraph.C.
9621
9622         * BufferView2.C (removeAutoInsets): InsetList changes
9623         (lockInset): ditto
9624         (ChangeInsets): ditto
9625
9626 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9627
9628         * paragraph_pimpl.h (empty): new function
9629
9630         * paragraph.[Ch] (empty): new function
9631
9632         * other files: use the new Paragraph::empty function
9633
9634 2002-08-09  John Levon  <levon@movementarian.org>
9635
9636         * lyxtext.h: remove unused refresh_height
9637
9638 2002-08-09  John Levon  <levon@movementarian.org>
9639
9640         * Makefile.am:
9641         * sgml.h:
9642         * sgml.C:
9643         * buffer.C:
9644         * paragraph.h:
9645         * paragraph.C: move sgml char escaping out of paragraph
9646
9647         * paragraph.h:
9648         * paragraph.C: remove id setter
9649
9650         * buffer.C:
9651         * paragraph.C:
9652         * paragraph_pimpl.C: remove dead tex_code_break_column
9653
9654         * bufferview_funcs.C: small cleanup
9655
9656         * lyxfunc.C: remove dead proto
9657
9658         * lyxtext.h: make some stuff private. Remove some dead stuff.
9659
9660         * lyxgluelength.C: make as[LyX]String() readable
9661
9662 2002-08-08  John Levon  <levon@movementarian.org>
9663
9664         * LyXAction.h:
9665         * LyXAction.C:
9666         * MenuBackend.C:
9667         * ToolbarDefaults.C:
9668         * lyxfunc.C:
9669         * lyxrc.C:
9670         * toc.C: lyxaction cleanup
9671
9672 2002-08-08  John Levon  <levon@movementarian.org>
9673
9674         * BufferView2.C: small cleanup
9675
9676         * lyxfind.h:
9677         * lyxfind.C: move unnecessary header into the .C
9678
9679 2002-08-08  John Levon  <levon@movementarian.org>
9680
9681         * funcrequest.h: just tedious nonsense
9682
9683         * lyx_main.h:
9684         * lyx_main.C: cleanups
9685
9686         * buffer.C:
9687         * vspace.C: remove dead header lyx_main.h
9688
9689 2002-08-07  Angus Leeming  <leeming@lyx.org>
9690
9691         * Paragraph.[Ch]:
9692         * paragraph_pimpl.h:
9693         Forward declare class Counters in paragraph.h by moving the ctrs member
9694         variable into Paragraph::Pimpl.
9695         (counters): new method, returning a reference to pimpl_->ctrs.
9696
9697         * text2.C: ensuing changes.
9698
9699 2002-08-07  John Levon  <levon@movementarian.org>
9700
9701         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9702
9703         * BufferView_pimpl.C: announce X selection on double/triple
9704           click
9705
9706         * lyx_main.C: use correct bool in batch dispatch
9707
9708         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9709
9710 2002-08-07  André Pönitz <poenitz@gmx.net>
9711
9712         * funcrequest.h: new class to wrap a kb_action and its argument
9713
9714         * BufferView.[Ch]:
9715         * BufferView_pimpl[Ch]:
9716         * LaTeX.C:
9717         * LyXAction.[Ch]:
9718         * lyxfunc.[Ch]:
9719         * lyxrc.C: subsequent changes
9720
9721
9722 2002-08-07  John Levon  <levon@movementarian.org>
9723
9724         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9725           document options change.
9726
9727 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9728
9729         * counters.[Ch]
9730         * text2.C
9731         * paragraph.[Ch]
9732         * makefile.am: move counters functionality over from
9733         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9734
9735 2002-08-06  John Levon  <levon@movementarian.org>
9736
9737         * WordLangTuple.h: new file for word + language code tuple
9738
9739         * SpellBase.h:
9740         * pspell.h:
9741         * pspell.C:
9742         * ispell.h:
9743         * ispell.C:
9744         * lyxtext.h:
9745         * text.C:
9746         * text2.C:
9747         * BufferView.h:
9748         * BufferView2.C: use WordLangTuple
9749
9750         * layout.h:
9751         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9752
9753 2002-08-06  John Levon  <levon@movementarian.org>
9754
9755         * lyx_main.C: fix cmdline batch handling
9756
9757 2002-08-06  André Pönitz <poenitz@gmx.net>
9758
9759         * lyxrc.C: set default for show_banner to true
9760
9761 2002-08-06  John Levon  <levon@movementarian.org>
9762
9763         * pspell.C: fix a crash, and allow new aspell to work
9764
9765 2002-08-06  John Levon  <levon@movementarian.org>
9766
9767         * lyxfunc.C:
9768         * kbmap.C: small cleanup
9769
9770         * vspace.h:
9771         * vspace.C: add const
9772
9773 2002-08-05  John Levon  <levon@movementarian.org>
9774
9775         * LyXAction.C: back to tabular-insert
9776
9777 2002-08-04  John Levon  <levon@movementarian.org>
9778
9779         * BufferView.h:
9780         * BufferView.C: cosmetic change
9781
9782         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9783
9784         * bufferlist.C:
9785         * buffer.h:
9786         * buffer.C:
9787         * lyxcb.h:
9788         * lyxcb.C:
9789         * lyxserver.C:
9790         * lyxvc.C:
9791         * vc-backend.C:
9792         * BufferView2.C: purge all "Lyx" not "LyX" strings
9793
9794         * lyxcursor.h:
9795         * lyxcursor.C: attempt to add some documentation
9796
9797         * lyxfunc.C:
9798         * commandtags.h:
9799         * LyXAction.C:
9800         * ToolbarDefaults.C:
9801         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9802           merge with LFUN_TABULAR_INSERT
9803
9804         * Makefile.am:
9805         * SpellBase.h:
9806         * ispell.h:
9807         * ispell.C:
9808         * pspell.h:
9809         * pspell.C: split up i/pspell implementations into separate
9810           files, many cleanups
9811
9812         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9813
9814         * text2.C: some cleanup
9815
9816         * lyxfunc.C: don't check for isp_command == "none" any more, it
9817           didn't make any sense
9818
9819 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9820
9821         * counters.[Ch]
9822         * text2.C
9823         * paragraph.[Ch]
9824         * makefile.am: move counters functionality over
9825         from text2.C/paragraph.[Ch] to counters.[Ch], and
9826         make proper C++.
9827 2002-08-02  John Levon  <levon@movementarian.org>
9828
9829         * buffer.C: s/lyxconvert/lyx2lyx/
9830
9831 2002-08-02  Angus Leeming  <leeming@lyx.org>
9832
9833         * lyxlex.C: revert John's change as it breaks reading of the user
9834         preamble.
9835
9836 2002-08-02  Angus Leeming  <leeming@lyx.org>
9837
9838         * importer.C (Import):
9839         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9840         changes due to LyXView::view() now returning a boost::shared_ptr.
9841
9842 2002-08-02  John Levon  <levon@movementarian.org>
9843
9844         * lyxlex.C: small cleanup
9845
9846 2002-08-02  John Levon  <levon@movementarian.org>
9847
9848         * text2.C (status): small cleanup, no logic change
9849
9850 2002-08-01  John Levon  <levon@movementarian.org>
9851
9852         * buffer.h:
9853         * buffer.C (writeFile): don't output alerts, caller
9854           handles this
9855
9856         * bufferlist.C:
9857         * lyx_cb.C: from above
9858
9859         * lyxfunc.C: allow to open non-existent files
9860
9861 2002-07-31  John Levon  <levon@movementarian.org>
9862
9863         * lyxserver.C: don't let incidental errors get
9864           in the way (errno)
9865
9866 2002-07-30  John Levon  <levon@movementarian.org>
9867
9868         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9869
9870 2002-07-30  John Levon  <levon@movementarian.org>
9871
9872         * lyxserver.h:
9873         * lyxserver.C: remove I/O callback too
9874
9875 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9876
9877         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9878         log.
9879
9880 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9881
9882         * many files: strip,frontStrip -> trim,ltrim,rtrim
9883
9884 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9885
9886         * PrinterParams.h: remove extern containsOnly, and include
9887         support/lstrings.h instead.
9888
9889         * LaTeX.C (scanAuxFile): modify because of strip changes
9890         (deplog): ditto
9891         * buffer.C (makeLaTeXFile): ditto
9892         * bufferparams.C (writeFile): ditt
9893         * lyxfont.C (stateText): ditto
9894         * lyxserver.C (read_ready): ditto
9895         * vc-backend.C (scanMaster): ditto
9896
9897         * BufferView_pimpl.h: ws changes
9898
9899         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9900
9901 2002-07-26  André Pönitz <poenitz@gmx.net>
9902
9903         * kb_sequence.C: remove unnedred usings
9904
9905 2002-07-26  Juergen Vigna  <jug@sad.it>
9906
9907         * lyxfind.C (LyXReplace): we have to check better if the returned
9908         text is not of theLockingInset()->getLockingInset().
9909
9910 2002-07-25  Juergen Vigna  <jug@sad.it>
9911
9912         * lyxfind.C (LyXReplace): don't replace if we don't get the
9913         right LyXText.
9914
9915         * undo_funcs.C (createUndo): remove debugging code.
9916
9917 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9918
9919         * buffer.C (parseSingleLyXformat2Token): Use default placement
9920         when reading old floats.
9921
9922         * FloatList.C (FloatList): Change the default placement of figure
9923         and tables to "tbp".
9924
9925 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * MenuBackend.C: using std::max
9928
9929 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * MenuBackend.C (expandToc):
9932         (expandToc2): code moved from xforms menu frontend. It is now
9933         generic and TOCs are transparent to menu frontends.
9934
9935 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * toc.C (getTocList): protect against buf=0
9938
9939         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9940         Menu as first parameter. Now, this calls itself recursively to
9941         expand a whole tree (this will be useful for TOC handling)
9942         (expandFloatInsert): remove 'wide' version of floats
9943
9944         * MenuBackend.h (submenuname): returns the name of the submenu.
9945         (submenu): returns the submenu itself, provided it has been
9946         created by MenuBackend::expand
9947
9948 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9951         insets which have noFontChange == true. (bug #172)
9952
9953 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9954
9955         * BufferView_pimpl.C: add connection objects and use them...
9956         (Pimpl): here.
9957
9958 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9959
9960         * MenuBackend.C (expandLastfiles):
9961         (expandDocuments):
9962         (expandFormats):
9963         (expandFloatListInsert):
9964         (expandFloatInsert):
9965         (expand): split expand in parts
9966
9967 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * lyx_gui.C: use lyx_gui::exit()
9970
9971 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * LyXAction.C: show the failing pseudo action
9974
9975 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9976
9977         * buffer.C (readFile): Run the lyxconvert script in order to read
9978         old files.
9979
9980 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * LyXAction.C:
9983         * commandtags.h:
9984         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9985
9986 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * LyXAction.C:
9989         * commandtags.h:
9990         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9991
9992 2002-07-22  Herbert Voss  <voss@lyx.org>
9993
9994         * lengthcommon.C:
9995         * lyxlength.[Ch]: add support for the vertical lengths
9996
9997 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * toc.[Ch]: std:: fixes
10000
10001 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10002
10003         * lyxrc.C: do not include lyx_main.h
10004
10005         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10006         for layouts
10007
10008         * lyxrc.C:
10009         * encoding.C:
10010         * bufferlist.C:
10011         * BufferView2.C: include "lyxlex.h"
10012
10013         * tabular.h:
10014         * bufferparams.h: do not #include "lyxlex.h"
10015
10016         * lyxtextclasslist.C (Add): remove method
10017         (classlist): renamed to classlist_
10018
10019         * paragraph_pimpl.C:
10020         * paragraph.C:
10021         * text2.C:
10022         * CutAndPaste.C:
10023         * bufferview_funcs.C:
10024         * bufferlist.C:
10025         * text.C:
10026         * LaTeXFeatures.C:
10027         * buffer.C:
10028         * toc.C (getTocList): use BufferParams::getLyXTextClass
10029
10030         * toc.C (getTocList): use InsetFloat::addToToc
10031
10032         * toc.[Ch]: new files, containing helper functions to handle table
10033         of contents
10034
10035         * lyxfunc.C (dispatch): no need to remove spaces around command
10036         given as a string
10037         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10038         first command of the sequence; it is not very clever, but I do not
10039         have a better idea, actually
10040
10041         * LyXAction.C (LookupFunc): make sure to remove space at the
10042         beginning and end of the command
10043
10044 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * MenuBackend.C (getMenubar): new method: return the menubar of
10047         this menu set
10048         (read): treat differently reading of menu and menubar (in
10049         particular, the menubar has no name now)
10050         (Menu::menubar): remove
10051
10052         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10053         saving is finished
10054
10055 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10056
10057         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10058         a bibitem inset in a RTL paragraph.
10059
10060 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10061
10062         * paragraph_pimpl.C: constify
10063
10064         * BufferView_pimpl.C:
10065         * LaTeX.C:
10066         * lyxfunc.C: fix dispatch in a nicer way
10067
10068 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * lyxfunc.C (dispatch):
10071         * BufferView_pimpl.C:
10072         * BufferView_pimpl.h:
10073         * BufferView.C:
10074         * BufferView.h: rename Dispatch() to dispatch()
10075
10076         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10077
10078         * lyxlayout.C (Read): honor DependsOn tag
10079
10080         * lyxlayout.[Ch] (depends_on): new method
10081
10082         * version.C.in: update lyx_docversion
10083
10084         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10085
10086         * paragraph.C (validate): remove from here...
10087         * paragraph_pimpl.C (validate): ... and move here
10088         (isTextAt): make it const
10089
10090         * buffer.C (getLists): ws cleanup
10091
10092 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * language.C (read): Use iso8859-1 encoding in latex_lang
10095         (this prevents LyX from crashing when using iso10646-1 encoding).
10096
10097 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * text2.C (toggleInset): if cursor is inside an inset, close the
10100         inset and leave cursor _after_ it
10101
10102 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * lyxfunc.C: move minibuffer completion handling out of here
10105
10106 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * BufferView_pimpl.C:
10109         * LaTeX.C: fix dispatch calls
10110
10111 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10112
10113         * text.C (drawChars): Fix Arabic text rendering.
10114
10115 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * LyXAction.C:
10118         * commandtags.h:
10119         * lyxfunc.C: remove message-push/pop
10120
10121         * lyxserver.C:
10122         * lyxfunc.h:
10123         * lyxfunc.C: rationalise some code by removing verboseDispatch
10124           in favour of a bool argument to dispatch()
10125
10126 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * lyx_main.C (init): make sure to read symlinks as absolute paths
10129
10130 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10131
10132         * lyxfunc.h:
10133         * lyxfunc.C: no need for commandshortcut to be a member
10134
10135 2002-07-15  André Pönitz <poenitz@gmx.net>
10136
10137         * converter.C: add support for $$s (scripts from lib/scripts dir)
10138         * lyx_main.C: white space
10139
10140 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10141
10142         * bufferlist.C:
10143         * lyxrc.h:
10144         * lyxrc.C: remove second exit confirmation
10145
10146 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10147
10148         * BufferView.h:
10149         * BufferView.C:
10150         * BufferView2.C:
10151         * BufferView_pimpl.h:
10152         * BufferView_pimpl.C:
10153         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10154
10155 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10156
10157         * MenuBackend.C (expand): add numeric shortcuts to document menu
10158
10159         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10160
10161 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10162
10163         * lyxfont.C (setLyXFamily):
10164         (setLyXSeries):
10165         (setLyXShape):
10166         (setLyXSize):
10167         (setLyXMisc):
10168         (lyxRead):
10169         * debug.C (value):
10170         * buffer.C (asciiParagraph): use ascii_lowercase
10171
10172 2002-07-15  Mike Fabian  <mfabian@suse.de>
10173
10174         * lyxlex_pimpl.C (search_kw):
10175         * lyxlex.C (getLongString):
10176         * converter.h (operator<):
10177         * converter.C (operator<):
10178         * buffer.C (parseSingleLyXformat2Token):
10179         (asciiParagraph):
10180         * ToolbarDefaults.C (read):
10181         * MenuBackend.C (checkShortcuts):
10182         (read):
10183         * LColor.C (getFromGUIName):
10184         (getFromLyXName): use the compare_ascii_no_case instead of
10185         compare_no_case, because in turkish, 'i' is not the lowercase
10186         version of 'I', and thus turkish locale breaks parsing of tags.
10187
10188 2002-07-16  Angus Leeming  <leeming@lyx.org>
10189
10190         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10191         now takes a Buffer const & argument.
10192
10193 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * BufferView.C (resize): check there's a buffer to resize
10196
10197 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10198
10199         * lyxfunc.C: remove dead code
10200
10201         * lyxserver.h:
10202         * lyxserver.C: use lyx_guii::set_read_callback
10203
10204 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10205
10206         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10207         an inset in a RTL paragraph.
10208
10209 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * lyxfunc.C: repaint after a font size update
10212
10213 2002-07-15  André Pönitz <poenitz@gmx.net>
10214
10215         * lyxlength.C: inBP should be able to return negative values
10216
10217 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * lyxfunc.C: use lyx_gui::update_fonts()
10220
10221 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10222
10223         * lyxfunc.C: use lyx_gui::update_color()
10224
10225 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10226
10227         * bufferlist.C:
10228         * lyxfunc.h:
10229         * lyxfunc.C:
10230         * lyxrc.h:
10231         * lyxrc.C: remove file->new asks for name option, and let
10232           buffer-new take an argument
10233
10234 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * BufferView_pimpl.C: remove unneeded extra repaint()
10237
10238 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * LyXAction.C: allow command-sequence with NoBuffer
10241
10242         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10243
10244 2002-07-10  Angus Leeming  <leeming@lyx.org>
10245
10246         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10247
10248 2002-07-09  Angus Leeming  <leeming@lyx.org>
10249
10250         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10251
10252 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * lengthcommon.h: whitespace
10255
10256         * lyxfunc.C: update scrollbar after goto paragraph
10257
10258         * lyxtext.h: factor out page break drawing, and fix it so
10259           page break/added space paints as selected nicely
10260
10261 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10262
10263         * BufferView_pimpl.C: add FIXMEs, clean up a little
10264
10265 2002-07-09  André Pönitz <poenitz@gmx.net>
10266
10267         * lyxfont.[Ch]: support for wasy symbols
10268
10269 2002-07-08  André Pönitz <poenitz@gmx.net>
10270
10271         * BufferView_pimpl.C: apply John's patch for #93.
10272
10273 2002-07-05  Angus Leeming  <leeming@lyx.org>
10274
10275         * BufferView_pimpl.C (buffer): generate previews if desired.
10276
10277         * LColor.h: add "preview" to the color enum.
10278
10279         * LColor.C (LColor): add a corresponding entry to the items array.
10280
10281         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10282         with this buffer.
10283
10284 2002-07-05  Angus Leeming  <leeming@lyx.org>
10285
10286         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10287         The body of the code is now in the method that is passed an ostream &
10288         rather than a file name.
10289         Pass an additional only_preamble parameter, useful for the forthcoming
10290         preview stuff.
10291
10292 2002-07-03  André Pönitz <poenitz@gmx.net>
10293
10294         * lyxfunc.C: simplify getStatus() a bit for math stuff
10295
10296 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10297
10298         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10299
10300 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10301
10302         * text.C (changeRegionCase): do not change case of all the
10303         document when region ends at paragraph end (bug #461)
10304
10305 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * paragraph.C (startTeXParParams):
10308         (endTeXParParams): add \protect when necessary
10309
10310 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * BufferView_pimpl.C (workAreaExpose): remove warning
10313
10314 2002-06-27  Angus Leeming  <leeming@lyx.org>
10315
10316         * Makefile.am: add lyxlayout_ptr_fwd.h.
10317
10318 2002-06-26  André Pönitz <poenitz@gmx.net>
10319
10320         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10321
10322 2002-06-25  Angus Leeming  <leeming@lyx.org>
10323
10324         * lyxfunc.C (dispatch): Comment out the call to
10325         grfx::GCache::changeDisplay. The method no longer exists now that the
10326         pixmap generation part of the graphics loader has been moved into
10327         InsetGraphics.
10328
10329 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10330
10331         * text2.C: layout as layout
10332
10333         * text.C: layout as layout
10334
10335         * tabular.C (OldFormatRead): layout as layout
10336
10337         * paragraph_pimpl.C (TeXDeeper): layout as layout
10338         (realizeFont): layout as layout
10339
10340         * paragraph.C (writeFile): layout as layout
10341         (validate): layout as layout
10342         (getFont): layout as layout
10343         (getLabelFont): layout as layout
10344         (getLayoutFont): layout as layout
10345         (breakParagraph): layout as layout
10346         (stripLeadingSpaces): layout as layout
10347         (getEndLabel): layout as layout
10348         (getMaxDepthAfter): layout as layout
10349         (applyLayout): layout as layout
10350         (TeXOnePar): layout as layout
10351         (simpleTeXOnePar): layout as layout
10352         (TeXEnvironment): layout as layout
10353         (layout): layout as layout
10354         (layout): layout as layout
10355
10356         * lyxtextclass.C (compare_name): new functor to work with
10357         shared_ptr, layout as layout
10358         (Read): layout as layout
10359         (hasLayout): layout as layout
10360         (operator): layout as layout
10361         (delete_layout): layout as layout
10362         (defaultLayout): layout as layout
10363
10364         * lyxlayout_ptr_fwd.h: new file
10365
10366         * lyxlayout.C (Read): layout as layout
10367
10368         * lyx_cb.C (MenuInsertLabel): layout as layout
10369
10370         * bufferlist.C (newFile): layout as layout
10371
10372         * buffer.C (readLyXformat2): layout as layout
10373         (parseSingleLyXformat2Token): layout as layout
10374         (insertStringAsLines): layout as layout
10375         (asciiParagraph): layout as layout
10376         (latexParagraphs): layout as layout
10377         (makeLinuxDocFile): layout as layout
10378         (simpleLinuxDocOnePar): layout as layout
10379         (makeDocBookFile): layout as layout
10380         (simpleDocBookOnePar): layout as layout
10381         (getLists): layout as layout
10382
10383         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10384
10385         * CutAndPaste.C (cutSelection): layout as layout
10386         (pasteSelection): layout as layout
10387         (SwitchLayoutsBetweenClasses): layout as layout
10388
10389         * BufferView_pimpl.C (Dispatch): layout as layout
10390         (smartQuote): layout as layout
10391
10392         * BufferView2.C (unlockInset): layout as layout
10393
10394 2002-06-24  André Pönitz <poenitz@gmx.net>
10395
10396         * lyxfunc.C: fix #487
10397
10398 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * lyxrc.h:
10401         * lyxrc.C:
10402         * lyxfunc.C: remove display_shortcuts, show_banner
10403
10404 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * Buffer_pimpl.C: oops, update on resize
10407
10408 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * buffer.C:
10411         * converter.C:
10412         * exporter.C:
10413         * lyxfunc.C:
10414         * BufferView.h:
10415         * BufferView.C: use repaint()
10416
10417         * BufferView_pimpl.h:
10418         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10419           as it's a clearer description. Remove superfluous
10420           redraws.
10421
10422 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * text.C: fix bug 488. Not ideal, but getting
10425           getWord() to work properly for the insets that
10426           matter is more difficult ...
10427
10428 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * BufferView_pimpl.C:
10431         * LyXAction.C:
10432         * commandtags.h:
10433         * lyxfunc.C: remove the six million index lyxfuncs to just
10434           one, and DTRT (bug 458)
10435
10436 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * BufferView.h:
10439         * BufferView.C:
10440         * BufferView_pimpl.h:
10441         * BufferView_pimpl.C: clean up resize() stuff,
10442           and unnecessary updateScreen()s
10443
10444 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10445
10446         * BufferView.h:
10447         * BufferView.C:
10448         * BufferView_pimpl.h:
10449         * BufferView_pimpl.C:
10450         * lyxfind.h:
10451         * lyxfind.C:
10452         * minibuffer.C: remove focus management of workarea,
10453           not needed. Use screen's greyOut()
10454
10455 2002-06-17  Herbert Voss  <voss@lyx.org>
10456
10457         * converter.C: (convert) do not post a message, when converting
10458         fails, let the calling function decide what to do in this case
10459
10460 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * lyxfunc.C: tidy up a little
10463
10464 2002-06-16    <alstrup@diku.dk>
10465
10466         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10467         Got rid of FORMS_H_LOCATION include. Now we are
10468         GUII.
10469
10470 2002-06-15  LyX Development team  <lyx@rilke>
10471
10472         * buffer.[Ch] (sgmlOpenTag):
10473         (sgmlCloseTag): Added support for avoiding pernicious mixed
10474         content. Return number of lines written.
10475
10476         (makeLinuxDocFile):
10477         (makeDocBookFile): Fixed calls to sgml*Tag.
10478         Simple white space clean.
10479
10480         (simpleDocBookOnePar): Simple white space clean.
10481
10482         * tabular.[Ch] (docBook): Renamed to docbook and got another
10483         argument to related with the pernicious mixed content.
10484
10485         (docbookRow): Fixed calls for docbook inset method.
10486
10487 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10488
10489         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10490         so it's X11 independent.
10491
10492         * kb*.[Ch]: ditto.
10493
10494         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10495
10496 2002-06-15  Lyx Development team  <lyx@electronia>
10497
10498         * intl.h: Renamed getTrans to getTransManager.
10499
10500 2002-06-14  Angus Leeming  <leeming@lyx.org>
10501
10502         * Makefile.am: nuke forgotten stl_string_fwd.h.
10503
10504 2002-06-12  Angus Leeming  <leeming@lyx.org>
10505
10506         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10507
10508 2002-06-13  Angus Leeming  <leeming@lyx.org>
10509
10510         * LaTeX.C:
10511         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10512
10513 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10514
10515         * kbmap.C (getiso): add support for cyrillic and greek
10516
10517 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * BufferView.h:
10520         * BufferView.C:
10521         * BufferView_pimpl.h:
10522         * BufferView_pimpl.C: move bogus scrolling logic
10523           to xforms
10524
10525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * lyxfunc.C:
10528         * BufferView_pimpl.C: view->resize() change
10529
10530 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView_pimpl.C: topCursorVisible
10533           prototype change
10534
10535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * Makefile.am:
10538         * lyx_gui.h:
10539         * lyx_gui.C: move to frontends/
10540
10541         * main.C:
10542         * lyx_main.h:
10543         * lyx_main.C: changes from above
10544
10545 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * intl.C:
10548         * intl.h:
10549         * kbmap.C:
10550         * kbsequence.C:
10551         * lyx_cb.C:
10552         * lyx_main.C: minor tidy
10553
10554 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * BufferView_pimpl.h:
10557         * BufferView_pimpl.C:
10558         * BufferView.h:
10559         * BufferView.C: make painter() const,
10560           remove dead code
10561
10562         * BufferView2.C: use screen() accessor
10563
10564         * lyx_main.h:
10565         * lyx_main.C: some minor cleanup
10566
10567 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * BufferView_pimpl.h:
10570         * BufferView_pimpl.C: remove enter/leaveView,
10571           use workHeight()
10572
10573 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10574
10575         * BufferView.h:
10576         * BufferView.C:
10577         * BufferView2.C:
10578         * BufferView_pimpl.h:
10579         * BufferView_pimpl.C: only construct screen once,
10580           rename
10581
10582         * lyxrc.C: remove pointless comment
10583
10584 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * BufferView.h:
10587         * BufferView.C: remove active() and belowMouse()
10588
10589         * BufferView_pimpl.h:
10590         * BufferView_pimpl.C: use workarea() not workarea_,
10591           and make it use a scoped_ptr instead
10592
10593 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * lyx_gui.C: add debug message on BadWindow
10596
10597 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10598
10599         * sp_spell.C: fdopen is not part of the C++ standard.
10600
10601         * paragraph.C (InsetIterator): use >= instead of ==
10602
10603 2002-06-07  Angus Leeming  <leeming@lyx.org>
10604
10605         Fixes needed to compile with Compaq cxx 6.5.
10606         * BufferView_pimpl.C:
10607         * DepTable.C:
10608         * buffer.C:
10609         * converter.C:
10610         * encoding.C:
10611         * lyx_gui.C:
10612         * lyx_main.C:
10613         * lyxtextclasslist.C:
10614         * minibuffer.C:
10615         * sp_spell.C:
10616         * tabular_funcs.C:
10617         * vc-backend.C:
10618         all c-library variables have been moved into namespace std. Wrap
10619         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10620
10621         * lyxlength.C:
10622         * tabular-old.C:
10623         * tabular.C:
10624         Add a using std::abs declaration.
10625
10626         * kbmap.h (modifier_pair):
10627         * paragraph.h (InsetTable, InsetList):
10628         * lyxfont.h (FontBits):
10629         type definition made public.
10630
10631         * bufferlist.C (emergencyWriteAll): the compiler complains that
10632         there is more than one possible lyx::class_fun template to choose from.
10633         I re-named the void specialisation as lyx::void_class_fun.
10634
10635         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10636
10637         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10638         the compiler is is unable to find tostr in write_attribute.
10639
10640 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * buffer.C (sgmlError): hide #warning
10643
10644 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10645
10646         * xtl/*: get rid of xtl, which is not in use anyway
10647
10648         * LyXAction.C (init):
10649         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10650         were unimplemented xtl experimentation
10651
10652 2002-06-04  André Pönitz <poenitz@gmx.net>
10653
10654         * lyxfunc.C: disable array operation on simple formulae
10655
10656 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * converter.C: constify a bit
10659
10660 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * lyx_gui.C: check xforms version correctly
10663
10664 2002-04-30  Herbert Voss  <voss@lyx.org>
10665
10666         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10667         "keep" option
10668
10669 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10672           attempt to register it with a VCS)
10673
10674 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * lyx_main.C (init): honor variables LYX_DIR_13x and
10677         LYX_USERDIR_13x
10678
10679 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * buffer.h:
10682         * buffer.C:
10683         * lyx_main.C: fix a crash on bad command line,
10684           and give a useful exit status on error
10685
10686         * lyxfunc.C (doImport): allow -i lyx to work
10687
10688 2002-03-30  André Pönitz <poenitz@gmx.net>
10689
10690         * lyxfunc.C: mathed font changes
10691
10692 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * LaTeX.C:
10695         * importer.h:
10696         * importer.C:
10697         * lyx_sty.h:
10698         * lyx_sty.C:
10699         * lyxlex.C:
10700         * lyxrow.h:
10701         * lyxtext.h:
10702         * paragraph.h:
10703         * paragraph.C:
10704         * texrow.h:
10705         * texrow.C:
10706         * text.C:
10707         * trans_mgr.h: srcdocs, and some minor cleanups
10708
10709 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10712         call getFont all the time)
10713
10714 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * switch from SigC signals to boost::signals
10717
10718 2002-05-29  André Pönitz <poenitz@gmx.net>
10719
10720         * paragraph_pimpl.C (getChar): don't call size() too often...
10721
10722 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * paragraph_pimpl.C (insertChar): do not try to update tables when
10725         appending (pos == size())
10726
10727         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10728         in order to reduce drastically the number of comparisons needed to
10729         parse a large document
10730
10731 2002-05-29  André Pönitz <poenitz@gmx.net>
10732
10733         * text.C:
10734         * text2.C:
10735         * lyxtextclass.C:
10736         * sp_pspell.h:
10737         * textclasslist.[Ch]:
10738         * sp_ispell.h: whitespace change
10739
10740 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10741
10742         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10743         lyxaction directly now.
10744
10745 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * trans.C:
10748         * lyxfont.C:
10749         * lyxvc.C: remove unused headers
10750
10751 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * Makefile.am:
10754         * buffer.h:
10755         * undostack.h:
10756         * undostack.C:
10757         * undo_funcs.h:
10758         * undo_funcs.C: some cleanups. Use shared_ptr
10759           and a template for the undo stacks.
10760
10761 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView_pimpl.h:
10764         * BufferView_pimpl.C:
10765         * kbmap.h:
10766         * kbmap.C:
10767         * kbsequence.h:
10768         * kbsequence.C:
10769         * lyxfunc.h:
10770         * lyxfunc.C:
10771         * text2.C: use key_state/mouse_state
10772
10773 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10774
10775         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10776         and LSubstring
10777
10778         * chset.C: change include order
10779         (loadFile): use boost regex and get rid of LRegex and LSubstring
10780
10781         * Makefile.am (BOOST_LIBS): new variable
10782         (lyx_LDADD): use it
10783
10784         * LaTeX.C: change include order.
10785         (scanAuxFile): use boost regex and get rid of LRegex and
10786         LSubstring
10787         (deplog): ditto
10788
10789 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * ColorHandler.h:
10792         * ColorHandler.C:
10793         * FontInfo.h:
10794         * FontInfo.C: moved to frontends/xforms/
10795
10796         * FontLoader.h:
10797         * FontLoader.C: moved into frontends for GUIIzation
10798
10799         * Makefile.am:
10800         * lyx_gui.C:
10801         * lyxfont.C:
10802         * lyxfunc.C: changes from above
10803
10804 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * LColor.C: remove spurious X include
10807
10808         * BufferView_pimpl.C:
10809         * Makefile.am:
10810         * font.h:
10811         * font.C:
10812         * text.C:
10813         * text2.C: move font metrics to frontends/
10814
10815 2002-05-24  Juergen Vigna  <jug@sad.it>
10816
10817         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10818         setting the undo_cursor.
10819
10820         * ParagraphParameters.h: include local includes first.
10821
10822 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * BufferView_pimpl.C:
10825         * BufferView_pimpl.h:
10826         * Makefile.am:
10827         * WorkArea.h:
10828         * WorkArea.C:
10829         * screen.C: move WorkArea into frontends/
10830
10831         * lyxscreen.h:
10832         * screen.C:
10833         * text.C:
10834         * BufferView.C:
10835         * BufferView2.C: move LyXScreen into frontends/
10836
10837         * lyxlookup.h:
10838         * lyxlookup.C:
10839         * lyx_gui.C: move lyxlookup into frontends/xforms/
10840
10841 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * BufferView2.C:
10844         * BufferView_pimpl.C:
10845         * FontLoader.C:
10846         * LyXView.h:
10847         * LyXView.C:
10848         * Makefile.am:
10849         * WorkArea.C:
10850         * XFormsView.h:
10851         * XFormsView.C:
10852         * buffer.C:
10853         * bufferlist.C:
10854         * bufferview_funcs.C:
10855         * converter.C:
10856         * importer.C:
10857         * lyx_cb.C:
10858         * lyx_gui.C:
10859         * lyx_main.C:
10860         * lyx_find.C:
10861         * lyxfunc.C:
10862         * lyxvc.C:
10863         * minibuffer.C:
10864         * text.C:
10865         * text2.C:
10866         * trans.C:
10867         * vc-backend.C: move LyX/XFormsView into frontends/
10868
10869 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * Makefile.am:
10872         * PainterBase.C:
10873         * PainterBase.h:
10874         * Painter.C:
10875         * Painter.h:
10876         * WorkArea.C:
10877         * WorkArea.h:
10878         * screen.C:
10879         * tabular.C:
10880         * text.C:
10881         * text2.C: move Painter to frontends/
10882
10883 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * buffer.C: comment out some some code that depend upon lyx_format
10886         < 220
10887
10888         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10889         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10890
10891         * buffer.h (NO_COMPABILITY): turn off compability
10892
10893         * ColorHandler.C: include scoped_array.hpp
10894
10895         * font.C: Use more specific smart_ptr header.
10896         * Painter.C: ditto
10897         * gettext.C: ditto
10898         * ShareContainer.h: ditto
10899         * lyx_main.h: ditto
10900         * kbmap.h: ditto
10901         * FontInfo.h: ditto
10902         * BufferView_pimpl.h: ditto
10903         * ColorHandler.h: ditto
10904
10905         * kbmap.C (defkey): change call to shared_ptr::reset
10906
10907 2002-05-21  Juergen Vigna  <jug@sad.it>
10908
10909         * buffer.C (insertErtContents): fix to insert ert asis if it is
10910         non empty. Skip it completely if it contains only whitespaces.
10911
10912 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * BufferView_pimpl.C:
10915         * BufferView2.C: clear selection on paste (bug 393)
10916
10917 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * DepTable.C: include ctime
10920
10921 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10922
10923         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10924
10925 2002-05-14  Juergen Vigna  <jug@sad.it>
10926
10927         * text.C (breakParagraph): fixed function to honor the keepempty
10928         layout in the right maner and also to permit the right breaking
10929         algorithm on empty or non empyt keepempty paragraphs.
10930
10931         * paragraph.C (breakParagraph): we have to check also if the par
10932         is really empty (!size()) for isempty otherwise we do the wrong
10933         paragraph break.
10934
10935 2002-05-10  Juergen Vigna  <jug@sad.it>
10936
10937         * buffer.[Ch] : The following are only changes to the ert
10938         compatibility read reading old LaTeX layout and font stuff and
10939         convert it to ERTInsets.
10940
10941         * buffer.h: added isErtInset().
10942
10943         * buffer.C (struct ErtComp): add a fromlayout bool to check
10944         if we're inside a LaTeX layout.
10945         (isErtInset): new helper function.
10946         (insertErtContents): look for other ert insets before this one
10947         and insert the contents there, so that we don't have subsequent
10948         ERT insets with nothing between them. This way we create only one
10949         inset with multiple paragraphs. Also check if we don't insert only
10950         spaces ' ' as they are ignored anyway afterwards in the .tex file
10951         so if we have only spaces we will ignore this latex part in the
10952         new file.
10953         (parseSingleLyXformat2Token \\layout): better compatibility when
10954         reading layout-latex stuff.
10955         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10956         language tag.
10957         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10958         stuff after reading the inset only get the information back from
10959         the stack.
10960
10961 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10962
10963         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10964
10965         * LaTeXFeatures.C (getBabelOptions): New method.
10966
10967 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10968
10969         * BufferView_pimpl.C (Dispatch): work around missing argument for
10970         'layout'
10971
10972 2002-05-08  Juergen Vigna  <jug@sad.it>
10973
10974         * text.C (leftMargin): handle paragraph leftindent.
10975
10976         * paragraph.C (writeFile): write the new \\leftindent tag.
10977         (validate): handle leftindent code.
10978         (TeXEnvironment): handle paragraphleftindent code again.
10979
10980         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10981
10982         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10983         for paragrap_extra indent code and new token \\leftindent.
10984         (latexParagraphs): handle the leftindent as environment.
10985
10986         * ParameterStruct.h: added leftindent support.
10987
10988         * ParagraphParameters.C (leftIndent): added support functions for
10989         the paragraph left indent.
10990
10991         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10992         more appropriate.
10993
10994 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10995
10996         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10997         inside insetERT.
10998
10999         * text.C (computeBidiTables): No bidi in insetERT.
11000
11001         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11002         in RTL documents.
11003
11004 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11005
11006         * version.C.in: pre 5
11007
11008 2002-05-02  José Matos  <jamatos@fep.up.pt>
11009         * buffer.C (makeDocBookFile): white space changes, add newline to
11010         command styles.
11011         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11012
11013         * tabular.C (docBook): fix typo.
11014
11015 2002-05-03  Juergen Vigna  <jug@sad.it>
11016
11017         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11018         change in LyXText as we can not be sure it was not freed.
11019         (drawOneRow): remove unused code.
11020
11021         * text.C (drawInset): redo the calculation of the need_break_row as
11022         it could have a row which was already freed.
11023         (draw): look at the return value of drawInset and return false if
11024         it also returned false.
11025         (paintRowText): look at the return value of draw and return false if
11026         it also returned false.
11027
11028         * lyxtext.h: added bool return type to drawInset() and draw() so that
11029         if we have a change in the row so that the rowbreak has to be redone
11030         we abort drawing as it will be called again.
11031
11032 2002-05-02  Juergen Vigna  <jug@sad.it>
11033
11034         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11035         a change in the maintext also if we're inside an inset.
11036         (Dispatch): set the cursor again after a break line and after the
11037         screen has been updated as it could be we're in a different row.
11038
11039         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11040         to set the cursor behind the pargraph with > size().
11041         (setCursor): check also for the same paragraph when checking where
11042         to put the cursor if we have a NFR inset.
11043
11044         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11045         parts of layout read further up as it still was in the wrong
11046         position.
11047
11048 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11049
11050         * screen.C (drawFromTo): change sine fullRebreak always return
11051         true.
11052
11053         * buffer.C (parseSingleLyXformat2Token): reindent some
11054
11055         * BufferView_pimpl.C (update): change since fullRebreak always
11056         return true.
11057         (Dispatch): git rid of the last hardcoded "Standard"s.
11058
11059 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * text2.[Ch] (fullRebreak): make it return void now that we always
11062         returned true.
11063
11064 2002-04-30  Juergen Vigna  <jug@sad.it>
11065
11066         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11067         ert compatibility check for "latex" layout.
11068
11069 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11070
11071         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11072         minipages: use col% instead of p%, and also use the current font.
11073         (makeLaTeXFile): Fix use babel condition.
11074         (parseSingleLyXformat2Token): Correct font when reading old floats.
11075
11076 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11077
11078         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11079         inserting list of floats.
11080
11081 2002-04-25  Herbert Voss  <voss@lyx.org>
11082
11083         * MenuBackend.C (expand): don't add the graphics extensions to the
11084         export menu
11085
11086 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11089         non-existing layout, do not complain if it was the default layout
11090         of the original class (bug #342)
11091
11092 2002-04-24  Juergen Vigna  <jug@sad.it>
11093
11094         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11095         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11096
11097 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11098
11099         * buffer.C (getBibkeyList): If using \bibliography, return the
11100         option field with the reference itself. Enables us to provide natbib
11101         support when using \bibliography.
11102
11103 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11104
11105         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11106
11107         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11108         natbib is provided by the LaTeX class.
11109
11110 2002-04-23  Juergen Vigna  <jug@sad.it>
11111
11112         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11113         Wakeup functions.
11114
11115         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11116
11117 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11118
11119         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11120
11121         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11122         ensuremath around textordmasculine, textordfeminine and
11123         textdegree.
11124
11125 2002-04-19  Juergen Vigna  <jug@sad.it>
11126
11127         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11128         reinitializing the buffer otherwise row-dimensions may be wrong.
11129         (update): reset also the selection cursors if they do exits otherwise
11130         their x/y positions may be wrong.
11131
11132         * text2.C (cursorDown): don't enter the inset if we came from a row
11133         above and are one row over the inset.
11134
11135         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11136         really leaving an inset.
11137
11138 2002-04-18  Juergen Vigna  <jug@sad.it>
11139
11140         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11141         of the selected paragraph does not have the selected layout also if
11142         the last one had!
11143
11144         * text2.C (setLayout): fixed bug which did not change last selected
11145         paragraph.
11146
11147         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11148         changed the read and substituted \\end_float with \\end_inset!
11149
11150         * BufferView_pimpl.C (cursorPrevious):
11151         (cursorNext): fixed to make it work with rows heigher than the work
11152         area without moving the cursor only the draw of the row.
11153         (workAreaMotionNotify): fix jumping over high rows.
11154
11155 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11156
11157         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11158         Ressler.
11159
11160 2002-04-16  Juergen Vigna  <jug@sad.it>
11161
11162         * text2.C (setCursor): set also the irow().
11163         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11164         (cursorUp):
11165         (cursorDown): support for locking an inset if the x_fix value goes
11166         inside it. That way I can transverse insets too with cursor up/down.
11167
11168         * lyxrow.h: added irow helper function same as other (i) functions.
11169
11170         * BufferView_pimpl.C (cursorPrevious):
11171         (cursorNext): fixed for insets!
11172
11173 2002-04-15  Juergen Vigna  <jug@sad.it>
11174
11175         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11176         position otherwise it is wrong in some cases.
11177
11178         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11179         inside the inset before the call.
11180
11181 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11182
11183         * buffer.[Ch] (getBibkeyList): make it const.
11184
11185 2002-04-12  Juergen Vigna  <jug@sad.it>
11186
11187         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11188
11189         * text2.C (getCursorX): new helper function
11190         (setCursor): compute also ix_
11191         (setCursorFromCoordinates): set also ix.
11192
11193         * lyxcursor.h: added ix_ and helper functions.
11194
11195         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11196
11197         * buffer.C (insertStringAsLines): dont break paragraph if the this
11198         paragraph is inside an inset which does not permit it!
11199
11200         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11201         also with no chars on this paragraph.
11202         (paintRowText): only paint stuff if it's inside the workarea!
11203
11204         * paragraph.C (breakParagraph): honor keepempty flag and break the
11205         paragraph always below not above.
11206
11207         * BufferView2.C (unlockInset): update the paragraph layout on inset
11208         unlock as we changed paragraph in such a case.
11209
11210         * lyxfind.C (LyXFind): clear the former selection if not found!
11211
11212         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11213         again called in insertChar().
11214
11215         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11216         an inset which uses the whole row!
11217         (rightMargin): ditto.
11218         (insertChar): force a rebreak if we inserted an inset!
11219
11220 2002-03-28  Herbert Voss  <voss@lyx.org>
11221
11222         * lyxlength.[Ch]: add inBP() to get the right PS-point
11223         units (BigPoint). With inPixels we have rounding errors
11224
11225 2002-04-11  Juergen Vigna  <jug@sad.it>
11226
11227         * text2.C (setCursorFromCoordinates): set iy to the right value.
11228         (setCursor): add check if row->previous exists!
11229
11230         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11231         an old float_type as this was the case in the old code!
11232
11233         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11234
11235         * BufferView2.C (showLockedInsetCursor): use iy
11236         (fitLockedInsetCursor): ditto
11237
11238         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11239         locked insets as there we have the right value now.
11240
11241         * lyxcursor.C: added iy_ variable and iy functions to set to the
11242         baseline of cursor-y of the locked inset.
11243
11244         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11245         (setCursor): fixed for insets which need a full row.
11246
11247         * text.C (rowLastPrintable): don't ignore the last space when before
11248         an inset which needs a full row.
11249         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11250         as last character of a row when before a inset which needs a full row.
11251
11252 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11253
11254         * version.C.in: update date
11255
11256         * text2.C (fullRebreak): try to always return true and see what
11257         happens...
11258
11259 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * MenuBackend.C (expand): use Floating::listName
11262
11263         * FloatList.C (FloatList): add listName argument to the built-in
11264         floats
11265
11266         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11267         text associated with the float.
11268
11269 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11272
11273 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * ShareContainer.h: add a couple of missing typenames.
11276
11277 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11278
11279         * lyxrc.C (getDescription): use _() correctly rather than N_().
11280
11281 2002-03-28  Herbert Voss  <voss@lyx.org>
11282
11283         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11284         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11285
11286 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11287
11288         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11289         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11290
11291 2002-03-29  Juergen Vigna  <jug@sad.it>
11292
11293         * lyxfunc.C (dispatch): add a missing fitCursor call.
11294
11295         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11296         it was scrolled by a cursor move, so return the bool status.
11297
11298         * BufferView.C (fitCursor): return the bool flag also to the outside
11299         world as this is needed.
11300
11301         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11302
11303         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11304         call the edit() as it is not needed (and wrong) IMO.
11305         (workAreaButtonPress): set the screen_first variable before evt.
11306         unlock the inset as this may change screen_first and then we have
11307         a wrong y position for the click!
11308
11309 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * MenuBackend.C (expand): another translation that I missed
11312
11313 2002-03-28  Juergen Vigna  <jug@sad.it>
11314
11315         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11316
11317         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11318
11319 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11322
11323         * MenuBackend.C (expand): fix export/view/update when there is no
11324         document open.
11325
11326 2002-03-27  Herbert Voss  <voss@lyx.org>
11327
11328         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11329         and text%
11330
11331 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * bufferview_funcs.C (currentState): only show paragraph number
11334         for is DEVEL_VERSION is set.
11335
11336         * lyxfunc.C (dispatch): put warning in INFO channel
11337
11338         * MenuBackend.C (expand): translate the name of floats
11339
11340         * FloatList.C (FloatList): mark the float names for translation
11341
11342         * converter.C (convert): use LibScriptSearch
11343
11344 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11345
11346         * MenuBackend.C (defaults): fix default menu (we might as well get
11347         rid of it...)
11348
11349 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11350
11351         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11352         directory.
11353
11354 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * lyxvc.C: reorder includes.
11357
11358 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11361           properly
11362
11363 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * CutAndPaste.C: change layouts earlier on paste
11366           to avoid crashing when calling getFont()
11367
11368 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11369
11370         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11371         irritating #error.
11372
11373 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * WorkArea.C: remove 'Pending' debug message.
11376
11377         * most files: ws cleanup
11378
11379         * buffer.[Ch]: ws changes
11380
11381         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11382
11383 2002-03-21  Juergen Vigna  <jug@sad.it>
11384
11385         * tabular.C (SetMultiColumn): collapse also the contents of the
11386         cells and set the last border right. Added a Buffer const * param.
11387
11388 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11389
11390         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11391         linking or not.
11392
11393 2002-03-19  Juergen Vigna  <jug@sad.it>
11394
11395         * text2.C (clearSelection): reset also xsel_cache.
11396
11397         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11398         where it needs to be called (John tells us to do so too :)
11399         (selectionLost): reset sel_cache.
11400
11401         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11402
11403 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11404
11405         * text2.C (setCursorIntern): put debuging code in INSETS channel
11406
11407 2002-03-19  André Pönitz <poenitz@gmx.net>
11408
11409         * lyxfunc.C: tiny whitespace change
11410
11411 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * ToolbarDefaults.C (init):
11414         * LyXAction.C (init):
11415         * commandtags.h:
11416         * BufferView_pimpl.C (Dispatch):
11417         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11418
11419 2002-03-19  Allan Rae  <rae@lyx.org>
11420
11421         * exporter.C (Export): removeAutoInsets before doing anything else.
11422         While I've just introduced a dependency on BufferView this really is
11423         the best place to clean the buffer otherwise you need to cleanup in
11424         a dozen places before calling export or cleanup in a dozen functions
11425         that export calls.
11426
11427         * converter.C (runLaTeX):
11428         (scanLog): Better handling of removeAutoInsets and screen updates.
11429
11430         * lyxfunc.C (dispatch): small whitespace changes
11431
11432 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * WorkArea.C (C_WorkAreaEvent): return a value.
11435         (event_cb): return 1 if we handled the event, 0 otherwise.
11436
11437         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11438
11439 2002-03-18  Juergen Vigna  <jug@sad.it>
11440
11441         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11442         (GetAdditionalWidth): ditto.
11443         (RightLine): ditto.
11444         (LeftLine): ditto.
11445
11446         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11447         inset if we're there actually (probably not used right now but this
11448         is the direction to go for unifying code).
11449         (paste): disable code to clear the selection.
11450
11451         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11452         inside an InsetText and move the check further up as it is in the
11453         wrong place.
11454
11455         * text2.C (pasteSelection): set a selection over the pasted text.
11456
11457 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11458
11459         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11460         and libgraphics to build on Cygwin.
11461
11462 2002-03-15  Juergen Vigna  <jug@sad.it>
11463
11464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11465         inserting an Inset into the paragraph. I know this is not the best
11466         fix but we already use current_view in CutAndPaste so we will remove
11467         all of it's using at the same time.
11468
11469         * buffer.C (sgmlError): deactivated function till it is rewritten in
11470         the right mode, now it can create problems.
11471
11472         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11473         before accessing it.
11474
11475 2002-03-14  Juergen Vigna  <jug@sad.it>
11476
11477         * undo_funcs.C (textHandleUndo): do the right thing when updating
11478         the inset after the undo/redo.
11479
11480         * text2.C (setCursor): just some testcode for #44 not ready yet.
11481
11482         * undo_funcs.C (textHandleUndo): set the next() and previous()
11483         pointers of the paragraph to 0 before deleting otherwise we have
11484         problems with the Paragraph::[destructor].
11485
11486         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11487         on a paragraph insertion.
11488
11489 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * buffer.C (asciiParagraph): use += operator for char append to
11492         string.
11493
11494         * paragraph.C (getFontSettings): compare >= not just >
11495         (highestFontInRange): ditto
11496         (setFont): ditto
11497
11498 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * paragraph.C: change several algorithm to be more appripriate for
11501         the problem domain. This is lookip in FontList and in the InsetList.
11502
11503 2002-03-13  André Pönitz <poenitz@gmx.net>
11504
11505         * commandtags.h:
11506         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11507
11508 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * commandtags.h:
11511         * LyXAction.C:
11512         * lyxfunc.C:
11513         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11514
11515 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * Painter.C (display): anon helper function, adjust code for this
11518         change.
11519         (pixmap): remove function.
11520
11521         * Painter.h: remove private display variable.
11522
11523         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11524
11525 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11526
11527         * WorkArea.[Ch]: remove figinset_canvas cruft.
11528
11529 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11530
11531         * lyxtextclass.C (operator): add one item cache optimization.
11532
11533         * bufferlist.h: doxy changes
11534
11535         * bufferlist.C: ws changes
11536
11537         * DepTable.[Ch] (ext_exist): place const in the right spot.
11538
11539         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11540         call resizeInsets.
11541         (workAreaExpose): call resizeInsets when the with BufferView changes.
11542         (Dispatch): adjust for protectedBlank removal
11543         (specialChar): call updateInset if the insert went ok.
11544
11545         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11546         specialChar instead.
11547
11548         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11549
11550         * BufferView.h: doxy change
11551
11552         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11553
11554         * lyxtextclass.C (operator[]): remove non-const version
11555         (defaultLayout): remove non-const version
11556
11557 2002-03-12  Juergen Vigna  <jug@sad.it>
11558
11559         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11560         did resize the LyXText too.
11561
11562         * buffer.C (readLyXformat2): set layout information on newly allocated
11563         paragraphs.
11564
11565         * tabular.C (OldFormatRead): set layout information on the paragraph.
11566
11567 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11568
11569         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11570
11571 2002-03-11  Juergen Vigna  <jug@sad.it>
11572
11573         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11574         plainly wrong.
11575         (resizeCurrentBuffer): force also the insets to resize themselfes.
11576         (moveCursorUpdate): fixed up for InsetText.
11577
11578 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11579
11580         * commandtags.h:
11581         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11582         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11583         value of Dialogs::tooltipsEnabled().
11584         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11585
11586 2002-03-08  Juergen Vigna  <jug@sad.it>
11587
11588         * BufferView_pimpl.C (updateInset): update inset inside inset also
11589         if it isn't inside theLockingInset().
11590
11591 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11592
11593         * buffer.C (asciiParagraph): redo some of the word and line length
11594         handling.
11595         (getLists): look for Caption instead of caption.
11596
11597 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * buffer.C (Buffer): initialize niceFile to true
11600         (makeLaTeXFile):
11601         (makeLinuxDocFile):
11602         (makeDocBookFile): make sure niceFile is true on exit
11603
11604 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11605
11606         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11607
11608 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11609
11610         * LyXSendto.C: remove.
11611         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11612         * lyx_gui.C: remove now-redundant comment.
11613         * ColorHandler.h: remove forward declaration of class WorkArea.
11614         * lyxfunc.C: remove #include "WorkArea.h".
11615
11616 2002-03-07  Juergen Vigna  <jug@sad.it>
11617
11618         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11619         got moved away with the DEPM and also set the inset_owner always
11620         right which before could have been omitted.
11621
11622 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11625         wanted layout is not found.
11626
11627 2002-03-07  Juergen Vigna  <jug@sad.it>
11628
11629         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11630
11631 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * paragraph.C (breakParagraph): use default layout not layout of
11634         prev paragraph.
11635         (Paragraph): clear ParagraphParameters.
11636
11637 2002-03-06  Juergen Vigna  <jug@sad.it>
11638
11639         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11640         otherwise it would not be a valid lenght. Fixed a special case in
11641         the minipage compatibility read where we end the document with a
11642         minipage.
11643
11644         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11645         was set as it could be 0 for InsetTexts first entry.
11646
11647 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * paragraph.C (writeFile): if layout is empty write out
11650         defaultLayoutName().
11651
11652         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11653         file without named layout we set layout to defaultLayoutName().
11654
11655 2002-03-06  Juergen Vigna  <jug@sad.it>
11656
11657         * CutAndPaste.C (copySelection): set layout for new paragraph.
11658
11659         * text.C (prepareToPrint): leave ERT inset left aligned
11660         (leftMargin): don't indent paragraphs inside ERT insets
11661
11662 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * paragraph.C (breakParagraph): dont call clear do the work manually
11665
11666         * paragraph.[Ch] (clear): remove function
11667
11668 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * paragraph.C (Paragraph): dont call clear, the work has already
11671         been done.
11672
11673         * lyxtextclass.C (operator): assert if n is empty
11674
11675         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11676         work manually instead.
11677
11678 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * BufferView_pimpl.C: protect selectionLost against text == 0
11681
11682 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * text.C (breakParagraph): fix a setting layout to '0' problem.
11685
11686 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11687
11688         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11689         final location of file, for the included files, and graphics.
11690
11691 2002-03-05  Juergen Vigna  <jug@sad.it>
11692
11693         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11694
11695 2002-03-04  Juergen Vigna  <jug@sad.it>
11696
11697         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11698
11699         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11700         last column of multicolumn cells.
11701         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11702
11703 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11704
11705         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11706         file if it doesn't go to a temporary file.
11707
11708         * buffer.C (sgmlOpenTag):
11709         (sgmlCloseTag):  remove extra newline insertion.
11710
11711 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * text.C (getRowNearY): comment out debug msg
11714
11715 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * text2.C: first -> first_y
11718
11719         * text.C (getRowNearY): add some attemts at a possible
11720         optimization, not working.
11721
11722         * tabular.[Ch]: add BufferParams to several function so that newly
11723         created paragraph can be initialized to he default layotu for the
11724         buffers textclass.
11725
11726         * tabular-old.C (ReadOld): add buf->params to call of Init
11727
11728         * screen.C: rename text->first to text->first_y
11729
11730         * paragraph.C (breakParagraph): always set layout in the broken
11731         paragraph
11732
11733         * lyxtextclass.C (Read): remove lowercase
11734         (hasLayout): ditto
11735         (operator): ditto
11736         (delete_layout): ditto
11737
11738         * lyxtext.h: rename first -> first_y
11739
11740         * lyxlayout.C (Read): remove lowercase
11741         (name): ditto
11742         (setName): ditto
11743         (obsoleted_by): ditto
11744
11745         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11746
11747         * buffer.C (insertErtContents): add params are to InsetERT
11748         (parseSingleLyXformat2Token): add code to check if a paragraphs
11749         layout really exist.
11750         (parseSingleLyXformat2Token): add params to several inset
11751         constructors
11752         (asciiParagraph): remove lowercase, do the layout comparisons with
11753         no_case
11754
11755         * BufferView_pimpl.C (cursorNext): first -> first_y
11756         (resizeCurrentBuffer): first -> first_y
11757         (updateScrollbar): first -> first_y
11758         (scrollCB): first -> first_y
11759         (workAreaMotionNotify): first -> first_y
11760         (workAreaButtonPress): first -> first_y
11761         (checkInsetHit): first -> first_y
11762         (cursorPrevious): first -> first_y
11763         (cursorNext): first -> first_y
11764         (Dispatch): add buffer_->params to severl inset contructors
11765
11766 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * lyxlayout.C (Read): remove some debug info that I forgot.
11769
11770         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11771         clean up the code slightly.
11772         (makeLinuxDocFile): ditto
11773         (makeDocBookFile): ditto
11774
11775         * text2.C: layout as string
11776
11777         * text.C: layout as string
11778
11779         * paragraph_pimpl.C: layout as string
11780
11781         * paragraph.[Ch]: layout as string
11782
11783         * lyxtextclasslist.[Ch]: layout as string
11784
11785         * lyxtextclass.[Ch]: layout as string
11786
11787         * lyxtext.h: layout as string
11788
11789         * lyxlayout.[Ch]: layout as string
11790
11791         * lyx_cb.C: layout as string
11792
11793         * bufferview_funcs.C: layout as string
11794
11795         * bufferparams.C: layout as string
11796
11797         * buffer.C: layout as string
11798
11799         * LyXView.[Ch]: layout as string
11800
11801         * LaTeXFeatures.[Ch]: layout as string
11802
11803         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11804
11805         * BufferView_pimpl.C: change current_layout to string, remove
11806         lyx::layout_type.
11807         (Dispatch):
11808         (smartQuote):
11809         (insertInset):
11810         (workAreaButtonRelease): layout as string
11811
11812         * BufferView2.C (unlockInset): adjust
11813
11814         * vspace.C (asLatexCommand): use an explict temp variable.
11815
11816 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * Makefile.am: use FRONTEND_*
11819
11820 2002-03-01  Juergen Vigna  <jug@sad.it>
11821
11822         * tabular.C (SetWidthOfMulticolCell): changed to something better
11823         I hope but still work in progress.
11824         (recalculateMulticolumnsOfColumn): renamed function from
11825         recalculateMulticolCells as it is more appropriate now.
11826         (SetWidthOfCell): calculate multicols better.
11827
11828 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11831
11832         * lyxfunc.C (processKeySym): print sequence also if it is
11833         `deleted' (complete)
11834
11835         * kbsequence.C (print): print sequence even if it is deleted
11836         (complete would be a better word, actually).
11837
11838         * lyxfunc.C (dispatch): print complete options after a prefix key
11839
11840         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11841
11842 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11843
11844         * text2.C (setCharFont): eliminate setCharFont code duplication.
11845
11846 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11847
11848         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11849         LFUN_TABULAR_FEATURE (bug #177)
11850
11851 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * Makefile.am: remove figure.h
11854
11855 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11856
11857         * Bufferview_pimpl.C:
11858         * CutAndPasteC:
11859         * LaTeX.C:
11860         * LyXSendto.C:
11861         * buffer.C:
11862         * bufferlist.C:
11863         * converter.C:
11864         * language.C:
11865         * lyxfunc.C:
11866         * lyxvc.C:
11867         * paragraph.C:
11868         * text.C:
11869         * text2.C: remove #include "lyx_gui_misc.h".
11870
11871         * LaTeX.C: added #include <cstdio>
11872
11873 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11876         that the paragraph following this one can have.
11877
11878         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11879
11880         * vspace.C (asLatexCommand): fix bogus gcc warning
11881
11882         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11883
11884 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11885
11886         * text2.C (setLayout): get rid of redundant code
11887
11888 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11889
11890         * text2.C (incDepth): make sure depth cannot be increased beyond
11891         reasonable values.
11892
11893 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11896         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11897
11898         * PainterBase.h (image):
11899         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11900         a LyXImage const *.
11901
11902 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * BufferView.C:
11905         * BufferView.h:
11906         * BufferView_pimpl.C:
11907         * BufferView_pimpl.h:
11908         * LaTeXFeatures.C:
11909         * LyXAction.C:
11910         * LyXView.C:
11911         * Makefile.am:
11912         * UpdateList.h:
11913         * UpdateList.C:
11914         * buffer.C:
11915         * figure.h:
11916         * figureForm.C:
11917         * figureForm.h:
11918         * figure_form.C:
11919         * figure_form.h:
11920         * lyx_cb.C:
11921         * lyx_gui.C:
11922         * lyx_gui_misc.C:
11923         * lyxfunc.C:
11924         * sp_base.h:
11925         * sp_ispell.h:
11926         * sp_pspell.h:
11927         * sp_spell.C: remove fig inset, and the crap house of
11928           cards that follows it
11929
11930 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * Makefile.am:
11933         * lyxserver.C:
11934         * os2_defines.h:
11935         * os2_errortable.h:
11936         * nt_defines.h: move .h into support/
11937
11938         * vms_defines.h: remove
11939
11940         * WorkArea.C: add space in debug output
11941
11942         * text2.C:
11943         * paragraph.C:
11944         * buffer.C: add WITH_WARNINGS
11945
11946         * vc-backend.h:
11947         * vc-backend.C:
11948         * bufferlist.C: s/retrive/retrieve/, add docs
11949
11950         * vspace.h:
11951         * vspace.C:
11952         * kbmap.h:
11953         * lyxlength.h:
11954         * lyxgluelength.h:
11955         * length_common.h:
11956         * chset.h:
11957         * chset.C: add docs
11958
11959         * lyxgui.C: add ID to X error handler
11960
11961         * lyxtestclass.c: fix typo
11962
11963 2002-02-26  Juergen Vigna  <jug@sad.it>
11964
11965         * tabular_funcs.C (write_attribute): changed so that some default
11966         attributes are not written at all.
11967         (getTokenValue): set default values before trying to read the
11968         value so we have the return value always set as default if we don't
11969         find the token we search for.
11970
11971         * tabular.C (Write): write bools as bools not as strings!
11972
11973 2002-02-22  Juergen Vigna  <jug@sad.it>
11974
11975         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11976         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11977
11978         * text.C (leftMargin): don't add an indent for paragraphs inside
11979         tabular cells (fix #208).
11980
11981 2002-02-21  José Matos  <jamatos@fep.up.pt>
11982
11983         * tabular.C (docBook): fixed support for long tables.
11984
11985 2002-02-20  Juergen Vigna  <jug@sad.it>
11986
11987         * text2.C (getFont): get the drawing font of the Inset if this
11988         paragraph is inside an inset (only important for InsetERT for now).
11989
11990         * buffer.C (insertErtContents): use new lanugage params in ERT
11991         constructor.
11992
11993         * CutAndPaste.C: commenting out seemingly uneeded code.
11994
11995 2002-02-19  Allan Rae  <rae@lyx.org>
11996
11997         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11998         Iterators might be simple to use but they also get invalidated.
11999         (removeAutoInsets): renamed saved cursor tracking variables and added
12000         some comments to clarify what everything does.
12001
12002 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * Chktex.C:
12005         * LaTeX.C:
12006         * LyXSendto.C:
12007         * converter.C:
12008         * lyx_cb.C:
12009         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12010         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12011
12012         * lyxfunc.C:
12013         * vc-backend.h: remove #include "support/syscall.h"
12014
12015         * LaTeX.C:
12016         * LyXSendto.C:
12017         * converter.C: rearrange #includes in Lars' approved fashion.
12018
12019         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12020         forward declare class Timeout in the header file.
12021
12022         * XFormsView.C: changes due to the above.
12023
12024         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12025         similar to LyXView.
12026
12027         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12028         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12029
12030 2002-02-18  José Matos  <jamatos@fep.up.pt>
12031
12032         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12033         insets contents.
12034
12035 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12036
12037         * a lot of small ws changes
12038         * add a lot of using std::XXX
12039         * use std construcs some places where approp.
12040         * use some exisint stuff from lyxfunctional where approp.
12041         * Make file changes to use partial linking (lets test this now...)
12042
12043 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12044
12045         * Chktex.C:
12046         * buffer.C:
12047         remove #include "support/syscontr.h" as it's redundant. Always has been.
12048
12049         * Chktex.C:
12050         * LaTeX.C:
12051         * LyXSendto.C:
12052         * converter.C:
12053         * lyx_cb.C:
12054         * vc-backend.C:
12055         change Systemcalls::System to Systemcalls::Wait and
12056         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12057         No change of functionality, just reflects the stripped down Systemcalls
12058         class.
12059
12060 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12061
12062         * debug.[Ch]: add a GRAPHICS type to the enum.
12063
12064 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12065
12066         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12067
12068         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12069         there is an inset.
12070
12071 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12074         match the changes below.
12075
12076         * text2.C (toggleInset): if there is not editable inset at cursor
12077         position, try to see if cursor is _inside_ a collapsable inset
12078         and close it.
12079
12080 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12081
12082         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12083         document menu has a nice checkbox
12084
12085 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * lyxlength.C (asLatexString): change PW to output as percent of
12088         \textwidth.
12089
12090         * lengthcommon.C: change '%' to 't%'
12091
12092         * lyxfunc.C (dispatch): a few comments from Martin
12093
12094 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * WorkArea.h:
12097         * WorkArea.C:
12098         * BufferView_pimpl.h:
12099         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12100           the X selection.
12101
12102 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * vspace.C (inPixels): fix compiler warning
12105
12106 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * lyxfunc.C (getStatus): fix status message for disabled commands.
12109
12110 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * BufferView_pimpl.C: fix crash on close buffer
12113         during selection (#227)
12114
12115 2002-01-27  Herbert Voss  <voss@lyx.org>
12116
12117         * buffer.C: link old Figure to new graphic inset
12118
12119 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12120
12121         * FontLoader.C (getFontinfo): Change the latex font names in order
12122         to match the names of type1inst.
12123
12124 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12127
12128         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12129         (extchanged): ditto
12130         (ext_exist): ditto
12131         (remove_files_with_extension): ditto
12132         (remove_file): ditto
12133         (write): ditto
12134
12135         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12136         document is smaller than the work area height. Do not initialize
12137         static variables to 0.
12138
12139 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12142
12143         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12144         LFUN_LAYOUT_PARAGRAPHS.
12145
12146         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12147         tabular. It is possible to provide a possible cell, which will
12148         typically be the actcell from the corresponding insettabular
12149
12150         * lyxfunc.C (getStatus): small cleanup; disable
12151         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12152         true
12153
12154 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12155
12156         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12157
12158         * paragraph.C (startTeXParParams):
12159         (endTeXParParams): new methods. The LaTeX code to
12160         start/end paragraph formatting
12161         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12162         empty (fixes bug #200)
12163
12164         * vspace.C (inPixels): adapt to the change below
12165         (inPixels): [later] more cleanups (remove unused variables)
12166
12167         * lyxlength.C (inPixels): change to use a width and a height as
12168         parameter.
12169
12170 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12171
12172         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12173         Replaced with \paperwidth
12174
12175         * DepTable.C (insert): add std:: qualifier
12176
12177 2002-01-18  Allan Rae  <rae@lyx.org>
12178
12179         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12180         updated also?
12181
12182         * text.C (drawInset): Turned out I didn't know enough about how
12183         rebreaking worked.  This fixes most of the redraw problems.  I see
12184         an occasional cursor trail when a line is broken now and the cursor
12185         placement can seem out by a few pixels also after a rebreak.
12186
12187 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12188
12189         * buffer.C (parseSingleLyXformat2Token): update because minipage
12190         width is now a LyXLength
12191
12192         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12193
12194         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12195         math insets
12196
12197 2002-01-17  Juergen Vigna  <jug@sad.it>
12198
12199         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12200
12201         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12202         is set correctly and the inset is updated correctly.
12203
12204 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12205
12206         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12207         the beginning of the loop.
12208
12209 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * lyxrc.C: improve help for use_scalable_fonts
12212
12213 2002-01-17  Allan Rae  <rae@lyx.org>
12214
12215         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12216
12217 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12220         make sure to set their inset_owner to the right value (bug #171)
12221
12222 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12223
12224         * DepTable.h
12225         * DepTable.C: Implement mtime checking to reduce time spent doing
12226         CRCs.
12227
12228 2002-01-16  Juergen Vigna  <jug@sad.it>
12229
12230         * tabular.C (GetAdditionalHeight): one of error fixed.
12231
12232         * lyxrc.C (output): small fix in writing use_pspell.
12233
12234 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12235
12236         * sp_base.h: #include LString.h
12237
12238 2002-01-16  Allan Rae  <rae@lyx.org>
12239
12240         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12241         Can someone check this please?
12242
12243         * text.C (drawInset): It was possible that p.row would be removed by
12244         breakAgainOneRow upsetting a few other settings.  There may be another
12245         small tweak possible by setting need_break_row = 0 when p.row has been
12246         removed but I don't know enough about the logic here.
12247
12248 2002-01-15  Allan Rae  <rae@lyx.org>
12249
12250         * text.C (insertChar): removed conditional truism.
12251
12252         * BufferView2.C (removeAutoInsets): More tweaks.
12253         cur_par_prev could be a stray pointer.  Check for trailing empty line
12254         in case last line was cur_par and only had an error inset on it.
12255
12256 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12257
12258         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12259         absolute
12260
12261         * vc-backend.C (most methods):
12262         * exporter.C (Export):
12263         * converter.C (convert):
12264         (runLaTeX):
12265         * LyXSendto.C (SendtoApplyCB):
12266         * lyxfunc.C (dispatch):
12267         (menuNew):
12268         (open):
12269         (doImport):
12270         * lyx_cb.C (AutoSave):
12271         (InsertAsciiFile):
12272         * BufferView_pimpl.C (MenuInsertLyXFile):
12273         * buffer.C (runChktex): use Buffer::filePath().
12274
12275         * buffer.h: rename filename to filename_; rename filepath to
12276         filepath_ and make it private
12277         (filePath): new method
12278
12279         * buffer.C (writeFile): use fileName()
12280         (getLatexName):
12281
12282         * lyx_main.C (init): fix starting  of LyX when the binary is a
12283         link from so,ewhere else.
12284
12285         * minibuffer.C: include <cctype> for isprint
12286
12287 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12290         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12291         name clash with InsetCollapsable's width function.
12292
12293 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * lastfiles.C: include <iterator>
12296
12297 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12300         std::count.
12301
12302         * buffer.C (makeLaTeXFile): ditto.
12303         Also make loop operation more transparent.
12304
12305 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * ToolbarDefaults.C: remove trailing comma closing namespace.
12308
12309         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12310
12311         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12312         as in WorkArea.
12313
12314         * trans.C (Load): comment out unused variable, allowed.
12315
12316 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12317
12318         * minibuffer.[Ch] (append_char): new method to recieve input from the
12319         drop-down completion browser. If a key was pressed, then recieve this
12320         char and append it to the existing string.
12321         (peek_event): modify the positioning data passed to the completion
12322         browser so that it can be placed above the minibuffer rather than below.
12323 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * LyXAction.C (init): alloe error-next for readonly documents.
12326
12327         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12328         count.
12329
12330 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12331
12332         * bufferlist.C (readFile): create the buffer _after_ checking that
12333         the file exists.
12334
12335         * lyxfunc.C (verboseDispatch): fix handling of arguments
12336
12337         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12338
12339         * lyxrc.C: use string::erase() instead of initializing to "".
12340
12341
12342 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * BufferView_pimpl.h:
12345         * BufferView_pimpl.C:
12346         * WorkArea.h:
12347         * WorkArea.C:
12348         * text2.C: tell X when we have made a selection for copying
12349
12350 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12351
12352         * BufferView_pimpl.C (MenuInsertLyXFile):
12353         * lyxfunc.C (menuNew):
12354         (open):
12355         (doImport): add shortcuts to directory buttons
12356
12357         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12358         open a float)
12359
12360         * lyxfunc.C (setStatusMessage):
12361         (getStatusMessage): new methods
12362         (getStatus):use setStatusMessage instead of setErrorMessage
12363         (dispatch): when function is disabled, set error message here
12364         [instead of in getStatus previously]
12365
12366         * BufferView_pimpl.C (workAreaButtonRelease): update
12367         toolbar/menubar here too.
12368
12369 2002-01-13  Allan Rae  <rae@lyx.org>
12370
12371         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12372         Now seems indestructible.  Remaining task is to audit all other
12373         code affected by deleteEmptyParagraphMechanism.  One small quirk
12374         left is that an empty document with an error in the preamble can
12375         be made to report an error but no error box appears.  I don't know
12376         where it goes.
12377         (removeAutoInsets): Improved comments.
12378
12379 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * Thesaurus.h:
12382         * Thesaurus.C: update for Aiksaurus 0.14
12383
12384 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * text2.C (firstParagraph): removed member function, all uses
12387         replaces with ownerParagraph
12388         (redoParagraphs): here
12389         (updateInset): here
12390         (toggleAppendix): here
12391         * BufferView2.C (insertErrors): here
12392         (setCursorFromRow): here
12393
12394 2002-01-13  Allan Rae  <rae@lyx.org>
12395
12396         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12397         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12398         There is still a way to segfault this although you may have to do this
12399         multiple times: Have an InsetERT with an unknown command in it.
12400         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12401         <down-arrow>, <Enter> again, View->DVI, BANG!
12402
12403         * text2.C (setCursor):
12404         (deleteEmptyParagraphMechanism):
12405         * lyxtext.h (setCursor):
12406         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12407         Making use of the return value may help fix other bugs.
12408
12409 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12412
12413         * LyXView.C (updateMenubar): call MenuBar::update here
12414         (updateToolbar): but not here
12415         (showState): do not update toolbar/menubar
12416
12417         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12418         should need to care about that.
12419
12420         * lyxfunc.C (verboseDispatch): simplify a bit
12421         (getStatus): have a version which takes a pseudoaction, and
12422         another which requires a (kb_action,string).
12423
12424         * LyXAction.C (retrieveActionArg): make it work also when action
12425         is not a pseudo-action.
12426         (getActionName): simplify a bit
12427         (helpText):
12428
12429 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12430
12431         * lyxfunc.C (verboseDispatch): new families of methods with
12432         several ways to specify a command and a bool to indicate whether
12433         the command name and shortcut should be displayed in minibuffer
12434         (eventually, we could extend that to a finer bitmask like
12435         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12436         (dispatch): the pristine dispatch command which just, well,
12437         dispatchs! Note it still sets its result to minibuffer; I'm not
12438         sure we want that.
12439
12440         * lyxfunc.h: remove setHintMessage
12441
12442         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12443
12444 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12445
12446         * BufferView_pimpl.C (specialChar): delete new inset if we have
12447         not been able to insert it.
12448
12449         * kbmap.C: revert to using int instead of kb_action, since all we
12450         are dealing with is pseudo-actions.
12451
12452         * LyXAction.C (searchActionArg): change to return int instead of
12453         kb_action, since the result is a pseudoaction.
12454
12455 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * buffer.C (insertErtContents): Fix (partially) the font bug.
12458
12459 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12462         as the other one is broken on my machine!
12463
12464 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12465
12466         * commandtags.h:
12467         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12468
12469 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12470
12471         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12472         reflect their actual use. Provide compatibility code for older lyxrc
12473         files.
12474
12475         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12476         FL_NORMAL_STYLE.
12477         change names of popup font variables in line with the changes to lyxrc.C
12478
12479 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12480
12481         * buffer.C (asciiParagraph): avoid outputing a word twice after
12482         an inset.
12483
12484         * lyxrc.C (getDescription): document that document_path and
12485         template_path can be empty.
12486
12487 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12488
12489         * LaTeXFeatures.C (getMacros):
12490         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12491
12492         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12493
12494         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12495         getPackages.
12496         (getPackages): rename feature "floats" to "float". Use an array to
12497         iterate over 'simple' features (i.e. just a \usepackage). Add
12498         handling of "amsmath" (renamed from "amsstyle").
12499
12500 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12501
12502         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12503         features list.
12504
12505 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12508         FuncStaus::FuncStatus & FuncStaus::some_method().
12509
12510 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12511
12512         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12513         of the func_satus stuff. Edited and massaged in various ways by
12514         JMarc.
12515
12516         * lyxfunc.C (getStatus): use FuncStatus
12517
12518 2002-01-08  Juergen Vigna  <jug@sad.it>
12519
12520         * text.C (nextBreakPoint): use function Inset::isChar().
12521
12522         * paragraph.C (TeXOnePar): use function
12523         Inset::forceDefaultParagraphs.
12524
12525         * buffer.C (latexParagraphs): use function
12526         Inset::forceDefaultParagraphs.
12527
12528 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12529
12530         * lyx_gui.C (init): set the style of the menu popups to
12531         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12532
12533 2002-01-07  Juergen Vigna  <jug@sad.it>
12534
12535         * text.C (setHeightOfRow): small fix
12536         (prepareToPrint): don't look at alignment if we don't have the place
12537         for doing it.
12538
12539 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12540
12541         * box.C: New file. Move the Box methods and functions out of box.h,
12542         following Lars' suggestion.
12543
12544 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12545
12546         * box.h: #include "support/LOstream.h", needed for inlined function.
12547
12548         * lyxtextclass.C:
12549         * lyxtextclasslist.C: added some using std declarations.
12550
12551 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * box.h: make signed dimensions to allow insets wider than
12554           the screen (bug #162)
12555
12556         * BufferView_pimpl.C: add some insetHit debug
12557
12558 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * vc-backend.C: add FIXME
12561
12562 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12563
12564         * lyxfunc.C (getStatus): enable code for showing math font status
12565         in toolbar/menu.
12566
12567 2002-01-07  Juergen Vigna  <jug@sad.it>
12568
12569         * text.C (nextBreakPoint): removed debug output not needed anymore.
12570
12571 2002-01-06  Juergen Vigna  <jug@sad.it>
12572
12573         * text.C (nextBreakPoint): fixed up this function we had this bug
12574         since ever but now hopefully we break row better.
12575         (insertChar): we have to check if an inset is the next char as it
12576         could now happen that a large inset is causing a break.
12577
12578 2002-01-05  Juergen Vigna  <jug@sad.it>
12579
12580         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12581         if it doesn't like to be drawed.
12582
12583 2002-01-04  Juergen Vigna  <jug@sad.it>
12584
12585         * BufferView2.C (lockInset): forgot to set a cursor.
12586
12587         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12588
12589 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12590
12591         * FormMathsPanel.C:
12592         * FormMathsPanel.h
12593         * MathsSymbols.C:
12594         * form_maths_panel.C:
12595         * form_maths_panel.h:
12596         * form_maths_panel.fd: implemented sub- and super- buttons in math
12597         panel.
12598
12599         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12600         (or ^ space) to be used as in TeX (req'd by André).
12601
12602         * lyxfunc.C: Allow ^ and _ again to be used both as
12603         super/subscript (mathed) and as themselves (in text).
12604
12605 2002-01-03  Allan Rae  <rae@lyx.org>
12606
12607         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12608         "LyX" or the filename of the current buffer if it has one.  This is a
12609         modified form of John Levon's patch.
12610
12611         * XFormsView.C (setWindowTitle): also set icon title.
12612
12613         * LyXView.h (setWindowTitle): signature changed.
12614         * XFormsView.h (setWindowTitle): ditto.
12615
12616 2002-01-02  Juergen Vigna  <jug@sad.it>
12617
12618         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12619
12620 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12621
12622         * screen.C (topCursorVisible): introduce a temp var for
12623         text->cursor.row(), handle the case where this row is null. (kindo
12624         hachish)
12625
12626         * text2.C (setCursor): add a couple of asserts.
12627
12628         * paragraph.h (inset_iterator): add -> operator
12629
12630         * paragraph.[Ch] (autoDeleteInsets): remove member function
12631
12632         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12633         cursor pos correctly and handle inset deletion by itself.
12634         (insertErrors): move iterator declaration out of for expression
12635
12636         * lyxtextclass.C: add <algorithm>
12637
12638         * Makefile.am: added the new files to sources, removed layout.C
12639
12640         * layout.C: removed file
12641
12642         * layout.h: remove LYX_DUMMY_LAYOUT
12643
12644         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12645         layout.
12646
12647         * lyxlayout.[Ch]:
12648         * lyxtextclass.[Ch]:
12649         * lyxtextclasslist.[Ch]: new files
12650
12651         * include order changes to a lot of files, also changes because of
12652         the six new files.
12653
12654 2001-12-27  Juergen Vigna  <jug@sad.it>
12655
12656         * buffer.C (asciiParagraph): more fixes.
12657
12658         * tabular.C (ascii): make ascii export support export of only the
12659         data separated by a column-delimiter.
12660         (ascii): better support for ascii export.
12661
12662         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12663
12664 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12665
12666         * tabular_funcs.C: use a "using std::getline" instead of the
12667         previous fix from Angus (necessary for cxx + lyxstring)
12668
12669 2001-12-24  Juergen Vigna  <jug@sad.it>
12670
12671         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12672
12673         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12674         problems. First check a minipage also if we have some ert-contents
12675         (not only on par->size(), second set the right depth of the paragraph
12676         on the relink to the root-paragraph-list!
12677
12678         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12679         which then did not anymore update the main paragraphs on undo/redo!
12680
12681 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12684         code. Support all font-changing funcs (even those which are not in
12685         menu currently). Support for reporting font settings in
12686         mathed (disabled until Andre provides a function on mathed's side).
12687
12688         * func_status.h (toggle): small helper function to set toggle
12689         state on a flag.
12690
12691 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * tabular_funcs.C: getline -> std::getline
12694
12695 2001-12-21  Juergen Vigna  <jug@sad.it>
12696
12697         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12698         accessed and could be 0 (I couldn't generate this but it seems
12699         Michael could!).
12700
12701 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12704         * tabular_funcs.h: here and include iosfwd
12705
12706 2001-12-20  Juergen Vigna  <jug@sad.it>
12707
12708         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12709         inside inset but undo_par was.
12710
12711 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12712
12713         * Thesaurus.C: always include <config.h> in sources.
12714
12715         * Painter.h:
12716         * lyxlookup.h:
12717         * box.h: do not include <config.h> in header files
12718
12719         * text.C (paintLastRow): remove unused variable
12720
12721         * text.C (transformChar):
12722         (insertChar):
12723         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12724
12725         * Painter.C (text):
12726         * font.C (width): rewrite to use uppercase() instead of
12727         islower/toupper.
12728
12729         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12730
12731 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * lyxfind.C: clean up of find failure position change
12734
12735 2001-12-20  Juergen Vigna  <jug@sad.it>
12736
12737         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12738
12739         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12740         (TeXRow): added to LaTeX a single tabular row.
12741         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12742         (Latex): simplified and finally good LT-h/f support.
12743         (various_functions): just small adaptions for LT-h/f support.
12744
12745         * tabular_funcs.[hC]: added and moved here all not classfunctions
12746         of LyXTabular.
12747
12748 2001-12-19  Juergen Vigna  <jug@sad.it>
12749
12750         * tabular.[Ch]: better support for longtabular options (not finished
12751         yet!)
12752
12753 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12754
12755         * text.C (paintLastRow): use the label font instead of the font of
12756         the last character to compute the size of *_BOX. This makes more
12757         sense and avoids a crash with empty paragraphs.
12758         Use Painter::rectangle to draw EMPTY_BOX.
12759
12760 2001-12-19  Juergen Vigna  <jug@sad.it>
12761
12762         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12763         the paragraphs if the replaced paragraph is not the first one!
12764         Tried to delete not used paragraphs but does not work yet so for
12765         now it's inside #ifdef's and by default off!
12766
12767 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12768
12769         * MenuBackend.C: include "lyx_main.h" instead of declaring
12770         lastfiles (actually was declared as LastFiles* instead of a
12771         scoped_ptr).
12772
12773 2001-12-17  Juergen Vigna  <jug@sad.it>
12774
12775         * tabular.C (AppendColumn): applied John's fix
12776
12777 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12778
12779         * BufferView.h:
12780         * BufferView.C:
12781         * BufferView_pimpl.h:
12782         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12783
12784         * Makefile.am:
12785         * box.h: new start of class for above
12786
12787         * lyxfunc.C: ignore space-only minibuffer dispatches.
12788           Show the command name when it doesn't exist
12789
12790         * minibuffer.C: don't add empty lines to the history
12791
12792         * minibuffer.C: add a space on dropdown completion
12793
12794 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * text.C: fix line above/below drawing in insets
12797
12798 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * lyxlength.C (LyXLength): Initialize private variables.
12801
12802 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12803
12804         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12805         when inserting error insets.
12806
12807 2001-12-13  Juergen Vigna  <jug@sad.it>
12808
12809         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12810         actually sometimes the before-paragraph.
12811         (setUndo): don't clear the redostack if we're not actually undoing!
12812
12813 2001-12-06  Juergen Vigna  <jug@sad.it>
12814
12815         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12816         and fixed redoing of main paragraph, so we can use it now ;)
12817
12818         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12819
12820 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12821
12822         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12823         Juergen's request
12824
12825 2001-12-13  André Pönitz <poenitz@gmx.net>
12826
12827         * undostack.[Ch]:
12828         * undo_func.C: minor cleanup
12829
12830 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12833         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12834         font in urw-fonts package which is marked as -urw-fontspecific and
12835         does not work (incidentally, changing the encoding in the
12836         fonts.dir of this package to -adobe-fontspecific fixes the
12837         problem).
12838
12839         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12840         is a crash when undoing first paragraph (Juergen, please take a
12841         look). THis does not mean the undo fix is wrong, just that it
12842         uncovers problems.
12843
12844         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12845         the (Paragraph*) version when needed instead of duplicating the
12846         code.
12847
12848         * text.C (workWidth): use Inset::parOwner to find out where the
12849         inset has been inserted. This is a huge performance gain for large
12850         documents with lots of insets. If Inset::parOwner is not set, fall
12851         back on the brute force method
12852
12853         * paragraph_pimpl.C (insertInset):
12854         * paragraph.C (Paragraph):
12855         (cutIntoMinibuffer): set parOwner of insets when
12856         inserting/removing them
12857
12858         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12859
12860 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12861
12862         * commandtags.h:
12863         * LyXAction.C:
12864         * lyx_main.C:
12865         * lyxfunc.C:
12866         * mathed/formulabase.C:
12867         * mathed/math_cursor.[Ch]:
12868         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12869
12870
12871 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * lyxlength.[Ch] (operator!=): new function
12874
12875 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12876
12877         * text.C (workWidth): use Inset::parOwner to find out where the
12878         inset has been inserted. This is a huge performance gain for large
12879         documents with lots of insets. If Inset::parOwner is not set, fall
12880         back on the brute force method
12881
12882         * paragraph_pimpl.C (insertInset):
12883         * paragraph.C (Paragraph):
12884         (cutIntoMinibuffer): set parOwner of insets when
12885         inserting/removing them
12886
12887         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12888
12889 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * tabular-old.C (getTokenValue):
12892         * tabular.C (getTokenValue):
12893         (write_attribute): new versions for LyXLength
12894         (everywhere): adjust the use of widths
12895
12896         * tabular.h: change the type of widths from string to LyXLength
12897
12898 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12899
12900         * paragraph.C: fixed missing line number count when exporting
12901         Environments to LaTeX file
12902
12903         * buffer.C: added informational message for checking line numbers.
12904
12905 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12908         paragraph, do the 'double space' part, but not the 'empty
12909         paragraph' one.
12910
12911         * text.C (workWidth): small optimization
12912         (getLengthMarkerHeight): use minimal size for negative lengths.
12913
12914 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12917
12918         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12919
12920 2001-12-11  André Pönitz <poenitz@gmx.net>
12921
12922         * FontLoader.C:
12923         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12924
12925 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * text2.C: keep selection on a setFont()
12928
12929 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * lyx_cb.C: another bv->text misuse, from insert label
12932
12933 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * kbsequence.h:
12936         * kbsequence.C: re-instate nmodifier mask
12937
12938 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12939
12940         * lyx_main.h: make lyxGUI private.
12941
12942 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * lyxfind.C: place the cursor correctly on failed search
12945
12946 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12947
12948         * text.C (getLengthMarkerHeight): for small heights, the arrows
12949         are not always on top/bottom of the text
12950         (drawLengthMarker): smaller arrows; take the left margin in
12951         account; draw also vfills.
12952         (paintFirstRow):
12953         (paintLastRow): remove special code for vfill and standard spaces,
12954         since everything is handled in drawLengthMarker now.
12955
12956 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * buffer.C (insertErtContents): try to handle font and language
12959         interaction a bit better.g
12960
12961         * ColorHandler.C (updateColor): change the hash to cover the whole
12962         LColor enum, ws cleanup
12963         (getGCLinepars): ditto
12964         (getGCLinepars): only lookup in the linecache once.
12965
12966 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12967
12968         * iterators.C (operator++): Make the iterator more robust
12969
12970         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12971         (John's patch)
12972         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12973
12974 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12975
12976         * lyxtext.h:
12977         * text.C: better added space drawing
12978
12979 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * LyXView.C:
12982         * BufferView2.C: fix layout combo update on inset unlock
12983
12984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * Makefile.am: don't compile unused files
12987
12988 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12989
12990         * lyxfunc.C:
12991         * commandtags.h:
12992         * LyXAction.C: remove old LFUN_LAYOUTNO
12993
12994 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * paragraph_pimpl.h:
12997         * paragraph_pimpl.C: isTextAt() doesn't need font param
12998
12999 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * lyxlex.h:
13002         * lyxlex.C: little cleanup
13003
13004 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView_pimpl.C: fix insertAscii for insets
13007
13008 2001-12-05  Juergen Vigna  <jug@sad.it>
13009
13010         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13011         set the right font on the "multi" paragraph paste!
13012
13013 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * trans_decl.h:
13016         * trans_mgr.[Ch]:
13017         * trans.[Ch]:
13018         * lyxgluelength.C:
13019         * lyxlength.C: remove out-commented code.
13020
13021         * BufferView_pimpl:
13022         * CutAndPaste.C:
13023         * DepTable.C:
13024         * buffer.C:
13025         * chset.C:
13026         * lastfiles.C:
13027         * lyxlex.C:
13028         * lyxlex_pimpl.C:
13029         * lyxserver.C:
13030         * screen.C:
13031         * tabular-old.C:
13032         * tabular.C:
13033         * text.C:
13034         * trans_mgr.C:
13035         * vc-backend.C: change "while(" to "while ("
13036
13037         * lyxlength.[Ch]: add zero function to check if length is zero or
13038         not
13039         * lyxgluelength.C: use it
13040
13041 2001-12-05  Allan Rae  <rae@lyx.org>
13042
13043         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13044         Works for 2.95.3, from what I understand of Garst's reports this should
13045         work for other g++ versions.  We're screwed if the abs(int) definition
13046         changed between bugfix releases of gcc.
13047
13048 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13049
13050         * text.C: fix chapter label offset !
13051
13052 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13053
13054         * lyxtext.h:
13055         * text.C: fix hfill at end of line, clean up
13056
13057 2001-12-04  Juergen Vigna  <jug@sad.it>
13058
13059         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13060         that we force an update of the inset and it's owners if neccessary.
13061
13062 2001-12-03  Juergen Vigna  <jug@sad.it>
13063
13064         * text.C (rowLast): simplified code
13065
13066 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13067
13068         * lyxfunc.C: fix show options on timeout
13069
13070 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * screen.C (topCursorVisible): scroll half a page when the cursor
13073         reached top of bottom of screen
13074
13075 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * minibuffer.C: deactivate on loss of focus
13078
13079 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * vspace.[Ch] (operator!=): add operator.
13082
13083 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * BufferView_pimpl.C: refuse to open an inset when
13086         there's a selection.
13087
13088 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * BufferView_pimpl.C: allow to click on RHS of full row insets
13091
13092 2001-11-30  Juergen Vigna  <jug@sad.it>
13093
13094         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13095         insets for undo reasons.
13096
13097 2001-11-28  André Pönitz <poenitz@gmx.net>
13098
13099         * vspace.[Ch]: cosmetical changes
13100
13101 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * LyXAction.h:
13104         * LyXAction.C:
13105         * lyxfunc.h:
13106         * lyxfunc.C:
13107         * kbmap.h:
13108         * kbmap.C:
13109         * lyxrc.C:
13110         * kbsequence.h:
13111         * kbsequence.C: part re-write of old kb code
13112
13113         * Painter.C:
13114         * WorkArea.C: remove Lgb_bug_find_hack
13115
13116 2001-11-30  José Matos <jamatos@fep.up.pt>
13117
13118         * buffer.C (makeDocBookFile): add a comment to point a hack.
13119         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13120         Fixed a double write of labels.
13121
13122 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13123
13124         * LaTeX.C:
13125         * LaTeX.h Fixed bug in LaTeX class where it would not
13126         re-run latex if no depfiles were changed, but the .dvi was removed.
13127
13128 2001-11-28  André Pönitz <poenitz@gmx.net>
13129
13130         * all the files from the change on 2001/11/26:
13131         use lyx::layout_type instead of LyXTextClass::size_type
13132         use lyx::textclass_type instead of LyXTextClassList::size_type
13133
13134 2001-11-29  Juergen Vigna  <jug@sad.it>
13135
13136         * text.C: added support for paragraph::isFreeSpacing()
13137
13138         * buffer.C: same as above
13139
13140         * paragraph.h: inserted isFreeSpacing() function to enable
13141         FreeSpacing inside InsetERT.
13142
13143         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13144         of the paragraph's in the cut/copy buffer to 0!
13145
13146         * text2.C (removeRow): remove the assert as it can!
13147
13148         * lyxtext.h: added helper function firstRow returning firstrow and
13149         made firstrow private again.
13150
13151         * BufferView2.C (lockInset): don't relock if we're already locked!
13152
13153         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13154         the only paragraph.
13155         (removeRow): added Assert::(firstrow)
13156
13157         * debug.C: forgot to add INSETTEXT here.
13158
13159 2001-11-28  Juergen Vigna  <jug@sad.it>
13160
13161         * sp_spell.C (initialize): changed error text to more general
13162         spellchecker command use (not only ispell!)
13163
13164         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13165
13166         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13167
13168 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * vspace.C: initialise lyxgluelength on failure
13171
13172 2001-11-28  Allan Rae  <rae@lyx.org>
13173
13174         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13175         declaration & definition that looks like a function declaration.
13176
13177 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * BufferView2.C (copy):
13180         (copyEnvironment): do not clear the selection when doing a copy.
13181
13182         * text.C (paintFirstRow): compilation fix
13183
13184 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13185
13186         * tabular.C (Latex): correct line count when writing latex.
13187
13188 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * paragraph_pimpl.h:
13191         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13192           bug a bit
13193
13194 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * text.C:
13197         * LColor.h:
13198         * LColor.C: change vfillline->added_space
13199
13200         * text.C: add markers and text for added space
13201
13202         * vspace.C: fix comment
13203
13204 2001-11-28  André Pönitz <poenitz@gmx.net>
13205
13206         * paragraph.C: whitespace changes
13207         * all the other files from the change on 2001/11/26:
13208         change *::pos_type into lyx::pos_type
13209
13210 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13213         language of the document when inserting error insets.
13214
13215 2001-11-26  André Pönitz <poenitz@gmx.net>
13216
13217         * BufferView_pimpl.[Ch]:
13218         *       CutAndPaste.C:
13219         * buffer.[Ch]:
13220         * lyxcursor.[Ch]:
13221         * lyxfind.C:
13222         * lyxfunc.C:
13223         * lyxrow.[Ch]:
13224         * paragraph.[Ch]:
13225         * paragraph_pimpl.[Ch]:
13226         * sp_spell.C:
13227         * text.C:
13228         * text2.C: reduce header dependencies, introduce type for positions
13229
13230 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * <various>: change to use Alert.h
13233
13234 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13235
13236         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13237         when encountering an unknown token.
13238         (readLyXformat2): Show an error message if there were unknown tokens.
13239
13240 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView2.C:
13243         * BufferView_pimpl.C:
13244         * buffer.C:
13245         * paragraph.h:
13246         * text.C:
13247         * text2.C: use par->isInset()
13248
13249 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13250
13251         * paragraph_pimpl.h:
13252         * paragraph_pimpl.C: cleanup
13253
13254 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13255
13256         * text2.C (removeRow):
13257         * text.C (setHeightOfRow): remove useless (and costly) call to
13258         getRow.
13259
13260 2001-11-20  Allan Rae  <rae@lyx.org>
13261
13262         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13263         Now need Inset*::checkInsertChar() to return true for appropriate
13264         cases so that the characters in the minibuffer will actually be
13265         inserted.
13266
13267 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * text.C: change the order of the includes.
13270         (workWidth): initialize it at once.
13271         (workWidth): make maxw unsigned
13272         (setHeightOfRow): remove unused variable (inset)
13273         (selectSelectedWord): remove unused variable (inset)
13274         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13275
13276 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13279         server is not running.
13280         (openConnection):
13281         (closeConnection): add debug info when server is disabled.
13282
13283         * ColorHandler.C (getGCForeground): send debug message to GUI
13284         channel.
13285
13286         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13287
13288         * kbmap.C (bind): modify because return conventions of
13289         kb_sequence::parse have changed.
13290
13291         * kbsequence.C (parse): only ignore spaces and not any stupid
13292         control character. This avoids tests like s[i] <= ' ', which are
13293         guaranteed to fail with 8bit characters and signed chars.
13294         Change return code to string::npos when there have been no error
13295         (0 was a bad idea when error is at first character)
13296
13297 2001-11-14  José Matos  <jamatos@fep.up.pt>
13298
13299         * buffer.h:
13300         * buffer.C (simpleDocBookOnePar): removed unused argument.
13301
13302 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13305         insets which are part of a word. Paragraph::isLetter takes care of
13306         that now. Use Paragraph::isInset to identify insets.
13307         (selectSelectedWord): do not test for hyphenation break.
13308
13309         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13310         that protected spaces are considered as spaces.
13311
13312         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13313         Inset::isLetter.
13314
13315 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * lyxserver.h:
13318         * lyxserver.C: fix it. and small cleanup.
13319
13320 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * BufferView_pimpl.C: use inline helpers
13323
13324         * LaTeXFeatures.h:
13325         * LaTeXFeatures.C: fix typos
13326
13327         * Spacing.h:
13328         * Spacing.C: move spacing_string into class
13329
13330         * ToolbarDefaults.C: move stuff into namespace anon
13331
13332         * layout.h: update enum
13333
13334         * lyxfunc.C: use better debug
13335
13336         * minibuffer.h: fix typo
13337
13338         * debug.h:
13339         * debug.C:
13340         * WorkArea.C: add and use Debug::WORKAREA
13341
13342         * lyxtext.h:
13343         * text.C:
13344         * text2.C: code re-organisation, inline helpers
13345
13346 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13347
13348         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13349         std::vector.empty().
13350
13351 2001-11-09  Allan Rae  <rae@lyx.org>
13352
13353         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13354         '\n's after tables.  Tabular and ERT inset work now makes this no
13355         longer necessary.
13356
13357 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * minibuffer.h:
13360         * minibuffer.C: fix crash, improve drop-down completion
13361
13362 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * lyxserver.h:
13365         * lyxserver.C: invalidate fd's when doing endPipe()
13366
13367 2001-11-08  José Matos  <jamatos@fep.up.pt>
13368
13369         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13370         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13371
13372         * paragraph.h:
13373         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13374
13375 2001-11-07  José Matos  <jamatos@fep.up.pt>
13376
13377         * buffer.h:
13378         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13379         const qualifier.
13380
13381         * buffer.C (sgmlOpenTag):
13382         * buffer.C (sgmlCloseTag): removed debug info.
13383
13384         * buffer.h (sgmlOpenTag):
13385         * buffer.h (sgmlCloseTag): made public.
13386
13387 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13388
13389         * buffer.C (saveParamsAsDefaults):
13390         * lyx_cb.C (MenuLayoutSave): remove
13391
13392         * LyXAction.C (init):
13393         * commandtags.h:
13394         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13395
13396 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * buffer.C (setPaperStuff): removed from here...
13399
13400         * bufferparams.C (setPaperStuff): ... and moved there.
13401
13402 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * minibuffer.h:
13405         * minibuffer.C:
13406         * XFormsView.C: add support for drop-down completion
13407
13408 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13409
13410         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13411         commands.
13412
13413 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13416         disabled.
13417
13418 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * lyx_main.C: change ref to known bugs
13421
13422 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13423
13424         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13425         to work around older babel problems.
13426
13427 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13428
13429         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13430
13431 2001-10-24  Juergen Vigna  <jug@sad.it>
13432
13433         * tabular-old.C (ReadOld): below variable changes reflected.
13434
13435         * tabular.[Ch]: added ltType struct for longtable header/footer
13436         defines and changed all instances where they are used. Added
13437         future support for double top/bottom rows.
13438
13439 2001-10-24  José Matos  <jamatos@fep.up.pt>
13440
13441         * buffer.h (docbookHandleCaption):
13442         * buffer.C (docbookHandleCaption): removed unused function.
13443         (makeDocBookFile): moved docbook supported version to v4.1.
13444
13445 2001-10-24  José Matos  <jamatos@fep.up.pt>
13446
13447         * tabular.h:
13448         * tabular.C (docbookRow): new function to export docbook code of a row.
13449         (DocBook): now honors the longtable flags.
13450
13451 2001-10-23  José Matos  <jamatos@fep.up.pt>
13452
13453         * LaTeXFeatures.h:
13454         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13455         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13456
13457         * buffer.C (makeLinuxDocFile):
13458         (makeDocBookFile): reworked the preamble, more clean, and with
13459         support for lyx defined entities. Changed the document declaration
13460         to be more XML friendly.
13461
13462         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13463         if we need to output XML that should be done with a filter.
13464
13465 2001-10-22  Juergen Vigna  <jug@sad.it>
13466
13467         * sp_pspell.h (class PSpell): add alive function needed in the
13468         controller to see if the spellchecker could be started.
13469
13470 2001-10-22  Juergen Vigna  <jug@sad.it>
13471
13472         * buffer.C (insertStringAsLines): modify the font for inserting
13473         chars in certain conditions by calling checkInsertChar(font).
13474
13475 2001-10-19  Juergen Vigna  <jug@sad.it>
13476
13477         * text.C (workWidth): use getRow instead of wrong algorithm.
13478         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13479
13480 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * lyxserver.h:
13483         * lyxserver.C:
13484         * lyx_main.h:
13485         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13486
13487 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * text.C (workWidth): do not search for the exact row when
13490         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13491         optimization for big documents.
13492
13493 2001-10-18  Juergen Vigna  <jug@sad.it>
13494
13495         * text.C (workWidth): new function with added Inset * parameter.
13496
13497 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13500
13501         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13502         change return type of getColumnNearX.
13503
13504
13505         * text.C (changeRegionCase): use uppercase/lowercase instead of
13506         toupper/tolower.
13507         (leftMargin):
13508         (rightMargin): simplify code by factoring out the uses of
13509         textclasslist.
13510         (labelFill):
13511         (numberOfHfills):
13512         (setHeightOfRow):
13513         (appendParagraph): use Paragraph::size_type
13514
13515 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * vspace.C (asLatexString): add a missing break
13518
13519 2001-10-15  Herbert Voss  <voss@perce.de>
13520
13521         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13522
13523 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13526         is not available.
13527
13528 2001-10-10  André Pönitz <poenitz@gmx.net>
13529
13530         * lyxfunc.C: removed greek_kb_flag.
13531
13532 2001-10-10  Herbert Voss  <voss@perce.de>
13533
13534         * lyx_main.C: delete global string help_lyxdir.
13535
13536 2001-10-09  Herbert Voss  <voss@perce.de>
13537
13538         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13539
13540         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13541
13542         * lyx_main.C: added global string help_lyxdir.
13543
13544         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13545
13546 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13547
13548         * lyxrc.C (set_font_norm_type): support iso8859-4
13549
13550 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13551
13552         * LaTeX.C (deplog): add another regex for MikTeX
13553
13554 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13555
13556         * lyxrc.C (set_font_norm_type): support iso8859-3
13557
13558 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13559
13560         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13561
13562         * LaTeXFeatures.C: remove special case of french and index
13563
13564         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13565         before \begin{document}). This solves several incompatibilities.
13566
13567 2001-10-03  Garst Reese  <reese@isn.net>
13568
13569         * lyx_cb.C: change CheckTex error msg.
13570
13571 2001-10-03  José Matos  <jamatos@fep.up.pt>
13572
13573         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13574
13575 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13576
13577         * .cvsignore: update
13578
13579         * lyx_main.C (commandLineVersionInfo): use new style version info.
13580
13581         * buffer.C (writeFile):
13582         (makeLaTeXFile):
13583         (makeLinuxDocFile):
13584         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13585
13586         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13587
13588         * version.h: update to use stuff in version.C
13589
13590         * version.C.in: new file. Contains version information determined
13591         at compile time. This is a merging of version.h and
13592         version_info.h.in.
13593
13594 2001-10-03  Juergen Vigna  <jug@sad.it>
13595
13596         * BufferView_pimpl.C (update): don't change "dirty" status in
13597         updateInset call.
13598
13599 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * WorkArea.C (c-tor): re-position version string slightly.
13602
13603 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13604
13605         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13606         revert to previous code.
13607
13608         WorkArea.[Ch]: (show, destroySplash): methods removed.
13609
13610         WorkArea.C: rework code so that it's an amalgam of the codes before and
13611         after the splash screen was moved to WorkArea.
13612
13613 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13614
13615         * lyxrc.C (read):
13616         * vspace.C (inPixels):
13617         (lyx_advance):
13618         * kbmap.C (bind):
13619         * buffer.C (insertStringAsLines):
13620         (asciiParagraph): fix types to be large enough
13621
13622         * lyxlex_pimpl.h: change member status from short to int
13623
13624         * layout.h: fix type of endlabeltype
13625
13626         * kbmap.C (bind):
13627         * kbsequence.C (parse): change return type to string::size_type
13628
13629         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13630         variable
13631
13632         * Bullet.C (bulletSize):
13633         (bulletEntry): do not use short ints as parameters
13634
13635         * BufferView2.C (insertLyXFile): change a char to an int.
13636
13637         * WorkArea.C (WorkArea): remove unneeded floats in computation
13638
13639 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13640
13641         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13642
13643         * paragraph.C (asString): Do not ignore newline/hfill chars when
13644         copying to the clipboard.
13645
13646 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13649         after a multi-line inset.
13650
13651 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13652
13653         * paragraph.C (validate): Set NeedLyXFootnoteCode
13654
13655 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13658         and decrease-error to decrease.
13659
13660 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13663         it more readable (should be equivalent)
13664
13665 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13666
13667         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13668
13669 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13672         of a cursor (row, etc.) after a character has been deleted
13673         (deleteEmptyParagraphMechanism): call the method above on _all_
13674         cursors held by the LyXText when a double space has been
13675         detected/deleted.
13676
13677 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13678
13679         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13680         pixmap.
13681         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13682
13683         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13684         background. Use greyOut() and the new show() methods to toggle between
13685         the foreground and background. Add code to remove the splash after
13686         its initial showing.
13687
13688         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13689         (create_forms): no longer call Dialogs::showSplash.
13690
13691 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * .cvsignore: add version_info.h
13694
13695 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * version_info.h.in: new file
13698
13699         * Makefile.am: add version_info.h.in
13700
13701         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13702         version_info.h instead of VERSION_INFO
13703
13704 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13707         The ERT inset now returns string().
13708
13709 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13710
13711         * lyxtext.h, text.C (selectNextWord): renamed as
13712         selectNextWordToSpellcheck.
13713
13714         * text.C (selectNextWordToSpellcheck): Modified to not select
13715         words inside an ERT inset.
13716
13717 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * lyx_cb.C (MenuLayoutSave): change a bit the question
13720
13721         * sp_base.h: include <sys/types.h>
13722
13723 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13726
13727 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13728
13729         * several files: fix typos in user-visible strings
13730
13731 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * text2.C (pasteSelection): do not set the selection, since it
13734         will be cleared later. Actually, the intent was to fix the way the
13735         selection was set, but I figured rmoving the code was just as good.
13736
13737 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13738
13739         * FontLoader.C (available): Check if font is available without
13740         loading the font.
13741
13742 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13743
13744         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13745
13746 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13747
13748         * lyxrc.[Ch]: added display_graphics variable and associated code.
13749
13750 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13751
13752         * bufferparams.C (hasClassDefaults): new method. Returns true if
13753         the buffer parameters correspond to known class defaults
13754
13755 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13756
13757         * XFormsView.C (show): set minimum size to the main window.
13758
13759 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13760
13761         * text2.C (copySelection):
13762         (cutSelection):
13763         * lyxfind.C (LyXReplace):
13764         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13765         LyXText::selectionAsString.
13766
13767         * paragraph.C (asString): add "label" argument to the second form
13768
13769         * text2.C (selectionAsString): add "label" argument and pass it to
13770         Paragraph::asString.
13771
13772 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13773
13774         * lyx_main.C (commandLineHelp): remove version information
13775
13776 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13777
13778         * lyx_main.C: add -version commandline option
13779
13780 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13781
13782         * paragraph.h: make the optional constructor arg required instead.
13783         some modifications to other files because of this.
13784
13785         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13786
13787         * lyxserver.C (C_LyXComm_callback): make it static
13788
13789         * lyx_main.C (error_handler): make it static
13790
13791         * lyx_gui.C (LyX_XErrHandler): make it static
13792
13793         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13794
13795         * WorkArea.C: make the extern "C" methods static.
13796
13797         * Makefile.am (lyx_LDADD): simplify
13798
13799 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13800
13801         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13802         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13803
13804         * LyXAction.C (init):
13805         * lyxfunc.C (dispatch): associated code removal.
13806
13807 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * lyxfont.h (isSymbolFont): shut off warning
13810
13811         * text.C (setHeightOfRow):
13812         (getVisibleRow): fix crash with empty paragraphs which have a
13813         bottom line
13814
13815 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13816
13817         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13818         code.
13819
13820 2001-09-04  José Matos  <jamatos@fep.up.pt>
13821         * buffer.C
13822         * buffer.h
13823         * tabular.C (docbook): rename docBook method to docbook.
13824
13825 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13826
13827         * Makefile.am: add dependencies to main.o.
13828
13829 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13830
13831         * FontLoader.C (available): Return false if !lyxrc.use_gui
13832
13833 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13834
13835         * FontInfo.C (query):
13836         * converter.C (view):
13837         * importer.C (Import):
13838         * exporter.C (Export): Can not -> cannot.
13839
13840 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * BufferView_pimpl.C: allow to create index inset even if
13843           string is empty
13844
13845 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13846
13847         * buffer.C (getLists): replace boost::tie code with an explicit pair
13848         as boost::tie can break some compilers.
13849
13850         * iterators.h: Added a std:: declaration to the return type of
13851         ParIterator::size.
13852
13853 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13856           case.
13857
13858 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13859
13860         * iterators.[Ch]: New files. Provide paragraph iterators.
13861
13862         * buffer.C (changeLanguage): Use paragraph iterators.
13863         (isMultiLingual): ditto
13864
13865         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13866
13867 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13868
13869         * FontLoader.C: Support for cmr font.
13870
13871 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13872
13873         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13874         (available): New method.
13875
13876         * FontInfo.C (getFontname): Use scalable fonts even when
13877         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13878         found.
13879
13880 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13881
13882         * converter.C (Formats::view): reverted! Incorrect fix.
13883
13884 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13885
13886         * converter.C (Formats::view): only output the -paper option
13887         if the dvi viewer is xdvi, thereby fixing bug #233429.
13888
13889 2001-08-23  Herbert Voss  <voss@perce>
13890
13891         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13892
13893 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13894
13895         * Spacing.h (Spacing): Set space to Default on in the default
13896         constructor.
13897
13898 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * vc-backend.h (RCS::versionString): add RCS to version
13901         (CVS::versionString): add CVS to version
13902
13903         * vc-backend.C (scanMaster): do not add CVS to version.
13904         (scanMaster): do not add RCS to version
13905
13906         * lyxvc.C (versionString): new method
13907
13908         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13909
13910 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13911
13912         * Spacing.C (set): initialize fval
13913
13914 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13917         " or \.
13918
13919 2001-08-16  Juergen Vigna  <jug@sad.it>
13920
13921         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13922
13923 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13924
13925         * BufferView_pimpl.C:
13926         * figureForm.C:
13927         * lyxtext.h:
13928         * text2.C: setParagraph takes linespacing now
13929
13930 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13931
13932         * LyxAction.C: add internal LFUN_CITATION_INSERT
13933
13934         * LyXView.C: actually apply fix
13935
13936         * bufferlist.C: fix open non-existent file
13937
13938         * lyxfind.C: fix indentation
13939
13940         * lyxfunc.C: remove unneeded assert, fix typo
13941
13942 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13943
13944         * MenuBackend.C: use "Floatname List"
13945
13946 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13949         when converting LaTeX layout to insetERT.
13950         Generate a non-collapsed float when reading old float
13951
13952 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13953
13954         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13955         ERT insets.
13956
13957 2001-08-13  Juergen Vigna  <jug@sad.it>
13958
13959         * text.C (fill): return 0 instead of 20 as this seems to be the more
13960         correct value.
13961
13962 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13965         lyxrc.font_norm.
13966
13967 2001-08-13  Juergen Vigna  <jug@sad.it>
13968
13969         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13970         casesensitive off.
13971         (SearchBackward): comment out the unlocking of the inset_owner this
13972         should not be needed!
13973
13974 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13975
13976         * Many files: Remove inherit_language, and add latex_language
13977
13978         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13979         collapsible insets.
13980
13981 2001-08-10  Juergen Vigna  <jug@sad.it>
13982
13983         * text.C (prepareToPrint): fixed hfill-width in draw!
13984
13985         * BufferView2.C (selectLastWord): save the selection cursor as this
13986         now is cleared in the function LyXText::clearSelection!
13987
13988 2001-08-08  Juergen Vigna  <jug@sad.it>
13989
13990         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13991         BACKSPACE type functions.
13992
13993         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13994         is only cutted from the document but not put in the cut-buffer, where
13995         still the old stuff should be.
13996
13997         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13998
13999         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14000
14001         * tabular.C (SetWidthOfCell): fixed special case where the width
14002         was not updated!
14003         (LeftLine): handle '|' in align_special.
14004         (RightLine): ditto
14005         (LeftAlreadyDrawed): ditto
14006         (SetWidthOfCell): ditto
14007
14008 2001-08-07  Juergen Vigna  <jug@sad.it>
14009
14010         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14011
14012 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14013
14014         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14015         * lyxlex.[hC]: ditto
14016
14017 2001-08-06  Juergen Vigna  <jug@sad.it>
14018
14019         * text.C (getVisibleRow): fix up row clearing a bit.
14020
14021 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14022
14023         * minibuffer.C: make sure the X server sees the changes in the input.
14024
14025 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * paragraph.C (getFont): split into...
14028         (getLabelFont): this
14029         (getLayoutFont): and this
14030         * paragraph_pimpl.C (realizeFont): calling this
14031
14032         * text2.C (getFont): split into...
14033         (getLayoutFont): this
14034         (getLabelFont): and this
14035         (realizeFont): all three calling this
14036
14037         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14038         files where used.
14039
14040 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14043
14044 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14045
14046         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14047         layouts from the Quote inset insertion.
14048
14049 2001-08-03  Juergen Vigna  <jug@sad.it>
14050
14051         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14052
14053         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14054         only if status not is already CHANGED_IN_DRAW (second level).
14055
14056         * text.C (draw): don't set the need_break_row when inside an
14057         InsetText LyXText.
14058
14059 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * buffer.C (parseSingleLyXformat2Token): handle more latex
14062         conversion cases.
14063
14064         * bufferview_funcs.[hC]: change function names to
14065         begin with small char, adjust other files.
14066
14067 2001-08-02  André Pönitz <poenitz@gmx.net>
14068
14069         * lyxfunc.C:
14070         BufferView_pimpl.C: remove broken special code for math-greek
14071
14072 2001-08-02  Juergen Vigna  <jug@sad.it>
14073
14074         * BufferView_pimpl.C (update): redone this function so that we
14075         update the text again if there was a CHANGE_IN_DRAW.
14076
14077         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14078         (drawFromTo): added a new internal bool which is used by draw() and
14079         redraw() function.
14080         (general): some cursor drawing problems fixed.
14081
14082 2001-08-01  Juergen Vigna  <jug@sad.it>
14083
14084         * lyxfind.C (LyXFind): fixed
14085         (SearchForward): ditto
14086         (SearchBackward): ditto
14087
14088         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14089         spurius drawing of the cursor in the main area.
14090
14091         * text2.C (status): small fix which could lead to a segfault!
14092         (clearSelection): remove unneeded BufferView param.
14093
14094 2001-08-01  André Pönitz <poenitz@gmx.net>
14095
14096         * lyxfunc.C: small change due to changed mathed interface
14097
14098 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14099
14100         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14101
14102 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14103
14104         * lyxfunc.c: fail gracefully if file doesn't exist
14105
14106         * LyXSendto.C:
14107         * buffer.C:
14108         * lyxfunc.C:
14109         * BufferView_pimpl.C: IsDirWriteable() proto changed
14110
14111         * LyXView.C: fix updateWindowTitle() to store the last title
14112
14113 2001-07-31  Juergen Vigna  <jug@sad.it>
14114
14115         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14116         the font (wrong since using of Paragraph::highestFontInRange).
14117
14118         * paragraph.C (highestFontInRange): added a default_size parameter.
14119
14120         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14121         (setHeightOfRow): reformat
14122
14123 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * converter.[hC] + affected files: move to (inital-char)lowercase
14126         function names.
14127
14128         * ParagraphParameters.C (ParagraphParameters): remove commented code
14129
14130         * PainterBase.[Ch]: remove commented code
14131
14132         * LaTeXFeatures.h: add "bool floats" for float.sty
14133
14134         * LaTeXFeatures.C (LaTeXFeatures): init floats
14135         (require): handle float
14136         (getPackages): do it with floats
14137
14138 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14139
14140         * BufferView_pimpl.C (Dispatch): improve handling of
14141         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14142
14143         * commandtags.h: #include lyxfont.h here temporarily to avoid
14144         keybinding bug.
14145
14146         * bufferlist.h: include LString.h here.
14147
14148 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14149
14150         * text2.C (getStringToIndex): new method.
14151
14152 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14153
14154         * *: Reduced header file dependencies all over.
14155
14156 2001-07-30  Baruch Even  <baruch@lyx.org>
14157
14158         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14159
14160 2001-07-29  Baruch Even  <baruch@lyx.org>
14161
14162         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14163
14164 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * ParameterStruct.h (endif): add a default constructor to make
14167         sure that all variables is initialized.
14168
14169         * ParagraphParameters.C (ParagraphParameters): adjust
14170
14171 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14174         index; also, check that there is something to index, and that it
14175         does not span over several paragraphs.
14176         (doubleClick): use WHOLE_WORD_STRICT for double click.
14177
14178         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14179
14180         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14181         scheme.
14182
14183 2001-07-26  Baruch Even  <baruch@lyx.org>
14184
14185         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14186         an InsetFig figure, backwards compatible reading of old figure code.
14187
14188 2001-07-27  Juergen Vigna  <jug@sad.it>
14189
14190         * text2.C: font.realize function adaption.
14191
14192         * text.C (draw): add a warnings lyxerr text if needed.
14193
14194         * layout.C: font.realize function adaption.
14195
14196         * language.C: add inherit_language and implement it's handlings
14197
14198         * bufferview_funcs.C (StyleReset): remove language parameter from
14199         font creation (should be language_inherit now).
14200
14201         * bufferparams.C (writeFile): handle ignore_language.
14202
14203         * paragraph.C (getFontSettings): the language has to be resolved
14204         otherwise we have problems in LyXFont!
14205
14206         * lyxfont.C (lyxWriteChanges): added document_language parameter
14207         (update): removed unneeded language parameter
14208
14209         * paragraph.C (validate): fixed wrong output of color-package when
14210         using interface colors for certain fonts in certain environments,
14211         which should not seen as that on the final output.
14212
14213 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * BufferView_pimpl.C:
14216         * Thesaurus.h:
14217         * Thesaurus.C:
14218         * Makefile.am:
14219         * commandtags.h:
14220         * LyXAction.C: add thesaurus support
14221
14222         * lyxfind.h:
14223         * lyxfind.C: add "once" parameter, for thesaurus, to not
14224           move to the next match
14225
14226 2001-07-26  Juergen Vigna  <jug@sad.it>
14227
14228         * lyxfont.C (realize): honor ignore_language too!
14229         (resolved): ditto.
14230
14231         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14232
14233         * text.C (draw): one place more for ignore_language to not draw
14234         itself!
14235
14236 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14237
14238         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14239
14240 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14241
14242         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14243         the minipage conversion problem.
14244
14245 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14248         insert an inset.
14249
14250 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * BufferView.h: don't forward declare WorkArea
14253
14254         * BufferView.C: don't include WorkArea.h
14255
14256 2001-07-25  André Pönitz <poenitz@gmx.net>
14257
14258         * commandtags.h:
14259         * LyXAction.C:
14260         * lyxfunc.C:  new LFUN 'math-space'
14261
14262         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14263
14264 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14265
14266         * text2.C (toggleInset): call open/close
14267
14268 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14269
14270         * lyxfunc.C (dispatch): add debug for the disabled case
14271
14272         * font.C (buttonText): make similar to rectText
14273
14274         * buffer.C (readInset): comment out parsing of insetlist and
14275         insttheorem
14276
14277         * PainterBase.C (rectText): small correction
14278
14279         * BufferView_pimpl.C: comment out insettheorem and insetlist
14280         * LyXAction.C: ditto
14281         * commandtags.h: ditto
14282
14283 2001-07-24  Juergen Vigna  <jug@sad.it>
14284
14285         * text.C (draw): honor the ignore_language.
14286
14287         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14288
14289 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14290
14291         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14292         char inset.
14293
14294 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14295
14296         * lyxtext.h: remove unused (and unimplemented) methods
14297
14298 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14299
14300         * text.C (getVisibleRow): honor background color
14301
14302         * PainterBase.h:
14303         * Painter.h: remove default color argument for fillRectangle
14304
14305         * text.C (backgroundColor): new method
14306
14307 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * text.C (getVisibleRow): adjust
14310
14311         * font.[Ch] (rectText): new method, metrics
14312         (buttonText): new method, metrics
14313
14314         * PainterBase.[hC]: make rectText and buttonText always draw and take
14315         fewer paramteres.
14316
14317 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14318
14319         * ToolbarDefaults.C (read):
14320         * MenuBackend.C (read): allow escaping in all strings
14321
14322         * BufferView_pimpl.C (insertAndEditInset): new method.
14323         (Dispatch): use insertAndEditInset whenever appropriate.
14324
14325         * BufferView_pimpl.C (insertNote): removed
14326
14327         * BufferView_pimpl.C (smartQuote): new method, moved from
14328         BufferView; if an insetquote cannot be inserted, insert a '"'
14329         character instead.
14330
14331         * BufferView2.C: remove insertCorrectQuote();
14332
14333         * lyxfunc.C (getStatus): Add support for all remaingin
14334         inset-insert lfuns.
14335
14336         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14337
14338         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14339         command (necessary to pass " as parameter of self-insert.
14340
14341         * text.C (selectWordWhenUnderCursor):
14342         (selectWord): add word_location parameter
14343         (selectWordWhenUnderCursor): same + remove special code for word
14344         boundary.
14345         (selectNextWord): use kind() to guess type of insetspecialchar,
14346         not latex().
14347
14348         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14349         (insertErtContents): create ert insets as collapsed.
14350         (readInset): better compatibility code for Info inset.
14351
14352 2001-07-20  Juergen Vigna  <jug@sad.it>
14353
14354         * lyxfunc.C (dispatch): use always LyXFind now!
14355
14356         * text2.C (init): add a reinit flag so that the LyXText can be
14357         reinited instead of deleted and reallocated (used in InsetText).
14358
14359         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14360
14361         * text.C: ditto
14362
14363         * text2.C: ditto
14364
14365 2001-07-18  Juergen Vigna  <jug@sad.it>
14366
14367         * text.C (selectNextWord): handle insets inside inset by calling
14368         always the bv->text functions so that we can go up the_locking_inset!
14369
14370         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14371         in strange locations when inside an inset!
14372
14373         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14374         handling to include insets.
14375
14376         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14377
14378 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * LyXAction.C (init):
14381         * commandtags.h:
14382         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14383         LIGATURE_BREAK, since the name is so stupid.
14384
14385 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14386
14387         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14388         InsetInfos.
14389
14390         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14391
14392         * sp_form.[Ch]: remove.
14393
14394         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14395
14396         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14397         InsetInfo.
14398
14399         * src/buffer.C (readInset): ditto.
14400
14401 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14402
14403         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14404         menuSeparator(), endOfSentenceDot(), ldots() and
14405         hyphenationPoint(), which are therefore removed.
14406         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14407
14408         * LyXAction.C (init):
14409         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14410
14411         * paragraph.C (getWord): removed.
14412
14413         * BufferView_pimpl.C (Dispatch): use last word or selection for
14414         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14415
14416         * lyx_main.C (queryUserLyXDir): do not ask before creating
14417         user_dir, except if it has been named explicitely.
14418
14419 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14422         a document of zero size.
14423
14424 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14427         approriately in the c-tor and in require().
14428         (getPackages): output the appropriate LaTeX for natbib support.
14429
14430         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14431         variables "use_natbib" and "use_numerical_citations" when reading the
14432         LyX file.
14433         (readInset): read the various natbib cite commands.
14434         (validate): white-space change.
14435
14436         * bufferparams.[Ch]: new variables "bool use_natbib" and
14437         "bool use_numerical_citations".
14438         (writeFile): output them in the LyX file.
14439
14440 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14441
14442         * lyxfunc.C (getStatus): add support for all the inset insertion
14443         commands.
14444
14445         * text2.C (insertInset):
14446         * paragraph.C (insetAllowed):
14447         * BufferView_pimpl.C (insertInset): update to take in account the
14448         renaming of insertInsetAllowed
14449
14450         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14451
14452         * text2.C (getInset): new method. returns inset at cursor position.
14453
14454         * BufferView_pimpl.C (Dispatch): changes because of this.
14455
14456         * LyXAction.C (init): rename open-stuff to inset-toggle.
14457
14458         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14459
14460         * text2.C (toggleInset): renamed from openStuff; use
14461         Inset::open().
14462
14463 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14464
14465         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14466
14467         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14468
14469 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14470
14471         * buffer.C (readLyXformat2): Add filename to the error dialog
14472
14473 2001-07-18  Juergen Vigna  <jug@sad.it>
14474
14475         * tabular.C (GetCellNumber): put an assert here instead of the check!
14476
14477 2001-07-17  Juergen Vigna  <jug@sad.it>
14478
14479         * BufferView_pimpl.C (toggleSelection): adapted too.
14480
14481         * text.C (selectNextWord): adapted for use with insets.
14482         (selectSelectedWord): ditto
14483
14484 2001-07-17  Juergen Vigna  <jug@sad.it>
14485
14486         * sp_spell.C (PSpell): fix initialitation order.
14487
14488 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14489
14490         * paragraph.C: spacing
14491
14492 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14493
14494         * sp_spell.C: repair language selection for pspell
14495
14496 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14497
14498         * lyxfunc.h: change more methods to begin with lower char.
14499
14500 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14503         for unknown layouts.
14504
14505 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14506
14507         * buffer.C (readLyXformat2): Generate an error dialog if there are
14508         unknown layouts.
14509
14510 2001-07-16  Juergen Vigna  <jug@sad.it>
14511
14512         * sp_spell.C: always compile ISpell part.
14513
14514         * lyxrc.C: added use_pspell entry and it's handling.
14515
14516 2001-07-13  Juergen Vigna  <jug@sad.it>
14517
14518         * sp_spell.C: removed double includes.
14519
14520 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14521
14522         Consistent use of Lsstream.h:
14523         * Lsstream.h: added using std::stringstream for consistencies sake.
14524
14525         * buffer.C: removed using std::stringstream
14526
14527         * lyxfont.C (stateText):
14528         * paragraph.C (asString):
14529         * text.C (selectNextWord, selectSelectedWord):
14530         * text2.C (setCounter):
14531         * vspace.C (asString, asLatexString):
14532         std::ostringstream -> ostringstream.
14533
14534 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14535
14536         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14537         * commandtags.h: add LFUN_HELP_ABOUTLYX
14538         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14539
14540 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14541
14542         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14543         cursorToggle()
14544         * lyx_gui_misc.C: remove spellchecker
14545         * lyxfunc.C: showSpellchecker
14546         * sp_base.h: added
14547         * sp_ispell.h: added
14548         * sp_pspell.h: added
14549         * sp_spell.C: added
14550         * sp_form.[Ch]: removed
14551         * spellchecker.[Ch]: removed
14552
14553 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14554
14555         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14556         is set.
14557         (simpleTeXSpecialChars): Simply print the input character without
14558         any special translation if pass_thru is set.
14559
14560         * layout.h: Added bool pass_thru to layout class for being able to
14561         implement pass through of a paragraph for Literate Programming.
14562
14563         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14564         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14565         * layout.C (Read): add "passthru" to list of layout tags and add
14566         code to set the pass_thru boolean when it is read.
14567
14568 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * trans_decl.h: remove allowed from KmodInfo
14571
14572         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14573         remove allowed code
14574         (Load): adjust
14575
14576         * paragraph_pimpl.C (erase): use boost::prior
14577
14578         * Painter.C (text): use data() instead of c_str() when length is
14579         also provided.
14580         * WorkArea.C (putClipboard): ditto
14581         * font.h (width): ditto
14582
14583         * BufferView2.C: use it-> instead of (*it). for iterators
14584         * texrow.C: ditto
14585         * paragraph_pimpl.C: ditto
14586         * paragraph.C: ditto
14587         * minibuffer.C: ditto
14588         * language.C: ditto
14589         * kbmap.C: ditto
14590         * encoding.C: ditto
14591         * counters.C: ditto
14592         * converter.C: ditto
14593         * chset.C: ditto
14594         * Variables.C: ditto
14595         * TextCache.C: ditto
14596         * MenuBackend.C: ditto
14597         * LyXAction.C: ditto
14598         * LColor.C: ditto
14599         * FloatList.C: ditto
14600         * DepTable.C: ditto
14601         * ColorHandler.C (LyXColorHandler): ditto
14602
14603 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14606
14607         * text2.C (openStuff): reintroduce this method (which had been
14608         nuked in NEW_INSETS frenzy).
14609
14610         * lyxfunc.C (Dispatch): when an action has not been handled, use
14611         its name in the error message, not its number.
14612
14613         * paragraph.C (inInset): change method name to begin with lowercase.
14614
14615         * undo_funcs.C:
14616         * text2.C: updates because of this.
14617
14618 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14619
14620         * ToolbarDefaults.C (add): add spaces in error message
14621
14622 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14625         (readLyXformat2): rename return_par to first_par, use lyxlex's
14626         pushToken and remove the manual push handling.
14627         (parseSingleLyXformat2Token): add another ert comp. variable:
14628         in_tabular, rename return_par to first_par. handle newlines better
14629
14630 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14631
14632         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14633
14634 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14635
14636         * text2.C (getParFromID): removed
14637
14638         * buffer.C (getParFromID): new method moved form lyxtext.
14639         * BufferView2.C (insertErrors): adjust
14640         (setCursorFromRow): adjust
14641         * BufferView_pimpl.C (restorePosition): adjust
14642         * lyxfunc.C (Dispatch): adjust
14643         * undo_funcs.C (textUndo): adjust
14644         (textRedo): adjust
14645         (textHandleUndo): adjust
14646         (textHandleUndo): adjust
14647
14648 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * buffer.C: up' the LYX_FORMAT
14651
14652         * lyxfont.h: turn NO_LATEX on as default
14653
14654         * buffer.C (insertErtContents): new methods of tex style compability.
14655         (parseSingleLyXformat2Token): use it several places.
14656         * tabular.C (OldFormatRead): and here
14657
14658 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * text2.C: remove some commented code.
14661         reindent file.
14662
14663         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14664         * trans.C: changes because of the above.
14665
14666 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * text2.C (setCounter): Fix counters bug with bibliography layout.
14669
14670 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14673         own member functions
14674         (simpleTeXSpecialChars): ditto
14675
14676 2001-07-06  Juergen Vigna  <jug@sad.it>
14677
14678         * a lot of files: changed the access to LyXText::status and the
14679         call of undo-functions.
14680
14681         * undo.[Ch]: added a inset_id to the undo informations.
14682
14683         * undo_funcs.[Ch]: added and moved here all undo functions.
14684
14685         * lyxtext.h: give the status enum a weight, made status_ a private
14686         variable and made accessor functions for it, removed the whole bunch
14687         of undo-functions as they are now in their own file, make some
14688         functions publically available. Added function ownerParagraph with
14689         int parameter.
14690
14691         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14692         made InInset() a const function, added getParFromID() function.
14693
14694         * buffer.[Ch]: added const version for inset_iterator functions,
14695         added getInsetFromID() function.
14696
14697         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14698         changed undo functions for new version.
14699
14700 2001-07-05  Juergen Vigna  <jug@sad.it>
14701
14702         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14703         unknow mechanism does not call the proper constructor but only this
14704         one also if I request the other!?
14705
14706 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14707
14708         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14709
14710         * text2.C (LyXText): use initialization lists.
14711
14712         * lyxtext.h (Selection): initialize set_ and mark_
14713         (init): remove method
14714
14715 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14716
14717         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14718
14719 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * screen.[Ch]: change method names to begin with lowercase
14722
14723         * BufferView_pimpl.C (updateScrollbar): simplify further and
14724         hopefully make it a bit faster.
14725
14726 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14727
14728         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14729         calling directly xforms functions.
14730
14731         * Painter.C (Painter):
14732         * lyx_cb.C (MenuWrite):
14733         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14734         fl_display.
14735
14736         * lyx_gui.C: remove bogus guiruntime extern declaration.
14737
14738 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14739
14740         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14741         in NEW_INSETS
14742         (redoDrawingOfParagraph): ditto
14743         (redoParagraphs): ditto
14744         (cutSelection): don't create a object for CutAndPaste use the
14745         static method directly
14746         (pasteSelection): ditto
14747
14748         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14749         LyXview (+ rename)
14750
14751 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * modifications to some other files because of this.
14754
14755         * Makefile.am (lyx_SOURCES): add XFormsView
14756
14757         * XFormsView.[Ch]: new files
14758
14759         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14760         the main window. Move the gui dependent stuff to XFormsView
14761
14762 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * tabular.C (GetCellInset): update cur_cell also in the row/col
14765         version of this function.
14766
14767         * lyxfunc.C: no need to include figure_form.h here.
14768
14769         * FontLoader.h:
14770         * lyxfunc.h:
14771         * lyxscreen.h:
14772         * text2.C:
14773         * lyxvc.C: no need to include forms.h here.
14774
14775 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14778
14779         * lyxfunc.C (Dispatch):
14780         * Spacing.C (set):
14781         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14782         constructor argument.
14783
14784 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14785
14786         * paragraph.C (Paragraph): dont't clear, and just set layout.
14787         (makeSameLayout): use params's copy contructor.
14788
14789         * ParagraphParameters.[Ch] (makeSame): delete method
14790
14791 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14792
14793         * Variables.[Ch]: fix indentation, rename set to isSet
14794
14795 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14796
14797         * lyxfunc.C (Dispatch): fix typo
14798
14799 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14800
14801         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14802         upper_bound.
14803
14804         * bufferlist.C: include assert.h for emergencyWrite().
14805
14806 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14807
14808         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14809           give up at last (bug #425202) !
14810
14811 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * lyx_gui_misc.C:
14814         * sp_form.h:
14815         * sp_form.C:
14816         * spellchecker.h:
14817         * spellchecker.C: strip spellchecker options and bring up
14818           preferences tab instead
14819
14820 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14823         the istringstream constructor
14824
14825 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * paragraph.C (getLayout): fix return value
14828
14829         * paragraph.h: do not declare getLayout as inline.
14830
14831         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14832
14833 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14834
14835         * lyxcursor.h (operator<): new func
14836         (operator>): new func
14837         (operator>=): new func
14838         (operator<=): new func
14839
14840         * text.C (changeCase): use selection.start and selection.end
14841         (changeRegionCase): require from to be <= to. Require par to be a
14842         valid paragraph.
14843
14844         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14845
14846 2001-06-27  Juergen Vigna  <jug@sad.it>
14847
14848         * text.C (cursorLeftOneWord): changed to return the cursor and added
14849         overlay with BufferView * parameter which calls this one.
14850         (getWord): added
14851         (selectWord): use new getWord function.
14852         (changeCase): renamed from changeWordCase as and extended to work
14853         also on selections.
14854
14855         * lyxtext.h: added enum word_location
14856
14857         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14858         changeCase as this operates now also on selections.
14859
14860 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14861
14862         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14863
14864         * many files: send debug output to Debug::INFO instead of
14865         Debug::ANY.
14866
14867         * converter.C (View):
14868         (Convert):
14869         (Move): send debug output to Debug::FILES instead of console.
14870
14871 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14872
14873         * lyxfunc.C (getStatus): use func_status
14874
14875         * func_status.h: new header, describing the results of
14876         LyXFunc::getStatus;
14877
14878         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14879         LFUN_MATH_HALIGN.
14880
14881 2001-06-25  The LyX Project  <jug@sad.it>
14882
14883         * buffer.C (sgmlOpenTag):
14884         (sgmlCloseTag):
14885         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14886
14887 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * text2.C: remove some dead code
14890
14891         * tabular.C (GetCellInset): store the last cell checked (gotten)
14892
14893         * tabular.h: add the helper for the speedup
14894
14895         * lyxtext.h: remove some dead code
14896
14897 2001-06-26  The LyX Project  <Asger>
14898
14899         * paragraph.C: Change export to LaTeX of alignment to
14900         \begin{center} and family for better roundtrip work with reLyX.
14901
14902         * Tune the math drawing a bit.
14903
14904 2001-06-25  The LyX Project  <Asger>
14905
14906         * LColor.C (LColor): New color for math background. New color
14907         for buttons.
14908
14909 2001-06-25  The LyX Project  <jug@sad.it>
14910
14911         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14912
14913         * lyxfunc.C (Open):
14914         * bufferlist.C (newFile): do not restrict to files ending with
14915         .lyx
14916
14917         * BufferView_pimpl.C (MenuInsertLyXFile):
14918
14919 2001-06-24  The LyX Project  <jug@sad.it>
14920
14921         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14922         of compare_no_case
14923
14924 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14925
14926         * lyxtext.h: rename most methods to begin with a small char.
14927         Lots of changes because of this.
14928
14929         * paragraph.C (Paragraph): do not call fitToSize
14930         (erase): call Pimpl::erase
14931         (insertChar): call Pimpl::insertChar
14932         (insertInset): call Pipl::insertInset
14933         (breakParagraph): do not call fitToSize
14934         (breakParagraphConservative): do not call fitToSize
14935         (fitToSize): remove method
14936
14937         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14938
14939 2001-06-24  The LyX Project  <Asger>
14940
14941         * Fix Qt compilation^2
14942
14943 2001-06-24  The LyX Project  <jug@sad.it>
14944
14945         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14946         depthHook(getDepth()-1).
14947
14948         * paragraph.h:
14949         * ParagraphParameters.h:
14950         * ParameterStruct.h: change type of depth to unsigned int ==
14951         depth_type. Many adaptations to other files before of that.
14952
14953 2001-06-24  The LyX Project  <Asger>
14954
14955         * Fix Qt compilation.
14956
14957 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14958
14959         * paragraph.h: renamed several methods to begin with small letter.
14960         several changes to many parts of the code because of this.
14961
14962 2001-06-23  The LyX Project  <jug@sad.it>
14963
14964         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14965         rewritten to discard all double spaces when KeepEmpty is off
14966         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14967         to only handle newlines but not fiddle with spaces and friends.
14968
14969         * lyxfunc.C (MenuNew): when doing 'new from template', use
14970         template_path as default directory
14971
14972 2001-06-23  The LyX Project  <Asger>
14973
14974         * Clean-up of header file includes all over
14975         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14976
14977 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14978
14979         * paragraph.h: renamed from lyxparagraph.h
14980
14981 2001-06-23  Asger  <lyx@violet.home.sad.it>
14982
14983         * Buffer.h: Removed Buffer::resize
14984         * BufferList.h: Removed BufferList::resize
14985         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14986         the document lazily when we change the width, or the font settings.
14987
14988 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14989
14990         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14991
14992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * buffer.h: remove out of date comment
14995
14996 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * lyxscreen.h:
14999         * screen.C: fix "theoretical" GC leak
15000
15001 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * LaTeX.C (scanAuxFile):
15004         (deplog): remove trailing \r when reading stream (useful under
15005         win32)
15006
15007 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15008
15009         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15010         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15011         and BufferView::theLockingInset(Inset*), so should use them and not
15012         access bv_->text->the_locking_inset directly.
15013
15014         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15015
15016 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * Makefile.am:
15019         * tex-defs.h: remove old unused file
15020
15021 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * BufferView_pimpl.C: fix typo, remove minibuffer message
15024           when buffer has loaded
15025
15026 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * lyxfunc.C (Dispatch): use stringstream
15029         (MenuNew): use stringstream
15030         (Open): use stringstream
15031
15032         * importer.C (Import): use stringstream
15033
15034         * bufferview_funcs.C (CurrentState): use stringstream
15035
15036         * LaTeX.C (run): use stringstream
15037
15038         * BufferView_pimpl.C (savePosition): use stringstream
15039         (restorePosition): use stringstream
15040         (MenuInsertLyXFile): use stringstream
15041
15042 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15043
15044         * BufferView.C:
15045         * Bullet.C:
15046         * ColorHandler.C:
15047         * FontInfo.C:
15048         * FontLoader.C:
15049         * LColor.C:
15050         * LaTeXFeatures.C:
15051         * Painter.C:
15052         * gettext.C:
15053         * lyx_gui_misc.C:
15054         * lyxserver.C:
15055         * vspace.C: removed // -*- C++ -*- as first line.
15056
15057         * lyxfind.h:
15058         * version.h: added // -*- C++ -*- as first line.
15059
15060 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15063
15064         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15065         of string
15066
15067 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15070         of floats.
15071
15072 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15073
15074         * gettext.C: include LString.h even when --disable-nls is on.
15075
15076 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15077
15078         * converter.h (Get): changed argument type from int to
15079         FormatList::size_type to avoid unnecessary conversion.
15080
15081         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15082         before using it.
15083
15084 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * gettext.h: include LString.h even when --disable-nls is on.
15087
15088 2001-06-07  Juergen Vigna  <jug@sad.it>
15089
15090         * text.C (BreakAgain): subst spaces with tabs.
15091
15092         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15093         (resizeInsetsLyXText): set force on resizeLyXText.
15094
15095 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15096
15097         * gettext.h (gettext_init):
15098         (locale_init): use a real definition instead of a macro
15099
15100 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * Bufferview_pimpl.C:
15103         * LColor.h:
15104         * LColor.C: further lcolor tidies
15105
15106 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15107
15108         * BufferView_pimpl.C (updateScrollbar): simplify.
15109
15110         * BufferView2.C: don't include insets/insetinfo.h, change
15111         prototype for insertInset and call the Pimpl version. let
15112         updateInset call Pimpl version.
15113
15114         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15115         gotoInset to BufferView::Pimpl
15116
15117 2001-06-01  Juergen Vigna  <jug@sad.it>
15118
15119         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15120         inside a LockingInset (is the update needed at all?).
15121
15122 2001-05-31  Juergen Vigna  <jug@sad.it>
15123
15124         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15125         here not the old one otherwise how should we compare it afterwards
15126         if it's the same!
15127
15128 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15129
15130         * lyxfont.C:
15131         * tabular.C:
15132         * tabular-old.C:
15133         * FontInfo.C: bring C functions into global namespace when
15134         necessary
15135
15136 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * LString.h: make sure config.h has been loaded before LString.h.
15139
15140         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15141         (one for each char read by EatLine!).
15142
15143         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15144         variables.
15145
15146 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15149         to the same as the par we break from
15150
15151 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15152
15153         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15154
15155         * MenuBackend.C (expand): also create menu entries for wide
15156         versions of the floats.
15157
15158         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15159
15160         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15161
15162         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15163         frontends/Makefile.am
15164
15165         * text2.C: adjust
15166         * text.C: adjust
15167
15168
15169         * tabular.C (getTokenValue): add std::
15170
15171         * tabular-old.C (getTokenValue): add std::
15172         (getTokenValue): ditto
15173         (getTokenValue): ditto
15174
15175         * screen.C (ToggleSelection): adjust
15176
15177         * lyxtext.h: put selection cursors inside a Selection struct.
15178
15179         * lyxfunc.C (moveCursorUpdate): adjust
15180
15181         * lyxfont.C (latexWriteStartChanges): add std::
15182
15183         * lyxfind.C: adjust
15184
15185         * font.h: delete with(char const *, LyXFont const &)
15186
15187         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15188
15189         * FontInfo.C (getFontname): add std::
15190
15191         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15192         (workAreaButtonPress): adjust
15193         (tripleClick): adjust
15194         (update): adjust
15195         (moveCursorUpdate): adjust
15196         (Dispatch): adjust
15197
15198         * BufferView2.C (gotoInset): adjust
15199
15200 2001-05-30  Juergen Vigna  <jug@sad.it>
15201
15202         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15203         to check pspell I add this as default as I now have new pspell
15204         libraries and they seem to use this.
15205
15206 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15207
15208         * text2.C (CutSelection): make the cursor valid before the call to
15209         ClearSelection.
15210
15211 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15214         relied on 0 terminated strings and other horrors. Bug found due to
15215         the new assert in lyxstring!
15216
15217         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15218         KP_ keys.
15219
15220 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15221
15222         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15223         to latinkeys.bind.
15224
15225         * lyxfunc.C (processKeySym): change method of getting to the
15226         self-insert char.
15227
15228         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15229         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15230         * BufferView_pimpl.[Ch]: here as private methods.
15231
15232 2001-05-28  Juergen Vigna  <jug@sad.it>
15233
15234         * text.C (SetHeightOfRow): added the update() call again as it is
15235         needed to initialize inset dimensions!
15236
15237 2001-05-16  Juergen Vigna  <jug@sad.it>
15238
15239         * text2.C (SetCharFont): Add new function with BufferView * and
15240         bool toggleall parameters for setting insets internal fonts.
15241         (SetFont): Freeze the undo as we may change fonts in Insets and
15242         all this change should be inside only one Undo!
15243
15244         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15245         setting font's in insets as for them we have the SetFont function!
15246
15247 2001-05-15  Juergen Vigna  <jug@sad.it>
15248
15249         * text2.C (ClearSelection): to be sure we REALLY don't have any
15250         selection anymore!
15251
15252         * tabular.C (TeXCellPreamble): fixed the left border problem for
15253         multicolumn cells.
15254
15255 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15256
15257         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15258         dependancy file
15259
15260 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15263         LFUN_BREAKPARAGRAPH.
15264
15265         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15266         help test to "internal only", similar for LFUN_INSERT_URL
15267
15268         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15269         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15270         auto_region_delete and deadkeys.
15271
15272 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15273
15274         * LColor.h:
15275         * LColor.C: remove some dead entries, tidy a little
15276
15277 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15278
15279         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15280         commented code.
15281         (Dispatch): implement LFUN_ESCAPE
15282
15283         * commandtags.h: add LFUN_ESCAPE
15284
15285         * LyXAction.C (init): add entry for LFUN_ESCAPE
15286
15287         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15288         Remove commented code.
15289         (insertNote): moved here
15290         (open_new_inset): moved here
15291
15292         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15293         BufferView_pimpl
15294
15295 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * kbmap.C (findbinding): clean it up and make it work correctly.
15298
15299         * lyx_main.C (init): do not pass argc and argv as parameters
15300
15301 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15302
15303         * buffer.C: fix path for OS/2 & Win32
15304
15305         * lyx_gui.C:
15306         * lyx_main:
15307         * lyx_main.C: Added os:: class.
15308
15309         * os2_defines.h: update
15310
15311 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15314         better by trying again with reduced state.
15315
15316 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * lyxrc.C (read): print error about invalid key sequence only when
15319         debugging (because not all latinX keysyms are known to some X
15320         servers)
15321
15322         * kbsequence.C (getiso): add a few std:: qualifiers
15323         (getiso): comment out extra return statement.
15324
15325 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15326
15327         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15328         handling.
15329         (Dispatch): enhance the accent inset a bit. (not perfect)
15330
15331 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15332
15333         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15334
15335 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * bufferlist.C (emergencyWrite): fix assert() call
15338
15339 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15340
15341         * text.C (InsertChar): Added trivial patch to only send the "you
15342         can not do multiple spaces this way" message once during a
15343         session.
15344
15345 2001-05-08  Baruch Even  <baruch@lyx.org>
15346
15347         * Makefile.am: Changed order of libraries to get LyX to link properly
15348         with the gnome frontend.
15349
15350 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * LaTeXFeatures.h: add a std:: qualifier
15353
15354 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * paragraph.C (String): use stringstream
15357
15358 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15359
15360         * paragraph.C (writeFile): remove footflag arg
15361
15362         * buffer.C (makeLaTeXFile): use stringstream
15363         (latexParagraphs): remove footnot gurba
15364
15365         * LaTeXFeatures.C (getPackages): use stringstream
15366         (getMacros): likewise
15367         (getTClassPreamble): likewise
15368         (getFloatDefinitions): new method
15369
15370         * paragraph.C (writeFile): reindent
15371         (Erase): reindent
15372
15373         * WorkArea.h: revert the xpos + etc changes.
15374
15375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15376
15377         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15378
15379         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15380         (pasteSelection): likewise
15381         * text2.C (CreateUndo): likewise
15382
15383 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15384
15385         * minibuffer.C (peek_event): temporarily reduce the functionality
15386         of the minibuffer (to allow args on lfuns)
15387
15388         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15389         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15390
15391         * buffer.C (readInset): add compability reading of old float
15392         lists, add reading of new style float list.
15393         (readInset): avoid reevaluation of inscmd.getCmdName()
15394         (getLists): reindent
15395
15396         * MenuBackend.C (MenuItem): implement parsing of
15397         md_floatlistinsert and md_floatinsert.
15398         (expand::LastFiles): move initalizaton of iterators out of loop,
15399         avoid reevaluation.
15400         (expand::Documents): introduce typdedef vector<string> Strings,
15401         and use it.
15402         (expand::ExportFormats): introduce typedef vector<Format const *>
15403         Formats, and use it.
15404         (expand): implement FloatListInsert and FloatInsert.
15405
15406         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15407         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15408         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15409
15410         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15411         handling.
15412         (Dispatch::LFUN_FLOAT_LIST): implement
15413
15414 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15415
15416         * LaTeX.C (run): Fix problem with --export code.
15417
15418 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15419
15420         * BufferView.[Ch] (workarea): removed.
15421         (getClipboard) new method; wrapper for workarea()->getClipboard()
15422
15423         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15424         bug.
15425
15426         * WorkArea.h (width, height, xpos, ypos): These methods all
15427         returned the dimensions of the work_area sub-area of WorkArea,
15428         resulting in a position error if the WorkArea were resized. Now
15429         return the dimensions of the entire WorkArea.
15430
15431         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15432
15433 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15434
15435         * LaTeX.C (deplog): correct the syntax of regex reg1
15436
15437 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * undo.C: remove !NEW_INSETS cruft
15440
15441 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15442
15443         * text2.C: remove !NEW_INSETS cruft
15444
15445         * text.C: remove !NEW_INSETS cruft
15446
15447         * tabular.C: remove !NEW_INSETS cruft
15448
15449         * spellchecker.C: remove !NEW_INSETS cruft
15450
15451         * lyxtext.h: remove !NEW_INSETS cruft
15452
15453         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15454
15455         * lyxfunc.C: remove !NEW_INSETS cruft
15456
15457         * lyxfind.C: remove !NEW_INSETS cruft
15458
15459         * lyx_cb.C: remove !NEW_INSETS cruft
15460
15461         * figureForm.C: remove  !NEW_INSETS cruft
15462
15463         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15464
15465         * buffer.[Ch]: remove !NEW_INSETS cruft
15466
15467         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15468
15469         * CutAndPaste.C: remove !NEW_INSETS cruft
15470
15471         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15472
15473         * BufferView2.C: remove !NEW_INSETS cruft
15474
15475         * BufferView.h: remove !NEW_INSETS cruft
15476
15477 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * Lsstream.h: include LString.h before the sstream headers to
15480         fix problem with gcc 2.95.3 and lyxstring
15481
15482 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15483
15484         * lyx_main.C: add using directives when needed for C functions
15485         declared in std:: namespace.
15486
15487 2001-04-27  Juergen Vigna  <jug@sad.it>
15488
15489         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15490         (SetHeightOfRow): comment out the update call should not be needed!
15491
15492 2001-04-13  Juergen Vigna  <jug@sad.it>
15493
15494         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15495         (LyXTabular): tried to minimize operator= operations (and realized
15496         hopfully Lars wish).
15497
15498 2001-04-27  Juergen Vigna  <jug@sad.it>
15499
15500         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15501
15502 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15503
15504         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15505
15506         * buffer.C (readInset): hack to make listof algorithm work
15507
15508         * BufferView_pimpl.C: hack to make listof algorithm work
15509
15510 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * LyXAction.C: removed all !NEW_INSETS cruft
15513         (init): moved lfun_item in method
15514
15515         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15516
15517 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15518
15519         * BufferView2.C (theLockingInset): white space.
15520
15521 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * minibuffer.C: include <iostream>
15524
15525         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15526
15527         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15528
15529         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15530
15531         * text.[Ch] (TransposeChars): new method
15532
15533 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15534
15535         * call message directly through LyXView instead of through LyXFunc
15536         * BufferView2.C: adjust
15537         * BufferView_pimpl.C: adjust
15538         * FontLoader.C: adjust
15539         * buffer.C: adjust
15540         * bufferview_funcs.C: adjust
15541         * converter.C: adjust
15542         * figureForm.C: adjust
15543         * importer.C: adjust
15544         * lyx_cb.C: adjust
15545         * lyx_gui_misc.C: adjust
15546         * lyxfunc.C: adjust
15547         * lyxvc.C: adjust
15548         * text2.C: adjust
15549         + more files in subdirs
15550
15551         * lyxparagraph.h (size): move up int file
15552         (GetLayout): ditto
15553
15554         * adjust all uses of Assert to lyx::Assert.
15555
15556         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15557         lyxfunctional in namespace lyx
15558         * layout.C (hasLayout): ditto
15559         (GetLayout): ditto
15560         (GetLayout): ditto
15561         (delete_layout): ditto
15562         (NumberOfClass): ditto
15563         * converter.C (GetFormat): ditto
15564         (GetNumber): ditto
15565         (Add): ditto
15566         (Delete): ditto
15567         (SetViewer): ditto
15568         * bufferlist.C (getFileNames): ditto
15569         (emergencyWriteAll): ditto
15570         (exists): ditto
15571         (getBuffer): ditto
15572         * MenuBackend.C (hasSubmenu): ditto
15573         (hasMenu): ditto
15574         (getMenu): ditto
15575         * BufferView_pimpl.C (getInsetByCode): ditto
15576
15577 2001-04-18  Juergen Vigna  <jug@sad.it>
15578
15579         * vspace.C (asLatexString): fixed the 100% problem.
15580
15581 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * lyxfunc.C (Dispatch):
15584         * minibuffer.C:
15585         * minibuffer.h: add a few std:: qualifiers
15586
15587 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15588
15589         * minibuffer.[Ch]: reimplement so that commands is initiated and
15590         run from lyxfunc, simplified som handling, and made the completion
15591         and history code for complete. wip.
15592
15593         * lyxfunc.C (processKeySym): call message
15594         (miniDispatch): new temporary method
15595         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15596         (LFUN_MESSAGE): implement
15597         (LFUN_MESSAGE_PUSH): implement
15598         (LFUN_MESSAGE_POP): implement
15599         (initMiniBuffer): the initial/defualt minibuffer message.
15600
15601         * lyxfont.[Ch]: inline some more getters
15602
15603         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15604
15605         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15606
15607         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15608         (AutoSave): use LFUN_MESSAGE
15609         (Reconfigure): ditto
15610
15611         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15612
15613         * figureForm.C: use LFUN_MESSAGE
15614
15615         * converter.C (runLaTeX): use LFUN_MESSAGE
15616
15617         * bufferview_funcs.C: use LFUN_MESSAGE
15618         (Melt): ditto
15619         (changeDepth): ditto
15620
15621         * bufferparams.h: use boost::
15622
15623         * bufferlist.h: inherit privately from noncopyable
15624
15625         * bufferlist.C (loadLyXFile): remove some commented code.
15626
15627         * buffer.C (runChktex): use LFUN_MESSAGE
15628
15629         * ShareContainer.h: inherit privately from noncopyable
15630
15631         * ParagraphParameters.[hC] (depth): inline it.
15632
15633         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15634         methods.
15635         (message): new method
15636         (messagePush): ditto
15637         (messagePop): ditto
15638         (show): init minibuffer
15639         (showState): direct call
15640
15641         * LaTeX.[Ch]: inherit privately from noncopyable
15642         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15643         instead of WriteStatus.
15644
15645         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15646
15647         * BufferView_pimpl.C (buffer): don't init minibuffer
15648         (workAreaButtonPress): use LFUN_MESSAGE
15649         (workAreaButtonRelease): ditto
15650         (savePosition): ditto
15651         (restorePosition): ditto
15652         (MenuInsertLyXFile): ditto
15653         (workAreaExpose): don't init minibuffer
15654         (update): remove commented code, simplify
15655
15656         * BufferView2.C (openStuff): use LFUN_MESSAGE
15657         (toggleFloat): ditto
15658         (menuUndo): ditto
15659         (menuRedo): ditto
15660         (copyEnvironment): ditto
15661         (pasteEnvironment): ditto
15662         (copy): ditto
15663         (cut): ditto
15664         (paste): ditto
15665         (gotoInset): ditto
15666         (updateInset): remove some commented code
15667
15668         * lastfiles.h: inherit privately from noncopyable
15669         * layout.h: ditto
15670         * lyx_gui.h: ditto
15671         * lyx_main.h: ditto
15672         * lyxlex.h: ditto
15673         * lyxlex_pimpl.h: ditto
15674
15675         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15676         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15677         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15678
15679         * LyXAction.h: inherit privately from noncopyable, add methods
15680         func_begin, func_end, returning iterators to the func map.
15681
15682         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15683         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15684         (func_begin): new method
15685         (func_end): new method
15686
15687         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15688         and not)
15689         (copySelection): ditto
15690         (pasteSelection): ditto
15691
15692         * BufferView.C: whitespace change
15693         * BufferView.h: inherit privately from noncopyable
15694
15695 2001-04-16  Allan Rae  <rae@lyx.org>
15696
15697         * tabular-old.C (l_getline):
15698         * spellchecker.C (sc_check_word):
15699         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15700         an unrecognised preprocessor directive.  So ensure they're wrapped.
15701
15702 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15703
15704         * src/exporter.C (Export): Give an error message when path to file
15705         contains spaces.
15706
15707 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15708
15709         * LaTeX.C (deplog): Always check that foundfile exists.
15710
15711 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * lyx_main.h:
15714         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15715
15716 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15717
15718         * tabular.[Ch] (getLabelList): implement new method
15719
15720         * minibuffer.h: comment ouf setTiimer
15721
15722         * minibuffer.C (ExecutingCB): constify res
15723         (peek_event): constify s
15724         (Set): constify ntext
15725         (Init): constify nicename
15726
15727         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15728
15729         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15730         (savePosition): use two params to Minibuffer::Set
15731         (restorePosition): ditto
15732
15733 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15734
15735         * lyx_main.C: include language.h
15736
15737         * Makefile.am (lyx_main.o): add language.h
15738
15739 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * exporter.C:
15742         * paragraph.C:
15743         * screen.C:
15744         * tabular.C:
15745         * CutAndPaste.C: include gettext.h
15746
15747         * lyxfont.h: remove old hack with ON and OFF.
15748
15749         * lyxparagraph.h:
15750         * lyxfont.h: do not include language.h...
15751
15752         * BufferView2.C:
15753         * LaTeXFeatures.C:
15754         * Painter.C:
15755         * bufferview_funcs.C:
15756         * font.C:
15757         * lyxfont.C:
15758         * text.C:
15759         * text2.C:
15760         * trans_mgr.C:
15761         * paragraph.C: ... but do it here instead
15762
15763 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15764
15765         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15766
15767         * tabular.C: small reformat
15768
15769         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15770         NEW_INSETS version
15771         (GetChar): ditto
15772         (BreakParagraph): ditto
15773         (SetOnlyLayout): ditto
15774         (SetLayout): ditto
15775
15776         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15777         with one arg less.
15778
15779         * lastfiles.C: removed most using decl, add std:: where needed
15780
15781         * buffer.C: ws changes
15782
15783         * MenuBackend.C (class compare_format): put into anon namespace
15784         (expand): constify label, names, action, action2
15785         (expand):
15786
15787         * text.C (SingleWidth): constify font
15788         (IsBoundary): constify rtl2
15789         (GetVisibleRow): constify ww
15790
15791         * LaTeX.C (deplog): constify logfile
15792
15793         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15794         start_x, end_x
15795         (workAreaExpose): constify widthChange, heightChange
15796
15797         * lyxrow.C (par): moved
15798         (height): moved
15799         (next): moved
15800         * lyxrow.h: as inlines here
15801
15802         * lyxfont.h (shape): moved from lyxfont.C
15803         (emph): moved from lyxfont.C
15804
15805         * lyxfont.C (LyXFont): use initialization list for all
15806         constructors
15807         (shape): move to lyxfont.h as inline
15808         (emph): move to lyxfont.h as inline
15809
15810
15811 2001-04-04  Juergen Vigna  <jug@sad.it>
15812
15813         * vspace.C: had to include stdio.h for use of sscanf
15814
15815 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15816
15817         * BufferView.h:
15818         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15819         independent of xforms.
15820
15821 2001-04-02  Juergen Vigna  <jug@sad.it>
15822
15823         * spellchecker.C: fixed namespace placing!
15824
15825 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15826
15827         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15828         the LyXParagraph * is 0.
15829
15830 2001-03-29  Juergen Vigna  <jug@sad.it>
15831
15832         * vspace.C: added support for %, c%, p%, l%.
15833         (stringFromUnit): added helper function.
15834         (asLatexString): changed to give right results for the %-values.
15835
15836         * buffer.C: convert the widthp in a width%.
15837
15838 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15839
15840         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15841         figureForm.[Ch].
15842
15843         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15844         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15845
15846         * lyx_cb.[Ch]: see above.
15847
15848         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15849         form1.[Ch].
15850
15851         * form1.[Ch]:
15852         * lyx.[Ch]: replaced by figure_form.[Ch].
15853
15854         * lyx_gui.C:
15855         * lyx_gui_misc.C:
15856         * lyxfunc.C: changed headers associated with above changes.
15857
15858 2001-03-27  Juergen Vigna  <jug@sad.it>
15859
15860         * BufferView_pimpl.C: set the temporary cursor right!
15861
15862 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15863
15864         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15865
15866 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15867
15868         * LString.h: removed "using std::getline"!
15869
15870         * BufferView_pimpl.C (Dispatch): changes due to changes in
15871         InsetInclude::Params.
15872
15873         * buffer.C (tag_name): removed redundant break statements as they were
15874         producing lots of warnings with my compiler.
15875
15876 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * LString.h: add "using std::getline" when using the real <string>.
15879
15880 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15881
15882         * buffer.C: removed bitset usage.
15883         PAR_TAG moved to an anonymous name space.
15884         (tag_name): new funtion, also in the anonymous namespace.
15885         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15886         (makeDocBookFile): clean code. Completed transition from string arrays
15887         to string vectors.
15888         (SimpleDocBookOnePar): code clean.
15889
15890 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15891
15892         * tabular.C: add some comments.
15893
15894 2001-03-22  Juergen Vigna  <jug@sad.it>
15895
15896         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15897         compatibility read a bit and fixed bug with minipage in different
15898         depth.
15899
15900 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15901
15902         * buffer.C (pop_tag): removed.
15903         (push_tag): removed.
15904         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15905         array replaced with vector. Added support for CDATA sections.
15906         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15907         at any nest level.
15908         (makeDocBookFile): XML conformant declaration of CDATA section,
15909         fixed bug related to <emphasis> in the first paragraph char.
15910         (sgmlOpenTag): exclude empty tags.
15911         (sgmlCloseTag): ditto.
15912
15913         * buffer.h (pop_tag): removed.
15914         (push_tag): removed.
15915
15916 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15917
15918         * language.h (Languages): added size_type and size().
15919
15920 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15921
15922         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15923         response on compability reading of minipages. One probliem is that
15924         the old usage of minipages was «flertydig»
15925
15926         * several files here and in subdirs: don't use static at file
15927         scope use anon namespaces instead.
15928
15929 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15930
15931         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15932         LaTeX output. This is necessary for Literate document
15933         processing.
15934
15935 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15936
15937         * buffer.C: insert hfill when needed.
15938
15939         * tabular.C (l_getline): use string::erase, small whitespace change.
15940
15941         * BufferView_pimpl.C: try the anon namespace.
15942         * WorkArea.C: ditto
15943
15944 2001-03-16  Juergen Vigna  <jug@sad.it>
15945
15946         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15947         otherwise it won't open options-dialogs.
15948
15949         * buffer.C: honor pextraWidth(p) on converting minipages.
15950
15951         * tabular.C (l_getline): changed the functions to strip trailing \r.
15952
15953 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15954
15955         * BufferView_pimpl.C:
15956         * minibuffer..C: added "using SigC::slot" declaration.
15957
15958 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15959
15960         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15961
15962         * text2.C: ditto
15963
15964         * text.C: ditto
15965
15966         * paragraph.C: ditto
15967
15968         * lyxtext.h: NO_PEXTRA
15969
15970         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15971
15972         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15973         * ParameterStruct.h: ditto
15974         * ParagraphParameters.h: ditto
15975         * lyxparagraph.h: ditto
15976
15977 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15978
15979         * buffer.C: add compability for minipage alignment.
15980         (latexParagraphs): remove unwanted pextra check.
15981
15982         * several files: remove CXX_WORKING_NAMESPACES
15983
15984         * buffer.C (pop_tag): tie is in namespace boost
15985
15986         * BufferView.h: noncopyable is in namespace boost
15987         * lyxlex.h: ditto
15988         * lyx_main.h: ditto
15989         * lyx_gui.h: ditto
15990         * layout.h: ditto
15991         * lastfiles.h: ditto
15992         * bufferlist.h: ditto
15993         * ShareContainer.h: ditto
15994         * LyXView.h: ditto
15995         * LyXAction.h: ditto
15996         * LaTeX.h: ditto
15997
15998 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15999
16000         * Merging changes from BRANCH_MVC back into HEAD.
16001
16002         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16003
16004 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * BufferView_pimpl.C: change from intl.C
16007
16008         * combox.h:
16009         * combox.C:
16010         * Makefile.am: move combox.*
16011
16012         * form1.h:
16013         * form1.C:
16014         * lyx_gui.C:
16015         * intl.h:
16016         * intl.C: remove dialog (covered by prefs)
16017
16018 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16019
16020         * lyxfunc.C (Dispatch): removed redundant break statement.
16021
16022 2001-03-14  Juergen Vigna  <jug@sad.it>
16023
16024         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16025
16026 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16027
16028         * buffer.C: add hack to fix compability reading of minipages.
16029
16030 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16031
16032         * buffer.C (getLists): Cleanup.
16033
16034 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16035
16036         * lyxfont.C (update): don't honor toggleall on font size.
16037
16038 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16039
16040         * bmtable.c:
16041         * bmtable.h:
16042         * Makefile.am: moved to frontends/xforms/
16043
16044         * lyx_gui_misc.C:
16045         * lyxfunc.C:
16046         * BufferView_pimpl.C: changes for moved mathpanel
16047
16048 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16049
16050         * gettext.h: fix gettext_init() in --disable-nls
16051
16052 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16053
16054         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16055
16056 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16057
16058         * lyx.C:
16059         * lyx.h: strip external form
16060
16061 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16062
16063         * BufferView_pimpl.C: add comment, destroySplash()
16064
16065 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16066
16067         * BufferView_pimpl.C:
16068         * LyXAction.C:
16069         * buffer.C:
16070         * commandtags.h:
16071         * lyxfunc.C: use re-worked insetinclude
16072
16073 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16074
16075         * buffer.C: add using std::stringstream.
16076
16077         * lyx_cb.C: readd using std::ios.
16078
16079         * buffer.C: add using std::map.
16080
16081         * BufferView_pimpl.C: add using std::vector.
16082
16083         * ShareContainer.h: add std:: to swap.
16084
16085         * buffer.h: add some typedefs
16086         * buffer.C (getLists): use them
16087         (getLists): renamed from getTocList.
16088         add a counter for the different float types and use it in the
16089         generated string.
16090         (getLists): use the same counter for the NEW_INSETS and the "non"
16091         NEW_INSETS
16092
16093         * lyx_cb.h: remove unused items, includes, using etc.
16094
16095         * ShareContainer.h: remove some commented code, add more comments
16096         and "documentation".
16097
16098 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16099
16100         * buffer.C (getTocList): make the list also when NEW_INSETS is
16101         defined.
16102
16103         * buffer.h: remove TocType
16104
16105         * buffer.C (getTocList): change to return a map<string,
16106         vector<TocItem> >, implement for dynamic number of list.
16107
16108         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16109         * text2.C (PasteSelection): adjust
16110         * CutAndPaste.C (pasteSelection): adjust
16111
16112         * FloatList.C (FloatList): update from the new_insets branch.
16113         * Floating.[Ch]: ditto
16114         * LaTeXFeatures.C: ditto
16115         * buffer.C: ditto
16116         * lyxlex_pimpl.C: ditto
16117
16118         * paragraph.C (Last): remove when NEW_INSETS is defined.
16119
16120         * other file: changes because of the above.
16121
16122 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16123
16124         * lyxparagraph.h: rename next to next_, previous to previous_,
16125         make them private for NEW_INSETS. Rename Next() to next(),
16126         Previous() to previous().
16127
16128         * other files: changes because of the above.
16129
16130 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * BufferView.h:
16133         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16134         problem.
16135
16136 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16137
16138         * main.C (main): pass lyx_localedir to gettext_init().
16139
16140         * gettext.h: remove locale_init and gettext_init macros
16141
16142         * gettext.C (locale_init): new function
16143         (gettext_init): new function
16144
16145         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16146         setlocale().
16147
16148 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16149
16150         * Moved credits to frontends:
16151         * credits.[Ch]: removed
16152         * credits_form.[Ch]: removed
16153         * lyx_gui_misc.C: remove credits stuff
16154         * Makefile.am:
16155
16156 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16157
16158         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16159
16160         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16161         unneeded destructor.
16162
16163         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16164         a standalone pointer again.
16165
16166         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16167
16168 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * Makefile.am:
16171         * filedlg.h:
16172         * filedlg.C:
16173         * LyXAction.C:
16174         * ToolbarDefaults.C:
16175         * bufferlist.C:
16176         * commandtags.h:
16177         * form1.C:
16178         * form1.h:
16179         * lyx_cb.C:
16180         * lyx_cb.h:
16181         * lyxfunc.h:
16182         * lyxfunc.C:
16183         * BufferView_pimpl.C: use new file dialog in GUII
16184
16185         * lyx_cb.h:
16186         * lyx_cb.C: remove LayoutsCB to Toolbar
16187
16188 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16189
16190         * ShareContainer.h (get): add std:: qualifier
16191
16192 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16193
16194         * ShareContainer.h: define a proper ShareContainer::value_type
16195         type (and use typename to please compaq cxx)
16196
16197 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16198
16199         * lyxparagraph.h: move serveral local vars to
16200         ParameterStruct/ParagraphParameters., use ShareContainer in
16201         FontTable., make vars in FontTable private and add getter and
16202         setter.
16203
16204         * paragraph.C: changes because of the above.
16205
16206         * lyxfont.h: remove copy constructor and copy assignment. (the
16207         default ones is ok), move number inside FontBits. move inlines to
16208         lyxfont.C
16209
16210         * lyxfont.C: add number to initializaton of statics, move several
16211         inlines here. constify several local vars. some whitespace
16212         cleanup. Dont hide outerscope variables.
16213
16214         * Spacing.h: add two new constructors to match the set methods.
16215
16216         * ShareContainer.h: new file, will perhaps be moved to support
16217
16218         * ParameterStruct.h: new file
16219
16220         * ParagraphParameters.h: new file
16221
16222         * ParagraphParameters.C: new file
16223
16224         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16225         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16226
16227         * BufferView_pimpl.C: ParagraphParameter changes.
16228         * buffer.C: Likewise.
16229         * bufferview_funcs.C: Likewise.
16230         * text.C: Likewise.
16231         * text2.C: Likewise.
16232
16233 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16234
16235         * lyxfind.C (LyXReplace): do not redefine default argument in
16236         implementation.
16237         (IsStringInText): ditto
16238         (SearchForward): ditto
16239         (SearchBackward): ditto
16240
16241 2001-03-06  Juergen Vigna  <jug@sad.it>
16242
16243         * lyxfind.C (IsStringInText): put parentes around expressions.
16244
16245 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16246
16247         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16248
16249 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16250
16251         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16252
16253         * stl_string_fwd.h: add comment
16254
16255         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16256
16257         * tabular.h:
16258         * tabular.C: remove unused DocBook methods
16259
16260         * intl.C:
16261         * language.C:
16262         * paragraph.C:
16263         * buffer.C:
16264         killed DO_USE_DEFAULT_LANGUAGE
16265
16266 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * lyx_gui.C: do not include language.h.
16269
16270         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16271         arguments in function implementation.
16272
16273 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16274
16275         * BufferView_pimpl.C: add <ctime>
16276
16277 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16278
16279         * BufferView_pimpl.C: add using std::find_if
16280
16281 2001-02-27  José Matos  <jamatos@fep.up.pt>
16282
16283         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16284         by OnlyPath.
16285
16286 2001-02-11  José Matos  <jamatos@fep.up.pt>
16287
16288         * buffer.C (makeDocBookFile): command styles now have a parameter as
16289         "title" by default.
16290
16291 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16292
16293         * layout_forms.[Ch]: removed
16294         * lyx_cb.[Ch]: out character
16295         * lyx_gui.C: out character
16296         * lyx_gui_misc.C: out character
16297         * bufferview_funcs.C: : out character,
16298         added toggleall as parameter in ToggleAndShow
16299
16300 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16301
16302         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16303
16304         * text2.C (SetCurrentFont): Disable number property at boundary.
16305
16306 2001-02-26  Juergen Vigna  <jug@sad.it>
16307
16308         * lyxfunc.C (getStatus): added a string argument override function so
16309         that this is correctly called from LyXFunc::Dispatch if it contains a
16310         do_not_use_argument which is used!
16311         (Dispatch): added check for "custom" export and call appropriate func.
16312
16313 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16314
16315         * lyxrc.C: Add language_command_local, language_use_babel and
16316         language_global_options.
16317
16318         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16319
16320         * buffer.C (makeLaTeXFile): Use language_use_babel and
16321         language_global_options.
16322
16323 2001-02-23  Juergen Vigna  <jug@sad.it>
16324
16325         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16326         which works with LyXText and putted it inside BufferView. Here now we
16327         only call for that part the BufferView::Dispatch() function.
16328
16329         * BufferView.C (Dispatch): added.
16330
16331         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16332         functions which needs to use a LyXText over from LyXFunc.
16333         (MenuInsertLyXFile): added
16334         (getInsetByCode): added
16335         (moveCursorUpdate): added
16336         (static TEXT): added
16337
16338 2001-02-22  Juergen Vigna  <jug@sad.it>
16339
16340         * BufferView_pimpl.C (update): call a status update to see if LyXText
16341         needs it.
16342
16343 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16344
16345         * vc-backend.C (revert): implement for CVS
16346         (getLog): implement for CVS
16347
16348 2001-02-20  Juergen Vigna  <jug@sad.it>
16349
16350         * text2.C (ClearSelection): added BufferView param for inset_owner call
16351
16352         * lyxfunc.C (TEXT): added this function and use it instead of
16353         directly owner->view()-text of getLyXText().
16354
16355 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16356
16357         * src/layout_forms.C: out preamble
16358         * src/layout_forms.h: out preamble
16359         * src/lyx_cb.C: out preamble
16360         * src/lyx_cb.h: out preamble
16361         * src/lyx_gui.C: out preamble
16362         * src/lyx_gui_misc.C: out preamble
16363         * src/lyxfunc.C: connect with guii preamble
16364
16365 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16366
16367         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16368
16369 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16370
16371         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16372         whether to run bibtex.
16373
16374 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16377
16378 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16379
16380         * Makefile.am (lyx_SOURCES): removed bibforms.h
16381
16382         * vspace.h: doxygen
16383
16384         * text.C (GetVisibleRow): make several local vars const
16385
16386         * tabular.C: small cleanup.
16387
16388         * lyxserver.C (callback): use compare instead of strncmp
16389
16390         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16391         inlines to after class or to paragraph.C
16392
16393         * lyxfont.h: remove friend operator!=
16394
16395         * converter.h: move friend bool operator< to non friend and after
16396         class def.
16397
16398         * combox.h: small cleanup
16399
16400         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16401         to inlines after class def.
16402
16403         * buffer.C (pop_tag): use string operations instead of strcmp
16404
16405         * bmtable.c: doxygen, small cleanup
16406
16407         * LaTeX.h: remove friend operator==
16408
16409 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16410
16411         * screen.C:
16412         * lyxrc.[Ch]:
16413         * lyxfunc.C:
16414         * lyxfont.[Ch]:
16415         * lyx_cb.C:
16416         * intl.[Ch]:
16417         * commandtags.h:
16418         * buffer.C:
16419         * WorkArea.[Ch]:
16420         * LyXAction.C:
16421         * BufferView_pimpl.C:
16422         * BufferView.[Ch]: remove cruft
16423
16424 2001-02-14  Juergen Vigna  <jug@sad.it>
16425
16426         * lyxfunc.C: removed #if 0 unused code
16427
16428         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16429
16430         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16431
16432         * text2.C (SetSelection): added a BufferView * parameter
16433
16434 2001-02-13  Juergen Vigna  <jug@sad.it>
16435
16436         * lyxfunc.C (Dispatch): fixed protected blank problem.
16437         * BufferView2.C (protectedBlank): added LyxText * parameter.
16438
16439         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16440         (AppendColumn): same as above for column_info.
16441
16442         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16443         (moveCursorUpdate): use a LyXText param for support of InsetText.
16444
16445         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16446         (tripleClick): ditto
16447
16448         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16449
16450         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16451
16452         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16453
16454         * text2.C (SetSelection): set correct update status if inset_owner
16455         (ToggleFree): ditto
16456
16457 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16458
16459         * tabular.C: remove some commented code.
16460
16461 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16462
16463         * BufferView_pimpl.C: call hideSplash()
16464
16465         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16466
16467         * include_form.h:
16468         * bibforms.h: remove
16469
16470         * lyxfunc.C:
16471         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16472           add LFUN_CHILD_CREATE
16473
16474         * counters.h: fix tiny typo
16475
16476         * lyx_cb.C:
16477         * lyx.h:
16478         * lyx_gui.C:
16479         * lyx.C: move splash to frontends/xforms/
16480
16481         * lyx_gui_misc.C: move Include and Bibform to frontends
16482
16483         * lyxvc.h: clarify comment
16484
16485         * vspace.C: tiny housekeeping
16486
16487 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16488
16489         * text.C (PrepareToPrint): RTL Fix.
16490
16491         * paragraph.C (GetUChar): New method.
16492         (String):  Use GetUChar.
16493
16494         * buffer.C (asciiParagraph): Use GetUChar.
16495
16496 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16497
16498         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16499
16500 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16501
16502         * buffer.h:
16503         * buffer.C: rename to getLogName(), handle
16504           build log / latex log nicely
16505
16506 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16507
16508         * MenuBackend.C:
16509         * MenuBackend.h: remove support for reference menuitem type.
16510
16511 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16512
16513         * BufferView_pimpl.C: housekeeping
16514         * BufferView_pimpl.h:
16515         * LyXView.h:
16516         * Makefile.am:
16517         * Timeout.C:
16518         * Timeout.h:
16519         * minibuffer.h: move Timeout GUI-I
16520
16521 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16522
16523         * lyxrc.C (read): Update converters data-structures.
16524
16525 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16526
16527         * LaTeX.h (operator!=): add operator != for Aux_Info
16528
16529 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16530
16531         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16532
16533         * LaTeXLog.C: deleted, useful code moved to Buffer
16534
16535         * buffer.h:
16536         * buffer.C: new function getLatexLogName()
16537
16538         * lyx_gui_misc.C:
16539         * lyx_gui.C:
16540         * lyxvc.C:
16541         * lyxvc.h:
16542         * lyxfunc.C: use frontends for LaTeX and VC logs
16543
16544 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16545
16546         * LaTeX.h: yet another std:: that Allan forgot.
16547
16548         * Variables.C (set): renamed from isset(), because this clashes
16549         with some HP-UX macros (grr).
16550
16551 2001-02-06  Allan Rae  <rae@lyx.org>
16552
16553         * LaTeX.h: Another bug fix.  Missing std:: this time.
16554
16555 2001-02-04  Allan Rae  <rae@lyx.org>
16556
16557         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16558         floats problem. I've left it commented out because it's not quite
16559         correct.  It should also test that the current object is a table or
16560         figure inset.  But I haven't gotten around to figuring out how to do
16561         that.  I *think* it'll be something like: "table" == inset.type()
16562
16563         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16564         bool.
16565
16566 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16567
16568         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16569         all the citation/databases/styles in the auxilary file.
16570         (run): Rerun latex if there was a babel language error.
16571
16572 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16573
16574         * text.C (Backspace): Preserve the font when changing newline char
16575         with a space.
16576         (BreakParagraph): If the cursor is before a space, delete the space.
16577
16578         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16579
16580 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16581
16582         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16583         new argument (code).
16584         (ChangeCitationsIfUnique): New method.
16585
16586         * paragraph.C (GetPositionOfInset): Handle bibkey.
16587
16588 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * BufferView_pimpl.h: change type of Position::par_pos to
16591         LyXParagraph::size_type.
16592
16593 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16594
16595         * BufferView_pimpl.C (savePosition, restorePosition): Write
16596         messages to minibuffer.
16597
16598 2001-01-28  José Matos  <jamatos@fep.up.pt>
16599
16600         * buffer.C (makeDocBookFile): adds support for document language.
16601         A silly restriction on the name of LatexCommand types where removed.
16602         Added support for CDATA sections, allows to chars unescaped, used
16603         among others in code, to avoid escape < and >.
16604
16605 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16606
16607         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16608         saved positions instrad of a stack. Furthermore, a position is
16609         stored using paragraph id/paragraph position.
16610
16611         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16612         Remove LFUN_REF_BACK.
16613
16614 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * converter.C (dvipdfm_options): New method.
16617
16618 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16619
16620         * vspace.C (isValidLength): Fix for empty input string.
16621
16622 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16623
16624         * LyXAction.C (init): change description of LFUN_FIGURE to
16625         "Insert Graphics"
16626
16627 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16628
16629         * LaTeX.C: add using directive
16630
16631 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * MenuBackend.C (expand): Fix the sorting of the formats.
16634
16635 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16636
16637         * lyx_main.C: tiny error message fix
16638
16639 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16640
16641         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16642         calling fl_initialize(). This fixes the problem with ',' as
16643         decimal separator in text files.
16644
16645 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16646
16647         * trans.C (process): Fix the keymap bug.
16648
16649 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16650
16651         * LaTeX.C (scanAuxFiles): New method. Provides support for
16652         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16653         (scanLogFile) Scan for "run BibTeX" messages.
16654
16655         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16656         OT1 font encoding. Also, load the aecompl package if the ae
16657         package is loaded.
16658
16659         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16660
16661 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16662
16663         * texrow.C (increasePos): turn two error messages into debug
16664         messages.
16665
16666 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16667
16668         * LaTeX.C (scanAux): Handle the \@input macro.
16669         (runBibTeX): Use scanAux().
16670
16671         * language.C (latex_options_): New field.
16672
16673         * LaTeXFeatures.C (getMacros): Add language macros.
16674
16675         * buffer.C (makeLaTeXFile): Small fix.
16676
16677 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16678
16679         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16680
16681         * text2.C: add a using directive.
16682
16683 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16684
16685         * BufferView2.C:
16686         * lyx_gui_misc.h:
16687         * lyxfr1.C:
16688         * lyxfunc.C: kill LyXBell.
16689
16690 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16691
16692         * text.C (IsBoundary): Remove the error message
16693
16694         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16695
16696         * lyxrc.C (setDefaults): Correct initialization value for
16697         font_norm_type.
16698
16699 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16700
16701         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16702         gotoError().
16703
16704         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16705         and GotoNextNote().
16706
16707         * src/LyXAction.C: Added reference-next.
16708
16709         * text.C (InsertChar): Use contains instead of strchr.
16710
16711         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16712
16713 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16714
16715         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16716         alignment commands (when needed).
16717
16718         * text.C (InsertChar): Add ':' to number separator chars.