]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
* Replace all use of 'slashify_path' with 'internal_path'.
[lyx.git] / src / ChangeLog
1 2004-12-19  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.C (save): s/slashify_path/internal_path/.
4
5 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * lyxfind.C (findChange): do not search for end of pars, because
8         the change tracker cannot handle this (fixes bug 1719).
9
10 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
11
12         * paragraph.[Ch] (autoBreakRows): remove
13
14         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
15
16         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
17         avoid using the paragraph one
18
19         * text2.C (LyXText, insertStringAsLines): adjust
20         
21 2004-12-16  Angus Leeming  <leeming@lyx.org>
22
23         * bufferlist.C:
24         * lyx_main.C: 
25         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
26
27 2004-12-14  Angus Leeming  <leeming@lyx.org>
28
29         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
30
31         * bufferlist.C (emergencyWrite):
32         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
33         GetEnvPath("HOME").
34
35 2004-12-14  Angus Leeming  <leeming@lyx.org>
36
37         * main.C: (main): no longer pass pointers to os::init.
38
39 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
40
41         * undo.C (textUndoOrRedo): simplify logic, fix a crash
42         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
43
44 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * lyxfunc.C: 
47         * text3.C: remove selection_possible global flag
48
49 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * text2.C (getSelectionSpan): remove
52         (changeDepth, changeDepthAllowed): adjust
53
54 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
55
56         * Makefile.am (BOOST_LIBS): use boost variables
57
58 2004-12-03  José Matos <jamatos@lyx.org>
59
60         * buffer.C: format up to 238.
61
62 2004-12-03  José Matos  <jamatos@lyx.org>
63
64         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
65
66 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
67
68         * cursor.C (goUpDown): remove call to idxUpDown2
69
70 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
71
72         * tabular.[Ch]: use size_t-like types for cell, row and column
73         indices
74
75 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * lyxfunc.C (getStatus): do not lose previous information when
78         calling BufferView::getStatus; do not set a default "Command
79         disabled" message at the beginning, but just before returning.
80
81 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * cursor.h (getStatus): add better comment from src/cursor.C
84
85 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text3.C (getStatus): return false when the lfun is not handled
88
89 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * broken_headers.h: remove
92
93         * Makefile.am (lyx_SOURCES): remove broken_headers.h
94
95 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
96
97         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
98         offset_ref accessors
99
100         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
101         top_y_, merge fitcursor with update
102         (updateScrollbar, scrollDocView, fitCursor, center, update): new
103         coord scheme
104         (metrics): introduce
105         (workAreaDispatch): adapt to new coord scheme
106         (redoCurrentBuffer): remove
107
108         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
109
110         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
111         CurStatus enum.
112
113         * coordcache.[Ch]: add paragraph cache and helpers
114
115         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
116         adjust everywhere
117
118         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
119         (targetX, setTargetX): introduce
120
121         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
122         baseline -> ascent, as the rest of lyx
123
124         * lyxtext.h: remove redoParagraphs, updateParPositions,
125         fullRebreak, redoParagraphInternal. move dist to anon namespace in
126         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
127         have ascent/descent (ascent is ascent of first par)
128
129         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
130         step of BufferView
131
132         * paragraph.[Ch]: unify dimension handling with the rest of lyx
133
134         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
135
136         * pariterator.C: fix infinite loop introduced in par->pit renaming
137
138         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
139         in insets and LyXText, draw two off-screen paragraphs using
140         NullPainter, and adapt to new coord scheme
141
142         * text.C:
143         * text2.C:
144         * text3.C: adapt lfun handlers to the new coord scheme, which
145         means: there's only guaranteed coord information for onscreen pars
146         plus one above and one below. This implies that one can do search
147         from y coordinates in the range [-1,workHeight]
148
149 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
150
151         * rename a lot of InsetOld to InsetBase
152
153 2004-11-25  Angus Leeming  <leeming@lyx.org>
154
155         * BufferView_pimpl.C:
156         * lyx_cb.C:
157         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
158
159 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
162         call BufferView::getStatus if LCursor::getStatus did nothing
163         (setStatusMessage, getStatusMessage): removed.
164
165         * FuncStatus.C (message): new methods. Used to provide an error
166         message indicating why a command is disabled.
167         (clear, |=, FuncStatus): update for message.
168
169 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
170
171         * lyxfunc.C (dispatch): always call sendDispatchMessage
172
173 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * BufferView.C:
176         * BufferView_pimpl.C:
177         * CutAndPaste.C:
178         * FontIterator.C:
179         * buffer.C:
180         * cursor.C:
181         * cursor_slice.[Ch]:
182         * dociterator.[Ch]:
183         * lyxfind.C:
184         * paragraph_funcs.C:
185         * pariterator.C:
186         * rowpainter.C:
187         * text.C:
188         * text2.C:
189         * text3.C:
190         * undo.C: par->pit renaming
191
192 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * tabular.C (cellstruct): use initialization, store a shared_ptr
195         to insettext instead of the insettext directly, adjust to fit.
196         (operator=):  new function
197         (swap): new function
198         (rowstruct): use initialization
199         (columnstruct): use initialization
200         (ltType): use initialization
201
202
203         * lyxlength.h (swap): new function
204
205         * LColor.[Ch] (operator=): use the common semantics
206
207 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * lyxfind.C (findNextChange): update the bufferview after setting
210         the selection.
211
212 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
215         number of InsetOptArgs has already been inserted.
216
217         * output_latex.C (latexOptArgInsets): new method. This outputs all
218         the optarg insets, up to the limit defined in the layout file.
219         (optArgInset): removed
220         (TeXOnePar): call latexOptArgInsets; correctly update texrow
221
222 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * paragraph.C (isLetter): remove special spellchecker-related
225         code; return true also for digits
226         (isWord, isKomma): remove
227
228         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
229         * lyxfind.C (MatchString()): use isLetter instead of isWord
230
231 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
232
233         * pariterator.h (operatir=): comment out un-implemented member
234         function.
235
236         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
237         static cast.
238
239 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
240
241         * lyxfont.h: include LColor.h to satisfy concept checks.
242
243 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
244
245         * pariterator.h: add typdefs for value_type, difference_type,
246         pointer and reference to satisfy concept checks. Also add default
247         constructor for same reason.
248
249         * pariterator.C (operator++): add post-increment operator to
250         satisfy concept checks.
251
252         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
253         checks.
254
255         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
256
257         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
258         checks. Also rename base_type to BaseType to follow naming
259         standard better.
260
261         * FloatList.h: include Floating.h to satisfy concept checks.
262
263 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * lyxfunc.C (getStatus): when the origin of the request is menu or
266         toolbar, and the LyXView does not have focus, do as if there was
267         no buffer (bug 1720)
268
269         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
270         FuncRequest to individual entries of LFUN_SEQUENCE
271
272 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * output_latex.C (TeXOnePar): override runparams.moving_arg
275         according to the needprotect value of the current paragraph (bug
276         1739)
277
278         * paragraph.C (simpleTeXOnePar): no need to override
279         runparams.moving_args here
280
281 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
282
283         * vspace.C: fix off-by-one-error, related to fix #1682
284
285 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
286
287         * lengthcommon.C: a more general fix for bug 1682
288
289 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
290
291         * text.C (backspace): fix crash
292
293 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
294
295         * format.[Ch] (getFormatFromFile): new method
296         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
297
298 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
301
302 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * lyxfunc.C (dispatch): remove the verbose argument
305         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
306         instead
307
308         * kbmap.C (defkey): set the origin of func to KEYBOARD
309
310         * MenuBackend.C (MenuItem):
311         * ToolbarBackend.C (add): set the origin of func to UI
312
313         * funcrequest.[Ch]: add origin member, which indicates which part
314         of LyX requests an action
315
316 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * converter.C (move): don't lie in the error message
319         * converter.h (isReachable, move): document
320
321 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
322
323         * buffer.C: remove unused using lyx::support::atoi
324         * paragraph_funcs.C: ditto
325
326 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
327
328         * bufferlist.C (exists): use bind and equal_to instead of
329         compare_memfun
330         (getBuffer): ditto
331         * lyxtextclasslist.C (NumberOfClass): ditto
332
333         * cursor.C (insert): use for_each instead of explicit for loop
334
335         * bufferlist.C (getFileNames): use std::transform and
336         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
337
338         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
339         for loop
340
341         * buffer.C (changeLanguage): use for_each instead of explicit for
342         loop
343         (hasParWithID): implement using getParFromID
344
345         * LaTeXFeatures.C: ws change only
346
347         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
348         to cleanup a bit.
349
350         * BufferView_pimpl.C (trackChanges): use for_each instead of
351         expilicit for loop
352
353 2004-11-04  André Pönitz  <poenitz@gmx.net>
354
355         * undo.h:
356         * undo.C (textUndoOrRedo): fix crash when creating undo information.
357
358         * dociterator.C (asDocIterator): use hard assert again.
359
360 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * lyxlength.C (asLatexString): rewrite so that it does not use
363         snprintf anymore
364
365 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * text3.C (specialChar, dispatch): make sure cursor moves to the
368         right after inserting an inset
369
370 2004-11-02  José Matos  <jamatos@lyx.org>
371
372         * output_docbook.C (docbook):
373         * paragraph.C (getID):
374         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
375         garantee that the output is always legal.
376
377         * tabular.C (docbook):
378         * outputprams.[Ch]: remove mixed contents.
379
380 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
381
382         * text2.C (setCounter): prevent endless loop
383
384 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
385
386         * exporter.C (copyFile): use the mover instead of support::copy()
387         * exporter.C (Export): pass format and latex name to copyFile()
388         * exporter.h (addExternalFile): document
389         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
390
391 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
394
395 2004-10-30  José Matos  <jamatos@lyx.org>
396
397         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
398         text and no inset or font change. This allows to use CDATA
399         sections just for the whole paragraph.
400
401 2004-10-30  José Matos  <jamatos@lyx.org>
402
403         * paragraph.C (getFirstWord): remove unused variable.
404
405 2004-10-30  José Matos  <jamatos@lyx.org>
406
407         * paragraph.C (getFirstWord): the content should always be escaped
408         there.
409         (simpleDocBookOnePar):
410         * output_docbook.C (makeEnvironment): replace reference to CDATA
411         to style pass_thru.
412
413 2004-10-30  José Matos  <jamatos@lyx.org>
414
415         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
416
417 2004-10-30  José Matos  <jamatos@lyx.org>
418
419         * output_docbook.C (makeParagraphs):
420         * paragraph.[Ch] (emptyTag): for docbook and company, if the
421         standard paragraph has only a given type of content drop the wrapper.
422
423 2004-10-29  José Matos  <jamatos@lyx.org>
424
425         * output_docbook.C (makeEnvironment):
426         * sgml.C (openTag):
427         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
428
429 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
430
431         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
432         (cleanID): sanitize any id.
433
434 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
435
436         * buffer.C, lyxlex_pimpl.C:
437         * lyxlex_pimpl.C (setFile):
438         s/getExtFromContents/getFormatFromContents/
439
440 2004-10-28  José Matos  <jamatos@lyx.org>
441
442         * output_docbook.C (makeEnvironment): move id to broadest possible
443         scope.
444
445         * sgml.C (openTag): apply substitution of <> for all attributes.
446
447 2004-10-28  José Matos  <jamatos@lyx.org>
448
449         * buffer.C (makeLinuxDocFile, makeDocBookFile):
450         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
451         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
452
453         * sgml.[Ch]: new version for open and closeTag for paragraph and
454         for strings. Now they handle the ids of paragraphs.
455
456 2004-10-26  Angus Leeming  <leeming@lyx.org>
457
458         * Makefile.am: add mover.[Ch].
459
460         * converter.C (convert, move): use the new Movers to move external
461         files to the temp directory.
462
463         * lyx_main.C (init): ensure that the global system_movers data
464         is initialised.
465
466         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
467         preferences file.
468
469         * mover.[Ch]: new files, defining a Mover as a utility to move an
470         external file between directories and, if necessary, manipulate this
471         file using a helper script.
472
473 2004-10-25  José Matos  <jamatos@lyx.org>
474
475         * output_docbook.C (makeCommand): merge two if's that tested the
476         same condition.
477
478 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * sgml.C (escapeString): fix warning in a better way
481
482 2004-10-25  José Matos  <jamatos@lyx.org>
483
484         * sgml.C (escapeString): import the require boosts header file for
485         tie, and avoid a signed unsigned comparison.
486
487 2004-10-25  José Matos  <jamatos@lyx.org>
488
489         * sgml.h: add #include <string>
490
491 2004-10-25  José Matos  <jamatos@lyx.org>
492
493         * sgml.[Ch] (escapeString): new function to escape all the string.
494
495 2004-10-24  José Matos  <jamatos@lyx.org>
496
497         * paragraph.[Ch] (getFirstWord): new function to get the first
498         word. Useful for description.
499         (simpleDocBookOnePar): remove depth argument, add another that
500         says where to start the paragraph.
501
502         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
503         use the new functions to fix cleanly the support for descriptions.
504
505 2004-10-24  José Matos  <jamatos@lyx.org>
506
507         * buffer.C (makeLinuxDocFile, makeDocBookFile):
508         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
509         * output_linuxdoc.C (linuxdocParagraphs):
510         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
511         add buffer as argument.
512
513 2004-10-24  José Matos  <jamatos@lyx.org>
514
515         * output_docbook.C (makeEnvironment, searchEnvironment): place
516         CDATA inside paragraphs and fix scope for listitems.
517
518 2004-10-24  José Matos  <jamatos@lyx.org>
519
520         * output_docbook.C: remove using statement for stack.
521
522 2004-10-23  José Matos  <jamatos@lyx.org>
523
524         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
525         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
526         docbook. The new scheme is recursive and makes use of iterators, the
527         same as latex export works.
528         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
529         directly with the paragraph contents. This code was moved up to
530         output_docbook.C (docbookParagraphs).
531         * sgml.C (openTag, closeTag): removed unneeded newlines.
532         (closeEnvTags) removed.
533
534 2004-10-23  André Pönitz  <poenitz@gmx.net>
535
536         * undo.C (textUndoOrRedo):
537         * dociterator.C (asDocIterator): work around crash
538
539         * cursor.C (getStatus): replace ASSERT by more verbose error message
540           and manual correction of the problem. Should increase stability
541           while providing more sensible information.
542
543 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
546
547         * bufferlist.C (previous, next): new methods
548
549         * lfuns.h:
550         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
551
552 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
553
554         * buffer.C (makeDocBookFile): add dsssl stylesheet control
555         entities to preamble.
556
557 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
558
559         * messages.C (Pimpl): strip off translation context information
560
561 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
564         the cursor is correct (bug 1694)
565
566 2004-10-13  José Matos  <jamatos@lyx.org>
567
568         * output_docbook.C (docbookParagraphs): fix closing tags in the
569         end of the document.
570
571 2004-10-09  José Matos  <jamatos@lyx.org>
572
573         * buffer.C: format up to 237.
574         * bufferparams.C (write): use tostr to convert booleans to strings.
575
576 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
579
580 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
581
582         * LaTeX.C: implement use of babel language in xindy.
583
584 2004-10-05  José Matos  <jamatos@lyx.org>
585
586         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
587         Add new translators to help reading and writing the lyx file.
588
589 2004-10-05  José Matos  <jamatos@lyx.org>
590
591         * ParagraphParameters.C (read):
592         * text.C (readParToken): replace nexToken by more appropriate lex
593         methods.
594
595 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
596
597         * LaTeX.C (runMakeIndex):
598         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
599         (usually 'makeindex') configurable.
600
601         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
602         with a variable rather than with a number.
603
604 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * output_latex.C (TeXOnePar): make sure font setting is the first
607         thing that gets output (and the last at the end). Should fix bug
608         1404.
609
610 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
611
612         * pch.h: use proper signal include
613
614         * LaTeX.h: Use preferred calling of Boost.Signal
615         * buffer.h: ditto
616
617 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
618
619         * pch.h: dont include <boost/function/function0.hpp>
620
621         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
622
623         * paragraph_pimpl.h: remove usage of ShareContainer
624
625         * paragraph_pimpl.C: remove initialization of ShareContainer.
626
627 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         Fix bug #1666
630
631         * BufferView.C (putSelectionAt): change the semantics when
632         backwards == true: now, this just swaps cursor and anchor wrt the
633         forward case
634
635         * BufferView.h (putSelectionAt): add some documentation
636
637         * lyxfind.C (findBackwards): rewrite using while(). In particular,
638         make sure backwardChar is done at least once (to avoid getting
639         stuck)
640         (findNextChange): use putSelectionAt in the forward direction
641         (operator()): use Paragraph::isWord
642
643 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
644
645         * Spacing.C (set): c_str fix
646
647 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * lyx_cb.C (Reconfigure): quote the name of configure script in
650         case it contains spaces
651
652 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
653
654         * client: new dir
655
656         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
657         (BOOST_LIBS): use top_buildir when looking for the file
658
659 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
660
661         * pch.h: do not use include boost/format.hpp, multiple symbols
662                 will result (gcc bug)
663
664
665 2004-08-23  José Matos  <jamatos@lyx.org>
666
667         * bufferparams.C (readToken): fix reading of the author field.
668
669 2004-08-20  José Matos  <jamatos@lyx.org>
670
671         * lyxrc.C: remove support/translator.h inclusion since it is not used.
672
673 2004-08-20  José Matos  <jamatos@lyx.org>
674
675         * lyxlex.[Ch] (findToken): remove function.
676
677         * ParagraphParameters.C (findToken):
678         * bufferparams.C (findToken): replace call for previous function
679         with local copy. This local function has one more argument, the
680         read string argument.
681
682 2004-08-16  José Matos  <jamatos@lyx.org>
683
684         * ParagraphParameters.C (write):
685         * Spacing.C (writeFile):
686         * bufferparams.C (writeLaTeX):
687         * lyx_cb.C (Reconfigure):
688         * paragraph.C (write):
689         * tabular.C (write): remove unnecessary space at end of line.
690
691
692 2004-08-16  José Matos  <jamatos@lyx.org>
693
694         * text.C (readParagraph): remove debug message.
695
696 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
699         crash
700
701         * output_plaintext.C (asciiParagraph): set depth correctly
702
703         * outputparams.h: add member depth
704
705         * paragraph_funcs.C (ownerPar): remove.
706
707         * text2.C (setCounter): remove first_pit; comment out some
708         non-working code that uses ownerPar
709
710         * BufferView.C (getParentLanguage): remove. Not used anymore, and
711         uses ownerPar
712
713 2004-08-16  José Matos  <jamatos@lyx.org>
714
715         * text.C (readParToken, readParagraph, read): report all unknown tokens.
716         For the same level of importance use the same chanel to report problems.
717         (read): add code to deal with \begin_body and \end_body.
718
719
720 2004-08-15  José Matos  <jamatos@lyx.org>
721
722         * lyxlex.C (getString): fix comment, buffer::readBody is now
723         buffer:readDocument.
724
725         * tex-strings.C (string_papersize): Default -> default,
726         Custom -> custom, for consistency with other options.
727
728 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
729
730         * pch.h: new file
731
732         * Makefile.am: support pch
733
734 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
735
736         * text.C (readParToken): remove the static LyXFont variable and
737         pass it as a parameter instead. This fixes a nasty bug where an
738         inset will be inserted with a bad font in some situations
739         (readParagraph): adapt
740
741         * text2.C (setCounter): reduce number of calls to pars_[pit]
742
743         * text.C (singleWidth): add an assert, fix a test
744
745         * rowpainter.C (paintText): reduce number of calls to singleWidth
746
747         * paragraph.C (isHfill):
748         (isNewline): ws only
749
750 2004-08-14  André Pönitz  <poenitz@gmx.net>
751
752         * text.C:
753         * text2.C:
754         * rowpainter.C:
755         * lyxtext.h (several functions): use a Paragraph & argument
756         instead of par_type
757
758 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
759
760         * metricsinfo.h: add a new field ltr_pos to PainterInfo
761
762         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
763
764         * text.C (singleWidth): remove useless test
765
766 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * tabular.h: remove bogus comments
769
770         * tabular.C (getDescentOfRow):
771         (isPartOfMultiColumn): add assertions
772
773         * lyxlength.C (inPixels): remove #warning
774
775 2004-08-14  André Pönitz  <poenitz@gmx.net>
776
777         * paragraph.h: inline getChar()
778
779         * BufferView.h: remove unused declarations
780
781 2004-08-14  José Matos  <jamatos@lyx.org>
782
783         * Buffer.[Ch] (readDocument): new name for old readBody.
784         * Buffer.C: new file format, new keywords: \begin_document,
785         \begin_header, \begin_body, \end_body.
786
787         * bufferparams.C (readToken): replace all calls to lex.nextToken
788         by lex.next(). Do the same to eatLine except where really needed.
789
790         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
791         line when writing to the lyx file.
792
793         * output_plaintext.C (asciiParagraph): fix Bibliography style
794         handling.
795
796         * text.C (read): fix end of file handling.
797
798 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
799
800         * MenuBackend.C (Menu::operator[]): new method to access
801         individual menu items
802         (Menu::hasFunc): new method. search for an item that corresponds
803         to a given func
804         (MenuBackend::specialMenu): new method
805         (MenuBackend::expand): if a special menu has been set, skip
806         entries whose func() appears in this menu
807
808 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
809
810         * text3.C: use Debug::DEBUG a bit more
811
812         * text.C (leftMargin): try to simplify a tiny bit change var x to
813         l_margin. Dont output the wide margins always.
814         (rightMargin): no margin in inner texts
815
816         * rowpainter.h (nestMargin): new func
817         (changebarMargin): new func
818         (rightMargin): new func
819
820         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
821         now functions.
822         (paintLast): ditto
823
824         * factory.C (createInset): modify setDrawFrame
825
826         * cursor.C: use Debug::DEBUG a bit more
827
828 2004-08-14  André Pönitz  <poenitz@gmx.net>
829
830         * coordcache.[Ch]:
831         * Makefile.am: new files to accomodate an 'external' (x,y)-position
832         cache for all insets in (at least partially) visible (top-level)
833         paragraphs.
834
835         * BufferView_pimpl.C: reset external coord cache before every update.
836         This means the coord cache only contains valid entries.
837
838 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
839
840         bug 1096
841         * BufferView_pimpl.C (getInsetByCode): move function out of class
842         and change in to a template in anon namespace. Also fix to do what
843         suits us better.
844
845 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
846
847         bug 1305
848         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
849         of char
850         (breakParagraph): rename par to par_offset and use a local
851         reference. Add code to keep the language over a rebreak.
852         (breakParagraphConservative): rename par to par_offset, use a
853         local reference
854         (mergeParagraph): ditto
855         (outerHook): ditto
856         (isFirstInSequence): ditto
857         (outerFont): rename pit to par_offset
858
859         * paragraph.C: ws change
860         * paragraph.h: ditto
861         * text3.C: ditto
862         * text.C: ditto
863
864 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
867         treatment for ']'
868
869         * paragraph.C (simpleTeXOnePar): when we have a \item with
870         optional argument, enclose the argument with curly brackets (in
871         case it contains a closing square bracket)
872
873         * text2.C (editXY):
874         * text2.C (editXY):
875         * text3.C (checkInsetHit): constify
876
877 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
880         documents (bug 1629)
881
882 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         Fix toggling of collapsable insets with the mouse (bug 1558)
885
886         * lyxfunc.C (dispatch): adapt to LCursor changes
887
888         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
889         make sure that dispatch is not invoked twice
890
891         * cursor.C (needsUpdate): new method
892         (dispatch): return void
893         (result): new method, to access the DispatchResult of the cursor.
894
895 2004-08-13  José Matos  <jamatos@lyx.org>
896
897         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
898
899 2004-08-13  André Pönitz  <poenitz@gmx.net>
900
901         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
902
903         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
904           multiple cells
905
906 2004-08-12  André Pönitz  <poenitz@gmx.net>
907
908         * text3.C: take out the 'cursor right' form insertInset and only
909         do it in those places when it is really needed. Fixes crash on
910         C-m...
911
912 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
913
914         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
915
916         * BufferView_pimpl.C (setBuffer): initialize the current font of
917         the underlying LyXText
918
919 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
920
921         * kbsequence.C (print): use UI native formatting for menu
922         shortcuts
923
924         * text.C (insertChar): call Paragraph::insertChar with a font
925         argument (cosmetic)
926
927         * paragraph.C (insertInset, insertChar): the version that takes a
928         LyXFont argument is now a wrapper around the other one (the
929         opposite used to be true).
930
931         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
932         argument. Font setting is done in Paragraph now.
933
934 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * outputparams.h: add new members intitle and lang.
937
938         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
939         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
940
941 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
942
943         * text3.C (dispatch): remove special handling of button 4 and 5,
944         it is now taken care of in the frontend code.
945
946 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * Spacing.h: add <string> (STLPort compile fix)
949
950 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
951
952         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
953
954 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
955
956         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
957         to bool.
958
959         * converter.C (showMessage): inherit from unary_function, make
960         operator() const.
961
962         * buffer.C (writeFile): initialize retval
963
964         * InsetList.h: rename private variable list to list_
965         * InsetList.[Ch]: adjust accordingly.
966
967 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
968
969         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
970         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
971         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
972         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
973         * ParagraphParameters.C, LaTeXFeatures.C: replace
974         "support/std_sstream.h" with <sstream>
975
976 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
977
978         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
979         * lyxsocket.C (LyXServerSocket): ditto
980         (serverCallback): ditto
981
982 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
983
984         * LaTeXFeatures.C: check release date when loading jurabib.
985
986 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
987
988         * lyxserver.C (startPipe): call register_socket_callback
989         (endPipe): call unregister_socket_callback
990
991 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
994         (LyXServerSocket): register the callback
995         (LyXServerSocket): unregister the callback
996         (fd): delete function
997         (serverCallback): improve error checking and setup the callbacks.
998         (dataCallback): change arg to fd.
999         (writeln): new func (copied fro the client socket) used for server
1000         write to client.
1001         (LyXDataSocket): simplify
1002         (~LyXDataSocket): close ann unregiser callback
1003         (server): delete function
1004         (fd): delete function
1005         (readln): small changes, improve some std::string usage
1006         (writeln): constify a bit
1007
1008 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1011         Qt frontend
1012
1013 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1016         after it has been populated
1017
1018 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * text2.C (insertInset): move cursor when inserting inset.
1021
1022 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * kbmap.C (findbindings): a couple of new methods. returns a
1025         container of kb_sequence objects. The real work is done by the
1026         private recursive version
1027         (printbindings): uses findbindings to print out a bracketed list
1028         of bindings (renamed from findbinding).
1029
1030         * MenuBackend.C (binding): use kb_keymap::findbindings
1031
1032         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1033
1034 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1035
1036         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1037
1038 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * paragraph.C (isWord): return true on insets that report
1041         isLetter().
1042
1043         * text.C (getWord): use Paragraph::isWord to decide what is in a
1044         word and what is not; fix bug 1609.
1045
1046 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1047
1048         * tex-strings.C: add "none" to string_paperpackages[], fixes
1049         off-by-one-error in the paperpackage selection.
1050
1051         * lyxlex.[Ch]:
1052         * tex-strings.[Ch]: char const * string[n]
1053         -> char const * const string[]
1054
1055 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1056
1057         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1058         command, return early.
1059
1060 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1061
1062         * debug.h: add DEBUG to enum and fix size of ANY.
1063
1064         * debug.C: add support for Debug::DEBUG
1065         (showTags): cast errorTags.level to unsigned int
1066
1067         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1068         (redoCurrentBuffer): ditto
1069         (updateScrollbar): ditto
1070         * cursor.C (dispatch): ditto
1071         * text2.C (setLayout): ditto
1072         (setFont): ditto
1073         (updateCounters): ditto
1074         (editXY): ditto
1075         (deleteEmptyParagraphMechanism): ditto
1076
1077 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1078
1079         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1080         annotations to cleanup the Makefile slightly.
1081
1082 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1083
1084         * lyxrc.C: do not set user_email to a default value but use empty
1085         instead. The entry used to be translated, which does not work
1086         since at the point where lyxrc is constructed there is no
1087         translation service available
1088
1089         * messages.C (getLocaleDir): remove and use directly
1090         lyx_localedir() instead
1091
1092 2004-06-02  Angus Leeming  <leeming@lyx.org>
1093
1094         Fix crash caused by dereferencing null pointer 'exportdata' in
1095         OutputParams by creating a new ExportData variable on the heap,
1096         storing it in a boost::shared_ptr.
1097         The crash was triggered when generating an Instant Preview
1098         of an external inset.
1099
1100         * Makefile.am: add outputparams.C
1101
1102         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1103         (c-tor): allocate memory to it.
1104
1105         * exporter.C (c-tor): associated changes.
1106
1107 2004-06-01  Angus Leeming  <leeming@lyx.org>
1108
1109         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1110         contains data before calling isInset(0). (Bug 1513.)
1111
1112 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1113
1114         * exporter.C (checkOverwrite): new method
1115         * exporter.C (copyFile): new method
1116         * exporter.C (Export): copy referenced files to the document dir
1117         * exporter.[Ch]: new class ExportedFile
1118         * exporter.[Ch]: new class ExportData. Contains currently the
1119         names of referenced external files
1120         * outputparams.h: add exportdata member.
1121
1122 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1123
1124         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1125         version.C-tmp
1126
1127 2004-05-19  Angus Leeming  <leeming@lyx.org>
1128
1129         * LaTeXFeatures.C:
1130         * ToolbarBackend.C:
1131         * bufferparams.C:
1132         * lyxfunc.C: small changes due to the introduction of namespace
1133         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1134
1135 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1136
1137         * text3.C (dispatch): supress update when only moving the cursor
1138         * cursor.C (selHandle): remove commented code
1139
1140 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1141
1142         * paragraph.C (startTeXParParams): correct column count
1143         * CutAndPaste.C (pasteSelection): remove const_cast
1144         * output_docbook.C (docbookParagraphs): remove const_cast
1145         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1146         const_cast and return ParagraphList::const_iterator
1147         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1148         * output_plaintext.C (writeFileAscii): remove const_cast
1149         * paragraph.[Ch] (simpleTeXOnePar): make const
1150         * paragraph_funcs.C (outerPar): use const iterators
1151         * paragraph_pimpl.C (validate): use const iterators
1152         * text.C (setHeightOfRow): use const iterators
1153
1154 2004-05-17  Angus Leeming  <leeming@lyx.org>
1155
1156         * lfuns.h:
1157         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1158
1159         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1160         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1161         if the citation engine has changed.
1162
1163 2004-05-14  José Matos  <jamatos@lyx.org>
1164
1165         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1166         if the textclass does not provide it. Have it different for sgml and
1167         xml.
1168         support the language of document.
1169         * output_docbook.C (docbookParagraphs):
1170         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1171         first anchor as the id of the paragraph, remove special case code.
1172         * sgml.C (escapeChar): escape only < & >.
1173
1174 2004-05-14  Angus Leeming  <leeming@lyx.org>
1175
1176         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1177         dependencies on src/frontends/controllers/biblio.h. Define a
1178         CiteEngine_enum wrapper class to enable the enum to be forward
1179         declared.
1180
1181 2004-05-12  Angus Leeming  <leeming@lyx.org>
1182
1183         * buffer.C: up LYX_FORMAT to 234.
1184         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1185         use_numerical_citations with a single biblio::CiteEngine cite_engine
1186         variable.
1187         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1188
1189 2004-05-13  José Matos  <jamatos@lyx.org>
1190
1191         * converter.h:
1192         * converter.C (Converter, readFlags): add xml member.
1193         * outputparams.h: add XML flavor.
1194         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1195
1196 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * lyxfunc.C (dispatch):
1199         (getStatus): fix handling of LFUN_SEQUENCE
1200
1201 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1202
1203         * debug.C (showLevel): do not forget the end-of-line marker
1204
1205 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         * kbmap.C (read): do not stop parsing a bind file when an error
1208         occurs (bug 1575)
1209
1210 2004-04-29  Angus Leeming  <leeming@lyx.org>
1211
1212         * cursor.C:
1213         * factory.C:
1214         * pariterator.C:
1215         * text2.C: wrap a bunch of #warning statements
1216         inside #ifdef WITH_WARNINGS blocks.
1217
1218 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1219
1220         * buffer.C: increment format to 233.
1221
1222 2004-04-28  Angus Leeming  <leeming@lyx.org>
1223
1224         * BufferView_pimpl.C:
1225         * lyxfunc.C:
1226         * text3.C:
1227         s/updateToolbar()/updateToolbars()/
1228         s/Toolbar.h/Toolbars.h/
1229
1230 2004-04-28  Angus Leeming  <leeming@lyx.org>
1231
1232         * BufferView.[Ch] (c-tor):
1233         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1234         No longer passes these data to the WorkArea generator.
1235
1236 2004-04-28  Angus Leeming  <leeming@lyx.org>
1237
1238         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1239
1240 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1241
1242         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1243
1244 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * output_latex.C (TeXEnvironment): make sure that there is a line
1247         break before \end{foo} for the last paragraph of a document
1248         (TeXOnePar): if the paragraph is at the end of the document (or
1249         inset) and the language has to be reset, then make sure that the
1250         line break is _before_ the language command, not after (fixes bug
1251         1225); also make sure that the language reset command is the first
1252         thing after the paragraph (to ensure proper nesting of
1253         environments and thus fix bug 1404)
1254
1255 2004-04-21  John Levon  <levon@movementarian.org>
1256
1257         * ToolbarBackend.h:
1258         * ToolbarBackend.C: make "name" be a programmatic name
1259         and a gui_name field.
1260
1261         * lyxfunc.C: display the minibuffer on M-x
1262
1263 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1264
1265         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1266         (bug 1526)
1267
1268 2004-04-19  Angus Leeming  <leeming@lyx.org>
1269
1270         * BufferView_pimpl.C (setBuffer): changed preview interface.
1271
1272         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1273         possible values.
1274
1275 2004-04-19  John Levon  <levon@movementarian.org>
1276
1277         * BufferView_pimpl.C:
1278         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1279
1280 2004-04-05  Angus Leeming  <leeming@lyx.org>
1281
1282         * text.C (redoParagraphs): add call to updateCounters(), thereby
1283         fixing the missing "Figure #:" label from the caption of a
1284         figure float.
1285
1286 2004-04-13  Angus Leeming  <leeming@lyx.org>
1287
1288         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1289         cursor is clicked out of an inset.
1290
1291 2004-04-13  Angus Leeming  <leeming@lyx.org>
1292
1293         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1294         than an InsetOld one.
1295
1296 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1297
1298         * format.[Ch]: add editor to Format
1299         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1300         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1301
1302 2004-04-08  André Pönitz  <poenitz@gmx.net>
1303
1304         * metricsinfo.h: remove PainterInfo::width member
1305
1306 2004-04-08  Angus Leeming  <leeming@lyx.org>
1307
1308         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1309         "\providecommand" rather than "\newcommand", thereby preventing
1310         clashes with packages that define "\boldsymbol" themselves.
1311         Eg, beamer.
1312
1313 2004-04-08  Angus Leeming  <leeming@lyx.org>
1314
1315         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1316         thereby squashing an unnecessary warning.
1317
1318 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1319
1320         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1321         setBuffer()
1322
1323 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * BufferView.C (setCursor): call redoParagraph (some insets could
1326         have been opened)
1327         (putSelectionAt): remove the 'double update' trick
1328
1329         * BufferView_pimpl.C (fitCursor): call refreshPar
1330         (workAreaDispatch): remove an uneeded update call
1331         (dispatch): remove some manual update calls
1332
1333         * cursor.[Ch]: remove cached_y_, updatePos
1334         (selHandle): set noUpdate when appropriate
1335
1336         * lyxfunc.C (dispatch): track if we need an update
1337
1338         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1339
1340         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1341         (paintSelection): cheap optimization, do not call cursorX when not
1342         needed
1343         (paintPars): change signature
1344         (refreshPar): add
1345         (paintText): adjust
1346         (paintTextInset): adjust
1347
1348         * text.C: adjust
1349
1350 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1351
1352         * lengthcommon.C: compilation fix: remove explicit array size from
1353         unit_name[] and friends
1354
1355 2004-04-05  Angus Leeming  <leeming@lyx.org>
1356
1357         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1358
1359         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1360         present only for the preferences dialog.
1361         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1362
1363 2004-04-05  Angus Leeming  <leeming@lyx.org>
1364
1365         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1366         to enable the frontends to export changes to lyxrc correctly.
1367
1368         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1369
1370 2004-04-07  André Pönitz  <poenitz@gmx.net>
1371
1372         * cursor.[Ch] (selClear, adjust): remove math
1373
1374         * cursor_slice.C: more agressive assert
1375
1376         * lyxfunc.C:
1377         * BufferView_pimpl.C: rework mouse event dispatch
1378
1379         * dociterator.C:
1380         * paragraph.C:
1381         * text2.C:
1382         * text3.C: adjust
1383
1384 2004-04-05  André Pönitz  <poenitz@gmx.net>
1385
1386         * cursor.[Ch] (valign, halign...): remove unneeded functions
1387
1388 2004-04-05  Angus Leeming  <leeming@lyx.org>
1389
1390         * lyxlength.[Ch] (unit_name et al.): const-correct.
1391
1392 2004-04-05  Angus Leeming  <leeming@lyx.org>
1393
1394         * BufferView_pimpl.C:
1395         * buffer.C:
1396         * counters.C:
1397         * cursor.C:
1398         * lyxfunc.C
1399         * paragraph.C:
1400         * pariterator.C:
1401         * text.C:
1402         * text2.C:
1403         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1404
1405 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1406
1407         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1408
1409 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1410
1411         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1412         * BufferView_pimpl.[Ch] (getStatus)
1413         * BufferView.[Ch] (getStatus): add
1414         * lyxfunc.C (getStatus): move lfuns handled in
1415         BufferView::dispatch to te function above
1416         * Cursor.C (setSelection): set selection() = true
1417
1418 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1419
1420         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1421
1422 2004-03-31  Angus Leeming  <leeming@lyx.org>
1423
1424         * lyxfunc.C (dispatch): Fall through to the generic
1425         Dialogs::show("preamble").
1426
1427 2004-03-31  Angus Leeming  <leeming@lyx.org>
1428
1429         * lyxfunc.C (dispatch): Fall through to the generic
1430         Dialogs::show("spellchecker").
1431
1432 2004-03-31  Angus Leeming  <leeming@lyx.org>
1433
1434         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1435         preferences dialog.
1436
1437 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * BufferView.C
1440         * cursor.[Ch]
1441         * dociterator.[Ch]:
1442         * insetiterator.[Ch]:
1443         * lyxfind.C:
1444         * lyxfunc.C:
1445         * pariterator.[Ch]:
1446         * text2.C:
1447         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1448
1449 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1452         insets where we are putting the cursor.
1453
1454 2004-03-31  Angus Leeming  <leeming@lyx.org>
1455
1456         * lfuns.h:
1457         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1458
1459         * lyxrc.[Ch] (read, write): overloaded member functions taking
1460         a std::[io]stream arguments.
1461
1462         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1463
1464 2004-03-31  Angus Leeming  <leeming@lyx.org>
1465
1466         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1467         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1468
1469         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1470         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1471
1472 2004-03-31  Angus Leeming  <leeming@lyx.org>
1473
1474         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1475         the LFUN_ALL_INSETS_TOGGLE code.
1476
1477 2004-03-30  Angus Leeming  <leeming@lyx.org>
1478
1479         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1480         has died. Fall through to the generic Dialogs::show("document").
1481
1482 2004-03-30  Angus Leeming  <leeming@lyx.org>
1483
1484         * lfuns.h:
1485         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1486         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1487
1488         * lyxfunc.C (getStatus, dispatch): define the actions for these
1489         lfuns. Little more than a cut and pste job from ControlDocument.C
1490
1491         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1492
1493 2004-03-30  Angus Leeming  <leeming@lyx.org>
1494
1495         * lfuns.h:
1496         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1497         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1498
1499         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1500         open/closed state of ollapsable insets. Usage:
1501
1502         all-inset-toggle <state> <name>, where
1503         <state> == "open" || "closed" || "toggle" and
1504         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1505
1506         * lyxtext.h, text2.C (toggleInset): removed.
1507
1508         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1509         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1510         now passes LFUN_INSET_TOGGLE to the found inset.
1511
1512         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1513         is now invoked as "all-insets-toggle toggle branch".
1514
1515 2004-03-30  Angus Leeming  <leeming@lyx.org>
1516
1517         * dociterator.C:
1518         * insetiterator.C:
1519         * pariterator.[Ch]: added/corrected header blurb.
1520
1521 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1522
1523         * dociterator.[Ch]: add an inset_ member
1524         (backwardPos): implemented
1525         (backwardPos, forwardPos): use inset_ when the stack is empty.
1526         (doc_iterator_begin, doc_iterator_end): implemented
1527         * pariterator.[Ch]: adjust, add begin, end
1528         * insetiterator.[Ch]: adjust, add begin, end
1529         * cursor.C:
1530         * document.C:
1531         * BufferView.C:
1532         * BufferView_pimpl.C:
1533         * CutAndPaste.C: adjust
1534
1535 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1536
1537         * buffer.C: increment file format to 232.
1538         * LaTeXFeatures.C: add bibtopic package.
1539         * bufferparams.[Ch]: param \use_bibtopic.
1540
1541         * lyxrc.[Ch]: add lyxrc bibtex_command
1542         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1543
1544         * buffer.C: increment file format to 231.
1545
1546 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * dociterator.C: implement forwardPar
1549         * iterators.[Ch]: remove, replaced by
1550         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1551         * BufferView.C:
1552         * BufferView_pimpl.C:
1553         * CutAndPaste.C:
1554         * buffer.C:
1555         * bufferview_funcs.C:
1556         * cursor.C:
1557         * lyxfind.C
1558         * lyxfunc.C
1559         * paragraph_funcs.C
1560         * toc.C:
1561         * Makefile.am: adjust
1562
1563 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1564
1565         * CutAndPaste.C (pasteSelection): fix 2 crashes
1566         (eraseSelection): fix a crash
1567         * paragraph_funcs.C: remove a warning
1568
1569 2004-03-28  Angus Leeming  <leeming@lyx.org>
1570
1571         * lfuns.h:
1572         * LyXAction.C (init): new LFUN_PRINT.
1573
1574         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1575
1576 2004-03-27  Angus Leeming  <leeming@lyx.org>
1577
1578         * lfuns.h:
1579         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1580
1581         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1582
1583 2004-03-27  Angus Leeming  <leeming@lyx.org>
1584
1585         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1586         insetlist always contains non-null pointers to insets.
1587
1588 2004-03-26  Angus Leeming  <leeming@lyx.org>
1589
1590         * src/BufferView_pimpl.C:
1591         * src/CutAndPaste.C:
1592         * src/buffer.C:
1593         * src/iterators.C:
1594         * src/output_plaintext.C:
1595         * src/outputparams.h:
1596         * src/paragraph_funcs.C:
1597         * src/rowpainter.C:
1598         * src/text.C:
1599         * src/text2.C:
1600         * src/frontends/controllers/ControlErrorList.C:
1601         * src/frontends/gtk/FileDialogPrivate.C:
1602         * src/frontends/gtk/GPainter.C:
1603         * src/frontends/gtk/GToolbar.C:
1604         * src/frontends/qt2/QRef.C:
1605         * src/mathed/math_scriptinset.C: squash compiler warnings.
1606
1607 2004-03-26  Angus Leeming  <leeming@lyx.org>
1608
1609         * ispell.C (LaunchIspell::start):
1610         * lyx_cb.C (AutoSaveBuffer::start):
1611         invoke run(DontWait) rather than runNonBlocking().
1612
1613 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1614
1615         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1616
1617 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1618
1619         * kbsequence.C (print): adjust
1620
1621         * kbmap.C (printKeySym): rename and change signature
1622         (printKey): use LyXKeySym::print()
1623
1624 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1625
1626         * undo.C: add using std::advance to compile for stlport
1627
1628 2004-03-24  Angus Leeming  <leeming@lyx.org>
1629
1630         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1631         it leads to a crash when no buffer is present.
1632
1633 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1634             Martin Vermeer  <martin.vermeer@hut.fi>
1635
1636         * lyxfunc.C (dispatch):
1637         * bufferparams.C (readToken): use the new LColor::setColor
1638
1639         * LColor.[Ch] (setColor): new version that takes two strings as
1640         argument and creates a new color entry if necessary
1641
1642 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1643
1644         * buffer.C (makeLaTeXFile): if the main latex file that is
1645         processed is usually a subdocument of some master, then pretend
1646         for a while that it is actually the master
1647
1648 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1649
1650         * buffer.C (getLabelList):
1651         (getBibkeyList): use getMasterBuffer()
1652         (getMasterBuffer): new method. Returns the main document in the
1653         case where one is using included documents.
1654
1655 2004-03-25  André Pönitz  <poenitz@gmx.net>
1656
1657         * Makefile.am:
1658         * iterators.[Ch]:
1659         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1660
1661         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1662
1663         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1664         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1665
1666         * ParameterStruct.h: merge with ParagraphParameters
1667
1668         * lyxtext.h: remove LyXText::parOffset() and getPar()
1669
1670         * text3.C: Remove all 'manual' update calls. We do now one per user
1671         interaction which is completely sufficient.
1672
1673         * Bidi.C:
1674         * BufferView.[Ch]:
1675         * BufferView_pimpl.C:
1676         * FontIterator.[Ch]:
1677         * MenuBackend.C:
1678         * ParagraphParameters.[Ch]:
1679         * buffer.C:
1680         * buffer.h:
1681         * bufferlist.C:
1682         * cursor.[Ch]:
1683         * cursor_slice.[Ch]:
1684         * dociterator.[Ch]:
1685         * errorlist.[Ch]:
1686         * factory.C:
1687         * lfuns.h:
1688         * lyxfind.C:
1689         * lyxfunc.C:
1690         * output_docbook.[Ch]:
1691         * output_latex.[Ch]:
1692         * output_linuxdoc.[Ch]:
1693         * output_plaintext.[Ch]:
1694         * paragraph.[Ch]:
1695         * paragraph_funcs.[Ch]:
1696         * paragraph_pimpl.[Ch]:
1697         * rowpainter.C:
1698         * tabular.[Ch]:
1699         * text.C:
1700         * text2.C:
1701         * toc.C:
1702         * undo.[Ch]: adjust
1703
1704         * frontends/controllers/ControlDocument.C:
1705         * frontends/controllers/ControlErrorList.C:
1706         * frontends/controllers/ControlSpellchecker.C:
1707         * insets/inset.C:
1708         * insets/inset.h:
1709         * insets/insetbase.h:
1710         * insets/insetbibitem.C:
1711         * insets/insetbox.C:
1712         * insets/insetbranch.C:
1713         * insets/insetcaption.C:
1714         * insets/insetcharstyle.C:
1715         * insets/insetcharstyle.h:
1716         * insets/insetcollapsable.C:
1717         * insets/insetcollapsable.h:
1718         * insets/insetert.C:
1719         * insets/insetfloat.C:
1720         * insets/insetfoot.C:
1721         * insets/insetmarginal.C:
1722         * insets/insetnote.C:
1723         * insets/insetoptarg.C:
1724         * insets/insettabular.C:
1725         * insets/insettext.C:
1726         * insets/insettext.h:
1727         * insets/insetwrap.C:
1728         * mathed/math_mboxinset.C:
1729         * mathed/math_nestinset.C:
1730         * mathed/math_scriptinset.C:
1731         * mathed/math_scriptinset.h:
1732         * support/types.h:
1733
1734 2004-03-24  Angus Leeming  <leeming@lyx.org>
1735
1736         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1737         deal with any child processes that have finished but are waiting to
1738         communicate this fact to the rest of LyX.
1739
1740 2004-03-24  Angus Leeming  <leeming@lyx.org>
1741
1742         64-bit compile fixes.
1743
1744         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1745         (c-tor): pass lyx::pos_types rather than ints.
1746
1747         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1748         lyx::pos_type.
1749
1750         * text.C (Delete): compile fix.
1751         (getPar): ensure that function declaration is the same as that in
1752         the header file.
1753
1754 2004-03-23  Angus Leeming  <leeming@lyx.org>
1755
1756         * ispell.C (LaunchIspell):
1757         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1758         a boost::shred_ptr rather than a std::auto_ptr.
1759
1760 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1763         handle LFUN_FILE_INSERT_*
1764
1765         * lyxrc.C (setDefaults, getDescription, output, read):
1766         * lyxrc.h: remove ps_command
1767
1768 2004-03-22  Angus Leeming  <leeming@lyx.org>
1769
1770         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1771         Ensure that error_handler is processed once only and that all data
1772         is saved before attempting to output any warning messages.
1773
1774         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1775
1776 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1777
1778         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1779
1780 2004-03-19  André Pönitz  <poenitz@gmx.net>
1781
1782         * cursor.[Ch] (reset): take main text inset as argument
1783
1784         * BufferView: adjust
1785         * BufferView_pimpl.C: adjust
1786
1787         * paragraph.[Ch]: fix completely broken operator=()
1788
1789 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         * LColor.C (getFromLyXName): make sure that the color name is used
1792         as lowercase.
1793
1794 2004-03-17  Angus Leeming  <leeming@lyx.org>
1795
1796         * lfuns.h:
1797         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1798
1799         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1800         dialog and to kill a forked process.
1801
1802 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * text2.C (setCursorFromCoordinates): fix font problem
1805
1806 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1809         bogus "rebuild cursor" code
1810
1811 2004-03-11  André Pönitz  <poenitz@gmx.net>
1812
1813         * buffer.[Ch]: use InsetText instead of LyXText as container for
1814         the main lyx text.
1815
1816         * dociterator.[Ch]: drop the BufferView * member which is not needed
1817         anymore after the change to buffer.C
1818
1819         * paragraph_funcs.C:
1820         * text.C:
1821         * text2.C:
1822         * BufferView.[Ch]:
1823         * BufferView_pimpl.[Ch]:
1824         * cursor.[Ch]:
1825         * cursor_slice.[Ch]: adjust
1826
1827         * text3.C: fix bug in mathDispatch
1828
1829 2004-03-08  André Pönitz  <poenitz@gmx.net>
1830
1831         * undo.[Ch]: use 'StableDocumentIterator' as base for
1832         the Undo struct.
1833
1834 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1835
1836         * LaTeXFeatures.C:
1837         * bufferparams.[Ch]: add jurabib support and param.
1838
1839         * LaTeX.C: add FIXME/comment.
1840
1841 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1842
1843         * buffer.C: increment file format to 230.
1844
1845 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1846
1847         * cursor.C (dispatch): avoid infinite loops
1848
1849 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1850
1851         * rowpainter.C (paintSelection): fix x coordinates
1852
1853 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1854
1855         * text.C (rowBreakPoint): fix breaking before displayed insets
1856
1857 2004-03-01  André Pönitz  <poenitz@gmx.net>
1858
1859         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1860
1861         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1862
1863         * Makefile.am:
1864         * BufferView.C:
1865         * BufferView_pimpl.C:
1866         * buffer.C:
1867         * lyxfind.C:
1868         * lyxfunc.C:
1869         * text.C:
1870         * text2.C:
1871         * text3.C: adjust
1872
1873 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * lyxtext.h:
1876         * text.C:
1877         * text2.C:
1878         * rowpainter.C:
1879         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1880         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1881
1882 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1883
1884         * Bidi.[Ch] (computeTables): const correctness
1885         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1886         fill_hfill, fill_label_hfill and x from Row
1887         * lyxtext.h: prepareToPrint returns a RowMetrics
1888         * rowPainter.C: adjust
1889         * text.C (prepareToPrint): use width, not textWidth. adjust
1890         (redoParagraphInternal, cursorX): adjust
1891         * text2.C (getColumnNearX): adjust
1892         (init): put a default value to the top LyXText::width
1893
1894 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1895
1896         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1897
1898 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * lyxtext.h: add FontIterator class
1901
1902         * text.C (FontIterator, operator*, operator->, operator++): add
1903         (rowBreakPoint, setRowWidth): adjust (fixing a
1904         rebreaking bug)
1905
1906 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1907
1908         * BufferView_pimpl.C (workAreaDispatch): allow also
1909         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1910
1911 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1912
1913         * text.C (rowBreakPoint): fix a bug showing with very large insets
1914
1915 2004-02-25  André Pönitz  <poenitz@gmx.net>
1916
1917         * text3.C:
1918         * cursor.[Ch]: move some mathed specific code to mathed
1919
1920 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1921
1922         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1923         use_tempdir in preferences
1924         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1925         tempfile creation
1926         * lyx_main.C: ensure that tempdir is valid
1927         * lyxlex.h: correct typo
1928         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1929         * paragraph.[Ch] (isMultiLingual): make const
1930         * cursor.[Ch] (openable): make const
1931
1932 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1933
1934         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1935
1936 2004-02-20  André Pönitz  <poenitz@gmx.net>
1937
1938         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1939
1940         * cursor.[Ch]: prepare for localized getStatus()
1941
1942         * lyxtext.h:
1943         * tabular.C:
1944         * text.C:
1945         * text2.C:
1946         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1947
1948 2004-02-20  André Pönitz  <poenitz@gmx.net>
1949
1950         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1951
1952 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1953
1954         * text2.C (setCursorFromCoordinates): switch to absolute coords
1955         (cursorUp): adjust
1956         (cursorDown): adjust
1957         * text3.C (dispatch): adjust
1958
1959 2004-02-16  André Pönitz  <poenitz@gmx.net>
1960
1961         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1962           insets/ChangeLog)
1963
1964         * cursor_slice.[Ch]: remove unneeded acessor function
1965
1966         * lyxtext.h: rename rtl() to isRTL()
1967
1968         * rowpainter.C:
1969         * tabular.C:
1970         * text.C:
1971         * text2.C:
1972         * text3.C: adjust
1973
1974 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * rowpainter.C (paintSelection): coord fix
1977
1978 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1979
1980         * Spacing.C: compile fix
1981
1982 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1983
1984         * cursor.C (dispatch): restore current_ before returning
1985
1986 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1987
1988         * text2.C (cursorUp, cursorDown): fix coords
1989         (moveUp): fix crash
1990
1991 2004-02-12  André Pönitz  <poenitz@gmx.net>
1992
1993         * lyxtext.h:
1994         * text.C:
1995         * text2.C:
1996         * text3.C: add LCursor & parameter to most cursor movement functions
1997           remove usage of LyXText::cursorRow() and cursorPar()
1998
1999         * cursor.[Ch]: add textRow() needed members
2000
2001         * BufferView.C:
2002         * BufferView_pimpl.C:
2003         * paragraph.[Ch]:
2004         * BufferView.C:
2005         * BufferView_pimpl.C: adjust
2006
2007 2004-02-11  André Pönitz  <poenitz@gmx.net>
2008
2009         * lyxfunc.C:
2010         * BufferView.[Ch]:
2011         * BufferView_pimpl.C: shift undo/redo handling
2012
2013         * cursor.[Ch]: fix mathed crash
2014
2015         * lyxfind.C:
2016         * lyxtext.h: move selectionAsText to LCursor
2017
2018         * output_latex.C:
2019         * paragraph.C:
2020         * text.C:
2021         * text2.C:
2022         * text3.C: adjust
2023
2024         * rowpainter.C: fix excessive drawing
2025
2026 2004-02-06  André Pönitz  <poenitz@gmx.net>
2027
2028         * BufferView.[Ch]:
2029         * BufferView_pimpl.[Ch]:
2030         * text3.C: move some text specific LFUN handling
2031
2032 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * text3.C (checkInsetHit): adjust coords
2035         * text2.C (getColumnNearX): adjust coords
2036         (edit): adjust coords
2037         * text.C (getRowNearY): add two asserts
2038
2039 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2040
2041         * converter.C:
2042         * format.C: add using std::distance to compile on gcc 2.95/stlport
2043
2044 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2045
2046         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2047
2048 2004-02-04  André Pönitz  <poenitz@gmx.net>
2049
2050         * BufferView.[Ch] (insertInset):
2051         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2052
2053         * text2.C:
2054         * text3.C: adjust
2055
2056 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2057
2058         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2059         on the default clause of the switch
2060         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2061         wasn't catched by LCursor::dispatch
2062
2063 2004-02-03  André Pönitz  <poenitz@gmx.net>
2064
2065         * BufferView.C:
2066         * cursor.[Ch]: some additional asserts
2067
2068         * undo.[Ch]: remove LyXText dependency in interface
2069
2070         * lyxfunc.C: adjust
2071
2072         * lyxtext.h (firstPar, lastPar): remove dead functions
2073
2074         * text.C:
2075         * text2.C:
2076         * text3.C:
2077         * paragraph.[Ch]: adjust
2078
2079 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2080
2081         * lyxfind.C (find): fix argument order in call to ::find
2082
2083 2004-02-02  André Pönitz  <poenitz@gmx.net>
2084
2085         * cursor.[Ch]: remove direct access to anchor
2086
2087         * text.C: remove findText() hack
2088
2089 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * iterators.[Ch] (lockPath): remove in favour of...
2092         * BufferView.[Ch] (setCursor): this addition
2093         * BufferView.C (putSelectionAt): adjust
2094         * undo.C (performUndoOrRedo): adjust
2095         * lyxfunc.C (dispatch): adjust
2096
2097 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2098
2099         * iterators.C (lockPath): add a missing slice
2100         * undo.C (performUndoOrRedo): remove redundant positioning code
2101
2102 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2103
2104         * vc-backend.C (scanMaster): ";" -> ';'
2105
2106 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2107
2108         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2109         std::binary_function
2110
2111         * lyxtextclass.C (compare_name): rename to...
2112         (LayoutNamesEqual): ...this
2113
2114         * lyxlex_pimpl.C (compare_tags): inherit from
2115         std::binary_function, put back into anon namespace
2116
2117         * lyxfind.C (MatchString): inherig from std::binary_function
2118         (findChange): use empty() istead of !size()
2119
2120         * format.C (FormatNamesEqual): new functor
2121         (getFormat): use it
2122         (getNumber): use it
2123         (add): use it
2124         (erase): use it
2125         (setViewer): use it
2126
2127         * converter.C (compare_Converter): rename to...
2128         (ConverterEqual): ...this, and fixup a bit.
2129         (getConverter): use it, and make function const
2130         (getNumber): use it, and make function const
2131         (add): use it
2132         (erase): use it:
2133
2134         * bufferlist.C: add using boost::bind
2135
2136         * MenuBackend.C (MenuNamesEqual): new functor
2137         (hasMenu): use it, and make function const
2138         (hasSubmenu): use nested bind to get rid of compare_memfun.
2139
2140 2004-01-30  André Pönitz  <poenitz@gmx.net>
2141
2142         * BufferView_pimpl.C:
2143         * cursor.C:
2144         * cursor.h:
2145         * cursor_slice.[Ch]:
2146         * lyxfunc.C:
2147         * lyxtext.h:
2148         * paragraph_funcs.C:
2149         * paragraph_funcs.h:
2150         * rowpainter.C:
2151         * text.C:
2152         * text2.C:
2153         * text3.C: move some of the edit(x,y) handling to the insets
2154         some coordinate changes.
2155
2156 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2157
2158         * text.C: add using statements for std::advance and std::distance
2159
2160         * paragraph.C: add using statement for std::distance
2161
2162         * lyxfind.C: add using statement for std::advance
2163
2164         * cursor.C (region): remove std:: from swap
2165         (openable): use nucleus in stead of operator->
2166
2167         * BufferView.C: add using statements for std::distance and std::swap
2168
2169 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2170
2171         * iterators.C: Remove the pimple, move the needed structures to
2172         the header file. Create accessor for the positions stack.
2173         (asPosIterator): remove function
2174
2175         * PosIterator.C (PosIterator): move constructors to top of file
2176         (PosIterator): reimplement the constructor taking a ParIterator in
2177         terms of setFrom.
2178         (setFrom): new function
2179         (operator!=): inline it
2180
2181 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2182
2183         * lyxfind.C (replaceAll): use std::advance
2184
2185         * iterators.h: inherit from std::iterator.
2186
2187         * PosIterator.C (advance, distance): remove
2188         * PosIterator.h: interit from std::iterator.
2189
2190 2004-01-26  André Pönitz  <poenitz@gmx.net>
2191
2192         * BufferView.[Ch]:
2193         * BufferView_pimpl.[Ch]:
2194         * InsetList.[Ch]:
2195         * PosIterator.[Ch]:
2196         * buffer.h:
2197         * bufferview_funcs.C:
2198         * cursor.[Ch]:
2199         * cursor_slice.h:
2200         * factory.[Ch]:
2201         * iterators.[Ch]:
2202         * lyxfind.C:
2203         * lyxfunc.C:
2204         * lyxtext.h:
2205         * output_docbook.C:
2206         * output_latex.C:
2207         * output_linuxdoc.C:
2208         * output_plaintext.C:
2209         * paragraph.[Ch]:
2210         * paragraph_funcs.[Ch]:
2211         * paragraph_pimpl.[Ch]:
2212         * rowpainter.C:
2213         * tabular.C:
2214         * tabular.h:
2215         * text.C:
2216         * text2.C:
2217         * text3.C: more IU:  dumps most of the rest of the mathcursor
2218     implementation into cursor.[Ch]; "globalize" a bit of it.
2219
2220 2004-01-25  Angus Leeming  <leeming@lyx.org>
2221
2222         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2223
2224 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2225
2226         * LaTeXFeatures.h: add nice_ and nice() const
2227         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2228
2229 2004-01-20  André Pönitz  <poenitz@gmx.net>
2230
2231         * BufferView.[Ch]:
2232         * BufferView_pimpl.C:
2233         * PosIterator.C:
2234         * bufferview_funcs.C:
2235         * cursor.[Ch]:
2236         * cursor_slice.[Ch]:
2237         * factory.C:
2238         * iterators.C:
2239         * lyx_cb.C:
2240         * lyxfind.C:
2241         * lyxfunc.C:
2242         * lyxtext.h:
2243         * rowpainter.C:
2244         * text.C:
2245         * text2.C:
2246         * text3.C:
2247         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2248           LCursor and mathcursor parts to LCursor and InsetBase.
2249
2250 2004-01-15  André Pönitz  <poenitz@gmx.net>
2251
2252         * cursor_slice.[Ch]: add a few covienience functions
2253
2254         * funcrequest.[Ch]: remove BufferView * member
2255
2256         * BufferView_pimpl.C:
2257         * cursor.C:
2258         * factory.[Ch]:
2259         * lyxfind.[Ch]:
2260         * lyxfunc.C:
2261         * lyxtext.h:
2262         * text3.C:
2263         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2264
2265 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2266
2267         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2268         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2269
2270 2004-01-13  André Pönitz  <poenitz@gmx.net>
2271
2272         * textcursor.[Ch]:
2273         * lyxtext.h: hide cursor and selection anchor behind accessor function
2274
2275         * BufferView.C:
2276         * BufferView_pimpl.[Ch]:
2277         * PosIterator.C:
2278         * bufferview_funcs.C:
2279         * cursor.h:
2280         * lyxfind.C:
2281         * lyxfunc.C:
2282         * text.C:
2283         * text2.C:
2284         * text3.C:
2285         * undo.C: adjust
2286
2287         * cursor.h:
2288         * cursor_slice.[Ch]: some integer type changes for inset unification
2289
2290         * lyxcursor.[hC]: remove, it's CursorSlice now.
2291
2292         * Makefile.am:
2293         * BufferView_pimpl.[Ch]:
2294         * bufferview_funcs.C:
2295         * cursor_slice.C:
2296         * lyxtext.h:
2297         * text.C:
2298         * text2.C:
2299         * text3.C:
2300         * textcursor.[Ch]: adjust
2301
2302 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * text2.C (undoSpan): add and use
2305         * text.C (breakParagraph): use undoSpan (fix bug 578)
2306         * lyxtext.h: adjust
2307
2308 2004-01-08  Angus Leeming  <leeming@lyx.org>
2309
2310         * BufferView_pimpl.C (MenuInsertLyXFile):
2311         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2312         * lyxfunc.C (menuNew, open, doImport):
2313         FileFilterList change to the FileDialog open and save functions.
2314
2315 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2316
2317         * ShareContainer.h: make isEqual and isUnique adaptable
2318
2319         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2320
2321 2004-01-07  Angus Leeming  <leeming@lyx.org>
2322
2323         * LyXAction.C:
2324         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2325
2326         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2327
2328         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2329         functions replacing find, replace and replaceAll.
2330
2331         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2332         LFUN_WORDFIND(FORWARD|BACKWARD).
2333
2334 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * text.C (breakParagraph): remove an outdated #warning
2337
2338 2004-01-07  André Pönitz  <poenitz@gmx.net>
2339
2340         * lyxfind.C: somewhat clearer logic
2341
2342         * text.C: prevent crash in cursorX on unitialized row cache
2343
2344 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2345
2346         * lyxcursor.[Ch] (operator>): add
2347         * textcursor.C (selStart, selEnd): use std::min and std::max
2348
2349 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2350
2351         * Chktex.C: include boost/format.hpp
2352
2353 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2354
2355         * InsetList.C: replace functor MathcIt with adaptable functor
2356         InsetTablePosLess
2357         (insetIterator): modify accordingly
2358
2359         * BranchList.h: move the BranchNamesEqual functor here from...
2360         * BranchList.C: ... to here
2361
2362         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2363         SameName and match.
2364         (add): replace a finding loop with std::find_if.
2365
2366 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2367
2368         * output_docbook.C: moving LatexParam functionality into
2369         .layout files
2370
2371 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2372
2373         * buffer.C: increment format to 229.
2374
2375 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2376
2377         * LaTeXFeatures.C:
2378         * lyx_sty.[Ch]: remove minipageindent_def
2379
2380         * LyXAction.C:
2381         * factory.C:
2382         * lfuns.h:
2383         * lyxfunc.C:
2384         * text3.C: remove LFUN_INSET_MINIPAGE
2385
2386 2003-12-28  Angus Leeming  <leeming@lyx.org>
2387
2388         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2389
2390 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2391
2392         * text2.C (setParagraph): fix off-by-one crash
2393
2394 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2395
2396         * output_docbook.C: header stuff for AGU
2397
2398 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2399
2400         * text2.C (redoCursor): remove
2401         * text.C:
2402         * text3.C:
2403         * BufferView_pimpl.C: remove calls to redoCursor and
2404         setCursor(cursor.par(), cursor.pos()) all around
2405
2406 2003-12-15  Angus Leeming  <leeming@lyx.org>
2407
2408         * buffer.C: up the format to 228.
2409
2410 2003-12-15  André Pönitz  <poenitz@gmx.net>
2411
2412         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2413         slices
2414
2415         * Makefile.am:
2416
2417         * BufferView_pimpl.C:
2418         * cursor.[Ch]:
2419         * lyxcursor.[Ch]:
2420         * rowpainter.[Ch]:
2421         * lyxtext.h:
2422         * text.C:
2423         * text2.C:
2424         * text3.C: adjust
2425
2426 2003-12-15  Angus Leeming  <leeming@lyx.org>
2427
2428         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2429         than getFromGUIName to manipulate the color.
2430
2431 2003-12-14  Angus Leeming  <leeming@lyx.org>
2432
2433         * BranchList.[Ch]: minimize the API.
2434         (Branch::getBranch, getColor): now return a 'const &'.
2435         (Branch::setSelected) now returns a bool set to true if the
2436         selection status changes.
2437         (BranchList::clear, size, getColor, setColor, setSelected,
2438         allBranches, allSelected, separator): removed.
2439         (BranchList::find): new functions, returning the Branch with
2440         the given name.
2441         (BranchList::add, remove): return a bool indicating that
2442         the operation was successful.
2443
2444         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2445         new InsetBranch::isBranchSlected member function.
2446
2447         * LColor.[Ch]: mimimize the API.
2448         (fill): renamed as addColor and made private.
2449         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2450         versions of these functions taking a string arg have been removed.
2451
2452         * bufferparams.C (readToken):
2453         * lyxfunc.C (dispatch):
2454         * lyxrc.C (read): changes due to the altered BranchList and
2455         LColor APIs.
2456
2457         * factory.C (createInset, readInset): changes due to altered
2458         InsetBranch c-tor.
2459
2460 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2461
2462         * factory.C:
2463         * lyxfunc.C: remove insetminipage. "minipage-insert"
2464         now produces a frameless minipage box inset.
2465
2466 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2467
2468         * textcursor.[Ch] (selStart,selEnd): add new methods
2469         remove selection::start, end, use LyXCursor::operator<
2470         * lyxcursor.[Ch] (operator<): add
2471         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2472         * BufferView.[Ch] (unsetXSel): add
2473         * text2.C (clearSelection): use unsetXSel,adjust
2474         * text.C: adjust
2475         * text3.C: adjust
2476         * rowpainter.C: adjust
2477         * bufferview_funcs.C (put_selection_at): adjust
2478
2479 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2480
2481         * BufferView_pimpl.C: small coord. correction
2482
2483 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2484
2485         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2486         dragging over the splash screen.
2487
2488 2003-12-11  Angus Leeming  <leeming@lyx.org>
2489
2490         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2491         as it is now handled in LyXText::dispatch.
2492
2493         * text3.C (doInsertInset): remove a level of nesting.
2494
2495 2003-12-11  Angus Leeming  <leeming@lyx.org>
2496
2497         * factory.C (createInset): changes due to the changed interface to
2498         InsetCommandMailer::string2params.
2499
2500 2003-12-10  Angus Leeming  <leeming@lyx.org>
2501
2502         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2503         'dialog-show-new-inset <inset name>'
2504
2505 2003-12-10  Angus Leeming  <leeming@lyx.org>
2506
2507         * buffer.C: up the format to 227.
2508
2509         * factory.C: the box inset is now identified simply by 'Box'.
2510
2511 2003-12-10  Angus Leeming  <leeming@lyx.org>
2512
2513         * buffer.C: up the format to 226.
2514
2515         * factory.C: the note inset is now identified simply by 'Note'.
2516
2517 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2518
2519         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2520         when a pit is enough. Standarize a couple of loops.
2521
2522 2003-12-05  Angus Leeming  <leeming@lyx.org>
2523
2524         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2525         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2526         data to the re-worked "log" dialog.
2527
2528 2003-12-03  André Pönitz  <poenitz@gmx.net>
2529
2530         * PosIterator.C:
2531         * iterators.C:
2532         * lyxtext.h:
2533         * output_latex.C:
2534         * paragraph_funcs.C:
2535         * text.C:
2536         * text2.C: use Inset::getText instead of Inset::getParagraph
2537
2538 2003-12-03  André Pönitz  <poenitz@gmx.net>
2539
2540         * buffer.[Ch]:
2541         * lyxtext.h:
2542         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2543         InsetText::read() as LyXText::read()
2544
2545 2003-12-02  Angus Leeming  <leeming@lyx.org>
2546
2547         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2548         type. Add a comment in the implementation that the function uses
2549         the stream's bad() function rather than fail() as the std::streams
2550         would do.
2551
2552 2003-12-02  André Pönitz  <poenitz@gmx.net>
2553
2554         * lyxlex.[Ch]: make interface more similar to std::stream
2555
2556         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2557
2558 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2559
2560         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2561
2562 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2563
2564         * vspace.[Ch]: remove VSpace::NONE
2565
2566 2003-12-01  André Pönitz  <poenitz@gmx.net>
2567
2568         * buffer.[Ch]:
2569         * lyxtext.h: move ParagraphList member to LyXText
2570         rename LyXText::ownerParagraphs to LyXText::paragraph
2571
2572         * CutAndPaste.C:
2573         * bufferview_funcs.C:
2574         * iterators.[Ch]:
2575         * lyx_cb.C:
2576         * paragraph.C:
2577         * rowpainter.C:
2578         * tabular.C:
2579         * text.C:
2580         * text2.C:
2581         * text3.C: adjust
2582
2583         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2584
2585         * undo.C: fix cursor positioning
2586
2587 2003-12-01  John Levon  <levon@movementarian.org>
2588
2589         * BufferView_pimpl.C: fix a crash on exit with
2590         a buffer open
2591
2592 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2593
2594         * BranchList.C: fix setSelected() method.
2595
2596 2003-11-28  André Pönitz  <poenitz@gmx.net>
2597
2598         * ParagraphParameters.[Ch]:
2599         * ParameterStruct.h: remove space above/below from Paragraph to
2600          InsetVSpace
2601
2602         * BufferView_pimpl.C:
2603         * factory.C:
2604         * lyxfunc.C:
2605         * lyxtext.h:
2606         * output_latex.C:
2607         * paragraph.C:
2608         * paragraph_funcs.C:
2609         * rowpainter.[Ch]:
2610         * text.C:
2611         * text2.C:
2612         * text3.C: adjust
2613
2614 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2615
2616         * factory.C: Syntax change for CharStyles
2617
2618 2003-11-28  André Pönitz  <poenitz@gmx.net>
2619
2620         * BufferView.[Ch]:
2621         * BufferView.[Ch]:
2622         * buffer.[Ch]:
2623         * buffer.[Ch]: move LyXText member
2624
2625 2003-11-28  André Pönitz  <poenitz@gmx.net>
2626
2627         * BufferView.[Ch]: make LyXText * text a private member
2628
2629         * BufferView_pimpl.C:
2630         * cursor.C:
2631         * iterators.C:
2632         * lyx_cb.C:
2633         * lyxfind.C:
2634         * lyxtext.h:
2635         * rowpainter.[Ch]:
2636         * text.C:
2637         * text2.C:
2638         * undo.C: adjust
2639
2640         * output_plaintext.C: cleanup
2641
2642 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2643
2644         * buffer.C:
2645         * lyxtextclass.[Ch]: parametrize SGML document header
2646
2647 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2648
2649         * converter.[Ch]:
2650         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2651         getFlavor().
2652
2653 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2654
2655         * text2.C (setFont): rework using PosIterator (no more recursive)
2656         (setCharFont): no more needed
2657         (setLayout): no more selection cursors fiddling (done by redoCursor)
2658         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2659         destroy remaining ones)
2660
2661 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2664         * lyxtext.h: ditto
2665         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2666         selection cursors
2667         * lyxfunc.C: adjust
2668         * text3.C: adjust + re-allow multi par depth changes
2669         * textcursor.C: simplify a bit
2670
2671 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2672
2673         * src/buffer.C:
2674         * src/lyxlayout.C:
2675         * src/lyxlayout.h:
2676         * src/lyxtext.h:
2677         * src/output_docbook.C:
2678         * src/output_latex.C:
2679         * src/paragraph.C:
2680         * src/paragraph.h:
2681         * src/sgml.C:
2682         * src/sgml.h:
2683         * src/text2.C: Introducing a number of tags parametrizing various
2684         XML formats that we may want to support
2685
2686 2003-11-25  André Pönitz  <poenitz@gmx.net>
2687
2688         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2689
2690         * lyxtext.h (leftMargin/rightMargin): simplify interface
2691
2692         * rowpainter.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C: adjust
2696
2697 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2698
2699         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2700         master file to any child files. Fixes bug 546.
2701
2702 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2703
2704         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2705
2706 2003-11-24  André Pönitz  <poenitz@gmx.net>
2707
2708         * rowpainter.C: simplification
2709
2710         * text2.C (updateCounters): remove call to redoParagraph on
2711         changed labels as this is far too expensive.
2712
2713 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * converter.C (convert): fix a crash: this function gets
2716         called with buffer == 0 from importer code.
2717
2718 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2719
2720         * text3.C (cursorPrevious): make sure that we do not compare
2721         iterators form different containers.
2722         (cursorNext): ditto
2723
2724         * rowpainter.C (paintSelection): make sure that we do not compare
2725         iterators from different containers.
2726
2727         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2728         iterators from different ParagraphList containers.
2729         [NEXT] ditto
2730
2731         * text2.C (LyXText): change order of initialization slightly
2732         (operator=): new function. copy all variables except cache_par_
2733         (moveUp): make sure that we do not compare iterators from
2734         different ParagraphList constainers.
2735         (moveDown): ditto
2736
2737         * text.C (firstPar): new function
2738         (lastPar): new function
2739         (endPar): new function
2740
2741         * lyxtext.h: move things around and group public functions, public
2742         variables, private functions, private variables
2743
2744 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2745
2746         * factory.C: change call to InsetERT constructor to avoid
2747         additional invocation of method status
2748         * text2.C (toggleInset): remove redundant update() call
2749         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2750         instead of a Bufferview pointer
2751
2752 2003-11-21  André Pönitz  <poenitz@gmx.net>
2753
2754         * rowpainter.C: simplification
2755
2756 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2757
2758         * text3.C (dispatch): make possible to extend a word/row selection
2759         with the mouse
2760
2761 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2762
2763         * lyxtext.h: x0_,y0_ -> xo_,yo_
2764         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2765         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2766         * rowpainter.C (paintRows): paint full paragraphs
2767
2768 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2769
2770         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2771         screen coordinates)
2772
2773 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2774
2775         * lyxtext.h: add x0_, y0_
2776         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2777         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2778
2779 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2780
2781         * text2.C (setCursorIntern): move the x_target update here *
2782         * text3.C: change some bv() to true/false in calls to
2783         cursorUp/Down/Right/Left
2784         * cursor.C: use helper function.
2785
2786 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2787
2788         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2789         * paragraph_funcs.[Ch]: correct comment
2790         * rowpainter.C: do not paint selections away from bv->cursor()
2791         Fix a long standing selection painting bug.
2792         * text3.C: generalize mouse-selection code to LyXTexts other that
2793         top one
2794         * textcursor.C: do not use y coords if we can use par offsets
2795
2796 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2797
2798         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2799         cursor position after e.g. inset insert)
2800
2801 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * lyxfind.C (replace): adjust to locking removal + some
2804         code simplification
2805
2806 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2807
2808         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2809         of the path
2810
2811 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * lyxlayout.[Ch]:
2814         * output_docbook.C: XML sanitation: new layout
2815         parameters InnerTag and CommandDepth
2816
2817 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * BufferView_pimpl.C:
2820         * factory.C:
2821         * text3.C: Fix the insertion and modification of button-style
2822         insets
2823
2824 2003-11-13  André Pönitz  <poenitz@gmx.net>
2825
2826         * InsetList.[Ch]: remove deleteLyXText
2827
2828         * paragraph.[Ch]: cache beginOfBody position
2829
2830         * Bidi.C:
2831         * text.C:
2832         * text2.C:
2833         * text3.C: remove superfluous update() calls
2834
2835         * vspace.C: cleanup
2836
2837 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2838
2839         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2840         * BufferView.C (fitLockedInsetCursor): remove
2841         * cursor.[Ch] (getDim): add
2842         * text.C (getRowNearY): add faster version
2843         * text3.C: remove some update calls
2844
2845 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2846
2847         * LaTeXFeatures.C:
2848         * LyXAction.C:
2849         * MenuBackend.C:
2850         * MenuBackend.h:
2851         * dispatchresult.h:
2852         * factory.C:
2853         * lfuns.h:
2854         * lyxfunc.C:
2855         * lyxtextclass.C:
2856         * lyxtextclass.h:
2857         * text3.C: The Character Style /XML short element patch.
2858
2859 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2860
2861         * text3.C:
2862         * factory.C: Small step to solving 'unable to insert some insets'
2863         problem
2864
2865 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2866
2867         * cursor.[Ch] (updatePos): new function for updating the y
2868         position of the tip inset
2869         * bufferview_funcs.C (put_selection_at):
2870         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2871
2872 2003-11-11  André Pönitz  <poenitz@gmx.net>
2873
2874         * text.C: remove big comment on invalid Paragraph pointers as it is
2875         not valid anymore
2876
2877 2003-11-11  André Pönitz  <poenitz@gmx.net>
2878
2879         * text_funcs.[Ch]: merge with ...
2880
2881         * text.C: ... this
2882
2883         * lyxtext.h:
2884         * text2.C:
2885         * text3.C: adjust
2886
2887         * Makefile.am: remove text_funcs.[Ch]
2888
2889 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * cursor.C (getPos): return absolute cached y coord
2892
2893         * BufferView_pimpl.C (fitCursor): new simplistic code
2894         (workAreaDispatch): add a fitCursor call
2895
2896 2003-11-10  André Pönitz  <poenitz@gmx.net>
2897
2898         * BufferView.[Ch]:
2899         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2900
2901 2003-11-10  André Pönitz  <poenitz@gmx.net>
2902
2903         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2904         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2905         indicate that the cursor needs to leave an inset
2906
2907         * lyxtext.h: remove inset locking
2908
2909         * cursor.[Ch]: re-implement functionality provided by inset locking
2910
2911         * BufferView.[Ch]:
2912         * BufferView_pimpl.[Ch]:
2913         * LyXAction.C:
2914         * bufferview_funcs.[Ch]:
2915         * factory.C:
2916         * funcrequest.[Ch]:
2917         * iterators.C:
2918         * lyx_cb.C:
2919         * lyxfind.C:
2920         * lyxfunc.C:
2921         * text.C:
2922         * text2.C:
2923         * text3.C:
2924         * undo.C: adjust
2925
2926 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * PosIterator.[Ch]: replace the stack with a vector, add inset
2929         accesor
2930         * iterators.[C]: adjust
2931
2932 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2933
2934         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2935         replaced
2936         * paragraph_funcs.C (readParToken): put the correct id in the
2937         error item, not the id of the top paragraph
2938
2939 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2942         * bufferview_funcs.C (put_selection_at): use the above
2943
2944 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2947
2948 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2949
2950         * output_linuxdoc.h:
2951         * output_plaintext.h:
2952         * output.h:
2953         * output_docbook.h: add #include statements
2954
2955 2003-11-05  José Matos  <jamatos@lyx.org>
2956
2957         * output_docbook.[Ch]:
2958         * output_latex.[Ch]:
2959         * output_linuxdoc.[Ch]:
2960         * output_plaintext.[Ch]: New files for output formats.
2961         * output.[Ch]: New file for helper functions.
2962
2963         * buffer.[Ch]:
2964         * paragraph_funcs.[Ch]: output functions moved to new files.
2965
2966         * outputparams.h: rename of latexrunparams.h
2967
2968         * LaTeX.[Ch]:
2969         * buffer.[Ch]:
2970         * bufferlist.[Ch]:
2971         * converter.[Ch]:
2972         * exporter.C:
2973         * paragraph.[Ch]:
2974         * paragraph_funcs.[Ch]:
2975         * paragraph_pimpl.[Ch]:
2976         * tabular.[Ch]: rename ascii to plaintext
2977         and LatexRunParams to OutputParams.
2978
2979 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2980
2981         * iterators.[Ch] (text): require bv argument
2982         * undo.C (recordUndo):
2983         * lyxfunc.C (dispatch):
2984         * bufferview_funcs.C (put_selection_at): adjust
2985
2986 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2987
2988         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2989
2990 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2991
2992         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2993         nestings
2994
2995 2003-11-04  André Pönitz  <poenitz@gmx.net>
2996
2997         * cursor.[Ch]: restructure
2998
2999         * BufferView.[Ch]:
3000         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3001
3002         * iterators.[Ch] (asCursor): remove
3003
3004         * lfuns.h: remove LFUN_INSET_EDIT
3005
3006         * lyxfunc.C:
3007         * tabular.C:
3008         * text.C:
3009         * text2.C:
3010         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3011
3012 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * lyxfind.[Ch]: complete overhaul
3015         * BufferView_pimpl.C:
3016         * lyxfunc.C: adjust
3017         * paragraph.[Ch] (insert): add
3018
3019 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3020
3021         * BufferView.[Ch]:
3022         * lyxtext.h:
3023         * text.C: remove dead spellcheck code
3024
3025 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3026
3027         * dispatchresult.h: add a val setter
3028
3029         * cursor.C (dispatch): use a tempvar for data_[i]
3030
3031 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * PosIterator.[Ch]: compile fix
3034
3035 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3036
3037         * text.C (cursorPar): deactivate the cursor cache
3038
3039 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3042
3043 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * text3.C (dispatch): adjust for new DisptchResult semantics.
3046
3047         * lyxfunc.C (dispatch): handle update when return from
3048         Cursor::dispatch, adjust for new DispatchResult semantics.
3049
3050         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3051         DispatchResult(true) mean to not update. Add class functions for
3052         setting dispatched and update, as well as reading.
3053
3054         * cursor.C (dispatch): don't handle update here
3055
3056 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3059         * trans_mgr.C: adjust
3060
3061         * paragraph_funcs.C (readParToken): exception safety
3062
3063         * lyxvc.h: store the vcs pointer in a scoped_ptr
3064         * lyxvc.C: adjust
3065
3066         * lyxsocket.C (serverCallback): exception safety
3067
3068         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3069
3070         * ispell.C (clone): make it return a auto_ptr
3071
3072         * factory.C (createInset): exception safety
3073         (readInset): exception safety
3074
3075         * bufferlist.C (newBuffer): exception safety
3076
3077         * Thesaurus.C (Thesaurus): use initialization for aik_
3078
3079         * MenuBackend.C (expandToc): exception safety.
3080
3081 2003-11-03  André Pönitz  <poenitz@gmx.net>
3082
3083         * buffer.C:
3084         * buffer.h:
3085         * bufferview_funcs.C: remove getInsetFromId()
3086
3087         * lyxcursor.[Ch]:
3088         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3089
3090         * lyxfunc.C:
3091         * text2.C:
3092         * text3.C: adjust
3093
3094 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3095
3096         * PosIterator.C (distance, advance): new
3097         * bufferview_funcs.[Ch] (put_selection_at): new
3098         * iterators.[Ch] (lockPath): new
3099
3100 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3101
3102         * iterators.[Ch] (asPosIterator): added
3103         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3104         * PosIterator.[Ch]: added
3105
3106 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3107
3108         * text3.C:
3109         * lyxfunc.C:
3110         * cursor.C (dispatch):
3111         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3112
3113         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3114         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3115         contructor, add a class function dispatched. Remove operator>=
3116
3117 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * debug.C: only use the default constructor for debugstream
3120         (lyxerr) here.
3121
3122         * main.C (main): include debug.h and setup the lyxerr streambuf
3123         here.
3124
3125 2003-10-31  José Matos  <jamatos@lyx.org>
3126
3127         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3128
3129         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3130         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3131         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3132         * paragraph_pimpl.C (simpleTeXSpecialC):
3133         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3134         add LatexRunParams argument.
3135
3136         * exporter.C (Export): change call accordingly.
3137
3138         * latexrunparams.h: add new member to take care of the other backends.
3139 2003-10-30  José Matos  <jamatos@lyx.org>
3140
3141         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3142         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3143         factorise code for paragraph output.
3144         * buffer.[Ch]:
3145         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3146         move functions.
3147
3148 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * text3.C (dispatch):
3151         * lyxfunc.C (dispatch):
3152         * cursor.C (dispatch):
3153         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3154
3155         * dispatchresult.h: make the dispatch_result_t ctor explicit
3156
3157 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3158
3159         * sgml.[Ch]:
3160         * buffer.C: small refactoring of docbook stuff
3161
3162 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3163
3164         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3165         meaning.
3166
3167 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3170         operator dispatch_result_t, and operators for == != and >=
3171
3172         * cursor.C (dispatch): adjust for operator dispatch_result_t
3173         removal. comment out call to update
3174
3175         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3176
3177 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * text3.C:
3180         * text2.C:
3181         * text.C:
3182         * lyxtext.h:
3183         * lyxfunc.C:
3184         * cursor.C:
3185         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3186         (dispatch):
3187
3188         * dispatchresult.h: new file, DispatchResult broken out of
3189         insets/insetbase.h
3190
3191         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3192
3193 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * text.C (rowBreakPoint): put a hack inside #if 0
3196
3197 2003-10-28  André Pönitz  <poenitz@gmx.net>
3198
3199         * lyxtext.h:
3200         * metricsinfo.C:
3201         * paragraph_funcs.C:
3202         * rowpainter.C:
3203         * text.C:
3204         * text2.C: general cleanup (lots of small stuff)
3205
3206 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * text2.C (cursorEnd): simple fix to the "end key goes to one
3209         before the end on last row" bug
3210
3211 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3212
3213         * text.C (backspace): fix the "zombie characters"
3214
3215 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3218
3219 2003-10-27  André Pönitz  <poenitz@gmx.net>
3220
3221         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3222
3223         * factory.C: handle new InsetPagebreak, InsetLine
3224
3225         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3226         and move handling into new InsetPagebreak, InsetLine
3227
3228         * BufferView_pimpl.C:
3229         * LyXAction.C:
3230         * ParagraphParameters.C:
3231         * ParameterStruct.h:
3232         * lyxfunc.C:
3233         * lyxtext.h:
3234         * paragraph.C:
3235         * paragraph.h:
3236         * paragraph_funcs.C:
3237         * paragraph_pimpl.C:
3238         * rowpainter.C:
3239         * text.C:
3240         * text2.C:
3241         * text3.C: adjust
3242
3243 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * text.C:
3246         * lyxrow_funcs.[Ch]:
3247         * Bidi.C:
3248         * paragraph.C:
3249         * lyxtext.h:
3250         * rowpainter.C:
3251         * text2.C:
3252         * text3.C: remove lastPos uses in favour of Row::endpos
3253
3254 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * undo.C (performUndoOrRedo): fix two crashes by setting a
3257         cursor by hand and reordering some calls. Use bv->lockInset instead
3258         of inset->edit because the latter loses cursor information
3259
3260 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3261
3262         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3263         by Martin
3264         (rowBreakPoint): fix width. change point to point + 1.
3265         Add a missing check.
3266
3267 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3268
3269         * MenuBackend.C:
3270         * lyxfunc.C: fix (at least partly) the problems
3271         with the Nav menu and headers inside branch insets
3272         reported by Kayvan
3273
3274 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3275
3276         * paragraph.C (getChar): add strong asserts
3277
3278         * lyxrow_funcs.C (lastPos): remove hideous hack
3279
3280         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3281         (fill): adjust to that (avoid an infinite loop)
3282
3283 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3286
3287 2003-10-23  André Pönitz  <poenitz@gmx.net>
3288
3289         * RowList_fwd.h: change list<> to vector<> to gain speed
3290         after suggestion from Alfredo
3291
3292 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * lyxtext.h: move the bidi stuff from here...
3295         * text.C: and here
3296         * text2.C: and here
3297         * Bidi.[Ch]: ... to here
3298
3299 2003-10-23  André Pönitz  <poenitz@gmx.net>
3300
3301         * lyxtext.h:
3302         * text.C (isLastRow, isFirstRow): new functions
3303
3304         * paragraph.h: new width cache member
3305
3306         * rowpainter.C: replace RowList::iterator with Row & where possible
3307
3308         * lyxfunc.C: replace several view()->text with a single call
3309
3310         * toc.C: fix 'unused' warning
3311
3312 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3313
3314         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3315         when woring with stream::pos_type
3316         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3317
3318 2003-10-22  André Pönitz  <poenitz@gmx.net>
3319
3320         * lyxtext.h:
3321         * text.C: use Row & instead of RowList::iterator
3322
3323         * lyxrow.h: rename end() to endpos()
3324
3325         * rowpainter.C:
3326         * text.C:
3327         * text2.C: adjust
3328
3329 2003-10-22  Angus Leeming  <leeming@lyx.org>
3330
3331         * buffer.[Ch] (fully_loaded): new member function, returning true
3332         only when the file has been loaded fully.
3333         Used to prevent the premature generation of previews and by the
3334         citation inset to prevent computation of the natbib-style label.
3335
3336         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3337         templates are all set up.
3338
3339         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3340
3341 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3342
3343         * text.C: fixed an "oops" in the "is a bit silly"
3344         bug fix
3345
3346 2003-10-21  André Pönitz  <poenitz@gmx.net>
3347
3348         * FuncStatus.[Ch]: small stuff, whitespace
3349
3350         * lyxfont.[Ch]: operator<<() for debug reasons
3351
3352         * lyxfunc.C:
3353         * lyxrow_funcs.C:
3354         * lyxtext.h: whitespace, spelling
3355
3356         * paragraph.C: naming of variables
3357
3358         * text.C:
3359         * text2.C: small stuff
3360
3361
3362 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3363
3364         * text.C: (1) finish off the inset display() work;
3365         (2) fix the "is a bit silly" bug (accessing char
3366         past end of par).
3367
3368 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * text.C: re-introduce display() for insets, fixing the
3371         various bugs (stretch of line above, math inset
3372         positioning, ...)
3373
3374 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3375
3376         * text.C (rightMargin): remove spurious semicolon
3377
3378         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3379         1415)
3380
3381 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3382
3383         * text3.C: fix one crash due to wrong cursor def
3384
3385 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * vc-backend.C (scanMaster): make the regex static
3388
3389         * LaTeX.C (scanAuxFile): make the regexs static
3390
3391         * text3.C (doInsertInset, dispatch, dispatch):
3392         * text2.C (cursorUp, cursorDown):
3393         * text.C (selectNextWordToSpellcheck):
3394         * BufferView_pimpl.C (dispatch):
3395         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3396
3397 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3398
3399         * lyxsocket.C: include <cerrno>
3400
3401 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3402
3403         * lyxfunc.C (dispatch): remove textcache stuff
3404
3405         * bufferlist.C (release): remove textcache stuff
3406         (closeAll): ditto
3407
3408         * TextCache.C: delete file
3409         * TextCache.h: delete file
3410
3411         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3412
3413         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3414         delete of the bv_->text.
3415         (resizeCurrentBuffer): remove texcache stuff
3416         (workAreaResize): ditto
3417
3418 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3421         action.
3422
3423 2003-10-16  André Pönitz  <poenitz@gmx.net>
3424
3425         * lyxrow.[Ch]:
3426         * paragraph.h:
3427         * rowpainter.C:
3428         * text.C:
3429         * text2.C:
3430         * text3.C: speed up by storing y positions per paragraph plus per-row
3431         offset instead of having a 'full' y position in the row.
3432
3433 2003-10-15  André Pönitz  <poenitz@gmx.net>
3434
3435         * iterators.[Ch]:
3436         * iterators.[Ch]:
3437         * undo.[Ch]: make undo aware of inner insets
3438
3439 2003-10-14  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3442         static member functions LyX::ref() and LyX::cref.
3443         (lastfiles): new accessor functions for the new lastfiles_ member var.
3444         (addLyXView, views_): add a new LyXView to the list of views_.
3445         (updateInset): loop over all LyXViews to call their own updateInset
3446         member function, returning a pointer to the Buffer owning the inset.
3447
3448         * BufferView_pimpl.C (loadLyXFile):
3449         * MenuBackend.C (expandLastfiles):
3450         * bufferlist.C (MenuWrite, QuitLyX):
3451         lastfiles is no longer a global variable.
3452         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3453
3454         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3455         static function. Access through LyX::cref().emergencyCleanup().
3456
3457 2003-10-14  André Pönitz  <poenitz@gmx.net>
3458
3459         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3460
3461         * undo.[Ch]: restoring part of 'undo in insets'
3462
3463         * Makefile.am:
3464         * undo_funcs.[Ch]: merge with undo.[Ch]
3465
3466         * tabular.C: small cleansing stuff
3467
3468 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * paragraph_funcs.C (readParToken): report unknown insets as error
3471         boxes. Use the outer paragraph as location (also for unknown
3472         tokens).
3473
3474         * factory.C (readInset): do not abort on reading an unknown inset.
3475         Eat it and return 0.
3476
3477 2003-10-13  Angus Leeming  <leeming@lyx.org>
3478
3479         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3480
3481         * lyxrc.C: displayTranslator is now a function,
3482         declared in GraphicsTypes.h.
3483
3484 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3485
3486         * format.C: new placeholder $$a to pass the socket address.
3487
3488         * bufferlist.[Ch]: new function getBufferFromTmp.
3489
3490         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3491           files in the temporary dir.
3492
3493 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3494
3495         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3496
3497         * Makefile.am: add lyxsocket.[Ch].
3498
3499         * lyx_main.C (error_handler): handle SIGPIPE.
3500
3501 2003-10-13  André Pönitz  <poenitz@gmx.net>
3502
3503         * BufferView_pimpl.C:
3504         * lyxtext.h:
3505         * text.C:
3506         * text2.C:
3507         * text3.C:
3508         * undo_funcs.[Ch]: use paroffset_type instead of
3509           ParagraphList::iterators to prevent multiple conversion
3510           (and get a more robust interface)
3511
3512 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3515         * lyxtext.h: ditto
3516         * text3.C (dispatch): ditto
3517
3518 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3521         move the onlyfile, use onlyfile instead of foundfile in a couple
3522         of places.
3523
3524         * DepTable.C (update): flush the error stream a bit more
3525
3526 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3527
3528         * lyxserver.C (callback): adjust
3529
3530         * lyxfunc.C (getStatus): add a missing brace in commented code
3531         (ensureBufferClean): reindent
3532         (dispatch): delete version taking a string
3533
3534 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * LaTeX.C (deplog): move found file handlig from here...
3537         (handleFoundFile): .. to new function here.
3538         (deplog): make sure to discover several files mentioned on the
3539         same log line.
3540
3541 2003-10-10  André Pönitz  <poenitz@gmx.net>
3542
3543         * lyxfunc.C:
3544         * lyxtext.h:
3545         * tabular.C:
3546         * text.C:
3547         * text2.C:
3548         * text3.C: fix some of the tabular crashes
3549
3550 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3551
3552         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3553
3554         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3555
3556 2003-10-09  André Pönitz  <poenitz@gmx.net>
3557
3558         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3559
3560         * BufferView.C:
3561         * BufferView_pimpl.C:
3562         * bufferview_funcs.C:
3563         * lyx_cb.C:
3564         * lyxcursor.C:
3565         * lyxfind.C:
3566         * lyxfunc.C:
3567         * lyxtext.h:
3568         * text.C:
3569         * text2.C:
3570         * text3.C:
3571         * text_funcs.[Ch]:
3572         * textcursor.[Ch]:
3573         * undo_funcs.C: adjust
3574
3575 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * text2.C (incrementItemDepth): new function, use a backtracking
3578         algorithm to discover the correct item depth.
3579         (resetEnumCounterIfNeeded): new function, use a backtracking
3580         algorithm to discover if counter reset is needed.
3581         (setCounter): use them. Simplify a bit. Add different labels for
3582         different item depths for itemize.
3583
3584         * paragraph.C (Paragraph): remove initialization of enumdepth
3585         (operator=): ditto
3586
3587         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3588         enumerate and itemize. Change the type of itemdepth to signed char.
3589
3590 2003-10-08  André Pönitz  <poenitz@gmx.net>
3591
3592         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3593           thing assignable.
3594         * text.C:
3595         * text2.C: adjust
3596
3597         * tabular.[Ch]: fix crash after 'row-insert'
3598
3599 2003-10-08  Angus Leeming  <leeming@lyx.org>
3600
3601         Fix doxygen warnings.
3602
3603         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3604         Remove CutAndPaste:: prefix from header file declaration.
3605
3606         * LColor.h (fill): remove LColor:: prefix from declaration.
3607
3608         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3609         use lyx::depth_type rather than Paragraph::depth_type so that
3610         header file and .C file match.
3611
3612         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3613
3614         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3615         * aspell.C: \file aspell_local.C -> \file aspell.C
3616         * gettext.C: \file gettext.C -> \file src/gettext.C
3617         * gettext.h: \file gettext.h -> \file src/gettext.h
3618         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3619         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3620         * text.C: \file text.C -> \file src/text.C
3621
3622         * toc.C: move comment so that doxygen is not confused.
3623
3624 2003-10-07  Angus Leeming  <leeming@lyx.org>
3625
3626         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3627
3628 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3629
3630         * aspell.C:
3631         * aspell_local.h: add forgotten std::string's.
3632
3633 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3634
3635         * LaTeXFeatures.C:
3636         * LyXAction.C:
3637         * factory.C:
3638         * lfuns.h:
3639         * lyxfunc.C:
3640         * text3.C: The Box patch. Fancybox support, minipage, parbox
3641
3642 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3643
3644         * CutAndPaste.h:
3645         * DepTable.h:
3646         * FloatList.h:
3647         * LaTeXFeatures.h:
3648         * ParagraphParameters.h:
3649         * TextCache.h:
3650         * Thesaurus.h:
3651         * bufferlist.h:
3652         * exporter.h:
3653         * importer.h:
3654         * lastfiles.h:
3655         * lyxfind.h:
3656         * lyxfont.h:
3657         * lyxlex.h:
3658         * lyxtextclasslist.h:
3659         * messages.h:
3660         * paragraph.h:
3661         * paragraph_pimpl.C:
3662         * textcursor.h: add <string> and other small fixes to make Lars'
3663         std::string patch compile with STLport.
3664
3665 2003-10-06  Angus Leeming  <leeming@lyx.org>
3666
3667         * LColor.h: Add missing #include <string>.
3668
3669 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * All most all file in all subdirs: Make <string> be the prefered
3672         way of getting to std::string, add using declarations.
3673
3674 2003-10-06  André Pönitz  <poenitz@gmx.net>
3675
3676         * metricsinfo.C: initialize LyXFont before changing attribute.
3677         (fixes the 'math in \emph is upright' bug)
3678
3679 2003-10-06  André Pönitz  <poenitz@gmx.net>
3680
3681         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3682
3683 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3684
3685         * graph.C:
3686         * paragraph_pimpl.C: Small fixes to build using STLport
3687
3688 2003-10-02  André Pönitz  <poenitz@gmx.net>
3689
3690         * lyxfunc.C:
3691         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3692
3693 2003-10-01  André Pönitz  <poenitz@gmx.net>
3694
3695         * factory.C: assert early
3696
3697 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * lyx_main.C: remove the global debug object
3700
3701         * debug.h: adjust for new debugstream
3702
3703         * debug.C: adjust for new debugstream and keep the global debug
3704         object here.
3705
3706 2003-09-22  Angus Leeming  <leeming@lyx.org>
3707
3708         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3709         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3710         an incomplete class LyXFont.
3711
3712 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3713
3714         * factory.C: bug fix in branches
3715
3716 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * lyxfunc.C (processKeySym): adjust
3719         (dispatch): adjust
3720         (dispatch): change arg name from ev to func, adjust
3721         (sendDispatchMessage): ditto
3722
3723         * lyx_main.C (defaultKeyBindings): adjust keybindings
3724         (deadKeyBindings): ditto
3725
3726         * kbsequence.C (addkey): return a FuncRequest
3727
3728         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3729
3730         * kbmap.C (bind): take a FuncRequest as arg, adjust
3731         (read): adjust
3732         (lookup): adjust
3733         (defkey): change to take a FuncRequest as arg, adjust
3734         (findbinding): take a FuncRequest as arg, adjust.
3735
3736         * funcrequest.h (operator=): added
3737
3738         * funcrequest.C (FuncRequest): default kb_action changed from
3739         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3740
3741         * buffer.C (dispatch): simplify
3742         (dispatch): adjust to take a FuncRequest as arg, adjust
3743
3744         * boost.C (assertion_failed): change assertion message slightly
3745
3746         * ToolbarBackend.C (read): simplify
3747
3748         * MenuBackend.C (binding): adjust call to findbinding, add a
3749         message if no binding is found.
3750         (read): simplify
3751         (expandToc): correct by adding a empty FuncRequest
3752
3753         * LyXAction.C: include <boost/assert.hpp>
3754         (isPseudoAction): delete function
3755         (LookupFunc): change name to...
3756         (lookupFunc): this. change return type to FuncRequest.
3757         (getActionName): take kb_action as arg, simplify
3758         (funcHasFlag): add an assert, simplify.
3759
3760 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * toc.C (action): return a FuncRequest, simplify
3763
3764         * lyxfunc.C (processKeySym): adjust
3765         (getStatus): delete version that takes an int.
3766         (getStatus): adjust
3767         (dispatch): delete version that takes action as int
3768         (dispatch): adjust
3769         (sendDispatchMessage): simplify and adjust
3770
3771         * funcrequest.C (getArg): take unsigned int as arg
3772
3773         * ToolbarBackend.C (read): adjust
3774         (add): delete version that takes func as a string.
3775         (getIton): take a FuncRequest as arg
3776
3777         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3778         action.
3779
3780         * MenuBackend.C (MenuItem): add a new construct that only takes a
3781         Kind, simplify the constructor use for submenus.
3782         (add): adjust
3783         (expandLastfiles): adjust
3784         (expandDocuments): adjust
3785         (expandFormats): adjust
3786         (expandFloatListInsert): adjust
3787         (expandFloatInsert): adjust
3788         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3789
3790         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3791         Remove class variables lyx_pseudo_map and lyx_arg_map
3792
3793         * LyXAction.C (searchActionArg): delete function
3794         (getPseudoAction): delete function
3795         (retrieveActionArg): delete function
3796         (LookupFunc): make it return kb_action, simplify.
3797         (getActionName): simplify
3798
3799         * factory.C (createInset): fix new bug
3800
3801 2003-09-19  Angus Leeming  <leeming@lyx.org>
3802
3803         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3804         masterFilename_ parameter in the include inset.
3805
3806         * factory.C (createInset): changes due to the changes to InsetInclude.
3807
3808 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3809
3810         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3811
3812 2003-09-18  Angus Leeming  <leeming@lyx.org>
3813
3814         * buffer.C:
3815         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3816         Inset::fillWithBibKeys.
3817         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3818
3819 2003-09-18  Angus Leeming  <leeming@lyx.org>
3820
3821         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3822         variables.
3823         (ctor): pass and store a 'Buffer const &'
3824         (buffer): new member function.
3825
3826         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3827         '*this' to the LaTeXFeatures ctor.
3828
3829 2003-09-18  Angus Leeming  <leeming@lyx.org>
3830
3831         * LColor.h:
3832         * lyxfont.C:
3833         * lyxfont.h:
3834         * lyxtext.h:
3835         * text.C: rename EnumLColor as LColor_color.
3836
3837 2003-09-18  Angus Leeming  <leeming@lyx.org>
3838
3839         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3840         remove #include "insets/insetbase.h" from cursor.h.
3841
3842 2003-09-18  Angus Leeming  <leeming@lyx.org>
3843
3844         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3845         InsetOld_code to remove #include "inset.h".
3846
3847         * iterators.C: add #include "insets/inset.h"
3848
3849 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3850
3851         * BufferView.C: remove more locking stuff that apparently doesn't
3852         do anything sensible.
3853
3854 2003-09-16  André Pönitz  <poenitz@gmx.net>
3855
3856         * paragraph.[Ch]:
3857         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3858           performance boost.
3859
3860 2003-09-16  Angus Leeming  <leeming@lyx.org>
3861
3862         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3863
3864         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3865         arg/return type.
3866
3867         * paragraph.h: remove #include "lyxfont.h". Forward declare
3868         LyXFont_size.
3869
3870 2003-09-16  Angus Leeming  <leeming@lyx.org>
3871
3872         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3873         of support/textutils.h.
3874         (isWord): move the contents of support/textutils.h's IsWordChar here.
3875
3876         * buffer.C:
3877         * lyxfind.C:
3878         * rowpainter.C:
3879         * text.C:
3880         * text2.C: add #include "paragraph.h".
3881
3882         * rowpainter.C:
3883         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3884
3885 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * main.C:
3888         * lyx_main.C:
3889         * lyx_cb.C:
3890         * buffer.C:
3891         * LaTeX.C: use namespace alias for lyx::support::os
3892
3893 2003-09-16  Angus Leeming  <leeming@lyx.org>
3894
3895         * bufferparams.C:
3896         * bufferview_funcs.C:
3897         * factory.C:
3898         * lyxfunc.C:
3899         * paragraph_pimpl.C:
3900         * rowpainter.C:
3901         * text.C: add #include "LColor.h".
3902
3903 2003-09-16  Angus Leeming  <leeming@lyx.org>
3904
3905         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3906         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3907         return LyXFont &.
3908         Store the FontBits::color variable as an int rather than as an
3909         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3910         file.
3911
3912         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3913         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3914         string calls together.
3915
3916         * lyxrc.C: add #include "LColor.h".
3917
3918 2003-09-15  Angus Leeming  <leeming@lyx.org>
3919
3920         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3921         a cow_ptr.
3922
3923 2003-09-15  Angus Leeming  <leeming@lyx.org>
3924
3925         * LColor.h: add an EnumLColor wrapper for LColor::color.
3926
3927         * lyxfont.[Ch] (color, setColor, realColor):
3928         * lyxtext.h, text.C (backgroundColor):
3929         pass EnumLColor args to/from the functions, rather than LColor::color
3930         ones.
3931
3932         * lyxfont.h:
3933         * lyxtext.h: forward declare EnumLColor.
3934
3935         * lyx_main.C: add #include "LColor.h".
3936
3937 2003-09-15  Angus Leeming  <leeming@lyx.org>
3938
3939         * .cvsignore: add lyx-gtk.
3940
3941 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * Chktex.C
3944         * LaTeX.C
3945         * LaTeXFeatures.C
3946         * ParagraphParameters.C
3947         * Spacing.C
3948         * buffer.C
3949         * bufferparams.C
3950         * bufferview_funcs.C
3951         * chset.C
3952         * counters.C
3953         * funcrequest.C
3954         * lyxfont.C
3955         * lyxgluelength.C
3956         * lyxlength.C
3957         * paragraph.C
3958         * paragraph_funcs.C
3959         * text3.C
3960         * vc-backend.C: remove usage of STRCONV
3961
3962 2003-09-15  Angus Leeming  <leeming@lyx.org>
3963
3964         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3965         explicitly define the color passed to the painter.
3966
3967 2003-09-15  Angus Leeming  <leeming@lyx.org>
3968
3969         * bufferparams.C (BufferParams): reorder member initializers to avoid
3970         compiler warning.
3971
3972 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3973
3974         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3975         * text.C (updateRowPositions): remove an unusual nop
3976
3977 2003-09-12  André Pönitz  <poenitz@gmx.net>
3978
3979         * BufferView_pimpl.C:
3980         * Bullet.C:
3981         * layout.h:
3982         * lyxfunc.C:
3983         * lyxlayout.[Ch]:
3984         * lyxtextclass.C:
3985         * rowpainter.C:
3986         * text.C:
3987         * text2.C:
3988         * Counters.[Ch]: finish the 'automatic counters' job
3989
3990 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3991
3992         * aspell.C: include <boost/assert.cpp> (compile fix)
3993
3994 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3995
3996         * boost.C (assertion_failed): use lyx::support::abort instead of
3997         assert.
3998
3999 2003-09-10  Angus Leeming  <leeming@lyx.org>
4000
4001         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4002         with their _fwd progeny.
4003
4004 2003-09-09  Angus Leeming  <leeming@lyx.org>
4005
4006         134 files throughtout the source tree: replace 'using namespace abc;'
4007         directives with the appropriate 'using abc::xyz;' declarations.
4008
4009 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4010
4011         * boost.C (emergencyCleanup): moved here from LAssert.c
4012         (assertion_failed): new function, called by BOOST_ASSERT
4013
4014         * several files: change Assert to BOOST_ASSERT
4015
4016 2003-09-09  Angus Leeming  <leeming@lyx.org>
4017
4018         * buffer.[Ch]: Add an Impl class and move Buffer's member
4019         variables into it. As a result move several header files out of
4020         buffer.h.
4021
4022         Add header files to lots of .C files all over the tree as a result.
4023
4024 2003-09-09  Angus Leeming  <leeming@lyx.org>
4025
4026         * buffer.[Ch]: make Buffer's member variables private. Add
4027         accessor functions.
4028
4029         Lots of changes all over the tree as a result.
4030
4031 2003-09-08  Angus Leeming  <leeming@lyx.org>
4032
4033         * graph.C: #include <config.h>.
4034
4035 2003-09-08  Angus Leeming  <leeming@lyx.org>
4036
4037         * BranchList.C:
4038         * BufferView.C:
4039         * BufferView_pimpl.C:
4040         * CutAndPaste.C:
4041         * DepTable.C:
4042         * LaTeX.C:
4043         * LaTeXFeatures.C:
4044         * LyXAction.C:
4045         * MenuBackend.C:
4046         * TextCache.C:
4047         * aspell.C:
4048         * buffer.C:
4049         * bufferlist.C:
4050         * changes.C:
4051         * chset.C:
4052         * converter.C:
4053         * counters.C:
4054         * debug.C:
4055         * graph.C:
4056         * ispell.C:
4057         * lyx_cb.C:
4058         * lyxfind.C:
4059         * lyxfunc.C:
4060         * lyxlex_pimpl.C:
4061         * lyxrc.C:
4062         * lyxrow.C:
4063         * paragraph.C:
4064         * rowpainter.C:
4065         * texrow.C:
4066         * text.C:
4067         * text2.C:
4068         * toc.C: remove redundant using directives.
4069
4070 2003-09-07  Angus Leeming  <leeming@lyx.org>
4071
4072         * LaTeXFeatures.h: remove #include "support/types.h".
4073         * ToolbarBackend.h: remove #include <algorithm>.
4074         * changes.h: remove #include <ctime>.
4075         * debug.h: remove #include <iosfwd>.
4076         * graph.h: remove #include "support/std_string.h".
4077         * lyx_main.h: remove #include <csignal>.
4078         * lyxlex_pimpl.h: remove #include <fstream>.
4079         * sgml.h: remove #include <algorithm>, <utility>.
4080         * toc.h: remove #include "support/std_ostream.h".
4081         Add #include <iosfwd>.
4082
4083 2003-09-07  Angus Leeming  <leeming@lyx.org>
4084
4085         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4086
4087         * converter.h: forward declare LatexRunParams.
4088         * encoding.h: remove #include "lyxrc.h".
4089         * lyxtext.h: remove #include "LColor.h".
4090         * lyxtextclass.h: remove #include "support/types.h".
4091         * trans.h: remove #include "tex-accent.h".
4092         * trans_mgr.h: remove #include "tex-accent.h".
4093         * insets/inset.h: remove #include "support/types.h", <vector>.
4094         * insets/insetcollapsable.h: remove #include "LColor.h".
4095         * insets/insetinclude.h: remove #include "dimension.h".
4096         * insets/insetlatexaccent.h: remove #include "dimension.h".
4097         * insets/insetoptarg.h:: remove #include "insettext.h".
4098         * insets/insettext.h: remove #include "dimension.h",
4099         <boost/shared_ptr.hpp>
4100
4101         * insets/renderers.h: add #include "dimension.h".
4102         * insets/updatableinset.h: add #include "support/types.h".
4103
4104         * many .C files: Associated changes.
4105
4106 2003-09-06  Angus Leeming  <leeming@lyx.org>
4107
4108         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4109         one, inside testInvariant.
4110
4111         * PrinterParams.C: new file.
4112         * PrinterParams.[Ch]: move the function bodies out of line.
4113
4114 2003-09-06  Angus Leeming  <leeming@lyx.org>
4115
4116         * ParagraphParameters.h: forward declare ParameterStruct rather than
4117         including its header file.
4118         (depth): moved out-of-line.
4119
4120 2003-09-06  Angus Leeming  <leeming@lyx.org>
4121
4122         * BufferView_pimpl.h:
4123         * kbmap.h:
4124         * kbsequence.h:
4125         * lyxfunc.h: forward declare LyXKeySym rather than
4126         #include "frontends/LyXKeySym.h".
4127
4128         * BufferView_pimpl.C:
4129         * kbmap.C:
4130         * kbsequence.C:
4131         * lyxfunc.C: associated changes.
4132
4133 2003-09-06  Angus Leeming  <leeming@lyx.org>
4134
4135         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4136         As a result, can remove the #include "insets/inset.h" from BufferView.h
4137
4138 2003-09-06  Angus Leeming  <leeming@lyx.org>
4139
4140         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4141         As a result, can remove the #include "insets/inset.h" from BufferView.h
4142
4143 2003-09-06  Angus Leeming  <leeming@lyx.org>
4144
4145         * buffer_funcs.C:
4146         * buffer.h:
4147         * bufferlist.C:
4148         * BufferView.C:
4149         * bufferview_funcs.C:
4150         * BufferView_pimpl.C:
4151         * CutAndPaste.C:
4152         * lyx_cb.C:
4153         * lyxfunc.C:
4154         * paragraph.h:
4155         * ParagraphParameters.C:
4156         * tabular.C:
4157         * text3.C:
4158         * toc.C:
4159         * undo_funcs.C:
4160         * frontends/controllers/ControlDocument.C:
4161         * insets/insetcaption.C: rearrange the #includes into some sort of
4162         coherent order.
4163
4164         * buffer.h: remove #includes ErrorList.h, undo.h
4165
4166 2003-09-06  Angus Leeming  <leeming@lyx.org>
4167
4168         * support/types.h: add a 'depth_type' typedef, used to store the
4169         nesting depth of a paragraph.
4170
4171         * paragraph.h:
4172         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4173         defining explicitly.
4174
4175         * buffer.h:
4176         * paragraph_funcs.h:
4177         * ParagraphParameters.h:
4178         * sgml.h: use lyx::depth_type rather than Paragraph or
4179         ParameterStruct's depth_type.
4180
4181         * buffer.h
4182         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4183
4184         * BufferView.C:
4185         * BufferView_pimpl.C:
4186         * CutAndPaste.C:
4187         * ParagraphParameters.C:
4188         * buffer_funcs.C:
4189         * bufferlist.C:
4190         * bufferview_funcs.C:
4191         * lyx_cb.C:
4192         * lyxfunc.C:
4193         * tabular.C:
4194         * text3.C:
4195         * toc.C:
4196         * undo_funcs.C:
4197         * frontends/LyXView.C:
4198         * frontends/controllers/ControlDocument.C:
4199         * frontends/controllers/ControlErrorList.C:
4200         * insets/insetbibitem.C:
4201         * insets/insetbranch.C:
4202         * insets/insetcaption.C:
4203         * insets/insetcollapsable.C:
4204         * insets/insetenv.C:
4205         * insets/insetert.C:
4206         * insets/insetfloat.C:
4207         * insets/insetfoot.C:
4208         * insets/insetfootlike.C:
4209         * insets/insetnewline.C:
4210         * insets/insetquotes.C:
4211         * insets/insettabular.C:
4212         * insets/insettext.C:
4213         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4214
4215         * frontends/controllers/ControlChanges.C: #include "changes.h".
4216
4217 2003-09-06  Angus Leeming  <leeming@lyx.org>
4218
4219         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4220         than #including paragraph.h.
4221
4222         * ParagraphList.h:
4223         * RowList.h: deleted. Superfluous.
4224
4225         * CutAndPaste.h:
4226         * iterators.h:
4227         * lyxcursor.h:
4228         * lyxtext.h:
4229         * text_funcs.h:
4230         * undo.h:
4231         * undo_funcs.h:
4232         * insets/inset.h:
4233         * insets/insettext.h: use ParagraphList_fwd.h rather than
4234         ParagraphList.h.
4235
4236         * paragraph.h: don't forward declare ParagraphList.
4237
4238         * buffer.h:
4239         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4240         rather than ParagraphList.h. paragraph.h is still needed for the
4241         Paragraph::depth_type parameters.
4242
4243         * textcursor.h: enable it to compile stand-alone in light of the
4244         above changes.
4245
4246         * bufferview_funcs.C:
4247         * iterators.C:
4248         * lyxfunc.C:
4249         * lyxrow_funcs.C:
4250         * paragraph.C:
4251         * rowpainter.C:
4252         * text.C:
4253         * text2.C:
4254         * text3.C:
4255         * text_funcs.C:
4256         * textcursor.C:
4257         * undo.C:
4258         * frontends/controllers/ControlParagraph.C:
4259         * frontends/controllers/ControlTabular.C:
4260         * insets/insetmarginal.C:
4261         * insets/insetminipage.C:
4262         * insets/insetnote.C:
4263         * insets/insetoptarg.C: add header files needed to compile again.
4264
4265 2003-09-06  Angus Leeming  <leeming@lyx.org>
4266
4267         * RowList_fwd.h: new file, forward-declaring Row rather than
4268         #including lyxrow.h.
4269
4270         * lyxrow_funcs.h:
4271         * lyxtext.h:
4272         * paragraph.h:
4273         * insets/insettext.h: use it instead of RowList.h
4274
4275         * bufferview_funcs.C:
4276         * lyxfunc.C:
4277         * lyxrow_funcs.C:
4278         * paragraph.C:
4279         * rowpainter.C:
4280         * text.C:
4281         * text2.C:
4282         * text3.C: #include "RowList.h".
4283
4284 2003-09-05  Angus Leeming  <leeming@lyx.org>
4285
4286         * factory.C (createInset):
4287         * vspace.C (c-tor): replace sscanf call with an istringstream.
4288         * ispell.C: re-add missing HP/UX headers.
4289         * lyxserver.C: re-add missing  os2 headers.
4290
4291 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4292
4293         * BranchList.C:
4294         * graph.C:
4295         * ispell.C:
4296         * lastfiles.C:
4297         * lyx_cb.C:
4298         * lyxserver.C:
4299         * texrow.C:
4300         * text3.C: re-add missing system headers, needed for 2.95.2.
4301
4302 2003-09-05  Angus Leeming  <leeming@lyx.org>
4303
4304         Changes most place everywhere due to the removal of using directives
4305         from support/std_sstream.h.
4306
4307 2003-09-05  Angus Leeming  <leeming@lyx.org>
4308
4309         Replace LString.h with support/std_string.h,
4310         Lsstream.h with support/std_sstream.h,
4311         support/LIstream.h with support/std_istream.h,
4312         support/LOstream.h with support/std_ostream.h.
4313
4314         Changes resulting throughout the tree.
4315
4316 2003-09-05  Angus Leeming  <leeming@lyx.org>
4317
4318         * sgml.h: ensure that the header file can be compiled stand-alone.
4319         * *.C: strip out redundant #includes. (320 in total.)
4320
4321 2003-09-04  Angus Leeming  <leeming@lyx.org>
4322
4323         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4324         here (from getPackages).
4325
4326         * debug.[Ch]: add a new EXTERNAL tag.
4327
4328 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4329
4330         * text2.C (cursorEnd): simplify
4331         (setCursor): adjust
4332         (getColumnNearX): adjust
4333
4334         * text.C (computeBidiTables): adjust
4335         (fill): adjust
4336
4337         * rowpainter.C (paintChars): adjust
4338         (paintSelection): adjust
4339         (paintChangeBar): adjust
4340         (paintText): adjust
4341
4342         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4343         lastPos instead.
4344         (numberOfSeparators): adjust
4345
4346 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4347
4348         * LyXAction.C:
4349         * box.[Ch]:
4350         * lfuns.h:
4351         * lyxfunc.C:
4352         * text3.C: Restricts the mouse click functionality
4353         of insets like bibtex, include, toc and floatlist to the visible
4354         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4355         up the dialogs. Cursor has to be in front of the inset (i.e.
4356         start of row) for this to function.
4357
4358 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4359
4360         * bufferview_funcs.C (currentState): output row information
4361
4362 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4363
4364         * bufferview_funcs.C (currentState): output paragraph position
4365
4366 2003-09-04  Angus Leeming  <leeming@lyx.org>
4367
4368         * FloatList.h: move out #include "Floating.h".
4369         * LaTeX.h: move out #include "DepTable.h".
4370         * LyXAction.h: move out #include "funcrequest.h".
4371         * buffer.h: move out #include "author.h", "iterators.h".
4372         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4373         * lyx_main.h: move out #include "errorlist.h".
4374         * lyxfunc.h: move out #include "FuncStatus.h".
4375         * lyxtext: move out #include "lyxcursor.h".
4376         * paragraph_pimpl.h: move out #include "counters.h".
4377
4378 2003-09-03  Angus Leeming  <leeming@lyx.org>
4379
4380         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4381         preamble_snippets list, enabling us to add snippets to the preamble
4382         only if the snippet was not there already.
4383
4384 2003-09-04  Angus Leeming  <leeming@lyx.org>
4385
4386         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4387
4388 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4391         update
4392
4393 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4394
4395         * BranchList.C: point fix, earlier forgotten
4396
4397 2003-09-02  Angus Leeming  <leeming@lyx.org>
4398
4399         * box.C (contains): renamed from 'contained' after a fantastic
4400         amount of hot air.
4401
4402 2003-09-02  John Levon  <levon@movementarian.org>
4403
4404         * BufferView.C:
4405         * lyxcursor.h:
4406         * lyxcursor.C:
4407         * lyxfunc.C:
4408         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4409
4410 2003-09-02  John Levon  <levon@movementarian.org>
4411
4412         * text2.C: simplification of cursorEnd(), including partial
4413         fix for bug 1376
4414
4415 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * buffer.C (readFile): add a space
4418
4419 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4420
4421         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4422
4423 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * buffer.C (readFile): new function, take a filename and a
4426         ParagraphList::iterator
4427         (readFile): adjust
4428         (readFile): adjust, make it private. don't use setStream, make
4429         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4430         always contain the filename.
4431
4432         * BufferView.C (insertLyXFile): simplify and make it work for
4433         gzipped files.
4434
4435 2003-08-30  John Levon  <levon@movementarian.org>
4436
4437         * Makefile.am: fix dist (from Kayvan)
4438
4439 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * most files: change to use const Buffer refs
4442
4443 2003-08-27  André Pönitz  <poenitz@gmx.net>
4444
4445         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4446         on top of ownerPar().
4447
4448 2003-08-27  John Levon  <levon@movementarian.org>
4449
4450         * funcrequest.C: properly initialise POD members
4451
4452 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * lyxtext.h (top_y): move top_y from here
4455         * text.C:
4456         * text2.C:
4457         * text3.C:
4458         * BufferView.[Ch]:
4459         * BufferView_pimpl.[Ch]: to here
4460         * frontends/screen.C:
4461         * insets/insettabular.C:
4462         * insets/insettext.C: adjust
4463         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4464
4465 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * BufferView.[Ch]:
4468         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4469
4470 2003-08-26  André Pönitz  <poenitz@gmx.net>
4471
4472         * paragraph_func.[Ch] (outerPar): new function
4473
4474         * paragraph.C:
4475         * paragraph_funcs.C:
4476         * paragraph_funcs.h:
4477         * paragraph_pimpl.C:
4478         * text2.C: remove Inset::par_owner
4479
4480 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4481
4482         * lyxrow_funcs.C:
4483         * lyxtext.h:
4484         * text.C:
4485         * text2.C: eliminates the needFullRow/display() stuff
4486         altogether, putting the logic in metrics/draw in the insets.
4487
4488 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4489
4490         * text2.C (redoParagraphInternal, redoParagraphs):
4491         * text.C (redoParagraph): add a call to updateRowPositions at the
4492         end of each 'metrics-like' call. Remove all others.
4493         (getRow): remove the 'y-computing' version.
4494         (getRowNearY): do not compute nor return the real y. Solve the
4495         'y < 0' problem and simplify.
4496
4497 2003-08-22  Angus Leeming  <leeming@lyx.org>
4498
4499         * *.[Ch]: clean-up of licence and author blurbs.
4500         Also move config.h out of a few .h files and into a few .C files.
4501
4502 2003-08-22  André Pönitz  <poenitz@gmx.net>
4503
4504         * lyxrow.[Ch]: add x_ and *fill_ members
4505
4506         * lyxtext.h:
4507         * text.C:
4508         * rowpainter.C:
4509         * text2.C: adjust/remove prepareToPrint() calls
4510
4511 2003-08-22  André Pönitz  <poenitz@gmx.net>
4512
4513         * lyxrow.[Ch]: add  end_ member
4514
4515         * lyxrow_funcs.C: use LyXRow::end_
4516
4517         * lyxtext.h (singleWidth): add LyXFont parameter
4518
4519         * rowpainter.C:
4520         * text2.C: adjust LyXText::singleWidth() calls
4521
4522         * text.C (redoParagraph): simplify row breaking logic
4523
4524
4525 2003-08-19  André Pönitz  <poenitz@gmx.net>
4526
4527         * funcrequest.C: initialize button_ member
4528
4529         * text3.C:
4530         * rowpainter.[Ch]: interface consolidation
4531
4532 2003-08-18  André Pönitz  <poenitz@gmx.net>
4533
4534         * BufferView.C:
4535         * BufferView_pimpl.C:
4536         * lyxfind.C:
4537         * paragraph_funcs.C:
4538         * rowpainter.C:
4539         * text3.C: remove LyXScreen::draw() and fitCursor calls
4540
4541         * BranchList.h: remove spurious semicolons
4542
4543         * MenuBackend.C: fix branchlist related crash
4544
4545 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4546
4547         * BranchList.[Ch]:
4548         * InsetList.[Ch]:
4549         * LColor.[Ch]:
4550         * LyXAction.C:
4551         * Makefile.am:
4552         * MenuBackend.[Ch]:
4553         * bufferparams.[Ch]:
4554         * factory.C:
4555         * lfuns.h:
4556         * lyxfunc.C:
4557         * text3.C: implements the 'branch inset'
4558         idea. This allows the output of various versions of a document
4559         from a single source version, selectively outputing or suppressing
4560         output of parts of the text.
4561         This implementation contains a 'branch list editor' in a separate
4562         tab of the document settings dialog. Branches are user definable
4563         and have a "display colour" to distinguish them on-screen.
4564
4565         ColorHandler was somewhat cleaned up.
4566         (1) make possible a dynamically growing LColor list by allowing
4567         the graphic context cache to grow along (vector);
4568         (2) eliminate an IMHO unnecessary step in colour allocation.
4569
4570 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4571
4572         * BufferView_pimpl.C: compile fix
4573
4574 2003-08-15  André Pönitz  <poenitz@gmx.net>
4575
4576         * rowpainter.C: remove extra metrics calls
4577
4578         * lyxtext.h: merge the two constructors into a single one,
4579           pass reference to owner's par list
4580
4581         * BufferView_pimpl.C:
4582         * text.C:
4583         * text2.C: adjust
4584
4585 2003-08-15  André Pönitz  <poenitz@gmx.net>
4586
4587         * lyxrow_funcs.[Ch]:
4588         * lyxtext.h:
4589         * paragraph.h:
4590         * paragraph_funcs.C:
4591         * rowpainter.C:
4592         * text.C:
4593         * text2.C:
4594         * text3.C:
4595         * text_funcs.C: split LyXText::rowlist_ into individual
4596         Paragraph::rows_ chunks
4597
4598         * BufferView.[Ch]:
4599         * BufferView_pimpl.[Ch]:
4600         * lyxfind.C:
4601         * lyxtext.h:
4602         * text3.C: remove toggleSelection()
4603
4604 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4605
4606         * bufferlist.C: beautify two alerts (shorter text of buttons)
4607         * buffer.C: Remove redundant ' ' from message
4608         * tabular.h:
4609         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4610         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4611         rename VALIGN_CENTER to VALIGN_MIDDLE
4612
4613 2003-08-11  André Pönitz  <poenitz@gmx.net>
4614
4615         * lyxtext.h (getPar):
4616         * text.C: new function
4617
4618 2003-08-11  André Pönitz  <poenitz@gmx.net>
4619
4620         * Makefile.am:
4621         * tracer.[Ch]: remove unneeded files
4622
4623         * InsetList.[Ch]: remove resizeInsetsLyXText()
4624
4625         * lyxtext.h:
4626         * text.C:
4627         * text2.C:
4628         * text3.C: merge insertParagraphs() and appendParagraph()
4629         remove breakAgain(), update()
4630
4631         * BufferView_pimpl.[Ch]:
4632         * bufferview_funcs.[Ch]:
4633         * lyxfunc.C:
4634         * paragraph.[Ch]:
4635         * rowpainter.C:
4636         * tabular.C: adjust after text & InsetList changes.
4637
4638 2003-08-08  André Pönitz  <poenitz@gmx.net>
4639
4640         * text.C (insertChar, backspace): replace rowlist fiddling
4641         with rebreak of full par
4642
4643         * lyxtext.h:
4644         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4645         checkParagraph, updateInset): removed
4646
4647 2003-08-07  André Pönitz  <poenitz@gmx.net>
4648
4649         * paragraph.C:
4650         * text3.C: merge some LFUN handlers, remove dead code
4651
4652 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4653
4654         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4655
4656 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4657
4658         * text2.C (DEPM): fix part of bug 1255 and 1256
4659
4660 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4661
4662         * BufferView_pimpl.C (workAreaDispatch): change to use
4663         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4664         that are no mouse related.
4665
4666 2003-08-05  André Pönitz  <poenitz@gmx.net>
4667
4668         * BufferView.[Ch]:
4669         * BufferView_pimpl.[Ch]:
4670         * bufferview_funcs.C:
4671         * text2.C:
4672         * text3.C: rip out "deep update"
4673
4674         * textcursor.[Ch] (last_sel_cursor): remove unused member
4675
4676 2003-08-04  André Pönitz  <poenitz@gmx.net>
4677
4678         * BufferView.[Ch]:
4679         * BufferView_pimpl.[Ch]:
4680         * ParagraphParameters.C:
4681         * bufferview_funcs.C:
4682         * lyx_cb.C:
4683         * lyxfind.C:
4684         * lyxfunc.C:
4685         * text.C:
4686         * text2.C:
4687         * text3.C: replace "complicated" BufferView::update(...) calls with
4688         simpler ones.
4689
4690         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4691
4692 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4693
4694         * Makefile.am (lyx_SOURCES): add paper.h
4695
4696 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4697
4698         * Makefile.am: move things around so that both lyx-qt and
4699         lyx-xforms can be built (according to --with-frontend). Then lyx
4700         is a symbolic link to lyx-[firstfrontend]
4701
4702 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4703
4704         * Always use std::endl with lyxerr
4705
4706 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4707
4708         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4709
4710 2003-08-01  André Pönitz  <poenitz@gmx.net>
4711
4712         * BufferView.[Ch]:
4713         * BufferView_pimpl.[Ch]:
4714         * lyxfunc.C:
4715         * text3.C: merge BufferView::repaint() and BufferView::update()
4716
4717 2003-08-01  José Matos  <jamatos@lyx.org>
4718
4719         * buffer.[Ch]: file_format is no longer a buffer data element.
4720
4721 2003-08-01  André Pönitz  <poenitz@gmx.net>
4722
4723         * BufferView.C:
4724         * lyxtext.h:
4725         * text.C:
4726         * text2.C: make redoParagraph more independent of current cursor
4727
4728         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4729         * text.C:
4730         * text2.C: remove unneeded members
4731
4732 2003-07-30  André Pönitz  <poenitz@gmx.net>
4733
4734         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4735
4736         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4737           create a single function...
4738
4739         * paragraph_funcs.C (moveItem): ... here.
4740
4741         * text.C:
4742           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4743
4744 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4745
4746         * LColor.[Ch]: Add comment and greyedout logical colors.
4747
4748 2003-07-30  André Pönitz  <poenitz@gmx.net>
4749
4750         * tabular.C: don't use Assert too heavily. This crashes where it
4751           shouldn't
4752
4753 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4754
4755         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4756         is disabled (bug 1232)
4757
4758 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4759
4760         * factory.C: limited 'arg' scope
4761
4762 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4763
4764         * factory.C: fixed Note submenu issues
4765
4766 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4767
4768         * factory.C: submenu for Note/Comment/Greyedout
4769
4770 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4771
4772         * lyx_main.C (LyX):
4773         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4774
4775 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4776
4777         * LaTeXFeatures.C:
4778         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4779         greyedout. Patch provided by Jürgen Spitzmüller.
4780
4781 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4782
4783         * kbmap.C (read): fix error message when reading bind files
4784
4785 2003-07-29  Angus Leeming  <leeming@lyx.org>
4786
4787         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4788         certainly does not do what it purports to do. I am doing it, and
4789         us, a favour by killing it.
4790
4791 2003-07-28  José Matos  <jamatos@lyx.org>
4792
4793         * buffer.C (readBody, do_writeFile):
4794         * paragraph.C(readParagraph): \end_document replaces \the_end.
4795
4796 2003-07-29  André Pönitz  <poenitz@gmx.net>
4797
4798         * BufferView.[Ch]:
4799         * BufferView_pimpl.[Ch]:
4800         * lyxfunc.C:
4801         * text2.C:
4802         * text3.C:
4803         * textcursor.[Ch]: remove toggleToggle & Co
4804
4805 2003-07-28  José Matos  <jamatos@fep.up.pt>
4806
4807         * buffer.C (readParagraph):
4808         * params_func (readParToken, readParagraph):
4809         * paragraph.C (write): \layout -> \begin_layout.
4810
4811 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * lyxlex_pimpl.C (setFile): clean up slightly.
4814
4815         * bufferparams.h: add compressed var
4816
4817         * buffer_funcs.C (readFile): adjust for LyXLex change
4818         (newFile): ditto + simplify
4819
4820         * buffer.C (writeFile): handle writing of compressed files
4821
4822         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4823         Check if the file is compressed and set a bufferparm if so.
4824
4825         * Makefile.am (lyx_LDADD): remove explicit -lz
4826
4827 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4828
4829         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4830         makeDocBookFile): put the real LyX version in the first line of
4831         the file
4832
4833         * version.h:
4834         * version.C.in: remove lyx_docversion
4835
4836         * tabular.C (write_attribute): add a template-based version to
4837         write enums properly
4838
4839 2003-07-28  André Pönitz  <poenitz@gmx.net>
4840
4841         * lyxtext.h:
4842         * text.C:
4843         * text2.C:
4844         * text3.C: use doubles again for x-coordinates. They are needed.
4845
4846 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * messages.C (getLocaleDir): use lyx_localedir()
4849
4850         * lyxlex_pimpl.C (setFile): compress stuff
4851
4852         * buffer.C (writeFile): add some compression stuff
4853         (do_writeFile): new func, dont call expliti close... will this
4854         breake anything?
4855
4856         * Makefile.am (lyx_LDADD): add -lz
4857
4858 2003-07-28  José Matos  <jamatos@fep.up.pt>
4859
4860         * buffer.C: increment file format.
4861         * paragraph_funcs (readParagraph, readParToken):
4862         * paragraph.C (readParagraph): add \end_layout.
4863
4864 2003-07-27  Angus Leeming  <leeming@lyx.org>
4865
4866         * Makefile.am: remove special casing for configure-time setting of
4867         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4868
4869         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4870         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4871
4872 2003-07-26  André Pönitz  <poenitz@gmx.net>
4873
4874         * paragraph_func.[Ch]:
4875         * paragraph.C (realizeFont): inline it whereever it is used
4876
4877         * rowpainter.C:
4878         * text.C:
4879         * text2.C:
4880         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4881
4882
4883 2003-07-26  André Pönitz  <poenitz@gmx.net>
4884
4885         *       lyxtext.h:
4886         * text.C:
4887         * text2.C: get rid of LyXText::need_break_row
4888
4889 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * toc.[Ch]: put namespace toc inside namespace lyx
4892
4893         * MenuBackend.C (expandToc2): adjust for lyx::toc
4894         (expandToc): ditto
4895
4896         * lyxfunc.C (dispatch): adjust for lyx::find
4897
4898         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4899         lyx::find instead. Reorganize a bit.
4900         (LyXReplace): rename to replace
4901         (LyXFind): rename to find
4902
4903         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4904         (dispatch): ditto
4905
4906 2003-07-26  André Pönitz  <poenitz@gmx.net>
4907
4908         * text.C (setHeightOfRow): restrict scope of temporary variable
4909
4910         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4911           code (never has been used?)
4912
4913 2003-07-27  Asger Alstrup  <alstrup@local>
4914
4915         * text.C (fill): Optimise algorithm to exploit that we can reuse
4916         the LyXFont for many characters.
4917         (setHeightOfRow): Same thing.
4918         (rowBreakPoint): Same thing.
4919
4920 2003-07-26  Asger Alstrup  <alstrup@local>
4921
4922         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4923
4924         * text.C (singleWidth): Spurious font copying in hot-spot
4925         singleWidth avoided. Reorder tests for arabic for efficiency.
4926
4927         * text.C (fill): handle empty paragraphs better.
4928
4929 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4930
4931         * ispell.C:
4932         * encoding.h: add includes
4933
4934         * lyxrc.C: remove reading of bind files
4935
4936         * lyx_main.C (init): setup bindings and menus only if we have a
4937         gui.
4938
4939         * kbmap.C (read): new method. Do the actual reading of bind
4940         files.
4941
4942         * converter.C (dvipdfm_options):
4943         * bufferparams.C:
4944         * lyxrc.C (read):
4945         (output): adapt PAPER_* enums.
4946
4947         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4948
4949         * bufferparams.h: remove paper-related enums from there
4950
4951         * paper.h: New file. A trivial header file to hold paper-related
4952         enums. It should later expand to contain many paper-related
4953         horrors access.
4954
4955         * lyxrc.C: declare extern displayTranslator
4956
4957 2003-07-27  José Matos  <jamatos@fep.up.pt>
4958
4959         * tabular.[Ch] (linuxdoc): add support for tables and figures
4960         (linuxdoc).
4961
4962 2003-07-27  José Matos  <jamatos@fep.up.pt>
4963
4964         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4965         consistency in both functions.
4966         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4967
4968 2003-07-26  Asger Alstrup  <alstrup@local>
4969
4970         * rowpainter.C (paintRows): Change algorithm to work directly on
4971         the insets rather than asking every character in the document
4972         whether its an inset.
4973
4974 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * buffer.C (openFileWrite): factorize some code
4977
4978 2003-07-26  Angus Leeming  <leeming@lyx.org>
4979
4980         * lyx_cb.C:
4981         * lyx_main.[Ch]: replace occurances of system_tempdir with
4982         os::getTmpDir().
4983
4984 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * rename Inset to InsetOld
4987
4988 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4989
4990         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4991         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4992         which I think is a bit clearer. EDIT is gone, since it was
4993         premature optimisation, and broken for mathed anyway.
4994         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4995         with cursor positioning in insets as well (math insets still do not
4996         work, but that's a different story anyway.) It mysteriously
4997         crashes sometimes with undo in the first paragraph, but I'm fairly
4998         confident that this is a compiler bug.
4999
5000 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5001
5002         * paragraph.C (Paragraph): adjust for new clone return type
5003         (operator==): ditto
5004         (copyIntoMinibuffer): ditto
5005
5006 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5007
5008         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5009         by not having a special case, and always doing a full rebreak of
5010         the document after undo.
5011
5012 2003-07-23  Angus Leeming  <leeming@lyx.org>
5013
5014         * factory.C (createInset): InsetExternal::setParams now takes a
5015         Buffer const * arg.
5016
5017 2003-07-23  Angus Leeming  <leeming@lyx.org>
5018
5019         * factory.C (createInset): changed interface to the external and
5020         graphics mailers' string2params functions.
5021
5022 2003-07-23  Angus Leeming  <leeming@lyx.org>
5023
5024         * factory.C (createInset): pass a
5025         Buffer const * parameter to InsetExternalMailer's string2params.
5026
5027 2003-07-22  John Levon  <levon@movementarian.org>
5028
5029         * Thesaurus.h: include the right aiksaurus header
5030
5031 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5032
5033         * MenuBackend.C (expand): check menu shortcuts unconditionally
5034
5035 2003-07-21  Angus Leeming  <leeming@lyx.org>
5036
5037         * factory.C (createInset): pass a
5038         buffer_path parameter to InsetGraphicsMailer's string2params.
5039
5040 2003-07-21  Angus Leeming  <leeming@lyx.org>
5041
5042         * BufferView_pimpl.C (buffer):
5043         * buffer.C (d-tor):
5044         * lyx_main.C (LyX):
5045         * lyxfunc.C (dispatch):
5046         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5047         rather than the grfx shortcut.
5048
5049 2003-07-21  André Pönitz  <poenitz@gmx.net>
5050
5051         * rowpainter.C: remove unused variables
5052
5053         * tabular_funcs.C:
5054         * tabular_funcs.h: move to tabular.C
5055         * Makefile.am: adjust
5056
5057         * tabular.[Ch]: basic optical cleaning
5058
5059         * author.h: pass references, not values
5060
5061 2003-07-18  André Pönitz  <poenitz@gmx.net>
5062
5063         * lyxtext.h:
5064         * metricsinfo.C:
5065         * metricsinfo.h:
5066         * rowpainter.C:
5067         * text.C:
5068         * text2.C:
5069         * text3.C: two-phase drawing for InsetText and InsetTabular
5070         some float -> int changes.
5071
5072 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * lyx_main.C: fix the fix
5075
5076 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * lyx_main.C: fix a crash in batch mode if no files specified
5079         * converter.C: ws
5080
5081 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * format.[Ch] (papersize): moved to BufferParams
5084         * converter.[Ch] (dvips_options): moved to BufferParams
5085         (dvipdfm_options): moved to anon namespace
5086         * bufferparams.[Ch]: added above functions.
5087
5088 2003-07-17  André Pönitz  <poenitz@gmx.net>
5089
5090         * lyxtext.h:
5091         * rowpainter.C:
5092         * text2.C: don't call inset->update() anymore
5093
5094         * metricsinfo.[Ch]: add convenience constructor
5095
5096 2003-07-16  André Pönitz  <poenitz@gmx.net>
5097
5098         * lyxcursor.[Ch]:
5099         * lyxfunc.[Ch]:
5100         * text.C:
5101         * text2.C: replace the LyXCursor::irow_ member with
5102          on-demand computation of the value
5103
5104 2003-07-16  John Levon  <levon@movementarian.org>
5105
5106         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5107
5108 2003-07-15  André Pönitz  <poenitz@gmx.net>
5109
5110         * text.C:
5111         * text2.C: remove no more needed refresh_row
5112
5113 2003-07-15  André Pönitz  <poenitz@gmx.net>
5114
5115         * lyxtext.h:
5116         * rowpainter.C:
5117         * text2.C:
5118         * text3.C: refresh_status tristate -> need_update bool
5119
5120 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * lyxtext.h (init): remove reinit argument (act as if always true)
5123         * text2.C: adjust to that
5124
5125 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5126
5127         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5128         * text3.C: use it to delete selections in some cases
5129         (bugs 441, 673, 702, 954).
5130
5131 2003-07-14  André Pönitz  <poenitz@gmx.net>
5132
5133         * rowpainter.[Ch]: reduce interface
5134
5135 2003-07-14  André Pönitz  <poenitz@gmx.net>
5136
5137         * BufferView_pimpl.C:
5138         * text2.C: adjust after removing unused BufferView * argument
5139
5140 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * text2.C (init): fix a crash fired on resize
5143
5144 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5145
5146         * buffer.[Ch]: added new closing signal
5147         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5148         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5149         BufferView::Pimpl via the closing the signal
5150
5151 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * buffer.[Ch]: take out all bv-related from buffer
5154         * BufferView.C:
5155         * BufferView_pimpl.[Ch]: connect to new signals
5156         * CutAndPaste.C: removed useless asserts
5157         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5158         * lyxvc.[Ch]:
5159         * vc-backend.[Ch]:
5160         * lyxfunc.C: moved view-related funciontality from vc here
5161         * paragraph.C: removed outdated comments
5162         * text.C: ws
5163
5164 2003-07-10  André Pönitz  <poenitz@gmx.net>
5165
5166         * BufferView_pimpl.C:
5167         * tabular.h:
5168         * tabular_funcs.C:
5169         * text.C:
5170         * text2.C: remove InsetText::InnerCache, clean up consequences
5171
5172 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5173
5174         * ispell.C: fix two typos in error messages
5175
5176 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5177
5178         * Extend Note inset to other forms of annotation like Comment
5179         and Greyedout. Right button click gives dialog.
5180
5181         Files modified or added (+):
5182
5183         * insetnote.[Ch]
5184         * FormNote.[Ch]      +
5185         * ControlNote.[Ch]   +
5186         * form_note.fd       +
5187         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5188         frontends/controllers
5189         * xforms/Dialogs.C
5190         * factory.C
5191
5192 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5193
5194         * aspell.C: add missing namespace lyx::support
5195
5196 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * BufferView.[Ch] (newFile): Add
5199         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5200         * LaTeX.[Ch] (message): added this signal and use it
5201         * buffer.[Ch] (busy, message): added these signals and use them
5202         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5203         * converter.C:
5204         * exporter.C:
5205         * format.C:
5206         * importer.C: use buffer signals instead of direct bv calling
5207         * lyx_cb.[Ch] (ShowMessage): removed
5208         * lyx_main.C:
5209         * lyxfunc.C:
5210         * paragraph_funcs.C:
5211         * text2.C: use buffer signals
5212
5213 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * introduce namespace lyx::graphics
5216
5217 2003-07-02  André Pönitz  <poenitz@gmx.net>
5218
5219         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5220
5221 2003-07-01  André Pönitz  <poenitz@gmx.net>
5222
5223         * text.C:
5224         * text2.C:
5225         * text3.C:
5226         * text_funcs.[Ch]:
5227         * textcursor.h:
5228         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5229           text*.C to text_func.C
5230
5231 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * introduce namespace lyx::support
5234
5235 2003-06-30  André Pönitz  <poenitz@gmx.net>
5236
5237         * Chktex.C:
5238         * funcrequest.C:
5239         * lyxtext.h:
5240         * text.C: re-enable --with-included-string
5241
5242 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * textcursor.C: add <config.h>
5245
5246         * text.C (getWord): remove const from word_location arg
5247
5248         * lyxvc.C (getLogFile): fix const type order
5249
5250         * lyxtext.h: remove const from word_location arg, add arg name
5251
5252         * lyxlayout.h: currect type on labeltype.
5253
5254         * importer.C: correct \file
5255
5256         * converter.C (intToFormat): use std:: on ret val, ws changes
5257
5258         * bufferlist.h: correct \file
5259
5260         * buffer.C (makeLinuxDocFile): fix const type order
5261         (makeDocBookFile): ditto
5262         (fillWithBibKeys): use std:: on stdlib args.
5263
5264         * CutAndPaste.C: fix authors.
5265         (availableSelections): use std:: on return vector
5266
5267 2003-06-27  André Pönitz  <poenitz@gmx.net>
5268
5269         * BufferView_pimpl.C:
5270         * bufferview_funcs.C:
5271         * lyxcursor.C:
5272         * lyxcursor.h:
5273         * lyxfunc.C:
5274         * lyxtext.h:
5275         * rowpainter.C:
5276         * text.C:
5277         * text2.C:
5278         * text3.C: remove LyXCursor::row_ member
5279
5280         * lyxtext.h:
5281         * text.C: rename fullRebreak() to partialRebreak() and implement
5282           a fullRebreak() that really bereks fully
5283
5284         * textcursor.h: new struct for cursor-related data
5285
5286 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5287
5288         * lyx_main.C (LyX): get full path of document loaded on the
5289         command line
5290
5291 2003-06-26  André Pönitz  <poenitz@gmx.net>
5292
5293         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5294           remove unused/broken operator>,<,>=.
5295
5296         *       text.C: remove only use of broken operator<= in an Assert().
5297
5298 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5299
5300         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5301         moved errorlist_.clear to showErrorList
5302
5303 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5304
5305         * converter.C (scanLog, runLaTeX):
5306         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5307         move the bv->showErrorList call to the callers
5308         * lyxfunc.C: i.e. here...
5309         * text2.C: and here
5310         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5311         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5312         namespace, the second to...
5313         * buffer_funcs (BufferFormat, parseErrors): added
5314         * errorlist.C (ErrorList(TeXErrors const &)): removed
5315
5316 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5317
5318         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5319
5320 2003-06-24  "Garst R. Reese" <reese@isn.net>
5321
5322         * debug.C: fix typo
5323
5324 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5325
5326         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5327
5328         * version.C.in: change docversion to 1.4
5329
5330 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5331
5332         * buffer.C: fix a bug just introduced
5333
5334 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * buffer.[Ch]: added the parseError signal and use it, removed
5337         sgmlError
5338         * BufferView.[Ch] (addError): moved to ...
5339         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5340         to the Buffer::parseError signal to catch (guess what) parse errors
5341         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5342
5343 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5346         ability to create a buffer and to return an existing one from
5347         the list. Moved these functions to...
5348         * buffer_funcs.[Ch]: added
5349         * BufferView.[Ch] (loadLyXFile): added
5350         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5351         job removed from bufferlist::loadLyXFile.
5352         * buffer.C (setReadOnly): make it work without view
5353         (i.e added an if (users))
5354
5355 2003-06-19  Angus Leeming  <leeming@lyx.org>
5356
5357         * lfuns.h:
5358         * LyXAction.C (init):
5359         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5360         with LFUN_DIALOG_SHOW <name> <data>.
5361
5362 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5363
5364         * CutAndPaste.C (availableSelections): small compilation fix for
5365         ancient (gcc 2.9x) compilers
5366
5367 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * text3.C (cursorNext): add tmp var
5370
5371         * text2.C (updateCounters): for function calling out of for clause
5372         (replaceSelectionWithString): ditto
5373         (insertStringAsParagraphs): ditto
5374         (getColumnNearX): add tmp var
5375         (setCursorFromCoordinates): add tmp var
5376         (cursorDownParagraph): add tmp var
5377         (deleteEmptyParagraphMechanism): add tmp var
5378
5379         * text.C (insertChar): add tmp var
5380
5381         * rowpainter.C (paintDepthBar): add tmp var
5382
5383         * CutAndPaste.C (availableSelections): potentially check all
5384         paragraphs in a cut to fill the shown strings.
5385
5386 2003-06-18  André Pönitz  <poenitz@gmx.net>
5387
5388         * kbmap.[Ch]: use vector<> instead of list<>
5389
5390 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5391
5392         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5393         pasteSelection with index
5394
5395         * text2.C (pasteSelection): modify, call pasteSelection with index
5396
5397         * paragraph.C (asString): reimplement version with no interval to
5398         call the one with interval.
5399
5400         * lyxtext.h: add index arg to pasteSelection
5401
5402         * MenuBackend.C (MenuItem): handle PasteRecent
5403         (Menu::read::Menutags): add md_pasterecent
5404         (read): handle it
5405         (expandPasteRecent): new function
5406         (expand): use it
5407
5408         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5409
5410         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5411         the limited stack
5412         (availableSelections): new function
5413
5414 2003-06-17  Angus Leeming  <leeming@lyx.org>
5415
5416         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5417
5418 2003-06-17  Angus Leeming  <leeming@lyx.org>
5419
5420         * lfuns.h:
5421         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5422
5423         * lyxfunc.C (dispatch): invoke it.
5424
5425 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5426
5427         * iterators.C (operator++, ParPosition): reintroduce some
5428         const_cast for the benefit of older compilers.
5429
5430 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5431
5432         * text3.C (dispatch): do not modify clipboard when doing
5433         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5434         LFUN_DELETE_SKIP on a selection selection
5435
5436 2003-06-16  André Pönitz  <poenitz@gmx.net>
5437
5438         * BufferView.C:
5439         * buffer.C:
5440         * buffer.h:
5441         * paragraph.C:
5442         * tabular.[Ch]: IU of clone() and getLabelList();
5443
5444 2003-06-13  André Pönitz  <poenitz@gmx.net>
5445
5446         * tabular.h: compactification
5447
5448 2003-06-12  André Pönitz  <poenitz@gmx.net>
5449
5450         * tabular.C:
5451         * tabular.h:
5452         * tabular_funcs.h: some renaming plus whitespace
5453
5454 2003-06-12  André Pönitz  <poenitz@gmx.net>
5455
5456         * BufferView.C:
5457         * BufferView_pimpl.C:
5458         * CutAndPaste.C:
5459         * buffer.C:
5460         * iterators.[Ch]:
5461         * lyxfunc.C:
5462         * text.C:
5463         * toc.C: Return a Paragraph & for ParIterator::operator*()
5464
5465 2003-06-11  John Levon  <levon@movementarian.org>
5466
5467         * lyx_main.C:
5468         * ToolbarBackend.h:
5469         * ToolbarBackend.C: add "Toolbars" section and
5470         put the flags there
5471
5472 2003-06-10  Angus Leeming  <leeming@lyx.org>
5473
5474         * lfuns.h:
5475         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5476
5477         * lyxfunc.C (dispatch): invoke it.
5478
5479 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * main.C: protect <ios> with HAVE_IOS
5482         (main): protect sync_with_stdio with HAVE_IOS
5483
5484 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5485
5486         * text2.C (cutSelection): adjust
5487         (pasteSelection): adjust
5488
5489         * messages.C: handle get of empty string
5490
5491         * main.C (main): use sync_with_stdio(false)
5492
5493         * lyxfunc.C (dispatch): adjust
5494
5495         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5496         (WriteAs): remove unneeded BufferView arg.
5497
5498         * bufferparams.h: use correct types on papersize, papersize2 and
5499         paperpackage.
5500
5501         * bufferparams.C (readToken): adjust for type
5502         (writeLaTeX): add missing cases to switch.
5503
5504         * bufferlist.C (quitWriteBuffer): adjust
5505         (close): adjust
5506
5507         * buffer.C (asciiParagraph): remove some commented code.
5508
5509         * CutAndPaste.C: remove current_view extern variable.
5510         (cutSelection): add BufferParams arg.
5511         (eraseSelection): add BufferParams arg.
5512         (pasteSelection): add Buffer const & arg
5513
5514 2003-06-07  John Levon  <levon@movementarian.org>
5515
5516         * buffer.C:
5517         * paragraph_funcs.C:
5518         * paragraph_pimpl.C:
5519         * text.C:
5520         * text2.C:
5521         * paragraph.h:
5522         * paragraph.C: allow InsetERT to freely space lines,
5523         and some consolidation of code
5524
5525 2003-06-06  José Matos  <jamatos@fep.up.pt>
5526
5527         * buffer.C (makeDocBookFile): fix bug #821
5528
5529 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5530
5531         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5532
5533 2003-06-04  Angus Leeming  <leeming@lyx.org>
5534
5535         * buffer.C: bump format to 224.
5536
5537 2003-06-05  André Pönitz  <poenitz@gmx.net>
5538
5539         * text2.C (redoParagraphs): remove two const_cast<>
5540
5541 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5542
5543         * ParagraphList.h: remove last remnants of NO_STD_LIST
5544
5545 2003-06-03  Angus Leeming  <leeming@lyx.org>
5546
5547         * factory.C (createInset): small change to the way InsetExternal's params
5548         are set.
5549
5550 2003-06-04  André Pönitz  <poenitz@gmx.net>
5551
5552         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5553
5554         * paragraph_pimpl.h:
5555         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5556
5557         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5558
5559         * undo_funcs.C: make some simple cases of undo work again
5560
5561 2003-06-03  John Levon  <levon@movementarian.org>
5562
5563         * ispell.C: HPUX doesn't have sys/select.h
5564         (from Albert Chin)
5565
5566 2003-06-03  John Levon  <levon@movementarian.org>
5567
5568         * CutAndPaste.C: update tabular and include inset
5569         buffer references
5570
5571         * buffer.h:
5572         * paragraph.h:
5573         * paragraph.C: remove owningBuffer(), don't pass Buffer
5574         to clone()
5575
5576         * factory.C: insetGraphicsParams changed
5577
5578 2003-06-02  John Levon  <levon@movementarian.org>
5579
5580         * LyXAction.C:
5581         * factory.C:
5582         * lfuns.h:
5583         * lyxfunc.C:
5584         * text3.C: remove insetparent
5585
5586 2003-06-02  John Levon  <levon@movementarian.org>
5587
5588         * buffer.h:
5589         * buffer.C: fix inset_iterator.end(), move out of line
5590         (bug 1149)
5591
5592 2003-06-01  John Levon  <levon@movementarian.org>
5593
5594         * text3.C: use a proper cut/paste when doing inset
5595         insert (from Jürgen Spitzmüller)
5596
5597 2003-06-01  John Levon  <levon@movementarian.org>
5598
5599         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5600
5601 2003-05-30  André Pönitz  <poenitz@gmx.net>
5602
5603         * rowpainter.C: unify second drawing phase
5604
5605 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * trans_mgr.C: remove one case of current_view
5608
5609         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5610
5611         * paragraph_funcs.h: remove paragraph.h include
5612
5613         * paragraph.h: delete NO_STD_LIST stuff
5614
5615         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5616
5617         * buffer.h: remove paragraph.h include
5618
5619         * ParagraphList.C: delete file
5620
5621         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5622
5623         * toc.C (getTocList): adjust
5624
5625         * paragraph_pimpl.C (validate): adjust
5626
5627         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5628
5629         * paragraph.C (Paragraph): adjust
5630         (getPositionOfInset): use const_iterator, adjust
5631         (bibitem): use const_iterator, adjust
5632         (setInsetOwner): adjust
5633
5634         * iterators.C (operator++): adjust
5635
5636         * InsetList.[Ch]: Replace selfmade iterator with standard
5637         vector::iterator also introduce const_iterator. Remove getPos,
5638         getInset and setInset from InsetTable. Adjust accordingly.
5639
5640         * BufferView.C (lockInset): adjust
5641         (ChangeInsets): adjust
5642
5643         * tabular.[Ch]: delete commented same_id functions
5644
5645 2003-05-28  John Levon  <levon@movementarian.org>
5646
5647         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5648
5649 2003-05-28  André Pönitz  <poenitz@gmx.net>
5650
5651         * metricsinfo.[Ch]: remove 'fullredraw' member
5652
5653 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5654
5655         * lyxtextclass.C (operator): remove caching.
5656
5657 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * text3.C: adjust
5660
5661         * text2.C (cursorBottom): adjust
5662         (setCounter): use ParagraphList::find, adjust
5663
5664         * text.C (workWidth): use ParagraphList::find, adjust
5665
5666         * lyxcursor.C (LyXCursor): adjust
5667
5668         * buffer.C (inset_iterator): adjust
5669
5670         * ParagraphList.h: make iterator(value_type) private, make
5671         ParagraphList a friend of iterator.
5672
5673         * ParagraphList.C (find): new function
5674
5675         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5676
5677 2003-05-27  André Pönitz  <poenitz@gmx.net>
5678
5679         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5680
5681 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5682
5683         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5684
5685 2003-05-26  John Levon  <levon@movementarian.org>
5686
5687         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5688
5689 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * remove same_id from function signatures, adjust.
5692
5693 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5696
5697         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5698
5699         * paragraph.C (Paragraph): get rid of same_ids parameter
5700
5701         * ParagraphList.C (insert): adjust
5702         (push_back): adjust
5703
5704 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * paragraph_funcs.C (breakParagraph): adjust
5707         (breakParagraphConservative): adjust
5708
5709         * buffer.C (readParagraph): adjust
5710
5711         * ParagraphList.C (insert): take a reference instead of a pointer
5712         (insert): adjust
5713
5714         * paragraph.[Ch] (id): new function
5715
5716         * bufferlist.C (newFile): adjust
5717
5718         * ParagraphList.C (ParagraphList): adjust
5719         (assign): adjust
5720         (push_back): take a reference instead of a pointer.
5721
5722         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5723
5724         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5725         instead.
5726
5727         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5728         set else use old code.
5729
5730         * ParagraphList.C: remove all NO_NEXT code and only compile this
5731         code of NO_STD_LIST is set.
5732
5733 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5734
5735         * BufferView_pimpl.C:
5736         * TextCache.C:
5737         * TextCache.h:
5738         * bufferlist.C:
5739         * errorlist.h:
5740         * format.C:
5741         * format.h:
5742         * graph.C:
5743         * lyxfunc.C:
5744         * lyxrc.C:
5745         * graphics/GraphicsConverter.C:
5746         * graphics/PreviewLoader.C: header adjustment
5747
5748 2003-05-23  Angus Leeming  <leeming@lyx.org>
5749
5750         * LaTeXFeatures.[Ch] (useBabel): new method.
5751         * bufferparams.C (writeLaTeX): use it.
5752
5753 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * ParagraphList.h (set): remove unused function.
5756
5757 2003-05-23  André Pönitz  <poenitz@gmx.net>
5758
5759         * BufferView.C:
5760         * BufferView_pimpl.C:
5761         * buffer.C:
5762         * buffer.h:
5763         * lyxfunc.C:
5764         * undo_funcs.C: setUndo reworked
5765
5766         * iterators.[Ch]: add access to topmost ParagraphList
5767
5768         * lyxtext.[Ch] (workWidth): add a const
5769
5770 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5771
5772         * texrow.[Ch] (increasePos): remove function
5773         * exporter.C (export): removed unused var and outdated comment
5774
5775 2003-05-23  Angus Leeming  <leeming@lyx.org>
5776
5777         * latexrunparams.h: rename fragile as moving_arg.
5778         * paragraph.C (simpleTeXOnePar): ditto.
5779         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5780
5781 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5784         (createUndo): ditto
5785         (textUndoOrRedo): comment out a currently unused var.
5786
5787         * paragraph.h (NO_NEXT): enable NO_NEXT
5788
5789         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5790
5791         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5792
5793         * exporter.C (Export): adjust for removeAutoInsets removal.
5794
5795         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5796
5797         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5798
5799         * BufferView.[Ch] (removeAutoInsets): delete function
5800
5801 2003-05-22  Angus Leeming  <leeming@lyx.org>
5802
5803         * latexrunparams.h: add a free_spacing variable.
5804
5805         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5806         to pass moving_arg, as the data is stored in runparams.fragile.
5807
5808         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5809         to Inset::latexOptional or to simpleTeXOnePar.
5810
5811         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5812         free_spacing arg to Inset::latexOptional.
5813
5814         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5815         free_spacing arg.
5816
5817 2003-05-22  Angus Leeming  <leeming@lyx.org>
5818
5819         * latexrunparams.h: add fragile and use_babel variables.
5820
5821         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5822         * buffer.C (makeLaTeXFile): store this returned value in
5823         runparams.use_babel, thus passing it to the inset::latex methods.
5824
5825         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5826         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5827
5828         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5829         longer has a fragile arg, as it is stored in runparams.fragile.
5830
5831         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5832         moving_arg parameter as the data is stored in runparams.fragile.
5833
5834         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5835         a fragile parameter as the data is stored in runparams.fragile.
5836
5837 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5840
5841 2003-05-22  Angus Leeming  <leeming@lyx.org>
5842
5843         * latexrunparams.h: add a 'bool nice' which defaults to false.
5844
5845         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5846         now encapsulated within runparams.
5847
5848         * bufferlist.C (updateIncludedTeXfiles):
5849         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5850
5851 2003-05-22  Angus Leeming  <leeming@lyx.org>
5852
5853         * latexrunparams.h: new file containing struct LatexRunParams.
5854         * Makefile.am: add new file.
5855
5856         * LaTeX.[Ch] (c-tor, run):
5857         * buffer.[Ch] (makeLaTeXFile):
5858         * bufferlist.[Ch] (updateIncludedTeXfiles):
5859         * converter.C (convert, scanLog):
5860         * converter.[Ch] (runLaTeX):
5861         * exporter.C (Export):
5862         * paragraph.[Ch] (simpleTeXOnePar):
5863         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5864         * paragraph_funcs.[Ch] (latexParagraphs):
5865         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5866         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5867         pass around a LatexRunParams parameter.
5868
5869 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * paragraph.[Ch]: remove unused constructor
5872
5873         * ParagraphList.C (erase): new function, taking two iterators
5874
5875 2003-05-22  André Pönitz  <poenitz@gmx.net>
5876
5877         * undo_funcs.C: remove duplicated code
5878
5879         * iterator.[Ch]: operator=
5880
5881 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * tabular.C (SetMultiColumn): ws changes
5884
5885         * rowpainter.C (paintFirst): get rid of a ->previous
5886
5887         * lyx_cb.C (getPossibleLabel): parlist simplification
5888
5889         * BufferView.C (ChangeInsets): simplify slightly.
5890
5891 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5892
5893         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5894         * lfuns.h: new LFUN_SPACE
5895         * lyxfunc.C: protected space has a new lfun
5896         * paragraph_funcs.C: read new space insets
5897         * text3.C:
5898         * factory.C: handle new space insets
5899
5900 2003-05-22  André Pönitz  <poenitz@gmx.net>
5901
5902         * BufferView.C:
5903         * BufferView_pimpl.C:
5904         * buffer.[Ch]:
5905         * lyxfunc.C:
5906         * undo_funcs.C: return a ParIterator from getParFromID.
5907
5908         * iterators.[Ch]: add two const's
5909
5910 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * toc.C (getTocList): adjust
5913
5914         * iterators.[Ch]: rework for parlist
5915
5916         * buffer.C (par_iterator_begin): adjust
5917         (par_iterator_end): adjust
5918
5919         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5920
5921         * BufferView.C (removeAutoInsets): adjust
5922         (ChangeInsets): adjust
5923
5924 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5925
5926         * text.C (top_y): fix bug 1110
5927
5928 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5929
5930         * errorlist.[Ch]: added
5931         * buffer.C:
5932         * BufferView.[Ch]:
5933         * BufferView_pimpl.C:
5934         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5935         instead
5936
5937 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5938
5939         * Makefile.am: ensure that lyx is relinked upon changes to the
5940         various "convenience" libs.
5941
5942 2003-05-20  Angus Leeming  <leeming@lyx.org>
5943
5944         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5945         files are compiled in alphabetical order again.
5946
5947         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5948
5949 2003-05-19  Angus Leeming  <leeming@lyx.org>
5950
5951         * gettext.[Ch]: remove "char const * _(char const *)".
5952
5953 2003-05-19  André Pönitz  <poenitz@gmx.net>
5954
5955         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5956
5957         * Makefile.am:
5958         * BufferView.C:
5959         * DepTable.h:
5960         * LaTeXFeatures.C:
5961         * buffer.C:
5962         * lyxfont.C:
5963         * lyxlex.h:
5964         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5965
5966 2003-05-19  André Pönitz  <poenitz@gmx.net>
5967
5968         * buffer.C:
5969         * lyxlayout.[Ch]:
5970         * lyxtextclass.[Ch]:
5971         * paragraph.C:
5972         * paragraph_funcs.[Ch]:
5973         * text2.C:
5974         * text3.C: more insetenv work
5975
5976 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5977
5978         * ParagraphParameters.C (params2string): small bug fixed
5979
5980 2003-05-16  André Pönitz  <poenitz@gmx.net>
5981
5982         * debug.C:
5983         * bufferview_funcs.C: patch from Kornel Benko to prevent
5984           crash when _(...) is called twice in a statement
5985
5986 2003-05-16  André Pönitz  <poenitz@gmx.net>
5987
5988         * BufferView.C:
5989         * lyxfunc.C:
5990         * text.C:
5991         * text2.C:
5992         * text3.C:
5993         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5994
5995 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5996
5997         * lyx_main.C (init): remove spurious static_cast
5998
5999 2003-05-14  André Pönitz  <poenitz@gmx.net>
6000
6001         * BufferView.C: fix format string
6002
6003 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6004
6005         * BufferView.[Ch] (insertErrors): removed
6006         * BufferView.[Ch] (showErrorList): added
6007         * buffer.C (runChkTeX):
6008         * converter.C (scanLog): call showErrorList instead of inserterrors
6009
6010 2003-05-13  André Pönitz  <poenitz@gmx.net>
6011
6012         * BufferView_pimpl.C:
6013         * buffer.C:
6014         * bufferview_func.C:
6015         * MenuBackend.C:
6016         * lyxfunc.C:
6017         * lyxrc.C:
6018         * tex-accent.C:
6019         * text3.C:
6020         * toc.C:
6021         * tabular_funcs.h: tostr() from its own header
6022
6023         * ParagraphParameters.C:
6024         * ToolbarBackend.C:
6025         * bufferparams.C:
6026         * format.C:
6027         * lyxlex_pimpl.C:
6028         * text3.C: STRCONV()
6029
6030 2003-05-12  André Pönitz  <poenitz@gmx.net>
6031
6032         * BufferView.C:
6033         * BufferView_pimpl.C:
6034         * CutAndPaste.C:
6035         * LaTeX.C:
6036         * LaTeXFeatures.C:
6037         * ParagraphParameters.C:
6038         * buffer.C:
6039         * bufferlist.C:
6040         * bufferparams.C:
6041         * bufferview_funcs.C:
6042         * converter.C:
6043         * counters.C:
6044         * debug.C:
6045         * exporter.C:
6046         * format.C:
6047         * importer.C:
6048         * lyx_cb.C:
6049         * lyx_main.C:
6050         * lyxfont.C:
6051         * lyxfunc.C:
6052         * lyxvc.C:
6053         * paragraph.C:
6054         * paragraph_funcs.C:
6055         * tabular.C:
6056         * tabular_funcs.C:
6057         * text2.C:
6058         * text3.C:  boost::format -> bformat  all over the place
6059
6060
6061 2003-05-09  André Pönitz  <poenitz@gmx.net>
6062
6063         * LColor.[Ch]: Pimpl the #include <map> away
6064
6065 2003-05-09  John Levon  <levon@movementarian.org>
6066
6067         * bufferlist.C: never remove emergency saves
6068
6069 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * Makefile.am: better lib building
6072
6073 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6074
6075         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6076         instead.
6077         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6078         (simpleTeXSpecialChars): adjust
6079         (simpleTeXSpecialChars): adjust
6080         * paragraph.C (simpleTeXOnePar): adjust
6081         * buffer.C (makeLaTeXFile): adjust
6082
6083         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6084
6085         * text2.C (changeDepth): parlist cleanup
6086         (getColumnNearX): ditto
6087
6088         * rowpainter.C (getLabelFont): parlist cleanup
6089
6090         * bufferlist.C (newFile): parlist cleanup
6091
6092         * CutAndPaste.C (eraseSelection): parlist cleanup
6093
6094         * BufferView_pimpl.C (trackChanges): parlist cleanup
6095         (dispatch): ditto
6096
6097         * BufferView.C (lockInset): parlist cleanup.
6098         (ChangeInsets): ditto
6099
6100 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * CutAndPaste.h: Update file header.
6103
6104         * CutAndPaste.C: Update file header.
6105         Store the parts cut out of the Document in a limited_stack.
6106         (copySelection): adjust
6107         (pasteSelection): new function, takes the index in the limited stack.
6108         (nrOfParagraphs): adjust
6109         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6110         simplify error inset insertion.
6111         (checkPastePossible): adjust
6112
6113 2003-05-06  John Levon  <levon@movementarian.org>
6114
6115         * text2.C: don't cast wrap inset to float
6116
6117 2003-05-05  André Pönitz  <poenitz@gmx.net>
6118
6119         * iterator.C:
6120         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6121
6122         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6123           few naked Paragraph *.
6124
6125 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6126
6127         * bufferparams.C: Output warning if a document with missing
6128         TeX document class is loaded
6129         * exporter.C: Disable TeX exports if the document class is missing
6130         * lyxtextclass.C:
6131         * lyxtextclass.h:
6132         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6133         isTeXClassAvailable()
6134
6135 2003-05-03  John Levon  <levon@movementarian.org>
6136
6137         * BufferView.h:
6138         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6139         explicit cursor show/hide
6140
6141         * BufferView_pimpl.h:
6142         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6143         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6144
6145         * lyxfunc.C: hide cursor before dispatching.
6146
6147         * lyx_cb.C:
6148         * lyxfind.C:
6149         * text.C:
6150         * text3.C: remove explicit cursor hides
6151
6152 2003-05-02  André Pönitz  <poenitz@gmx.net>
6153
6154         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6155
6156         * undo_funcs.C:
6157         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6158           linked lists
6159
6160         * text2.C: tiny whitespace
6161
6162 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6163
6164         * undo_funcs.C: almost only ws changes.
6165
6166         * ParagraphList.C (splice): just return if pl is empty.
6167
6168 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * ParagraphList.C (splice): new function.
6171
6172         * CutAndPaste.C (pasteSelection): use it
6173
6174 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6175
6176         * CutAndPaste.C (pasteSelection): remove the last next and
6177         previous from this file.
6178
6179 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * CutAndPaste.C (pasteSelection): more clean up, user proper
6182         ParagraphList functions for pasteing.
6183
6184         * ParagraphList.C (insert): new function, three arg insert
6185
6186 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6187
6188         * ParagraphList.C (insert): new function, three arg insert
6189
6190         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6191         not on paragraphs.
6192
6193 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6196
6197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6200
6201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6204         (copySelection): clean up a bit.
6205         (pasteSelection): use make_pair
6206
6207         * ParagraphList.C (ParagraphList): implement copy constructor
6208         (operator=): implement, base on copy constructor.
6209         (assign): new func
6210
6211         * paragraph.C (erase): return a bool
6212
6213         * paragraph_pimpl.C (erasePos): remove function, move contents...
6214         (erase): ... here. Return a bool.
6215         (erase): call erase instead of erasePos.
6216
6217 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * ParagraphList.h: define PitPosPair
6220         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6221         ParagraphList, fix a bug on pasting multiple pars
6222         * text2.C: change interface to C&P
6223
6224 2003-04-30  André Pönitz  <poenitz@gmx.net>
6225
6226         * undo_func.C: revert part of yesterday's patch 2
6227
6228 2003-04-30  John Levon  <levon@movementarian.org>
6229
6230         * LColor.C: s/tabular/table/
6231
6232 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * text3.C (dispatch): do not convert iterator -> pointer
6235         * undo_funcs.C (setCursorParUndo): ditto
6236         * text_funcs.C (transposeChars): ditto
6237
6238         * text2.C (setLayout): ws changes only
6239
6240         * text.C (breakParagraph): do not convert iterator -> pointer
6241         (insertChar): ditto
6242         (acceptChange): ditto
6243         (rejectChange): ditto
6244         (changeCase): ditto
6245         (Delete): ditto
6246         (backspace): ditto
6247
6248         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6249         pointer
6250
6251 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6252
6253         * text3.C (gotoInset): YABG (yet another bad getChar)
6254
6255 2003-04-29  André Pönitz  <poenitz@gmx.net>
6256
6257         * paragraph.h: make operator= private unimplemented as long as
6258           it is unusable
6259
6260         * ParagraphList.C: whitespace
6261
6262         * paragraph.[Ch]:
6263         * paragraph_pimpl.[Ch]:
6264         * paragraph_funcs.C:
6265         * CutAndPaste.C:
6266         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6267
6268         * text2.C:
6269           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6270
6271 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6272
6273         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6274         * paragraph.[Ch] (erase):
6275         * paragraph_pimpl.[Ch] (erase): change return type and value
6276         * text2.C (cutSelection): some rework
6277
6278 2003-04-28  John Levon  <levon@movementarian.org>
6279
6280         * bufferlist.C: changes for unsaved changes dialog
6281
6282 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * bufferlist.C (newFile): set language (messages_) for new
6285         documents also.
6286
6287         * buffer.C (readFile): ws changes only.
6288
6289 2003-04-28  André Pönitz  <poenitz@gmx.net>
6290
6291         * undo_funcs.C:
6292         * lyxfunc.C:
6293         * buffer.[Ch]:
6294         * BufferView_pimpl.C:
6295         * BufferView.C: getParFromID related ParagraphList::iterator changes
6296
6297 2003-04-28  André Pönitz  <poenitz@gmx.net>
6298
6299         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6300           Changes
6301
6302 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * messages.C: remove one more localedir class variable.
6305
6306 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * messages.C (getLocaleDir): singleton generation function
6309         (Pimpl): use it.
6310         (Messages): add a default constructor.
6311
6312         * main.C (main): do not setup localedir here, do not call
6313         gettext_init.
6314
6315         * gettext.C (_): use it.
6316         (gettext_init): delete funciton
6317
6318 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * gettext.C (getLyXMessages): new singleton generating function.
6321
6322         * buffer.C (updateDocLang): adjust
6323
6324         * Makefile.am (messages.o): add target
6325         (main.o): remove target
6326
6327 2003-04-27  John Levon  <levon@movementarian.org>
6328
6329         * bufferlist.C:
6330         * lyx_cb.C:
6331         * lyxfunc.C:
6332         * lyxvc.C: specify cancel button in Alert::prompt
6333
6334 2003-04-26  John Levon  <levon@movementarian.org>
6335
6336         * text3.C:
6337         * lyxfunc.C:
6338         * lfuns.h:
6339         * LyXAction.C: add LFUN_INSET_SETTINGS
6340
6341         * lyxfunc.C: don't enable tabular-feature when there's
6342         just any locking inset
6343
6344 2003-04-26  John Levon  <levon@movementarian.org>
6345
6346         * bufferlist.C: re-add Cancel to buffer close question
6347
6348         * lyxfunc.C: fix import UI a bit
6349
6350 2003-04-25  John Levon  <levon@movementarian.org>
6351
6352         * gettext.C: remove the broken asserts for now
6353
6354 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * messages.C: make case where setlocale cannot comply work better.
6357
6358         * buffer.C (updateDocLang): new function
6359         (changeLanguage): use it
6360         (readFile): use it
6361
6362         * text2.C (setCounter): use B_ a bit.
6363
6364         * lyxlayout.C (Read): be sure to trim the label strings.
6365
6366         * messages.C (Messages): fix typo in comment
6367
6368         * buffer.C (readFile): set message_ after file is loaded.
6369         (makeDocBookFile): remove double return
6370         (changeLanguage): reset message_ upon language change.
6371         (B_): new func, use this to get translated buffer strings.
6372
6373         * main.C: add myself and Jean Marc as authors.
6374
6375 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * messages.[hC]: pimplify Messages, and three different pimpls to be
6378         used in different circumstances.
6379
6380         * gettext.[Ch]: change for use with new message code.
6381
6382 2003-04-24 André Pönitz <poenitz@gmx.net>
6383
6384         * factory.C: support for eqref
6385
6386 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * messages.[Ch]: add missing char
6389
6390         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6391
6392         * messages.[Ch]: New files
6393
6394 2003-04-18  John Levon  <levon@movementarian.org>
6395
6396         * BufferView.h:
6397         * BufferView.C:
6398         * BufferView_pimpl.C:
6399         * lfuns.h:
6400         * LyXAction.C:
6401         * lyxtext.h:
6402         * text2.C: remove layout-copy/paste (bug 778)
6403
6404 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6407
6408 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6409
6410         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6411         if they succeed. Act accordingly.
6412
6413 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * text2.C (setCharFont): adjust
6416         (setCounter): adjust
6417         (insertStringAsLines): adjust
6418
6419         * text.C (leftMargin): adjust
6420         (setHeightOfRow): adjust
6421
6422         * rowpainter.C (paintFirst): adjust
6423         (paintLast): adjust
6424
6425         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6426         (outerHook): ditto
6427         (isFirstInSequence): ditto
6428         (getEndLabel): ditto
6429         (outerFont): adjust
6430
6431         * paragraph.C (getParLanguage): comment out some hard stuff.
6432
6433         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6434         (sgmlError): ditto
6435         (simpleDocBookOnePar): ditto
6436         (makeDocBookFile): use ParagraphList::iterator
6437
6438         * CutAndPaste.C (pasteSelection): adjust
6439
6440 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * text2.C (getFont): adjust
6443         (getLayoutFont): adjust
6444         (getLabelFont): adjust
6445
6446         * paragraph_funcs.C (TeXOnePar): adjust
6447
6448         * buffer.C (simpleLinuxDocOnePar): adjust
6449         (simpleDocBookOnePar): adjust
6450
6451         * CutAndPaste.C (pasteSelection): adjust
6452
6453         * BufferView.C (getEncoding): adjust
6454
6455         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6456
6457 2003-04-16  John Levon  <levon@movementarian.org>
6458
6459         * lyxfind.C: use parlist stuff for search/changes
6460
6461 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6464
6465         * text2.C (deleteEmptyParagraphMechanism): adjust
6466
6467         * text2.[Ch] (ownerParagraph): delete func (both of them
6468
6469 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6472
6473 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * ParagraphList.C: prepare for NO_NEXT
6476
6477 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * text2.C (getFont): adjust
6480         (getLayoutFont): adjust
6481         (getLabelFont): adjust
6482
6483         * paragraph.C (getFont): adjust
6484         (getLabelFont): adjust
6485         (getLayoutFont): adjust
6486
6487         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6488
6489 2003-04-15  John Levon  <levon@movementarian.org>
6490
6491         From Angus Leeming
6492
6493         * lyx_main.C: handle Include in .ui files
6494
6495 2003-04-15  John Levon  <levon@movementarian.org>
6496
6497         * MenuBackend.C: make the doc files length shorter
6498
6499         * ToolbarBackend.h:
6500         * ToolbarBackend.C: handle toolbar placement flags,
6501         Minibuffer
6502
6503 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6504
6505         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6506         adjust
6507
6508         * paragraph_funcs.C (TeXOnePar): adjust
6509
6510         * paragraph.C (getLabelFont): add outerfont arg, adjust
6511         (getLayoutFont): ditto
6512         (simpleTeXOnePar): adjust
6513
6514         * paragraph_pimpl.C (realizeFont): delete func
6515
6516 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6517
6518         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6519         row argument, constify cur argument.
6520
6521 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * text2.C (getFont): adjust
6524         (getLayoutFont): adjust
6525         (getLabelFont): adjust
6526
6527         * paragraph_funcs.C (TeXOnePar): adjust
6528         (outerFont): new func...
6529         (realizeFont): ...moved out from here, changed this to facilitate
6530         transition
6531
6532         * paragraph.C (getFont): take outerfont as arg, adjust
6533         (simpleTeXOnePar): add outerfont arg, adjust
6534
6535         * buffer.C (simpleLinuxDocOnePar): adjust
6536         (simpleDocBookOnePar): adjust
6537
6538         * CutAndPaste.C (pasteSelection): adjust
6539
6540         * BufferView.C (getEncoding): adjust
6541
6542 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * text2.C (setCharFont): adjust
6545         (setCounter): adjust
6546
6547         * text.C (leftMargin): adjust
6548         (setHeightOfRow): adjust
6549
6550         * rowpainter.C (paintFirst): adjust
6551         (paintLast): adjust
6552
6553         * paragraph_pimpl.C (realizeFont): adjust
6554
6555         * paragraph.C (isFirstInSequence): move from here...
6556         * paragraph_funcs.C (isFirstInSequence): ...to here
6557
6558         * paragraph.C (outerHook): move from here...
6559         * paragraph_funcs.C (outerHook): ...to here
6560
6561         * paragraph.C (depthHook): move from here...
6562         * paragraph_funcs.C (depthHook): ...to here
6563
6564         * paragraph.C (getEndLabel): move from here...
6565         * paragraph_funcs.C (getEndLabel): ...to here
6566
6567         * text2.C (realizeFont): move from here...
6568         * paragraph_funcs.C (realizeFont): ...to here
6569
6570 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6573
6574 2003-04-14  Angus Leeming  <leeming@lyx.org>
6575
6576         * LColor.[Ch]: scrap LColor mathcursor.
6577
6578 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * lyxlex.[Ch] (text): delete function
6581         * trans.C (Load): adjust
6582         * paragraph_funcs.C (readParToken): adjust
6583
6584 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6587         vector<char> instead of a char[].
6588
6589         * lyxlex_pimpl.C (getString): adjust
6590         (next): adjust
6591         (lex): use getString
6592         (eatLine): adjust
6593         (nextToken): adjust
6594
6595         * lyxlex.C (text): use pimpl_->getString()
6596         (getBool): ditto
6597         (findToken): ditto
6598
6599 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6602         (makeFontEntriesLayoutSpecific): temp var for par.size()
6603         (setLayout): temp var for ownerParagraphs().end()
6604         (fullRebreak): temp var for rows().end()
6605         (selectionAsString): temp var for boost::next(startpit), realize
6606         that the while really is a regular for loop.
6607         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6608         setCursor in one place.
6609         (setParagraph): temp vr for ownerParagraphs().end()
6610         (updateCounters): make the while loop a for loop
6611         (cutSelection): temp var for ownerParagraphs().end()
6612         (updateInset): make the do {} while() a regular for loop
6613         (getCursorX): use temp vars
6614         (setCurrentFont): use temp vars
6615         (getColumnNearX): use temp vars
6616
6617 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * text.C (transformChar): use temp var for getChar
6620         (computeBidiTables): use temp var for row->par()
6621         (fill): move temp vars for row->par() and pit->layout() earlier in
6622         the function.
6623         (labelFill): use temp var for row->par()
6624         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6625         asc and desc, realize that pit never changes and that firstpit is
6626         just a duplicate and not needed. Exchange rit->par() with pit in a
6627         lot of places.
6628         (breakAgain): use a temp var for boost::next(rit)
6629         (breakAgainOneRow): ditto
6630         (breakParagraph): use a temp var for rows().begin()
6631         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6632         (cursorRightOneWord): use temp var for cursor.par() and
6633         cursor.pos(), remove usage of tmpcursor.
6634         (cursorLeftOneWord): use temp var for cursor.par() and
6635         cursor.pos() only set cur at end of function.
6636
6637 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * text.C, text2.C: exchange all usage of Paragraph::next with
6640         boost::next(ParagraphList::iterator)
6641
6642         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6643
6644         * text2.C (cursorTop): simplify implementation
6645         (cursorBottom): ditto
6646         (setParagraph): use ParagraphList::iterator
6647         (setCurrentFont): adjust
6648         (getColumnNearX): adjust
6649         (cursorRight): adjust
6650         (cursorLeft): remove usage of Paragraph::previous
6651         (cursorUpParagraph): ditto
6652         (deleteEmptyParagraphMechanism): slight cleanup
6653
6654         * text.C (isBoundary): take a Paragraph const & instead of a
6655         pointer as arg.
6656         (addressBreakPoint): ditto
6657         (leftMargin): remove usage of Paragraph::previous.
6658         (setHeightOfRow): ditto
6659         (cursorLeftOneWord): ditto
6660         (selectNextWordToSpellcheck): ditto
6661         (Delete): ditto
6662         (backspace): ditto
6663         (breakParagraph): remove one usage of Paragraph::next
6664         (redoParagraph): ditto
6665         (acceptChange): ditto
6666         (insertChar): adjust
6667         (rowBreakPoint): adjust
6668
6669         * bufferview_funcs.C (toggleAndShow): adjust
6670
6671 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6672
6673         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6674         methods to access it.
6675         * lyxtext.h:
6676         * text.C: Added updateRowPositions to compute all row positions.
6677         Make top_y and getRowNearY() to use the cached y position
6678
6679 2003-04-11  John Levon  <levon@movementarian.org>
6680
6681         * text.C (rowBreakPoint): reintroduce the labelEnd
6682         checks, code copied from the row fill stuff. Deep voodoo.
6683
6684         * text.C (fill): add a comment and debugging for the
6685         next poor soul.
6686
6687 2003-04-11  John Levon  <levon@movementarian.org>
6688
6689         * text.C: make sure fullrow insets get wrapped to the next line,
6690         even when they're in a manual label
6691
6692 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * text2.C (insertParagraph): make it take ParagraphList::iterator
6695         as arg.
6696         (setLayout): make it return ParagraphList::iterator
6697         (redoParagraphs): ditto
6698         (setCounter): ditto
6699         (checkParagraph): ditto
6700
6701         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6702
6703         * text2.C: adjust several funcs.
6704         (realizeFont): take a ParagraphList::iterator as arg.
6705         (getLayoutFont): ditto
6706         (getLabelFont): ditto
6707         (setCharFont): ditto
6708
6709         * text.C: adjust several funcs.
6710
6711 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6712
6713         * text.C (selectNextWordToSpellcheck): don't accidentally
6714         skip insets
6715
6716 2003-04-10  John Levon  <levon@movementarian.org>
6717
6718         * ToolbarBackend.C (getIcon): special handling for
6719         LFUN_MATH_DELIM
6720
6721 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6722
6723         * text2.C (cursorRight): a getChar assert fixed
6724
6725 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * text2.C (getFont): change to take a ParagraphList::iterator
6728         instead of Paragraph*
6729         Adjust several functions.
6730
6731         * text.C (transformChar): change to take a ParagraphList::iterator
6732         instead of Paragraph*
6733         (singleWidth): ditto
6734         Adjust several functions.
6735
6736         * rowpainter.C: adjust several functions
6737         * rowpainter.h:store a ParagraphList::iterator and not a
6738         Paragraph&.
6739
6740
6741 2003-04-09  John Levon  <levon@movementarian.org>
6742
6743         * lyxfunc.C:
6744         * lfuns.h:
6745         * LyXAction.h:
6746         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6747         and the "help" bits as well
6748
6749 2003-04-09  John Levon  <levon@movementarian.org>
6750
6751         * ToolbarBackend.h:
6752         * ToolbarBackend.C: allow multiple toolbars
6753
6754 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * undo_funcs.C (setCursorParUndo): adjust
6757
6758         * text_funcs.C (transposeChars): adjust
6759
6760         * text3.C (gotoNextInset): adjust
6761         (dispatch): adjust
6762
6763         * text2.C (setLayout): adjust
6764         (changeDepth): adjust
6765         (setFont): adjust
6766         (redoParagraphs): adjust
6767         (selectionAsString): adjust
6768         (setParagraph): adjust
6769         (insertInset): adjust
6770         (cutSelection): adjust
6771         (copySelection): adjust
6772         (pasteSelection): adjust
6773         (insertStringAsLines): adjust
6774         (updateInset): adjust
6775         (setCursor): change to take a ParagraphList::iterator parameter
6776         (setCursorIntern): change to take a ParagraphList::iterator parameter
6777         (setCurrentFont): adjust
6778         (cursorLeft): adjust
6779         (cursorRight): adjust
6780         (deleteEmptyParagraphMechanism): adjust
6781
6782         * text.C (breakParagraph): adjust
6783         (insertChar): adjust
6784         (acceptChange): adjust
6785         (rejectChange): adjust
6786         (selectNextWordToSpellcheck): adjust
6787         (changeCase): adjust
6788         (Delete): adjust
6789         (backspace): adjust
6790
6791         * lyxfind.C (SearchForward): adjust
6792         (SearchBackward): adjust
6793         (nextChange): adjust
6794
6795         * lyxcursor.C (par): adjust
6796
6797         * lyxcursor.h: store a ParagraphList::iterator instead of a
6798         Paragraph*
6799
6800         * lyx_cb.C (getPossibleLabel): adjust
6801
6802         * bufferview_funcs.C (toggleAndShow): adjust
6803
6804         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6805         (dispatch): adjust
6806
6807         * BufferView.C (removeAutoInsets): adjust
6808         (lockedInsetStoreUndo): adjust
6809
6810 2003-04-09  John Levon  <levon@movementarian.org>
6811
6812         * ToolbarBackend.C: try icon without argument
6813         if with argument fails
6814
6815 2003-04-08  John Levon  <levon@movementarian.org>
6816
6817         * ToolbarBackend.h:
6818         * ToolbarBackend.C: add getIcon(), handle tooltip,
6819         and change from "Icon" to "Item".
6820
6821 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * BufferView.C (lockInset): another bad getchar crunched
6824
6825 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6826
6827         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6828         again)
6829
6830 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * lyxfind.C (searchForward, searchBackwards): bug 782
6833
6834 2003-04-07  John Levon  <levon@movementarian.org>
6835
6836         * paragraph.C: remove dead comment
6837
6838         * text.C: remove troublesome depth-fiddling code
6839         in leftMargin() and rightMargin() (bug 1017)
6840
6841         * text.C: fix breaking of rows in nested lists
6842         (bug 1004)
6843
6844         * text2.C (updateCounters): fix up depth values
6845         (bug 1013)
6846
6847 2003-04-07  John Levon  <levon@movementarian.org>
6848
6849         * BufferView_pimpl.C: clear message when doc finishes resizing,
6850         and after a mouse event
6851
6852         * lyxfunc.C: clear message after exiting inset
6853
6854 2003-04-07  John Levon  <levon@movementarian.org>
6855
6856         * bufferview_funcs.C: show math status not outside
6857         status in the statusbar
6858
6859 2003-04-07  John Levon  <levon@movementarian.org>
6860
6861         * lyxfunc.C: note status changed after a depth change
6862
6863 2003-04-04  Angus Leeming  <leeming@lyx.org>
6864
6865         * LaTeX.h: move AuxInfo operator==, != out of line.
6866         Remove LaTeX virtual destructor; nothing derives from it.
6867         Move operator()() out of public area and rename it startscript().
6868         Change protected for private.
6869
6870 2003-04-04  Angus Leeming  <leeming@lyx.org>
6871
6872         * lyxfunc.C:
6873         * text2.C: remove unneeded #includes.
6874
6875 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6876
6877         * text2.C (dEPM): fix the heigth of the next row
6878
6879 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * text.C: squashed an invalid getChar requester + some ws changes
6882
6883 2003-04-03  John Levon  <levon@movementarian.org>
6884
6885         * bufferview_funcs.h:
6886         * bufferview_funcs.C:
6887         * lyxfunc.C:
6888         * lyxtext.h:
6889         * text2.C: make getStatus work for the env depth lfuns
6890
6891 2003-04-03  John Levon  <levon@movementarian.org>
6892
6893         * bufferview_funcs.h:
6894         * bufferview_funcs.C:
6895         * lyxfunc.C:
6896         * lyxtext.h:
6897         * text2.C: parlistize decDepth(), by merging it with incDepth()
6898
6899 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * lyxrow.h: store a ParagraphList::iterator instead of a
6902         Paragraph* and adjust other class functions to suit.
6903
6904         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6905         above.
6906
6907 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6908
6909         * text2.C (setCursor): do not anchor to cursor row for the time being
6910
6911 2003-04-02  John Levon  <levon@movementarian.org>
6912
6913         * LyXAction.C:
6914         * lfuns.h:
6915         * lyx_main.C:
6916         * lyxtext.h:
6917         * text.C:
6918         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6919
6920 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * paragraph.h: make ParagraphList and ParagraphList::iterator
6923         friends of Paragraph.
6924
6925         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6926
6927         * ParagraphList.C: Use the private next_ and previous_ from
6928         Paragraph.
6929
6930 2003-04-01  John Levon  <levon@movementarian.org>
6931
6932         * ToolbarBackend.h:
6933         * ToolbarBackend.C:
6934         * Makefile.am: rename, remove defaults gunk
6935
6936         * MenuBackend.h:
6937         * MenuBackend.C: remove defaults gunk
6938
6939         * Languages.h:
6940         * Languages.C: remove defaults gunk
6941
6942         * lyx_main.h:
6943         * lyx_main.C: error out if files couldn't be found.
6944
6945 2003-04-02  John Levon  <levon@movementarian.org>
6946
6947         * text2.C: make incDepth() use parlist
6948
6949 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * undo_funcs.C (firstUndoParagraph): adjust
6952
6953         * text3.C (gotoInset): adjust
6954         (dispatch): adjust, and rewrite loop.
6955
6956         * text2.C (init): adjust, and rewrite loop.
6957         (redoParagraphs): adjust
6958         (updateInset): adjust, and rewrite loop.
6959         (deleteEmptyParagraphMechanism): adjust
6960
6961         * tabular.C (LyXTabular): adjust
6962         (SetMultiColumn): adjust
6963         (TeXRow): adjust
6964
6965         * lyxtext.[Ch] (ownerParagraph): delete function
6966         (ownerParagraphs): new function returns a ParagraphList.
6967
6968         * BufferView.C (removeAutoInsets): adjust
6969         (insertErrors): adjust
6970         (setCursorFromRow): adjust
6971
6972 2003-04-01  Angus Leeming  <leeming@lyx.org>
6973
6974         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6975         in the frontends.
6976
6977 2003-04-02  John Levon  <levon@movementarian.org>
6978
6979         * lyxtext.h:
6980         * text.C:
6981         * Makefile.am:
6982         * text_funcs.h:
6983         * text_funcs.C: make transposeChars a free function
6984
6985         * lyxrow_funcs.C: remove wrong comment
6986
6987 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * lyxtext.h: adjust
6990         * rowpainter.C: adjust
6991         * text.C: adjust
6992         * text2.C: adjust
6993         * text3.C: adjust
6994
6995         * lyxrow_funcs. [Ch]: new files
6996
6997         * lyxrow.[Ch]: remove next and previous pointers
6998         (next,previous): remove accessor functions
6999         (isParEnd): move to lyxrow_funcs
7000         (lastPos): move to lyxrow_funcs
7001         (nextRowIsAllInset): move to lyxrow_funcs
7002         (lastPrintablePos): move to lyxrow_funcs
7003         (numberOfSeparators): move to lyxrow_funcs
7004         (numberOfHfills): move to lyxrow_funcs
7005         (numberOfLabelHfills): move to lyxrow_funcs
7006         (hfillExpansion): move to lyxrow_funcs
7007
7008         * lyxfunc.C: adjust
7009
7010         * bufferview_funcs.C (toggleAndShow): adjust
7011
7012         * RowList.h: Remove class RowList from file leave just a
7013         std::list<Row>.
7014
7015         * RowList.C: delete file
7016
7017         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7018         and lyxrow_funcs.h
7019
7020 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * text3.C (cursorPrevious): adjust
7023         (cursorNext): adjust
7024         (dispatch): adjust
7025
7026         * text2.C (redoHeightOfParagraph): adjust
7027         (redoDrawingOfParagraph): adjust
7028         (setCursor): adjust
7029
7030         * text.C (breakParagraph): adjust
7031         (insertChar): adjust
7032         (backspace): adjust
7033
7034         * rowpainter.C (RowPainter): adjust
7035         (leftMargin): simplify and adjust
7036         (most rowpainter functions): adjust.
7037
7038         * rowpainter.h: store the row as RowList::iterator not as Row*
7039
7040         * lyxcursor.C (row): taka RowList::iterator as arg
7041         (irow): ditto
7042
7043         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7044         of Row*.
7045
7046 2003-04-01  Angus Leeming  <leeming@lyx.org>
7047
7048         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7049         stuff like bool Bool.
7050
7051 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7052
7053         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7054         rewrite a loop
7055
7056 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7059         RowList::iterator.
7060
7061         * lyxtext.h (rows): drop one version and leve a const variant that
7062         returns a RowList::iterator.
7063
7064 2003-03-31  Angus Leeming  <leeming@lyx.org>
7065
7066         * text.C (fill): ensure that the signature is the same as that in the
7067         header file.
7068
7069 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * text2.C (redoParagraphs): adjust
7072         (updateCounters): adjust
7073         (checkParagraph): adjust
7074         (getColumnNearX): adjust and reformat a bit.
7075
7076         * text.C (top_y): adjust
7077         (workWidth): adjust
7078         (leftMargin): adjust
7079         (prepareToPrint): adjust
7080         (getRow): adjust
7081         (getRowNearY): adjust
7082
7083         * lyxtext.h: make rowlist_ mutable.
7084
7085         * RowList.h: add const_iterator
7086         * RowList.C: adjust for RowList::const_iterator.
7087
7088         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7089         adjust.
7090
7091 2003-03-31  John Levon  <levon@movementarian.org>
7092
7093         * lyxrc.h:
7094         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7095
7096         * lyx_main.C: set default fonts from using lyx_gui funcs
7097
7098         * exporter.C: pdf_mode moved from lyxrc
7099
7100         * lyx_cb.C:
7101         * lyxfunc.C: changes from above
7102
7103 2003-03-31  John Levon  <levon@movementarian.org>
7104
7105         * lyx_main.C: fix to the last fix
7106
7107 2003-03-31  John Levon  <levon@movementarian.org>
7108
7109         * bufferlist.C: "Load original" -> "Load Original"
7110
7111         * converter.C:
7112         * exporter.C:
7113         * importer.C:
7114         * lyx_main.C:
7115         * format.C: more Alert cleanups
7116
7117 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * text2.C (removeParagraph): make it take a RowList::iterator as
7120         arg, adjust.
7121         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7122         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7123
7124         * text.C (anchor_row): make it take a RowList::iterator as arg,
7125         adjust.
7126         (computeBidiTables): make it take a const reference to Row instead
7127         of Row pointer, adjust.
7128         (leftMargin): make it take a RowList::iterator as arg, adjust.
7129         (rowBreakPoint): adjust
7130         (breakAgainOneRow): make it take a RowList::iterator as arg,
7131         adjust.
7132         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7133
7134         * bufferview_funcs.C (toggleAndShow): adjust
7135
7136 2003-03-30  John Levon  <levon@movementarian.org>
7137
7138         * Makefile.am:
7139         * BoostFormat.h:
7140         * boost-inst.C: moved to support
7141
7142         * several files: changes as a result
7143
7144 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * text2.C (LyXText): adjust.
7147         (init): adjust
7148         (removeRow): make it take a RowList::iterator as arg, adjust.
7149         (fullRebreak): adjust
7150         (deleteEmptyParagraphMechanism): adjust
7151         (clearPaint): adjust
7152         (postPaint): adjust
7153
7154         * text.C (top_y): adjust
7155         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7156         (breakAgain): make it take a RowList::iterator as arg, adjust.
7157         (breakParagraph): adjust
7158         (insertChar): adjust
7159         (backspace): adjust
7160
7161         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7162         need_break_row, and refresh_row.
7163
7164         * text3.C (dispatch): adjust
7165
7166         * text2.C (checkParagraph): adjust
7167         (setCursor): adjust
7168         (setCursorFromCoordinates): adjust
7169
7170         * text.C (top_y): adjust
7171         (workWidth): adjust
7172         (getRow): make it return a RowList::iterator, adjust
7173         (getRowNearY): make it return a RowList::iterator, adjust
7174
7175         * text2.C (init): adjust
7176         (insertRow): remove function
7177         (insertParagraph): adjust
7178         (redoParagraphs): adjust
7179         (fullRebreak): adjust
7180         (updateCounters): adjust
7181
7182         * text.C (top_y): rewrite to use RowList iterators.
7183         (top_y): adjust
7184         (setHeightOfRow): rewrite to sue RowList iterators.
7185         (appendParagraph): adjust
7186         (breakAgain): adjust
7187         (breakAgainOneRow): adjust
7188         (breakParagraph): adjust
7189         (getRow): adjust
7190         (getRowNearY): adjust, and remove commented code.
7191
7192         * lyxtext.h (firstRow): delete function
7193         (lastRow): delete function
7194         (rows): new function (const and non-const versions.)
7195         (insertRow): delete function
7196
7197         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7198
7199 2003-03-29  John Levon  <levon@movementarian.org>
7200
7201         * BufferView_pimpl.C: always update scrollbar top
7202         because pasting text when we're anchored could mean we
7203         miss an update altogether
7204
7205 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * text2.C (init): use rowlist_.end() and not 0.
7208         (insertRow): change to take a RowList::iterator as arg, adjust
7209         for this.
7210         (insertParagraph): change to take a RowList::iterator as arg,
7211         adjust for this.
7212         (redoParagraphs): remove some debug msgs.
7213
7214         * text.C (appendParagraph): change to take a RowList::iterator
7215         arg, adjust for this.
7216         (breakAgain): add an assert
7217         (breakAgainOneRow): ditto
7218
7219 2003-03-29  John Levon  <levon@movementarian.org>
7220
7221         * text2.C: do not clear selection after inc/decDepth
7222         (bug 550)
7223
7224 2003-03-29  John Levon  <levon@movementarian.org>
7225
7226         * BufferView.C:
7227         * buffer.C: fix broken strerrors according to Lars
7228
7229 2003-03-29  John Levon  <levon@movementarian.org>
7230
7231         * converters.C: more Alert cleanups
7232
7233 2003-03-29  John Levon  <levon@movementarian.org>
7234
7235         * bufferview_funcs.C: remove pointless Alert
7236
7237         * buffer.C: fix confusing error message when
7238         a template is chmoded 000
7239
7240 2003-03-29  John Levon  <levon@movementarian.org>
7241
7242         * BufferView.C:
7243         * BufferView.h:
7244         * BufferView_pimpl.C: Alert fixes
7245
7246         * Makefile.am:
7247         * tabular.C:
7248         * tabular-old.C: remove unused table compat reading
7249
7250 2003-03-29  John Levon  <levon@movementarian.org>
7251
7252         * BufferView.C:
7253         * buffer.C:
7254         * lyx_cb.h:
7255         * lyx_cb.C: more Alert cleanups
7256
7257         * lyxfunc.C: don't allow chktex if not latex document
7258
7259 2003-03-29  John Levon  <levon@movementarian.org>
7260
7261         * lyx_cb.C:
7262         * BufferView.C:
7263         * buffer.C: warnings pushed down from support/,
7264         kill err_alert
7265
7266 2003-03-29  John Levon  <levon@movementarian.org>
7267
7268         * lyxfunc.C: safety check for C-r (revert)
7269
7270 2003-03-29  John Levon  <levon@movementarian.org>
7271
7272         * bufferlist.h:
7273         * bufferlist.C: several UI fixes using Alert::prompt.
7274         Fix the pointless looping quit code. Fix stupid revert
7275         behaviour (bug 938)
7276
7277         * lyxvc.h:
7278         * lyxvc.C:
7279         * lyx_cb.C: use Alert::prompt
7280
7281         * lyx_main.C: remove a silly question
7282
7283         * lyxfunc.C: remove a couple of silly questions,
7284         use Alert::prompt
7285
7286 2003-03-28  John Levon  <levon@movementarian.org>
7287
7288         * text2.C: fix bug 974 (End on empty par)
7289
7290 2003-03-28  John Levon  <levon@movementarian.org>
7291
7292         * BufferView_pimpl.C:
7293         * LyXAction.C:
7294         * lfuns.h: remove do-nothing math greek lfuns
7295
7296 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * lyxgluelength.h (isValidGlueLength): add default arg on
7299         parameter 2. Remove default arg from friend in class.
7300
7301         * lyxlength.h (isValidLength): add default arg on parameter 2.
7302         Remove default arg from friend in class.
7303
7304         * text2.C (LyXText): adjust, initialize refresh_row.
7305         (init): adjust
7306         (removeRow): adjust
7307         (insertRow): adjust
7308         (insertParagraph): adjst
7309         (redoParagraphs): adjust
7310         (fullRebreak): adjust
7311         (updateCounters): adjust
7312         (deleteEmptyParagraphMechanism): first attempt at fixing a
7313         crashing bug.
7314
7315         * text.C (top_y): adjust
7316         (setHeightOfRow): adjust
7317         (getRow): adjust
7318         (getRowNearY): adjust
7319
7320         * lyxtext.h: include RowList.h
7321         (~LyXText): not needed anymore, deleted.
7322         (firstRow): modify for RowList
7323         (lastRow): new function
7324         Delete firstrow and lastrow class variables, add a Rowlist
7325         rowlist_ class variable.
7326
7327         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7328         paragraph is empty.
7329
7330         * RowList.C (insert): fix case where it == begin().
7331
7332 2003-03-26  Angus Leeming  <leeming@lyx.org>
7333
7334         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7335         the thesaurus dialog.
7336
7337 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7338
7339         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7340
7341         * RowList.[Ch]: new files
7342
7343         * ParagraphList.C (erase): handle the case where it == begin
7344         correctly.
7345
7346 2003-03-25  John Levon  <levon@movementarian.org>
7347
7348         * Makefile.am:
7349         * aspell_local.h:
7350         * aspell.C: add new aspell support
7351
7352         * lyxrc.h:
7353         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7354         have it accessible.
7355
7356 2003-03-25  Angus Leeming  <leeming@lyx.org>
7357
7358         * lfuns.h:
7359         * LyXAction.C (init): new LFUN_INSET_INSERT.
7360
7361         * BufferView_pimpl.C (dispatch): split out part of the
7362         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7363
7364         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7365         LFUN_INSET_APPLY.
7366
7367 2003-03-25  Angus Leeming  <leeming@lyx.org>
7368
7369         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7370
7371 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7372
7373         * text2.C:
7374         * text3.C: remove useless row->height(0)
7375
7376 2003-03-25  John Levon  <levon@movementarian.org>
7377
7378         * lyxtext.h:
7379         * text2.C:
7380         * text3.C: rename the refreshing stuff to better names
7381
7382 2003-03-24  John Levon  <levon@movementarian.org>
7383
7384         * BufferView_pimpl.h:
7385         * BufferView_pimpl.C: update layout choice on a mouse
7386         press/release
7387
7388 2003-03-23  John Levon  <levon@movementarian.org>
7389
7390         * Makefile.am: fix commandtags.h reference
7391
7392 2003-03-22  John Levon  <levon@movementarian.org>
7393
7394         * BufferView_pimpl.C:
7395         * lyxtext.h:
7396         * rowpainter.C:
7397         * rowpainter.h:
7398         * text.C:
7399         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7400
7401 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7402
7403         * lyxtext.h:
7404         * text.C: take the rtl methods out of line
7405
7406 2003-03-21 André Pönitz <poenitz@gmx.net>
7407
7408         * metricsinfo.[Ch]: new files containing structures to be passed around
7409         during the two-phase-drawing...
7410
7411 2003-03-21 André Pönitz <poenitz@gmx.net>
7412
7413         * lyxtextclass.C: read 'environment' tag.
7414
7415 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7416
7417         * text2.C (removeRow): fix bug 964
7418
7419 2003-03-20  John Levon  <levon@movementarian.org>
7420
7421         * rowpainter.C:
7422         * text.C:
7423         * text2.C: paint cleanups. Inset::update() dropped font
7424         parameter
7425
7426 2003-03-19  John Levon  <levon@movementarian.org>
7427
7428         * lyxfunc.C: only fitcursor/markDirty if available()
7429
7430 2003-03-19  John Levon  <levon@movementarian.org>
7431
7432         * commandtags.h: rename to ...
7433
7434         * lfuns.h: ... this, and renumber / cleanup
7435
7436 2003-03-19  John Levon  <levon@movementarian.org>
7437
7438         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7439         fit the cursor after an lfun
7440
7441         * BufferView.h:
7442         * BufferView.C:
7443         * BufferView_pimpl.h:
7444         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7445
7446         * LyXAction.C: layout-character should have ReadOnly
7447
7448         * ParagraphParameters.C:
7449         * buffer.C:
7450         * bufferview_funcs.C:
7451         * lyx_cb.C:
7452         * lyxfind.C:
7453         * lyxtext.h:
7454         * text.C:
7455         * text2.C:
7456         * text3.C:
7457         * undo_funcs.C: changes from above
7458
7459 2003-03-18  John Levon  <levon@movementarian.org>
7460
7461         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7462         remove it from update()
7463
7464         * lyxfunc.C: update layout choice after an lfun
7465
7466         * text3.C: remove extra updateLayoutChoice()s
7467
7468 2003-03-18  John Levon  <levon@movementarian.org>
7469
7470         * text.C: top_y change means full repaint, fix
7471         a drawing bug with cursor movement
7472
7473 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7474
7475         * lyxtext.h:
7476         * text.C:
7477         * text2.C: anchor row on setCursor
7478
7479 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7480
7481         * lyxtext.h: remove almost all mutable keywords
7482         * text.C:
7483         * text2.C:
7484         * text3.C: remove const keywords accordingly
7485
7486 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7487
7488         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7489         anon namespace
7490         (TeXEnvironment): ditto
7491         (TeXOnePar): ditto
7492
7493 2003-03-17  John Levon  <levon@movementarian.org>
7494
7495         * text.C (rowBreakPoint): remove attempt to fix displayed
7496         math insets inside a manual label
7497
7498 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * lyxtext.h: remove BufferView* as first arg from almost all class
7501         functions.
7502         * other files: adjust.
7503
7504 2003-03-17  John Levon  <levon@movementarian.org>
7505
7506         * lyxtext.h:
7507         * undo_funcs.C:
7508         * text2.C: more paint cleanups
7509
7510         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7511
7512         * rowpainter.h:
7513         * rowpainter.C: remove "smart" background painting code
7514
7515 2003-03-16  John Levon  <levon@movementarian.org>
7516
7517         * lyxtext.h:
7518         * text.C:
7519         * text2.C:
7520         * text3.C: add helper functions for setting refresh_row/y
7521
7522 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7523
7524         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7525         newline inset which *can* get inserted in the pass_thru layouts.
7526         This is primarily for literate documents.
7527
7528 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7529
7530         * buffer.C: increment LYX_FORMAT to 223
7531
7532 2003-03-14 André Pönitz <poenitz@gmx.net>
7533
7534         * textclass.h: prepare for environment handling, ws changes
7535         * lyxlayout.C: read latexheader and latexfooter tags
7536
7537 2003-03-14  John Levon  <levon@movementarian.org>
7538
7539         * text2.C: rewrite ::status() a bit
7540
7541 2003-03-13  John Levon  <levon@movementarian.org>
7542
7543         * lyxtext.h: add some docs
7544
7545 2003-03-13  John Levon  <levon@movementarian.org>
7546
7547         * lyxtext.h:
7548         * text.C:
7549         * text2.C:
7550         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7551
7552 2003-03-13  John Levon  <levon@movementarian.org>
7553
7554         * text3.C: fix appendix redrawing
7555
7556 2003-03-13  John Levon  <levon@movementarian.org>
7557
7558         * text.C (setHeightOfRow):
7559         * rowpainter.h:
7560         * rowpainter.C: make appendix mark have the text
7561           "Appendix" so the user knows what it is
7562
7563         * LColor.h:
7564         * LColor.C: s/appendixline/appendix/ from above
7565
7566 2003-03-13  John Levon  <levon@movementarian.org>
7567
7568         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7569
7570         * text.C: fix a getChar(pos) bug properly
7571
7572 2003-03-13  Angus Leeming  <leeming@lyx.org>
7573
7574         * commandtags.h:
7575         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7576         Probably only temporary. Let's see how things pan out.
7577
7578         * BufferView.C (unlockInset):
7579         * BufferView_pimpl.C (fitCursor):
7580         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7581
7582         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7583         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7584
7585         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7586         new functions that convert ParagraphParameters to and from a string.
7587
7588         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7589         BufferView::Pimpl's dispatch.
7590         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7591
7592 2003-03-13 André Pönitz <poenitz@gmx.net>
7593
7594         * lyxfunc.C:
7595         * text3.C:
7596         * factory.C: make it aware of InsetEnv
7597
7598 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * text2.C (setCursor): never ask for one past last
7601         (setCursor): add some debugging messages.
7602
7603         * text.C (singleWidth): never ask for one past last
7604         (singleWidth): ditto
7605         (leftMargin): ditto
7606         (rightMargin): ditto
7607         (rowBreakPoint): ditto
7608         (setHeightOfRow): ditto
7609         (prepareToPrint): ditto
7610
7611         * rowpainter.C (paintBackground): never ask for one past last
7612         (paintText): never ask for one past last
7613
7614         * paragraph_pimpl.C (getChar): make the assert stricter, never
7615         allow the one past last pos to be taken
7616
7617         * paragraph.C (getChar): ws changes only
7618
7619         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7620         (numberOfSeparators): ditto
7621         (numberOfHfills): ditto
7622
7623 2003-03-12  John Levon  <levon@movementarian.org>
7624
7625         * author.h:
7626         * author.C:
7627         * bufferparams.h:
7628         * bufferparams.C:
7629         * paragraph_funcs.C: fix per-buffer authorlists
7630
7631 2003-03-12  John Levon  <levon@movementarian.org>
7632
7633         * text.C: fix newline in right address
7634
7635 2003-03-12  Angus Leeming  <leeming@lyx.org>
7636
7637         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7638         duplicate those in LyXFunc::dispatch.
7639
7640         * commandtags.h:
7641         * LyXAction.C:
7642         * ToolbarDefaults.C:
7643         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7644         Add LFUN_FONTFREE_UPDATE.
7645
7646         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7647         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7648
7649         * bufferview_func.[Ch]: several new functions to facilliate
7650         transfer of data to and from the character dialog.
7651
7652 2003-03-12  John Levon  <levon@movementarian.org>
7653
7654         * buffer.C:
7655         * paragraph.h:
7656         * paragraph.C:
7657         * paragraph_funcs.C:
7658         * paragraph_pimpl.C:
7659         * sgml.C:
7660         * tabular.C:
7661         * text.C:
7662         * text3.C: remove META_NEWLINE in favour of an inset
7663
7664         * rowpainter.h:
7665         * rowpainter.C: remove paintNewline (done by inset)
7666
7667 2003-03-12  John Levon  <levon@movementarian.org>
7668
7669         * paragraph_pimpl.C: complain about bad getChar()s
7670         for a while at least
7671
7672 2003-03-12  John Levon  <levon@movementarian.org>
7673
7674         * buffer.h:
7675         * buffer.C: move paragraph read into a separate function,
7676         a little renaming to reflect that.
7677
7678         * bufferparams.h:
7679         * bufferparams.C: remove the author_ids map, not necessary now
7680
7681         * factory.h:
7682         * factory.C: moved Buffer::readInset to here
7683
7684         * paragraph_funcs.h:
7685         * paragraph_funcs.C: readParagraph free function moved from
7686         buffer.C
7687
7688         * tabular.C: name change
7689
7690 2003-03-12  John Levon  <levon@movementarian.org>
7691
7692         * buffer.C:
7693         * ParagraphParameters.C: move par params input to
7694         a read() method
7695
7696         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7697         behave like a normal read from the stream wrt reading
7698         a line vs. a \\token
7699
7700 2003-03-12  John Levon  <levon@movementarian.org>
7701
7702         * paragraph.C:
7703         * ParagraphParameters.h:
7704         * ParagraphParameters.C: move output code to a
7705         ::write() method
7706
7707 2003-03-12  John Levon  <levon@movementarian.org>
7708
7709         * BufferView.C (insertLyXFile):
7710         * buffer.h:
7711         * buffer.C:
7712         * tabular.C: use a parlist iterator for creating the
7713           document.
7714
7715 2003-03-12  John Levon  <levon@movementarian.org>
7716
7717         * buffer.C: make current_change static local not
7718           static file-scope
7719
7720 2003-03-12  John Levon  <levon@movementarian.org>
7721
7722         * buffer.C: fix insertStringAsLines for change tracking
7723
7724 2003-03-12  John Levon  <levon@movementarian.org>
7725
7726         * BufferView.C:
7727         * tabular.C:
7728         * buffer.h:
7729         * buffer.C:
7730         * bufferparams.h:
7731         * bufferparams.C: move author list into params. Rename some
7732           functions. Move the header reading into a separate token
7733           loop. Move the header token reading into BufferParams.
7734
7735 2003-03-12  John Levon  <levon@movementarian.org>
7736
7737         * changes.C: put debug inside lyxerr.debugging() checks
7738
7739 2003-03-11 André Pönitz <poenitz@gmx.net>
7740
7741         * factory.C: make it aware of InsetHFill
7742
7743 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7744
7745         * buffer.C (latexParagraphs): move function from here...
7746         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7747         args.
7748
7749 2003-03-10  Angus Leeming  <leeming@lyx.org>
7750
7751         * LyXAction.C (init): fix bug in poplating array with multiple entries
7752         with the same LFUN (spotted by JMarc).
7753
7754 2003-03-10  John Levon  <levon@movementarian.org>
7755
7756         * text.C:
7757         * text2.C: move getColumnNearX() near its
7758         only call site
7759
7760 2003-03-10  John Levon  <levon@movementarian.org>
7761
7762         * text.C: fix break before a minipage
7763
7764 2003-03-10  John Levon  <levon@movementarian.org>
7765
7766         * text.C: fix the last commit
7767
7768 2003-03-09  John Levon  <levon@movementarian.org>
7769
7770         * lyxtext.h:
7771         * text.C:
7772         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7773         bug 365 (don't break before insets unless needed). Don't
7774         return a value > last under any circumstances.
7775
7776 2003-03-09  Angus Leeming  <leeming@lyx.org>
7777
7778         * BufferView_pimpl.C (trackChanges, dispatch): call
7779         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7780
7781 2003-03-09  Angus Leeming  <leeming@lyx.org>
7782
7783         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7784         than Dialogs::showAboutlyx().
7785
7786 2003-03-09  Angus Leeming  <leeming@lyx.org>
7787
7788         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7789         than Dialogs::showTabularCreate().
7790
7791 2003-03-09  John Levon  <levon@movementarian.org>
7792
7793         * lyxtext.h:
7794         * text.C:
7795         * text2.C: 3rd arg to nextBreakPoint was always the same.
7796           Use references.
7797
7798 2003-03-08  John Levon  <levon@movementarian.org>
7799
7800         * lyxrow.C:
7801         * paragraph.C:
7802         * paragraph.h:
7803         * rowpainter.C:
7804         * text.C:
7805         * text2.C: Remove the "main" bit from the "main body"
7806           notion.
7807
7808 2003-03-08  John Levon  <levon@movementarian.org>
7809
7810         * text.C (leftMargin): The left margin of an empty
7811         manual label paragraph should not include the label width
7812         string length.
7813
7814         * text.C (prepareToPrint): don't attempt to measure hfills
7815         for empty manual label paragraphs - the answer should be 0
7816
7817 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * CutAndPaste.C: remove commented code and reindent.
7820
7821 2003-03-08  John Levon  <levon@movementarian.org>
7822
7823         * lyxfunc.h:
7824         * lyxfunc.C: move reloadBuffer()
7825
7826         * BufferView.h:
7827         * BufferView.C: to here
7828
7829         * lyxvc.C: add comment
7830
7831         * vc-backend.h:
7832         * vc-backend.C: call bv->reload() to avoid
7833           getStatus() check on MENURELOAD
7834
7835 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7836
7837         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7838         to an old format .dep file.
7839
7840 2003-03-07  Angus Leeming  <leeming@lyx.org>
7841
7842         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7843         when the LFUN_MOUSE_RELEASE should have been handled by
7844         inset->localDispatch.
7845
7846 2003-03-07  Angus Leeming  <leeming@lyx.org>
7847
7848         * BufferView_pimpl.C (dispatch):
7849         * LyXAction.C (init):
7850         * ToolbarDefaults.C (init):
7851         * commandtags.h:
7852         * lyxfunc.C (getStatus):
7853         remove LFUN_INSET_GRAPHICS.
7854
7855         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7856
7857 2003-03-07  Angus Leeming  <leeming@lyx.org>
7858
7859         * commandtags.h:
7860         * LyXAction.C (init):
7861         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7862
7863         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7864
7865         * commandtags.h:
7866         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7867
7868         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7869         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7870
7871 2003-03-07  Angus Leeming  <leeming@lyx.org>
7872
7873         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7874         remove "ert".
7875
7876 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * ParagraphList.C (front): new function
7879         (back): implement
7880
7881 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7882
7883         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7884         and top_row_offset_. removed var first_y.
7885         * text.C (top_y):
7886         * text2.C (LyXText, removeRow):
7887         * text3.C:
7888         * BufferView_pimpl.C:
7889         use these methods instead of using first_y
7890
7891 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7892
7893         * text2.C (pasteSelection): adjust for checkPastePossible
7894
7895         * CutAndPaste.C: remove Paragraph * buf and replace with
7896         ParagraphList paragraphs.
7897         (DeleteBuffer): delete
7898         (cutSelection): change the tc type to textclass_type
7899         (copySelection): change the tc type to textclass_type
7900         (copySelection): adjust for ParagraphList
7901         (pasteSelection): change the tc type to textclass_type
7902         (pasteSelection): adjust for Paragraphlist
7903         (nrOfParagraphs): simplify for ParagraphList
7904         (checkPastePossible): simplify for ParagraphList
7905         (checkPastePossible): remove unused arg
7906
7907         * ParagraphList.C (insert): handle the case where there are no
7908         paragraphs yet.
7909
7910         * CutAndPaste.h: make CutAndPaste a namespace.
7911
7912         * text3.C (dispatch): adjust
7913
7914         * text.C (breakParagraph): add a ParagraphList as arg
7915
7916         * paragraph_funcs.C (breakParagraph): change to take a
7917         BufferParams and a ParagraphList as args.
7918         (breakParagraphConservative): ditto
7919         (mergeParagraph): ditto
7920         (TeXDeeper): add a ParagraphList arg
7921         (TeXEnvironment): ditto
7922         (TeXOnePar): ditto
7923
7924         * buffer.C (readLyXformat2): adjust
7925         (insertStringAsLines): adjust
7926         (latexParagraphs): adjust
7927
7928         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7929         (cutSelection): adjust
7930         (pasteSelection): adjust
7931
7932         * BufferView_pimpl.C (insertInset): adjust
7933
7934 2003-03-05  Angus Leeming  <leeming@lyx.org>
7935
7936         * commandtags.h:
7937         * LyXAction.C (init):
7938         * BufferView_pimpl.C (dispatch):
7939         * lyxfunc.C (getStatus):
7940         remove LFUN_CHILD_INSERT.
7941
7942         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7943
7944 2003-03-05  Angus Leeming  <leeming@lyx.org>
7945
7946         * commandtags.h:
7947         * LyXAction.C (init):
7948         * src/factory.C (createInset):
7949         * lyxfunc.C (getStatus):
7950         * text3.C (dispatch):
7951         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7952
7953         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7954
7955 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * ParagraphList.C (insert): handle insert right before end()
7958         (erase): fix cases where it can be first or last paragraph.
7959
7960 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7963         Paragraph::next and Paragraph::previous
7964         (TeXOnePar): ditto
7965
7966         * text.C (breakParagraph): adjust
7967
7968         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7969         BufferParams& as arg.
7970         (breakParagraph): use ParagraphList::insert
7971         (breakParagraphConservative): take a Buffer* instead of a
7972         BufferParams& as arg.
7973         (breakParagraphConservative): use ParagraphList::insert.
7974
7975         * buffer.C (insertStringAsLines): un-const it
7976         (insertStringAsLines): adjust
7977
7978         * ParagraphList.C (insert): new function
7979
7980         * CutAndPaste.C (pasteSelection): adjust
7981
7982         * text.C (backspace): adjust
7983
7984         * tabular.C (SetMultiColumn): adjust
7985
7986         * CutAndPaste.C (cutSelection): adjust
7987         (pasteSelection): adjust
7988
7989         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7990         Buffer const * as arg
7991
7992         * ParagraphList.C (erase): new function
7993         * paragraph_funcs.C (mergeParagraph): use it
7994         (mergeParagraph): make it take a Buffer* instead of a
7995         BufferParams* as arg
7996
7997         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7998         as arg
7999         (breakParagraphConservative): ditto
8000
8001         * paragraph.h: remove the breakParagraph friend
8002
8003         * paragraph.C (eraseIntern): new function
8004         (setChange): new function
8005
8006         * paragraph_funcs.C (mergeParagraph): make it take a
8007         ParagraphList::iterator instead of a Paragraph *, adjust
8008         accordingly.
8009
8010         * paragraph.h: move an #endif so that the change tracking stuff
8011         also works in the NO_NEXT case.
8012
8013 2003-03-04  Angus Leeming  <leeming@lyx.org>
8014
8015         * commandtags.h:
8016         * LyXAction.C: new LFUN_INSET_MODIFY.
8017
8018         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8019         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8020
8021 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * several files: ws changes only
8024
8025         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8026         (TeXEnvironment): ditto
8027         (TeXDeeper): ditto
8028
8029         * buffer.C (makeLaTeXFile): adjust
8030         (latexParagraphs): make it take ParagraphList::iterator as args
8031
8032 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * buffer.C (latexParagraphs): adjust
8035
8036         * paragraph.C (TeXOnePar): move function...
8037         (optArgInset): move function...
8038         (TeXEnvironment): move function...
8039         * paragraph_pimpl.C (TeXDeeper): move function...
8040         * paragraph_funcs.C: ...here
8041
8042         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8043
8044 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * buffer.C (readInset): remove compability code for old Figure and
8047         InsetInfo insets
8048
8049 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * buffer.C: ws changes
8052         (readInset):
8053
8054         * BufferView_pimpl.C: ditto
8055         * author.C: ditto
8056         * buffer.h: ditto
8057         * bufferlist.h: ditto
8058         * changes.h: ditto
8059         * lyxfunc.C: ditto
8060
8061 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8062
8063         * converter.[Ch]: split into itself +
8064         * graph.[Ch]
8065         * format.[Ch]
8066         * Makefile.am: += graph.[Ch] + format.[Ch]
8067         * MenuBackend.C
8068         * buffer.C
8069         * exporter.C
8070         * importer.C
8071         * lyx_main.C
8072         * lyxfunc.C
8073         * lyxrc.C: added #include "format.h"
8074
8075 2003-02-27  Angus Leeming  <leeming@lyx.org>
8076
8077         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8078           a label.
8079
8080         * factory.C (createInset): add "label" to the factory.
8081
8082         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8083           string and do no more.
8084
8085 2003-02-27  Angus Leeming  <leeming@lyx.org>
8086
8087         * commandtags.h:
8088         * LyXAction.C (init):
8089         * factory.C (createInset):
8090         * BufferView_pimpl.C (dispatch):
8091           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8092
8093         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8094
8095         * lyxfunc.C (dispatch):
8096         * text3.C (dispatch): pass name to params2string.
8097
8098 2003-02-26  Angus Leeming  <leeming@lyx.org>
8099
8100         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8101           blocks together.
8102           Rearrange the ~includes. Strip out the unnecessary ones.
8103
8104         * factory.C (createInset): reformat.
8105           create new insets for the various LFUN_XYZ_APPLY lfuns.
8106
8107 2003-02-26  John Levon  <levon@movementarian.org>
8108
8109         * lyxrow.h:
8110         * lyxrow.C: add isParStart,isParEnd helpers
8111
8112         * paragraph.h: make isInserted/DeletedText take refs
8113
8114         * paragraph_funcs.h:
8115         * paragraph_funcs.C: remove #if 0'd code
8116
8117         * lyxtext.h:
8118         * text3.C:
8119         * text2.C:
8120         * text.C: use lyxrow helpers above.
8121           Move draw and paint routines to RowPainter.
8122           Make several methods use refs not pointers.
8123           Make backgroundColor() const.
8124           Add markChangeInDraw(), isInInset().
8125           Merge changeRegionCase into changeCase.
8126           Make workWidth() shouldn't-happen code into an Assert.
8127
8128         * rowpainter.h:
8129         * rowpainter.C: new class for painting a row.
8130
8131         * vspace.h:
8132         * vspace.C: make inPixels take a ref
8133
8134 2003-02-26  Angus Leeming  <leeming@lyx.org>
8135
8136         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8137         LFUN_REF_APPLY.
8138
8139 2003-02-25  John Levon  <levon@movementarian.org>
8140
8141         * ispell.C: give the forked command a more accurate name
8142
8143 2003-02-22  John Levon  <levon@movementarian.org>
8144
8145         * toc.h:
8146         * toc.C: make TocItem store an id not a Paragraph *
8147           (bug #913)
8148
8149 2003-02-21  Angus Leeming  <leeming@lyx.org>
8150
8151         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8152           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8153           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8154           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8155           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8156           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8157
8158         * BufferView_pimpl.C (dispatch):
8159         * LyXAction.C (init):
8160         * factory.C (createInset):
8161         * lyxfunc.C (getStatus, dispatch):
8162         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8163
8164 2003-02-21  Angus Leeming  <leeming@lyx.org>
8165
8166         * BufferView_pimpl.C (MenuInsertLyXFile):
8167         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8168         * lyxfunc.C (menuNew, open, doImport):
8169           no longer pass a LyXView & to fileDlg.
8170
8171 2003-02-21  Angus Leeming  <leeming@lyx.org>
8172
8173         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8174         * LyXAction.C: change, BIBKEY to BIBITEM.
8175         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8176         Change InsetBibKey to InsetBibitem.
8177         Change BIBKEY_CODE to BIBITEM_CODE.
8178         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8179         * factory.C: replace insetbib.h with insetbibitem.h.
8180         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8181         * paragraph.C: replace insetbib.h with insetbibitem.h.
8182         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8183         Change bibkey() to bibitem().
8184         * text.C: remove insetbib.h.
8185         * text2.C: replace insetbib.h with insetbibitem.h.
8186         change bibkey() to bibitem().
8187         * text3.C: remove insetbib.h.
8188         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8189
8190 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8191
8192         * lyxrc.C (output): enclose user email in quotes (in case there are
8193         several words)
8194
8195 2003-02-18  John Levon  <levon@movementarian.org>
8196
8197         * buffer.h: add std::
8198
8199 2003-02-17  John Levon  <levon@movementarian.org>
8200
8201         * SpellBase.h:
8202         * ispell.h:
8203         * ispell.C:
8204         * pspell.h:
8205         * pspell.C: reworking. Especially in ispell, a large
8206           number of clean ups and bug fixes.
8207
8208         * lyxfunc.C: fix revert to behave sensibly
8209
8210 2003-02-17 André Pönitz <poenitz@gmx.net>
8211
8212         * LyXAction.C:
8213         * commandtags.h: new LFUN_INSERT_BIBKEY
8214
8215         * layout.h:
8216         * lyxlayout.C:
8217         * buffer.C:
8218         * factory.C:
8219         * text.C:
8220         * text2.C:
8221         * text3.C:
8222         * paragraph.[Ch]:
8223         * paragraph_func.C: remove special bibkey handling
8224
8225 2003-02-17  John Levon  <levon@movementarian.org>
8226
8227         * text.C (Delete): fix case where delete at the end of
8228           the very first paragraph would not merge the pars
8229
8230 2003-02-17  John Levon  <levon@movementarian.org>
8231
8232         * lyxrow.C: fix lastPrintablePos()
8233
8234 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8235
8236         * bufferparams.C (writeLaTeX): add a std:here
8237
8238         * buffer.C: and remove a using directive there
8239
8240 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8241
8242         * buffer.C (makeLaTeXFile): move the code that generates the
8243           preamble...
8244
8245         * bufferparams.C (writeLaTeX): ... in this new method
8246
8247         * LaTeXFeatures.C (getEncodingSet): make const
8248           (getLanguages): make const
8249
8250         * MenuBackend.C (binding): returns the binding associated to this
8251           action
8252           (add): sets the status of each item by calling getStatus. Adds
8253           some intelligence.
8254           (read): add support for OptSubMenu
8255           (expand): remove extra separator at the end of expanded menu
8256
8257 2003-02-15  John Levon  <levon@movementarian.org>
8258
8259         * BufferView.C:
8260         * BufferView_pimpl.C:
8261         * bufferlist.h:
8262         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8263           inset code that had no actual effect. Remove unneeded status
8264           code.
8265
8266 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8267
8268         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8269           in preamble
8270
8271 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8272
8273         * text.C (drawLengthMarker): also draw an arrow marker for
8274           symbolic lengths (medskip...)
8275
8276 2003-02-14  John Levon  <levon@movementarian.org>
8277
8278         * tabular.h:
8279         * tabular.C: better method names
8280
8281 2003-02-14  John Levon  <levon@movementarian.org>
8282
8283         * BufferView_pimpl.C:
8284         * bufferlist.C:
8285         * buffer.C:
8286         * converter.C:
8287         * lyx_cb.C:
8288         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8289           it's a more accurate name. Remove some pointless uses.
8290
8291 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8292
8293         * text2.C (LyXText): change order of initilizers to shut off
8294           warnings
8295
8296 2003-02-14  John Levon  <levon@movementarian.org>
8297
8298         * buffer.C: use ParIterator for getParFromID()
8299
8300         * paragraph.h:
8301         * paragraph.C:
8302         * paragraph_pimpl.h:
8303         * paragraph_pimpl.C: remove unused getParFromID()
8304
8305 2003-02-14  John Levon  <levon@movementarian.org>
8306
8307         * buffer.C: remove some very old #if 0'd parse code
8308
8309 2003-02-13  John Levon  <levon@movementarian.org>
8310
8311         * text.h:
8312         * text.C:
8313         * text2.C: move hfillExpansion(), numberOfSeparators(),
8314           rowLast(), rowLastPrintable(), numberofHfills(),
8315           numberOfLabelHfills() ...
8316
8317         * lyxrow.h:
8318         * lyxrow.C: ... to member functions here.
8319
8320         * paragraph.h:
8321         * paragraph.C:
8322         * lyxtext.h:
8323         * text.C: remove LyXText::beginningOfMainBody(), and call
8324           p->beginningOfMainBody() directly. Move the check for
8325           LABEL_MANUAL into the latter.
8326
8327         * text.h:
8328         * text.C:
8329         * text2.C:
8330         * vspace.C:
8331         * BufferView.h:
8332         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8333
8334         * text.h:
8335         * text.C:
8336         * text2.C:
8337         * text3.C:
8338         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8339           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8340
8341 2003-02-13  John Levon  <levon@movementarian.org>
8342
8343         * CutAndPaste.C: remove debug
8344
8345 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8346
8347         * paragraph.C (asString): remove two unused variables
8348
8349         * lyxtextclass.C (readTitleType):
8350           (Read):
8351           (LyXTextClass): handle new members titletype_ and titlename_
8352
8353         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8354
8355 2003-02-09  John Levon  <levon@movementarian.org>
8356
8357         * buffer.h:
8358         * buffer.C: replace hand-coded list with a map for the dep clean
8359
8360 2003-02-08  John Levon  <levon@movementarian.org>
8361
8362         * LaTeX.C: consolidate code into showRunMessage() helper
8363
8364 2003-02-08  John Levon  <levon@movementarian.org>
8365
8366         * lyxfind.C:
8367         * lyxtext.h:
8368         * text2.C:
8369         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8370           and pass the size in explicitly
8371
8372         * BufferView_pimpl.h:
8373         * BufferView_pimpl.C:
8374         * BufferView.h:
8375         * BufferView.C: add getCurrentChange()
8376
8377         * BufferView_pimpl.h:
8378         * BufferView_pimpl.C: handle change lfuns
8379
8380         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8381           for changes. Mark pasted paragraphs as new.
8382
8383         * support/lyxtime.h:
8384         * support/lyxtime.C:
8385         * DepTable.C: abstract time_t as lyx::time_type
8386
8387         * LColor.h:
8388         * LColor.C: add colours for new text, deleted text, changebars
8389
8390         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8391           package use "usenames" option.
8392
8393         * commandtags.h:
8394         * lyxfunc.C:
8395         * LyXAction.C: add change lfuns
8396
8397         * Makefile.am:
8398         * author.h:
8399         * author.C: author handling
8400
8401         * buffer.h:
8402         * buffer.C: add a per-buffer author list, with first entry as
8403           current author. Handle new .lyx tokens for change tracking. Output
8404           author list to .lyx file. Output dvipost stuff to .tex preamble.
8405           Bump lyx format to 222.
8406
8407         * bufferlist.h:
8408         * bufferlist.C: add setCurrentAuthor() to reset current author details
8409           in all buffers.
8410
8411         * bufferparams.h:
8412         * bufferparams.C: add param for tracking
8413
8414         * bufferview_funcs.C: output change info in minibuffer
8415
8416         * Makefile.am:
8417         * changes.h:
8418         * changes.C: add change-tracking structure
8419
8420         * debug.h:
8421         * debug.C: add CHANGES debug flag
8422
8423         * lyxfind.h:
8424         * lyxfind.C: add code for finding the next change piece
8425
8426         * lyxrc.h:
8427         * lyxrc.C: add user_name and user_email
8428
8429         * lyxrow.h:
8430         * lyxrow.C: add a metric for the top of the text line
8431
8432         * lyxtext.h:
8433         * text.C: implement accept/rejectChange()
8434
8435         * lyxtext.h:
8436         * text.C: paint changebars. Paint new/deleted text in the chosen
8437         colours. Strike through deleted text.
8438
8439         * paragraph.h:
8440         * paragraph.C:
8441         * paragraph_pimpl.h:
8442         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8443           in the current change to the insert functions. Rework erase to
8444           mark text as deleted, adding an eraseIntern() and a range-based
8445           erase(). Implement per-paragraph change lookup and
8446           accept/reject.
8447
8448         * paragraph_funcs.C: Fixup paste for change tracking.
8449
8450         * tabular.C: mark added row/columns as new.
8451
8452         * text.C: fix rowLast() to never return -1. Don't allow
8453           spellchecking of deleted text. Track transpose changes. Don't
8454           allow paragraph break or merge where appropriate.
8455
8456         * text2.C: leave cursor at end of selection after a cut.
8457
8458 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8459
8460         * text.C (getLengthMarkerHeight):
8461         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8462         visible on screen too.
8463
8464 2003-02-07  John Levon  <levon@movementarian.org>
8465
8466         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8467
8468 2003-02-05  Angus Leeming  <leeming@lyx.org>
8469
8470         * lyxserver.C (read_ready): revert my patch of 11 September last year
8471         as it sends PC cpu through the roof. Presumably this means that
8472         the lyxserver will no longer run on an Alpha...
8473
8474 2003-01-30  Angus Leeming  <leeming@lyx.org>
8475
8476         * factory.C (createInset): create an InsetCommandParam of type "index"
8477         and use it to 'do the right thing'.
8478
8479         * text2.C (getStringToIndex): ensure that cursor position is always
8480         reset to the reset_cursor position.
8481
8482 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8483
8484         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8485         disabled.
8486
8487 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8488
8489         * bufferview.C:
8490         * lyxcb.C:
8491         * lyxfunc.C: Output messages with identical spelling, punctuation,
8492         and spaces
8493
8494 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8495
8496         * MenuBackend.C (expandFormats): List only viewable export formats
8497         in "View" menu
8498
8499         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8500         message
8501
8502         * lyxfunc.C (getStatus): Make sure that formats other than
8503         "fax" can also be disabled
8504
8505 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8506
8507         * text3.C (dispatch): put the lfuns that insert insets in 3
8508         groups, and call doInsertInset with appropriate arguments.
8509         (doInsertInset): new function, that creates an inset and inserts
8510         it according to some boolean parameters.
8511
8512 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * buffer.C (readFile): remember to pass on 'par' when calling
8515         readFile recursively.
8516
8517 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8518
8519         * MenuBackend.C (expandFormats): add "..." to import formats.
8520
8521 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8522
8523         * paragraph.C (asString): Remove XForms RTL hacks.
8524
8525 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8526         * buffer.C: fix typo
8527
8528 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8529
8530         * Makefile.am (LIBS): delete var
8531         (lyx_LDADD): add @LIBS@ here instead.
8532
8533 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8534
8535         * Clarify the meaning of "wheel mouse jump"
8536
8537 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8538
8539         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8540         tabular in a float
8541
8542 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8543
8544         * importer.C (Loaders): do not preallocate 3 elements in the
8545         vector, since one ends up with 6 elements otherwise
8546
8547 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8548
8549         * DepTable.C (write): write the file name as last element of the
8550         .dep file (because it may contain spaces)
8551         (read): read info in the right order
8552
8553 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8554
8555         * paragraph_pimpl.C (simpleTeXBlanks):
8556         (simpleTeXSpecialChars):
8557         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8558
8559         * tabular.C (latex): add some missing case statements. Reindent.
8560
8561         * MenuBackend.C (expandToc): remove unused variable.
8562
8563 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8564
8565         * LColor.C:
8566         * LaTeX.C:
8567         * LyXAction.C:
8568         * MenuBackend.C:
8569         * buffer.C:
8570         * exporter.C:
8571         * lyxfunc.C:
8572         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8573         and the like.
8574
8575 2003-01-05  John Levon  <levon@movementarian.org>
8576
8577         * BufferView.h:
8578         * BufferView.C: add getEncoding()
8579
8580         * kbsequence.h:
8581         * kbsequence.C: do not store last keypress
8582
8583         * lyxfunc.h:
8584         * lyxfunc.C: store last keypress here instead. Pass encoding
8585           to getISOEncoded()
8586
8587 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * lyx_main.C (init): remove annoying error message when following
8590         symbolic links (bug #780)
8591
8592 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8593
8594         * text.C (insertChar):
8595         * lyxrc.C (getDescription): remove extra spaces
8596
8597 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8598
8599         * lyxrc.C (getDescription): remove extra spaces
8600
8601 2002-12-20  John Levon  <levon@movementarian.org>
8602
8603         * text3.C: hack fix for page up/down across tall rows
8604
8605 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8606
8607         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8608         not been invoked
8609
8610 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8611
8612         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8613         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8614         thesaurus is not compiled in
8615
8616 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8617
8618         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8619
8620 2002-12-16  Angus Leeming  <leeming@lyx.org>
8621
8622         * lyxrc.[Ch]:
8623         * lyx_main.C (init): remove override_x_deadkeys stuff.
8624
8625 2002-12-12  John Levon  <levon@movementarian.org>
8626
8627         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8628           insert. Only remove shift modifier under strict
8629           circumstances.
8630
8631 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * MenuBackend.C (expandToc): fix crash.
8634
8635 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * MenuBackend.C (expandToc): gettext on float names.
8638
8639 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8640
8641         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8642         implement bool empty() [bug 490]
8643
8644 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8647
8648 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * several files: ws changes
8651
8652 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * text2.C (setCounter): clean up a bit, use boost.format.
8655         (updateCounters): initialize par upon declaration.
8656
8657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8658         if the layout exists. We do not just store the layout any more.
8659         (SwitchLayoutsBetweenClasses): use boost.format
8660
8661 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8662
8663         * converter.C (convert): if from and to files are the same, use a
8664         temporary files as intermediary
8665
8666 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8667
8668         * commandtags.h:
8669         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8670
8671 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8672
8673         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8674
8675 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * tabular.C (asciiPrintCell): use string(size, char) instead of
8678         explicit loop.
8679
8680         * sgml.C (openTag): fix order of arguments to string constructor
8681         (closeTag): ditto
8682
8683         * lyxfunc.C (dispatch): use boost.format
8684
8685         * lots of files: change "c" -> 'c'
8686
8687 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8688
8689         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8690
8691 2002-11-25  Angus Leeming  <leeming@lyx.org>
8692
8693         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8694
8695         * lyx_main.C (init): compile fix.
8696
8697 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8698
8699         * lyx_cb.C (start): boost.formatify
8700         do not include <iostream>
8701
8702         * lengthcommon.C: ws only
8703
8704         * boost-inst.C,BoostFormat.h: add more explict instantations
8705
8706 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * lots of files: handle USE_BOOST_FORMAT
8709
8710 2002-11-21  John Levon  <levon@movementarian.org>
8711
8712         * pspell.C: fix compile
8713
8714 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8715
8716         * lyxfunc.C (dispatch): use boost::format
8717         (open): ditto
8718         (doImport): ditto
8719
8720         * lyxfont.C (stateText): use boost::format
8721
8722         * lyx_main.C (LyX): use boost::format
8723         (init): ditto
8724         (queryUserLyXDir): ditto
8725         (readRcFile): ditto
8726         (parse_dbg): ditto
8727         (typedef boost::function): use the recommened syntax.
8728
8729         * importer.C (Import): use boost::format
8730
8731         * debug.C (showLevel): use boost::format
8732
8733         * converter.C (view): use boost::format
8734         (convert): ditto
8735         (move): ditto
8736         (scanLog): ditto
8737
8738         * bufferview_funcs.C (currentState): use boost::format
8739
8740         * bufferlist.C (emergencyWrite): use boost::format
8741
8742         * buffer.C (readLyXformat2): use boost::format
8743         (parseSingleLyXformat2Token): ditto
8744
8745         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8746
8747         * LaTeX.C (run): use boost::format
8748
8749         * Chktex.C (scanLogFile): use boost::format
8750
8751         * BufferView_pimpl.C (savePosition): use boost::format
8752         (restorePosition): ditto
8753         (MenuInsertLyXFile): ditto
8754
8755         * BoostFormat.h: help file for explicit instation.
8756
8757 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8758
8759         * tabular.C (latex): Support for block alignment in fixed width
8760         columns.
8761
8762 2002-11-17  John Levon  <levon@movementarian.org>
8763
8764         * BufferView_pimpl.C:
8765         * lyx_cb.C:
8766         * lyxfunc.C: split filedialog into open/save
8767
8768 2002-11-08  Juergen Vigna  <jug@sad.it>
8769
8770         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8771         by my last patch (hopefully).
8772
8773 2002-11-08  John Levon  <levon@movementarian.org>
8774
8775         * iterators.h:
8776         * iterators.C:
8777         * buffer.h:
8778         * buffer.C:
8779         * paragraph.h:
8780         * paragraph.C:
8781         * toc.h:
8782         * toc.C: ParConstIterator, and use it (from Lars)
8783
8784 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8785
8786         * lyxtextclass.[Ch]: revise and add doxygen comments
8787
8788 2002-11-07  John Levon  <levon@movementarian.org>
8789
8790         * text.C: fix progress value for spellchecker
8791
8792         * toc.C: fix navigate menu for insetwrap inside minipage
8793
8794         * paragraph_funcs.C: added FIXME for suspect code
8795
8796 2002-11-07  John Levon  <levon@movementarian.org>
8797
8798         * BufferView_pimpl.C: fix redrawing of insets
8799           on buffer switch
8800
8801 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8802
8803         * text2.C (updateCounters): fix bug 668
8804
8805 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8806
8807         * text3.C (dispatch): Do not make the buffer dirty when moving the
8808         cursor.
8809
8810 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * vc-backend.C: STRCONV
8813         (scanMaster): ditto
8814
8815         * text2.C (setCounter): STRCONV
8816
8817         * paragraph.C (asString): STRCONV
8818
8819         * lyxlength.C (asString): STRCONV
8820         (asLatexString): ditto
8821
8822         * lyxgluelength.C (asString): STRCONV
8823         (asLatexString): ditto
8824
8825         * lyxfunc.C (dispatch): STRCONV
8826         (open): ditto
8827
8828         * lyxfont.C (stateText): STRCONV
8829
8830         * importer.C (Import): STRCONV
8831
8832         * counters.C (labelItem): STRCONV
8833         (numberLabel): ditto
8834         (numberLabel): remove unused ostringstream o
8835
8836         * chset.C: STRCONV
8837         (loadFile): ditto
8838
8839         * bufferview_funcs.C (currentState): STRCONV
8840
8841         * buffer.C (readFile): STRCONV
8842         (asciiParagraph): ditto
8843         (makeLaTeXFile): ditto
8844
8845         * Spacing.C (writeEnvirBegin): STRCONV
8846
8847         * LaTeXFeatures.C (getLanguages): STRCONV
8848         (getPackages): ditto
8849         (getMacros): ditto
8850         (getBabelOptions): ditto
8851         (getTClassPreamble): ditto
8852         (getLyXSGMLEntities): ditto
8853         (getIncludedFiles): ditto
8854
8855         * LaTeX.C: STRCONV
8856         (run): ditto
8857         (scanAuxFile): ditto
8858         (deplog): ditto
8859
8860         * LString.h: add the STRCONV macros
8861
8862         * BufferView_pimpl.C (savePosition): STRCONV
8863         (restorePosition): ditto
8864         (MenuInsertLyXFile): ditto
8865
8866         * vc-backend.C (scanMaster): change from submatch[...] to
8867         submatch.str(...)
8868
8869         * funcrequest.C: include config.h
8870
8871         * factory.C: include config.h
8872
8873         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8874
8875         * box.C: include config.h
8876
8877         * LaTeX.C (scanAuxFile): change from submatch[...] to
8878         submatch.str(...)
8879         (deplog): ditto
8880
8881 2002-10-25  Angus Leeming  <leeming@lyx.org>
8882
8883         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8884
8885         * ispell.[Ch] (setError): new method.
8886         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8887         Use setError() insetead of goto END.
8888
8889         * lyx_cb.C (AutoSave): move out child process into new class
8890         AutoSaveBuffer.
8891
8892 2002-10-30  John Levon  <levon@movementarian.org>
8893
8894         * text3.C: make start appendix undoable
8895
8896 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8897
8898         * lyxlength.C (inPixels): Fix returned value.
8899
8900         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8901         environment.
8902
8903 2002-10-24  Angus Leeming  <leeming@lyx.org>
8904
8905         * lyxgluelength.h: no need to forward declare BufferParams
8906         or BufferView, so don't.
8907
8908 2002-10-21  John Levon  <levon@movementarian.org>
8909
8910         * BufferView.C: menuUndo ->undo, redo
8911
8912         * BufferView.h: document, remove dead, make some methods private
8913
8914         * paragraph_funcs.h:
8915         * paragraph_funcs.C:
8916         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8917
8918         * buffer.h:
8919         * buffer.C:
8920         * sgml.h:
8921         * sgml.C: move sgml open/close tag into sgml.C
8922
8923         * bufferview_funcs.h: unused prototype
8924
8925         * lyxfunc.h:
8926         * lyxfunc.C: remove unused
8927
8928         * lyxtext.h:
8929         * text.C: remove unused
8930
8931 2002-10-21  John Levon  <levon@movementarian.org>
8932
8933         * BufferView.h:
8934         * BufferView.C:
8935         * BufferView_pimpl.h:
8936         * BufferView_pimpl.C: fix mouse wheel handling based on
8937           patch from Darren Freeman
8938
8939 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8940
8941         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8942
8943 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8944
8945         * lyxlength.C (inPixels): Fix hanfling of negative length.
8946         Fix LyXLength::MU case.
8947
8948 2002-10-16  John Levon  <levon@movementarian.org>
8949
8950         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8951
8952 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8953
8954         * converter.C (view): add support for $$i (file name) and $$p
8955         (file path) for the viewer command. If $$i is not specified, then
8956         it is appended to the command (for compatibility with old syntax)
8957
8958 2002-10-14  Juergen Vigna  <jug@sad.it>
8959
8960         * undo_funcs.C (textHandleUndo): alter the order in which the
8961         new undopar is added to the LyXText, as we have to set first
8962         the right prev/next and then add it as otherwise the rebuild of
8963         LyXText is not correct. Also reset the cursor to the right paragraph,
8964         with this IMO we could remove the hack in "redoParagraphs()".
8965
8966 2002-10-09  Angus Leeming  <leeming@lyx.org>
8967
8968         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8969         to turn off an optimisation if a new inset is to be inserted.
8970
8971 2002-10-11 André Pönitz <poenitz@gmx.net>
8972
8973         * lyxtext.h: make some functions public to allow access
8974         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8975
8976 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8977
8978         * text3.C (dispatch): when changing layout, avoid an infinite loop
8979         [bug #652]
8980
8981 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8982
8983         * lyxrc.C (read): treat a viewer or converter command of "none" as
8984         if it were empty.
8985
8986         * MenuBackend.C (expandFormats): for an update, also allow the
8987         formats that are not viewable
8988
8989         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8990         script if it is newer than the lyxrc.defaults in user directory
8991
8992 2002-10-07 André Pönitz <poenitz@gmx.net>
8993
8994         * text.C: Vitaly Lipatov's small i18n fix
8995
8996 2002-09-25  Angus Leeming  <leeming@lyx.org>
8997
8998         * ispell.h: doxygen fix.
8999
9000 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9001
9002         * buffer.h (readFile): Add a new argument to the method, to allow
9003         reading of old-format templates.
9004
9005 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9006
9007         * toc.C (getTocList): Get TOC from InsetWrap.
9008
9009 2002-09-16  John Levon  <levon@movementarian.org>
9010
9011         * lyxfunc.C: check tabular for cut/copy too
9012
9013 2002-09-12  John Levon  <levon@movementarian.org>
9014
9015         * LyXAction.C: tidy
9016
9017         * factory.h:
9018         * factory.C: add header
9019
9020         * paragraph_funcs.h:
9021         * paragraph_funcs.C: cleanup
9022
9023 2002-09-11  John Levon  <levon@movementarian.org>
9024
9025         * PrinterParams.h: odd/even default to true
9026
9027 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9028
9029         * PrinterParams.h: update printer parameters for new xforms dialog
9030
9031 2002-09-11  Angus Leeming  <leeming@lyx.org>
9032
9033         * lyxserver.C (read_ready): re-write to make it more transparent
9034         and to make it work in coherent fashion under Tru64 Unix.
9035
9036 2002-09-11  André Pönitz <poenitz@gmx.net>
9037
9038         * commandtags.h:
9039         * LyXAction.C:
9040         * text3.C: implement LFUN_WORDSEL
9041
9042 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9043
9044         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9045         make floatlist_ a boost::shared_ptr<FloatList>
9046
9047         * lyxtextclass.C: include FloatList.h
9048         (LyXTextClass): initialize floatlist_
9049         (TextClassTags): add TC_NOFLOAT
9050         (Read): match "nofloat" to TC_NOFLOAT and use it.
9051         (readFloat): modify call to floatlist_
9052         (floats): ditto
9053         (floats): ditto
9054
9055         * FloatList.[Ch] (FloatList): remove commented out float
9056         initialization.
9057         (erase): new function
9058
9059 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9060
9061         * MenuBackend.C (expandToc): fix crash when there is no document
9062         open
9063
9064 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9065
9066         * many files: Add insetwrap.
9067
9068 2002-09-09  John Levon  <levon@movementarian.org>
9069
9070         * text2.C: remove confusing and awkward depth wraparound
9071
9072 2002-09-09  John Levon  <levon@movementarian.org>
9073
9074         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9075
9076         * buffer.h:
9077         * buffer.C: remove getIncludeonlyList()
9078
9079         * paragraph.C:
9080         * lyxfunc.C: remove headers
9081
9082 2002-09-09  Juergen Vigna  <jug@sad.it>
9083
9084         * text.C (getColumnNearX): fix form Michael this is most
9085         probably a cut&paste bug.
9086
9087 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9090
9091         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9092         references, ws changes.
9093
9094         * text2.C (init): update counters after init
9095         (insertParagraph): no need to set counter on idividual paragraphs.
9096         (setCounter): access the counters object in the textclass object
9097         on in the buffer object.
9098         (updateCounters): ditto
9099
9100         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9101         shared_ptr<Counters> to avoid loading counters.h in all
9102         compilation units.
9103         (LyXTextClass): initialize ctrs_
9104         (TextClassTags): add TC_COUNTER, and ...
9105         (Read): use it here.
9106         (CounterTags): new tags
9107         (readCounter): new function
9108         (counters): new funtion
9109         (defaultLayoutName): return a const reference
9110
9111         * counters.C (Counters): remove contructor
9112         (newCounter): remove a couple of unneeded statements.
9113         (newCounter): simplify a bit.
9114         (numberLabel): some small formatting changes.
9115
9116         * buffer.[Ch]: remove all traces of counters, move the Counters
9117         object to the LyXTextClass.
9118
9119 2002-09-06  Alain Castera  <castera@in2p3.fr>
9120
9121         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9122         package to set the horizontal alignment on fixed width columns.
9123
9124         * lyx_sty.C:
9125         * lyx_sty.h: added tabularnewline macro def.
9126
9127         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9128
9129 2002-09-06  John Levon  <levon@movementarian.org>
9130
9131         * LyXAction.C: tooltips for sub/superscript
9132
9133         * MenuBackend.C: a bit more verbose
9134
9135         * lyxfunc.C: tiny clean
9136
9137         * undo_funcs.C: document undo_frozen
9138
9139 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9140
9141         * counters.C (Counters): add missing algorithm counter.
9142
9143         * text2.C (setCounter): lookup the counter with layouts latexname
9144         instead of by section number.
9145         (setCounter): use a hackish way to lookup the correct enum
9146         counter.
9147         a float name->type change
9148         reset enum couners with counter name directly instead of depth value.
9149
9150         * counters.C (Counters): remove the push_backs, change to use the
9151         float type not the float name.
9152         (labelItem): remove unused string, float name->type change
9153
9154         * counters.h: don't include vector, loose the enums and sects vectors
9155
9156 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9159         (Read): add float->TC_FLOAT to textclassTags
9160         (Read): and handle it in the switch
9161         (readFloat): new function
9162
9163         * FloatList.C (FloatList): comment out the hardcoded float
9164         definitions.
9165
9166         * lyxlayout.h: ws change.
9167
9168 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9169
9170         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9171
9172 2002-09-03  Angus Leeming  <leeming@lyx.org>
9173
9174         * BufferView_pimpl.h: qualified name is not allowed in member
9175         declaration: WorkArea & Pimpl::workarea() const;
9176
9177         * factory.C: added using std::endl directive.
9178
9179         * text3.C: added using std::find and std::vector directives.
9180
9181 2002-08-29  André Pönitz <poenitz@gmx.net>
9182
9183         * lyxtext.h:
9184         * text2.C: remove unused member number_of_rows
9185
9186         * Makefile.am:
9187         * BufferView2.C: remove file, move contents to...
9188         * BufferView.C: ... here
9189
9190         * BufferView_pimpl.C:
9191         * factory.C: move more inset creation to factory
9192
9193         * vspace.C: avoid direct usage of LyXText, ws changes
9194
9195         * BufferView.[Ch]:
9196                 don't provide direct access to WorkArea, use two simple
9197                 acessors haveSelction() and workHeight() instead
9198
9199
9200 2002-08-29  John Levon  <levon@movementarian.org>
9201
9202         * BufferView_pimpl.C (dispatch): do not continue when
9203           no buffer
9204
9205 2002-08-28  André Pönitz <poenitz@gmx.net>
9206
9207         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9208
9209         * BufferView.h:
9210         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9211
9212 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9213
9214         * buffer.C: increment LYX_FORMAT to 221
9215
9216         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9217         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9218
9219         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9220
9221         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9222
9223 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * factory.C (createInset): use LyXTextClass::floats
9226
9227         * MenuBackend.C (expandFloatListInsert):
9228         (expandFloatInsert):
9229         (expandToc):
9230
9231         * text2.C (setCounter):
9232
9233         * LaTeXFeatures.C (useFloat):
9234         (getFloatDefinitions):
9235
9236         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9237
9238         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9239         floatlist_, with accessor floats().
9240
9241         * FloatList.h: remove global FloatList
9242
9243 2002-08-26  André Pönitz <poenitz@gmx.net>
9244
9245         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9246
9247         * BufferView.h:
9248         * BufferView2.C:
9249         * BufferView_pimpl.C:
9250         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9251
9252 2002-08-25  John Levon  <levon@movementarian.org>
9253
9254         * LyXAction.C: fix margin note description
9255
9256 2002-08-24  John Levon  <levon@movementarian.org>
9257
9258         * buffer.C:
9259         * bufferlist.C:
9260         * bufferview_funcs.C:
9261         * lyxfont.C:
9262         * undo_funcs.C: cleanups
9263
9264         * lyxfunc.C: disable CUT/COPY when no selection
9265
9266 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9267
9268         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9269         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9270
9271         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9272         Add backward compatibility to "mono", "gray" and "no".
9273
9274 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9275
9276         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9277         (and file_format >= 200).
9278
9279 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9280
9281         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9282
9283 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9284
9285         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9286
9287 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9288
9289         * BufferView_pimpl.C:
9290         * LyXAction.C:
9291         * buffer.C:
9292         * commandtags.h:
9293         * lyxfunc.C:
9294         * paragraph.[Ch]:
9295         * text2.C:
9296         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9297         inset and code to make it  work with the paragraph code. The inset
9298         can be anywhere in the paragraph, but will only do the expected
9299         thing in LaTeX if the layout file contains the parameter line
9300                         OptionalArgs    1
9301         (or more generally, a nonzero value) for that layout.
9302
9303 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9304
9305         * paragraph.h: remove the declaration of undefined counters class
9306         function.
9307
9308 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9309
9310         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9311         Dr. Richard Hawkins.
9312
9313 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9314
9315         * paragraph_funcs.h: remove some unneeded includes
9316
9317         * text.C (backspace): pasteParagraph now in global scipe
9318
9319         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9320         (pasteSelection): ditto
9321
9322         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9323         * paragraph_funcs.C (pasteParagraph): ... here
9324
9325 2002-08-20  André Pönitz <poenitz@gmx.net>
9326
9327         * commandtags.h: new LFUNs for swapping/copying table row/colums
9328
9329         * LyXAction.C:
9330         * lyxfunc.C: support for new lfuns
9331
9332 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9333
9334         * tabular.C:
9335         * buffer.[Ch]: remove NO_COMPABILITY stuff
9336
9337 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9338
9339         * boost.C (throw_exception): new file, with helper function for
9340         boost compiled without exceptions.
9341
9342         * paragraph.h:
9343         * lyxlength.C:
9344         * buffer.C:
9345         * ParameterStruct.h:
9346         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9347
9348         * bufferlist.C (emergencyWriteAll): use boost bind
9349
9350         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9351
9352         * text.C: include paragraph_funcs.h
9353         (breakParagraph): breakParagraph is now in global scope
9354
9355         * paragraph_funcs.[Ch]: new files
9356
9357         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9358         global scope
9359
9360         * buffer.C: include paragraph_funcs.h
9361         (insertStringAsLines): breakParagraph is now in global scope
9362
9363         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9364         paragraph_funcs.C
9365
9366         * CutAndPaste.C: include paragraph_funcs.h
9367         (cutSelection): breakParagraphConservative is now in global scope
9368         (pasteSelection): ditto
9369
9370         * buffer.h: declare oprator== and operator!= for
9371         Buffer::inset_iterator
9372
9373         * bufferlist.C (emergencyWrite): don't use fmt(...)
9374
9375         * text3.C: add using std::endl
9376
9377         * BufferView.C (moveCursorUpdate): remove default arg
9378
9379 2002-08-20  André Pönitz <poenitz@gmx.net>
9380
9381         * buffer.[Ch]: move inline functions to .C
9382
9383         * BufferView2.C:
9384         * BufferView_pimpl.C:
9385         * text.C:
9386         * buffer.[Ch]: use improved inset_iterator
9387
9388         * buffer.C:
9389         * paragraph.[Ch]: write one paragraph at a time
9390
9391 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9392
9393         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9394         style if style is not specified.
9395
9396 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9397
9398         * text2.C (setCounter): when searching for right label for a
9399         caption, make sure to recurse to parent insets (so that a caption
9400         in a minipage in a figure float works) (bug #568)
9401
9402 2002-08-20  André Pönitz <poenitz@gmx.net>
9403
9404         * text3.C: new file for LyXText::dispatch() and helpers
9405
9406         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9407
9408         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9409
9410 2002-08-19  André Pönitz <poenitz@gmx.net>
9411
9412         * lyxtext.h:
9413         * text.C: new LyXText::dispatch()
9414
9415         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9416
9417 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9418
9419         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9420
9421         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9422         Hebrew text.
9423
9424 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * Makefile.am: use $(variables) instead of @substitutions@
9427
9428 2002-08-15  André Pönitz <poenitz@gmx.net>
9429
9430         * lyxfunc.C:
9431         * BufferView_pimpl.C: streamlining mathed <-> outer world
9432         interaction
9433
9434         * commandtags.h:
9435         * LyXAction.C: remove unused LFUN_MATH
9436
9437 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9438
9439         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9440
9441 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9442
9443         * paragraph.C (Paragraph): reformat a bit
9444         (cutIntoMinibuffer): use builtin InsetList function instad of
9445         doing it manually.
9446         (getInset): ditto
9447
9448         * buffer.C: include boost/bind.hpp, add using std::for_each
9449         (writeFileAscii): use ParagraphList iterators
9450         (validate): use for_each for validate traversal of paragraphs
9451         (getBibkeyList): use ParagraphList iterators
9452         (resizeInsets): use for_each to resizeInsetsLyXText for all
9453         paragraphs.
9454         (getParFromID): use ParagraphList iterators
9455
9456         * BufferView2.C (lockInset): use paragraph list and iterators
9457
9458 2002-08-14  John Levon  <levon@movementarian.org>
9459
9460         * lyxserver.C: remove spurious xforms include
9461
9462 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9463
9464         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9465
9466 2002-08-13  André Pönitz <poenitz@gmx.net>
9467
9468         * LyXAction.[Ch]:
9469         * lyxfunc.C: further cleaning
9470
9471 2002-08-13  André Pönitz <poenitz@gmx.net>
9472
9473         * funcrequest.h: new constructor
9474
9475         * funcrequest.C: move stuff here from .h
9476
9477         * Makefile.am:
9478         * BufferView_pimpl.C:
9479         * LyXAction.C:
9480         * toc.C:
9481         * lyxfunc.C: subsequent changes
9482
9483         * lyxfunc.h: new view() member function
9484
9485         * lyxfunc.C: subsequent changes
9486
9487 2002-08-13  Angus Leeming  <leeming@lyx.org>
9488
9489         * BufferView2.C:
9490         * BufferView_pimpl.C:
9491         * buffer.C:
9492         * converter.C:
9493         * importer.C:
9494         * lyxfunc.C:
9495         * lyxvc.C:
9496         * toc.C:
9497         * vc-backend.C:
9498         changes due to the changed LyXView interface that now returns references
9499         to member variables not pointers.
9500
9501 2002-08-13  Angus Leeming  <leeming@lyx.org>
9502
9503         * WordLangTuple (word, lang_code): return references to strings,
9504         not strings.
9505
9506         * BufferView.h:
9507         * SpellBase.h:
9508         * lyxtext.h: forward-declare WordLangTuple.
9509
9510         * BufferView2.C:
9511         * ispell.C:
9512         * pspell.C:
9513         * text.C: #include "WordLangTuple.h".
9514
9515         * lyxtext.h:
9516         * text.C: (selectNextWordToSpellcheck): constify return type.
9517
9518 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9519
9520         * buffer.C:
9521         * buffer.h:
9522         * lyxtext.h:
9523         * paragraph.C:
9524         * paragraph_pimpl.h:
9525         * text.C:
9526         * text2.C:
9527         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9528         suggested by Angus.
9529         Made updateCounter always count from start of buffer, and removed
9530         second argument (par).
9531         Reverted floats number display to '#'. Perhaps I'll try again when the
9532         code base is sanitized a bit.
9533
9534 2002-08-12  Angus Leeming  <leeming@lyx.org>
9535
9536         * buffer.[Ch] (getLabelList): constify.
9537
9538 2002-08-07  André Pönitz <poenitz@gmx.net>
9539
9540         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9541
9542         * funcrequest.h: extension to keep mouse (x,y) position
9543
9544 2002-08-12  Juergen Vigna  <jug@sad.it>
9545
9546         * BufferView2.C (insertErrors): forbid undo when inserting error
9547         insets.
9548
9549         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9550
9551 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9552
9553         * ParagraphList.[Ch]: new files
9554
9555         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9556
9557         * BufferView2.C (lockInset): ParagraphList changes
9558         * toc.C: ditto
9559         * text2.C: ditto
9560         * bufferlist.C: ditto
9561         * buffer.h: ditto
9562         * buffer.C: ditto
9563
9564 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9565
9566         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9567         unused class variable counter_,
9568
9569         * paragraph.[Ch] (getFirstCounter): delete unused function
9570
9571         * counters.C: include LAssert.h
9572         (reset): add a new function with no arg, change other version to
9573         not have def. arg and to not allow empty arg.
9574
9575         * text2.C (setCounter): remove empty arg from call to Counters::reset
9576
9577 2002-08-11  John Levon  <levon@movementarian.org>
9578
9579         * Makefile.am: add WordLangTuple.h
9580
9581 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9582
9583         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9584         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9585
9586         * insets/insettext.C: InsetList changes
9587
9588         * graphics/GraphicsSupport.C (operator()): InsetList changes
9589
9590         * toc.C (getTocList): InsetList changes
9591
9592         * paragraph_pimpl.[Ch]: InsetList changes
9593
9594         * paragraph.[Ch]: InsetList changes
9595
9596         * buffer.C (inset_iterator): InsetList changes
9597         (setParagraph): ditto
9598         * buffer.h (inset_iterator): ditto
9599         * iterators.C (operator++): ditto
9600         * iterators.h: ditto
9601
9602         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9603
9604         * InsetList.[Ch]: new files, most InsetList handling moved out of
9605         paragraph.C.
9606
9607         * BufferView2.C (removeAutoInsets): InsetList changes
9608         (lockInset): ditto
9609         (ChangeInsets): ditto
9610
9611 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9612
9613         * paragraph_pimpl.h (empty): new function
9614
9615         * paragraph.[Ch] (empty): new function
9616
9617         * other files: use the new Paragraph::empty function
9618
9619 2002-08-09  John Levon  <levon@movementarian.org>
9620
9621         * lyxtext.h: remove unused refresh_height
9622
9623 2002-08-09  John Levon  <levon@movementarian.org>
9624
9625         * Makefile.am:
9626         * sgml.h:
9627         * sgml.C:
9628         * buffer.C:
9629         * paragraph.h:
9630         * paragraph.C: move sgml char escaping out of paragraph
9631
9632         * paragraph.h:
9633         * paragraph.C: remove id setter
9634
9635         * buffer.C:
9636         * paragraph.C:
9637         * paragraph_pimpl.C: remove dead tex_code_break_column
9638
9639         * bufferview_funcs.C: small cleanup
9640
9641         * lyxfunc.C: remove dead proto
9642
9643         * lyxtext.h: make some stuff private. Remove some dead stuff.
9644
9645         * lyxgluelength.C: make as[LyX]String() readable
9646
9647 2002-08-08  John Levon  <levon@movementarian.org>
9648
9649         * LyXAction.h:
9650         * LyXAction.C:
9651         * MenuBackend.C:
9652         * ToolbarDefaults.C:
9653         * lyxfunc.C:
9654         * lyxrc.C:
9655         * toc.C: lyxaction cleanup
9656
9657 2002-08-08  John Levon  <levon@movementarian.org>
9658
9659         * BufferView2.C: small cleanup
9660
9661         * lyxfind.h:
9662         * lyxfind.C: move unnecessary header into the .C
9663
9664 2002-08-08  John Levon  <levon@movementarian.org>
9665
9666         * funcrequest.h: just tedious nonsense
9667
9668         * lyx_main.h:
9669         * lyx_main.C: cleanups
9670
9671         * buffer.C:
9672         * vspace.C: remove dead header lyx_main.h
9673
9674 2002-08-07  Angus Leeming  <leeming@lyx.org>
9675
9676         * Paragraph.[Ch]:
9677         * paragraph_pimpl.h:
9678         Forward declare class Counters in paragraph.h by moving the ctrs member
9679         variable into Paragraph::Pimpl.
9680         (counters): new method, returning a reference to pimpl_->ctrs.
9681
9682         * text2.C: ensuing changes.
9683
9684 2002-08-07  John Levon  <levon@movementarian.org>
9685
9686         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9687
9688         * BufferView_pimpl.C: announce X selection on double/triple
9689           click
9690
9691         * lyx_main.C: use correct bool in batch dispatch
9692
9693         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9694
9695 2002-08-07  André Pönitz <poenitz@gmx.net>
9696
9697         * funcrequest.h: new class to wrap a kb_action and its argument
9698
9699         * BufferView.[Ch]:
9700         * BufferView_pimpl[Ch]:
9701         * LaTeX.C:
9702         * LyXAction.[Ch]:
9703         * lyxfunc.[Ch]:
9704         * lyxrc.C: subsequent changes
9705
9706
9707 2002-08-07  John Levon  <levon@movementarian.org>
9708
9709         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9710           document options change.
9711
9712 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9713
9714         * counters.[Ch]
9715         * text2.C
9716         * paragraph.[Ch]
9717         * makefile.am: move counters functionality over from
9718         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9719
9720 2002-08-06  John Levon  <levon@movementarian.org>
9721
9722         * WordLangTuple.h: new file for word + language code tuple
9723
9724         * SpellBase.h:
9725         * pspell.h:
9726         * pspell.C:
9727         * ispell.h:
9728         * ispell.C:
9729         * lyxtext.h:
9730         * text.C:
9731         * text2.C:
9732         * BufferView.h:
9733         * BufferView2.C: use WordLangTuple
9734
9735         * layout.h:
9736         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9737
9738 2002-08-06  John Levon  <levon@movementarian.org>
9739
9740         * lyx_main.C: fix cmdline batch handling
9741
9742 2002-08-06  André Pönitz <poenitz@gmx.net>
9743
9744         * lyxrc.C: set default for show_banner to true
9745
9746 2002-08-06  John Levon  <levon@movementarian.org>
9747
9748         * pspell.C: fix a crash, and allow new aspell to work
9749
9750 2002-08-06  John Levon  <levon@movementarian.org>
9751
9752         * lyxfunc.C:
9753         * kbmap.C: small cleanup
9754
9755         * vspace.h:
9756         * vspace.C: add const
9757
9758 2002-08-05  John Levon  <levon@movementarian.org>
9759
9760         * LyXAction.C: back to tabular-insert
9761
9762 2002-08-04  John Levon  <levon@movementarian.org>
9763
9764         * BufferView.h:
9765         * BufferView.C: cosmetic change
9766
9767         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9768
9769         * bufferlist.C:
9770         * buffer.h:
9771         * buffer.C:
9772         * lyxcb.h:
9773         * lyxcb.C:
9774         * lyxserver.C:
9775         * lyxvc.C:
9776         * vc-backend.C:
9777         * BufferView2.C: purge all "Lyx" not "LyX" strings
9778
9779         * lyxcursor.h:
9780         * lyxcursor.C: attempt to add some documentation
9781
9782         * lyxfunc.C:
9783         * commandtags.h:
9784         * LyXAction.C:
9785         * ToolbarDefaults.C:
9786         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9787           merge with LFUN_TABULAR_INSERT
9788
9789         * Makefile.am:
9790         * SpellBase.h:
9791         * ispell.h:
9792         * ispell.C:
9793         * pspell.h:
9794         * pspell.C: split up i/pspell implementations into separate
9795           files, many cleanups
9796
9797         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9798
9799         * text2.C: some cleanup
9800
9801         * lyxfunc.C: don't check for isp_command == "none" any more, it
9802           didn't make any sense
9803
9804 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9805
9806         * counters.[Ch]
9807         * text2.C
9808         * paragraph.[Ch]
9809         * makefile.am: move counters functionality over
9810         from text2.C/paragraph.[Ch] to counters.[Ch], and
9811         make proper C++.
9812 2002-08-02  John Levon  <levon@movementarian.org>
9813
9814         * buffer.C: s/lyxconvert/lyx2lyx/
9815
9816 2002-08-02  Angus Leeming  <leeming@lyx.org>
9817
9818         * lyxlex.C: revert John's change as it breaks reading of the user
9819         preamble.
9820
9821 2002-08-02  Angus Leeming  <leeming@lyx.org>
9822
9823         * importer.C (Import):
9824         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9825         changes due to LyXView::view() now returning a boost::shared_ptr.
9826
9827 2002-08-02  John Levon  <levon@movementarian.org>
9828
9829         * lyxlex.C: small cleanup
9830
9831 2002-08-02  John Levon  <levon@movementarian.org>
9832
9833         * text2.C (status): small cleanup, no logic change
9834
9835 2002-08-01  John Levon  <levon@movementarian.org>
9836
9837         * buffer.h:
9838         * buffer.C (writeFile): don't output alerts, caller
9839           handles this
9840
9841         * bufferlist.C:
9842         * lyx_cb.C: from above
9843
9844         * lyxfunc.C: allow to open non-existent files
9845
9846 2002-07-31  John Levon  <levon@movementarian.org>
9847
9848         * lyxserver.C: don't let incidental errors get
9849           in the way (errno)
9850
9851 2002-07-30  John Levon  <levon@movementarian.org>
9852
9853         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9854
9855 2002-07-30  John Levon  <levon@movementarian.org>
9856
9857         * lyxserver.h:
9858         * lyxserver.C: remove I/O callback too
9859
9860 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9863         log.
9864
9865 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9866
9867         * many files: strip,frontStrip -> trim,ltrim,rtrim
9868
9869 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9870
9871         * PrinterParams.h: remove extern containsOnly, and include
9872         support/lstrings.h instead.
9873
9874         * LaTeX.C (scanAuxFile): modify because of strip changes
9875         (deplog): ditto
9876         * buffer.C (makeLaTeXFile): ditto
9877         * bufferparams.C (writeFile): ditt
9878         * lyxfont.C (stateText): ditto
9879         * lyxserver.C (read_ready): ditto
9880         * vc-backend.C (scanMaster): ditto
9881
9882         * BufferView_pimpl.h: ws changes
9883
9884         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9885
9886 2002-07-26  André Pönitz <poenitz@gmx.net>
9887
9888         * kb_sequence.C: remove unnedred usings
9889
9890 2002-07-26  Juergen Vigna  <jug@sad.it>
9891
9892         * lyxfind.C (LyXReplace): we have to check better if the returned
9893         text is not of theLockingInset()->getLockingInset().
9894
9895 2002-07-25  Juergen Vigna  <jug@sad.it>
9896
9897         * lyxfind.C (LyXReplace): don't replace if we don't get the
9898         right LyXText.
9899
9900         * undo_funcs.C (createUndo): remove debugging code.
9901
9902 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9903
9904         * buffer.C (parseSingleLyXformat2Token): Use default placement
9905         when reading old floats.
9906
9907         * FloatList.C (FloatList): Change the default placement of figure
9908         and tables to "tbp".
9909
9910 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * MenuBackend.C: using std::max
9913
9914 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9915
9916         * MenuBackend.C (expandToc):
9917         (expandToc2): code moved from xforms menu frontend. It is now
9918         generic and TOCs are transparent to menu frontends.
9919
9920 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * toc.C (getTocList): protect against buf=0
9923
9924         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9925         Menu as first parameter. Now, this calls itself recursively to
9926         expand a whole tree (this will be useful for TOC handling)
9927         (expandFloatInsert): remove 'wide' version of floats
9928
9929         * MenuBackend.h (submenuname): returns the name of the submenu.
9930         (submenu): returns the submenu itself, provided it has been
9931         created by MenuBackend::expand
9932
9933 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9934
9935         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9936         insets which have noFontChange == true. (bug #172)
9937
9938 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9939
9940         * BufferView_pimpl.C: add connection objects and use them...
9941         (Pimpl): here.
9942
9943 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9944
9945         * MenuBackend.C (expandLastfiles):
9946         (expandDocuments):
9947         (expandFormats):
9948         (expandFloatListInsert):
9949         (expandFloatInsert):
9950         (expand): split expand in parts
9951
9952 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * lyx_gui.C: use lyx_gui::exit()
9955
9956 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * LyXAction.C: show the failing pseudo action
9959
9960 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9961
9962         * buffer.C (readFile): Run the lyxconvert script in order to read
9963         old files.
9964
9965 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * LyXAction.C:
9968         * commandtags.h:
9969         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9970
9971 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * LyXAction.C:
9974         * commandtags.h:
9975         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9976
9977 2002-07-22  Herbert Voss  <voss@lyx.org>
9978
9979         * lengthcommon.C:
9980         * lyxlength.[Ch]: add support for the vertical lengths
9981
9982 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9983
9984         * toc.[Ch]: std:: fixes
9985
9986 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9987
9988         * lyxrc.C: do not include lyx_main.h
9989
9990         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9991         for layouts
9992
9993         * lyxrc.C:
9994         * encoding.C:
9995         * bufferlist.C:
9996         * BufferView2.C: include "lyxlex.h"
9997
9998         * tabular.h:
9999         * bufferparams.h: do not #include "lyxlex.h"
10000
10001         * lyxtextclasslist.C (Add): remove method
10002         (classlist): renamed to classlist_
10003
10004         * paragraph_pimpl.C:
10005         * paragraph.C:
10006         * text2.C:
10007         * CutAndPaste.C:
10008         * bufferview_funcs.C:
10009         * bufferlist.C:
10010         * text.C:
10011         * LaTeXFeatures.C:
10012         * buffer.C:
10013         * toc.C (getTocList): use BufferParams::getLyXTextClass
10014
10015         * toc.C (getTocList): use InsetFloat::addToToc
10016
10017         * toc.[Ch]: new files, containing helper functions to handle table
10018         of contents
10019
10020         * lyxfunc.C (dispatch): no need to remove spaces around command
10021         given as a string
10022         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10023         first command of the sequence; it is not very clever, but I do not
10024         have a better idea, actually
10025
10026         * LyXAction.C (LookupFunc): make sure to remove space at the
10027         beginning and end of the command
10028
10029 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10030
10031         * MenuBackend.C (getMenubar): new method: return the menubar of
10032         this menu set
10033         (read): treat differently reading of menu and menubar (in
10034         particular, the menubar has no name now)
10035         (Menu::menubar): remove
10036
10037         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10038         saving is finished
10039
10040 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10041
10042         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10043         a bibitem inset in a RTL paragraph.
10044
10045 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * paragraph_pimpl.C: constify
10048
10049         * BufferView_pimpl.C:
10050         * LaTeX.C:
10051         * lyxfunc.C: fix dispatch in a nicer way
10052
10053 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * lyxfunc.C (dispatch):
10056         * BufferView_pimpl.C:
10057         * BufferView_pimpl.h:
10058         * BufferView.C:
10059         * BufferView.h: rename Dispatch() to dispatch()
10060
10061         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10062
10063         * lyxlayout.C (Read): honor DependsOn tag
10064
10065         * lyxlayout.[Ch] (depends_on): new method
10066
10067         * version.C.in: update lyx_docversion
10068
10069         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10070
10071         * paragraph.C (validate): remove from here...
10072         * paragraph_pimpl.C (validate): ... and move here
10073         (isTextAt): make it const
10074
10075         * buffer.C (getLists): ws cleanup
10076
10077 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10078
10079         * language.C (read): Use iso8859-1 encoding in latex_lang
10080         (this prevents LyX from crashing when using iso10646-1 encoding).
10081
10082 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10083
10084         * text2.C (toggleInset): if cursor is inside an inset, close the
10085         inset and leave cursor _after_ it
10086
10087 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * lyxfunc.C: move minibuffer completion handling out of here
10090
10091 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * BufferView_pimpl.C:
10094         * LaTeX.C: fix dispatch calls
10095
10096 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10097
10098         * text.C (drawChars): Fix Arabic text rendering.
10099
10100 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * LyXAction.C:
10103         * commandtags.h:
10104         * lyxfunc.C: remove message-push/pop
10105
10106         * lyxserver.C:
10107         * lyxfunc.h:
10108         * lyxfunc.C: rationalise some code by removing verboseDispatch
10109           in favour of a bool argument to dispatch()
10110
10111 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * lyx_main.C (init): make sure to read symlinks as absolute paths
10114
10115 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * lyxfunc.h:
10118         * lyxfunc.C: no need for commandshortcut to be a member
10119
10120 2002-07-15  André Pönitz <poenitz@gmx.net>
10121
10122         * converter.C: add support for $$s (scripts from lib/scripts dir)
10123         * lyx_main.C: white space
10124
10125 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * bufferlist.C:
10128         * lyxrc.h:
10129         * lyxrc.C: remove second exit confirmation
10130
10131 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * BufferView.h:
10134         * BufferView.C:
10135         * BufferView2.C:
10136         * BufferView_pimpl.h:
10137         * BufferView_pimpl.C:
10138         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10139
10140 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10141
10142         * MenuBackend.C (expand): add numeric shortcuts to document menu
10143
10144         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10145
10146 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10147
10148         * lyxfont.C (setLyXFamily):
10149         (setLyXSeries):
10150         (setLyXShape):
10151         (setLyXSize):
10152         (setLyXMisc):
10153         (lyxRead):
10154         * debug.C (value):
10155         * buffer.C (asciiParagraph): use ascii_lowercase
10156
10157 2002-07-15  Mike Fabian  <mfabian@suse.de>
10158
10159         * lyxlex_pimpl.C (search_kw):
10160         * lyxlex.C (getLongString):
10161         * converter.h (operator<):
10162         * converter.C (operator<):
10163         * buffer.C (parseSingleLyXformat2Token):
10164         (asciiParagraph):
10165         * ToolbarDefaults.C (read):
10166         * MenuBackend.C (checkShortcuts):
10167         (read):
10168         * LColor.C (getFromGUIName):
10169         (getFromLyXName): use the compare_ascii_no_case instead of
10170         compare_no_case, because in turkish, 'i' is not the lowercase
10171         version of 'I', and thus turkish locale breaks parsing of tags.
10172
10173 2002-07-16  Angus Leeming  <leeming@lyx.org>
10174
10175         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10176         now takes a Buffer const & argument.
10177
10178 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * BufferView.C (resize): check there's a buffer to resize
10181
10182 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10183
10184         * lyxfunc.C: remove dead code
10185
10186         * lyxserver.h:
10187         * lyxserver.C: use lyx_guii::set_read_callback
10188
10189 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10190
10191         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10192         an inset in a RTL paragraph.
10193
10194 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * lyxfunc.C: repaint after a font size update
10197
10198 2002-07-15  André Pönitz <poenitz@gmx.net>
10199
10200         * lyxlength.C: inBP should be able to return negative values
10201
10202 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * lyxfunc.C: use lyx_gui::update_fonts()
10205
10206 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * lyxfunc.C: use lyx_gui::update_color()
10209
10210 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * bufferlist.C:
10213         * lyxfunc.h:
10214         * lyxfunc.C:
10215         * lyxrc.h:
10216         * lyxrc.C: remove file->new asks for name option, and let
10217           buffer-new take an argument
10218
10219 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * BufferView_pimpl.C: remove unneeded extra repaint()
10222
10223 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * LyXAction.C: allow command-sequence with NoBuffer
10226
10227         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10228
10229 2002-07-10  Angus Leeming  <leeming@lyx.org>
10230
10231         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10232
10233 2002-07-09  Angus Leeming  <leeming@lyx.org>
10234
10235         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10236
10237 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * lengthcommon.h: whitespace
10240
10241         * lyxfunc.C: update scrollbar after goto paragraph
10242
10243         * lyxtext.h: factor out page break drawing, and fix it so
10244           page break/added space paints as selected nicely
10245
10246 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * BufferView_pimpl.C: add FIXMEs, clean up a little
10249
10250 2002-07-09  André Pönitz <poenitz@gmx.net>
10251
10252         * lyxfont.[Ch]: support for wasy symbols
10253
10254 2002-07-08  André Pönitz <poenitz@gmx.net>
10255
10256         * BufferView_pimpl.C: apply John's patch for #93.
10257
10258 2002-07-05  Angus Leeming  <leeming@lyx.org>
10259
10260         * BufferView_pimpl.C (buffer): generate previews if desired.
10261
10262         * LColor.h: add "preview" to the color enum.
10263
10264         * LColor.C (LColor): add a corresponding entry to the items array.
10265
10266         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10267         with this buffer.
10268
10269 2002-07-05  Angus Leeming  <leeming@lyx.org>
10270
10271         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10272         The body of the code is now in the method that is passed an ostream &
10273         rather than a file name.
10274         Pass an additional only_preamble parameter, useful for the forthcoming
10275         preview stuff.
10276
10277 2002-07-03  André Pönitz <poenitz@gmx.net>
10278
10279         * lyxfunc.C: simplify getStatus() a bit for math stuff
10280
10281 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10284
10285 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10286
10287         * text.C (changeRegionCase): do not change case of all the
10288         document when region ends at paragraph end (bug #461)
10289
10290 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * paragraph.C (startTeXParParams):
10293         (endTeXParParams): add \protect when necessary
10294
10295 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * BufferView_pimpl.C (workAreaExpose): remove warning
10298
10299 2002-06-27  Angus Leeming  <leeming@lyx.org>
10300
10301         * Makefile.am: add lyxlayout_ptr_fwd.h.
10302
10303 2002-06-26  André Pönitz <poenitz@gmx.net>
10304
10305         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10306
10307 2002-06-25  Angus Leeming  <leeming@lyx.org>
10308
10309         * lyxfunc.C (dispatch): Comment out the call to
10310         grfx::GCache::changeDisplay. The method no longer exists now that the
10311         pixmap generation part of the graphics loader has been moved into
10312         InsetGraphics.
10313
10314 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * text2.C: layout as layout
10317
10318         * text.C: layout as layout
10319
10320         * tabular.C (OldFormatRead): layout as layout
10321
10322         * paragraph_pimpl.C (TeXDeeper): layout as layout
10323         (realizeFont): layout as layout
10324
10325         * paragraph.C (writeFile): layout as layout
10326         (validate): layout as layout
10327         (getFont): layout as layout
10328         (getLabelFont): layout as layout
10329         (getLayoutFont): layout as layout
10330         (breakParagraph): layout as layout
10331         (stripLeadingSpaces): layout as layout
10332         (getEndLabel): layout as layout
10333         (getMaxDepthAfter): layout as layout
10334         (applyLayout): layout as layout
10335         (TeXOnePar): layout as layout
10336         (simpleTeXOnePar): layout as layout
10337         (TeXEnvironment): layout as layout
10338         (layout): layout as layout
10339         (layout): layout as layout
10340
10341         * lyxtextclass.C (compare_name): new functor to work with
10342         shared_ptr, layout as layout
10343         (Read): layout as layout
10344         (hasLayout): layout as layout
10345         (operator): layout as layout
10346         (delete_layout): layout as layout
10347         (defaultLayout): layout as layout
10348
10349         * lyxlayout_ptr_fwd.h: new file
10350
10351         * lyxlayout.C (Read): layout as layout
10352
10353         * lyx_cb.C (MenuInsertLabel): layout as layout
10354
10355         * bufferlist.C (newFile): layout as layout
10356
10357         * buffer.C (readLyXformat2): layout as layout
10358         (parseSingleLyXformat2Token): layout as layout
10359         (insertStringAsLines): layout as layout
10360         (asciiParagraph): layout as layout
10361         (latexParagraphs): layout as layout
10362         (makeLinuxDocFile): layout as layout
10363         (simpleLinuxDocOnePar): layout as layout
10364         (makeDocBookFile): layout as layout
10365         (simpleDocBookOnePar): layout as layout
10366         (getLists): layout as layout
10367
10368         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10369
10370         * CutAndPaste.C (cutSelection): layout as layout
10371         (pasteSelection): layout as layout
10372         (SwitchLayoutsBetweenClasses): layout as layout
10373
10374         * BufferView_pimpl.C (Dispatch): layout as layout
10375         (smartQuote): layout as layout
10376
10377         * BufferView2.C (unlockInset): layout as layout
10378
10379 2002-06-24  André Pönitz <poenitz@gmx.net>
10380
10381         * lyxfunc.C: fix #487
10382
10383 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * lyxrc.h:
10386         * lyxrc.C:
10387         * lyxfunc.C: remove display_shortcuts, show_banner
10388
10389 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * Buffer_pimpl.C: oops, update on resize
10392
10393 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * buffer.C:
10396         * converter.C:
10397         * exporter.C:
10398         * lyxfunc.C:
10399         * BufferView.h:
10400         * BufferView.C: use repaint()
10401
10402         * BufferView_pimpl.h:
10403         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10404           as it's a clearer description. Remove superfluous
10405           redraws.
10406
10407 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * text.C: fix bug 488. Not ideal, but getting
10410           getWord() to work properly for the insets that
10411           matter is more difficult ...
10412
10413 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * BufferView_pimpl.C:
10416         * LyXAction.C:
10417         * commandtags.h:
10418         * lyxfunc.C: remove the six million index lyxfuncs to just
10419           one, and DTRT (bug 458)
10420
10421 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * BufferView.h:
10424         * BufferView.C:
10425         * BufferView_pimpl.h:
10426         * BufferView_pimpl.C: clean up resize() stuff,
10427           and unnecessary updateScreen()s
10428
10429 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * BufferView.h:
10432         * BufferView.C:
10433         * BufferView_pimpl.h:
10434         * BufferView_pimpl.C:
10435         * lyxfind.h:
10436         * lyxfind.C:
10437         * minibuffer.C: remove focus management of workarea,
10438           not needed. Use screen's greyOut()
10439
10440 2002-06-17  Herbert Voss  <voss@lyx.org>
10441
10442         * converter.C: (convert) do not post a message, when converting
10443         fails, let the calling function decide what to do in this case
10444
10445 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * lyxfunc.C: tidy up a little
10448
10449 2002-06-16    <alstrup@diku.dk>
10450
10451         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10452         Got rid of FORMS_H_LOCATION include. Now we are
10453         GUII.
10454
10455 2002-06-15  LyX Development team  <lyx@rilke>
10456
10457         * buffer.[Ch] (sgmlOpenTag):
10458         (sgmlCloseTag): Added support for avoiding pernicious mixed
10459         content. Return number of lines written.
10460
10461         (makeLinuxDocFile):
10462         (makeDocBookFile): Fixed calls to sgml*Tag.
10463         Simple white space clean.
10464
10465         (simpleDocBookOnePar): Simple white space clean.
10466
10467         * tabular.[Ch] (docBook): Renamed to docbook and got another
10468         argument to related with the pernicious mixed content.
10469
10470         (docbookRow): Fixed calls for docbook inset method.
10471
10472 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10473
10474         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10475         so it's X11 independent.
10476
10477         * kb*.[Ch]: ditto.
10478
10479         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10480
10481 2002-06-15  Lyx Development team  <lyx@electronia>
10482
10483         * intl.h: Renamed getTrans to getTransManager.
10484
10485 2002-06-14  Angus Leeming  <leeming@lyx.org>
10486
10487         * Makefile.am: nuke forgotten stl_string_fwd.h.
10488
10489 2002-06-12  Angus Leeming  <leeming@lyx.org>
10490
10491         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10492
10493 2002-06-13  Angus Leeming  <leeming@lyx.org>
10494
10495         * LaTeX.C:
10496         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10497
10498 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10499
10500         * kbmap.C (getiso): add support for cyrillic and greek
10501
10502 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * BufferView.h:
10505         * BufferView.C:
10506         * BufferView_pimpl.h:
10507         * BufferView_pimpl.C: move bogus scrolling logic
10508           to xforms
10509
10510 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * lyxfunc.C:
10513         * BufferView_pimpl.C: view->resize() change
10514
10515 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * BufferView_pimpl.C: topCursorVisible
10518           prototype change
10519
10520 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * Makefile.am:
10523         * lyx_gui.h:
10524         * lyx_gui.C: move to frontends/
10525
10526         * main.C:
10527         * lyx_main.h:
10528         * lyx_main.C: changes from above
10529
10530 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * intl.C:
10533         * intl.h:
10534         * kbmap.C:
10535         * kbsequence.C:
10536         * lyx_cb.C:
10537         * lyx_main.C: minor tidy
10538
10539 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * BufferView_pimpl.h:
10542         * BufferView_pimpl.C:
10543         * BufferView.h:
10544         * BufferView.C: make painter() const,
10545           remove dead code
10546
10547         * BufferView2.C: use screen() accessor
10548
10549         * lyx_main.h:
10550         * lyx_main.C: some minor cleanup
10551
10552 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * BufferView_pimpl.h:
10555         * BufferView_pimpl.C: remove enter/leaveView,
10556           use workHeight()
10557
10558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * BufferView.h:
10561         * BufferView.C:
10562         * BufferView2.C:
10563         * BufferView_pimpl.h:
10564         * BufferView_pimpl.C: only construct screen once,
10565           rename
10566
10567         * lyxrc.C: remove pointless comment
10568
10569 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * BufferView.h:
10572         * BufferView.C: remove active() and belowMouse()
10573
10574         * BufferView_pimpl.h:
10575         * BufferView_pimpl.C: use workarea() not workarea_,
10576           and make it use a scoped_ptr instead
10577
10578 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * lyx_gui.C: add debug message on BadWindow
10581
10582 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * sp_spell.C: fdopen is not part of the C++ standard.
10585
10586         * paragraph.C (InsetIterator): use >= instead of ==
10587
10588 2002-06-07  Angus Leeming  <leeming@lyx.org>
10589
10590         Fixes needed to compile with Compaq cxx 6.5.
10591         * BufferView_pimpl.C:
10592         * DepTable.C:
10593         * buffer.C:
10594         * converter.C:
10595         * encoding.C:
10596         * lyx_gui.C:
10597         * lyx_main.C:
10598         * lyxtextclasslist.C:
10599         * minibuffer.C:
10600         * sp_spell.C:
10601         * tabular_funcs.C:
10602         * vc-backend.C:
10603         all c-library variables have been moved into namespace std. Wrap
10604         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10605
10606         * lyxlength.C:
10607         * tabular-old.C:
10608         * tabular.C:
10609         Add a using std::abs declaration.
10610
10611         * kbmap.h (modifier_pair):
10612         * paragraph.h (InsetTable, InsetList):
10613         * lyxfont.h (FontBits):
10614         type definition made public.
10615
10616         * bufferlist.C (emergencyWriteAll): the compiler complains that
10617         there is more than one possible lyx::class_fun template to choose from.
10618         I re-named the void specialisation as lyx::void_class_fun.
10619
10620         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10621
10622         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10623         the compiler is is unable to find tostr in write_attribute.
10624
10625 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * buffer.C (sgmlError): hide #warning
10628
10629 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10630
10631         * xtl/*: get rid of xtl, which is not in use anyway
10632
10633         * LyXAction.C (init):
10634         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10635         were unimplemented xtl experimentation
10636
10637 2002-06-04  André Pönitz <poenitz@gmx.net>
10638
10639         * lyxfunc.C: disable array operation on simple formulae
10640
10641 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * converter.C: constify a bit
10644
10645 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyx_gui.C: check xforms version correctly
10648
10649 2002-04-30  Herbert Voss  <voss@lyx.org>
10650
10651         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10652         "keep" option
10653
10654 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10657           attempt to register it with a VCS)
10658
10659 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10660
10661         * lyx_main.C (init): honor variables LYX_DIR_13x and
10662         LYX_USERDIR_13x
10663
10664 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * buffer.h:
10667         * buffer.C:
10668         * lyx_main.C: fix a crash on bad command line,
10669           and give a useful exit status on error
10670
10671         * lyxfunc.C (doImport): allow -i lyx to work
10672
10673 2002-03-30  André Pönitz <poenitz@gmx.net>
10674
10675         * lyxfunc.C: mathed font changes
10676
10677 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * LaTeX.C:
10680         * importer.h:
10681         * importer.C:
10682         * lyx_sty.h:
10683         * lyx_sty.C:
10684         * lyxlex.C:
10685         * lyxrow.h:
10686         * lyxtext.h:
10687         * paragraph.h:
10688         * paragraph.C:
10689         * texrow.h:
10690         * texrow.C:
10691         * text.C:
10692         * trans_mgr.h: srcdocs, and some minor cleanups
10693
10694 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10697         call getFont all the time)
10698
10699 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * switch from SigC signals to boost::signals
10702
10703 2002-05-29  André Pönitz <poenitz@gmx.net>
10704
10705         * paragraph_pimpl.C (getChar): don't call size() too often...
10706
10707 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * paragraph_pimpl.C (insertChar): do not try to update tables when
10710         appending (pos == size())
10711
10712         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10713         in order to reduce drastically the number of comparisons needed to
10714         parse a large document
10715
10716 2002-05-29  André Pönitz <poenitz@gmx.net>
10717
10718         * text.C:
10719         * text2.C:
10720         * lyxtextclass.C:
10721         * sp_pspell.h:
10722         * textclasslist.[Ch]:
10723         * sp_ispell.h: whitespace change
10724
10725 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10728         lyxaction directly now.
10729
10730 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * trans.C:
10733         * lyxfont.C:
10734         * lyxvc.C: remove unused headers
10735
10736 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * Makefile.am:
10739         * buffer.h:
10740         * undostack.h:
10741         * undostack.C:
10742         * undo_funcs.h:
10743         * undo_funcs.C: some cleanups. Use shared_ptr
10744           and a template for the undo stacks.
10745
10746 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * BufferView_pimpl.h:
10749         * BufferView_pimpl.C:
10750         * kbmap.h:
10751         * kbmap.C:
10752         * kbsequence.h:
10753         * kbsequence.C:
10754         * lyxfunc.h:
10755         * lyxfunc.C:
10756         * text2.C: use key_state/mouse_state
10757
10758 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10761         and LSubstring
10762
10763         * chset.C: change include order
10764         (loadFile): use boost regex and get rid of LRegex and LSubstring
10765
10766         * Makefile.am (BOOST_LIBS): new variable
10767         (lyx_LDADD): use it
10768
10769         * LaTeX.C: change include order.
10770         (scanAuxFile): use boost regex and get rid of LRegex and
10771         LSubstring
10772         (deplog): ditto
10773
10774 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * ColorHandler.h:
10777         * ColorHandler.C:
10778         * FontInfo.h:
10779         * FontInfo.C: moved to frontends/xforms/
10780
10781         * FontLoader.h:
10782         * FontLoader.C: moved into frontends for GUIIzation
10783
10784         * Makefile.am:
10785         * lyx_gui.C:
10786         * lyxfont.C:
10787         * lyxfunc.C: changes from above
10788
10789 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * LColor.C: remove spurious X include
10792
10793         * BufferView_pimpl.C:
10794         * Makefile.am:
10795         * font.h:
10796         * font.C:
10797         * text.C:
10798         * text2.C: move font metrics to frontends/
10799
10800 2002-05-24  Juergen Vigna  <jug@sad.it>
10801
10802         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10803         setting the undo_cursor.
10804
10805         * ParagraphParameters.h: include local includes first.
10806
10807 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10808
10809         * BufferView_pimpl.C:
10810         * BufferView_pimpl.h:
10811         * Makefile.am:
10812         * WorkArea.h:
10813         * WorkArea.C:
10814         * screen.C: move WorkArea into frontends/
10815
10816         * lyxscreen.h:
10817         * screen.C:
10818         * text.C:
10819         * BufferView.C:
10820         * BufferView2.C: move LyXScreen into frontends/
10821
10822         * lyxlookup.h:
10823         * lyxlookup.C:
10824         * lyx_gui.C: move lyxlookup into frontends/xforms/
10825
10826 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * BufferView2.C:
10829         * BufferView_pimpl.C:
10830         * FontLoader.C:
10831         * LyXView.h:
10832         * LyXView.C:
10833         * Makefile.am:
10834         * WorkArea.C:
10835         * XFormsView.h:
10836         * XFormsView.C:
10837         * buffer.C:
10838         * bufferlist.C:
10839         * bufferview_funcs.C:
10840         * converter.C:
10841         * importer.C:
10842         * lyx_cb.C:
10843         * lyx_gui.C:
10844         * lyx_main.C:
10845         * lyx_find.C:
10846         * lyxfunc.C:
10847         * lyxvc.C:
10848         * minibuffer.C:
10849         * text.C:
10850         * text2.C:
10851         * trans.C:
10852         * vc-backend.C: move LyX/XFormsView into frontends/
10853
10854 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * Makefile.am:
10857         * PainterBase.C:
10858         * PainterBase.h:
10859         * Painter.C:
10860         * Painter.h:
10861         * WorkArea.C:
10862         * WorkArea.h:
10863         * screen.C:
10864         * tabular.C:
10865         * text.C:
10866         * text2.C: move Painter to frontends/
10867
10868 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * buffer.C: comment out some some code that depend upon lyx_format
10871         < 220
10872
10873         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10874         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10875
10876         * buffer.h (NO_COMPABILITY): turn off compability
10877
10878         * ColorHandler.C: include scoped_array.hpp
10879
10880         * font.C: Use more specific smart_ptr header.
10881         * Painter.C: ditto
10882         * gettext.C: ditto
10883         * ShareContainer.h: ditto
10884         * lyx_main.h: ditto
10885         * kbmap.h: ditto
10886         * FontInfo.h: ditto
10887         * BufferView_pimpl.h: ditto
10888         * ColorHandler.h: ditto
10889
10890         * kbmap.C (defkey): change call to shared_ptr::reset
10891
10892 2002-05-21  Juergen Vigna  <jug@sad.it>
10893
10894         * buffer.C (insertErtContents): fix to insert ert asis if it is
10895         non empty. Skip it completely if it contains only whitespaces.
10896
10897 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * BufferView_pimpl.C:
10900         * BufferView2.C: clear selection on paste (bug 393)
10901
10902 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * DepTable.C: include ctime
10905
10906 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10907
10908         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10909
10910 2002-05-14  Juergen Vigna  <jug@sad.it>
10911
10912         * text.C (breakParagraph): fixed function to honor the keepempty
10913         layout in the right maner and also to permit the right breaking
10914         algorithm on empty or non empyt keepempty paragraphs.
10915
10916         * paragraph.C (breakParagraph): we have to check also if the par
10917         is really empty (!size()) for isempty otherwise we do the wrong
10918         paragraph break.
10919
10920 2002-05-10  Juergen Vigna  <jug@sad.it>
10921
10922         * buffer.[Ch] : The following are only changes to the ert
10923         compatibility read reading old LaTeX layout and font stuff and
10924         convert it to ERTInsets.
10925
10926         * buffer.h: added isErtInset().
10927
10928         * buffer.C (struct ErtComp): add a fromlayout bool to check
10929         if we're inside a LaTeX layout.
10930         (isErtInset): new helper function.
10931         (insertErtContents): look for other ert insets before this one
10932         and insert the contents there, so that we don't have subsequent
10933         ERT insets with nothing between them. This way we create only one
10934         inset with multiple paragraphs. Also check if we don't insert only
10935         spaces ' ' as they are ignored anyway afterwards in the .tex file
10936         so if we have only spaces we will ignore this latex part in the
10937         new file.
10938         (parseSingleLyXformat2Token \\layout): better compatibility when
10939         reading layout-latex stuff.
10940         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10941         language tag.
10942         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10943         stuff after reading the inset only get the information back from
10944         the stack.
10945
10946 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10947
10948         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10949
10950         * LaTeXFeatures.C (getBabelOptions): New method.
10951
10952 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * BufferView_pimpl.C (Dispatch): work around missing argument for
10955         'layout'
10956
10957 2002-05-08  Juergen Vigna  <jug@sad.it>
10958
10959         * text.C (leftMargin): handle paragraph leftindent.
10960
10961         * paragraph.C (writeFile): write the new \\leftindent tag.
10962         (validate): handle leftindent code.
10963         (TeXEnvironment): handle paragraphleftindent code again.
10964
10965         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10966
10967         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10968         for paragrap_extra indent code and new token \\leftindent.
10969         (latexParagraphs): handle the leftindent as environment.
10970
10971         * ParameterStruct.h: added leftindent support.
10972
10973         * ParagraphParameters.C (leftIndent): added support functions for
10974         the paragraph left indent.
10975
10976         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10977         more appropriate.
10978
10979 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10980
10981         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10982         inside insetERT.
10983
10984         * text.C (computeBidiTables): No bidi in insetERT.
10985
10986         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10987         in RTL documents.
10988
10989 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * version.C.in: pre 5
10992
10993 2002-05-02  José Matos  <jamatos@fep.up.pt>
10994         * buffer.C (makeDocBookFile): white space changes, add newline to
10995         command styles.
10996         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10997
10998         * tabular.C (docBook): fix typo.
10999
11000 2002-05-03  Juergen Vigna  <jug@sad.it>
11001
11002         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11003         change in LyXText as we can not be sure it was not freed.
11004         (drawOneRow): remove unused code.
11005
11006         * text.C (drawInset): redo the calculation of the need_break_row as
11007         it could have a row which was already freed.
11008         (draw): look at the return value of drawInset and return false if
11009         it also returned false.
11010         (paintRowText): look at the return value of draw and return false if
11011         it also returned false.
11012
11013         * lyxtext.h: added bool return type to drawInset() and draw() so that
11014         if we have a change in the row so that the rowbreak has to be redone
11015         we abort drawing as it will be called again.
11016
11017 2002-05-02  Juergen Vigna  <jug@sad.it>
11018
11019         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11020         a change in the maintext also if we're inside an inset.
11021         (Dispatch): set the cursor again after a break line and after the
11022         screen has been updated as it could be we're in a different row.
11023
11024         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11025         to set the cursor behind the pargraph with > size().
11026         (setCursor): check also for the same paragraph when checking where
11027         to put the cursor if we have a NFR inset.
11028
11029         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11030         parts of layout read further up as it still was in the wrong
11031         position.
11032
11033 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * screen.C (drawFromTo): change sine fullRebreak always return
11036         true.
11037
11038         * buffer.C (parseSingleLyXformat2Token): reindent some
11039
11040         * BufferView_pimpl.C (update): change since fullRebreak always
11041         return true.
11042         (Dispatch): git rid of the last hardcoded "Standard"s.
11043
11044 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * text2.[Ch] (fullRebreak): make it return void now that we always
11047         returned true.
11048
11049 2002-04-30  Juergen Vigna  <jug@sad.it>
11050
11051         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11052         ert compatibility check for "latex" layout.
11053
11054 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11055
11056         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11057         minipages: use col% instead of p%, and also use the current font.
11058         (makeLaTeXFile): Fix use babel condition.
11059         (parseSingleLyXformat2Token): Correct font when reading old floats.
11060
11061 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11064         inserting list of floats.
11065
11066 2002-04-25  Herbert Voss  <voss@lyx.org>
11067
11068         * MenuBackend.C (expand): don't add the graphics extensions to the
11069         export menu
11070
11071 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11072
11073         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11074         non-existing layout, do not complain if it was the default layout
11075         of the original class (bug #342)
11076
11077 2002-04-24  Juergen Vigna  <jug@sad.it>
11078
11079         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11080         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11081
11082 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11083
11084         * buffer.C (getBibkeyList): If using \bibliography, return the
11085         option field with the reference itself. Enables us to provide natbib
11086         support when using \bibliography.
11087
11088 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11089
11090         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11091
11092         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11093         natbib is provided by the LaTeX class.
11094
11095 2002-04-23  Juergen Vigna  <jug@sad.it>
11096
11097         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11098         Wakeup functions.
11099
11100         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11101
11102 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11103
11104         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11105
11106         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11107         ensuremath around textordmasculine, textordfeminine and
11108         textdegree.
11109
11110 2002-04-19  Juergen Vigna  <jug@sad.it>
11111
11112         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11113         reinitializing the buffer otherwise row-dimensions may be wrong.
11114         (update): reset also the selection cursors if they do exits otherwise
11115         their x/y positions may be wrong.
11116
11117         * text2.C (cursorDown): don't enter the inset if we came from a row
11118         above and are one row over the inset.
11119
11120         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11121         really leaving an inset.
11122
11123 2002-04-18  Juergen Vigna  <jug@sad.it>
11124
11125         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11126         of the selected paragraph does not have the selected layout also if
11127         the last one had!
11128
11129         * text2.C (setLayout): fixed bug which did not change last selected
11130         paragraph.
11131
11132         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11133         changed the read and substituted \\end_float with \\end_inset!
11134
11135         * BufferView_pimpl.C (cursorPrevious):
11136         (cursorNext): fixed to make it work with rows heigher than the work
11137         area without moving the cursor only the draw of the row.
11138         (workAreaMotionNotify): fix jumping over high rows.
11139
11140 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11143         Ressler.
11144
11145 2002-04-16  Juergen Vigna  <jug@sad.it>
11146
11147         * text2.C (setCursor): set also the irow().
11148         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11149         (cursorUp):
11150         (cursorDown): support for locking an inset if the x_fix value goes
11151         inside it. That way I can transverse insets too with cursor up/down.
11152
11153         * lyxrow.h: added irow helper function same as other (i) functions.
11154
11155         * BufferView_pimpl.C (cursorPrevious):
11156         (cursorNext): fixed for insets!
11157
11158 2002-04-15  Juergen Vigna  <jug@sad.it>
11159
11160         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11161         position otherwise it is wrong in some cases.
11162
11163         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11164         inside the inset before the call.
11165
11166 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11167
11168         * buffer.[Ch] (getBibkeyList): make it const.
11169
11170 2002-04-12  Juergen Vigna  <jug@sad.it>
11171
11172         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11173
11174         * text2.C (getCursorX): new helper function
11175         (setCursor): compute also ix_
11176         (setCursorFromCoordinates): set also ix.
11177
11178         * lyxcursor.h: added ix_ and helper functions.
11179
11180         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11181
11182         * buffer.C (insertStringAsLines): dont break paragraph if the this
11183         paragraph is inside an inset which does not permit it!
11184
11185         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11186         also with no chars on this paragraph.
11187         (paintRowText): only paint stuff if it's inside the workarea!
11188
11189         * paragraph.C (breakParagraph): honor keepempty flag and break the
11190         paragraph always below not above.
11191
11192         * BufferView2.C (unlockInset): update the paragraph layout on inset
11193         unlock as we changed paragraph in such a case.
11194
11195         * lyxfind.C (LyXFind): clear the former selection if not found!
11196
11197         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11198         again called in insertChar().
11199
11200         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11201         an inset which uses the whole row!
11202         (rightMargin): ditto.
11203         (insertChar): force a rebreak if we inserted an inset!
11204
11205 2002-03-28  Herbert Voss  <voss@lyx.org>
11206
11207         * lyxlength.[Ch]: add inBP() to get the right PS-point
11208         units (BigPoint). With inPixels we have rounding errors
11209
11210 2002-04-11  Juergen Vigna  <jug@sad.it>
11211
11212         * text2.C (setCursorFromCoordinates): set iy to the right value.
11213         (setCursor): add check if row->previous exists!
11214
11215         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11216         an old float_type as this was the case in the old code!
11217
11218         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11219
11220         * BufferView2.C (showLockedInsetCursor): use iy
11221         (fitLockedInsetCursor): ditto
11222
11223         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11224         locked insets as there we have the right value now.
11225
11226         * lyxcursor.C: added iy_ variable and iy functions to set to the
11227         baseline of cursor-y of the locked inset.
11228
11229         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11230         (setCursor): fixed for insets which need a full row.
11231
11232         * text.C (rowLastPrintable): don't ignore the last space when before
11233         an inset which needs a full row.
11234         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11235         as last character of a row when before a inset which needs a full row.
11236
11237 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11238
11239         * version.C.in: update date
11240
11241         * text2.C (fullRebreak): try to always return true and see what
11242         happens...
11243
11244 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * MenuBackend.C (expand): use Floating::listName
11247
11248         * FloatList.C (FloatList): add listName argument to the built-in
11249         floats
11250
11251         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11252         text associated with the float.
11253
11254 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11257
11258 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11259
11260         * ShareContainer.h: add a couple of missing typenames.
11261
11262 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11263
11264         * lyxrc.C (getDescription): use _() correctly rather than N_().
11265
11266 2002-03-28  Herbert Voss  <voss@lyx.org>
11267
11268         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11269         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11270
11271 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11274         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11275
11276 2002-03-29  Juergen Vigna  <jug@sad.it>
11277
11278         * lyxfunc.C (dispatch): add a missing fitCursor call.
11279
11280         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11281         it was scrolled by a cursor move, so return the bool status.
11282
11283         * BufferView.C (fitCursor): return the bool flag also to the outside
11284         world as this is needed.
11285
11286         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11287
11288         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11289         call the edit() as it is not needed (and wrong) IMO.
11290         (workAreaButtonPress): set the screen_first variable before evt.
11291         unlock the inset as this may change screen_first and then we have
11292         a wrong y position for the click!
11293
11294 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * MenuBackend.C (expand): another translation that I missed
11297
11298 2002-03-28  Juergen Vigna  <jug@sad.it>
11299
11300         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11301
11302         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11303
11304 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11305
11306         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11307
11308         * MenuBackend.C (expand): fix export/view/update when there is no
11309         document open.
11310
11311 2002-03-27  Herbert Voss  <voss@lyx.org>
11312
11313         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11314         and text%
11315
11316 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11317
11318         * bufferview_funcs.C (currentState): only show paragraph number
11319         for is DEVEL_VERSION is set.
11320
11321         * lyxfunc.C (dispatch): put warning in INFO channel
11322
11323         * MenuBackend.C (expand): translate the name of floats
11324
11325         * FloatList.C (FloatList): mark the float names for translation
11326
11327         * converter.C (convert): use LibScriptSearch
11328
11329 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * MenuBackend.C (defaults): fix default menu (we might as well get
11332         rid of it...)
11333
11334 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11335
11336         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11337         directory.
11338
11339 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * lyxvc.C: reorder includes.
11342
11343 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11346           properly
11347
11348 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * CutAndPaste.C: change layouts earlier on paste
11351           to avoid crashing when calling getFont()
11352
11353 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11354
11355         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11356         irritating #error.
11357
11358 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11359
11360         * WorkArea.C: remove 'Pending' debug message.
11361
11362         * most files: ws cleanup
11363
11364         * buffer.[Ch]: ws changes
11365
11366         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11367
11368 2002-03-21  Juergen Vigna  <jug@sad.it>
11369
11370         * tabular.C (SetMultiColumn): collapse also the contents of the
11371         cells and set the last border right. Added a Buffer const * param.
11372
11373 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11376         linking or not.
11377
11378 2002-03-19  Juergen Vigna  <jug@sad.it>
11379
11380         * text2.C (clearSelection): reset also xsel_cache.
11381
11382         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11383         where it needs to be called (John tells us to do so too :)
11384         (selectionLost): reset sel_cache.
11385
11386         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11387
11388 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11389
11390         * text2.C (setCursorIntern): put debuging code in INSETS channel
11391
11392 2002-03-19  André Pönitz <poenitz@gmx.net>
11393
11394         * lyxfunc.C: tiny whitespace change
11395
11396 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * ToolbarDefaults.C (init):
11399         * LyXAction.C (init):
11400         * commandtags.h:
11401         * BufferView_pimpl.C (Dispatch):
11402         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11403
11404 2002-03-19  Allan Rae  <rae@lyx.org>
11405
11406         * exporter.C (Export): removeAutoInsets before doing anything else.
11407         While I've just introduced a dependency on BufferView this really is
11408         the best place to clean the buffer otherwise you need to cleanup in
11409         a dozen places before calling export or cleanup in a dozen functions
11410         that export calls.
11411
11412         * converter.C (runLaTeX):
11413         (scanLog): Better handling of removeAutoInsets and screen updates.
11414
11415         * lyxfunc.C (dispatch): small whitespace changes
11416
11417 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * WorkArea.C (C_WorkAreaEvent): return a value.
11420         (event_cb): return 1 if we handled the event, 0 otherwise.
11421
11422         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11423
11424 2002-03-18  Juergen Vigna  <jug@sad.it>
11425
11426         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11427         (GetAdditionalWidth): ditto.
11428         (RightLine): ditto.
11429         (LeftLine): ditto.
11430
11431         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11432         inset if we're there actually (probably not used right now but this
11433         is the direction to go for unifying code).
11434         (paste): disable code to clear the selection.
11435
11436         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11437         inside an InsetText and move the check further up as it is in the
11438         wrong place.
11439
11440         * text2.C (pasteSelection): set a selection over the pasted text.
11441
11442 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11443
11444         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11445         and libgraphics to build on Cygwin.
11446
11447 2002-03-15  Juergen Vigna  <jug@sad.it>
11448
11449         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11450         inserting an Inset into the paragraph. I know this is not the best
11451         fix but we already use current_view in CutAndPaste so we will remove
11452         all of it's using at the same time.
11453
11454         * buffer.C (sgmlError): deactivated function till it is rewritten in
11455         the right mode, now it can create problems.
11456
11457         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11458         before accessing it.
11459
11460 2002-03-14  Juergen Vigna  <jug@sad.it>
11461
11462         * undo_funcs.C (textHandleUndo): do the right thing when updating
11463         the inset after the undo/redo.
11464
11465         * text2.C (setCursor): just some testcode for #44 not ready yet.
11466
11467         * undo_funcs.C (textHandleUndo): set the next() and previous()
11468         pointers of the paragraph to 0 before deleting otherwise we have
11469         problems with the Paragraph::[destructor].
11470
11471         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11472         on a paragraph insertion.
11473
11474 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * buffer.C (asciiParagraph): use += operator for char append to
11477         string.
11478
11479         * paragraph.C (getFontSettings): compare >= not just >
11480         (highestFontInRange): ditto
11481         (setFont): ditto
11482
11483 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * paragraph.C: change several algorithm to be more appripriate for
11486         the problem domain. This is lookip in FontList and in the InsetList.
11487
11488 2002-03-13  André Pönitz <poenitz@gmx.net>
11489
11490         * commandtags.h:
11491         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11492
11493 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * commandtags.h:
11496         * LyXAction.C:
11497         * lyxfunc.C:
11498         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11499
11500 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * Painter.C (display): anon helper function, adjust code for this
11503         change.
11504         (pixmap): remove function.
11505
11506         * Painter.h: remove private display variable.
11507
11508         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11509
11510 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * WorkArea.[Ch]: remove figinset_canvas cruft.
11513
11514 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * lyxtextclass.C (operator): add one item cache optimization.
11517
11518         * bufferlist.h: doxy changes
11519
11520         * bufferlist.C: ws changes
11521
11522         * DepTable.[Ch] (ext_exist): place const in the right spot.
11523
11524         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11525         call resizeInsets.
11526         (workAreaExpose): call resizeInsets when the with BufferView changes.
11527         (Dispatch): adjust for protectedBlank removal
11528         (specialChar): call updateInset if the insert went ok.
11529
11530         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11531         specialChar instead.
11532
11533         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11534
11535         * BufferView.h: doxy change
11536
11537         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11538
11539         * lyxtextclass.C (operator[]): remove non-const version
11540         (defaultLayout): remove non-const version
11541
11542 2002-03-12  Juergen Vigna  <jug@sad.it>
11543
11544         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11545         did resize the LyXText too.
11546
11547         * buffer.C (readLyXformat2): set layout information on newly allocated
11548         paragraphs.
11549
11550         * tabular.C (OldFormatRead): set layout information on the paragraph.
11551
11552 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11553
11554         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11555
11556 2002-03-11  Juergen Vigna  <jug@sad.it>
11557
11558         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11559         plainly wrong.
11560         (resizeCurrentBuffer): force also the insets to resize themselfes.
11561         (moveCursorUpdate): fixed up for InsetText.
11562
11563 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * commandtags.h:
11566         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11567         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11568         value of Dialogs::tooltipsEnabled().
11569         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11570
11571 2002-03-08  Juergen Vigna  <jug@sad.it>
11572
11573         * BufferView_pimpl.C (updateInset): update inset inside inset also
11574         if it isn't inside theLockingInset().
11575
11576 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * buffer.C (asciiParagraph): redo some of the word and line length
11579         handling.
11580         (getLists): look for Caption instead of caption.
11581
11582 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11583
11584         * buffer.C (Buffer): initialize niceFile to true
11585         (makeLaTeXFile):
11586         (makeLinuxDocFile):
11587         (makeDocBookFile): make sure niceFile is true on exit
11588
11589 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11590
11591         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11592
11593 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * LyXSendto.C: remove.
11596         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11597         * lyx_gui.C: remove now-redundant comment.
11598         * ColorHandler.h: remove forward declaration of class WorkArea.
11599         * lyxfunc.C: remove #include "WorkArea.h".
11600
11601 2002-03-07  Juergen Vigna  <jug@sad.it>
11602
11603         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11604         got moved away with the DEPM and also set the inset_owner always
11605         right which before could have been omitted.
11606
11607 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11610         wanted layout is not found.
11611
11612 2002-03-07  Juergen Vigna  <jug@sad.it>
11613
11614         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11615
11616 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11617
11618         * paragraph.C (breakParagraph): use default layout not layout of
11619         prev paragraph.
11620         (Paragraph): clear ParagraphParameters.
11621
11622 2002-03-06  Juergen Vigna  <jug@sad.it>
11623
11624         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11625         otherwise it would not be a valid lenght. Fixed a special case in
11626         the minipage compatibility read where we end the document with a
11627         minipage.
11628
11629         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11630         was set as it could be 0 for InsetTexts first entry.
11631
11632 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * paragraph.C (writeFile): if layout is empty write out
11635         defaultLayoutName().
11636
11637         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11638         file without named layout we set layout to defaultLayoutName().
11639
11640 2002-03-06  Juergen Vigna  <jug@sad.it>
11641
11642         * CutAndPaste.C (copySelection): set layout for new paragraph.
11643
11644         * text.C (prepareToPrint): leave ERT inset left aligned
11645         (leftMargin): don't indent paragraphs inside ERT insets
11646
11647 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * paragraph.C (breakParagraph): dont call clear do the work manually
11650
11651         * paragraph.[Ch] (clear): remove function
11652
11653 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11654
11655         * paragraph.C (Paragraph): dont call clear, the work has already
11656         been done.
11657
11658         * lyxtextclass.C (operator): assert if n is empty
11659
11660         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11661         work manually instead.
11662
11663 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * BufferView_pimpl.C: protect selectionLost against text == 0
11666
11667 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * text.C (breakParagraph): fix a setting layout to '0' problem.
11670
11671 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11672
11673         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11674         final location of file, for the included files, and graphics.
11675
11676 2002-03-05  Juergen Vigna  <jug@sad.it>
11677
11678         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11679
11680 2002-03-04  Juergen Vigna  <jug@sad.it>
11681
11682         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11683
11684         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11685         last column of multicolumn cells.
11686         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11687
11688 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11689
11690         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11691         file if it doesn't go to a temporary file.
11692
11693         * buffer.C (sgmlOpenTag):
11694         (sgmlCloseTag):  remove extra newline insertion.
11695
11696 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * text.C (getRowNearY): comment out debug msg
11699
11700 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * text2.C: first -> first_y
11703
11704         * text.C (getRowNearY): add some attemts at a possible
11705         optimization, not working.
11706
11707         * tabular.[Ch]: add BufferParams to several function so that newly
11708         created paragraph can be initialized to he default layotu for the
11709         buffers textclass.
11710
11711         * tabular-old.C (ReadOld): add buf->params to call of Init
11712
11713         * screen.C: rename text->first to text->first_y
11714
11715         * paragraph.C (breakParagraph): always set layout in the broken
11716         paragraph
11717
11718         * lyxtextclass.C (Read): remove lowercase
11719         (hasLayout): ditto
11720         (operator): ditto
11721         (delete_layout): ditto
11722
11723         * lyxtext.h: rename first -> first_y
11724
11725         * lyxlayout.C (Read): remove lowercase
11726         (name): ditto
11727         (setName): ditto
11728         (obsoleted_by): ditto
11729
11730         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11731
11732         * buffer.C (insertErtContents): add params are to InsetERT
11733         (parseSingleLyXformat2Token): add code to check if a paragraphs
11734         layout really exist.
11735         (parseSingleLyXformat2Token): add params to several inset
11736         constructors
11737         (asciiParagraph): remove lowercase, do the layout comparisons with
11738         no_case
11739
11740         * BufferView_pimpl.C (cursorNext): first -> first_y
11741         (resizeCurrentBuffer): first -> first_y
11742         (updateScrollbar): first -> first_y
11743         (scrollCB): first -> first_y
11744         (workAreaMotionNotify): first -> first_y
11745         (workAreaButtonPress): first -> first_y
11746         (checkInsetHit): first -> first_y
11747         (cursorPrevious): first -> first_y
11748         (cursorNext): first -> first_y
11749         (Dispatch): add buffer_->params to severl inset contructors
11750
11751 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * lyxlayout.C (Read): remove some debug info that I forgot.
11754
11755         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11756         clean up the code slightly.
11757         (makeLinuxDocFile): ditto
11758         (makeDocBookFile): ditto
11759
11760         * text2.C: layout as string
11761
11762         * text.C: layout as string
11763
11764         * paragraph_pimpl.C: layout as string
11765
11766         * paragraph.[Ch]: layout as string
11767
11768         * lyxtextclasslist.[Ch]: layout as string
11769
11770         * lyxtextclass.[Ch]: layout as string
11771
11772         * lyxtext.h: layout as string
11773
11774         * lyxlayout.[Ch]: layout as string
11775
11776         * lyx_cb.C: layout as string
11777
11778         * bufferview_funcs.C: layout as string
11779
11780         * bufferparams.C: layout as string
11781
11782         * buffer.C: layout as string
11783
11784         * LyXView.[Ch]: layout as string
11785
11786         * LaTeXFeatures.[Ch]: layout as string
11787
11788         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11789
11790         * BufferView_pimpl.C: change current_layout to string, remove
11791         lyx::layout_type.
11792         (Dispatch):
11793         (smartQuote):
11794         (insertInset):
11795         (workAreaButtonRelease): layout as string
11796
11797         * BufferView2.C (unlockInset): adjust
11798
11799         * vspace.C (asLatexCommand): use an explict temp variable.
11800
11801 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * Makefile.am: use FRONTEND_*
11804
11805 2002-03-01  Juergen Vigna  <jug@sad.it>
11806
11807         * tabular.C (SetWidthOfMulticolCell): changed to something better
11808         I hope but still work in progress.
11809         (recalculateMulticolumnsOfColumn): renamed function from
11810         recalculateMulticolCells as it is more appropriate now.
11811         (SetWidthOfCell): calculate multicols better.
11812
11813 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11814
11815         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11816
11817         * lyxfunc.C (processKeySym): print sequence also if it is
11818         `deleted' (complete)
11819
11820         * kbsequence.C (print): print sequence even if it is deleted
11821         (complete would be a better word, actually).
11822
11823         * lyxfunc.C (dispatch): print complete options after a prefix key
11824
11825         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11826
11827 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11828
11829         * text2.C (setCharFont): eliminate setCharFont code duplication.
11830
11831 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11832
11833         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11834         LFUN_TABULAR_FEATURE (bug #177)
11835
11836 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * Makefile.am: remove figure.h
11839
11840 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11841
11842         * Bufferview_pimpl.C:
11843         * CutAndPasteC:
11844         * LaTeX.C:
11845         * LyXSendto.C:
11846         * buffer.C:
11847         * bufferlist.C:
11848         * converter.C:
11849         * language.C:
11850         * lyxfunc.C:
11851         * lyxvc.C:
11852         * paragraph.C:
11853         * text.C:
11854         * text2.C: remove #include "lyx_gui_misc.h".
11855
11856         * LaTeX.C: added #include <cstdio>
11857
11858 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11859
11860         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11861         that the paragraph following this one can have.
11862
11863         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11864
11865         * vspace.C (asLatexCommand): fix bogus gcc warning
11866
11867         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11868
11869 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11870
11871         * text2.C (setLayout): get rid of redundant code
11872
11873 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11874
11875         * text2.C (incDepth): make sure depth cannot be increased beyond
11876         reasonable values.
11877
11878 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11881         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11882
11883         * PainterBase.h (image):
11884         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11885         a LyXImage const *.
11886
11887 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * BufferView.C:
11890         * BufferView.h:
11891         * BufferView_pimpl.C:
11892         * BufferView_pimpl.h:
11893         * LaTeXFeatures.C:
11894         * LyXAction.C:
11895         * LyXView.C:
11896         * Makefile.am:
11897         * UpdateList.h:
11898         * UpdateList.C:
11899         * buffer.C:
11900         * figure.h:
11901         * figureForm.C:
11902         * figureForm.h:
11903         * figure_form.C:
11904         * figure_form.h:
11905         * lyx_cb.C:
11906         * lyx_gui.C:
11907         * lyx_gui_misc.C:
11908         * lyxfunc.C:
11909         * sp_base.h:
11910         * sp_ispell.h:
11911         * sp_pspell.h:
11912         * sp_spell.C: remove fig inset, and the crap house of
11913           cards that follows it
11914
11915 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * Makefile.am:
11918         * lyxserver.C:
11919         * os2_defines.h:
11920         * os2_errortable.h:
11921         * nt_defines.h: move .h into support/
11922
11923         * vms_defines.h: remove
11924
11925         * WorkArea.C: add space in debug output
11926
11927         * text2.C:
11928         * paragraph.C:
11929         * buffer.C: add WITH_WARNINGS
11930
11931         * vc-backend.h:
11932         * vc-backend.C:
11933         * bufferlist.C: s/retrive/retrieve/, add docs
11934
11935         * vspace.h:
11936         * vspace.C:
11937         * kbmap.h:
11938         * lyxlength.h:
11939         * lyxgluelength.h:
11940         * length_common.h:
11941         * chset.h:
11942         * chset.C: add docs
11943
11944         * lyxgui.C: add ID to X error handler
11945
11946         * lyxtestclass.c: fix typo
11947
11948 2002-02-26  Juergen Vigna  <jug@sad.it>
11949
11950         * tabular_funcs.C (write_attribute): changed so that some default
11951         attributes are not written at all.
11952         (getTokenValue): set default values before trying to read the
11953         value so we have the return value always set as default if we don't
11954         find the token we search for.
11955
11956         * tabular.C (Write): write bools as bools not as strings!
11957
11958 2002-02-22  Juergen Vigna  <jug@sad.it>
11959
11960         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11961         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11962
11963         * text.C (leftMargin): don't add an indent for paragraphs inside
11964         tabular cells (fix #208).
11965
11966 2002-02-21  José Matos  <jamatos@fep.up.pt>
11967
11968         * tabular.C (docBook): fixed support for long tables.
11969
11970 2002-02-20  Juergen Vigna  <jug@sad.it>
11971
11972         * text2.C (getFont): get the drawing font of the Inset if this
11973         paragraph is inside an inset (only important for InsetERT for now).
11974
11975         * buffer.C (insertErtContents): use new lanugage params in ERT
11976         constructor.
11977
11978         * CutAndPaste.C: commenting out seemingly uneeded code.
11979
11980 2002-02-19  Allan Rae  <rae@lyx.org>
11981
11982         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11983         Iterators might be simple to use but they also get invalidated.
11984         (removeAutoInsets): renamed saved cursor tracking variables and added
11985         some comments to clarify what everything does.
11986
11987 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11988
11989         * Chktex.C:
11990         * LaTeX.C:
11991         * LyXSendto.C:
11992         * converter.C:
11993         * lyx_cb.C:
11994         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11995         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11996
11997         * lyxfunc.C:
11998         * vc-backend.h: remove #include "support/syscall.h"
11999
12000         * LaTeX.C:
12001         * LyXSendto.C:
12002         * converter.C: rearrange #includes in Lars' approved fashion.
12003
12004         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12005         forward declare class Timeout in the header file.
12006
12007         * XFormsView.C: changes due to the above.
12008
12009         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12010         similar to LyXView.
12011
12012         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12013         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12014
12015 2002-02-18  José Matos  <jamatos@fep.up.pt>
12016
12017         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12018         insets contents.
12019
12020 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12021
12022         * a lot of small ws changes
12023         * add a lot of using std::XXX
12024         * use std construcs some places where approp.
12025         * use some exisint stuff from lyxfunctional where approp.
12026         * Make file changes to use partial linking (lets test this now...)
12027
12028 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12029
12030         * Chktex.C:
12031         * buffer.C:
12032         remove #include "support/syscontr.h" as it's redundant. Always has been.
12033
12034         * Chktex.C:
12035         * LaTeX.C:
12036         * LyXSendto.C:
12037         * converter.C:
12038         * lyx_cb.C:
12039         * vc-backend.C:
12040         change Systemcalls::System to Systemcalls::Wait and
12041         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12042         No change of functionality, just reflects the stripped down Systemcalls
12043         class.
12044
12045 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12046
12047         * debug.[Ch]: add a GRAPHICS type to the enum.
12048
12049 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12050
12051         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12052
12053         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12054         there is an inset.
12055
12056 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12057
12058         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12059         match the changes below.
12060
12061         * text2.C (toggleInset): if there is not editable inset at cursor
12062         position, try to see if cursor is _inside_ a collapsable inset
12063         and close it.
12064
12065 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12066
12067         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12068         document menu has a nice checkbox
12069
12070 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * lyxlength.C (asLatexString): change PW to output as percent of
12073         \textwidth.
12074
12075         * lengthcommon.C: change '%' to 't%'
12076
12077         * lyxfunc.C (dispatch): a few comments from Martin
12078
12079 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * WorkArea.h:
12082         * WorkArea.C:
12083         * BufferView_pimpl.h:
12084         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12085           the X selection.
12086
12087 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * vspace.C (inPixels): fix compiler warning
12090
12091 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * lyxfunc.C (getStatus): fix status message for disabled commands.
12094
12095 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * BufferView_pimpl.C: fix crash on close buffer
12098         during selection (#227)
12099
12100 2002-01-27  Herbert Voss  <voss@lyx.org>
12101
12102         * buffer.C: link old Figure to new graphic inset
12103
12104 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12105
12106         * FontLoader.C (getFontinfo): Change the latex font names in order
12107         to match the names of type1inst.
12108
12109 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12110
12111         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12112
12113         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12114         (extchanged): ditto
12115         (ext_exist): ditto
12116         (remove_files_with_extension): ditto
12117         (remove_file): ditto
12118         (write): ditto
12119
12120         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12121         document is smaller than the work area height. Do not initialize
12122         static variables to 0.
12123
12124 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12127
12128         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12129         LFUN_LAYOUT_PARAGRAPHS.
12130
12131         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12132         tabular. It is possible to provide a possible cell, which will
12133         typically be the actcell from the corresponding insettabular
12134
12135         * lyxfunc.C (getStatus): small cleanup; disable
12136         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12137         true
12138
12139 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12140
12141         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12142
12143         * paragraph.C (startTeXParParams):
12144         (endTeXParParams): new methods. The LaTeX code to
12145         start/end paragraph formatting
12146         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12147         empty (fixes bug #200)
12148
12149         * vspace.C (inPixels): adapt to the change below
12150         (inPixels): [later] more cleanups (remove unused variables)
12151
12152         * lyxlength.C (inPixels): change to use a width and a height as
12153         parameter.
12154
12155 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12156
12157         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12158         Replaced with \paperwidth
12159
12160         * DepTable.C (insert): add std:: qualifier
12161
12162 2002-01-18  Allan Rae  <rae@lyx.org>
12163
12164         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12165         updated also?
12166
12167         * text.C (drawInset): Turned out I didn't know enough about how
12168         rebreaking worked.  This fixes most of the redraw problems.  I see
12169         an occasional cursor trail when a line is broken now and the cursor
12170         placement can seem out by a few pixels also after a rebreak.
12171
12172 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * buffer.C (parseSingleLyXformat2Token): update because minipage
12175         width is now a LyXLength
12176
12177         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12178
12179         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12180         math insets
12181
12182 2002-01-17  Juergen Vigna  <jug@sad.it>
12183
12184         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12185
12186         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12187         is set correctly and the inset is updated correctly.
12188
12189 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12190
12191         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12192         the beginning of the loop.
12193
12194 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * lyxrc.C: improve help for use_scalable_fonts
12197
12198 2002-01-17  Allan Rae  <rae@lyx.org>
12199
12200         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12201
12202 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12205         make sure to set their inset_owner to the right value (bug #171)
12206
12207 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12208
12209         * DepTable.h
12210         * DepTable.C: Implement mtime checking to reduce time spent doing
12211         CRCs.
12212
12213 2002-01-16  Juergen Vigna  <jug@sad.it>
12214
12215         * tabular.C (GetAdditionalHeight): one of error fixed.
12216
12217         * lyxrc.C (output): small fix in writing use_pspell.
12218
12219 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12220
12221         * sp_base.h: #include LString.h
12222
12223 2002-01-16  Allan Rae  <rae@lyx.org>
12224
12225         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12226         Can someone check this please?
12227
12228         * text.C (drawInset): It was possible that p.row would be removed by
12229         breakAgainOneRow upsetting a few other settings.  There may be another
12230         small tweak possible by setting need_break_row = 0 when p.row has been
12231         removed but I don't know enough about the logic here.
12232
12233 2002-01-15  Allan Rae  <rae@lyx.org>
12234
12235         * text.C (insertChar): removed conditional truism.
12236
12237         * BufferView2.C (removeAutoInsets): More tweaks.
12238         cur_par_prev could be a stray pointer.  Check for trailing empty line
12239         in case last line was cur_par and only had an error inset on it.
12240
12241 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12242
12243         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12244         absolute
12245
12246         * vc-backend.C (most methods):
12247         * exporter.C (Export):
12248         * converter.C (convert):
12249         (runLaTeX):
12250         * LyXSendto.C (SendtoApplyCB):
12251         * lyxfunc.C (dispatch):
12252         (menuNew):
12253         (open):
12254         (doImport):
12255         * lyx_cb.C (AutoSave):
12256         (InsertAsciiFile):
12257         * BufferView_pimpl.C (MenuInsertLyXFile):
12258         * buffer.C (runChktex): use Buffer::filePath().
12259
12260         * buffer.h: rename filename to filename_; rename filepath to
12261         filepath_ and make it private
12262         (filePath): new method
12263
12264         * buffer.C (writeFile): use fileName()
12265         (getLatexName):
12266
12267         * lyx_main.C (init): fix starting  of LyX when the binary is a
12268         link from so,ewhere else.
12269
12270         * minibuffer.C: include <cctype> for isprint
12271
12272 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12273
12274         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12275         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12276         name clash with InsetCollapsable's width function.
12277
12278 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * lastfiles.C: include <iterator>
12281
12282 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12283
12284         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12285         std::count.
12286
12287         * buffer.C (makeLaTeXFile): ditto.
12288         Also make loop operation more transparent.
12289
12290 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12291
12292         * ToolbarDefaults.C: remove trailing comma closing namespace.
12293
12294         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12295
12296         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12297         as in WorkArea.
12298
12299         * trans.C (Load): comment out unused variable, allowed.
12300
12301 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * minibuffer.[Ch] (append_char): new method to recieve input from the
12304         drop-down completion browser. If a key was pressed, then recieve this
12305         char and append it to the existing string.
12306         (peek_event): modify the positioning data passed to the completion
12307         browser so that it can be placed above the minibuffer rather than below.
12308 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * LyXAction.C (init): alloe error-next for readonly documents.
12311
12312         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12313         count.
12314
12315 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12316
12317         * bufferlist.C (readFile): create the buffer _after_ checking that
12318         the file exists.
12319
12320         * lyxfunc.C (verboseDispatch): fix handling of arguments
12321
12322         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12323
12324         * lyxrc.C: use string::erase() instead of initializing to "".
12325
12326
12327 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * BufferView_pimpl.h:
12330         * BufferView_pimpl.C:
12331         * WorkArea.h:
12332         * WorkArea.C:
12333         * text2.C: tell X when we have made a selection for copying
12334
12335 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12336
12337         * BufferView_pimpl.C (MenuInsertLyXFile):
12338         * lyxfunc.C (menuNew):
12339         (open):
12340         (doImport): add shortcuts to directory buttons
12341
12342         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12343         open a float)
12344
12345         * lyxfunc.C (setStatusMessage):
12346         (getStatusMessage): new methods
12347         (getStatus):use setStatusMessage instead of setErrorMessage
12348         (dispatch): when function is disabled, set error message here
12349         [instead of in getStatus previously]
12350
12351         * BufferView_pimpl.C (workAreaButtonRelease): update
12352         toolbar/menubar here too.
12353
12354 2002-01-13  Allan Rae  <rae@lyx.org>
12355
12356         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12357         Now seems indestructible.  Remaining task is to audit all other
12358         code affected by deleteEmptyParagraphMechanism.  One small quirk
12359         left is that an empty document with an error in the preamble can
12360         be made to report an error but no error box appears.  I don't know
12361         where it goes.
12362         (removeAutoInsets): Improved comments.
12363
12364 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12365
12366         * Thesaurus.h:
12367         * Thesaurus.C: update for Aiksaurus 0.14
12368
12369 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * text2.C (firstParagraph): removed member function, all uses
12372         replaces with ownerParagraph
12373         (redoParagraphs): here
12374         (updateInset): here
12375         (toggleAppendix): here
12376         * BufferView2.C (insertErrors): here
12377         (setCursorFromRow): here
12378
12379 2002-01-13  Allan Rae  <rae@lyx.org>
12380
12381         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12382         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12383         There is still a way to segfault this although you may have to do this
12384         multiple times: Have an InsetERT with an unknown command in it.
12385         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12386         <down-arrow>, <Enter> again, View->DVI, BANG!
12387
12388         * text2.C (setCursor):
12389         (deleteEmptyParagraphMechanism):
12390         * lyxtext.h (setCursor):
12391         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12392         Making use of the return value may help fix other bugs.
12393
12394 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12395
12396         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12397
12398         * LyXView.C (updateMenubar): call MenuBar::update here
12399         (updateToolbar): but not here
12400         (showState): do not update toolbar/menubar
12401
12402         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12403         should need to care about that.
12404
12405         * lyxfunc.C (verboseDispatch): simplify a bit
12406         (getStatus): have a version which takes a pseudoaction, and
12407         another which requires a (kb_action,string).
12408
12409         * LyXAction.C (retrieveActionArg): make it work also when action
12410         is not a pseudo-action.
12411         (getActionName): simplify a bit
12412         (helpText):
12413
12414 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12415
12416         * lyxfunc.C (verboseDispatch): new families of methods with
12417         several ways to specify a command and a bool to indicate whether
12418         the command name and shortcut should be displayed in minibuffer
12419         (eventually, we could extend that to a finer bitmask like
12420         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12421         (dispatch): the pristine dispatch command which just, well,
12422         dispatchs! Note it still sets its result to minibuffer; I'm not
12423         sure we want that.
12424
12425         * lyxfunc.h: remove setHintMessage
12426
12427         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12428
12429 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12430
12431         * BufferView_pimpl.C (specialChar): delete new inset if we have
12432         not been able to insert it.
12433
12434         * kbmap.C: revert to using int instead of kb_action, since all we
12435         are dealing with is pseudo-actions.
12436
12437         * LyXAction.C (searchActionArg): change to return int instead of
12438         kb_action, since the result is a pseudoaction.
12439
12440 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12441
12442         * buffer.C (insertErtContents): Fix (partially) the font bug.
12443
12444 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12445
12446         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12447         as the other one is broken on my machine!
12448
12449 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12450
12451         * commandtags.h:
12452         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12453
12454 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12455
12456         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12457         reflect their actual use. Provide compatibility code for older lyxrc
12458         files.
12459
12460         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12461         FL_NORMAL_STYLE.
12462         change names of popup font variables in line with the changes to lyxrc.C
12463
12464 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12465
12466         * buffer.C (asciiParagraph): avoid outputing a word twice after
12467         an inset.
12468
12469         * lyxrc.C (getDescription): document that document_path and
12470         template_path can be empty.
12471
12472 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * LaTeXFeatures.C (getMacros):
12475         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12476
12477         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12478
12479         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12480         getPackages.
12481         (getPackages): rename feature "floats" to "float". Use an array to
12482         iterate over 'simple' features (i.e. just a \usepackage). Add
12483         handling of "amsmath" (renamed from "amsstyle").
12484
12485 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12486
12487         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12488         features list.
12489
12490 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12493         FuncStaus::FuncStatus & FuncStaus::some_method().
12494
12495 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12496
12497         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12498         of the func_satus stuff. Edited and massaged in various ways by
12499         JMarc.
12500
12501         * lyxfunc.C (getStatus): use FuncStatus
12502
12503 2002-01-08  Juergen Vigna  <jug@sad.it>
12504
12505         * text.C (nextBreakPoint): use function Inset::isChar().
12506
12507         * paragraph.C (TeXOnePar): use function
12508         Inset::forceDefaultParagraphs.
12509
12510         * buffer.C (latexParagraphs): use function
12511         Inset::forceDefaultParagraphs.
12512
12513 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12514
12515         * lyx_gui.C (init): set the style of the menu popups to
12516         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12517
12518 2002-01-07  Juergen Vigna  <jug@sad.it>
12519
12520         * text.C (setHeightOfRow): small fix
12521         (prepareToPrint): don't look at alignment if we don't have the place
12522         for doing it.
12523
12524 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         * box.C: New file. Move the Box methods and functions out of box.h,
12527         following Lars' suggestion.
12528
12529 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * box.h: #include "support/LOstream.h", needed for inlined function.
12532
12533         * lyxtextclass.C:
12534         * lyxtextclasslist.C: added some using std declarations.
12535
12536 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12537
12538         * box.h: make signed dimensions to allow insets wider than
12539           the screen (bug #162)
12540
12541         * BufferView_pimpl.C: add some insetHit debug
12542
12543 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * vc-backend.C: add FIXME
12546
12547 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12548
12549         * lyxfunc.C (getStatus): enable code for showing math font status
12550         in toolbar/menu.
12551
12552 2002-01-07  Juergen Vigna  <jug@sad.it>
12553
12554         * text.C (nextBreakPoint): removed debug output not needed anymore.
12555
12556 2002-01-06  Juergen Vigna  <jug@sad.it>
12557
12558         * text.C (nextBreakPoint): fixed up this function we had this bug
12559         since ever but now hopefully we break row better.
12560         (insertChar): we have to check if an inset is the next char as it
12561         could now happen that a large inset is causing a break.
12562
12563 2002-01-05  Juergen Vigna  <jug@sad.it>
12564
12565         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12566         if it doesn't like to be drawed.
12567
12568 2002-01-04  Juergen Vigna  <jug@sad.it>
12569
12570         * BufferView2.C (lockInset): forgot to set a cursor.
12571
12572         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12573
12574 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12575
12576         * FormMathsPanel.C:
12577         * FormMathsPanel.h
12578         * MathsSymbols.C:
12579         * form_maths_panel.C:
12580         * form_maths_panel.h:
12581         * form_maths_panel.fd: implemented sub- and super- buttons in math
12582         panel.
12583
12584         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12585         (or ^ space) to be used as in TeX (req'd by André).
12586
12587         * lyxfunc.C: Allow ^ and _ again to be used both as
12588         super/subscript (mathed) and as themselves (in text).
12589
12590 2002-01-03  Allan Rae  <rae@lyx.org>
12591
12592         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12593         "LyX" or the filename of the current buffer if it has one.  This is a
12594         modified form of John Levon's patch.
12595
12596         * XFormsView.C (setWindowTitle): also set icon title.
12597
12598         * LyXView.h (setWindowTitle): signature changed.
12599         * XFormsView.h (setWindowTitle): ditto.
12600
12601 2002-01-02  Juergen Vigna  <jug@sad.it>
12602
12603         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12604
12605 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * screen.C (topCursorVisible): introduce a temp var for
12608         text->cursor.row(), handle the case where this row is null. (kindo
12609         hachish)
12610
12611         * text2.C (setCursor): add a couple of asserts.
12612
12613         * paragraph.h (inset_iterator): add -> operator
12614
12615         * paragraph.[Ch] (autoDeleteInsets): remove member function
12616
12617         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12618         cursor pos correctly and handle inset deletion by itself.
12619         (insertErrors): move iterator declaration out of for expression
12620
12621         * lyxtextclass.C: add <algorithm>
12622
12623         * Makefile.am: added the new files to sources, removed layout.C
12624
12625         * layout.C: removed file
12626
12627         * layout.h: remove LYX_DUMMY_LAYOUT
12628
12629         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12630         layout.
12631
12632         * lyxlayout.[Ch]:
12633         * lyxtextclass.[Ch]:
12634         * lyxtextclasslist.[Ch]: new files
12635
12636         * include order changes to a lot of files, also changes because of
12637         the six new files.
12638
12639 2001-12-27  Juergen Vigna  <jug@sad.it>
12640
12641         * buffer.C (asciiParagraph): more fixes.
12642
12643         * tabular.C (ascii): make ascii export support export of only the
12644         data separated by a column-delimiter.
12645         (ascii): better support for ascii export.
12646
12647         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12648
12649 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12650
12651         * tabular_funcs.C: use a "using std::getline" instead of the
12652         previous fix from Angus (necessary for cxx + lyxstring)
12653
12654 2001-12-24  Juergen Vigna  <jug@sad.it>
12655
12656         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12657
12658         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12659         problems. First check a minipage also if we have some ert-contents
12660         (not only on par->size(), second set the right depth of the paragraph
12661         on the relink to the root-paragraph-list!
12662
12663         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12664         which then did not anymore update the main paragraphs on undo/redo!
12665
12666 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12667
12668         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12669         code. Support all font-changing funcs (even those which are not in
12670         menu currently). Support for reporting font settings in
12671         mathed (disabled until Andre provides a function on mathed's side).
12672
12673         * func_status.h (toggle): small helper function to set toggle
12674         state on a flag.
12675
12676 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12677
12678         * tabular_funcs.C: getline -> std::getline
12679
12680 2001-12-21  Juergen Vigna  <jug@sad.it>
12681
12682         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12683         accessed and could be 0 (I couldn't generate this but it seems
12684         Michael could!).
12685
12686 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12687
12688         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12689         * tabular_funcs.h: here and include iosfwd
12690
12691 2001-12-20  Juergen Vigna  <jug@sad.it>
12692
12693         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12694         inside inset but undo_par was.
12695
12696 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12697
12698         * Thesaurus.C: always include <config.h> in sources.
12699
12700         * Painter.h:
12701         * lyxlookup.h:
12702         * box.h: do not include <config.h> in header files
12703
12704         * text.C (paintLastRow): remove unused variable
12705
12706         * text.C (transformChar):
12707         (insertChar):
12708         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12709
12710         * Painter.C (text):
12711         * font.C (width): rewrite to use uppercase() instead of
12712         islower/toupper.
12713
12714         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12715
12716 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12717
12718         * lyxfind.C: clean up of find failure position change
12719
12720 2001-12-20  Juergen Vigna  <jug@sad.it>
12721
12722         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12723
12724         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12725         (TeXRow): added to LaTeX a single tabular row.
12726         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12727         (Latex): simplified and finally good LT-h/f support.
12728         (various_functions): just small adaptions for LT-h/f support.
12729
12730         * tabular_funcs.[hC]: added and moved here all not classfunctions
12731         of LyXTabular.
12732
12733 2001-12-19  Juergen Vigna  <jug@sad.it>
12734
12735         * tabular.[Ch]: better support for longtabular options (not finished
12736         yet!)
12737
12738 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12739
12740         * text.C (paintLastRow): use the label font instead of the font of
12741         the last character to compute the size of *_BOX. This makes more
12742         sense and avoids a crash with empty paragraphs.
12743         Use Painter::rectangle to draw EMPTY_BOX.
12744
12745 2001-12-19  Juergen Vigna  <jug@sad.it>
12746
12747         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12748         the paragraphs if the replaced paragraph is not the first one!
12749         Tried to delete not used paragraphs but does not work yet so for
12750         now it's inside #ifdef's and by default off!
12751
12752 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12753
12754         * MenuBackend.C: include "lyx_main.h" instead of declaring
12755         lastfiles (actually was declared as LastFiles* instead of a
12756         scoped_ptr).
12757
12758 2001-12-17  Juergen Vigna  <jug@sad.it>
12759
12760         * tabular.C (AppendColumn): applied John's fix
12761
12762 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12763
12764         * BufferView.h:
12765         * BufferView.C:
12766         * BufferView_pimpl.h:
12767         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12768
12769         * Makefile.am:
12770         * box.h: new start of class for above
12771
12772         * lyxfunc.C: ignore space-only minibuffer dispatches.
12773           Show the command name when it doesn't exist
12774
12775         * minibuffer.C: don't add empty lines to the history
12776
12777         * minibuffer.C: add a space on dropdown completion
12778
12779 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * text.C: fix line above/below drawing in insets
12782
12783 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * lyxlength.C (LyXLength): Initialize private variables.
12786
12787 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12788
12789         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12790         when inserting error insets.
12791
12792 2001-12-13  Juergen Vigna  <jug@sad.it>
12793
12794         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12795         actually sometimes the before-paragraph.
12796         (setUndo): don't clear the redostack if we're not actually undoing!
12797
12798 2001-12-06  Juergen Vigna  <jug@sad.it>
12799
12800         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12801         and fixed redoing of main paragraph, so we can use it now ;)
12802
12803         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12804
12805 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12806
12807         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12808         Juergen's request
12809
12810 2001-12-13  André Pönitz <poenitz@gmx.net>
12811
12812         * undostack.[Ch]:
12813         * undo_func.C: minor cleanup
12814
12815 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12816
12817         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12818         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12819         font in urw-fonts package which is marked as -urw-fontspecific and
12820         does not work (incidentally, changing the encoding in the
12821         fonts.dir of this package to -adobe-fontspecific fixes the
12822         problem).
12823
12824         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12825         is a crash when undoing first paragraph (Juergen, please take a
12826         look). THis does not mean the undo fix is wrong, just that it
12827         uncovers problems.
12828
12829         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12830         the (Paragraph*) version when needed instead of duplicating the
12831         code.
12832
12833         * text.C (workWidth): use Inset::parOwner to find out where the
12834         inset has been inserted. This is a huge performance gain for large
12835         documents with lots of insets. If Inset::parOwner is not set, fall
12836         back on the brute force method
12837
12838         * paragraph_pimpl.C (insertInset):
12839         * paragraph.C (Paragraph):
12840         (cutIntoMinibuffer): set parOwner of insets when
12841         inserting/removing them
12842
12843         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12844
12845 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12846
12847         * commandtags.h:
12848         * LyXAction.C:
12849         * lyx_main.C:
12850         * lyxfunc.C:
12851         * mathed/formulabase.C:
12852         * mathed/math_cursor.[Ch]:
12853         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12854
12855
12856 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * lyxlength.[Ch] (operator!=): new function
12859
12860 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12861
12862         * text.C (workWidth): use Inset::parOwner to find out where the
12863         inset has been inserted. This is a huge performance gain for large
12864         documents with lots of insets. If Inset::parOwner is not set, fall
12865         back on the brute force method
12866
12867         * paragraph_pimpl.C (insertInset):
12868         * paragraph.C (Paragraph):
12869         (cutIntoMinibuffer): set parOwner of insets when
12870         inserting/removing them
12871
12872         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12873
12874 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12875
12876         * tabular-old.C (getTokenValue):
12877         * tabular.C (getTokenValue):
12878         (write_attribute): new versions for LyXLength
12879         (everywhere): adjust the use of widths
12880
12881         * tabular.h: change the type of widths from string to LyXLength
12882
12883 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12884
12885         * paragraph.C: fixed missing line number count when exporting
12886         Environments to LaTeX file
12887
12888         * buffer.C: added informational message for checking line numbers.
12889
12890 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12891
12892         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12893         paragraph, do the 'double space' part, but not the 'empty
12894         paragraph' one.
12895
12896         * text.C (workWidth): small optimization
12897         (getLengthMarkerHeight): use minimal size for negative lengths.
12898
12899 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12902
12903         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12904
12905 2001-12-11  André Pönitz <poenitz@gmx.net>
12906
12907         * FontLoader.C:
12908         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12909
12910 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * text2.C: keep selection on a setFont()
12913
12914 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * lyx_cb.C: another bv->text misuse, from insert label
12917
12918 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * kbsequence.h:
12921         * kbsequence.C: re-instate nmodifier mask
12922
12923 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12924
12925         * lyx_main.h: make lyxGUI private.
12926
12927 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * lyxfind.C: place the cursor correctly on failed search
12930
12931 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12932
12933         * text.C (getLengthMarkerHeight): for small heights, the arrows
12934         are not always on top/bottom of the text
12935         (drawLengthMarker): smaller arrows; take the left margin in
12936         account; draw also vfills.
12937         (paintFirstRow):
12938         (paintLastRow): remove special code for vfill and standard spaces,
12939         since everything is handled in drawLengthMarker now.
12940
12941 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12942
12943         * buffer.C (insertErtContents): try to handle font and language
12944         interaction a bit better.g
12945
12946         * ColorHandler.C (updateColor): change the hash to cover the whole
12947         LColor enum, ws cleanup
12948         (getGCLinepars): ditto
12949         (getGCLinepars): only lookup in the linecache once.
12950
12951 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12952
12953         * iterators.C (operator++): Make the iterator more robust
12954
12955         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12956         (John's patch)
12957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12958
12959 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * lyxtext.h:
12962         * text.C: better added space drawing
12963
12964 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * LyXView.C:
12967         * BufferView2.C: fix layout combo update on inset unlock
12968
12969 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * Makefile.am: don't compile unused files
12972
12973 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * lyxfunc.C:
12976         * commandtags.h:
12977         * LyXAction.C: remove old LFUN_LAYOUTNO
12978
12979 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * paragraph_pimpl.h:
12982         * paragraph_pimpl.C: isTextAt() doesn't need font param
12983
12984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * lyxlex.h:
12987         * lyxlex.C: little cleanup
12988
12989 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12990
12991         * BufferView_pimpl.C: fix insertAscii for insets
12992
12993 2001-12-05  Juergen Vigna  <jug@sad.it>
12994
12995         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12996         set the right font on the "multi" paragraph paste!
12997
12998 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * trans_decl.h:
13001         * trans_mgr.[Ch]:
13002         * trans.[Ch]:
13003         * lyxgluelength.C:
13004         * lyxlength.C: remove out-commented code.
13005
13006         * BufferView_pimpl:
13007         * CutAndPaste.C:
13008         * DepTable.C:
13009         * buffer.C:
13010         * chset.C:
13011         * lastfiles.C:
13012         * lyxlex.C:
13013         * lyxlex_pimpl.C:
13014         * lyxserver.C:
13015         * screen.C:
13016         * tabular-old.C:
13017         * tabular.C:
13018         * text.C:
13019         * trans_mgr.C:
13020         * vc-backend.C: change "while(" to "while ("
13021
13022         * lyxlength.[Ch]: add zero function to check if length is zero or
13023         not
13024         * lyxgluelength.C: use it
13025
13026 2001-12-05  Allan Rae  <rae@lyx.org>
13027
13028         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13029         Works for 2.95.3, from what I understand of Garst's reports this should
13030         work for other g++ versions.  We're screwed if the abs(int) definition
13031         changed between bugfix releases of gcc.
13032
13033 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * text.C: fix chapter label offset !
13036
13037 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * lyxtext.h:
13040         * text.C: fix hfill at end of line, clean up
13041
13042 2001-12-04  Juergen Vigna  <jug@sad.it>
13043
13044         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13045         that we force an update of the inset and it's owners if neccessary.
13046
13047 2001-12-03  Juergen Vigna  <jug@sad.it>
13048
13049         * text.C (rowLast): simplified code
13050
13051 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13052
13053         * lyxfunc.C: fix show options on timeout
13054
13055 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13056
13057         * screen.C (topCursorVisible): scroll half a page when the cursor
13058         reached top of bottom of screen
13059
13060 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * minibuffer.C: deactivate on loss of focus
13063
13064 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13065
13066         * vspace.[Ch] (operator!=): add operator.
13067
13068 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * BufferView_pimpl.C: refuse to open an inset when
13071         there's a selection.
13072
13073 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * BufferView_pimpl.C: allow to click on RHS of full row insets
13076
13077 2001-11-30  Juergen Vigna  <jug@sad.it>
13078
13079         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13080         insets for undo reasons.
13081
13082 2001-11-28  André Pönitz <poenitz@gmx.net>
13083
13084         * vspace.[Ch]: cosmetical changes
13085
13086 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13087
13088         * LyXAction.h:
13089         * LyXAction.C:
13090         * lyxfunc.h:
13091         * lyxfunc.C:
13092         * kbmap.h:
13093         * kbmap.C:
13094         * lyxrc.C:
13095         * kbsequence.h:
13096         * kbsequence.C: part re-write of old kb code
13097
13098         * Painter.C:
13099         * WorkArea.C: remove Lgb_bug_find_hack
13100
13101 2001-11-30  José Matos <jamatos@fep.up.pt>
13102
13103         * buffer.C (makeDocBookFile): add a comment to point a hack.
13104         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13105         Fixed a double write of labels.
13106
13107 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13108
13109         * LaTeX.C:
13110         * LaTeX.h Fixed bug in LaTeX class where it would not
13111         re-run latex if no depfiles were changed, but the .dvi was removed.
13112
13113 2001-11-28  André Pönitz <poenitz@gmx.net>
13114
13115         * all the files from the change on 2001/11/26:
13116         use lyx::layout_type instead of LyXTextClass::size_type
13117         use lyx::textclass_type instead of LyXTextClassList::size_type
13118
13119 2001-11-29  Juergen Vigna  <jug@sad.it>
13120
13121         * text.C: added support for paragraph::isFreeSpacing()
13122
13123         * buffer.C: same as above
13124
13125         * paragraph.h: inserted isFreeSpacing() function to enable
13126         FreeSpacing inside InsetERT.
13127
13128         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13129         of the paragraph's in the cut/copy buffer to 0!
13130
13131         * text2.C (removeRow): remove the assert as it can!
13132
13133         * lyxtext.h: added helper function firstRow returning firstrow and
13134         made firstrow private again.
13135
13136         * BufferView2.C (lockInset): don't relock if we're already locked!
13137
13138         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13139         the only paragraph.
13140         (removeRow): added Assert::(firstrow)
13141
13142         * debug.C: forgot to add INSETTEXT here.
13143
13144 2001-11-28  Juergen Vigna  <jug@sad.it>
13145
13146         * sp_spell.C (initialize): changed error text to more general
13147         spellchecker command use (not only ispell!)
13148
13149         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13150
13151         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13152
13153 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * vspace.C: initialise lyxgluelength on failure
13156
13157 2001-11-28  Allan Rae  <rae@lyx.org>
13158
13159         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13160         declaration & definition that looks like a function declaration.
13161
13162 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13163
13164         * BufferView2.C (copy):
13165         (copyEnvironment): do not clear the selection when doing a copy.
13166
13167         * text.C (paintFirstRow): compilation fix
13168
13169 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13170
13171         * tabular.C (Latex): correct line count when writing latex.
13172
13173 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * paragraph_pimpl.h:
13176         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13177           bug a bit
13178
13179 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13180
13181         * text.C:
13182         * LColor.h:
13183         * LColor.C: change vfillline->added_space
13184
13185         * text.C: add markers and text for added space
13186
13187         * vspace.C: fix comment
13188
13189 2001-11-28  André Pönitz <poenitz@gmx.net>
13190
13191         * paragraph.C: whitespace changes
13192         * all the other files from the change on 2001/11/26:
13193         change *::pos_type into lyx::pos_type
13194
13195 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13196
13197         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13198         language of the document when inserting error insets.
13199
13200 2001-11-26  André Pönitz <poenitz@gmx.net>
13201
13202         * BufferView_pimpl.[Ch]:
13203         *       CutAndPaste.C:
13204         * buffer.[Ch]:
13205         * lyxcursor.[Ch]:
13206         * lyxfind.C:
13207         * lyxfunc.C:
13208         * lyxrow.[Ch]:
13209         * paragraph.[Ch]:
13210         * paragraph_pimpl.[Ch]:
13211         * sp_spell.C:
13212         * text.C:
13213         * text2.C: reduce header dependencies, introduce type for positions
13214
13215 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * <various>: change to use Alert.h
13218
13219 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13220
13221         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13222         when encountering an unknown token.
13223         (readLyXformat2): Show an error message if there were unknown tokens.
13224
13225 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13226
13227         * BufferView2.C:
13228         * BufferView_pimpl.C:
13229         * buffer.C:
13230         * paragraph.h:
13231         * text.C:
13232         * text2.C: use par->isInset()
13233
13234 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * paragraph_pimpl.h:
13237         * paragraph_pimpl.C: cleanup
13238
13239 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13240
13241         * text2.C (removeRow):
13242         * text.C (setHeightOfRow): remove useless (and costly) call to
13243         getRow.
13244
13245 2001-11-20  Allan Rae  <rae@lyx.org>
13246
13247         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13248         Now need Inset*::checkInsertChar() to return true for appropriate
13249         cases so that the characters in the minibuffer will actually be
13250         inserted.
13251
13252 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13253
13254         * text.C: change the order of the includes.
13255         (workWidth): initialize it at once.
13256         (workWidth): make maxw unsigned
13257         (setHeightOfRow): remove unused variable (inset)
13258         (selectSelectedWord): remove unused variable (inset)
13259         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13260
13261 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13264         server is not running.
13265         (openConnection):
13266         (closeConnection): add debug info when server is disabled.
13267
13268         * ColorHandler.C (getGCForeground): send debug message to GUI
13269         channel.
13270
13271         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13272
13273         * kbmap.C (bind): modify because return conventions of
13274         kb_sequence::parse have changed.
13275
13276         * kbsequence.C (parse): only ignore spaces and not any stupid
13277         control character. This avoids tests like s[i] <= ' ', which are
13278         guaranteed to fail with 8bit characters and signed chars.
13279         Change return code to string::npos when there have been no error
13280         (0 was a bad idea when error is at first character)
13281
13282 2001-11-14  José Matos  <jamatos@fep.up.pt>
13283
13284         * buffer.h:
13285         * buffer.C (simpleDocBookOnePar): removed unused argument.
13286
13287 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13288
13289         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13290         insets which are part of a word. Paragraph::isLetter takes care of
13291         that now. Use Paragraph::isInset to identify insets.
13292         (selectSelectedWord): do not test for hyphenation break.
13293
13294         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13295         that protected spaces are considered as spaces.
13296
13297         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13298         Inset::isLetter.
13299
13300 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * lyxserver.h:
13303         * lyxserver.C: fix it. and small cleanup.
13304
13305 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * BufferView_pimpl.C: use inline helpers
13308
13309         * LaTeXFeatures.h:
13310         * LaTeXFeatures.C: fix typos
13311
13312         * Spacing.h:
13313         * Spacing.C: move spacing_string into class
13314
13315         * ToolbarDefaults.C: move stuff into namespace anon
13316
13317         * layout.h: update enum
13318
13319         * lyxfunc.C: use better debug
13320
13321         * minibuffer.h: fix typo
13322
13323         * debug.h:
13324         * debug.C:
13325         * WorkArea.C: add and use Debug::WORKAREA
13326
13327         * lyxtext.h:
13328         * text.C:
13329         * text2.C: code re-organisation, inline helpers
13330
13331 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13332
13333         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13334         std::vector.empty().
13335
13336 2001-11-09  Allan Rae  <rae@lyx.org>
13337
13338         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13339         '\n's after tables.  Tabular and ERT inset work now makes this no
13340         longer necessary.
13341
13342 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * minibuffer.h:
13345         * minibuffer.C: fix crash, improve drop-down completion
13346
13347 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13348
13349         * lyxserver.h:
13350         * lyxserver.C: invalidate fd's when doing endPipe()
13351
13352 2001-11-08  José Matos  <jamatos@fep.up.pt>
13353
13354         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13355         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13356
13357         * paragraph.h:
13358         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13359
13360 2001-11-07  José Matos  <jamatos@fep.up.pt>
13361
13362         * buffer.h:
13363         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13364         const qualifier.
13365
13366         * buffer.C (sgmlOpenTag):
13367         * buffer.C (sgmlCloseTag): removed debug info.
13368
13369         * buffer.h (sgmlOpenTag):
13370         * buffer.h (sgmlCloseTag): made public.
13371
13372 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13373
13374         * buffer.C (saveParamsAsDefaults):
13375         * lyx_cb.C (MenuLayoutSave): remove
13376
13377         * LyXAction.C (init):
13378         * commandtags.h:
13379         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13380
13381 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13382
13383         * buffer.C (setPaperStuff): removed from here...
13384
13385         * bufferparams.C (setPaperStuff): ... and moved there.
13386
13387 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * minibuffer.h:
13390         * minibuffer.C:
13391         * XFormsView.C: add support for drop-down completion
13392
13393 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13394
13395         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13396         commands.
13397
13398 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13401         disabled.
13402
13403 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * lyx_main.C: change ref to known bugs
13406
13407 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13408
13409         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13410         to work around older babel problems.
13411
13412 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13413
13414         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13415
13416 2001-10-24  Juergen Vigna  <jug@sad.it>
13417
13418         * tabular-old.C (ReadOld): below variable changes reflected.
13419
13420         * tabular.[Ch]: added ltType struct for longtable header/footer
13421         defines and changed all instances where they are used. Added
13422         future support for double top/bottom rows.
13423
13424 2001-10-24  José Matos  <jamatos@fep.up.pt>
13425
13426         * buffer.h (docbookHandleCaption):
13427         * buffer.C (docbookHandleCaption): removed unused function.
13428         (makeDocBookFile): moved docbook supported version to v4.1.
13429
13430 2001-10-24  José Matos  <jamatos@fep.up.pt>
13431
13432         * tabular.h:
13433         * tabular.C (docbookRow): new function to export docbook code of a row.
13434         (DocBook): now honors the longtable flags.
13435
13436 2001-10-23  José Matos  <jamatos@fep.up.pt>
13437
13438         * LaTeXFeatures.h:
13439         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13440         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13441
13442         * buffer.C (makeLinuxDocFile):
13443         (makeDocBookFile): reworked the preamble, more clean, and with
13444         support for lyx defined entities. Changed the document declaration
13445         to be more XML friendly.
13446
13447         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13448         if we need to output XML that should be done with a filter.
13449
13450 2001-10-22  Juergen Vigna  <jug@sad.it>
13451
13452         * sp_pspell.h (class PSpell): add alive function needed in the
13453         controller to see if the spellchecker could be started.
13454
13455 2001-10-22  Juergen Vigna  <jug@sad.it>
13456
13457         * buffer.C (insertStringAsLines): modify the font for inserting
13458         chars in certain conditions by calling checkInsertChar(font).
13459
13460 2001-10-19  Juergen Vigna  <jug@sad.it>
13461
13462         * text.C (workWidth): use getRow instead of wrong algorithm.
13463         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13464
13465 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13466
13467         * lyxserver.h:
13468         * lyxserver.C:
13469         * lyx_main.h:
13470         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13471
13472 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * text.C (workWidth): do not search for the exact row when
13475         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13476         optimization for big documents.
13477
13478 2001-10-18  Juergen Vigna  <jug@sad.it>
13479
13480         * text.C (workWidth): new function with added Inset * parameter.
13481
13482 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13485
13486         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13487         change return type of getColumnNearX.
13488
13489
13490         * text.C (changeRegionCase): use uppercase/lowercase instead of
13491         toupper/tolower.
13492         (leftMargin):
13493         (rightMargin): simplify code by factoring out the uses of
13494         textclasslist.
13495         (labelFill):
13496         (numberOfHfills):
13497         (setHeightOfRow):
13498         (appendParagraph): use Paragraph::size_type
13499
13500 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13501
13502         * vspace.C (asLatexString): add a missing break
13503
13504 2001-10-15  Herbert Voss  <voss@perce.de>
13505
13506         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13507
13508 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13511         is not available.
13512
13513 2001-10-10  André Pönitz <poenitz@gmx.net>
13514
13515         * lyxfunc.C: removed greek_kb_flag.
13516
13517 2001-10-10  Herbert Voss  <voss@perce.de>
13518
13519         * lyx_main.C: delete global string help_lyxdir.
13520
13521 2001-10-09  Herbert Voss  <voss@perce.de>
13522
13523         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13524
13525         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13526
13527         * lyx_main.C: added global string help_lyxdir.
13528
13529         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13530
13531 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13532
13533         * lyxrc.C (set_font_norm_type): support iso8859-4
13534
13535 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13536
13537         * LaTeX.C (deplog): add another regex for MikTeX
13538
13539 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13540
13541         * lyxrc.C (set_font_norm_type): support iso8859-3
13542
13543 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13546
13547         * LaTeXFeatures.C: remove special case of french and index
13548
13549         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13550         before \begin{document}). This solves several incompatibilities.
13551
13552 2001-10-03  Garst Reese  <reese@isn.net>
13553
13554         * lyx_cb.C: change CheckTex error msg.
13555
13556 2001-10-03  José Matos  <jamatos@fep.up.pt>
13557
13558         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13559
13560 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * .cvsignore: update
13563
13564         * lyx_main.C (commandLineVersionInfo): use new style version info.
13565
13566         * buffer.C (writeFile):
13567         (makeLaTeXFile):
13568         (makeLinuxDocFile):
13569         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13570
13571         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13572
13573         * version.h: update to use stuff in version.C
13574
13575         * version.C.in: new file. Contains version information determined
13576         at compile time. This is a merging of version.h and
13577         version_info.h.in.
13578
13579 2001-10-03  Juergen Vigna  <jug@sad.it>
13580
13581         * BufferView_pimpl.C (update): don't change "dirty" status in
13582         updateInset call.
13583
13584 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13585
13586         * WorkArea.C (c-tor): re-position version string slightly.
13587
13588 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13591         revert to previous code.
13592
13593         WorkArea.[Ch]: (show, destroySplash): methods removed.
13594
13595         WorkArea.C: rework code so that it's an amalgam of the codes before and
13596         after the splash screen was moved to WorkArea.
13597
13598 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * lyxrc.C (read):
13601         * vspace.C (inPixels):
13602         (lyx_advance):
13603         * kbmap.C (bind):
13604         * buffer.C (insertStringAsLines):
13605         (asciiParagraph): fix types to be large enough
13606
13607         * lyxlex_pimpl.h: change member status from short to int
13608
13609         * layout.h: fix type of endlabeltype
13610
13611         * kbmap.C (bind):
13612         * kbsequence.C (parse): change return type to string::size_type
13613
13614         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13615         variable
13616
13617         * Bullet.C (bulletSize):
13618         (bulletEntry): do not use short ints as parameters
13619
13620         * BufferView2.C (insertLyXFile): change a char to an int.
13621
13622         * WorkArea.C (WorkArea): remove unneeded floats in computation
13623
13624 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13625
13626         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13627
13628         * paragraph.C (asString): Do not ignore newline/hfill chars when
13629         copying to the clipboard.
13630
13631 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13632
13633         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13634         after a multi-line inset.
13635
13636 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13637
13638         * paragraph.C (validate): Set NeedLyXFootnoteCode
13639
13640 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13641
13642         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13643         and decrease-error to decrease.
13644
13645 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13648         it more readable (should be equivalent)
13649
13650 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13651
13652         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13653
13654 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13657         of a cursor (row, etc.) after a character has been deleted
13658         (deleteEmptyParagraphMechanism): call the method above on _all_
13659         cursors held by the LyXText when a double space has been
13660         detected/deleted.
13661
13662 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13663
13664         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13665         pixmap.
13666         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13667
13668         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13669         background. Use greyOut() and the new show() methods to toggle between
13670         the foreground and background. Add code to remove the splash after
13671         its initial showing.
13672
13673         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13674         (create_forms): no longer call Dialogs::showSplash.
13675
13676 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * .cvsignore: add version_info.h
13679
13680 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13681
13682         * version_info.h.in: new file
13683
13684         * Makefile.am: add version_info.h.in
13685
13686         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13687         version_info.h instead of VERSION_INFO
13688
13689 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13692         The ERT inset now returns string().
13693
13694 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13695
13696         * lyxtext.h, text.C (selectNextWord): renamed as
13697         selectNextWordToSpellcheck.
13698
13699         * text.C (selectNextWordToSpellcheck): Modified to not select
13700         words inside an ERT inset.
13701
13702 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13703
13704         * lyx_cb.C (MenuLayoutSave): change a bit the question
13705
13706         * sp_base.h: include <sys/types.h>
13707
13708 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13709
13710         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13711
13712 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13713
13714         * several files: fix typos in user-visible strings
13715
13716 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13717
13718         * text2.C (pasteSelection): do not set the selection, since it
13719         will be cleared later. Actually, the intent was to fix the way the
13720         selection was set, but I figured rmoving the code was just as good.
13721
13722 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13723
13724         * FontLoader.C (available): Check if font is available without
13725         loading the font.
13726
13727 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13728
13729         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13730
13731 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * lyxrc.[Ch]: added display_graphics variable and associated code.
13734
13735 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13736
13737         * bufferparams.C (hasClassDefaults): new method. Returns true if
13738         the buffer parameters correspond to known class defaults
13739
13740 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * XFormsView.C (show): set minimum size to the main window.
13743
13744 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13745
13746         * text2.C (copySelection):
13747         (cutSelection):
13748         * lyxfind.C (LyXReplace):
13749         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13750         LyXText::selectionAsString.
13751
13752         * paragraph.C (asString): add "label" argument to the second form
13753
13754         * text2.C (selectionAsString): add "label" argument and pass it to
13755         Paragraph::asString.
13756
13757 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * lyx_main.C (commandLineHelp): remove version information
13760
13761 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13762
13763         * lyx_main.C: add -version commandline option
13764
13765 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * paragraph.h: make the optional constructor arg required instead.
13768         some modifications to other files because of this.
13769
13770         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13771
13772         * lyxserver.C (C_LyXComm_callback): make it static
13773
13774         * lyx_main.C (error_handler): make it static
13775
13776         * lyx_gui.C (LyX_XErrHandler): make it static
13777
13778         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13779
13780         * WorkArea.C: make the extern "C" methods static.
13781
13782         * Makefile.am (lyx_LDADD): simplify
13783
13784 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13787         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13788
13789         * LyXAction.C (init):
13790         * lyxfunc.C (dispatch): associated code removal.
13791
13792 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * lyxfont.h (isSymbolFont): shut off warning
13795
13796         * text.C (setHeightOfRow):
13797         (getVisibleRow): fix crash with empty paragraphs which have a
13798         bottom line
13799
13800 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13801
13802         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13803         code.
13804
13805 2001-09-04  José Matos  <jamatos@fep.up.pt>
13806         * buffer.C
13807         * buffer.h
13808         * tabular.C (docbook): rename docBook method to docbook.
13809
13810 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * Makefile.am: add dependencies to main.o.
13813
13814 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * FontLoader.C (available): Return false if !lyxrc.use_gui
13817
13818 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13819
13820         * FontInfo.C (query):
13821         * converter.C (view):
13822         * importer.C (Import):
13823         * exporter.C (Export): Can not -> cannot.
13824
13825 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * BufferView_pimpl.C: allow to create index inset even if
13828           string is empty
13829
13830 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13831
13832         * buffer.C (getLists): replace boost::tie code with an explicit pair
13833         as boost::tie can break some compilers.
13834
13835         * iterators.h: Added a std:: declaration to the return type of
13836         ParIterator::size.
13837
13838 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13839
13840         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13841           case.
13842
13843 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13844
13845         * iterators.[Ch]: New files. Provide paragraph iterators.
13846
13847         * buffer.C (changeLanguage): Use paragraph iterators.
13848         (isMultiLingual): ditto
13849
13850         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13851
13852 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13853
13854         * FontLoader.C: Support for cmr font.
13855
13856 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13857
13858         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13859         (available): New method.
13860
13861         * FontInfo.C (getFontname): Use scalable fonts even when
13862         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13863         found.
13864
13865 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * converter.C (Formats::view): reverted! Incorrect fix.
13868
13869 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13870
13871         * converter.C (Formats::view): only output the -paper option
13872         if the dvi viewer is xdvi, thereby fixing bug #233429.
13873
13874 2001-08-23  Herbert Voss  <voss@perce>
13875
13876         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13877
13878 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * Spacing.h (Spacing): Set space to Default on in the default
13881         constructor.
13882
13883 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13884
13885         * vc-backend.h (RCS::versionString): add RCS to version
13886         (CVS::versionString): add CVS to version
13887
13888         * vc-backend.C (scanMaster): do not add CVS to version.
13889         (scanMaster): do not add RCS to version
13890
13891         * lyxvc.C (versionString): new method
13892
13893         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13894
13895 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13896
13897         * Spacing.C (set): initialize fval
13898
13899 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13900
13901         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13902         " or \.
13903
13904 2001-08-16  Juergen Vigna  <jug@sad.it>
13905
13906         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13907
13908 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13909
13910         * BufferView_pimpl.C:
13911         * figureForm.C:
13912         * lyxtext.h:
13913         * text2.C: setParagraph takes linespacing now
13914
13915 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13916
13917         * LyxAction.C: add internal LFUN_CITATION_INSERT
13918
13919         * LyXView.C: actually apply fix
13920
13921         * bufferlist.C: fix open non-existent file
13922
13923         * lyxfind.C: fix indentation
13924
13925         * lyxfunc.C: remove unneeded assert, fix typo
13926
13927 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * MenuBackend.C: use "Floatname List"
13930
13931 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13932
13933         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13934         when converting LaTeX layout to insetERT.
13935         Generate a non-collapsed float when reading old float
13936
13937 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13940         ERT insets.
13941
13942 2001-08-13  Juergen Vigna  <jug@sad.it>
13943
13944         * text.C (fill): return 0 instead of 20 as this seems to be the more
13945         correct value.
13946
13947 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13948
13949         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13950         lyxrc.font_norm.
13951
13952 2001-08-13  Juergen Vigna  <jug@sad.it>
13953
13954         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13955         casesensitive off.
13956         (SearchBackward): comment out the unlocking of the inset_owner this
13957         should not be needed!
13958
13959 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * Many files: Remove inherit_language, and add latex_language
13962
13963         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13964         collapsible insets.
13965
13966 2001-08-10  Juergen Vigna  <jug@sad.it>
13967
13968         * text.C (prepareToPrint): fixed hfill-width in draw!
13969
13970         * BufferView2.C (selectLastWord): save the selection cursor as this
13971         now is cleared in the function LyXText::clearSelection!
13972
13973 2001-08-08  Juergen Vigna  <jug@sad.it>
13974
13975         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13976         BACKSPACE type functions.
13977
13978         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13979         is only cutted from the document but not put in the cut-buffer, where
13980         still the old stuff should be.
13981
13982         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13983
13984         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13985
13986         * tabular.C (SetWidthOfCell): fixed special case where the width
13987         was not updated!
13988         (LeftLine): handle '|' in align_special.
13989         (RightLine): ditto
13990         (LeftAlreadyDrawed): ditto
13991         (SetWidthOfCell): ditto
13992
13993 2001-08-07  Juergen Vigna  <jug@sad.it>
13994
13995         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13996
13997 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13998
13999         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14000         * lyxlex.[hC]: ditto
14001
14002 2001-08-06  Juergen Vigna  <jug@sad.it>
14003
14004         * text.C (getVisibleRow): fix up row clearing a bit.
14005
14006 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14007
14008         * minibuffer.C: make sure the X server sees the changes in the input.
14009
14010 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * paragraph.C (getFont): split into...
14013         (getLabelFont): this
14014         (getLayoutFont): and this
14015         * paragraph_pimpl.C (realizeFont): calling this
14016
14017         * text2.C (getFont): split into...
14018         (getLayoutFont): this
14019         (getLabelFont): and this
14020         (realizeFont): all three calling this
14021
14022         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14023         files where used.
14024
14025 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14028
14029 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14030
14031         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14032         layouts from the Quote inset insertion.
14033
14034 2001-08-03  Juergen Vigna  <jug@sad.it>
14035
14036         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14037
14038         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14039         only if status not is already CHANGED_IN_DRAW (second level).
14040
14041         * text.C (draw): don't set the need_break_row when inside an
14042         InsetText LyXText.
14043
14044 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * buffer.C (parseSingleLyXformat2Token): handle more latex
14047         conversion cases.
14048
14049         * bufferview_funcs.[hC]: change function names to
14050         begin with small char, adjust other files.
14051
14052 2001-08-02  André Pönitz <poenitz@gmx.net>
14053
14054         * lyxfunc.C:
14055         BufferView_pimpl.C: remove broken special code for math-greek
14056
14057 2001-08-02  Juergen Vigna  <jug@sad.it>
14058
14059         * BufferView_pimpl.C (update): redone this function so that we
14060         update the text again if there was a CHANGE_IN_DRAW.
14061
14062         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14063         (drawFromTo): added a new internal bool which is used by draw() and
14064         redraw() function.
14065         (general): some cursor drawing problems fixed.
14066
14067 2001-08-01  Juergen Vigna  <jug@sad.it>
14068
14069         * lyxfind.C (LyXFind): fixed
14070         (SearchForward): ditto
14071         (SearchBackward): ditto
14072
14073         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14074         spurius drawing of the cursor in the main area.
14075
14076         * text2.C (status): small fix which could lead to a segfault!
14077         (clearSelection): remove unneeded BufferView param.
14078
14079 2001-08-01  André Pönitz <poenitz@gmx.net>
14080
14081         * lyxfunc.C: small change due to changed mathed interface
14082
14083 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14086
14087 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14088
14089         * lyxfunc.c: fail gracefully if file doesn't exist
14090
14091         * LyXSendto.C:
14092         * buffer.C:
14093         * lyxfunc.C:
14094         * BufferView_pimpl.C: IsDirWriteable() proto changed
14095
14096         * LyXView.C: fix updateWindowTitle() to store the last title
14097
14098 2001-07-31  Juergen Vigna  <jug@sad.it>
14099
14100         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14101         the font (wrong since using of Paragraph::highestFontInRange).
14102
14103         * paragraph.C (highestFontInRange): added a default_size parameter.
14104
14105         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14106         (setHeightOfRow): reformat
14107
14108 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * converter.[hC] + affected files: move to (inital-char)lowercase
14111         function names.
14112
14113         * ParagraphParameters.C (ParagraphParameters): remove commented code
14114
14115         * PainterBase.[Ch]: remove commented code
14116
14117         * LaTeXFeatures.h: add "bool floats" for float.sty
14118
14119         * LaTeXFeatures.C (LaTeXFeatures): init floats
14120         (require): handle float
14121         (getPackages): do it with floats
14122
14123 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14124
14125         * BufferView_pimpl.C (Dispatch): improve handling of
14126         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14127
14128         * commandtags.h: #include lyxfont.h here temporarily to avoid
14129         keybinding bug.
14130
14131         * bufferlist.h: include LString.h here.
14132
14133 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14134
14135         * text2.C (getStringToIndex): new method.
14136
14137 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14138
14139         * *: Reduced header file dependencies all over.
14140
14141 2001-07-30  Baruch Even  <baruch@lyx.org>
14142
14143         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14144
14145 2001-07-29  Baruch Even  <baruch@lyx.org>
14146
14147         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14148
14149 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * ParameterStruct.h (endif): add a default constructor to make
14152         sure that all variables is initialized.
14153
14154         * ParagraphParameters.C (ParagraphParameters): adjust
14155
14156 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14159         index; also, check that there is something to index, and that it
14160         does not span over several paragraphs.
14161         (doubleClick): use WHOLE_WORD_STRICT for double click.
14162
14163         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14164
14165         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14166         scheme.
14167
14168 2001-07-26  Baruch Even  <baruch@lyx.org>
14169
14170         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14171         an InsetFig figure, backwards compatible reading of old figure code.
14172
14173 2001-07-27  Juergen Vigna  <jug@sad.it>
14174
14175         * text2.C: font.realize function adaption.
14176
14177         * text.C (draw): add a warnings lyxerr text if needed.
14178
14179         * layout.C: font.realize function adaption.
14180
14181         * language.C: add inherit_language and implement it's handlings
14182
14183         * bufferview_funcs.C (StyleReset): remove language parameter from
14184         font creation (should be language_inherit now).
14185
14186         * bufferparams.C (writeFile): handle ignore_language.
14187
14188         * paragraph.C (getFontSettings): the language has to be resolved
14189         otherwise we have problems in LyXFont!
14190
14191         * lyxfont.C (lyxWriteChanges): added document_language parameter
14192         (update): removed unneeded language parameter
14193
14194         * paragraph.C (validate): fixed wrong output of color-package when
14195         using interface colors for certain fonts in certain environments,
14196         which should not seen as that on the final output.
14197
14198 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * BufferView_pimpl.C:
14201         * Thesaurus.h:
14202         * Thesaurus.C:
14203         * Makefile.am:
14204         * commandtags.h:
14205         * LyXAction.C: add thesaurus support
14206
14207         * lyxfind.h:
14208         * lyxfind.C: add "once" parameter, for thesaurus, to not
14209           move to the next match
14210
14211 2001-07-26  Juergen Vigna  <jug@sad.it>
14212
14213         * lyxfont.C (realize): honor ignore_language too!
14214         (resolved): ditto.
14215
14216         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14217
14218         * text.C (draw): one place more for ignore_language to not draw
14219         itself!
14220
14221 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14224
14225 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14228         the minipage conversion problem.
14229
14230 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14231
14232         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14233         insert an inset.
14234
14235 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * BufferView.h: don't forward declare WorkArea
14238
14239         * BufferView.C: don't include WorkArea.h
14240
14241 2001-07-25  André Pönitz <poenitz@gmx.net>
14242
14243         * commandtags.h:
14244         * LyXAction.C:
14245         * lyxfunc.C:  new LFUN 'math-space'
14246
14247         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14248
14249 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14250
14251         * text2.C (toggleInset): call open/close
14252
14253 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14254
14255         * lyxfunc.C (dispatch): add debug for the disabled case
14256
14257         * font.C (buttonText): make similar to rectText
14258
14259         * buffer.C (readInset): comment out parsing of insetlist and
14260         insttheorem
14261
14262         * PainterBase.C (rectText): small correction
14263
14264         * BufferView_pimpl.C: comment out insettheorem and insetlist
14265         * LyXAction.C: ditto
14266         * commandtags.h: ditto
14267
14268 2001-07-24  Juergen Vigna  <jug@sad.it>
14269
14270         * text.C (draw): honor the ignore_language.
14271
14272         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14273
14274 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14277         char inset.
14278
14279 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14280
14281         * lyxtext.h: remove unused (and unimplemented) methods
14282
14283 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14284
14285         * text.C (getVisibleRow): honor background color
14286
14287         * PainterBase.h:
14288         * Painter.h: remove default color argument for fillRectangle
14289
14290         * text.C (backgroundColor): new method
14291
14292 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * text.C (getVisibleRow): adjust
14295
14296         * font.[Ch] (rectText): new method, metrics
14297         (buttonText): new method, metrics
14298
14299         * PainterBase.[hC]: make rectText and buttonText always draw and take
14300         fewer paramteres.
14301
14302 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14303
14304         * ToolbarDefaults.C (read):
14305         * MenuBackend.C (read): allow escaping in all strings
14306
14307         * BufferView_pimpl.C (insertAndEditInset): new method.
14308         (Dispatch): use insertAndEditInset whenever appropriate.
14309
14310         * BufferView_pimpl.C (insertNote): removed
14311
14312         * BufferView_pimpl.C (smartQuote): new method, moved from
14313         BufferView; if an insetquote cannot be inserted, insert a '"'
14314         character instead.
14315
14316         * BufferView2.C: remove insertCorrectQuote();
14317
14318         * lyxfunc.C (getStatus): Add support for all remaingin
14319         inset-insert lfuns.
14320
14321         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14322
14323         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14324         command (necessary to pass " as parameter of self-insert.
14325
14326         * text.C (selectWordWhenUnderCursor):
14327         (selectWord): add word_location parameter
14328         (selectWordWhenUnderCursor): same + remove special code for word
14329         boundary.
14330         (selectNextWord): use kind() to guess type of insetspecialchar,
14331         not latex().
14332
14333         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14334         (insertErtContents): create ert insets as collapsed.
14335         (readInset): better compatibility code for Info inset.
14336
14337 2001-07-20  Juergen Vigna  <jug@sad.it>
14338
14339         * lyxfunc.C (dispatch): use always LyXFind now!
14340
14341         * text2.C (init): add a reinit flag so that the LyXText can be
14342         reinited instead of deleted and reallocated (used in InsetText).
14343
14344         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14345
14346         * text.C: ditto
14347
14348         * text2.C: ditto
14349
14350 2001-07-18  Juergen Vigna  <jug@sad.it>
14351
14352         * text.C (selectNextWord): handle insets inside inset by calling
14353         always the bv->text functions so that we can go up the_locking_inset!
14354
14355         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14356         in strange locations when inside an inset!
14357
14358         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14359         handling to include insets.
14360
14361         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14362
14363 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14364
14365         * LyXAction.C (init):
14366         * commandtags.h:
14367         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14368         LIGATURE_BREAK, since the name is so stupid.
14369
14370 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14373         InsetInfos.
14374
14375         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14376
14377         * sp_form.[Ch]: remove.
14378
14379         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14380
14381         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14382         InsetInfo.
14383
14384         * src/buffer.C (readInset): ditto.
14385
14386 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14387
14388         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14389         menuSeparator(), endOfSentenceDot(), ldots() and
14390         hyphenationPoint(), which are therefore removed.
14391         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14392
14393         * LyXAction.C (init):
14394         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14395
14396         * paragraph.C (getWord): removed.
14397
14398         * BufferView_pimpl.C (Dispatch): use last word or selection for
14399         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14400
14401         * lyx_main.C (queryUserLyXDir): do not ask before creating
14402         user_dir, except if it has been named explicitely.
14403
14404 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14405
14406         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14407         a document of zero size.
14408
14409 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14410
14411         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14412         approriately in the c-tor and in require().
14413         (getPackages): output the appropriate LaTeX for natbib support.
14414
14415         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14416         variables "use_natbib" and "use_numerical_citations" when reading the
14417         LyX file.
14418         (readInset): read the various natbib cite commands.
14419         (validate): white-space change.
14420
14421         * bufferparams.[Ch]: new variables "bool use_natbib" and
14422         "bool use_numerical_citations".
14423         (writeFile): output them in the LyX file.
14424
14425 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14426
14427         * lyxfunc.C (getStatus): add support for all the inset insertion
14428         commands.
14429
14430         * text2.C (insertInset):
14431         * paragraph.C (insetAllowed):
14432         * BufferView_pimpl.C (insertInset): update to take in account the
14433         renaming of insertInsetAllowed
14434
14435         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14436
14437         * text2.C (getInset): new method. returns inset at cursor position.
14438
14439         * BufferView_pimpl.C (Dispatch): changes because of this.
14440
14441         * LyXAction.C (init): rename open-stuff to inset-toggle.
14442
14443         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14444
14445         * text2.C (toggleInset): renamed from openStuff; use
14446         Inset::open().
14447
14448 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14449
14450         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14451
14452         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14453
14454 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * buffer.C (readLyXformat2): Add filename to the error dialog
14457
14458 2001-07-18  Juergen Vigna  <jug@sad.it>
14459
14460         * tabular.C (GetCellNumber): put an assert here instead of the check!
14461
14462 2001-07-17  Juergen Vigna  <jug@sad.it>
14463
14464         * BufferView_pimpl.C (toggleSelection): adapted too.
14465
14466         * text.C (selectNextWord): adapted for use with insets.
14467         (selectSelectedWord): ditto
14468
14469 2001-07-17  Juergen Vigna  <jug@sad.it>
14470
14471         * sp_spell.C (PSpell): fix initialitation order.
14472
14473 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * paragraph.C: spacing
14476
14477 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14478
14479         * sp_spell.C: repair language selection for pspell
14480
14481 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * lyxfunc.h: change more methods to begin with lower char.
14484
14485 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14486
14487         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14488         for unknown layouts.
14489
14490 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14491
14492         * buffer.C (readLyXformat2): Generate an error dialog if there are
14493         unknown layouts.
14494
14495 2001-07-16  Juergen Vigna  <jug@sad.it>
14496
14497         * sp_spell.C: always compile ISpell part.
14498
14499         * lyxrc.C: added use_pspell entry and it's handling.
14500
14501 2001-07-13  Juergen Vigna  <jug@sad.it>
14502
14503         * sp_spell.C: removed double includes.
14504
14505 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14506
14507         Consistent use of Lsstream.h:
14508         * Lsstream.h: added using std::stringstream for consistencies sake.
14509
14510         * buffer.C: removed using std::stringstream
14511
14512         * lyxfont.C (stateText):
14513         * paragraph.C (asString):
14514         * text.C (selectNextWord, selectSelectedWord):
14515         * text2.C (setCounter):
14516         * vspace.C (asString, asLatexString):
14517         std::ostringstream -> ostringstream.
14518
14519 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14520
14521         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14522         * commandtags.h: add LFUN_HELP_ABOUTLYX
14523         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14524
14525 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14526
14527         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14528         cursorToggle()
14529         * lyx_gui_misc.C: remove spellchecker
14530         * lyxfunc.C: showSpellchecker
14531         * sp_base.h: added
14532         * sp_ispell.h: added
14533         * sp_pspell.h: added
14534         * sp_spell.C: added
14535         * sp_form.[Ch]: removed
14536         * spellchecker.[Ch]: removed
14537
14538 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14539
14540         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14541         is set.
14542         (simpleTeXSpecialChars): Simply print the input character without
14543         any special translation if pass_thru is set.
14544
14545         * layout.h: Added bool pass_thru to layout class for being able to
14546         implement pass through of a paragraph for Literate Programming.
14547
14548         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14549         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14550         * layout.C (Read): add "passthru" to list of layout tags and add
14551         code to set the pass_thru boolean when it is read.
14552
14553 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14554
14555         * trans_decl.h: remove allowed from KmodInfo
14556
14557         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14558         remove allowed code
14559         (Load): adjust
14560
14561         * paragraph_pimpl.C (erase): use boost::prior
14562
14563         * Painter.C (text): use data() instead of c_str() when length is
14564         also provided.
14565         * WorkArea.C (putClipboard): ditto
14566         * font.h (width): ditto
14567
14568         * BufferView2.C: use it-> instead of (*it). for iterators
14569         * texrow.C: ditto
14570         * paragraph_pimpl.C: ditto
14571         * paragraph.C: ditto
14572         * minibuffer.C: ditto
14573         * language.C: ditto
14574         * kbmap.C: ditto
14575         * encoding.C: ditto
14576         * counters.C: ditto
14577         * converter.C: ditto
14578         * chset.C: ditto
14579         * Variables.C: ditto
14580         * TextCache.C: ditto
14581         * MenuBackend.C: ditto
14582         * LyXAction.C: ditto
14583         * LColor.C: ditto
14584         * FloatList.C: ditto
14585         * DepTable.C: ditto
14586         * ColorHandler.C (LyXColorHandler): ditto
14587
14588 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14589
14590         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14591
14592         * text2.C (openStuff): reintroduce this method (which had been
14593         nuked in NEW_INSETS frenzy).
14594
14595         * lyxfunc.C (Dispatch): when an action has not been handled, use
14596         its name in the error message, not its number.
14597
14598         * paragraph.C (inInset): change method name to begin with lowercase.
14599
14600         * undo_funcs.C:
14601         * text2.C: updates because of this.
14602
14603 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * ToolbarDefaults.C (add): add spaces in error message
14606
14607 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14608
14609         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14610         (readLyXformat2): rename return_par to first_par, use lyxlex's
14611         pushToken and remove the manual push handling.
14612         (parseSingleLyXformat2Token): add another ert comp. variable:
14613         in_tabular, rename return_par to first_par. handle newlines better
14614
14615 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14618
14619 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * text2.C (getParFromID): removed
14622
14623         * buffer.C (getParFromID): new method moved form lyxtext.
14624         * BufferView2.C (insertErrors): adjust
14625         (setCursorFromRow): adjust
14626         * BufferView_pimpl.C (restorePosition): adjust
14627         * lyxfunc.C (Dispatch): adjust
14628         * undo_funcs.C (textUndo): adjust
14629         (textRedo): adjust
14630         (textHandleUndo): adjust
14631         (textHandleUndo): adjust
14632
14633 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14634
14635         * buffer.C: up' the LYX_FORMAT
14636
14637         * lyxfont.h: turn NO_LATEX on as default
14638
14639         * buffer.C (insertErtContents): new methods of tex style compability.
14640         (parseSingleLyXformat2Token): use it several places.
14641         * tabular.C (OldFormatRead): and here
14642
14643 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * text2.C: remove some commented code.
14646         reindent file.
14647
14648         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14649         * trans.C: changes because of the above.
14650
14651 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14652
14653         * text2.C (setCounter): Fix counters bug with bibliography layout.
14654
14655 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14658         own member functions
14659         (simpleTeXSpecialChars): ditto
14660
14661 2001-07-06  Juergen Vigna  <jug@sad.it>
14662
14663         * a lot of files: changed the access to LyXText::status and the
14664         call of undo-functions.
14665
14666         * undo.[Ch]: added a inset_id to the undo informations.
14667
14668         * undo_funcs.[Ch]: added and moved here all undo functions.
14669
14670         * lyxtext.h: give the status enum a weight, made status_ a private
14671         variable and made accessor functions for it, removed the whole bunch
14672         of undo-functions as they are now in their own file, make some
14673         functions publically available. Added function ownerParagraph with
14674         int parameter.
14675
14676         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14677         made InInset() a const function, added getParFromID() function.
14678
14679         * buffer.[Ch]: added const version for inset_iterator functions,
14680         added getInsetFromID() function.
14681
14682         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14683         changed undo functions for new version.
14684
14685 2001-07-05  Juergen Vigna  <jug@sad.it>
14686
14687         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14688         unknow mechanism does not call the proper constructor but only this
14689         one also if I request the other!?
14690
14691 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14692
14693         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14694
14695         * text2.C (LyXText): use initialization lists.
14696
14697         * lyxtext.h (Selection): initialize set_ and mark_
14698         (init): remove method
14699
14700 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14701
14702         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14703
14704 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14705
14706         * screen.[Ch]: change method names to begin with lowercase
14707
14708         * BufferView_pimpl.C (updateScrollbar): simplify further and
14709         hopefully make it a bit faster.
14710
14711 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14712
14713         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14714         calling directly xforms functions.
14715
14716         * Painter.C (Painter):
14717         * lyx_cb.C (MenuWrite):
14718         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14719         fl_display.
14720
14721         * lyx_gui.C: remove bogus guiruntime extern declaration.
14722
14723 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14726         in NEW_INSETS
14727         (redoDrawingOfParagraph): ditto
14728         (redoParagraphs): ditto
14729         (cutSelection): don't create a object for CutAndPaste use the
14730         static method directly
14731         (pasteSelection): ditto
14732
14733         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14734         LyXview (+ rename)
14735
14736 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * modifications to some other files because of this.
14739
14740         * Makefile.am (lyx_SOURCES): add XFormsView
14741
14742         * XFormsView.[Ch]: new files
14743
14744         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14745         the main window. Move the gui dependent stuff to XFormsView
14746
14747 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * tabular.C (GetCellInset): update cur_cell also in the row/col
14750         version of this function.
14751
14752         * lyxfunc.C: no need to include figure_form.h here.
14753
14754         * FontLoader.h:
14755         * lyxfunc.h:
14756         * lyxscreen.h:
14757         * text2.C:
14758         * lyxvc.C: no need to include forms.h here.
14759
14760 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14763
14764         * lyxfunc.C (Dispatch):
14765         * Spacing.C (set):
14766         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14767         constructor argument.
14768
14769 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14770
14771         * paragraph.C (Paragraph): dont't clear, and just set layout.
14772         (makeSameLayout): use params's copy contructor.
14773
14774         * ParagraphParameters.[Ch] (makeSame): delete method
14775
14776 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * Variables.[Ch]: fix indentation, rename set to isSet
14779
14780 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14781
14782         * lyxfunc.C (Dispatch): fix typo
14783
14784 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14787         upper_bound.
14788
14789         * bufferlist.C: include assert.h for emergencyWrite().
14790
14791 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14792
14793         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14794           give up at last (bug #425202) !
14795
14796 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * lyx_gui_misc.C:
14799         * sp_form.h:
14800         * sp_form.C:
14801         * spellchecker.h:
14802         * spellchecker.C: strip spellchecker options and bring up
14803           preferences tab instead
14804
14805 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14808         the istringstream constructor
14809
14810 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * paragraph.C (getLayout): fix return value
14813
14814         * paragraph.h: do not declare getLayout as inline.
14815
14816         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14817
14818 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * lyxcursor.h (operator<): new func
14821         (operator>): new func
14822         (operator>=): new func
14823         (operator<=): new func
14824
14825         * text.C (changeCase): use selection.start and selection.end
14826         (changeRegionCase): require from to be <= to. Require par to be a
14827         valid paragraph.
14828
14829         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14830
14831 2001-06-27  Juergen Vigna  <jug@sad.it>
14832
14833         * text.C (cursorLeftOneWord): changed to return the cursor and added
14834         overlay with BufferView * parameter which calls this one.
14835         (getWord): added
14836         (selectWord): use new getWord function.
14837         (changeCase): renamed from changeWordCase as and extended to work
14838         also on selections.
14839
14840         * lyxtext.h: added enum word_location
14841
14842         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14843         changeCase as this operates now also on selections.
14844
14845 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14846
14847         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14848
14849         * many files: send debug output to Debug::INFO instead of
14850         Debug::ANY.
14851
14852         * converter.C (View):
14853         (Convert):
14854         (Move): send debug output to Debug::FILES instead of console.
14855
14856 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14857
14858         * lyxfunc.C (getStatus): use func_status
14859
14860         * func_status.h: new header, describing the results of
14861         LyXFunc::getStatus;
14862
14863         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14864         LFUN_MATH_HALIGN.
14865
14866 2001-06-25  The LyX Project  <jug@sad.it>
14867
14868         * buffer.C (sgmlOpenTag):
14869         (sgmlCloseTag):
14870         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14871
14872 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * text2.C: remove some dead code
14875
14876         * tabular.C (GetCellInset): store the last cell checked (gotten)
14877
14878         * tabular.h: add the helper for the speedup
14879
14880         * lyxtext.h: remove some dead code
14881
14882 2001-06-26  The LyX Project  <Asger>
14883
14884         * paragraph.C: Change export to LaTeX of alignment to
14885         \begin{center} and family for better roundtrip work with reLyX.
14886
14887         * Tune the math drawing a bit.
14888
14889 2001-06-25  The LyX Project  <Asger>
14890
14891         * LColor.C (LColor): New color for math background. New color
14892         for buttons.
14893
14894 2001-06-25  The LyX Project  <jug@sad.it>
14895
14896         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14897
14898         * lyxfunc.C (Open):
14899         * bufferlist.C (newFile): do not restrict to files ending with
14900         .lyx
14901
14902         * BufferView_pimpl.C (MenuInsertLyXFile):
14903
14904 2001-06-24  The LyX Project  <jug@sad.it>
14905
14906         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14907         of compare_no_case
14908
14909 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * lyxtext.h: rename most methods to begin with a small char.
14912         Lots of changes because of this.
14913
14914         * paragraph.C (Paragraph): do not call fitToSize
14915         (erase): call Pimpl::erase
14916         (insertChar): call Pimpl::insertChar
14917         (insertInset): call Pipl::insertInset
14918         (breakParagraph): do not call fitToSize
14919         (breakParagraphConservative): do not call fitToSize
14920         (fitToSize): remove method
14921
14922         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14923
14924 2001-06-24  The LyX Project  <Asger>
14925
14926         * Fix Qt compilation^2
14927
14928 2001-06-24  The LyX Project  <jug@sad.it>
14929
14930         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14931         depthHook(getDepth()-1).
14932
14933         * paragraph.h:
14934         * ParagraphParameters.h:
14935         * ParameterStruct.h: change type of depth to unsigned int ==
14936         depth_type. Many adaptations to other files before of that.
14937
14938 2001-06-24  The LyX Project  <Asger>
14939
14940         * Fix Qt compilation.
14941
14942 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * paragraph.h: renamed several methods to begin with small letter.
14945         several changes to many parts of the code because of this.
14946
14947 2001-06-23  The LyX Project  <jug@sad.it>
14948
14949         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14950         rewritten to discard all double spaces when KeepEmpty is off
14951         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14952         to only handle newlines but not fiddle with spaces and friends.
14953
14954         * lyxfunc.C (MenuNew): when doing 'new from template', use
14955         template_path as default directory
14956
14957 2001-06-23  The LyX Project  <Asger>
14958
14959         * Clean-up of header file includes all over
14960         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14961
14962 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14963
14964         * paragraph.h: renamed from lyxparagraph.h
14965
14966 2001-06-23  Asger  <lyx@violet.home.sad.it>
14967
14968         * Buffer.h: Removed Buffer::resize
14969         * BufferList.h: Removed BufferList::resize
14970         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14971         the document lazily when we change the width, or the font settings.
14972
14973 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14976
14977 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * buffer.h: remove out of date comment
14980
14981 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14982
14983         * lyxscreen.h:
14984         * screen.C: fix "theoretical" GC leak
14985
14986 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * LaTeX.C (scanAuxFile):
14989         (deplog): remove trailing \r when reading stream (useful under
14990         win32)
14991
14992 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14993
14994         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14995         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14996         and BufferView::theLockingInset(Inset*), so should use them and not
14997         access bv_->text->the_locking_inset directly.
14998
14999         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15000
15001 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * Makefile.am:
15004         * tex-defs.h: remove old unused file
15005
15006 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15007
15008         * BufferView_pimpl.C: fix typo, remove minibuffer message
15009           when buffer has loaded
15010
15011 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15012
15013         * lyxfunc.C (Dispatch): use stringstream
15014         (MenuNew): use stringstream
15015         (Open): use stringstream
15016
15017         * importer.C (Import): use stringstream
15018
15019         * bufferview_funcs.C (CurrentState): use stringstream
15020
15021         * LaTeX.C (run): use stringstream
15022
15023         * BufferView_pimpl.C (savePosition): use stringstream
15024         (restorePosition): use stringstream
15025         (MenuInsertLyXFile): use stringstream
15026
15027 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15028
15029         * BufferView.C:
15030         * Bullet.C:
15031         * ColorHandler.C:
15032         * FontInfo.C:
15033         * FontLoader.C:
15034         * LColor.C:
15035         * LaTeXFeatures.C:
15036         * Painter.C:
15037         * gettext.C:
15038         * lyx_gui_misc.C:
15039         * lyxserver.C:
15040         * vspace.C: removed // -*- C++ -*- as first line.
15041
15042         * lyxfind.h:
15043         * version.h: added // -*- C++ -*- as first line.
15044
15045 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15048
15049         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15050         of string
15051
15052 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15055         of floats.
15056
15057 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15058
15059         * gettext.C: include LString.h even when --disable-nls is on.
15060
15061 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15062
15063         * converter.h (Get): changed argument type from int to
15064         FormatList::size_type to avoid unnecessary conversion.
15065
15066         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15067         before using it.
15068
15069 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15070
15071         * gettext.h: include LString.h even when --disable-nls is on.
15072
15073 2001-06-07  Juergen Vigna  <jug@sad.it>
15074
15075         * text.C (BreakAgain): subst spaces with tabs.
15076
15077         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15078         (resizeInsetsLyXText): set force on resizeLyXText.
15079
15080 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * gettext.h (gettext_init):
15083         (locale_init): use a real definition instead of a macro
15084
15085 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15086
15087         * Bufferview_pimpl.C:
15088         * LColor.h:
15089         * LColor.C: further lcolor tidies
15090
15091 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15092
15093         * BufferView_pimpl.C (updateScrollbar): simplify.
15094
15095         * BufferView2.C: don't include insets/insetinfo.h, change
15096         prototype for insertInset and call the Pimpl version. let
15097         updateInset call Pimpl version.
15098
15099         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15100         gotoInset to BufferView::Pimpl
15101
15102 2001-06-01  Juergen Vigna  <jug@sad.it>
15103
15104         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15105         inside a LockingInset (is the update needed at all?).
15106
15107 2001-05-31  Juergen Vigna  <jug@sad.it>
15108
15109         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15110         here not the old one otherwise how should we compare it afterwards
15111         if it's the same!
15112
15113 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * lyxfont.C:
15116         * tabular.C:
15117         * tabular-old.C:
15118         * FontInfo.C: bring C functions into global namespace when
15119         necessary
15120
15121 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * LString.h: make sure config.h has been loaded before LString.h.
15124
15125         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15126         (one for each char read by EatLine!).
15127
15128         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15129         variables.
15130
15131 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15134         to the same as the par we break from
15135
15136 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15137
15138         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15139
15140         * MenuBackend.C (expand): also create menu entries for wide
15141         versions of the floats.
15142
15143         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15144
15145         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15146
15147         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15148         frontends/Makefile.am
15149
15150         * text2.C: adjust
15151         * text.C: adjust
15152
15153
15154         * tabular.C (getTokenValue): add std::
15155
15156         * tabular-old.C (getTokenValue): add std::
15157         (getTokenValue): ditto
15158         (getTokenValue): ditto
15159
15160         * screen.C (ToggleSelection): adjust
15161
15162         * lyxtext.h: put selection cursors inside a Selection struct.
15163
15164         * lyxfunc.C (moveCursorUpdate): adjust
15165
15166         * lyxfont.C (latexWriteStartChanges): add std::
15167
15168         * lyxfind.C: adjust
15169
15170         * font.h: delete with(char const *, LyXFont const &)
15171
15172         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15173
15174         * FontInfo.C (getFontname): add std::
15175
15176         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15177         (workAreaButtonPress): adjust
15178         (tripleClick): adjust
15179         (update): adjust
15180         (moveCursorUpdate): adjust
15181         (Dispatch): adjust
15182
15183         * BufferView2.C (gotoInset): adjust
15184
15185 2001-05-30  Juergen Vigna  <jug@sad.it>
15186
15187         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15188         to check pspell I add this as default as I now have new pspell
15189         libraries and they seem to use this.
15190
15191 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * text2.C (CutSelection): make the cursor valid before the call to
15194         ClearSelection.
15195
15196 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15197
15198         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15199         relied on 0 terminated strings and other horrors. Bug found due to
15200         the new assert in lyxstring!
15201
15202         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15203         KP_ keys.
15204
15205 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15208         to latinkeys.bind.
15209
15210         * lyxfunc.C (processKeySym): change method of getting to the
15211         self-insert char.
15212
15213         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15214         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15215         * BufferView_pimpl.[Ch]: here as private methods.
15216
15217 2001-05-28  Juergen Vigna  <jug@sad.it>
15218
15219         * text.C (SetHeightOfRow): added the update() call again as it is
15220         needed to initialize inset dimensions!
15221
15222 2001-05-16  Juergen Vigna  <jug@sad.it>
15223
15224         * text2.C (SetCharFont): Add new function with BufferView * and
15225         bool toggleall parameters for setting insets internal fonts.
15226         (SetFont): Freeze the undo as we may change fonts in Insets and
15227         all this change should be inside only one Undo!
15228
15229         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15230         setting font's in insets as for them we have the SetFont function!
15231
15232 2001-05-15  Juergen Vigna  <jug@sad.it>
15233
15234         * text2.C (ClearSelection): to be sure we REALLY don't have any
15235         selection anymore!
15236
15237         * tabular.C (TeXCellPreamble): fixed the left border problem for
15238         multicolumn cells.
15239
15240 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15241
15242         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15243         dependancy file
15244
15245 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15248         LFUN_BREAKPARAGRAPH.
15249
15250         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15251         help test to "internal only", similar for LFUN_INSERT_URL
15252
15253         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15254         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15255         auto_region_delete and deadkeys.
15256
15257 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15258
15259         * LColor.h:
15260         * LColor.C: remove some dead entries, tidy a little
15261
15262 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15263
15264         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15265         commented code.
15266         (Dispatch): implement LFUN_ESCAPE
15267
15268         * commandtags.h: add LFUN_ESCAPE
15269
15270         * LyXAction.C (init): add entry for LFUN_ESCAPE
15271
15272         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15273         Remove commented code.
15274         (insertNote): moved here
15275         (open_new_inset): moved here
15276
15277         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15278         BufferView_pimpl
15279
15280 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * kbmap.C (findbinding): clean it up and make it work correctly.
15283
15284         * lyx_main.C (init): do not pass argc and argv as parameters
15285
15286 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15287
15288         * buffer.C: fix path for OS/2 & Win32
15289
15290         * lyx_gui.C:
15291         * lyx_main:
15292         * lyx_main.C: Added os:: class.
15293
15294         * os2_defines.h: update
15295
15296 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15299         better by trying again with reduced state.
15300
15301 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * lyxrc.C (read): print error about invalid key sequence only when
15304         debugging (because not all latinX keysyms are known to some X
15305         servers)
15306
15307         * kbsequence.C (getiso): add a few std:: qualifiers
15308         (getiso): comment out extra return statement.
15309
15310 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15311
15312         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15313         handling.
15314         (Dispatch): enhance the accent inset a bit. (not perfect)
15315
15316 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15317
15318         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15319
15320 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15321
15322         * bufferlist.C (emergencyWrite): fix assert() call
15323
15324 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15325
15326         * text.C (InsertChar): Added trivial patch to only send the "you
15327         can not do multiple spaces this way" message once during a
15328         session.
15329
15330 2001-05-08  Baruch Even  <baruch@lyx.org>
15331
15332         * Makefile.am: Changed order of libraries to get LyX to link properly
15333         with the gnome frontend.
15334
15335 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * LaTeXFeatures.h: add a std:: qualifier
15338
15339 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * paragraph.C (String): use stringstream
15342
15343 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15344
15345         * paragraph.C (writeFile): remove footflag arg
15346
15347         * buffer.C (makeLaTeXFile): use stringstream
15348         (latexParagraphs): remove footnot gurba
15349
15350         * LaTeXFeatures.C (getPackages): use stringstream
15351         (getMacros): likewise
15352         (getTClassPreamble): likewise
15353         (getFloatDefinitions): new method
15354
15355         * paragraph.C (writeFile): reindent
15356         (Erase): reindent
15357
15358         * WorkArea.h: revert the xpos + etc changes.
15359
15360         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15361
15362         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15363
15364         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15365         (pasteSelection): likewise
15366         * text2.C (CreateUndo): likewise
15367
15368 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15369
15370         * minibuffer.C (peek_event): temporarily reduce the functionality
15371         of the minibuffer (to allow args on lfuns)
15372
15373         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15374         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15375
15376         * buffer.C (readInset): add compability reading of old float
15377         lists, add reading of new style float list.
15378         (readInset): avoid reevaluation of inscmd.getCmdName()
15379         (getLists): reindent
15380
15381         * MenuBackend.C (MenuItem): implement parsing of
15382         md_floatlistinsert and md_floatinsert.
15383         (expand::LastFiles): move initalizaton of iterators out of loop,
15384         avoid reevaluation.
15385         (expand::Documents): introduce typdedef vector<string> Strings,
15386         and use it.
15387         (expand::ExportFormats): introduce typedef vector<Format const *>
15388         Formats, and use it.
15389         (expand): implement FloatListInsert and FloatInsert.
15390
15391         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15392         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15393         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15394
15395         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15396         handling.
15397         (Dispatch::LFUN_FLOAT_LIST): implement
15398
15399 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15400
15401         * LaTeX.C (run): Fix problem with --export code.
15402
15403 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15404
15405         * BufferView.[Ch] (workarea): removed.
15406         (getClipboard) new method; wrapper for workarea()->getClipboard()
15407
15408         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15409         bug.
15410
15411         * WorkArea.h (width, height, xpos, ypos): These methods all
15412         returned the dimensions of the work_area sub-area of WorkArea,
15413         resulting in a position error if the WorkArea were resized. Now
15414         return the dimensions of the entire WorkArea.
15415
15416         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15417
15418 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * LaTeX.C (deplog): correct the syntax of regex reg1
15421
15422 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * undo.C: remove !NEW_INSETS cruft
15425
15426 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * text2.C: remove !NEW_INSETS cruft
15429
15430         * text.C: remove !NEW_INSETS cruft
15431
15432         * tabular.C: remove !NEW_INSETS cruft
15433
15434         * spellchecker.C: remove !NEW_INSETS cruft
15435
15436         * lyxtext.h: remove !NEW_INSETS cruft
15437
15438         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15439
15440         * lyxfunc.C: remove !NEW_INSETS cruft
15441
15442         * lyxfind.C: remove !NEW_INSETS cruft
15443
15444         * lyx_cb.C: remove !NEW_INSETS cruft
15445
15446         * figureForm.C: remove  !NEW_INSETS cruft
15447
15448         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15449
15450         * buffer.[Ch]: remove !NEW_INSETS cruft
15451
15452         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15453
15454         * CutAndPaste.C: remove !NEW_INSETS cruft
15455
15456         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15457
15458         * BufferView2.C: remove !NEW_INSETS cruft
15459
15460         * BufferView.h: remove !NEW_INSETS cruft
15461
15462 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * Lsstream.h: include LString.h before the sstream headers to
15465         fix problem with gcc 2.95.3 and lyxstring
15466
15467 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * lyx_main.C: add using directives when needed for C functions
15470         declared in std:: namespace.
15471
15472 2001-04-27  Juergen Vigna  <jug@sad.it>
15473
15474         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15475         (SetHeightOfRow): comment out the update call should not be needed!
15476
15477 2001-04-13  Juergen Vigna  <jug@sad.it>
15478
15479         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15480         (LyXTabular): tried to minimize operator= operations (and realized
15481         hopfully Lars wish).
15482
15483 2001-04-27  Juergen Vigna  <jug@sad.it>
15484
15485         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15486
15487 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15490
15491         * buffer.C (readInset): hack to make listof algorithm work
15492
15493         * BufferView_pimpl.C: hack to make listof algorithm work
15494
15495 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15496
15497         * LyXAction.C: removed all !NEW_INSETS cruft
15498         (init): moved lfun_item in method
15499
15500         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15501
15502 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15503
15504         * BufferView2.C (theLockingInset): white space.
15505
15506 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * minibuffer.C: include <iostream>
15509
15510         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15511
15512         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15513
15514         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15515
15516         * text.[Ch] (TransposeChars): new method
15517
15518 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * call message directly through LyXView instead of through LyXFunc
15521         * BufferView2.C: adjust
15522         * BufferView_pimpl.C: adjust
15523         * FontLoader.C: adjust
15524         * buffer.C: adjust
15525         * bufferview_funcs.C: adjust
15526         * converter.C: adjust
15527         * figureForm.C: adjust
15528         * importer.C: adjust
15529         * lyx_cb.C: adjust
15530         * lyx_gui_misc.C: adjust
15531         * lyxfunc.C: adjust
15532         * lyxvc.C: adjust
15533         * text2.C: adjust
15534         + more files in subdirs
15535
15536         * lyxparagraph.h (size): move up int file
15537         (GetLayout): ditto
15538
15539         * adjust all uses of Assert to lyx::Assert.
15540
15541         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15542         lyxfunctional in namespace lyx
15543         * layout.C (hasLayout): ditto
15544         (GetLayout): ditto
15545         (GetLayout): ditto
15546         (delete_layout): ditto
15547         (NumberOfClass): ditto
15548         * converter.C (GetFormat): ditto
15549         (GetNumber): ditto
15550         (Add): ditto
15551         (Delete): ditto
15552         (SetViewer): ditto
15553         * bufferlist.C (getFileNames): ditto
15554         (emergencyWriteAll): ditto
15555         (exists): ditto
15556         (getBuffer): ditto
15557         * MenuBackend.C (hasSubmenu): ditto
15558         (hasMenu): ditto
15559         (getMenu): ditto
15560         * BufferView_pimpl.C (getInsetByCode): ditto
15561
15562 2001-04-18  Juergen Vigna  <jug@sad.it>
15563
15564         * vspace.C (asLatexString): fixed the 100% problem.
15565
15566 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15567
15568         * lyxfunc.C (Dispatch):
15569         * minibuffer.C:
15570         * minibuffer.h: add a few std:: qualifiers
15571
15572 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * minibuffer.[Ch]: reimplement so that commands is initiated and
15575         run from lyxfunc, simplified som handling, and made the completion
15576         and history code for complete. wip.
15577
15578         * lyxfunc.C (processKeySym): call message
15579         (miniDispatch): new temporary method
15580         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15581         (LFUN_MESSAGE): implement
15582         (LFUN_MESSAGE_PUSH): implement
15583         (LFUN_MESSAGE_POP): implement
15584         (initMiniBuffer): the initial/defualt minibuffer message.
15585
15586         * lyxfont.[Ch]: inline some more getters
15587
15588         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15589
15590         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15591
15592         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15593         (AutoSave): use LFUN_MESSAGE
15594         (Reconfigure): ditto
15595
15596         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15597
15598         * figureForm.C: use LFUN_MESSAGE
15599
15600         * converter.C (runLaTeX): use LFUN_MESSAGE
15601
15602         * bufferview_funcs.C: use LFUN_MESSAGE
15603         (Melt): ditto
15604         (changeDepth): ditto
15605
15606         * bufferparams.h: use boost::
15607
15608         * bufferlist.h: inherit privately from noncopyable
15609
15610         * bufferlist.C (loadLyXFile): remove some commented code.
15611
15612         * buffer.C (runChktex): use LFUN_MESSAGE
15613
15614         * ShareContainer.h: inherit privately from noncopyable
15615
15616         * ParagraphParameters.[hC] (depth): inline it.
15617
15618         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15619         methods.
15620         (message): new method
15621         (messagePush): ditto
15622         (messagePop): ditto
15623         (show): init minibuffer
15624         (showState): direct call
15625
15626         * LaTeX.[Ch]: inherit privately from noncopyable
15627         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15628         instead of WriteStatus.
15629
15630         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15631
15632         * BufferView_pimpl.C (buffer): don't init minibuffer
15633         (workAreaButtonPress): use LFUN_MESSAGE
15634         (workAreaButtonRelease): ditto
15635         (savePosition): ditto
15636         (restorePosition): ditto
15637         (MenuInsertLyXFile): ditto
15638         (workAreaExpose): don't init minibuffer
15639         (update): remove commented code, simplify
15640
15641         * BufferView2.C (openStuff): use LFUN_MESSAGE
15642         (toggleFloat): ditto
15643         (menuUndo): ditto
15644         (menuRedo): ditto
15645         (copyEnvironment): ditto
15646         (pasteEnvironment): ditto
15647         (copy): ditto
15648         (cut): ditto
15649         (paste): ditto
15650         (gotoInset): ditto
15651         (updateInset): remove some commented code
15652
15653         * lastfiles.h: inherit privately from noncopyable
15654         * layout.h: ditto
15655         * lyx_gui.h: ditto
15656         * lyx_main.h: ditto
15657         * lyxlex.h: ditto
15658         * lyxlex_pimpl.h: ditto
15659
15660         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15661         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15662         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15663
15664         * LyXAction.h: inherit privately from noncopyable, add methods
15665         func_begin, func_end, returning iterators to the func map.
15666
15667         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15668         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15669         (func_begin): new method
15670         (func_end): new method
15671
15672         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15673         and not)
15674         (copySelection): ditto
15675         (pasteSelection): ditto
15676
15677         * BufferView.C: whitespace change
15678         * BufferView.h: inherit privately from noncopyable
15679
15680 2001-04-16  Allan Rae  <rae@lyx.org>
15681
15682         * tabular-old.C (l_getline):
15683         * spellchecker.C (sc_check_word):
15684         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15685         an unrecognised preprocessor directive.  So ensure they're wrapped.
15686
15687 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15688
15689         * src/exporter.C (Export): Give an error message when path to file
15690         contains spaces.
15691
15692 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15693
15694         * LaTeX.C (deplog): Always check that foundfile exists.
15695
15696 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * lyx_main.h:
15699         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15700
15701 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * tabular.[Ch] (getLabelList): implement new method
15704
15705         * minibuffer.h: comment ouf setTiimer
15706
15707         * minibuffer.C (ExecutingCB): constify res
15708         (peek_event): constify s
15709         (Set): constify ntext
15710         (Init): constify nicename
15711
15712         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15713
15714         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15715         (savePosition): use two params to Minibuffer::Set
15716         (restorePosition): ditto
15717
15718 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * lyx_main.C: include language.h
15721
15722         * Makefile.am (lyx_main.o): add language.h
15723
15724 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * exporter.C:
15727         * paragraph.C:
15728         * screen.C:
15729         * tabular.C:
15730         * CutAndPaste.C: include gettext.h
15731
15732         * lyxfont.h: remove old hack with ON and OFF.
15733
15734         * lyxparagraph.h:
15735         * lyxfont.h: do not include language.h...
15736
15737         * BufferView2.C:
15738         * LaTeXFeatures.C:
15739         * Painter.C:
15740         * bufferview_funcs.C:
15741         * font.C:
15742         * lyxfont.C:
15743         * text.C:
15744         * text2.C:
15745         * trans_mgr.C:
15746         * paragraph.C: ... but do it here instead
15747
15748 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15749
15750         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15751
15752         * tabular.C: small reformat
15753
15754         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15755         NEW_INSETS version
15756         (GetChar): ditto
15757         (BreakParagraph): ditto
15758         (SetOnlyLayout): ditto
15759         (SetLayout): ditto
15760
15761         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15762         with one arg less.
15763
15764         * lastfiles.C: removed most using decl, add std:: where needed
15765
15766         * buffer.C: ws changes
15767
15768         * MenuBackend.C (class compare_format): put into anon namespace
15769         (expand): constify label, names, action, action2
15770         (expand):
15771
15772         * text.C (SingleWidth): constify font
15773         (IsBoundary): constify rtl2
15774         (GetVisibleRow): constify ww
15775
15776         * LaTeX.C (deplog): constify logfile
15777
15778         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15779         start_x, end_x
15780         (workAreaExpose): constify widthChange, heightChange
15781
15782         * lyxrow.C (par): moved
15783         (height): moved
15784         (next): moved
15785         * lyxrow.h: as inlines here
15786
15787         * lyxfont.h (shape): moved from lyxfont.C
15788         (emph): moved from lyxfont.C
15789
15790         * lyxfont.C (LyXFont): use initialization list for all
15791         constructors
15792         (shape): move to lyxfont.h as inline
15793         (emph): move to lyxfont.h as inline
15794
15795
15796 2001-04-04  Juergen Vigna  <jug@sad.it>
15797
15798         * vspace.C: had to include stdio.h for use of sscanf
15799
15800 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15801
15802         * BufferView.h:
15803         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15804         independent of xforms.
15805
15806 2001-04-02  Juergen Vigna  <jug@sad.it>
15807
15808         * spellchecker.C: fixed namespace placing!
15809
15810 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15811
15812         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15813         the LyXParagraph * is 0.
15814
15815 2001-03-29  Juergen Vigna  <jug@sad.it>
15816
15817         * vspace.C: added support for %, c%, p%, l%.
15818         (stringFromUnit): added helper function.
15819         (asLatexString): changed to give right results for the %-values.
15820
15821         * buffer.C: convert the widthp in a width%.
15822
15823 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15824
15825         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15826         figureForm.[Ch].
15827
15828         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15829         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15830
15831         * lyx_cb.[Ch]: see above.
15832
15833         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15834         form1.[Ch].
15835
15836         * form1.[Ch]:
15837         * lyx.[Ch]: replaced by figure_form.[Ch].
15838
15839         * lyx_gui.C:
15840         * lyx_gui_misc.C:
15841         * lyxfunc.C: changed headers associated with above changes.
15842
15843 2001-03-27  Juergen Vigna  <jug@sad.it>
15844
15845         * BufferView_pimpl.C: set the temporary cursor right!
15846
15847 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15848
15849         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15850
15851 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * LString.h: removed "using std::getline"!
15854
15855         * BufferView_pimpl.C (Dispatch): changes due to changes in
15856         InsetInclude::Params.
15857
15858         * buffer.C (tag_name): removed redundant break statements as they were
15859         producing lots of warnings with my compiler.
15860
15861 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15862
15863         * LString.h: add "using std::getline" when using the real <string>.
15864
15865 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15866
15867         * buffer.C: removed bitset usage.
15868         PAR_TAG moved to an anonymous name space.
15869         (tag_name): new funtion, also in the anonymous namespace.
15870         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15871         (makeDocBookFile): clean code. Completed transition from string arrays
15872         to string vectors.
15873         (SimpleDocBookOnePar): code clean.
15874
15875 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15876
15877         * tabular.C: add some comments.
15878
15879 2001-03-22  Juergen Vigna  <jug@sad.it>
15880
15881         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15882         compatibility read a bit and fixed bug with minipage in different
15883         depth.
15884
15885 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15886
15887         * buffer.C (pop_tag): removed.
15888         (push_tag): removed.
15889         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15890         array replaced with vector. Added support for CDATA sections.
15891         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15892         at any nest level.
15893         (makeDocBookFile): XML conformant declaration of CDATA section,
15894         fixed bug related to <emphasis> in the first paragraph char.
15895         (sgmlOpenTag): exclude empty tags.
15896         (sgmlCloseTag): ditto.
15897
15898         * buffer.h (pop_tag): removed.
15899         (push_tag): removed.
15900
15901 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15902
15903         * language.h (Languages): added size_type and size().
15904
15905 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15906
15907         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15908         response on compability reading of minipages. One probliem is that
15909         the old usage of minipages was «flertydig»
15910
15911         * several files here and in subdirs: don't use static at file
15912         scope use anon namespaces instead.
15913
15914 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15915
15916         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15917         LaTeX output. This is necessary for Literate document
15918         processing.
15919
15920 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15921
15922         * buffer.C: insert hfill when needed.
15923
15924         * tabular.C (l_getline): use string::erase, small whitespace change.
15925
15926         * BufferView_pimpl.C: try the anon namespace.
15927         * WorkArea.C: ditto
15928
15929 2001-03-16  Juergen Vigna  <jug@sad.it>
15930
15931         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15932         otherwise it won't open options-dialogs.
15933
15934         * buffer.C: honor pextraWidth(p) on converting minipages.
15935
15936         * tabular.C (l_getline): changed the functions to strip trailing \r.
15937
15938 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15939
15940         * BufferView_pimpl.C:
15941         * minibuffer..C: added "using SigC::slot" declaration.
15942
15943 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15944
15945         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15946
15947         * text2.C: ditto
15948
15949         * text.C: ditto
15950
15951         * paragraph.C: ditto
15952
15953         * lyxtext.h: NO_PEXTRA
15954
15955         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15956
15957         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15958         * ParameterStruct.h: ditto
15959         * ParagraphParameters.h: ditto
15960         * lyxparagraph.h: ditto
15961
15962 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15963
15964         * buffer.C: add compability for minipage alignment.
15965         (latexParagraphs): remove unwanted pextra check.
15966
15967         * several files: remove CXX_WORKING_NAMESPACES
15968
15969         * buffer.C (pop_tag): tie is in namespace boost
15970
15971         * BufferView.h: noncopyable is in namespace boost
15972         * lyxlex.h: ditto
15973         * lyx_main.h: ditto
15974         * lyx_gui.h: ditto
15975         * layout.h: ditto
15976         * lastfiles.h: ditto
15977         * bufferlist.h: ditto
15978         * ShareContainer.h: ditto
15979         * LyXView.h: ditto
15980         * LyXAction.h: ditto
15981         * LaTeX.h: ditto
15982
15983 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15984
15985         * Merging changes from BRANCH_MVC back into HEAD.
15986
15987         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15988
15989 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15990
15991         * BufferView_pimpl.C: change from intl.C
15992
15993         * combox.h:
15994         * combox.C:
15995         * Makefile.am: move combox.*
15996
15997         * form1.h:
15998         * form1.C:
15999         * lyx_gui.C:
16000         * intl.h:
16001         * intl.C: remove dialog (covered by prefs)
16002
16003 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16004
16005         * lyxfunc.C (Dispatch): removed redundant break statement.
16006
16007 2001-03-14  Juergen Vigna  <jug@sad.it>
16008
16009         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16010
16011 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16012
16013         * buffer.C: add hack to fix compability reading of minipages.
16014
16015 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16016
16017         * buffer.C (getLists): Cleanup.
16018
16019 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16020
16021         * lyxfont.C (update): don't honor toggleall on font size.
16022
16023 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16024
16025         * bmtable.c:
16026         * bmtable.h:
16027         * Makefile.am: moved to frontends/xforms/
16028
16029         * lyx_gui_misc.C:
16030         * lyxfunc.C:
16031         * BufferView_pimpl.C: changes for moved mathpanel
16032
16033 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16034
16035         * gettext.h: fix gettext_init() in --disable-nls
16036
16037 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16038
16039         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16040
16041 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16042
16043         * lyx.C:
16044         * lyx.h: strip external form
16045
16046 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16047
16048         * BufferView_pimpl.C: add comment, destroySplash()
16049
16050 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16051
16052         * BufferView_pimpl.C:
16053         * LyXAction.C:
16054         * buffer.C:
16055         * commandtags.h:
16056         * lyxfunc.C: use re-worked insetinclude
16057
16058 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16059
16060         * buffer.C: add using std::stringstream.
16061
16062         * lyx_cb.C: readd using std::ios.
16063
16064         * buffer.C: add using std::map.
16065
16066         * BufferView_pimpl.C: add using std::vector.
16067
16068         * ShareContainer.h: add std:: to swap.
16069
16070         * buffer.h: add some typedefs
16071         * buffer.C (getLists): use them
16072         (getLists): renamed from getTocList.
16073         add a counter for the different float types and use it in the
16074         generated string.
16075         (getLists): use the same counter for the NEW_INSETS and the "non"
16076         NEW_INSETS
16077
16078         * lyx_cb.h: remove unused items, includes, using etc.
16079
16080         * ShareContainer.h: remove some commented code, add more comments
16081         and "documentation".
16082
16083 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16084
16085         * buffer.C (getTocList): make the list also when NEW_INSETS is
16086         defined.
16087
16088         * buffer.h: remove TocType
16089
16090         * buffer.C (getTocList): change to return a map<string,
16091         vector<TocItem> >, implement for dynamic number of list.
16092
16093         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16094         * text2.C (PasteSelection): adjust
16095         * CutAndPaste.C (pasteSelection): adjust
16096
16097         * FloatList.C (FloatList): update from the new_insets branch.
16098         * Floating.[Ch]: ditto
16099         * LaTeXFeatures.C: ditto
16100         * buffer.C: ditto
16101         * lyxlex_pimpl.C: ditto
16102
16103         * paragraph.C (Last): remove when NEW_INSETS is defined.
16104
16105         * other file: changes because of the above.
16106
16107 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16108
16109         * lyxparagraph.h: rename next to next_, previous to previous_,
16110         make them private for NEW_INSETS. Rename Next() to next(),
16111         Previous() to previous().
16112
16113         * other files: changes because of the above.
16114
16115 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16116
16117         * BufferView.h:
16118         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16119         problem.
16120
16121 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16122
16123         * main.C (main): pass lyx_localedir to gettext_init().
16124
16125         * gettext.h: remove locale_init and gettext_init macros
16126
16127         * gettext.C (locale_init): new function
16128         (gettext_init): new function
16129
16130         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16131         setlocale().
16132
16133 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16134
16135         * Moved credits to frontends:
16136         * credits.[Ch]: removed
16137         * credits_form.[Ch]: removed
16138         * lyx_gui_misc.C: remove credits stuff
16139         * Makefile.am:
16140
16141 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16142
16143         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16144
16145         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16146         unneeded destructor.
16147
16148         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16149         a standalone pointer again.
16150
16151         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16152
16153 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16154
16155         * Makefile.am:
16156         * filedlg.h:
16157         * filedlg.C:
16158         * LyXAction.C:
16159         * ToolbarDefaults.C:
16160         * bufferlist.C:
16161         * commandtags.h:
16162         * form1.C:
16163         * form1.h:
16164         * lyx_cb.C:
16165         * lyx_cb.h:
16166         * lyxfunc.h:
16167         * lyxfunc.C:
16168         * BufferView_pimpl.C: use new file dialog in GUII
16169
16170         * lyx_cb.h:
16171         * lyx_cb.C: remove LayoutsCB to Toolbar
16172
16173 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16174
16175         * ShareContainer.h (get): add std:: qualifier
16176
16177 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * ShareContainer.h: define a proper ShareContainer::value_type
16180         type (and use typename to please compaq cxx)
16181
16182 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16183
16184         * lyxparagraph.h: move serveral local vars to
16185         ParameterStruct/ParagraphParameters., use ShareContainer in
16186         FontTable., make vars in FontTable private and add getter and
16187         setter.
16188
16189         * paragraph.C: changes because of the above.
16190
16191         * lyxfont.h: remove copy constructor and copy assignment. (the
16192         default ones is ok), move number inside FontBits. move inlines to
16193         lyxfont.C
16194
16195         * lyxfont.C: add number to initializaton of statics, move several
16196         inlines here. constify several local vars. some whitespace
16197         cleanup. Dont hide outerscope variables.
16198
16199         * Spacing.h: add two new constructors to match the set methods.
16200
16201         * ShareContainer.h: new file, will perhaps be moved to support
16202
16203         * ParameterStruct.h: new file
16204
16205         * ParagraphParameters.h: new file
16206
16207         * ParagraphParameters.C: new file
16208
16209         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16210         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16211
16212         * BufferView_pimpl.C: ParagraphParameter changes.
16213         * buffer.C: Likewise.
16214         * bufferview_funcs.C: Likewise.
16215         * text.C: Likewise.
16216         * text2.C: Likewise.
16217
16218 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * lyxfind.C (LyXReplace): do not redefine default argument in
16221         implementation.
16222         (IsStringInText): ditto
16223         (SearchForward): ditto
16224         (SearchBackward): ditto
16225
16226 2001-03-06  Juergen Vigna  <jug@sad.it>
16227
16228         * lyxfind.C (IsStringInText): put parentes around expressions.
16229
16230 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16231
16232         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16233
16234 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16235
16236         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16237
16238         * stl_string_fwd.h: add comment
16239
16240         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16241
16242         * tabular.h:
16243         * tabular.C: remove unused DocBook methods
16244
16245         * intl.C:
16246         * language.C:
16247         * paragraph.C:
16248         * buffer.C:
16249         killed DO_USE_DEFAULT_LANGUAGE
16250
16251 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16252
16253         * lyx_gui.C: do not include language.h.
16254
16255         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16256         arguments in function implementation.
16257
16258 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16259
16260         * BufferView_pimpl.C: add <ctime>
16261
16262 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16263
16264         * BufferView_pimpl.C: add using std::find_if
16265
16266 2001-02-27  José Matos  <jamatos@fep.up.pt>
16267
16268         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16269         by OnlyPath.
16270
16271 2001-02-11  José Matos  <jamatos@fep.up.pt>
16272
16273         * buffer.C (makeDocBookFile): command styles now have a parameter as
16274         "title" by default.
16275
16276 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16277
16278         * layout_forms.[Ch]: removed
16279         * lyx_cb.[Ch]: out character
16280         * lyx_gui.C: out character
16281         * lyx_gui_misc.C: out character
16282         * bufferview_funcs.C: : out character,
16283         added toggleall as parameter in ToggleAndShow
16284
16285 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16286
16287         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16288
16289         * text2.C (SetCurrentFont): Disable number property at boundary.
16290
16291 2001-02-26  Juergen Vigna  <jug@sad.it>
16292
16293         * lyxfunc.C (getStatus): added a string argument override function so
16294         that this is correctly called from LyXFunc::Dispatch if it contains a
16295         do_not_use_argument which is used!
16296         (Dispatch): added check for "custom" export and call appropriate func.
16297
16298 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * lyxrc.C: Add language_command_local, language_use_babel and
16301         language_global_options.
16302
16303         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16304
16305         * buffer.C (makeLaTeXFile): Use language_use_babel and
16306         language_global_options.
16307
16308 2001-02-23  Juergen Vigna  <jug@sad.it>
16309
16310         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16311         which works with LyXText and putted it inside BufferView. Here now we
16312         only call for that part the BufferView::Dispatch() function.
16313
16314         * BufferView.C (Dispatch): added.
16315
16316         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16317         functions which needs to use a LyXText over from LyXFunc.
16318         (MenuInsertLyXFile): added
16319         (getInsetByCode): added
16320         (moveCursorUpdate): added
16321         (static TEXT): added
16322
16323 2001-02-22  Juergen Vigna  <jug@sad.it>
16324
16325         * BufferView_pimpl.C (update): call a status update to see if LyXText
16326         needs it.
16327
16328 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16329
16330         * vc-backend.C (revert): implement for CVS
16331         (getLog): implement for CVS
16332
16333 2001-02-20  Juergen Vigna  <jug@sad.it>
16334
16335         * text2.C (ClearSelection): added BufferView param for inset_owner call
16336
16337         * lyxfunc.C (TEXT): added this function and use it instead of
16338         directly owner->view()-text of getLyXText().
16339
16340 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16341
16342         * src/layout_forms.C: out preamble
16343         * src/layout_forms.h: out preamble
16344         * src/lyx_cb.C: out preamble
16345         * src/lyx_cb.h: out preamble
16346         * src/lyx_gui.C: out preamble
16347         * src/lyx_gui_misc.C: out preamble
16348         * src/lyxfunc.C: connect with guii preamble
16349
16350 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16351
16352         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16353
16354 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16355
16356         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16357         whether to run bibtex.
16358
16359 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16360
16361         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16362
16363 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16364
16365         * Makefile.am (lyx_SOURCES): removed bibforms.h
16366
16367         * vspace.h: doxygen
16368
16369         * text.C (GetVisibleRow): make several local vars const
16370
16371         * tabular.C: small cleanup.
16372
16373         * lyxserver.C (callback): use compare instead of strncmp
16374
16375         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16376         inlines to after class or to paragraph.C
16377
16378         * lyxfont.h: remove friend operator!=
16379
16380         * converter.h: move friend bool operator< to non friend and after
16381         class def.
16382
16383         * combox.h: small cleanup
16384
16385         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16386         to inlines after class def.
16387
16388         * buffer.C (pop_tag): use string operations instead of strcmp
16389
16390         * bmtable.c: doxygen, small cleanup
16391
16392         * LaTeX.h: remove friend operator==
16393
16394 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16395
16396         * screen.C:
16397         * lyxrc.[Ch]:
16398         * lyxfunc.C:
16399         * lyxfont.[Ch]:
16400         * lyx_cb.C:
16401         * intl.[Ch]:
16402         * commandtags.h:
16403         * buffer.C:
16404         * WorkArea.[Ch]:
16405         * LyXAction.C:
16406         * BufferView_pimpl.C:
16407         * BufferView.[Ch]: remove cruft
16408
16409 2001-02-14  Juergen Vigna  <jug@sad.it>
16410
16411         * lyxfunc.C: removed #if 0 unused code
16412
16413         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16414
16415         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16416
16417         * text2.C (SetSelection): added a BufferView * parameter
16418
16419 2001-02-13  Juergen Vigna  <jug@sad.it>
16420
16421         * lyxfunc.C (Dispatch): fixed protected blank problem.
16422         * BufferView2.C (protectedBlank): added LyxText * parameter.
16423
16424         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16425         (AppendColumn): same as above for column_info.
16426
16427         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16428         (moveCursorUpdate): use a LyXText param for support of InsetText.
16429
16430         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16431         (tripleClick): ditto
16432
16433         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16434
16435         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16436
16437         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16438
16439         * text2.C (SetSelection): set correct update status if inset_owner
16440         (ToggleFree): ditto
16441
16442 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16443
16444         * tabular.C: remove some commented code.
16445
16446 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16447
16448         * BufferView_pimpl.C: call hideSplash()
16449
16450         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16451
16452         * include_form.h:
16453         * bibforms.h: remove
16454
16455         * lyxfunc.C:
16456         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16457           add LFUN_CHILD_CREATE
16458
16459         * counters.h: fix tiny typo
16460
16461         * lyx_cb.C:
16462         * lyx.h:
16463         * lyx_gui.C:
16464         * lyx.C: move splash to frontends/xforms/
16465
16466         * lyx_gui_misc.C: move Include and Bibform to frontends
16467
16468         * lyxvc.h: clarify comment
16469
16470         * vspace.C: tiny housekeeping
16471
16472 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16473
16474         * text.C (PrepareToPrint): RTL Fix.
16475
16476         * paragraph.C (GetUChar): New method.
16477         (String):  Use GetUChar.
16478
16479         * buffer.C (asciiParagraph): Use GetUChar.
16480
16481 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16482
16483         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16484
16485 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16486
16487         * buffer.h:
16488         * buffer.C: rename to getLogName(), handle
16489           build log / latex log nicely
16490
16491 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16492
16493         * MenuBackend.C:
16494         * MenuBackend.h: remove support for reference menuitem type.
16495
16496 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16497
16498         * BufferView_pimpl.C: housekeeping
16499         * BufferView_pimpl.h:
16500         * LyXView.h:
16501         * Makefile.am:
16502         * Timeout.C:
16503         * Timeout.h:
16504         * minibuffer.h: move Timeout GUI-I
16505
16506 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16507
16508         * lyxrc.C (read): Update converters data-structures.
16509
16510 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16511
16512         * LaTeX.h (operator!=): add operator != for Aux_Info
16513
16514 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16515
16516         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16517
16518         * LaTeXLog.C: deleted, useful code moved to Buffer
16519
16520         * buffer.h:
16521         * buffer.C: new function getLatexLogName()
16522
16523         * lyx_gui_misc.C:
16524         * lyx_gui.C:
16525         * lyxvc.C:
16526         * lyxvc.h:
16527         * lyxfunc.C: use frontends for LaTeX and VC logs
16528
16529 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16530
16531         * LaTeX.h: yet another std:: that Allan forgot.
16532
16533         * Variables.C (set): renamed from isset(), because this clashes
16534         with some HP-UX macros (grr).
16535
16536 2001-02-06  Allan Rae  <rae@lyx.org>
16537
16538         * LaTeX.h: Another bug fix.  Missing std:: this time.
16539
16540 2001-02-04  Allan Rae  <rae@lyx.org>
16541
16542         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16543         floats problem. I've left it commented out because it's not quite
16544         correct.  It should also test that the current object is a table or
16545         figure inset.  But I haven't gotten around to figuring out how to do
16546         that.  I *think* it'll be something like: "table" == inset.type()
16547
16548         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16549         bool.
16550
16551 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16552
16553         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16554         all the citation/databases/styles in the auxilary file.
16555         (run): Rerun latex if there was a babel language error.
16556
16557 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16558
16559         * text.C (Backspace): Preserve the font when changing newline char
16560         with a space.
16561         (BreakParagraph): If the cursor is before a space, delete the space.
16562
16563         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16564
16565 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16566
16567         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16568         new argument (code).
16569         (ChangeCitationsIfUnique): New method.
16570
16571         * paragraph.C (GetPositionOfInset): Handle bibkey.
16572
16573 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16574
16575         * BufferView_pimpl.h: change type of Position::par_pos to
16576         LyXParagraph::size_type.
16577
16578 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16579
16580         * BufferView_pimpl.C (savePosition, restorePosition): Write
16581         messages to minibuffer.
16582
16583 2001-01-28  José Matos  <jamatos@fep.up.pt>
16584
16585         * buffer.C (makeDocBookFile): adds support for document language.
16586         A silly restriction on the name of LatexCommand types where removed.
16587         Added support for CDATA sections, allows to chars unescaped, used
16588         among others in code, to avoid escape < and >.
16589
16590 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16591
16592         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16593         saved positions instrad of a stack. Furthermore, a position is
16594         stored using paragraph id/paragraph position.
16595
16596         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16597         Remove LFUN_REF_BACK.
16598
16599 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16600
16601         * converter.C (dvipdfm_options): New method.
16602
16603 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16604
16605         * vspace.C (isValidLength): Fix for empty input string.
16606
16607 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * LyXAction.C (init): change description of LFUN_FIGURE to
16610         "Insert Graphics"
16611
16612 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * LaTeX.C: add using directive
16615
16616 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16617
16618         * MenuBackend.C (expand): Fix the sorting of the formats.
16619
16620 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16621
16622         * lyx_main.C: tiny error message fix
16623
16624 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16625
16626         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16627         calling fl_initialize(). This fixes the problem with ',' as
16628         decimal separator in text files.
16629
16630 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16631
16632         * trans.C (process): Fix the keymap bug.
16633
16634 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16635
16636         * LaTeX.C (scanAuxFiles): New method. Provides support for
16637         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16638         (scanLogFile) Scan for "run BibTeX" messages.
16639
16640         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16641         OT1 font encoding. Also, load the aecompl package if the ae
16642         package is loaded.
16643
16644         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16645
16646 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16647
16648         * texrow.C (increasePos): turn two error messages into debug
16649         messages.
16650
16651 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16652
16653         * LaTeX.C (scanAux): Handle the \@input macro.
16654         (runBibTeX): Use scanAux().
16655
16656         * language.C (latex_options_): New field.
16657
16658         * LaTeXFeatures.C (getMacros): Add language macros.
16659
16660         * buffer.C (makeLaTeXFile): Small fix.
16661
16662 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16663
16664         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16665
16666         * text2.C: add a using directive.
16667
16668 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16669
16670         * BufferView2.C:
16671         * lyx_gui_misc.h:
16672         * lyxfr1.C:
16673         * lyxfunc.C: kill LyXBell.
16674
16675 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16676
16677         * text.C (IsBoundary): Remove the error message
16678
16679         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16680
16681         * lyxrc.C (setDefaults): Correct initialization value for
16682         font_norm_type.
16683
16684 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16687         gotoError().
16688
16689         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16690         and GotoNextNote().
16691
16692         * src/LyXAction.C: Added reference-next.
16693
16694         * text.C (InsertChar): Use contains instead of strchr.
16695
16696         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16697
16698 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16699
16700         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16701         alignment commands (when needed).
16702
16703         * text.C (InsertChar): Add ':' to number separator chars.